﻿/* common to all windows */
div.IPT1RW.RadWindow .rwTitleRow em {
    line-height: 12px;
    font-size: 12px;
    height: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.IPT1RW.RadWindow .rwTitleWrapper .rwTitle {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 10pt;
}

/* default window */
.IPT1RWCommon.RadWindow {
    /* removes border */
    border: none;
    padding: 0;
    /* keeps window centered */
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    border-radius: 9px;
}

.IPT1RWCommon.RadWindow .rwContent {
    border: none;
    background-color: white;
    /* applies shadow to the element */
    -moz-box-shadow: 0 0 8px #666;
    -webkit-box-shadow: 0 0 8px #666;
    box-shadow: 0 0 12px #666;
    border-radius: 9px;
    padding: 0;
}

    .IPT1RWCommon.RadWindow .rwContent > div:first-of-type > div:first-child:not(.popupContainer) {
        /* first div inside the first div contains the header table, this lets it cover the entire top of the popup */
        padding: 3px 10px 2px 10px;
        background-color: #054db0;
        color: white;
    }

    .IPT1RWCommon.RadWindow .rwContent > div:first-of-type > div:nth-child(n+2):not(.popupContainer) {
        /* most popups use divs on the inside */
        padding-left: 10px;
        padding-right: 10px;
    }

    .IPT1RWCommon.RadWindow .rwContent > div:first-of-type > table {
        /* should catch cases where we use tables instead of divs in a popup */
        margin-left: 10px;
        margin-right: 10px;
    }

    /* popfile window */
    .IPT1RWFile {
    }