﻿/********/
/*modalni okno:*/
/*position: fixed; top:50%; left:50%;*/
/* pop-up add phones to group */
.modalWindow {
    visibility: hidden;
    /*width: 600px;
    height: 300px;*/
    width: fit-content;
    height: fit-content;
    min-width: 550px;

    position: absolute;
    top: 25%;
    left: 25%;
    right: 25%;
    bottom: 25%;
    z-index: 621;
    font-family: arial;
    padding: 20px 30px;
    background: #ffffff;
    border-radius: 0px !important;
    -webkit-border-radius: none !important;
    -moz-border-radius: none !important;
    -webkit-border-radius: 6px !important;
    -webkit-border-radius: 6px !important;
    -moz-border-radius: 6px !important;
    -moz-border-radius: 6px !important;
    border-radius: 6px !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #333333;
}

.reveal-modal-bg {
    /*styly pro modalni cast pozadi*/
    position: fixed;
    height: 100%;
    width: 100%;
    background: rgba(255,255,255,.75);
    z-index: 600;
    top: 0;
    left: 0;
}

    .modalWindow h3 {
        line-height: 40px;
        margin: 20px 30px 10px;
        color: #595959;
        font-family: 'helvetica_thin';
        font-size: 23px;
        font-weight: normal;
        padding: 10px 0 ;
        margin: 0 ;
        font-size: 23px ;
        color: #595959 ;
    }

    .modalWindow p {
        margin: 0 0 20px 0 ;
        padding: 0 ;
        font-weight: bold ;
        color: #888 ;
        font-family: Arial ;
        font-size: 1em ;
        line-height: 1.6em;
        text-align: justify;
    }
.modalWindow .normalText {
    color: #888;
    font-family: Arial;
    font-size: 1em;
    line-height: 1.6em;
    text-align: justify;
}
    .modalWindow div.justifiedButtons {
        display: flex;
        flex-wrap: wrap;
        justify-content:space-between;
        /*float:right;*/
    }

    .modalWindow label {
        -webkit-border-top-left-radius: 4px;
        -webkit-border-bottom-left-radius: 4px;
        -moz-border-radius-topleft: 4px;
        -moz-border-radius-bottomleft: 4px;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
        background: #595959;
        float: left;
        padding: 10px;
        width: 25%;
        color: #fff;
        text-align: center;
        font-weight: bold;
    }
.modalWindow input[type='text'],textarea {
    background: #ffffff;
    box-shadow: inset 2px 2px 0px #f2f2f2;
    -moz-box-shadow: inset 2px 2px 0px #f2f2f2;
    width: 160px;
    -o-transition: .2s ease-in;
    -ms-transition: .2s ease-in;
    -moz-transition: .2s ease-in;
    -webkit-transition: .2s ease-in;
    transition: .2s ease-in;
    border: 1px solid #595959;
    width: 65%;
    height: 33px;
    padding: 0 10px;
    margin-bottom: 10px;
}

    .modalWindow input[type='password'] {
        background: #ffffff;
        box-shadow: inset 2px 2px 0px #f2f2f2;
        -moz-box-shadow: inset 2px 2px 0px #f2f2f2;
        width: 160px;
        -o-transition: .2s ease-in;
        -ms-transition: .2s ease-in;
        -moz-transition: .2s ease-in;
        -webkit-transition: .2s ease-in;
        transition: .2s ease-in;
        border: 1px solid #595959;
        width: 65%;
        height: 33px;
        padding: 0 10px;
        margin-bottom: 10px;
    }

.modalWindow input[type='text']:hover {
    border: 1px solid #3d8610;
    box-shadow: inset 2px 2px 0px #dedede;
    -moz-box-shadow: inset 2px 2px 0px #dedede;
}

.modalWindow input[type='text']:focus {
    border: 1px solid #3d8610;
    box-shadow: 0 0 25px #dcf4ce;
    -webkit-box-shadow: 0 0 25px #dcf4ce;
    -moz-box-shadow: 0 0 25px #dcf4ce;
}
.modalWindow .error_message {
    color: red;
    margin-left: 146px;
}
.modalWindow .cleaner {
    clear: both;
}

.modalWindow .close-reveal-modal {
    font-size: 1.4em;
    line-height: .5;
    position: absolute;
    top: 20px;
    right: 20px;
    color: #888888;
    cursor: pointer;
    text-decoration: none;
}


.reveal-modal {
    visibility: hidden;
    /*width: 50%;
    height: auto;*/
    width: fit-content;
    height: fit-content;

    min-width:550px;

    position: fixed;
    top: 10% !important;
    /*left: 25%;*/
    left: 50%;
    transform: translate(-50%,0%);
    z-index: 621;
    font-family: arial;
    padding: 20px 30px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #333333;
}



/*styl pro zavirani na camerovych modalnich oknech*/
.close-reveal-modal-cameras {
    font-size: 2em;
    line-height: .5;
    position: absolute;
    top: 20px;
    right: 20px;
    color: #888888;
    cursor: pointer;
    text-decoration: none;
}

@media handheld, only screen and (max-width: 620px) {

    .reveal-modal {
        width: 80%;
        padding: 0px 10px;
        overflow:scroll ;
        top:20px!important;
    }
}
@media handheld, only screen and (min-width: 621px) and (max-width: 1400px) {
    .reveal-modal {
        width: fit-content;
        height: fit-content;
    }
    #id-import-data-text {
        max-height:100px !important;
    }
}