/*
 * jQuery Nivo Slider v3.0.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;
}
.nivo-main-image {
	display: block !important;
	position: relative !important; 
	width: 100% !important;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
}
/* 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;
	background:#000;
	color:#fff;
	width:100%;
	z-index:8;
	padding: 5px 10px;
	opacity: 0.8;
	overflow: hidden;
	display: none;
	-moz-opacity: 0.8;
	filter:alpha(opacity=8);
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:45%;
	z-index:9;
	cursor:pointer;
}
.nivo-prevNav {
	left:0px;
}
.nivo-nextNav {
	right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
	position: relative;
	text-align:center;
	padding: 0px 0;
	overflow: hidden;
	width:405px;
}
.nivo-controlNav a {
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}

.slider-wrapper {
	position: relative;
}

.slider-wrapper .hoverscroll {
	position: absolute;
	width: 50px;
	height: 140px;
}

.slider-wrapper .scroll-left {
	bottom: 20px;
	left: 0px;
}

.slider-wrapper .scroll-right {
	bottom: 20px;
	right: 0px;
}

/*
Skin Name: Nivo Slider Default Theme
Skin URI: http://nivo.dev7studios.com
Skin Type: flexible
Description: The default skin for the Nivo Slider.
Version: 1.2
Author: Gilbert Pellegrom
Author URI: http://dev7studios.com
*/

.theme-default .nivoSlider {
	position:relative;
	background:#fff url(loading.gif) no-repeat 50% 50%;
    -webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
    -moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
    box-shadow: 0px 1px 5px 0px #4a4a4a;
}
.theme-default .nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}
.theme-default .nivoSlider a {
	border:0;
	display:block;
}

.theme-default .nivo-controlNav {
	text-align: center;
	padding: 20px 0;
}
.theme-default .nivo-controlNav a {
	display:inline-block;
	width:22px;
	height:22px;
	background:url(bullets.png) no-repeat;
	text-indent:-9999px;
	border:0;
	margin: 0 2px;
	padding: 2px;
}

.theme-default .nivo-controlNav a img {
    -webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
    -moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
    box-shadow: 0px 1px 5px 0px #4a4a4a;
}

.theme-default .nivo-controlNav a.active {
	background-position:0 -22px;
	background: #222;
}

.nivo-directionNav a {
	display:block;
	width:35px;
	height:36px;
	background:url(../images/arrows.png) no-repeat;
	text-indent:-9999px;
	border:0;
	font-size: 0px;
}
a.nivo-nextNav {
	background-position: -40px 0px;
	right:15px;
}
a.nivo-prevNav {
	left:15px;
}
a.nivo-nextNav:hover{
	background-position: -39px -44px;
}
a.nivo-prevNav:hover {
	background-position: -0px -44px;
}

.theme-default .nivo-caption {
    font-family: Helvetica, Arial, sans-serif;
}
.theme-default .nivo-caption a {
    color:#fff;
    border-bottom:1px dotted #fff;
}
.theme-default .nivo-caption a:hover {
    color:#fff;
}

.theme-default .nivo-controlNav.nivo-thumbs-enabled {
	width: 100%;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled a {
	width: auto;
	height: auto;
	margin-bottom: 5px;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled img {
	display: block;
	width: auto;
	height: 100px;
}
.nivo-control{
	display: inline-block;
	padding: 1px;
	margin: 0 4px 7px;
}
.nivo-control.active{
	background: #222;
}
.nivo-control img{
	max-width: 125px;
	max-height: 95px;
	vertical-align:bottom;
}
.nivoSlider {
	max-width: 500px;
	max-height: 680px;
	height: auto;
	margin: 0 15px 0 0;
	float: left;
}

/******************************/

.nivoSlider {
    max-width: 500px;
    height: 330px !important;
}
/*
.nivo-slice{
    display: block !important;
    position: absolute !important;
    width: 100% !important;
    height: 500px !important;
    line-height: 500px !important;
    top: 0px !important;
    left: 0px !important;
    vertical-align: middle !important;
}
#slider .nivo-slice img {
    max-width: 500px !important;
    max-height: 500px !important;
    display: inline-block !important;
    line-height: 500px !important;
    vertical-align: middle !important;
    position: relative !important;
}*/
.nivo-main-image {
    display: none !important;
}
.nivo-slice, #slider > a.photo_gal{
    display: table-cell;
    position: absolute !important;
    width: 100% !important;
    height: 330px !important;
    line-height: 330px !important;
    top: 0px !important;
    left: 0px !important;
    vertical-align: middle !important;
	text-align: center;
}
#slider .nivo-slice img,  #slider > a.photo_gal img {
    width: auto !important;
    max-width: 500px !important;
    height: auto !important;
    max-height: 330px !important;
    display: inline-block !important;
    line-height: 330px !important;
    vertical-align: middle !important;
    position: relative !important;
}
/******************************/

@media screen and (max-width: 900px){
	.nivoSlider{
		float:none;
		margin:0 auto 20px;
	}
}





@media screen and (max-width: 400px){
.nivoSlider {
    max-width: 100%;
    height: 230px !important;
}

.nivo-main-image {
    display: none !important;
}
.nivo-slice, #slider > a.photo_gal{
    display: table-cell;
    position: absolute !important;
    width: 100% !important;
    height: 230px !important;
    line-height: 230px !important;
    top: 0px !important;
    left: 0px !important;
    vertical-align: middle !important;
	text-align: center;
}
#slider .nivo-slice img,  #slider > a.photo_gal img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 230px !important;
    display: inline-block !important;
    line-height: 230px !important;
    vertical-align: middle !important;
    position: relative !important;
}

}



