@import url(//fonts.googleapis.com/earlyaccess/opensanshebrew.css);
body {
    margin: 0;
    font-family: 'Open Sans Hebrew', sans-serif;
}

.main{
    background-image: url(../img/bg.png);
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: fixed;
    overflow-y: auto;
}

.popupinsidetext{
    font-size: 18px;
    text-align: center;
}

#delfile{
    float: left;
    z-index: 99999;
    position: relative;
    top: -33px;
    left: 25px;
    cursor: pointer;
}

#logout{
    position: relative;
    top: 70px;
    left: -20px;
    font-size: 32px;
    cursor: pointer;
    z-index: 1;
    float: right;
}

#preview{
    float: left;
    z-index: 99999;
    position: relative;
    top: -33px;
    left: 15px;
    cursor: pointer;
}

#uploadfilebtn{
    width: 49%;
    margin-right: 8px;
}

#cancelfilebtn{
    width: 49%;
    margin-left: 1px;
}

.jconfirm-buttons, .jconfirm-buttons .btn{
    width:100%;
}

#maincont{
    margin: 0 auto;
    float: none;
}

#loadercounter{
    background: green;
    height: 4px;
    display: none;
}

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

#logo{
    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;
}

#dashsearch{
    height: 42px;
}

#multicont{
    border: 2px dotted #56276a;
    height: 290px;
    margin-top: 22px;
}


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

.catlist{
    font-size: 20px;
    height: 43px;
}

.subcatcont .form-control{
    font-size: 20px !important;
    height: 145px !important;
    margin-top: 10px !important;
}

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

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

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

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

#topdetheader{height: 55px;}

.fromdate{
    position: relative;
    background-color: rgba(255, 255, 255, 0);
    color: black;
    outline: 0;
    border: 0;
    z-index: 4;
    direction: rtl;
    font-size: 16px;
    display: block;
    float: left;
    border: 1px solid #56276a;
    border-radius: 4px;
    text-align: center;
    padding: 7px 30px 8px 10px;
    cursor: pointer;
}

#datepicker i
{
    z-index: 4;
    direction: rtl;
    font-size: 22px;
    display: block;
    float: left;
    position: relative;
    left: -25px;
    top: 6px;
}

#todate{
    position: relative;
    background-color: rgba(255, 255, 255, 0);
    color: black;
    outline: 0;
    z-index: 4;
    direction: rtl;
    font-size: 22px;
    display: block;
    float: left;
    border: 1px solid #56276a;
    border-radius: 4px;
    text-align: center;
    margin-right: 4px;
    padding: 5px;
    cursor: pointer;
}

#datepicker input {
    width: 242px;
}
#datepicker div {
    font-size: 9pt;
    z-index: 9999;
}
.date-range-selected > .ui-state-active, .date-range-selected > .ui-state-default {
    background: none !important;
    background-color: lightsteelblue !important;
}

.hasDatepicker{
    position: absolute !important;
    z-index: 999999;
}

/* 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;
}

#username{
    font-size: 22px;
    float: right;
}


#imageform{
    display: none;
}

.jconfirm-title{
    display: block !important;
}

.jconfirm-content-pane{
    text-align: right !important;
    direction: rtl !important;
}

#adminbtn{
    float: left;
    margin: 16px 0px 0px 30px;
    font-size: 19px;
    border: 1px #e7e7e7 solid;
    padding: 10px;
    color: white;
    background: #6a2f89;
    width: 50px;
    text-align: center;
}

button#uploadBtn{
    display: none;
}

.scandoc{
    display: none;
}

.savescan{
        position: fixed;
        bottom: -28px;
        left: 0;
        width: 50%;
        display: none;
        height: 53px;
        font-size: 18px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 68px;
        border-radius: 0;
    }

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

@media only screen and (max-width: 768px) {
    
}

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

    .main {
        height: calc(100% - 40px);
    }

    .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;
    }

    #dashsearch{
        position: relative;
        left: 50px;
        width: calc(100% + 91px);
    }

    .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;
        height: 200px;
        overflow: auto;
    }

    .imgprev img{
        width: 100%;
    }
}