/**** GENERAL STYLES ****/
.custom_imagebox {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 10px; 
}
.custom_imagebox.top-space,
.custom_ads.top-space{
    margin-top: 20px !important;
}
.custom_imagebox .wrapper{
    position: relative;
    display: block;
}

.custom_imagebox a {
    text-decoration: none; 
    color: inherit; 
    font-size: inherit;
}

.custom_imagebox .content {
    padding: 10px;
    position: absolute;
    z-index: 5;
    bottom: 0;
    color: #FFF;
    width: 100%;
}
.custom_imagebox .content .title{
    font-family: 'Myriad W01 SmBd Cnd', sans-serif;
    color: #FFF;
    text-transform: uppercase;
}
.custom_imagebox .content .link {
    font-family:'Myriad W01 SmBd Cnd', sans-serif;
    color: #0092b3;
    font-size: 24px;
    line-height: 24px;
    margin-top: 5px;
}
.custom_imagebox .content .link a { font-size: 24px; line-height: 24px; }

.custom_imagebox .textfade{
    position: absolute;
    width: 100%;
    height: 60%;
    bottom: 0;
    z-index: 1;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.85) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.85) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */
}
/******************/
/*LAYOUT STANDARD*/
/****************/
.custom_imagebox.layout_standard .content .title, 
.custom_imagebox.layout_standard .content .title a,
.custom_imagebox.layout_standard .content .title a:hover{
    font-size: 18px;
    color: inherit;
    line-height: 1.3em;
    text-transform: uppercase;
}

.custom_imagebox.layout_standard .content .title{
    width: 100%;
}
.custom_imagebox.layout_standard .content .description {
    font-family:'Verdana W01 Regular', Verdana, Geneva, sans-serif;
    font-size: 14px;
    line-height: 1.3em;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1.5px solid #FFF;
}
.custom_imagebox.layout_standard .wrapper[data-sv-videobox] > a{
    position: relative;
    display: block;
    width: 100%;
}
.custom_imagebox.layout_standard .wrapper[data-sv-videobox] .image{
   position: relative;
}
.custom_imagebox.layout_standard .wrapper[data-sv-videobox] .image img{
   
}
.custom_imagebox.layout_standard .wrapper[data-sv-videobox] .playbutton{ 
    display: block;
    width: 100%;
    height: 62px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-80%);
    -moz-transform: translateY(-80%);
    -ms-transform: translateY(-80%);
    -o-transform: translateY(-80%);
    transform: translateY(-80%);
    content: '';
    background-image: url(/includes/public/assets/images/detail-play-button.png);
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}
.custom_imagebox.layout_standard .wrapper[data-sv-videobox] .wide-content.blue{
    position: absolute;
    bottom: 0;
    width: 100%;
}
.custom_imagebox.layout_standard .wrapper[data-sv-videobox] .title{
    display: block;
    height: 42px;
    line-height: 42px;
    border-top: 3px solid #fff;
    padding-left: 20px;
    background-color: #365e9e;
    color: #fff;
    font-size: 22px;
    font-family:'Myriad W01 SmBd Cnd', sans-serif;
    text-transform: uppercase;
    margin: 0;
}

/*************/
/*LAYOUT NAV*/
/***********/
.custom_imagebox.layout_imagenav .content .title, 
.custom_imagebox.layout_imagenav_wide .content .title {
    font-size: 24px;
    padding-left: 6px;
    height: 40px;
    line-height: 40px;
    border-left: 10px solid #c13828;
}

/********************/
/*LAYOUT IMAGE ONLY*/
/******************/
.custom_imagebox.layout_imageonly {
    background-color: transparent;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}
.custom_imagebox.layout_imageonly .image{padding-bottom: 6%;}
.custom_imagebox.layout_imageonly .image img{border: 1px solid rgba(0, 0, 0, 0.2);}

/*******************/
/*LAYOUT SCROLLING*/
/*****************/
.custom_imagebox.layout_scrolling .content { padding-bottom: 0px; }


/*********/
/*Ad BOX*/
/*******/
.custom_ads { 
    margin-bottom: 20px; 
}
.panel_custom_waterfall .custom_ads { margin: 0px 0 0px; }

/* BEGIN Slick slider styles */
.custom_imagebox .nav {
    border-top: 1px solid #ccc;
    width: 300px;
    height: 57px;
    position: relative;
}
.custom_imagebox .nav .arrow {
    position: absolute;
    top: 22px;
    cursor: pointer;
    z-index: 999;
    color: #999999;
    font-family: 'Verdana W01 Regular', Verdana, Geneva, sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 0 20px;
}
.custom_imagebox .arrow span {
    background-image: url(/includes/public/assets/images/nav-widgets.png);    
    background-repeat: no-repeat;
    width: 9px;
    height: 18px;
    display: block;
    position: absolute;
    top: -1px;
}
.custom_imagebox .arrow.prev { left: 20px; }
.custom_imagebox .arrow.prev span { background-position: 0 0; left: 0; }
.custom_imagebox .arrow.next { right: 20px; }
.custom_imagebox .arrow.next span { background-position: -9px 0; right: 0; }
.custom_imagebox .arrow.slick-disabled { opacity: .5; }
/* END Slick slider styles */


