﻿/*-----------------------------------------------------------------
--------------------------- MODEL POPUP --------------------------*/

.modal_background-v2 {
    background-color: #000;
    filter: alpha(opacity=40);
    -moz-opacity: .40;
    opacity: .40;
    z-index: 1 !important;
}

.modal-popup-v2 {
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    border-color: #ddd;
    text-align: left;
    -webkit-box-shadow: 0px 0px 23px 0px rgba(0,0,0,0.36);
    -moz-box-shadow: 0px 0px 23px 0px rgba(0,0,0,0.36);
    box-shadow: 0px 0px 23px 0px rgba(0,0,0,0.36);
    margin: 2px 0px 10px 0px;
}

    .modal-popup-v2 .heading {
        background-color: #f5f5f5;
        border-color: #ddd;
        padding: 10px 40px 10px 10px;
        border-bottom: 1px solid transparent;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
        font-size: 13pt;
        font-weight: normal;
        color: #333;
        border-bottom: 1px solid #ddd;
        position: relative;
    }

        .modal-popup-v2 .heading .close-modal {
            position: absolute;
            top: 0px;
            bottom: 0px;
            right: 0px;
            padding: 6px 10px;
        }

        .modal-popup-v2 .heading .icon {
            position: absolute;
            top: 0px;
            bottom: 0px;
            left: 0px;
            padding: 15px 10px;
        }

        .modal-popup-v2 .heading .info {
            color: #999;
            text-overflow:ellipsis;
        white-space:nowrap;
        max-width:400px;
        overflow:hidden;
        display:inline;
        font-size: 12pt;
        }

        .modal-popup-v2 .heading .sub {
            font-size: 10pt;
        }

    .modal-popup-v2 .content {
        padding: 20px;
        min-width: 300px;
        overflow: auto;
        max-height: 400px;
        max-width: 800px;
        align-content:center;
    }

    .modal-popup-v2 .footer {
        padding: 5px;
        background-color: #f5f5f5;
        overflow: hidden;
        border-top: 1px solid #ddd;
        text-align: right;
    }

    .modal-popup-v2 .flow-section {
        display: inline-block;
        /*margin: 5px;*/
        vertical-align: top;
    }

     .modal-popup-v2 .full-flow {
        display: block;
       
    }


     
