@import url(//fonts.googleapis.com/earlyaccess/opensanshebrew.css);

body {
    margin: 0;
    font-family: 'Open Sans Hebrew', sans-serif;
    direction: rtl;
}

a {
    color: black;
}

.main {
    background: #F5F8FE 0% 0% no-repeat padding-box;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: fixed;
    overflow-y: auto;
    height: 100vh;
}

.bg1 {
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    width: 580px;
    height: 353px;

}

.bg2 {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    width: 248px;
    height: 407px;

}

#maincont {
    margin: 0 auto;
    float: none;
    /* overflow: auto; */
    margin-bottom: 100px;
}

/* #tophead {
    padding: 7px 20px 40px 20px;
    border-bottom: 1px solid #b2b1b1;
    font-size: 22px;
    background: #6d2d87;
    color: white;
    margin-bottom: 20px;
} */

.header {
    display: flex;
    margin-bottom: 30px;
    margin-top: 24px;
    flex-direction: row;
}


.hour img {
    margin-left: 5px;
}


.rightHead {
    margin-right: 24px;
    width: 300px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: right;
    font: normal normal normal 15px/20px Open Sans Hebrew;
    letter-spacing: 0px;
    color: #2B3B48;
}

.logo {
    width: 229px;
    height: 83px;
    margin-right: calc(100vw/2 - 450px);

}

/* 
#logo {
    margin-top: 10px;
    margin: 0 auto;
    float: none;
    text-align: center;
    cursor: pointer;
}

#logo img {
    width: 150px;
} */

#loginpage {
    margin: 0 auto;
    float: none;
    border: 1px solid #6a2f89;
    padding: 30px 0 70px 0px;
    text-align: center;
    border-radius: 4px;
}

.uploadbutton {
    position: relative;
    height: 53px;
    font-size: 18px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 113px;
}

.jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons {
    float: left !important;
}

#searchresults {
    background: #e7e7e7;
    padding: 5px;
    position: absolute;
    z-index: 99999;
    width: calc(100% - 72px);
}

.resultrow {
    padding: 10px;
    border-bottom: 1px solid white;
    cursor: pointer;
}

#footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background: black;
    color: white;
    text-align: center;
    padding: 10px;
}

#topdetheader {
    height: 55px;
}



/* ENDS */

#connectext {
    position: relative;
    top: -30px;
    font-size: 24px;
    background: #ff9d6c;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    height: 38px;
}

#loginpage #sep {
    position: relative;
    top: -30px;
    width: 100%;
    border-bottom: 1px solid #6a2f89;
}

#loginid {
    position: relative;
    top: 22px;
    background-color: rgba(255, 255, 255, 0);
    color: black;
    outline: 0;
    border: 0;
    z-index: 4;
    border-bottom: 1px black solid;
    direction: rtl;
    font-size: 22px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 74%;
}

#password {
    position: relative;
    top: 22px;
    background-color: rgba(255, 255, 255, 0);
    color: black;
    outline: 0;
    border: 0;
    z-index: 4;
    border-bottom: 1px black solid;
    direction: rtl;
    font-size: 22px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 20px;
    width: 74%;
}

#loginbtn {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 74%;
    color: #fff;
    background: #6a2f87;
    font-size: 22px !important;
    border: none;
    padding: 3px;
    cursor: pointer;
    position: relative;
    top: 40px;
}

#dark {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.7;
}

#loader {
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 400px;
    height: 300px;
    direction: rtl;
    color: white;
    font-size: 22px;
    text-align: center;
}

#loader img {
    width: 70px;
}

#detcont {
    direction: rtl;
    padding: 20px;
}


.title {
    text-align: right;
    font: normal normal bold 20px/20px Open Sans Hebrew;
    letter-spacing: 0px;
    color: #2B3B48;
    opacity: 1;
}

.desc {
    text-align: right;
    font: normal normal normal 15px/20px Open Sans Hebrew;
    letter-spacing: 0px;
    color: #2B3B48;
    opacity: 1;
}

.icon {

    width: 39px;
    height: 39px;



}

.container {
    /* display: flex;
    flex-direction: row;
    flex-wrap: wrap; */

    width: 60vw;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    padding-right: 100px;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30%, 0fr));
    grid-auto-flow: dense;
    grid-row-start: auto;
    gap: 10px;
    /* Adjust the gap between the divs */



}

#tableheader{
    background-color: #6a2f87;
}

