* { border: 0; margin: 0; padding: 0; }

html {
}

body {
  font-family: "arial";
  line-height: 16px;
  font-size: 12px;
  background: url(../images/vineyard-2.jpg) no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

a:link, a:visited {
	font-weight: bold;
	color: #520;
}

a:hover {
	color: #4a0;
}

#wrapper {
  margin: 10px auto;
  width: 950px;
  padding: 20px;
  background: url(../images/bg-wrapper.png) repeat;
  box-shadow: 0 0 5px #333;
  border-radius: 3px;
  
}

#header {
	float: left;
	width: 100%;
	padding-bottom: 20px;
	margin-bottom: 20px;
	background: url(../images/bg-header.png) bottom center no-repeat;
}

#logo {
	width: 220px;
	height: 200px;
	float: left;
}

#logo img {
	margin: 10px 0;
	height: auto;
	width: 120px;
}

p.logo-text, p.logo-img {
	text-align: center;
	font-weight: bold;
	color: #520;
	
	margin-bottom: 5px;
}



#slideshow {
  float: left;
  height: 200px;
  width: 530px;
  padding: 0 10px;
  background: url(../images/bg-slideshow.png) center center no-repeat;
  margin-left: 20px;

}

#slideshow img {
	border-radius: 3px !important;
}

#events {
	float: right;
	width: 142px;
	height: 200px;
	
	overflow: hidden;
}



.moduletable_events {

}

.moduletable_events h3 {
	font-size: 14px;
	line-height: 26px;
	display: block;
	background: #520;
	color: #e9caaf;
	border-radius: 2px;
	margin: 0 0 10px 0;
	text-align: center;
}


.mod_events_latest, .mod_events_latest_first, .mod_events_latest_last {
	font-size: 12px;
	line-height: 16px;
	padding-bottom: 10px;
}

.mod_events_latest_last {
	padding-bottom: 0px !important;
}

.mod_events_latest_date {
	font-weight: bold; !important;
}


.moduletable_posters, .moduletable_menu {

  margin-bottom: 5px;
  float: left;
  clear: both;
}

.moduletable_posters {
	border: 1px solid #fff;
    box-shadow: 0 0 3px #333;
}

/* Main Menu - Start */
ul#main-menu {
  list-style-type: none;
  display: block;
  border: 1px solid #f4eed7;
  
  box-shadow: 0 0 3px #333;
}

ul#main-menu:hover {

}

ul#main-menu li:first-child { margin: 0; }
ul#main-menu li:last-child { margin: 0; }
ul#main-menu li { margin: 1px 0; }
ul#main-menu li a:link, ul#main-menu li a:visited, ul#main-menu li span.separator {  
  border-left: 10px solid #520;
  display: block;
  font-weight: bold;
  font-size: 13px;
  color: #e9caaf;
  width: 190px;
  padding: 5px 10px; 
  transition: color, background-color 1s linear;
  background: #520;
}

ul#main-menu li.current a:link, ul#main-menu li.current a:visited {  
  background: #e9caaf;
  color: #520;
}


ul#main-menu li a:hover {
  background: #e9caaf;
  color: #520;
}
/* Main Menu - End */


#left {
  width: 220px;
  float: left;
}

#right {
	margin-left: 5px;
	width: 195px;
	float: right;
}

#content {
  min-height: 300px;
  width: 700px;
  float: right;
  margin-bottom: 30px;
}

.content-narrow {
	width: 520px !important;
}



.article-metadata {

}

div.article-info {
	width: 100%;
	clear: both;
	float: left;
}

dl.article-info {
	font-size: 12px;
	width: 100%;
	clear: both;
	float: left;	

	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding: 3px 0;
}

dd {
	margin: 0 10px 0 0;
}
.article-info-term { float: left; }
.createdby { float: left; }
.category-name { float: left; }
.published { float: left; }
.hits { float: left; }



.article-content, .leading-0, .leading-1, .leading-2, .leading-3, .leading-4, .item-page  {
  float: right;
  width: 100%;
  min-height: 170px;
  margin-bottom: 30px;
}



.leading-0 .article-info, .leading-1 .article-info, .leading-2 .article-info, .leading-3 .article-info, .leading-4 .article-info {
	display: none;
}



h2.item-title, .page-header h2, .page-header h1, h2.contentheading {
  display: block;
  font-size: 16px !important;
  line-height: 18px;
  margin: 0;
  color: #520;
  margin-bottom: 10px;
}

.page-header { border: 0; margin: 0; padding: 0; }

.item-image { clear: both; }
.item-image img { 
  max-height: 100px;
  max-width: 100px;
  margin: 0 10px 10px 0;
}

.readmore, .jev_back { 
	margin: 0 50px;
	float: right;
/*
	border-bottom: 1px solid #ccc;
	padding-bottom: 5px;
*/
}

.my-btn, .jev_back {
	font-weight: bold;
}

.my-btn:hover, .jev_back:hover {
	text-decoration: none;
	color: #4a0;
}

.item-page {
  margin-bottom: 20px;
}



/* ------- Paginacja ------- */
.pagination {
  clear: both;
  width: 100%;
  text-align: center;
  margin: 0;
}
.pagination ul {
	text-align: center;
	box-shadow: none;
}

.pagination ul li {
	display: inline-block;

}

.pagination ul li a:link, .pagination ul li a:visited {
	text-transform: uppercase;
	background-color: transparent;
	font-weight: bold;
	border: none;
	color: #520;
}

.pagination ul li a:hover {
	color: #4a0;
}



.pagination ul li span {
	text-transform: uppercase;
	background-color: transparent;
	border: none;
}

/* ------------------------- */

#footer {   
  padding: 10px;
  clear: both; 
  width: 920px;
  
  line-height: 12px;
  
  	padding-top: 20px;
	background: url(../images/bg-footer.png) top center no-repeat;

}

#footer p { 
  border-top: 1px solid #ccc;
  padding-top: 10px;
  margin-top: 10px;

}


/* EXTENSIONS */

/* Attachments */
.attachmentsContainer {
/*	border-radius: 2px; */
	padding: 10px;
	float: right;
  width: 60%;
/*  border: 1px solid #ccc;*/

}



.attachmentsList table {
  width: 100%;
  border: 0 !important;
  font-size: 100% !important; 
}

.attachmentsList table tr {
  background: transparent !important;
}


.attachmentsList a:hover {
	color: #4a0 !important;

}



/* Phoca Gallery*/
#phocagallery {

}

#phocagallery-tree-module {
	margin-top: 30px;
}




/* JEVENTS */
.contentpaneopen {
	font-size: 12px !important;
	
	width: 100%;
}
/*
.contentpaneopen p {
	display: none;
}
*/