/* WIDE STYLES */
.custom_imagebox.layout_wide { width: 100%; padding: 0px; }
.custom_imagebox.layout_wide .wide-content{ 
   color: #fff;
   background-color: #365e9e;
   padding: 0 20px;
}

.custom_imagebox.layout_wide .wide-content .title{
    font-family: 'Myriad W01 SmBd Cnd', sans-serif;
    font-weight: normal;
    font-size: 46px;
    padding: 15px 0;
    margin: 0;
    line-height: 40px;
    color:inherit;
}
.custom_imagebox.layout_wide .wide-content .title a{
    color:inherit;
}
.custom_imagebox.layout_wide .wide-content .title a:hover{
    text-decoration: underline;
}
.custom_imagebox.layout_wide .wide-content .description{
    font-family: 'Verdana W01 Regular', Verdana, Geneva, sans-serif;
    font-size: 23px;
    line-height: 28px;
    margin: 0;
    padding-bottom: 20px;
}

.custom_imagebox.layout_wide .wide-content.turquoise{
    background-color: #0092b3;
    color: #FFF
}
.custom_imagebox.layout_wide .wrapper .playbutton{ 
    display: block;
    width: 100%;
    height: 62px;
    position: absolute;
    bottom: 38%;
    transform: translateY(-50%);
    content: '';
    background-image: url(/includes/public/assets/images/detail-play-button.png);
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 5;
    cursor: pointer;
}

.custom_imagebox.layout_wide .wrapper:first-child { border-top: none; }
/* END wide style */

/* BEGIN Legacy style */
.iBox .title {
    color: #c13828;
    font-family: 'Myriad W01 SmBd Cnd', sans-serif;
    font-size: 28px;
    line-height: 28px;
    margin: 30px auto 15px;
    width: 240px;
}
.iBox .content {
    font-family: 'Verdana W01 Regular', Verdana, Geneva, sans-serif;
    font-size: 12px;
    font-weight: normal;
    line-height: 20px;
    margin: 0 auto;
    width: 240px;
}
.iBox.standard img { 

}
/* END Legacy style */

/***********************/
/*Hack for 3 col panel*/
/*********************/
.panel_custom_three_col .custom_imagebox ul li{
    width: 100%;
}

.main_container .custom_ads.large-block-grid-3 li iframe,
.main_container .custom_ads.large-block-grid-3 li iframe img{
    width: 100% !important;
}
@media only screen and (min-width: 64.064em) {
	.sidebar_container .custom_imagebox .nav { width: auto; }
    .sidebar_container .custom_imagebox .large-block-grid-3 li,
    .main_container .main_container .custom_imagebox .large-block-grid-3 li,
     .main_container .sidebar_container .custom_imagebox .large-block-grid-3 li{
        width: 100%;
    }
    .main_container .custom_imagebox .large-block-grid-3 li,
    .main_container .custom_ads.large-block-grid-3 li{
        width: 50%;
        clear: none;
    }  
}

@media only screen and (max-width: 64em) {

    .panel_custom_three_col .custom_imagebox ul li{
        width: 50%;
    }
    .custom_imagebox.layout_imagenav .content .title, 
    .custom_imagebox.layout_imagenav_wide .content .title {
        font-size: 22px;
    }

    .custom_imagebox.layout_standard .content .title{
        font-size: 24px;
    }

    .custom_imagebox.layout_wide .wide-content .title{
        font-size: 40px;
    }
}

@media only screen and (max-width: 40.063em) {
    .panel_custom_three_col .custom_imagebox ul li{
        width: 100%;
    }
    .custom_imagebox.layout_imagenav .content .title, 
    .custom_imagebox.layout_imagenav_wide .content .title {
        font-size: 25px;
    }
    .custom_imagebox.layout_standard .content .title{
        font-size: 22px;
    }

    .custom_imagebox.layout_wide .wide-content{
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .custom_imagebox.layout_wide .wide-content .title{
        font-size: 23px;
        line-height: 26px;
    }

    .custom_imagebox.layout_wide .wide-content .description{
        display: none;
    }
	.custom_imagebox.layout_wide .image { float: none;  clear: both; text-align: center; max-width: 100%; margin-right: 0; }
	
	.custom_imagebox.layout_wide .content { float: none;  clear: both; margin-top: 20px; max-width: 100%;  }
}

.mfp-iframe-holder .mfp-close{background: transparent !important;}