/*
 * jQuery Nivo Slider v3.1
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
	/*width:100%;
	height:auto;
	overflow: hidden;*/
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	max-width: none;
        border: 0;
        



}
.nivo-main-image {
	display: block !important;
	position: relative !important; 
	width: 100% !important;
}
/*
.nivo-box-container {
    overflow: hidden;
    text-align: center;
    width: 850px;
    height: 448px;
    position: absolute;
    top:0px;
    left:0px;
}

.nivo-slice-container {
    overflow: hidden;
    text-align: center;
    width: 850px;
    height: 448px;
    position: absolute;
    top:0px;
    left:0px;
}

.nivo-box-container span {
    display: table-cell;
    vertical-align: middle;
    height: 1000px;
    position: relative;
    top: -276px; /* -(height-container width)/2 */
/*    width: 850px;
}


.nivo-slice-container span {
    display: table-cell;
    vertical-align: middle;
    height: 1000px;
    position: relative;
    /* top: -276px; /* -(height-container width)/2 */
/*    width: 850px;
}*/


.nivo-image-container {
    overflow: hidden;
    text-align: center;
    width: 850px;
    height: 448px;
}
.nivo-image-container span {
    display: table-cell;
    vertical-align: middle;
    height: 1000px;
    position: relative;
    top: -276px; /* -(height-container width)/2 */
    width: 850px;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	display: block;
	position:absolute;
	top:0px;
	left:45px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
        background:white; filter: alpha(opacity=0); opacity: 0;
}
/* The slices and boxes in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height:100%;
	top:0;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
	overflow:hidden;
}
.nivo-box img { display:block; }

/* Caption styles */
.nivo-caption {
	/* position:absolute; */
	left:0px;
	bottom:0px;
        height:40px;
        line-height: 30px;
	background:#dfdfdf;
	color:#000;
	width:100%;
	z-index:8;
	padding: 5px 30px;
	/* overflow: hidden;*/
        font-size: 14px;
	display: none;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
        text-align: center;
        display: block;
        white-space: nowrap;
        position: relative;
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
}

.nivo-caption-container {
    text-align: center;
    display: table;
    width: 100px;
    margin: auto;
    position:relative;
    z-index:10;
    top:-20px;
}

.nivo-caption-container:before {
    content: "";
    display: block;
    position: absolute;
    left: -20px;
    width: 0;
    height: 0;
    border-bottom: 40px solid #dfdfdf; 
    border-left: 20px solid transparent;
    z-index: 10;
    top:0px;
}

.nivo-caption-container:after {
    content: "";
    display: block;
    position: absolute;
    right: -20px;
     width: 0;
    height: 0;
    top:0px;
    z-index: 10;
    border-top: 40px solid #dfdfdf; 
    border-right: 20px solid transparent;	
}


.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top: 36px;
	z-index:9;
	cursor:pointer;
	width: 46px;
	height: 376px;
}
.nivo-prevNav {
	left:-46px;	
	background: url(../images/slide_prev.jpg) left top no-repeat;
}
.nivo-nextNav {
	right:-46px;
	background: url(../images/slide_next.jpg) left top no-repeat;
}

.l-border {
    position: absolute;
    width:23px;
    height:40px;
    left:-22px;
    top:0px;
    background: url(../images/slider-l-border.png) left top no-repeat;
}
.r-border {
    top:0px;
    position: absolute;
    width:23px;
    height:40px;
    right:-22px;
    background: url(../images/slider-r-border.png) left top no-repeat;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
	text-align:center;
        position: relative;
        z-index: 8;
        top: -104px;
}
.nivo-controlNav a {
	cursor: pointer;
        color: #fff;
        display: inline-block;
        width: 12px;
        height: 13px;
        background: transparent url('../images/nivo-slider-pager.png');
        text-indent: ;
        overflow: hidden;
        background-position: 0px -13px;
        margin: 0 1px;
}

.nivo-controlNav a.active {
	font-weight:bold;
        background-position: 0px -26px;
}

.nivo-controlNav a:hover {
    background-position: 0px 0px;
}