.mfp-container .mfp-iframe-scaler {
    overflow: visible;
}

.mfp-container .mfp-title {
    padding: 5px;
}

.mfp-container .mfp-title a {

}

.mfp-container .mfp-title h3 {
    margin: 0;
    color: #fff;
    font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
}

.mfp-container .mfp-title p {
    color: #fff;
}

.custom_homepage_header .slick-slide .slide-still {
    height: 800px;
    position: relative;
    background-position: center 0px;
    background-size: cover;
    background-repeat: no-repeat;
}
.custom_homepage_header .slideimg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 10;
    overflow: hidden;
    background-size: cover;
    background-position: top center;
    transition: all ease .5s;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -o-transition: all ease .5s;
}

.custom_homepage_header .slideimg:before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    top: 0px;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 70%, rgba(0,0,0,0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.05) 70%,rgba(0,0,0,0.65) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.05) 70%,rgba(0,0,0,0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
    pointer-events: none;
}

.custom_homepage_header .fullheight {
    height: 100%;
}

.custom_homepage_header .slidetext {
    position: absolute;
    left: 10px;
    bottom: 45px;
    z-index: 9;
    text-align: left;
}
.custom_homepage_header .gradient {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-image: url(/includes/public/assets/images/gradient.png);
    background-position: bottom left;
    background-repeat: repeat-x;
    height: 380px;
    width: 100%;
}
.custom_homepage_header .slidereveal {
    display:none;
    background-image: url(/includes/public/assets/images/slideopenbg.png);
    background-position: bottom center;
    background-size: cover;
    padding: 0px 0px 47px 0px;
    height: 800px;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    top: 0px;
    z-index: 5;
    transition: all ease .5s;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -o-transition: all ease .5s;
}
.custom_homepage_header .slideinfocont {
    padding-top: 8px;
}

