.customwnd { background: #FFFFFF; border: 1px solid #84B9C5; border-radius: 6px; box-shadow: 0px 5px 7px 0px rgba(1,2,2,0.2); }
.customwnd iframe { border: 0px none; overflow: auto; }

.customwnd .customwnd_content { background: #FFFFFF; border-radius: 6px; }
/*.customwnd .customwnd_title { position: relative; padding-right: 30px; font: 14px/24px Tahoma; text-transform: uppercase; color: #024186; }*/
.customwnd .customwnd_title { position: relative; padding-top: 20px; font-size: 24px; font-weight: bold; line-height: 24px; font-family: 'Roboto', Arial, sans-serif; text-align: center; color: #111111; }
.customwnd .customwnd_body { position: relative; }
.customwnd .customwnd_footer { display: none; padding-top: 7px; position: relative; font: 12px Arial; text-align: center; color: #A8ACAD; }
.customwnd .customwnd_footer a { color: #A8ACAD; text-decoration: underline; }
.customwnd .customwnd_footer a:hover { text-decoration: none; }
.customwnd .customwnd_close { position: absolute; right: 20px; top: 20px; display: block; width: 19px; height: 19px; font-size: 0px; background: url('images/close.gif'); cursor: pointer; }

.customwnd-preloader { background: #FFFFFF url('images/preloader.gif') no-repeat 4px 4px; padding: 4px 4px 4px 24px; color: #000000; font-family: Arial; font-size: 12px; font-weight: normal; }

@media all and (max-width: 1024px)
{
    .customwnd { width: 100%; height: 100%; box-sizing: border-box; padding: 10px; border: 0px; border-radius: 0px; box-shadow: none; }
    .customwnd .customwnd_content { position: relative; width: 100%; height: 100%; box-sizing: border-box; }
    .customwnd.has-title .customwnd_content { padding-top: 40px; }
    .customwnd.has-footer .customwnd_content { padding-bottom: 40px; }
    .customwnd .customwnd_title { position: absolute; left: 0px; top: 0px; width: 100%; height: 40px; padding: 0px 40px 0px 0px; box-sizing: border-box; font-size: 20px; line-height: 40px; }
    .customwnd .customwnd_footer { position: absolute; left: 0px; bottom: 0px; width: 100%; height: 40px; box-sizing: border-box; }
    .customwnd .customwnd_body { position: relative; width: 100%; height: 100%; overflow: auto; }
    .customwnd .customwnd_close { right: 10px; top: 10px; }
}
