html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

.image-grid {
    width: 100%;
    max-width: 1146px;
    margin: 0 auto;
    overflow: hidden;
    padding: 10px 5px 0;
}

.image__cell {
    float: left;
    position: relative;
}

.image--basic {
    padding: 0 5px;
}

.basic__img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.image__cell.is-collapsed .image--basic {
    cursor: pointer;
}

.image__cell.is-expanded .image--expand {
    min-height: 480px;
    padding: 40px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.image--expand {
    position: relative;
    left: 5px;
    box-sizing: content-box;
    overflow: hidden;
    background: #383838;
    max-height: 0;
    transition: max-height .3s ease-in-out,margin-bottom .1s .2s;
}

.image__cell.is-collapsed .arrow--up {
    height: 10px;
    width: 100%;
}

.image__cell.is-expanded .arrow--up {
    border-bottom: 8px solid #383838;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    height: 0;
    width: 0;
    margin: 2px auto 0;
}

.expand__close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #ccc;
    font-size: 50px;
    line-height: 50px;
    text-decoration: none;
}

.expand__close:before {
    content: '×';
    font-weight: 200;
}

.expand__close:hover {
    color: #fff;
}

.image--large {
    height: auto;
    display: block;
    padding: 40px 40px 40px 40px;
    box-sizing: border-box;
}

@media only screen and (max-width: 530px) {

    .image__cell {
        width: 50%;
    }

    .image__cell:nth-of-type(2n+2) .image--expand {
        margin-left: -100%;
    }

    .image__cell:nth-of-type(2n+3) {
        clear:left;
    }

    .image--expand {
        width: 200%;
    }
    
    .image__cell.is-expanded .arrow--up {
        border-bottom: 8px solid transparent;
    }

}

@media only screen and (min-width: 531px) {
    .image__cell {
        width: 20%;
    }

    .image__cell:nth-of-type(5n+2) .image--expand {
        margin-left: -100%;
    }

    .image__cell:nth-of-type(5n+3) .image--expand {
        margin-left: -200%;
    }

    .image__cell:nth-of-type(5n+4) .image--expand {
        margin-left: -300%;
    }

    .image__cell:nth-of-type(5n+5) .image--expand {
        margin-left: -400%;
    }

    .image__cell:nth-of-type(5n+6) {
        clear: left;
    }

    .image--expand {
        width: 496%;
    }

}


.image-left-arrow,
.image-right-arrow
{
    font-size: 52px;
    color: #a6a6a6;
    float: left;
    margin-top: 148px;
}

.image-left-arrow
{
    margin-left: 20px;
}

.image-right-arrow
{
    margin-right: 20px;
}

.image-left-arrow:hover,
.image-right-arrow:hover
{
    cursor: pointer;
}

.image--large
{
    float: left;
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 24px;
    padding-right: 24px;
}

.box-image-area
{
    border-right: 1px solid #a6a6a6;
}

.box-content-area
{
    padding: 0 0 0 20px;
}

.box-content-area h1,
.box-content-area h3,
.box-content-area p,
.slider-wrapper h1,
.slider-wrapper h3,
.slider-wrapper p
{
    color: #ccc;
    font-size: 13px;
    margin-bottom: 15px;
    margin-top: 0;
    padding-bottom: 0px;
    line-height: 1.3em;
}

.box-content-area h1,
.slider-wrapper h1
{
   font-size: 1.2em;
   font-weight: normal;
   padding-right: 10px;
}

.box-content-area h3 a,
.slider-wrapper h3 a
{
    color: #bbb;
}

.box-content-area h3 a:hover,
.slider-wrapper h3 a:hover
{
    color: #ddd;
}

.box-content-area .action-buttons
{
    margin-top: 25px; 
    margin-right: 16px;
}

.box-image-grid 
{
    margin-left: 0px;
}

.right-box-bottom
{
    border-top: 1px solid #a6a6a6;
    margin-top: 16px;
    margin-bottom: 20px;
}

.box-button
{
    background-color: #777;
    border: 1px solid #777;
    color: #e0e0e0;
    font-size: 12px;
    margin-top: 10px;
}

.box-button.view-gallery,
.box-button.view-mlt
{
    background: none;
    border: 1px solid #383838;
    color: #e0e0e0;
    font-size: 12px;
    margin-top: 16px;
}

.box-button.view-gallery:hover,
.box-button.view-mlt:hover
{
    color: #444;
}

.box-button.view-gallery
{
    margin-right: 8px;
}

.box-button.uk-active
{
    border: 1px solid #a7a7a7;
}

.box-button-open:hover, 
.box-button:hover
{
    background: #ccc;
    border: 1px solid #ccc;
}

.search-box-slideshow 
{
    padding: 0 40px 0 0;
}

