/*
 Theme Name:   Genesis Demo Theme
 Theme URI:    https://wordpress.org/themes/twentysixteen/
 Description:  Genesis Demo Theme
 Author:       Sushmita
 Author URI:   http://example.com
 Template:     twentysixteen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  genesisdemo 
*/

/*Media query start*/
@media screen and (min-width: 44.375em)
{
body:not(.custom-background-image):before, body:not(.custom-background-image):after {
    height: 0px !important;
}



.projectModel .modal-dialog {
    /* margin-top: 15% !important; */
    width: 50vw;
}
}

@media screen and (max-width: 44.374em)
{
    .projectModel .modal-dialog {
        /* margin-top: 15% !important; */
        width: 95vw;
    }
}

@media screen and (min-width: 56.875em){
.main-navigation .menu-item-has-children > a:after {
    display:none;
}

.projectModel .modal-dialog {
    /* margin-top: 15% !important; */
    margin-top: 20vh !important;
}
}

@media screen and (max-width: 56.874em){
    .modal-body {
        padding: 15px !important;
    }
}



@media only screen and (max-width: 709px) {
    .modal-dialog {
        margin: 30px 10px;
        margin-bottom: 0;
    }
}

@media only screen and (min-width: 1950px) {
    iframe {
        aspect-ratio: 15/8.9;
    }
}

@media only screen and (min-width: 1450px) and (max-width: 1949px) {
    iframe {
        aspect-ratio: 15/9;
    }
}

@media only screen and (min-width: 1050px) and (max-width: 1449px) {
    iframe {
        aspect-ratio: 15/9.3;
    }
    .projectModel .modal-dialog {
        /* margin-top: 15% !important; */
        width: 45vw;
    }
}

@media only screen and (min-width: 750px) and (max-width: 1049px) {
    iframe {
        aspect-ratio: 15/9.7;
    }
    .projectModel .modal-dialog {
        /* margin-top: 15% !important; */
        width: 40vw;
    }
}


@media only screen and (min-width: 390px) and (max-width: 749px) {
    iframe {
        aspect-ratio: 15/9.9;
    }
}


@media only screen and (min-width: 340px) and (max-width: 389px) {
    iframe {
        aspect-ratio: 15/10.1;
    }
}

@media only screen and (max-width: 339px)  {
    iframe {
        aspect-ratio: 15/12.3;
    }
}






/* @media only screen and (max-width: 909px) and (min-width: 768px) {
    .projectModel .modal-dialog {
        width: 56vw !important;
    }
} */



.modal-dialog {
    margin: 30px auto;
    margin-bottom: 0;
}

iframe{
    /* aspect-ratio: 15/9; */
    height: auto;
    width: 100%;
    margin-bottom: 5px;
}
.modal-body {
    /* padding: 15px 75px ; */
    /* padding: 15px 1vw; */
    padding: 2px 1vw;
}

.modal-footer{
    padding: 5px 15px 10px;
}


/* .modal-body .punch-viewer-content.punch-viewer-content-fixed {
    border: none;
    width: 446px !important;
    height: 260px !important;
    top: 0 !important;
} */

iframe > body {
    background: transparent !important;
}


.projectModel .modal-dialog {
    margin-top: 30vh;
}

.projectModel .modal-dialog .modal-content {
    border: 3px solid #94bf3c;
    border-radius: 0;
}

.projectModel .modal-dialog .modal-content .modal-title {
    text-align: center;
    color: #94bf3c;
}

.projectModel .modal-dialog .modal-content .modal-header {
    padding: 10px !important;
    position: relative;
}

.projectModel .modal-dialog .modal-content .modal-header .close
{
margin-top: -2px;
    position: absolute;
    right: 8px;
    top: 30%;
}

.projectModel .modal-dialog .modal-content a {
    color: #94bf3c;
    text-decoration: revert;
}

.projectModel .modal-dialog .modal-content a:hover { 
    color: #94bf3c;    
}

.projectModel .modal-dialog .modal-content .btn-default { 
    background-color: #94bf3c;
    border-color: #94bf3c;
    color: #ffffff;
}
.punch-viewer-content{
    background: transparent !important;
    position: unset !important;
}

body{
    background: transparent !important;
}

.projectModel {
    z-index: 1000000;

}