@charset "UTF-8";
/* CSS Document - DOVI Video Overlay */

#overlay, #loading-overlay, #overlay-wrapper, #overlay .overlay_block {display:none; }
#overlay, #loading-overlay {
    position: fixed;
    height: 100vh;
    width: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 2000;
    top: 0;
    left: 0;
}
#loading-overlay:after {
    content: ' ';
    display: block;
    height: 32px;
    width: 256px;
    background: url(../../images/loaders/fountain-gray.gif) center center no-repeat;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
#loading-overlay[data-message]:after {
    content: attr(data-message);
    background-position: center 3em;
    height: 6em;
    width: 14em;
    background-color: #EEE;
    max-width: 100%;
    border-left: 2em solid #EEE;
    border-right: 2em solid #EEE;
    padding: 1.5em;
    font-size: 1.75em;
    text-align: center;
    color: #888;
}
#overlay-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    background: #EEE;
    padding: 20px;
    max-height: 90%;
    max-width: 90%;
    overflow: auto;
}

#overlay-wrapper.youtube-overlay  {
    width: 100%;
    margin: 0;
    left: 0;
    -webkit-transform: none;
    transform: none;
    top: 50%;
    -webkit-transform: translate(0,-50%);
    transform: translate(0,-50%);
    background: #000;
    /* padding: 5%; */
    text-align: center;
    max-width: 100%;
}
#overlay-wrapper.youtube-overlay iframe {
    display: inline-block;
}
#overlay-wrapper.youtube-overlay .close.box-delete {
    right: 0;
    top: -0.4em;
    background: #000;
    border: none;
}
#overlay-wrapper.youtube-overlay .theater h2.title {
    color: #CCC;
    text-transform: lowercase;
    font-style: italic;
    font-weight: normal;
    padding-top: 0.5em;
    margin: 0;
}

#overlay-wrapper.youtube-overlay .theater h2.title a {
    color: #FFF;
    text-transform: none;
    font-style: normal;
    font-weight: bold;
    text-decoration: none;
}
#overlay-wrapper.youtube-overlay .theater h2.title a:hover {
    text-decoration: underline;
}
#overlay-wrapper.large-overlay {
    padding: 0;
    height: 90%;
    width: 1280px;
}
#overlay-wrapper.large-overlay.iframe-overlay {
    overflow: hidden;
}
#overlay-wrapper.large-overlay iframe {
    height: 100% !important;
    width: 100% !important;
}
#overlay_confirm {
    font-size: 1.5em;
    line-height:1.5em;
}
#overlay_confirm p {
    margin: 0;
}
#overlay_confirm .confirm_options {
    /* font-size: 1.5em; */
    margin: 1em;
    text-align: center;
}
#overlay_confirm .confirm_options .button {
    /* padding: 0.25em 1em; */
}
#overlay .close {
    color: #eee;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50%;
    display: block;
    line-height: 0.75em;
    padding: 0 .075em;
    cursor: pointer;
    font-size: 3.5em;
}
#overlay .close:after {
    line-height: 0.75em;
    content: '\00D7';
}
#content .overlay-block {display: none; }

#overlay .overlay-form input, 
#overlay .overlay-form select, 
#overlay .overlay-form textarea {
    padding: 0.5em;
    box-sizing: border-box;
}
#overlay .overlay-form h2 {
    font-size: 2em;
    color: #aaa;
}
#overlay .overlay-form .input_block {
    padding: 0.25em 0;
    font-size: 1.25em;
}
#overlay .overlay-form .input_block label:first-child {
    display: block; 
    text-transform: uppercase;
    font-size: 0.9em;
}
#overlay .overlay-form .input_block input:not([type="radio"]):not([type="checkbox"]):not([type="number"]) {
    display: block;
    width: 100%;
}
#overlay .overlay-form .input_block textarea {
    width: 100%;
    min-height: 6em;
}
#overlay .overlay-form.hide-labels label:first-child {
    display: none;
}
#overlay .overlay-form.hide-labels .input_block {
    padding: 0.25em 0;
}
#overlay .overlay-form table.entity,
#overlay .overlay-form table.entity tbody tr,
#overlay .overlay-form table.entity tbody tr td {
    display: block;
}
#overlay .overlay-form table.entity td.key {
    width: auto;
    text-align: left;
    padding-bottom: 0;
}
#overlay .overlay-form table.entity td.key label:first-child {
    display: inline-block;
    font-size: 0.7em;
}
#overlay .overlay-form table.entity td.key:after {
    display: none;
}

/*@media only screen and (max-width:720px) {
}
@media only screen and (max-width:655px) {
}*/
@media only screen and (max-width:450px) {
    #overlay-wrapper {
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        padding: 3em 1em 3em 1em;
        box-sizing: border-box;
    }
    #overlay_block {
        opacity: 0.5;
    }
    #overlay-wrapper input,
    #overlay-wrapper select,
    #overlay-wrapper textarea {
        max-width: 100% ;
        width: auto;
        min-width: 0;
    }
    
    #overlay-wrapper select,
    #overlay-wrapper textarea {
        width: 100%;
    }
}