/*------------- POPUP FORM ---------------*/
.modal-popup-v2 .form {
    background-color: #fff;
    border: 2px solid transparent;
    border-radius: 4px;
    /*border-color: #ddd;*/
     border-color: #eee;
    padding: 5px;
    overflow: hidden;
}

    .modal-popup-v2 .form h2 {
        /*background-color: white;
        border-color: #ddd;
        padding: 10px 15px;
        border-bottom: 1px solid #ddd;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
        font-size: 12pt;
        font-weight: normal;
        color: #333;
        display: block;
        margin: -15px -15px 15px -15px;*/
         font-weight:normal;
    border-bottom:4px solid #eee;
    padding-bottom:5px;
    font-size:16pt; 
    margin-top:0;
    line-height:normal;
    color:#555;
    }

    .modal-popup-v2 .form .row {
        display:table-row;
    }

    .modal-popup-v2 .form .separator {
        clear: both;
        padding: 2px 0px;
    }

    .modal-popup-v2 .form .field {
        width: 120px;
        min-width: 0px;
        text-align: right;
       display: table-cell;
        /*display: inline-block;
        *display: block;
        *float: left;*/
        vertical-align: top;
        padding: 5px 5px 5px 0px;
        font-weight:normal;
    }

        .modal-popup-v2 .form .field .info {
            font-size: 90%;
            font-style: italic;
        }

    .modal-popup-v2 .form .required {
        color: #ff4a4a;
        font-size: 14pt;
    }

    .modal-popup-v2 .form .caption {
         display: table-cell;
         vertical-align:middle
        /*display: inline-block;
        *display: block;
        *float: left;*/
    }

    .modal-popup-v2 .form .validation {
        display: table-cell;
        /*display: inline-block;
        *display: block;
        *float: left;*/
        vertical-align: top;
        padding: 10px 5px;
        width: 20px;
    }

    .modal-popup-v2 .form .text_input {
        -webkit-appearance: none;
        border-radius: 0px;
        font-family: Arial;
        border: solid 1px #d6d6d6;
        font-size: 10pt;
        padding: 6px 6px;
        width: 200px;
        height: 20px;
        color: #444;
        margin: 2px 0px;
    }

    .modal-popup-v2 .form .text_input_multiline {
        -webkit-appearance: none;
        border-radius: 0px;
        font-family: Arial;
        border: solid 1px #d6d6d6;
        font-size: 10pt;
        padding: 3px 3px 3px 3px;
        width: 206px;
         color: #444;
    }

    .modal-popup-v2 .form .ddl_input {
        font-family: Arial;
        border: solid 1px #d6d6d6;
        font-size: 10pt;
        padding: 4px 2px 4px 2px;
        width: 214px;
        height: 34px;
        color: #444;
    }

        .modal-popup-v2 .form .ddl_input:disabled {
            background-color: #e8e8e8;
        }

    .modal-popup-v2 .form .text_label {
        padding:6px 0px;
        display: block;
        font-size: 10pt;
        font-style: normal;
        font-weight:normal;
        width: 200px;
        color: #444;
    }

    .modal-popup-v2 .form .ch_input {
        display: block;
        padding: 5px 0px;
        width: 220px;
    }

    .modal-popup-v2 .file_input {
    -webkit-appearance: none;
    border-radius: 0px;
    font-family: Arial;
    border: solid 1px #f5f5f5;
    padding: 10px 6px;
    width: 310px;
    height: 15px;
    margin: 2px 0px;
    background-color: #f5f5f5 !important;
}

   .modal-popup-v2  .file_input .dxucTextBox {
        background-color: #f5f5f5;
        border: solid 1px #f5f5f5;
        padding: 5px 6px;
    }

   .modal-popup-v2  .file_input input {
        font-size: 10pt !important;
        color: #aaa !important;
        font-family: Arial !important;
    }

     .file_input-small {

        width: 180px !important;
   }

       .file_input-small input{

        width: 100px !important;
   }


@media screen and (min-height: 900px) {

    .modal-popup-v2 .content {
        max-height: 700px;
    }
}

@media screen and (max-height: 650px) {

    .modal-popup-v2 .content {
        max-height: 390px;
    }
}

@media screen and (max-height: 600px) {

    .modal-popup-v2 .content {
        max-height: 340px;
    }
}

@media screen and (max-height: 550px) {

    .modal-popup-v2 .content {
        max-height: 290px;
    }
}

@media screen and (max-height: 500px) {

    .modal-popup-v2 .content {
        max-height: 240px;
    }
}

@media screen and (max-height: 450px) {

    .modal-popup-v2 .content {
        max-height: 190px;
    }
}

@media screen and (max-height: 400px) {

    .modal-popup-v2 .content {
        max-height: 140px;
    }
}

@media screen and (max-height: 350px) {

    .modal-popup-v2 .content {
        max-height: 90px;
    }
}


@media screen and (max-width: 950px) {
    .modal-popup-v2 .flow-section {
        display: block;
        width: 100%;
    }
}

@media screen and (max-width: 780px) {

    .modal-popup-v2 .modal-content {
        min-width: 250px;
    }
}



@media screen and (max-width: 550px) {
    .modal-popup .form {
    }

        .modal-popup .form .field {
            display: block;
            text-align: left;
        }

        .modal-popup .form .caption {
            display: block;
        }

        .modal-popup .form .validation {
            display: block;
            padding: 3px 0px 0px 0px;
        }


        .modal-popup .form .text_input {
            width: 96%;
            padding-left: 2%;
            padding-right: 2%;
        }

        .modal-popup .form .ddl_input {
            width: 100%;
        }

        .modal-popup .form .cbo_input td {
            display: block;
        }
}