@font-face {
    font-family: 'Alef'; /*a name to be used later*/
    src: url('../assets/fonts/Alef.ttf'); /*URL to font*/
}
html {
    margin: 0;
    padding: 0;
    font-size: 75%;
    direction: rtl;
}

body {
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    background-repeat: no-repeat;
    direction: rtl;
    text-align: right;
    font-family: Verdana,Arial,sans-serif;
    /*font-family: 'Alef';*/
    /*background-image: url('../assets/images/bg1.jpeg');*/
    /*background-color:#AADCF4;*/
}

aside {
    width: 10%;
    border-left: solid 2px #1BA1E2;
}
main {
    width: 90%;
}
.bg-size-cover {
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('../assets/images/bg1.jpeg');
}

.logo {
    height: 80px;
    margin: 14px 16px 0 0;
}
.users-checked {
    height: 16px;
}
.aside-nav, aside {
    margin-bottom: 7rem;
}
nav ul li {
    margin-bottom: 15px;
}
/*h1, h2, h3, h4, h5, h6,
button, input, select, textarea {
    font-family: 'Alef';
}*/

/*::-webkit-input-placeholder {
    font-family: 'Alef';
}

:-moz-placeholder {
    font-family: 'Alef';
}

::-moz-placeholder {
    font-family: 'Alef';
}

:-ms-input-placeholder {
    font-family: 'Alef';
}*/

.main-div {
    text-align: center;
}

#loginForm {
    width: 450px;
}

.parking-title {
    font-size:50px;
    color:#1587BE;
}

.popup-box-wrapper {
    width: 50%;
    height: 80%;
    margin: 0 auto;
    padding: 15px 15px;
    text-align: center;
    background-color: rgba(255,255,255,0.85);
    font-weight: bold;
    overflow: hidden;
    float: right;
}

.popup-box-wrapper-history-report {
    width: 70%;
    height: 80%;
    margin: 0 auto;
    padding: 15px 15px;
    text-align: center;
    background-color: rgba(255,255,255,0.85);
    font-weight: bold;
    overflow: hidden;
    float: right;
}

form input[type="text"] {
    font-family: Verdana,Arial,sans-serif;
}

form section {
    width: 300px;
    margin: 0 auto;
}

input, select {
    border: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    padding-right: 5px;
    outline: none;
}

form input:not([type=checkbox]), form select {
    width: calc(100% - 10px);
    height: 30px;
    border-width: 0px;
}

select {
    white-space: pre;
    word-wrap: normal;
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
}

option:first-child {
    color: #808080 !important;
}
#grid-container > input[type="text"] {
    width: 28%;
    padding: 6px;
    margin: 5px 15px;
    background-repeat: no-repeat;
    border-width: 0px;
    border: none;
    background-image: url('../assets/images/search.png');
}
#grid-container > input[type="button"] {
    background-image: url('../assets/images/search.png');
    width: 33px;
    height: 26px;
    padding: 8px 6px;
}

#wrapper {
    position: relative;
    clear: both;
    float: left;
    width: 100%;
    overflow: hidden;
    margin: 10% auto;
}

