html { overflow: hidden;}

body {
  margin: 0;
  padding: 0;
  height: 100%;
}

#header, #footer, #content
{
	position: absolute;
	width: 100%;
	left: 0;
}

#header 
{
	top: 0;
	height: 170px;
	z-index: 10;
}

#header img.naslov {
	margin: 40px 0 0 30px;
	border: none;
}

#content 
{
	top: 170px;
	bottom: 40px;
	left: 20px;

	overflow: auto;

	padding-top: 10px;
	
	width: 30%;
	min-width: 400px;
	max-width: 580px;
	
	background: #FFFFFF;
	background: rgba(255, 255, 255, 0.9);
	
	-moz-box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);
	box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#000000')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#000000');
	
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	
	z-index: 1;	
}

#contentMin
{
	bottom: 40px;
	left: 20px;


	padding-top: 5px;
	
	width: 30%;
	min-width: 400px;
	max-width: 580px;
	
	background: #FFFFFF;
	background: rgba(255, 255, 255, 0.9);
	
	-moz-box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);
	box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#000000')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#000000');
	
	border-top-right-radius: 10px;
	border-top-left-radius: 10px;
	
	height: 25px;
	position: absolute;
	z-index: 1;	
	
	display: none;
}

#contentToolbarMax {
	position: absolute;
	width: 30%;
	min-width: 400px;
	max-width: 580px;
	height: 30px;
	
	top: 170px;
	left: 20px;

	overflow: hidden;
	z-index: 2;
}

#contentToolbarMin {
	position: absolute;
	width: 30%;
	min-width: 400px;
	max-width: 580px;
	height: 20px;

	bottom: 50px;
	left: 20px;

	overflow: hidden;
	z-index: 2;
	
	display: none;
}

div.contentToolbarMinMax {
	height:24px;
	width:24px;
	
	background: #987555;
	border: 3px solid #987555;
	border-radius: 20px;
	
	cursor: pointer;
	float: right;
	
	margin-top: -15px;
	margin-right: 15px;
	
	-moz-box-shadow: 0 0 5px 5px rgba(255,255,255,0.4);
	-webkit-box-shadow: 0 0 5px 5px rgba(255,255,255,0.4);
	box-shadow: 0 0 5px 5px rgba(255,255,255,0.4);
}

div.contentToolbarMinMax:hover {
	background: rgba(152, 117, 85, 0.1);
}

/* maximage */
#cycle-loader {
	height:32px;
	left:50%;
	margin:-8px 0 0 -8px;
	position:absolute;
	top:50%;
	width:32px;
	z-index:999;
}
#maximage, #maximage2 {
	display:none;
	position:fixed !important;
}
.gradient {
	left:0;
	height:100%;
	position:absolute;
	top:0;
	width:100%;
	z-index:999;
}
#backgroundCover{
	display:block;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background: #beac9a;
	z-index: 1;
	display: none;
}

/* maximage buttons */
#button_left, #button_right {
	bottom:5px;
	right:20px;
	height:24px;
	width:24px;
	border-radius: 20px;
	position:absolute;
	z-index:1001;
	background: #987555;
	cursor: pointer;
	border: 3px solid #987555;
	
	text-align: center;
	font-weight: bold;
	font-size: 17px;
	font-family: sans-serif;
	line-height: 21px;
	color: rgba(255, 255, 255, 0.3);
	
}
#button_left {
	right:55px;
}
#button_left:hover, #button_right:hover {
	background: rgba(152, 117, 85, 0.1);
	color: #987555;
}

