#mainslider {
    width:934px;
    height:295px;
    padding:20px 22px; /* Push the actual slider into the centre */
    position:relative;
}
#mainslider #whiteborder {
    position:relative;
    width:519px;
    height:282px;
	padding:6px;
    background-color:#fff;
}
#mainslider #slider {
    position:relative;
    width:519px;
    height:282px;
    background:url(../images/loading.gif) no-repeat 50% 50%;
}
#mainslider #slider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
    width:519px;
    height:282px;
}
#mainslider #slider a {
    border:0;
    display:block;
}

#mainslider .nivo-controlNav {
    /* background:url(../images/controlnav.png) no-repeat; /* Background for the bullets */
    width:333px;
    height:16px;
    position:absolute;
    left:571px; /* Manually position in centre. Not perfect */
    bottom:0px;
    z-index:20; /* Make sure it is visible above the slides */
}
#mainslider .nivo-controlNav a {
    display:block;
    width:16px;
    height:16px;
    background:url(../images/bullets.png) no-repeat;
    text-indent:-9999px;
    border:0;
    margin-right:13px;
    float:left;
}
#mainslider .nivo-controlNav a.active {
    background-position:0 -36px; /* Selected bullet */
}

#mainslider .nivo-caption {
    top:0px; /* Vertically centre the captions */
    left:auto;
    right:-385px; /* Put them on the right */
    width:333px;
    max-width:333px;
    overflow:hidden;
    text-shadow:none;
    height:266px;
}
#mainslider .nivo-caption p {
	padding:0;
}
#mainslider .nivo-caption div.slider-before-title {
    color:#a22828;
	font-style:italic;
    font-size:22px;
	line-height:27px;
    overflow:hidden;
    height:27px;
}
#mainslider .nivo-caption div.slider-title {
	overflow:hidden;
    max-height:74px;
	padding-bottom:2px;
}
#mainslider .nivo-caption div.slider-title a {
	line-height:37px;
	background-color:#a22828;
	color:#988870;
	font-weight:bold;
	font-size:30px;
	text-decoration:none;
	padding-bottom:2px;
}
#mainslider .nivo-caption div.slider-title a:hover {
	background-color:#ab3d3d;
}
#mainslider .nivo-caption div.slider-title a span {
	background-color:#000;
	/*border-bottom:2px solid #a22828;*/
}
#mainslider .nivo-caption div.slider-excerpt {
	margin:10px 0 12px;
    color:#988870;
    font-size:12px;
	line-height:15px;
    overflow:hidden;
    max-height:105px;
}
#mainslider .nivo-caption a.slider-more {
    color:#a22828;
    font-weight:bold;
    font-size:12px;
	line-height:15px;
}



#detailsslider #whiteborder {
	position:relative;
    width:328px;
    height:328px;
    background-color:#fff;
	border:6px solid #f1efeb;
	-webkit-box-shadow:1px 1px 7px #99948d;
	-moz-box-shadow:1px 1px 7px #99948d;
	-o-box-shadow:1px 1px 7px #99948d;
	box-shadow:1px 1px 7px #99948d;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	border-radius:8px;
	margin-bottom:110px;
}
.ie8 #detailsslider #whiteborder,.ie7 #detailsslider #whiteborder {
	behavior:url(http://drazic.co.rs/wp-content/themes/drazic/css/PIE.htc);
}
.ie9 #detailsslider #whiteborder {
	box-shadow:1px 1px 14px #99948d;
}
#detailsslider #slider {
    position:relative;
    width:328px;
    height:328px;
    background:url(../images/loading.gif) no-repeat 50% 50%;
}
#detailsslider #slider img.slide {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
    width:328px;
    height:328px;
}
#detailsslider #slider .nivo-controlNav {
	position:absolute;
	bottom:-100px;
	margin-left:-6px;
	margin-right:-21px;
	width:355px;
}
#detailsslider #slider .nivo-controlNav a {
    display:inline;
}
#detailsslider #slider .nivo-controlNav img {
	display:inline;
	position:relative;
	margin-right:15px;
	-moz-box-shadow:1px 1px 7px #99948d;
	-webkit-box-shadow:1px 1px 7px #99948d;
	-o-box-shadow:1px 1px 7px #99948d;
	box-shadow:1px 1px 7px #99948d;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
    border:3px solid #e4dcd2;
}
.ie9 #detailsslider #slider .nivo-controlNav img {
	box-shadow:1px 1px 14px #99948d;
}
.lteie8 #detailsslider #slider .nivo-controlNav img {
    border:3px solid #d4c9b9;
}
#detailsslider #slider .nivo-controlNav a.active img {
    border:3px solid #a22828;
}



.noscript #mainslider #img1,.noscript #detailsslider img#img1 {
	display:block;
}
.noscript #mainslider #caption1 {
	top:26px;
    right:46px;
	display:block;
	opacity:1.0;
}
