/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 21-Mar-2019, 9:26:32 AM
    Author     : mharris
*/

.device-small #modal-nav,
.device-small #modal-content,
.device-small #modal-content-pages {
    /*width: 94%;*/
    /*height: 0;*/
    /*padding-bottom: 94%;*/
}

.device-small.device-landscape #modal-nav,
.device-small.device-landscape #modal-content,
.device-small.device-landscape #modal-content-pages {
/*    width: 0;
    height: 94%;
    padding-bottom: 0;*/
}

.device-small #modal-nav ul li {
    padding: 10px 0;
}

.device-small #modal-nav ul li a {
    font-size: 20px;
}

.device-small #modal-nav ul li.empty {
    padding: 25px;
}

.device-small #hamburger {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
}

.device-small #hamburger div {
    width: 25px;
}

.device-small #modal-nav-close {
    width: 50px;
    height: 50px;
}

.device-small #modal-nav-close span {
    width: 26px;
    left: 12px;
}

.device-small #modal-content-pages,
.device-small #modal-content-info {
/*    width: 86%;
    height: 0;*/
    box-shadow: none;
    /*padding-bottom: 86%;*/
}

.device-small #modal-content-left, 
.device-small #modal-content-right {
    width: 22px;
    height: 22px;
}

.device-small #modal-content-left span, 
.device-small #modal-content-right span {
    width: 15px;
    left: 4px;
}

.device-small #modal-content-left span {
    top: calc(50% - 5px);
    border-radius: 2px;
}

.device-small #modal-content-left span + span {
    top: calc(50% + 3px);
}

.device-small #modal-content-right span {
    top: calc(50% - 5px);
    border-radius: 2px
}

.device-small #modal-content-right span + span {
    top: calc(50% + 3px);
}

.device-small #modal-content-more-less {
    width: 44px;
    height: 44px;
    bottom: 2px;
}

.device-small #modal-content-more-less {
    width: 32px;
    height: 32px;
    bottom: 7%;
    border: 3px solid #fff;
    transform: translate(-50%, 50%);
}

.device-small #modal-content-more-less span {
    width: 16px;
    top: 11px;
    left: 5px;
}

.device-small button.btn-vid-play {
    width: 58px;
    height: 58px;
}

.device-small button.btn-vid-play span {
    width: 50px;
    height: 50px;
}

.device-small button.btn-vid-play span + span {
    background-size: 32px 32px;
    border: none;
}

.device-small #modal-content h3 {
    font-size: 20px;
    margin: 11px;
}

.device-small #modal-content p {
    margin-bottom: 20px;
    font-size: 12px;
}

.device-small.device-landscape #modal-content {
    width: auto;
    height: 94%;
    padding-bottom: 0;
}

.device-small ul.social-memu li {
    width: 36px;
    height: 36px;
}

.device-small ul.social-memu li.tw-link {
    background-size: 24px 24px;
}

.device-small ul.social-memu li.fb-link {
    background-size: 24px 24px;
}

.device-small ul.social-memu li.ig-link {
    background-size: 24px 24px;
}

.device-x-small ul.social-memu li {
    width: 24px;
    height: 24px;
}

.device-x-small ul.social-memu li.tw-link {
    background-size: 16px 16px;
}

.device-x-small ul.social-memu li.fb-link {
    background-size: 16px 16px;
}

.device-x-small ul.social-memu li.ig-link {
    background-size: 16px 16px;
}

.device-x-small #modal-content h3 {
    margin: 3px;
}

.device-x-small #modal-content p {
    margin-bottom: 4px;
    line-height: 1.3;
}

@media (max-height: 680px) {

    #modal-vid, 
    #modal-img {
        padding: 20px;
    }

    #modal-vid {
        width: 900px;
        height: 526px;
    }

    #modal-vid-close, 
    #modal-img-close {
        width: 32px;
        height: 32px;
        border: 3px solid #fff;
    }

    #modal-vid-close span, 
    #modal-img-close span {
        width: 18px;
        height: 3px;
        top: 12px;
        left: 4px;
    }

}

@media (max-width: 991px) {

    #modal-vid {
        width: 680px;
        height: 420px;
    }

}

@media (max-width: 991px) and (max-height: 680px) {

    #modal-vid {
        width: 680px;
        height: 400px;
    }

}

@media (max-width: 767px) {

    #modal-vid,
    #modal-img {
        width: 100%;
        height: 0;
        padding: 20px 0;
        padding-bottom: calc(56.2% + 20px);
    }

    #modal-vid.portrait, 
    #modal-img.portrait {
        padding: 10px;
        padding-bottom: 10px;
    }

    #modal-vid-close,
    #modal-img-close {
        width: 32px;
        height: 32px;
        right: 50%;
        top: 100%;
        border: 3px solid #fff;
    }

    .device-landscape #modal-vid-close {
        right: 0px;
        top: -1px;
    }

    #modal-vid-close span,
    #modal-img-close span {
        width: 18px;
        height: 3px;
        top: 12px;
        left: 4px;
    }

    .device-landscape #modal-vid {
        width: 420px;
        height: 245px;
        padding: 10px;
    }

}