#realtimeGridWrapper {
    height: 89%;
    /*overflow-y: scroll;*/
}
#grid-container, #footer-container {
    margin: 5px auto;
    padding: 5px 5px;
    width: 85%;
}
#grid-container {
    background: #E0EBF8;
    height: 41%;
    display: inline-table;
}
#footer-container {
    height: 48%;
}
.frame-div {
    width: 50%;
    float: left;
    min-height: 100%;
    max-height: 100%;
}
.open-gate-div, .plate-div {
    width: 45%;
    float: right;
    margin-left: 2rem;
    /* padding: 1rem 2rem; */
    display: table;
}
.plate-div {
    min-height: 40%;
}
.open-gate-div {
    min-height: 60%;
    max-height: 60%;
}
.open-gate-div .footer-border, .plate-div .footer-border {
    border: 0.1rem solid black;
    width: 100%;
    /*min-height: 14rem;
    max-height: 14rem;*/
    /*padding: 1rem 0rem;*/
}
.open-gate-div .footer-border {
    display: inline-block;
    height: 71%;
    padding: 1rem 0;
}
.plate-div .footer-border {
    padding: 1rem 0;
}
.frame-title {
    background-color:  #1BA1E2;
    text-align: right;
    padding-right: 1.5rem;
    /*height: 10%;*/
}
.frame-div #frameImage {
    width:100%;
    height:80%;
}
.plate-div #plateImage {
    width: 40%;
}
.frame-image-wrapper {
    position: relative;
}
.frame-div .frame-route-name {
    position:absolute;
    height:15px;
    right:0;
    top: 0;
    width: fit-content;
}
.plateImageWrapper {
    background-color: #D3D3D3;
    padding: 10px;
    display: table;
    width: 30%;
    text-align: center;
    margin: auto;
    border: 1px solid blue;
}
.fix-height {
    height: 100%;
}
.fit-half {
    width:50%;
}

#open-gates {
    padding: 0 0 1rem 2rem;
    float: left;
}

.gate-container {
    height: 45%;
    width: 100px;
    text-align: left;
    cursor: pointer;
    float: left;
}

.gate-container-full {
    margin: 0 6rem;
}

.gate-container-middle {
    margin: 0px 1.2rem;
}

.gate-container-multi {
    height: 45%;
    width: 55px;
    text-align: left;
    cursor: pointer;
    float: left;
    margin: 0px 2rem;
}


.gate-container span {
    background-color: #1BA1E2;
    border:1px solid black;  
    padding: 0.5rem;  
    white-space: nowrap;
}
.gate-container-multi span {
    background-color: #1BA1E2;
    border:1px solid black;  
    padding: 0.5rem 0.1rem;  
    white-space: nowrap;
}
.gate-container img {
    width:70px;
    height:70px;
    margin-bottom: 0.6rem;
}

.gate-container-multi img {
    width: 52px;
    height: 52px;
    margin-bottom: 0.4rem;
}

.container-box {
    background-color: white;
    box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}

.aside-nav {
    width:100%;
}
.nav-openpopup {
    width: 88%;
}
.action-button, .action-button-logoff {
    background-color: #f0f2e1;
    padding: 11px;
    border-radius: 2px;
    min-width: 100%;
    width: auto;
    line-height: 14px;
    color: #1BA1E2;
    max-height: 35px;
    box-shadow: 0px 2px 1px white inset, 0px -2px 8px white, 0px 2px 5px rgba(0, 0, 0, 0.1), 0px 8px 10px rgba(0, 0, 0, 0.1);
    float: left;
    transition: box-shadow 0.5s;
    -o-transition: box-shadow 0.5s;
    -moz-transition: box-shadow 0.5s;
    -webkit-transition: box-shadow 0.5s;
    border: 3px solid #a7a7a7;
}
.action-button:hover {
    box-shadow: 0 15px 15px rgba(0,0,0,0.12), 0 15px 15px rgba(0,0,0,0.24);
    margin: 0 0 10px 0;
}
.action-text {
    font-size: 1.5em;
    font-weight: 700;
    text-decoration: initial;
    text-align: center;
}
.logoff-li {
    position: absolute;
    bottom: 6rem;
}
.logoff-li .action-button-logoff {
    width: 8rem;
}
.op8 {
    opacity: .8;
}

.flex-reverse {
    flex-direction: row-reverse;
}
.justify {
    justify-content: space-between;
}
.bg-black {
    background-color: black;
}
.bg-white {
    background-color: white;
}




