/* variables */
:root{
    --dark_b: #2B3076;
    --darker_b: #051658;
    --orange_: #FFAA00;
    --dark_green: #009444;
    --dark_red: #BE1E2D;
}
/* end variables */

@font-face {
    font-family: 'vazir';
    src: url(/asset/fonts/VAZIR.TTF);
}
@font-face {
    font-family: 'iransans';
    src: url(/asset/fonts/IRANIAN-SANS.TTF);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #eee;
    font-family: 'vazir' !important;
}


input::placeholder{
    font-size: 13px;
    text-align: right;
}

/* fixed calendar style */
.calendar .calendar-events .calendar-day-header > span{
    font-size: 12px;
}
.event-name{
    text-align: center;
    font-size: 12px !important;
}
.modal-content{
    text-align: right;
}
/* end fixed calendar style */

/* ////////////// test /////////////// */
/* p{
    color: #303030;
} */
.test-bg{
    background: linear-gradient(to left, #2732ac, #4c59e8);
}
.test-bg-checked{
    background: linear-gradient(to left, #0097dd, #54c4f8);
}
.test-bg-rejected{
    background: linear-gradient(to left, #a3230c, #ff9785);
}
.test-bg-expired{
    background: linear-gradient(to left, #352708, #caa453);
}
.test-bg-entered{
    background: linear-gradient(to left, #1a580e, #83ca53);
}

.bg-avatar{
    position: absolute;
    width: 350px;
    height: 140px;
    background: linear-gradient(to left, #2732ac00, #131c7e);
    left: 0;
    top: 0;
    border-radius: 10px;
    z-index: 11;
}
.bg-avatar-checked{
    position: absolute;
    width: 350px;
    height: 140px;
    background: linear-gradient(to left, #0097dd00, #0084ff);
    left: 0;
    top: 0;
    border-radius: 10px;
    z-index: 11;
}
.bg-avatar-rejected{
    position: absolute;
    width: 350px;
    height: 140px;
    background: linear-gradient(to left, #ca2b0f00, #a3230c);
    left: 0;
    top: 0;
    border-radius: 10px;
    z-index: 11;
}
.bg-avatar-expired{
    position: absolute;
    width: 350px;
    height: 140px;
    background: linear-gradient(to left, #35270800, #352708);
    left: 0;
    top: 0;
    border-radius: 10px;
    z-index: 11;
}
.bg-avatar-entered{
    position: absolute;
    width: 350px;
    height: 140px;
    background: linear-gradient(to left, #08350a00, #0b3508);
    left: 0;
    top: 0;
    border-radius: 10px;
    z-index: 11;
}
/* ////////////// end test /////////////// */

#filteredStateSign{
    /* position: absolute; */
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    color: crimson;
}

.pointer{
    cursor: pointer;
}
.noFocus:focus{
    outline: none;
}
/* new UI colors */
.custom-text-blue{
    color: var(--dark_b) !important;
}
.custom-bg-blue{
    background-color: var(--dark_b) !important;
}
.custom-text-red{
    color: var(--dark_red) !important;
}
.custom-bg-red{
    background-color: var(--dark_red) !important;
}
.custom-text-green{
    color: var(--dark_green) !important;
}
.custom-bg-green{
    background-color: var(--dark_green) !important;
}
.custom-text-orange{
    color: var(--orange_) !important;
}
.custom-bg-orange{
    background-color: var(--orange_) !important;
}

.custom-bg-blue:hover{
    background-color: var(--darker_b) !important;
}
.bg-success-50{
    background-color: #009e0097;
}
.bg-primary-50{
    background-color: #00619ed0;
}
.bg-warning-50{
    background-color: #d2a100;
}
/* end new UI colors */

/* ---- input with img ---- */
.input_container { 
    position:relative;
    padding: 0;
    margin: 0;
}
.input-itself{
    margin: 0;
}
.input_img{
    position:absolute;
    bottom: 4px;
    left: 6px;
    width: 40px;
}
/* ---- end input with img ---- */

.rounded-cirle{
    border-radius: 500px;
}
.rounded-more{
    border-radius: 30px;
}
.rounded-little{
    border-radius: 7px;
}

.border-blue{
    border: 2px solid var(--dark_b);
}
.border-orange{
    border: 2px solid var(--orange);
}
.border-red{
    border: 2px solid var(--dark_red);
}

/* ui */
.bg-white-75{
    background-color: #ffffffb4;
}
.btn-white{
    color: var(--darker_b);
    background-color: white;
}
.ui-input{
    border: 1px solid var(--dark_b) !important;
}
.border-top-radius{
    border-radius: 10px 10px 0 0;
}
.no-border-radius{
    border-radius: none !important;
}
/* end ui */

.footer_section{
    background-color: var(--dark_b);
    position: absolute !important;
    height: 100px;
    padding-top: 10px;
    left: 0;
    bottom: 0;
}

.hintSpanGray{
    color: #aaaaaa;
}
.bg-custom-primary{
    background-color: rgb(87, 190, 255);
}
.customRadioButton{
    width: 50px;
    height: 50px;
    cursor: pointer;
}
/* search input */
#searchInput{
    position: absolute;
    right: 100px;
    top: 87px;
    width: 230px;
    border-color: transparent;
}
#searchButton{
    position: absolute;
    right: 340px;
    top: 87px;
}
/* end search input */

/* loading */
.bg-loading{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000b5;
    z-index: 999999;
}
.bg-loading .loader{
    position: absolute;
    top: 30%;
    left: 45%;
    width: 220px;
    height: 200px;
    border-left: 10px solid #22daff;
    border-top: 10px solid #00d5ff;
    border-radius: 50%;
    animation: rotate 0.8s infinite;
}
@keyframes rotate{
    0%{
        rotate: 180deg;
    }
    25%{
        border-right: 20px double #2faac6;
    }
    50%{
        rotate: -400deg;
        border: 40px ridge #1ca4c3;
    }
    75%{
        border-left: 20px double #2faac6;
    }
    100%{
        rotate: 180deg;
    }
}


/* end loading */


.bg-half-circle{
    position: absolute;
    width: 100%;
    height: 30%;
    background-color: #e8e8e8;
    border-radius: 50%;
    top: -60px;
    left: 0;
    z-index: -999;
}

/* -----------requests------------ */
.requests{
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin-top: 40px;
}
.requests .each_guest{
    margin: 4px;
    width: 500px;
    /* height: 170px; */
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    /* box-shadow: 0 20px 20px #00000024; */
}
/* -----------end requests------------ */

.each_hidden{
    display: none;
}
.each_not_today{
    border-radius: 0 !important;
    border-top: 2px solid #6dc7ff !important;
    border-left: 2px solid #6dc7ff !important;
    background: linear-gradient(to left, #91f2ff, #53ebff) !important;
}


.loginBtn{
    transition: all .2s;
}
.loginBtn:hover{
    border-radius: 30px;
    box-shadow: 0 10px 30px #32cd3274;
}
.m-center{
    margin: 0 auto;
}

.loginWallpaper{
    width: 400px;
    z-index: -1;
}

.form-signin{
    width: 50%;
    margin: 200px auto;
    margin-bottom: 0 !important;
}
.form-submit{
    width: 50%;
    margin: 70px auto;
}
.form-signin input{
    transition: all .2s;
}
.form-signin input:focus{
    box-shadow: 0 6px 10px lightgray;
    border-radius: 14px;
    border-color: white;
    margin-bottom: 15px;
}
.inputFocus:focus{
    box-shadow: 0 6px 10px lightgray;
    border-radius: 14px;
    border-color: white;
    margin-bottom: 15px;
}

.circle1{
    position: absolute;
    top: -200px;
    left: 20%;
    width: 300px;
    height: 300px;
    border-radius: 500px;
    background-color: #bcc9e797;
}
.circle2{
    position: absolute;
    top: -100px;
    left: 30%;
    width: 150px;
    height: 150px;
    border-radius: 500px;
    background-color: #bcc9e7d7;
}
.circle3{
    position: absolute;
    top: 30px;
    left: 20%;
    width: 50px;
    height: 50px;
    border-radius: 500px;
    background-color: #bcc9e78d;
}

.border-orange{
    border: 1px solid var(--orange);
    border-radius: 8px;
    transition: all .2s;
}
.border-orange:hover{
    border: 1px solid transparent;
    background-color: var(--darker_b);
}

.admin-header{
    width: 100%;
    height: 70px;
    background-color: var(--dark_b);
    box-shadow: 0 10px 20px #80808044;
}
.admin-header a.btn-outline-danger{
    float: left;
    margin: 14px;
}
.admin-header .admin_name{
    float: right;
    color: #009dff;
    margin: 14px;
}

/* each guest */
.text-blue-dark{
    color: #0a2592;
}
.text-dark{
    color: #000000 !important;
}

.btn-success-submit:hover{
    box-shadow: -4px 6px 0px #0aaa0a;
}
.btn-danger-submit:hover{
    box-shadow: -4px 6px 0px #ee6868;
}

.text-option{
    font-size: 12px;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 20px;
    background-color: white;
}
.description{
    font-size: 12px;
}
.each_guest_passed{
    background-color: #545454;
    margin: 10px;
    color: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 10px 10px lightgray;
}
.each_guest_entered{
    background: linear-gradient(to left, #23ae00, #88de72);
    border-left: 3px solid #26be00;
    border-top: 3px solid #26be00;
    margin: 10px;
    color: white;
    font-weight: bold;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 10px 10px lightgray;
}
.each_guest #guest_name{
    color: #000000;
    font-weight: bold;
    font-size: 18px;
}
/* end each guest */

.form-submit .checkbox{
    flex-direction: row-reverse;
}
.form-submit .checkbox div{
    padding: 4px;
    padding-right: 10px;
    padding-left: 10px;
    background-color: white;
    border-radius: 10px;
    margin-left: 10px;
}
.form-submit .checkbox input[type=checkbox], .form-submit .checkbox label{
    cursor: pointer;
}
.form-submit .checkbox input[type=checkbox]{
    width: 16px;
    height: 16px;
    margin: 5px;
}

.captcha-image{
    margin-top: 10px;
    border-radius: 6px;
    box-shadow: 0 10px 20px #979797;
}
.refresh-captcha{
    color: #7c96ff;
}

#company_access{ /* don't change the input names and ids */
    display: none;
}
select[id=access], option{ /* don't change the input names and ids */
    direction: rtl;
    text-align: center !important;
}
option{
    color: #00a778;
    background-color: white;
    font-weight: bold;
}
select[id=access]{
    border: 1px solid lightgray;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 10px 30px lightgray;
}

.who{
    padding-bottom: 2px;
    font-size: 14px;
}

/* notification */
.notificationDiv{
    position: absolute;
    top: 70px;
    right: 100px;
    z-index: 9999999;
}
.notificationDiv h2{
    border-radius: 30px !important;
}
/* end notification */


/* toolBox */
#plotId .toolbox{
    display: none !important;
}
.toolBox{
    display: none;
    position: absolute;
    right: 90px;
    top: 87px;
    width: 200px;
    height: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 30px #464646a1;
    background-color: white;
    z-index: 99999;
}
.toolBox a{
    display: block;
    width: 90%;
    border-radius: 20px;
    margin: 0 auto;
    margin-top: 10px;
    transition: all .2s;
    padding: 5px;
    text-decoration: none;
    border-bottom: 1px solid lightgray;
}
.toolBox a:hover{
    color: white;
    background-color: #009dff;
    box-shadow: 0 4px 14px #009dff58;
    border: none;
}
.tools{
    position: relative;
    z-index: 99999;
}
.bg-gray{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1e1e1e99;
    z-index: 99;
    display: none;
}
/* end toolBox */

.bg-checked{
    border-top: 3px solid #009dff;
    border-left: 3px solid #009dff;
    background: linear-gradient(to left, #64c4ff, #e1f4ff);
}
.bg-denied{
    border-top: 3px solid #ff4b4b;
    border-left: 3px solid #ff4b4b;
    background: linear-gradient(to left, #ff4b4b, #ffc9c9);
}

/* *************** custom styles *************** */
.font-size-12{font-size: 12px !important;}
.font-size-14{font-size: 14px !important;}
.font-size-16{font-size: 16px !important;}
.font-size-18{font-size: 18px !important;}
.font-size-20{font-size: 20px !important;}
.font-size-22{font-size: 22px !important;}
.font-size-24{font-size: 24px !important;}
.font-size-40{font-size: 40px !important;}
/* *************** end custom styles *************** */


/* ************ media query ************ */
@media screen and (max-width: 1920px) and (min-width: 1000px){
    .form-signin input{
        width: 40%;
    }
    #form-system-links a{
        width: 20%;
    }
}

@media screen and (max-width: 700px){
    .loginWallpaper{
        width: 200px;
    }
    .each_guest, .each_guest_passed, .each_guest_entered{
        margin-right: 20px;
    }
    .form-submit, .form-signin{
        width: 80%;
    }
    .form-submit h1, .form-signin h1{
        font-size: 20px;
    }

    .form-submit .checkbox label{
        font-size: 12px;
    }
    
    .admin-header h3{
        font-size: 16px !important;
    }

    .each_guest, .each_guest_entered, .each_guest_passed{
        font-size: 14px !important;
    }
    .each_guest #guest_name{font-size: 15px !important;}

    .guestCheckedText{
        display: none;
    }

    /* loading */
    .bg-loading{
        width: 100%;
        height: 100%;
    }
    .bg-loading .loader{
        top: 30%;
        left: 40%;
        width: 100px;
        height: 80px;
    }
}
/* ************ end media query ************ */