.headerslides.home{
	opacity: 0;
	position: relative;
}
.headerslides.home .upperShadow{
	height: auto;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 40;
}
.headerslides.home .slide{
	z-index: 35;
	position: relative;
}
.headerslides.home .slide{

}
.headerslides.home .slide .imageOuter{
    display: block;
}
.headerslides.home .slide .imageInner{
	display: block;
    position: relative;
    width: 100%;
}
.headerslides.home .slide .imageInner img{
	width: 100%;
	height: auto;
	max-width: none;
}
.headerslides.home .text{
	bottom: 54px;
    left: 13px;
    position: absolute;
}
.headerslides.home .text a{}
.headerslides.home .text .title a{
    color: #fff;
    display: inline;
    font-size: 36px;
    font-weight: 700;
    line-height: 46px;
    padding: 1px 8px 0;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.headerslides.home .text .title a{
	
}
.headerslides.home .text .subtitle{
    color: #fff;
    display: inline;
    font-size: 18px;
    font-style: italic;
    font-weight: 700;
    line-height: 32px;
    padding: 0 8px 3px 11px;
    position: relative;
    top: -1px;
	-webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
@-moz-document url-prefix() {/* firefox specific hack - to handle line hieght variations */
   .headerslides.home .text .subtitle{top: -2px;}
}
.headerslides.home .text .subtitle a{
	color: #fff;
    font-weight: 700;
    /*line-height: 26px;*/
    text-decoration: none;
}
.headerslides.home .slide .shadow{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
    height: 100%;
}
.headerslides.home .slide .playicon{
    display: block;
    width: 85px;
    height: 60px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border-radius: 14px 15px;
    background-color: rgba(0,0,0,0.5);
    background-image: url("/includes/public/assets/images/play-arrow.png");
    background-position: 33px center;
    background-repeat: no-repeat;
    -webkit-transition: all 275ms ease-in-out;
    -moz-transition: all 275ms ease-in-out;
    -o-transition: all 275ms ease-in-out;
    transition: all 275ms ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.headerslides.home .slide:hover .playicon{
    background-color: rgba(218,41,28, 0.95);
    border: solid 1px rgba(255, 255, 255, 0.41);
}
.headerslides.home .slide.bottomleft .text{
	bottom: 30px;
    left: 13px;
    position: absolute;
}
.headerslides.home .slide.bottomright .text{
	bottom: 30px;
    right: 13px;
    left: auto;
    text-align: right;
}
.headerslides.home .arrow {
    position: absolute;
    top: calc(50% - 40px);
    color: #fff;
    cursor: pointer;
    text-align: center;
    display: block;
    z-index: 5;
    width: 50px;
    height: 120px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: #000;
    background: rgba(0, 0, 0, 0.5);
    font-family: 'FontAwesome' !important;
    font-size: 20px;
    line-height: 150px;
    font-weight: 400;
    line-height: 1;
}
.headerslides.home .arrow.prevSlide { left:0;}
.headerslides.home .arrow.nextSlide { right: 0;}

.headerslides.home .arrow img { margin-top: 35px; }

.headerslides.home .item-btn-play {
    visibility: hidden;
    top: 50%;
    left: 50%;
    position: absolute;
    z-index: 200;

    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.headerslides.home .disable-video-autoplay .item-btn-play {
    visibility: visible;
}

.headerslides.home .item-btn-play a i:hover {
    color: #fff;
}
.headerslides.home.disable-video-autoplay .item-btn-play {
    visibility: visible;
}
.headerslides.home .slick-dots {
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
    margin: 0px auto;
}
.headerslides.home .slick-dots li button:before {
    height: 24px;
    width: 24px;
    border: 5px solid #3a5872;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -moz-border-radius: 55px;
    -webkit-border-radius: 55px;
    border-radius: 55px;
    background: #FFF;
    background: rgba(255, 255, 255, 0.6);
    color: transparent;
    opacity: 1;
}
.headerslides.home .slick-dots li.slick-active button:before {
    background: #ffb329;
}
.headerslides.home .slick-dots li:hover button:before {
    background: #ffffff;
}
.headerslides.home .slick-dots li {
    margin: 0px 10px;
}
.headerslides.home .item-text {
    text-align: left;
}
.headerslides.home .item-text h2 {
    text-transform: uppercase;
    font-family: "Intro", sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #f7f2e8;
}
.headerslides.home .item-text h4 {
    color: #FFF;
}
.headerslides.home .item-text p {
    font-family: "Intro Book", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #f7f2e8;
}
.headerslides.home .item-text .link {
    color: #ffb329;
}


.mfp-bg {
    z-index: 2999 !important;
}
.mfp-wrap {
    z-index: 3000 !important;
}
.mfp-iframe-holder .mfp-close {
    background: transparent;
}

.videolink,
.videolink:active,
.videolink:hover,
.videolink:focus,
.videolink:visited {
    color: #fff;
    outline: unset;
    border: none;
}

.video-slide-container iframe {
    position: absolute;
    width: 100%;
    margin-top: -540px;
    top: 50%;
    left: 0;
    z-index: -1;
}

.headerslides.home .video-controls {
    display: block;
    position: absolute;
    bottom: 25px;
    left: 25px;
    cursor: pointer;
    z-index: 11;
    font-size: 30px;
    color: #FFF;
}
.headerslides.home .video-mute {    
    display: inline-block;
    margin: 0px 25px 0 10px;
    width: 35px;
}

.headerslides.home .video-pause {
    display: inline-block;
}
.slide-show.hasVideo .arrows .arrow {
    bottom: calc(50% - 20px);
}
.headerslides.home .video-controls i:hover {
    color: #ED1C24;
}
.headerslides.home.disable-video-autoplay .video-controls {
    display: none;
}


.headerslides.home .slide.theme-success {
    background: url("/includes/public/assets/patterns/pattern-green-dots.jpg") left top
}

.headerslides.home .slide.theme-success .item-title .title-inner {
    background: #a9ca3c;
    background: rgba(169, 202, 60, 0.8)
}

.headerslides.home .slide.theme-success .item-description {
    background: #839742
}

.headerslides.home .slide.theme-danger {
    background: url("/includes/public/assets/patterns/red-dotted-pattern.jpg") left top
}

.headerslides.home .slide.theme-danger .item-title .title-inner {
    background: #d25400;
    background: rgba(210, 84, 0, 0.8)
}

.headerslides.home .slide.theme-danger .item-description {
    background: #9d1a20
}

.headerslides.home .slide.theme-primary {
    background: url("/includes/public/assets/patterns/pattern-blue-dots.jpg") left top
}

.headerslides.home .slide.theme-primary .item-title .title-inner {
    background: #01b6bd;
    background: rgba(1, 182, 189, 0.8)
}

.headerslides.home .slide.theme-primary .item-description {
    background: #3a5872
}


.headerslides.home .slide .item-text {
    position: absolute;
    top: 55%;
    left: 0;
    width: 100%;
    z-index: 5;
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%)
}

.headerslides.home .slide .item-text .text-wrapper {
    max-width: 430px;
    width: 100%
}

.headerslides.home .slide .item-text .text-inner {
    padding-left: 30px
}

@media (max-width: 61.9375em) {
    .headerslides.home .slide .item-text .text-wrapper {
        max-width: 100%;
        width: 100%;
        margin: auto
    }
    .headerslides.home .slide .item-text .text-inner {
        padding: 0
    }
    .headerslides.home .slide .item-text {
        padding: 18px 0;
        margin-top: -3px;
        text-align: center;
        border: 3px solid rgba(0, 0, 0, 0.1);
        border-right: 0;
        border-left: 0;
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        right: auto;
        -moz-transform: none;
        -ms-transform: none;
        -webkit-transform: none;
        transform: none
    }
    .headerslides.home .item-text h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 47.9375em) {
    .headerslides.home .slide .item-text {
        border-bottom-color: #fff
    }
    .headerslides.home .arrow {
        max-height: 50px;
        width: 22px;
    }
    .headerslides.home .arrow img {
        max-height: 25px;
        margin-top: 13px;
    }
    .headerslides.home .item-text p {
        font-size: .875rem;
    }
    
}

.headerslides.home .slide .item-title {
    padding-left: 45px
}

.headerslides.home .slide .item-title .title-inner {
    padding: 12px 18px 13px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background: #3a5872;
    background: rgba(58, 88, 114, 0.8)
}

@media (max-width: 61.9375em) {
    .headerslides.home .slide .item-title .title-inner {
        padding: 0;
        background: none !important
    }
}

@media (max-width: 61.9375em) {
    .headerslides.home .slide .item-title {
        padding: 0;
        margin-bottom: 8px
    }
}

.headerslides.home .slide .item-description {
    padding: 20px;
    background: #26394a
}

@media (max-width: 61.9375em) {
    .headerslides.home .slide .item-description {
        padding: 0;
        background: none !important
    }
}








/*
|---------------------------------------------------------------------------------------------
|  MEDIA QUERIES
|---------------------------------------------------------------------------------------------
*/
/***  Desk***/ 
@media only screen and (min-width: 64em){
	.headerslides.home{ 
        max-height: none;
        margin: 0px auto;
        text-align: center;
    }
	.headerslides.home .slide { /*min-height: 640px;*/}
	.headerslides.home .text { left: 0; bottom: 80px;}
	.headerslides.home .text .title a{
   		font-size: 60px;
   		line-height: 73px;
   		padding: 1px 22.5px 0;
   	}
   	.headerslides.home .text .subtitle{
   		font-size: 24px;
	    padding: 0 11px 10px 12px;
        top: 2px;
	    letter-spacing: -0.5px;
        line-height: 24px;
   	}
    @-moz-document url-prefix() {/* firefox specific hack - to handle line hieght variations */
       .headerslides.home .text .subtitle{top: 4px; line-height: 40px;}
    }
	.headerslides.home .slide.bottomleft .text{left: 0; bottom: 80px;}
	.headerslides.home .slide.bottomright .text{right: 0; bottom: 80px;}    

}
/*** Tablet ***/ 
@media only screen and (min-width: 40.063em) and (max-width: 64em) { 
    .headerslides.home .textOuter {
		position: relative;
		    width: 66%;
		margin: 0 auto;
	}
    .headerslides.home .slide .imageInner { width: 100%;}
    .headerslides.home .slide .imageInner img { width: 100%; height: auto;}
    .headerslides.home .text .subtitle{
        font-size: 20px;
    }
    .headerslides.home .text { left: 0; bottom: 16px;}


}
/*** Desktop ***/ 
@media only screen and (min-width: 64.063em) { 
	.headerslides.home .textOuter{
		position: relative;
		width: 930px;
		margin: 0 auto;
	}
    .headerslides.home .slide .imageInner{
        width: 100%;
        margin: 0 auto;
    }
    .headerslides.home .slide .imageInner img{
        width: 100%;
        height: auto;   
    }
    
}
/*** XLarge screens***/ 
@media only screen and (min-width: 90.063em) {
    .headerslides.home .arrows { margin: auto; }
    .headerslides.home .arrow.prevSlide { left:0;}
    .headerslides.home .arrow.nextSlide { right: 0;}
} 

@media only screen and (max-width: 64em) { 
    .item-btn-play { visibility: visible; }
    .video-slide-container { display: none !important; }
    .headerslides.home .video-controls { display: none; }
    .headerslides.home .item-btn-play { visibility: visible; }
    .headerslides.home .item-btn-play {
        max-width: 50px;
        top: 35%;
    }
    .headerslides.home .arrow {
        top: 30%;
    }
    .headerslides.home .slick-dots {
        bottom: 230px;
    }
}

/*** Mobile ***/ 
@media only screen and (max-width: 40em) {
    .headerslides.home .slide{height:auto;}
    .headerslides.home .text .subtitle{display: none;}
    .headerslides.home .text {
        margin:0 auto;
        text-align: center;
        top: 100px;
        padding: 0 20%;
        left:0;
    }
    .headerslides.home .text .title a{
        font-size: 32px;
        line-height: 42px;
    }
    .headerslides.home .item-btn-play {
        max-width: 50px;
        top: 28%;
    }
    .headerslides.home .slick-dots {
        bottom: 200px;
    }
    .headerslides.home .arrow {
        top: 20%;
    }
}
@media only screen and (max-width: 480px) {
        .headerslides.home .text .title a{
            font-size: 16px;
            line-height: 16px;
        }
        .headerslides.home .text {
            top: 65%;
            padding: 0 20%;
        }
}