input[type=checkbox] {
    opacity: 0;
    float: left;
}

    input[type=checkbox] + label {
        margin: 0 0 0 32px;
        position: relative;
        cursor: pointer;
        font-size: 16px;
        font-family: monospace;
    }

        input[type=checkbox] + label ~ label {
            margin: 0 0 0 40px;
        }

        input[type=checkbox] + label::before {
            content: ' ';
            position: absolute;
            left: -36px;
            top: -3px;
            width: 25px;
            height: 25px;
            display: block;
            background: white;
            border: 1px solid #A9A9A9;
        }

        input[type=checkbox] + label::after {
            content: ' ';
            position: absolute;
            left: -35px;
            top: -3px;
            width: 23px;
            height: 23px;
            display: block;
            z-index: 1;
            background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjE4MS4yIDI3MyAxNyAxNiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAxODEuMiAyNzMgMTcgMTYiPjxwYXRoIGQ9Ik0tMzA2LjMgNTEuMmwtMTEzLTExM2MtOC42LTguNi0yNC04LjYtMzQuMyAwbC01MDYuOSA1MDYuOS0yMTIuNC0yMTIuNGMtOC42LTguNi0yNC04LjYtMzQuMyAwbC0xMTMgMTEzYy04LjYgOC42LTguNiAyNCAwIDM0LjNsMjMxLjIgMjMxLjIgMTEzIDExM2M4LjYgOC42IDI0IDguNiAzNC4zIDBsMTEzLTExMyA1MjQtNTI0YzctMTAuMyA3LTI1LjctMS42LTM2eiIvPjxwYXRoIGZpbGw9IiMzNzM3MzciIGQ9Ik0xOTcuNiAyNzcuMmwtMS42LTEuNmMtLjEtLjEtLjMtLjEtLjUgMGwtNy40IDcuNC0zLjEtMy4xYy0uMS0uMS0uMy0uMS0uNSAwbC0xLjYgMS42Yy0uMS4xLS4xLjMgMCAuNWwzLjMgMy4zIDEuNiAxLjZjLjEuMS4zLjEuNSAwbDEuNi0xLjYgNy42LTcuNmMuMy0uMS4zLS4zLjEtLjV6Ii8+PHBhdGggZD0iTTExODcuMSAxNDMuN2wtNTYuNS01Ni41Yy01LjEtNS4xLTEyLTUuMS0xNy4xIDBsLTI1My41IDI1My41LTEwNi4yLTEwNi4yYy01LjEtNS4xLTEyLTUuMS0xNy4xIDBsLTU2LjUgNTYuNWMtNS4xIDUuMS01LjEgMTIgMCAxNy4xbDExNC43IDExNC43IDU2LjUgNTYuNWM1LjEgNS4xIDEyIDUuMSAxNy4xIDBsNTYuNS01Ni41IDI2Mi0yNjJjNS4yLTMuNCA1LjItMTIgLjEtMTcuMXpNMTYzNC4xIDE2OS40bC0zNy43LTM3LjdjLTMuNC0zLjQtOC42LTMuNC0xMiAwbC0xNjkuNSAxNjkuNS03MC4yLTcxLjljLTMuNC0zLjQtOC42LTMuNC0xMiAwbC0zNy43IDM3LjdjLTMuNCAzLjQtMy40IDguNiAwIDEybDc3LjEgNzcuMSAzNy43IDM3LjdjMy40IDMuNCA4LjYgMy40IDEyIDBsMzcuNy0zNy43IDE3NC43LTE3Ni40YzEuNi0xLjcgMS42LTYuOS0uMS0xMC4zeiIvPjwvc3ZnPg==') no-repeat center center;
            -ms-transition: all .2s ease;
            -webkit-transition: all .2s ease;
            transition: all .3s ease;
            -ms-transform: scale(0);
            -webkit-transform: scale(0);
            transform: scale(0);
            opacity: 0;
        }

    input[type=checkbox]:checked + label::after {
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }


    .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default 
    {
        background: #1BA1E2;
        font-weight: bold;
    }
    .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight
    {
        background: white;
    }

    .ui-widget-content ,.bg-gray {
    background: #E0EBF8 ;
    }
    
    .historyGridNotExist,.realTimeGridNotExist {
    /*background-color: orangered !important;*/
    color: red !important;
    }


    /* POP UPS */
    #popups {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5000;
    width: 100%;
    height: 100%;
    
    }

    .main-popup {
        display: none;
        background-color: rgba(0,0,0,.85);
    }

    #popups > section {
        width: 100%;
        height: 80%;
        margin: 8% 25%;
    }

    .history-report-size {
        margin: 8% 15% !important;
    }

    #popup-wrapper > section {
        height: 100%;
    }

    #popups-close-btn {
    position: fixed;
    margin-top: -20px;
    margin-right: -20px;
    }
    .history-close-btn {
    margin: -20px -175px !important;
    }

    .popup-box {
    border: 4px dimgrey solid;
    border-radius: 15px;
    overflow: overlay;
    }

    .error {
    color: red;
    display: none;
    margin-top: 15px;
    }

    .form-action-button {
    width: 70px !important;
    background-color: rgb(37,176,230);
    float: left;
    color: white;
    font-weight: 400;
    font-size: 20px;
    margin-left: 8px;
    cursor: pointer;
    }

    .form-refresh-button {
        width: 90px !important;
        background-color: rgb(37,176,230);
        float: left;
        color: white;
        font-weight: 400;
        font-size: 20px;
        margin-left: 24px;
        cursor: pointer;
        height: 30px;
        }

    .users-refresh-button {
        width: 90px !important;
        background-color: rgb(37,176,230);
        float: left;
        color: white;
        font-weight: 400;
        font-size: 20px;
        margin-left: 29px;
        cursor: pointer;
        height: 30px;
        }

    /* licenses - for open gate */
    .plates-grid {
        float: left;
        width: 100%;
        margin: 0 auto; 
        height: 80%;
    }

    .platesgrid-wrapper {
        width: 80%;
        margin: 0 10% 0 10%;
    }
    .plate-window-button {
        float: none;
        background-color: rgb(37,176,230);
        color: white;
        font-weight: 400;
        font-size: 20px;
        margin-left: 8px;
        cursor: pointer;
    }

    .plate-window-save-button {
        width: 105px !important;
    }

    .plate-window-form-button {
        width: 150px !important;
    }

    .input-add-plate, .input-add-reason {
        width: 150px !important;
    }

    .label-add-plate, .label-add-reason {
        padding: 10px;
    }

    .label-show-table {
        padding: 10px;
        font-size: 1.5em;
    }

    .add-reason-open, .edit-car-plate {
        padding-bottom: 10px;
        text-align: right;
    }
    .error-message {
        color: red;
        padding: 10px;
    }

    .notACar {
        opacity: 1 !important;
        float: right !important;
    }
    
    /* companies *//* authorized */
    .popup-title {
        width: 100%;
    }
    .company-grid, .authorized-grid {
        float: left;
        width: 50%;
        margin: 0 auto; 
        height: 80%;
    }
    .companiesgrid-wrapper {
       
        margin: 0 2% 10% 2%;
    }
    .authorizedgrid-wrapper, .companiesgrid-wrapper {
        overflow-x: hidden;
    }
    .company-grid > .container-box {
        height: 100%;
        margin: 0 5%;
    }
    .authorized-grid > .container-box {
        height: 100%;
        margin: 0 6%;
    }
    .companygridsearch, .authgridsearch {
    width: 95%;
    padding: 6px;
    margin: 5px 5px;
    background-image: url('../assets/images/search.png');
    background-repeat: no-repeat;
    border-width: 0px;
    border: none;
    }
    .addUser {
        display: none;
    }