.custom_homepage_header .closebox {
    position: absolute;
    top: 0px;
    width: 100%;
}
.custom_homepage_header .closex {
    position: absolute;
    top: 29px;
    right: 13px;
    cursor: pointer;
}
.custom_homepage_header .closex img {
    transform: scale(1);
    transition: all ease .5s;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -o-transition: all ease .5s;
}
.custom_homepage_header .closex:hover img {
    transform:scale(.8);
}
.slidereveal .row {
    max-width: 62rem!important;
    position: relative;
}
.custom_homepage_header .images6 {
    padding-top: 18px;
}
.custom_homepage_header .imgcont {
    border: 1px #fff solid;
    overflow: hidden;
    position: relative;
    margin-bottom: 38px;
}
.custom_homepage_header .imgtext {
    position: absolute;
    bottom: 10px;
    left: 15px;
    z-index: 99;
}
.custom_homepage_header .imggradient {
    background-image: url(/includes/public/assets/images/img-gradient.png);
    background-position: bottom left;
    background-repeat: repeat-x;
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 100px;
    width: 100%;
    display: block;
    z-index: 9;
}
.custom_homepage_header .slick-slide img {
    display: block;
}
.custom_homepage_header .img6 {
    width: 100%;
    transform: scale(1);
    transition: all ease .5s;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -o-transition: all ease .5s;
}
.custom_homepage_header .imgcont:hover .img6 {
    transform:scale(1.1);
}
.custom_homepage_header .title2 {
    color: #fff;
    font-size: 36px;
    font-family: 'L Futura W01';
    position: relative;
    left: 108px;
    margin-top: 12px;
    line-height: 1.2em;
    display: block;
    text-align: center;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
.custom_homepage_header .slideinfocont .title2 {
    left: 0px;
}
.custom_homepage_header .imgtext .title2 {
    font-size: 22px;
    text-shadow: 3px 3px 3px #000;
    left: 0px;
    margin-top: 0px;
    padding-left: 25px;
    text-align: left;
}
.custom_homepage_header .imgtext .title2:before {
    content: "";
    background-color: #72bf44;
    width: 18px;
    height: 18px;
    display: block;
    position: absolute;
    left: 0px;
    bottom: 5px;
}
.custom_homepage_header .title1 {
    color: #fff;
    font-size: 80px;
    font-family:'Sweetheart Script W00';
    line-height: 1.3em;
    text-align: left;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
/* dynamic classes */
.custom_homepage_header .slide-still .slideimg.moveme {
    top:-100%;
}
.custom_homepage_header .slick-prev.moveme,
.custom_homepage_header .slick-next.moveme {
    opacity:0;
    z-index:-1;
}
.custom_homepage_header .peekbtn {
    position: absolute;
    bottom: -105px;
    width: 100px;
    height: 86px;
    right: 25%;
    z-index: 100;
    cursor: pointer;
    animation: peekmove .5s forwards;
    animation-delay: .5s;
    -webkit-animation: peekmove .5s forwards;
    -webkit-animation-delay: .5s;
}
.custom_homepage_header .peekring {
    width: 101px;
    height: 101px;
    display: block;
    border: 2px #fff solid;
    position: absolute;
    left: -4px;
    top: -2px;
    opacity: .5;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    transition: all ease .5s;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -o-transition: all ease .5s;
}
.custom_homepage_header .peekring:hover {
    transform:scale(1.1);
}
.custom_homepage_header .slick-prev, 
.custom_homepage_header .slick-next, 
.custom_homepage_header button.slick-prev, 
.custom_homepage_header button.slick-next {
    width: 28px;
    height: 50px;
    font-size: 0px;
    padding: 0px;
    background-color: transparent;
    position: absolute;
    top: calc(50% - 25px);
    border:none;
    outline: none;
    z-index: 10;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
}
.custom_homepage_header .slick-prev:hover, 
.custom_homepage_header .slick-next:hover, 
.custom_homepage_header button.slick-prev:hover, 
.custom_homepage_header button.slick-next:hover {
    box-shadow: none;
}
.custom_homepage_header .slick-prev {
    background-image:url(/includes/public/assets/images/left-arrow.png);
    position:absolute;
    left:calc(2% + 14px);
}
.custom_homepage_header .slick-next {
    background-image:url(/includes/public/assets/images/right-arrow.png);
    position:absolute;
    right:calc(2% + 14px);
}
.custom_homepage_header .buttoncont .row {
    max-width: 64rem;
    position: relative;
}
.custom_homepage_header .sidebtn:hover {
    color: #fff;
    background-color: #7ba6bb;
}
.custom_homepage_header .sidebtn {
    z-index: 11;
    color: #fff;
    background-color: rgba(0,0,0,0.7);
    font-size: 15px;
    padding: 12px 10px;
    font-family: 'Avenir Next W01';
    position: absolute;
    bottom: 106px;
    right: -60px;
    border: 1px #fff solid;
    transition: all ease .5s;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -o-transition: all ease .5s;
}
.custom_header_slideshow_homepage .video .magnific-link {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}
@media only screen and (max-width: 1200px) {
    .custom_homepage_header .sidebtn {
        right:0px;
    }
}

@media only screen and (max-width: 1075px) {
     .custom_homepage_header .imgcont {
        margin-bottom:12px;
    }
}

@media only screen and (max-width: 1023px) {
    .custom_homepage_header .sidebtn {
        right:-60px;
    }
   
   
    .custom_homepage_header .imgcont .imgtext .title2{
        font-size: 18px;
    }
}

@media only screen and (max-width: 800px) {
    .custom_homepage_header .slidetext {
        position: absolute !important;
        bottom: 35px;
        left: 25px;
        display: block;
        padding-top: 20%;
        z-index: 9;
    }
    .custom_homepage_header .gradient {
        display: none;
    }
    .custom_homepage_header .title1 {
        font-size: 68px;
        text-align: center;
    }
    .custom_homepage_header .title2 {
        display:none; 
    }
    .custom_homepage_header .sidebtn {
        display:none !important;
    }
    .custom_homepage_header .imgcont .imgtext .title2{
        font-size: 14px;
    }
    .custom_homepage_header .slick-prev, 
    .custom_homepage_header .slick-next, 
    .custom_homepage_header button.slick-prev, 
    .custom_homepage_header button.slick-next {
        background-size: 80%;
    }
    .custom_homepage_header .peekbtn {
        display:none;
    }
}

@media only screen and (max-width: 640px) {
    
    .custom_homepage_header .slidereveal {
        display:none !important;
    }
    .custom_homepage_header .slidetext {
        left: 25px;
        bottom: 16px;
    }
    .custom_homepage_header .gradient {
        display: none;
    }
    .custom_homepage_header .title1 {
        font-size: 50px;
        text-align: left;
    }
   
    .custom_homepage_header .slick-prev, 
    .custom_homepage_header .slick-next, 
    .custom_homepage_header button.slick-prev, 
    .custom_homepage_header button.slick-next {
        background-size: 70%;
    }
    
}

@media only screen and (max-width: 480px) {
    .custom_homepage_header .sidebtn {
        display:none !important; 
    }
    .custom_homepage_header .slidetext {
        padding-top: 29%;
    }
     .custom_homepage_header .slick-prev, 
    .custom_homepage_header .slick-next, 
    .custom_homepage_header button.slick-prev, 
    .custom_homepage_header button.slick-next {
        background-size: 60%;
    }
    .custom_homepage_header .slidetext {
        left: 20px;
            bottom: 6px;
    }
    .custom_homepage_header .title1 {
        font-size: 40px;
    }
   
}



@-webkit-keyframes peekmove {
    0% {
        bottom:-105px;
    }
    100% {
        bottom:-32px;
    }
}
@keyframes peekmove {
    0% {
        bottom:-105px;
    }
    100% {
        bottom:-32px;
    }
}

.slide-still .sv-pinit {
    display: none;
    position: absolute;
    z-index: 12;
    top: 15px;
    left: 15px;
}
.slide-still:hover .sv-pinit {display:block}
.slide-still .sv-pinit:hover {display:block}