@import url(//fonts.googleapis.com/earlyaccess/opensanshebrew.css);
body {
    margin: 0;
    font-family: 'Open Sans Hebrew', sans-serif;
    padding: 0 0 50px 0;
    background: url(../img/bg.png) repeat;
}


.clear {
}
.clear:before {
    content: '';
    display: block;
    clear: both;
}
.clear:after {
    content: '';
    display: block;
    clear: both;
}


#previewtext{
    font-size: 18px;
    padding-bottom: 22px;
}

.main{
    
    width: 100%;
    /*height: 100%;*/
    display: block;
/*    margin-left: auto;
    margin-right: auto;*/
    /*position: fixed;*/
    /*overflow-y: auto;*/
    padding: 0px 0 50px 0;
}


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

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

.addAlertBorder{
    border: 1px red solid !important;
}

.dashsearch{
    /*height: 42px;*/
    padding: 20px 12px;
    margin-bottom: 10px;
    border-radius: 0;
}

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

#addnewuser{
    float: right;
}

#edituser{
    float: right;
    margin-right: 11px;
}

#exportcsv{
    float: right;
    margin-right: 11px;
}

#admincont{
    margin: 0px 21px 10px 0px;
    padding-bottom: 30px;
}

#addnewcontact{
    /*height: 338px;*/
}

#addnewcontact input{
    margin-top: -15px;
    direction: rtl;
    height: 54px;
    border-radius: 0;
    border: 1px solid #efefef;
    font-size: 18px;
    margin-bottom: 22px;
    box-shadow: none !important;
}

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

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

#contactlist{
    direction: rtl;
    height: 54px;
    border: 1px solid #efefef;
    font-size: 18px;
    margin-right: 25px;
    border-radius: 6px;
    box-shadow: none !important;
    width: 88%;
    padding-right: 11px;
    margin-top: 13px;
}
/**********************/

.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: 43px !important;
    margin-top: 10px !important;
}

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

.jconfirm-buttons button{
    width:100%;
}

.jconfirm-content{
    font-size: 20px;
    text-align: center;
}

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

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

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

#delcontact{
    float: left;
    background: #e74c3c;
    padding: 5px;
    text-align: center;
    color: white;
    position: relative;
    left: 1px;
    cursor: pointer;
}

#ui-datepicker-div{
    z-index: 99999999 !important;
}

select{
        border-radius: 0;
    display: block;
    width: 100%;
    height: 42px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    margin: 0 0 10px 0;
}

select#partconfirm {
    margin-bottom: 10px;
}

#signbtn{
    width: 100%;
}


h1 {
    direction: rtl;
    font-size: 20px;
    margin: 20px 0 0 0;
}

.fullWidth {
    width: 100%;
}

.selectHalfContainer {
    
}

.selectHalf {
    width: 49%;
    margin-left: 1.5%;
    padding-left: 10px;
    display: block;
    float: right;
}

.selectHalf:last-child {
    float: left;
    margin-left: 0;
}

.dateStyle {
    -webkit-appearance: none;
    width: 100%;
    display: block;
}

#maincont {
    float: none;
    padding: 0;
    width: 590px;
    margin: 0 auto;
    padding: 0;
}


@media only screen and (max-width: 768px) {
    #maincont {
        width: 100%;
     
    }
    
    .selectHalf {
        width: 100%;
    }
}

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

   #maincont{
       width: 100%;
     
/*    margin: 0 auto;
    float: none;
    overflow-y: auto;
    height: 60vh;*/
}
}