.newCopmanyForm, .newPlateForm{
    width: 50%;
    float: right;
}
.isguest-div, .companyUser-div {
    text-align: right;
}
.company-hours-wrapper {
    margin-bottom: 2.5em;
}
.company-hours-wrapper div {
    padding: 1em;
}
.company-hours-wrapper input {
    width: 22% !important;
}
#isguest, #companyUser, #companylimitHours {
    opacity: 1;
    float: inherit;
}
.auth-dates input {
    width: 47% !important;
    float: right;
}
.isguest-enabled {
    background-color: #1BA1E2;
}
.isguest-enabled::-webkit-input-placeholder {
    color: #555555;
    font-weight: bold;
}
.isguest-enabled::-moz-placeholder { /* Firefox 19+ */
  color: #555555;
}
.isguest-enabled:-ms-input-placeholder { /* IE 10+ */
  color: #555555;
}
.isguest-enabled:-moz-placeholder { /* Firefox 18- */
  color: #555555;
}

.isguest-enabled, .route-company-wrapper {
    width: 20%;
    flex: 1;
    float: right;
}
.route-company-wrapper span {
    white-space: nowrap;
}
 .allowed-routes-checkbox {
        opacity: 1 !important;
        float: none !important;
    }
#newCompanyBotton, #newAuthBotton {
    float: right;
}