.container:before {
    display: none !important;
    /* Override display property */
    content: none !important;
    /* Override content property */
}

.container a:hover {
    text-decoration: none;
}

.container::before {
    content: '';
    grid-column: 1;
    grid-row: 1;
}

.employeeaction {
    /* width: 18vw; */
    font-size: 21px;
    /* margin: 10px; */

    cursor: pointer;
    padding: 20px;
    height: 154px;
    background: #FBF9FA 0% 0% no-repeat padding-box;
    border: 1px solid #C7CFDC;
    border-radius: 10px;
    opacity: 1;
}

#employeeactionmain {
    text-align: center;
    font-size: 21px;
    font-weight: 600;
    margin-top: -25px;
    margin-bottom: 20px;
}

.adminmsg {
    height: min-content;
    max-height: 500px;
    overflow: scroll;
    position: absolute;
    box-sizing: border-box;


    margin-top: 60px;
    margin-right: 30px;
    background: #FBF9FA 0% 0% no-repeat padding-box;
    border: 1px solid #C7CFDC;
    border-radius: 10px;
    width: 361px;
    max-width: 18vw;
    z-index: 999;

    display: none;

}

/* Hide scrollbar for Chrome, Safari, and Opera */
.adminmsg::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for Firefox */
.adminmsg {
    scrollbar-width: none;
}

.news {
    background: none;
    /* Remove background */
    border: none;
    /* Remove border */
    padding: 0;
    /* Remove padding */
    cursor: pointer;
    /* Change cursor to pointer to indicate clickable */
    display: inline;
    /* Display inline */
    height: min-content;

}


.adminmsgheader {
    font-size: 17px;
    text-decoration: underline;
}

.adminmsgcont {
    padding: 5px;
}

.adminmsgcont {
    margin-top: 40px;
    text-align: right;
    font: normal normal normal 15px/20px Open Sans Hebrew;
    letter-spacing: 0px;
    color: #2B3B48;
    box-sizing: border-box;
    padding: 10px;
    /* animation: marquee 10s linear infinite; */
}

.adminmsgcont:hover {
    animation-play-state: paused;
}

#msgrow {
    border-bottom: 1px solid black;
    padding: 5px;
}

#msgrowtitle {
    text-align: right;
    font: normal normal bold 15px/20px Open Sans Hebrew;
    letter-spacing: 0px;
    color: #2B3B48;
    margin-top: 10px;


}



@keyframes marquee {
    0% {
        top: 100px
    }

    100% {
        top: -100px
    }
}

.datecont {
    float: none;
    margin: 0 auto;
}

#linkrow {
    padding: 3px;
}

.adminlinkscont {
    height: 107px;
    overflow-y: auto;
}

@media only screen and (max-width: 768px) {
    .container {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        width: 80vw;


    }

    .logo {
        margin-top: 50px;
    }

    .adminmsg {
        width: 80vw;
        max-width: none;

    }

}

@media only screen and (min-device-width : 320px) and (max-device-width : 414px) {



    #employeedet {
        padding: 0;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        width: 217px;
    }

    #adminactions div {
        width: 90%;
    }



    .uploadbutton {
        margin-top: 63px;
    }

    #username {
        margin: 1px 1px 16px 0px;
    }

    #datepicker input {
        width: 53% !important;
    }

    #multicont {
        border: 2px dotted #56276a;
        height: 100%;
        margin: 20px -50px 100px -40px;
    }

    .scandoc {
        display: block;
        position: relative;
        height: 53px;
        font-size: 18px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 68px;
    }

    canvas {
        display: block;
        width: 100%;
        padding: 15px;
    }

    #scanprev {
        font-size: 20px;
        width: 100%;
        font-weight: 600;
    }

    .pagenum {
        padding: 6px;
        float: right;
    }

    .delpage {
        float: left;
        padding: 6px 0px 0 7px;
        font-size: 30px;
    }

    #pagecontrol {
        border-top: 1px solid;
        border-bottom: 1px solid;
        background: #e7e7e7;
        height: 44px;
    }

    .scandocbottom {
        position: fixed;
        bottom: -28px;
        right: 0;
        width: 50%;
        border-radius: 0;
    }

    #searchresults {
        width: calc(100% + 17px);
        right: -12px;
    }

    .imgprev img {
        width: 100%;
    }

    #employeestable th:nth-child(1) {
        display: none;
    }
}