a {color:#666;text-decoration:none;}
a:hover {text-decoration:underline;}

.in-slide-content { 
	color:#333;
	float:right;
	font-family:'Helvetica Neue', helvetica;
	font-size:60px;
	font-weight:bold;
	right:0;
	margin:40px;
	padding:20px;
	position:absolute;
	top:0;
	width:700px;
	z-index:9999; /* Show above .gradient */
	text-shadow: 0 1px 0 #fff;
}
.light-text {color:#ddd;text-shadow: 0 1px 0 #666;}
.smaller-text {font-size:30px;}
.youtube-video, video {
	left:0;
	position:absolute;
	top:0;
}

/* Text and imgs */
p {
	margin-bottom: 20px;
	font-family: adelle-1,adelle-2,Baskerville,Georgia,serif;
	font-size: 14px;
	text-align: justify;
	
	padding-top: 15px;
	/*
	padding-top: 50px;
	background-image:url('/images/separator.png');
	background-repeat:no-repeat;
	background-position:center top; 
	*/
	
	margin-left: 10px;
	margin-right: 10px;
}

p:first-letter { 
	float: left; 
	color: #987555; 
	font-size: 280%; 
	line-height: 25px;; 
	margin: 2px 1px 0 2px;
	vertical-align: top;
	
	text-shadow: 1px 1px 0 #9c4e27;
}

ul.underp {
	list-style-type: circle;
	margin: 0 0 20px 47px;
}

#contentWrap img {
	display: block; 
	margin: auto; 
	margin-bottom: 20px;
	
}

#contentWrap img.imgLink {
	border-radius: 5px; 
	box-shadow: 0 0 0 6px #fff, 0 0 0 7px #987555, 0 0 7px 7px rgba(0,0,0,0.4);
	cursor: pointer;
}

/* scrollbar */
#content .mCustomScrollBox .mCSB_scrollTools , #gallery1 .mCustomScrollBox .mCSB_scrollTools, #gallery2 .mCustomScrollBox .mCSB_scrollTools, #gallery3 .mCustomScrollBox .mCSB_scrollTools{
	padding:20px 0;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
#content .mCSB_scrollTools .mCSB_draggerRail, #gallery1 .mCSB_scrollTools .mCSB_draggerRail, #gallery2 .mCSB_scrollTools .mCSB_draggerRail, #gallery3 .mCSB_scrollTools .mCSB_draggerRail{
	width:0;
	border-right:1px solid #987555;
}
#content .mCSB_scrollTools .mCSB_dragger, #gallery1 .mCSB_scrollTools .mCSB_dragger, #gallery2 .mCSB_scrollTools .mCSB_dragger, #gallery3 .mCSB_scrollTools .mCSB_dragger{
	height:20px;
}
#content .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, #gallery1 .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, #gallery2 .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar, #gallery3 .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
	width:11px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	background:#987555;
} 

/* Footer */
#footer
{
	bottom: 0;
	height: 40px;
	
	background: #FFFFFF; 
	background: rgba(255, 255, 255, 0.9); 

	-moz-box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);
	box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);
	
	z-index: 2; 
}

a.contentLink {
	color: #987555; 
	font-family: adelle-1,adelle-2,Baskerville,Georgia,serif; 
	font-size: 16px; 
	font-weight: bold;
	line-height: 40px; 
	margin: 0 10px;
	text-shadow: 0px 1px 0 #fff;
	
	display: inline-block;
}

a.contentLinkLanguage {
	color: #987555; 
	font-family: adelle-1,adelle-2,Baskerville,Georgia,serif; 
	font-size: 16px; 
	font-weight: bold;
	line-height: 40px; 
	margin: 0 10px;
	text-shadow: 0px 1px 0 #fff;
	
	display: inline-block;
}

/* location box */
#locationBox {
	-moz-box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);
	box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);

	border-radius: 10px;

	position: fixed;
	left: 50%;
	top: 5%;

	background: #FFFFFF;
	background: rgba(255, 255, 255, 0.9);

	z-index: 50;

	height: 80%;
	width: 80%;
	margin-left: -40%;

	padding: 15px;

	display: none;
}

/* gallery box */
#galleryBox {
	-moz-box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);
	box-shadow: 0 0 7px 7px rgba(0,0,0,0.4);

	border-radius: 10px;

	position: fixed;
	left: 50%;
	top: 5%;

	background: #FFFFFF;
	background: rgba(255, 255, 255, 0.9);

	z-index: 50;

	height: 80%;
	width: 80%;
	margin-left: -40%;

	padding: 15px;
	
	color: #987555; 
	font-family: adelle-1,adelle-2,Baskerville,Georgia,serif; 
	font-size: 16px; 
	font-weight: bold;
	text-shadow: 0px 1px 0 #fff;
	
	//max-width: 1330px;
    min-width: 740px;
	
	display: none;
}