.plates-div {
    height: 7rem;
    overflow-y: auto;
}
.add-plate {
    width: 8% !important;
}
.plateNumberFormInput {
    width: 89% !important;
    /* float: left; */
}
.sec-plate-input {
    margin-top: 1.2rem;
}


#historyLookupDiv {
    /*width: 870px;
    height: 515px;
    background-color: rgba(255,255,255,0.85);*/
    padding: 2rem;
}

#historyLookupDiv form {
    margin-top: 30px;
    width: 75%;
    height: 100px;
    padding-right: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    font-size: 1.1rem;
}

#historyLookupDiv form input, #historyLookupDiv form select {
    width: 90px;
    height: 25px;
    text-align: center;
}

#historyLookupDiv form select {
    height: 27px;
    width: 135px;
}

#historyLookupDiv #sendButton {
    position: relative;
    bottom: 25px;
    left: 10px;
}

#historyLookupDiv form input, #historyLookupDiv form label, #historyLookupDiv form select {
    margin-top: 5px;
    margin-right: 5px;
}

#historyLookupDiv form, #historyLookupDiv #container {
    background-color: transparent;
}

.history-plate {
    width: 85%;
}

.lotsStatus {
    margin: 0 auto;
    width: 90%;
    height: 70%;
    
}

.plot-container{
    float: right;
    width: 45%;
    height: 35%;
    /*border: 1px solid black;*/
    margin: 1.6rem 1rem;
}

.plot-divcontainer {
    text-align: right;
    padding: 1em;
}

.plot-border {
    border: 1px black solid;
    padding:0.4rem 0.8rem;    
}

.parkingLotFine {
    background-color: greenyellow;
}

.parkingLotFull {
    background-color: orangered;
}

.parkinglot-free-slots {
    visibility: hidden;
    width: 30%;
    margin-left: 2rem;
}

.import-list {
    list-style-type: none;
    text-align: right;
}

.import-list>li {
    padding: 1em 0;
}

.upload-import {
    /* color: #3F33FF; */
    font-weight: bold;
    border: 1px solid black;
    /* background-color: #1BA1E2; */
    padding: 0.3rem;
}

/* grid corrections */
#grid-container .ui-jqgrid tr.jqgrow td {
    height: 30px;
}
#grid-container .ui-jqgrid .ui-jqgrid-view {
    font-size: 1.5rem;
}
#grid-container .ui-jqgrid .ui-jqgrid-htable th {
    height: 35px;
}
#grid-container .ui-jqgrid .ui-jqgrid-htable .ui-th-div {
    height: 22px;
}

/* users.html */
.slotsSum {
    font-size: 1.3rem;
    text-align: right;
}
.SlotsSumText {
    text-decoration: underline;
    display: none;    
}
.slotNum {
    display: none;    
}
.expiredAndInside {
    color: red  !important;
}


/* media queries */
@media (max-width:1200px), screen and (max-height: 700px){
    .main-header {
        margin-top: -10rem;
        padding: 0px;
    }
    #footer-container {
        bottom: 0.5rem;
        max-height: 40%;
    }
    #frame-div #frameImage {
        max-width:75%;
        margin-bottom: 0.3rem;
    }
}



