﻿


/*Popups:*/

.ModalPopupDiv {
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;
    position: fixed;
    background-color: rgba(255, 255, 255,.9);
    z-index: 1002;
    display: flex;
    align-items: center;
}

.PopupHidden{
    opacity: 0;
}

.ModalPopupDiv .PopupSmallDiv {
    background-color: #3e454c;
    border: 1px solid;
    border-color: #3e454c;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
    border-radius: 5px;
    height: 50%;
    width: 90%;
    display: table;
    margin: auto;
}

.ModalPopupDiv .PopupMediumDiv {
    background-color: #3e454c;
    border: 1px solid;
    border-color: #3e454c;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
    border-radius: 5px;
    height: 65%;
    width: 100%;
    display: table;
    margin: auto;
}

.ModalPopupDiv .PopupBigDiv {
    background-color: #3e454c;
    border: 1px solid;
    border-color: #3e454c;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
    border-radius: 5px;
    /*height: 80%;
    width: 100%;*/
    display: table;
    margin: auto;
}

@media only screen and (min-width: 1200px) {

    .ModalPopupDiv .PopupSmallDiv {
        height: 30%;
        width: 30%;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupHeader {
        height: 20%;
        display: table-row;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupBody {
        height: 60%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupFooter {
        height: 20%;
        display:table-row;
    }

    .ModalPopupDiv .PopupMediumDiv {
        height: 60%;
        width: 60%;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupHeader {
        height: 10%;
        display: table-row;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupBody {
        height: 80%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupFooter {
        height: 10%;
        display:table-row;
    }

    .ModalPopupDiv .PopupBigDiv {
        height: 85%;
        width: 85%;
    }

    .ModalPopupDiv .PopupBigDiv .PopupHeader {
        height: 7%;
        display:table-row;
    }

    .ModalPopupDiv .PopupBigDiv .PopupBody {
        height: 86%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupBigDiv .PopupFooter {
        height: 7%;
        display:table-row;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {

    .ModalPopupDiv .PopupSmallDiv {
        height: 30%;
        width: 40%;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupHeader {
        height: 20%;
        display: table-row;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupBody {
        height: 60%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupFooter {
        height: 20%;
        display:table-row;
    }

    .ModalPopupDiv .PopupMediumDiv {
        height: 60%;
        width: 70%;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupHeader {
        height: 10%;
        display: table-row;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupBody {
        height: 80%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupFooter {
        height: 10%;
        display:table-row;
    }

    .ModalPopupDiv .PopupBigDiv {
        height: 85%;
        width: 85%;
    }

    .ModalPopupDiv .PopupBigDiv .PopupHeader {
        height: 7%;
        display:table-row;
    }

    .ModalPopupDiv .PopupBigDiv .PopupBody {
        height: 86%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupBigDiv .PopupFooter {
        height: 7%;
        display:table-row;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

    .ModalPopupDiv .PopupSmallDiv {
        height: 25%;
        width: 50%;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupHeader {
        height: 20%;
        display: table-row;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupBody {
        height: 60%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupFooter {
        height: 20%;
        display:table-row;
    }

    .ModalPopupDiv .PopupMediumDiv {
        height: 60%;
        width: 70%;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupHeader {
        height: 8%;
        display: table-row;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupBody {
        height: 84%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupFooter {
        height: 8%;
        display:table-row;
    }

    .ModalPopupDiv .PopupBigDiv {
        height: 85%;
        width: 85%;
    }

    .ModalPopupDiv .PopupBigDiv .PopupHeader {
        height: 6%;
        display:table-row;
    }

    .ModalPopupDiv .PopupBigDiv .PopupBody {
        height: 88%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupBigDiv .PopupFooter {
        height: 6%;
        display:table-row;
    }
}

@media only screen and (min-width: 415px) and (max-width: 767px) {

    .ModalPopupDiv .PopupSmallDiv {
        height: 50%;
        width: 90%;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupHeader {
        height: 20%;
        display: table-row;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupBody {
        height: 60%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupFooter {
        height: 20%;
        display:table-row;
    }

    .ModalPopupDiv .PopupMediumDiv {
        height: 65%;
        width: 70%;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupHeader {
        height: 15%;
        display: table-row;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupBody {
        height: 70%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupFooter {
        height: 15%;
        display:table-row;
    }

    .ModalPopupDiv .PopupBigDiv {
        height: 85%;
        width: 85%;
    }

    .ModalPopupDiv .PopupBigDiv .PopupHeader {
        height: 12%;
        display:table-row;
    }

    .ModalPopupDiv .PopupBigDiv .PopupBody {
        height: 76%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupBigDiv .PopupFooter {
        height: 12%;
        display:table-row;
    }
}

@media only screen and (max-width: 414px) {

    .ModalPopupDiv .PopupSmallDiv {
        height: 30%;
        width: 90%;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupHeader {
        height: 20%;
        display: table-row;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupBody {
        height: 60%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupSmallDiv .PopupFooter {
        height: 20%;
        display:table-row;
    }

    .ModalPopupDiv .PopupMediumDiv {
        height: 65%;
        width: 90%;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupHeader {
        height: 10%;
        display: table-row;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupBody {
        height: 80%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupMediumDiv .PopupFooter {
        height: 10%;
        display:table-row;
    }

    .ModalPopupDiv .PopupLargeDiv {
        height: 80%;
    }

    .ModalPopupDiv .PopupBigDiv {
        height: 90%;
        width: 90%;
    }

    .ModalPopupDiv .PopupBigDiv .PopupHeader {
        height: 8%;
        display:table-row;
    }

    .ModalPopupDiv .PopupBigDiv .PopupBody {
        height: 84%;
        display:table-row;
        background-color: #FFFFFF;
    }

    .ModalPopupDiv .PopupBigDiv .PopupFooter {
        height: 8%;
        display:table-row;
    }
}



.PopupHeaderContent {
     display: table-cell;
     padding-left: 8px;
     padding-right: 8px;
     vertical-align: middle;
     color: #ffffff;
     font-weight: bold;
}

.PopupHeaderContent input {
     font-weight: bold;
     float: right;
}



.PopupBodyContent {
     display: table-cell;
     padding-top: 10px;
}

.PopupBodyContent .FormBody {
     height: 100%; 
     width: 100%; 
     overflow-y: auto;
}



.PopupFooterContent {
     display: table-cell;
     padding-left: 8px;
     padding-right: 8px;
     vertical-align: middle;
     color: #ffffff;
     font-weight: bold;
}