div.galleryHead {
	height: 40px; 
	width: 100%; 
	line-height: 40px; 
	text-align: left;
	
	/*
	background-image:url('/images/separator.png');
	background-repeat:no-repeat;
	background-position:center top; 
	padding-top: 30px;
	*/
	
	margin-bottom: 10px;
	border-bottom: 1px dotted #987555;
}

#galleryBox a.thumb img{
	border: 1px solid #987555;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    float: left;
    margin: 1px;
    padding: 1px;
}

#galleryBox a.thumb img:hover {
	opacity: 0.8;
}

/* mail */
#mailForm {
	padding: 10px;
	overflow: hidden;

	/*
	background-image:url('/images/separator.png');
	background-repeat:no-repeat;
	background-position:center top; 
	*/
	
	color: #987555; 
	font-family: adelle-1,adelle-2,Baskerville,Georgia,serif; 
	font-size: 14px; 
	font-weight: bold;
	line-height: 30px; 
	text-shadow: 0px 1px 0 #fff;
	text-align: center;
	
}

#mailForm input[type="text"], #mailForm textarea {
	width: 90%;

	border-radius: 5px;
	background: #FFF;
	border: 2px solid #987555;
	padding: 5px;
	
	font-family: adelle-1,adelle-2,Baskerville,Georgia,serif; 
	font-size: 14px;
}

#mailForm input[type="text"] {
	text-align: center;
}

#mailForm textarea {
	resize: none;
	height: 100px;
}

#mailForm input[type="submit"] {
	border-radius: 10px;
	background: #987555;
	border: 2px solid #987555;
	padding: 5px 15px;
	margin: 10px;
	
	color: #FFF; 
	font-family: adelle-1,adelle-2,Baskerville,Georgia,serif; 
	font-size: 14px; 
	font-weight: bold;
	text-align: center; 
	
	cursor: pointer;
}

#mailForm input[type="submit"]:hover {
	background: #FFF;
	color: #987555; 
	text-shadow: 0px 1px 0 #fff;
}

div.mailMessage {
	color: #987555; 
	font-family: adelle-1,adelle-2,Baskerville,Georgia,serif; 
	font-weight: bold;
	text-shadow: 0px 1px 0 #fff;
	text-align: center;
	margin-top: 30px;
}

div.houseInfo {
	padding: 15px;
}

div.houseInfo table {
	width: 100%; 
	border: 1px solid #987555;
	border-radius: 5px;
}

div.houseInfo table td {
	padding: 3px;
	vertical-align: top;
	border-bottom: 1px dotted #987555;
}

div.houseInfo h2 {
	color: #987555; 
	font-family: adelle-1,adelle-2,Baskerville,Georgia,serif; 
	font-size: 16px; 
	font-weight: bold;
	text-shadow: 1px 1px 0 #FFF;
}

td.houseInfoColumn1 {
	width: 30%; 
	min-width: 100px;
	font-weight: bold;
}

/* CALENDAR */
.caldiv {
	padding: 20px 10px 10px 10px;
}
.caltable {
	text-align: center;
	width: 100%;
	background: rgba(100,100,100,0.2);
    border-radius: 10px;
}
.caltable th, .caltable tr, .caltable td {
	text-align: center;
}
.caltable th {
	padding: 10px;
    font-size: 120%;
    font-weight: bold;
}
.caltable td {
	padding: 10px 0;
}
.calcell {
	background: rgba(0, 255, 0, 0.4);
}
.cal_first {
	background: linear-gradient(90deg, rgba(0, 255, 0, 0.4) 49%, rgba(255, 0, 0, 0.5) 51%)
}
.cal_last {
	background: linear-gradient(90deg, rgba(255, 0, 0, 0.5) 49%, rgba(0, 255, 0, 0.4) 51%)
}
.cal_fill {
	background: rgba(255, 0, 0, 0.5);
}
.cal_only {
	background: rgba(255, 0, 0, 0.5);
}
