.customwnd { position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; background: rgba(0,0,0,0.45); overflow: auto; box-sizing: border-box; }
.customwnd .customwnd_content { position: relative; margin: 0px auto; top: 50%; transform: translateY(-50%); padding: 40px 20px 20px 20px; background: #FFFFFF; border: 1px solid #84B9C5; border-radius: 6px; box-shadow: 0px 5px 7px 0px rgba(1,2,2,0.2); box-sizing: border-box; }
.customwnd.large .customwnd_content { top: auto; transform: translateY(0px); }
.customwnd iframe { border: 0px none; overflow: auto; }
.customwnd .customwnd_title { position: relative; 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; height: 100%; box-sizing: border-box; }
.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('customwnd/images/close.gif'); cursor: pointer; }

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

.customwnd-modal-body { height: 100% !important; overflow: hidden !important; }

@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; }
}