/*
 * jQuery Nivo Slider v3.2
 * 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 */

.slider-main{ position:relative; }
.nivoSlider { position:relative; width:100%; height:auto; overflow:hidden; }
.nivoSlider img { position:absolute; top:0px; max-width: none; }
.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; 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-html-caption { display:none; }

/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a { border:0 none; display:block; height:60px; text-indent:-9999px; -webkit-transition:all 200ms ease-in-out 0s; transition:all 200ms ease-in-out 0s; width:60px; position:absolute; z-index:10; cursor:pointer; }
a.nivo-prevNav { right:180px; bottom: 100px; background:url(../images/slide-nav.png) no-repeat -14px center #C19977; }
a.nivo-nextNav { right:100px; bottom: 100px; background:url(../images/slide-nav.png) no-repeat -94px center #C19977; }
	
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav { position: absolute; bottom: 0; width: 100%; line-height: 10px; z-index: 10; text-align: center; display: flex; }
.nivo-controlNav a { cursor: pointer; text-indent: -9999px; height: 12px; flex: 1 0 auto; border-left: 5px solid black; display: inline-block; }

/* Nivo Caption */
#pagewrap.boxlayout .nivo-caption{ width: 84%; }
.nivo-caption{ width: 600px; position: absolute; top: 50%; z-index: 10; -webkit-box-sizing: border-box; box-sizing: border-box; transform: translateY(-50%); -webkit-transform: translateY(-50%); }
.nivo-caption h4{ background-color: #ffa149; display: inline-block; padding: 25px 40px; color: #ffffff; -webkit-clip-path: polygon(0 20%, 100% 0, 100% 80%, 0 100%); clip-path: polygon(0 20%, 100% 0, 100% 80%, 0 100%); }
.nivo-caption h4 span{ -webkit-transform: rotate(-3deg); transform: rotate(-3deg); display: block; }
.nivo-caption h2{ font: 800 70px/1 'Raleway'; color: #ffffff; display: block; position: relative; margin-bottom: 20px; }
.nivo-caption h2 a{ display:block; color: #ffffff; }
.nivo-caption p{ font:400 16px/1.6 'Raleway'; margin:0 0 40px; color:#ffffff; position: relative; }

/* Caption Text Styles Left */
#slider.caption-text-left .nivo-caption{ text-align:left; left:13%; }

/* Caption Text Styles Center */
#slider.caption-text-center .nivo-caption{ text-align:center; left:0; right:0; margin:0 auto; }
#slider.caption-text-center .nivo-caption p{ margin:0 auto 40px; width: 76%; }
#slider.caption-text-center a.sliderbtn{ margin:0 auto; }

/* Caption Text Styles Right */
#slider.caption-text-right .nivo-caption{ text-align:right; right:13%; left:auto; }
#slider.caption-text-right .nivo-caption p{ float: right; }