.search-box-slideshow li
{
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

.search-box-slideshow li img
{
    width: 100% !important;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

.slideshow-thumb.last-thumb 
{
    opacity: 0.5!important;
}

.slideshow-thumb.last-thumb a.view-more
{
    position: absolute;
    left: 8px;
    text-align: center;
    top: 20%;
    line-height: 1.2em;
    color: #fff;
    padding: 0 5px;
}

@media only screen and (max-width: 530px) and (orientation: portrait) {

    .search-box-slideshow li img
    {
        margin-left: 0px;
    }
    
    .image__cell.is-expanded .image--expand {
        min-height: 375px;
    }

    .box-content-area
    {
        margin-left: 34px;
        border-left: none;
    }

}

@media only screen and (max-width: 530px) and (orientation: landscape) {

    .box-content-area
    {
        display: none;
    }

}

[data-uk-slideshow-item] {
    cursor: pointer;
}

.slider-wrapper
{
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 100;
    background-color: #404040;
}

.slider-wrapper * 
{
    outline: none;
}

.slider-wrapper .dtv-slider
{
    background-color: #333;
    max-width: 100%;
}

.slider-wrapper .dtv-slider .dtv_slide_container
{
    background-color: #333; 
    max-width: 100%;
    position: relative;
}

.slider-wrapper .mobile-search-info
{
    padding: 20px;
}

.slider-wrapper .mobile-search-info h3
{   
    color: #ddd;
    font-size: 14px;
}

.slider-wrapper .mobile-search-info p
{
    color: #999;
    font-size: 12px;
}

.slider-wrapper .close-slider
{
    position: absolute;
    top: 5px;
    right: 5px;
    background: #444;
    border-radius: 50%;
    color: #ddd;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    opacity: 0.7;
    text-transform: uppercase;
    font-size: 1.2em;
}

.slider-wrapper .dtv-slider .slick-arrow {
    z-index: 100;
}
.slider-wrapper .dtv-slider .slick-arrow:before {
    color: #ddd;
    text-shadow: 1px 1px 1px #444;
}
.slider-wrapper .dtv-slider .slick-prev {
    left: 5px;
    top: 20%;
}
.slider-wrapper .dtv-slider .slick-next {
    right: 5px;
    top: 20%;
}

.expanded-details .slick-arrow.slick-next {
    margin-right: 8px;
}
.expanded-details .slick-arrow.slick-prev {
    margin-left: 8px;
}

@media screen and (orientation:landscape) {
    .slider-wrapper .mobile-search-info
    {
        display: none;
    }
}


/* For pagination-scroll.phtml
------------------------------------------------------------------------------------ */
.scrolling-pagination
{
    clear: both; 
    padding-left: 0px; 
    padding-right: 8px;
}

#pagination-load-more
{
    margin: 40px 4px 0px 4px;
}



/* For grid.phtml
------------------------------------------------------------------------------------ */
.grid-search-news-title
{

    color: #fff;
    font-size: 13px;
    line-height: 18px;
    text-transform: uppercase;
    margin: -12px 0px 0px -10px;
}

.grid-search-news-date
{
    color: #bbb !important;
    font-size: 11px;
    line-height: 14px;
    margin: 4px 0px 0px -10px;
}

.search-news-icon,
.video-news-icon
{
    position: absolute;
    bottom: 10px;
    right: 10px;
    max-width: 40px;
    opacity: 0.5;
}

@media only screen and (max-width: 953px) {
    .grid-search-news-title
    {
        font-size: 11px;
        line-height: 14px;

    }
    .search-news-icon,
    .video-news-icon
    {
        max-width: 30px;
    }
}

@media only screen and (max-width: 750px) {
    .search-news-icon,
    .video-news-icon
    {
        display: none;
    }
    .grid-search-news-date
    {
        display: none;
    }
}

@media only screen and (max-width: 528px) {
    .search-news-icon,
    .video-news-icon
    {
        display: block;
        max-width: 40px;
    }
    .grid-search-news-date
    {
        display: inline-block;
    }
}

@media only screen and (max-width: 400px) {
    .search-news-icon,
    .video-news-icon
    {
        max-width: 30px;
    }
}


/* Mobile search filter menu
------------------------------------------------------------------------------------ */
div.mobile-search-filter-menu h3
{
    border-top: 1px solid #999;
    margin-bottom: 0px;
    margin-top: 3px;
    padding-bottom: 4px;
    padding-top: 10px;
}

div.mobile-search-filter-menu h3:hover
{
    cursor: pointer;
}

div.mobile-search-filter-menu h3:first-child
{
    border-top: none !important;
    padding-top: 0px !important;
}

div.mobile-search-filter-menu li
{
    padding-left: 20px;
}

div.mobile-search-filter-menu li a
{
    display: block;
}

div.mobile-search-filter-menu h3.uk-active
{
    color: #a61e21;
}