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

.main {
    background: url('images/bg.jpg') top center repeat-y;
    width: 414px;
    display: none;
    margin: 0 auto;
    position: absolute;
}

.notvalid {
    background: rgba(220, 134, 134, 0.45) !important
}

.ajs-button , .btn{
    color: #fff;
    background: #6a2f87;
    font-size: 26px !important;
    border-radius: 10px;
    font-weight: bold;
}
.alertify-notifier{display: none;}
#toTop{
    width: 50px;
    height: 50px;
    position: fixed;
    top: 80%;
    left: 80%;
    z-index: 999;
}

.btn:hover, .btn:focus{ color: #fff !important; }

.alertify .ajs-header{
    color: #fff;
    background: #6a2f87;
    text-align: center;
    font-size: 22px !important;
    font-weight: bold;
}
.alertify .ajs-body{text-align: center;direction: rtl;font-size: 25px;}

.back{
    position: relative;
    display: block;
    margin-bottom: 13em;
    margin-left: 15px;
    margin-top: -1em;
    background: url('images/home.png') top center no-repeat !important;
    width: 60px;
    height: 60px !important;
    margin-bottom: 4em !important;
    margin-left: 0 !important;
}

/* ######## Header ####### */

.header{
    width: 100%;
    height: 53px;
    display: block;
    top: 0;
    background: #6d2d87;
    font-size: 20px;
    padding: 14px;
}

.header .date{text-align: right;color: #fff;float: right;}
.header .time{
    text-align: right;
    color: #fff;
}

.main img {
    position: relative;
    margin: 0 auto;
    display: block;
    margin-top: 0em;
    width: 184px;
}

/* ######## Footer ####### */

.footer{
    width: 100%;
    height: 52px;
    color: #fff;
    background: #000000;
    font-size: 20px;
    padding: 14px;
    display: block;
    text-align: center;
    left: 0;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    z-index: 99;
}

.footer p{}

/* ######## Login page ####### */

.login .user_id {
    position: relative;
    background-color: rgba(255, 255, 255, 0);
    color: #635f5f;
    outline: 0;
    border: 0;
    height: 53px;
    z-index: 4;
    border-bottom: #7d7777 2px solid;
    direction: rtl;
    font-size: 24px;
    font-weight: bolder;
    margin: 1em 17%;
    margin-top: 3em;
    float: none;
}

.login .show_history{
    margin: 1em 17% 8em;
    position: relative;
    float: none;
}
.login .send{
    margin: 1em 17% 0em;
    position: relative;
    float: none;
}



/* ######## Home page ####### */

.home .content{float:none;margin: 0 auto;}

.home .input {
    position: relative;
    outline: 0;
    z-index: 4;
    width: 100%;
    direction: rtl;
    color: #702a8a;
    padding: 10px;
    border: 0.5px #857777 solid;
    border-radius: 4px;
    text-align: center;
    font-size: 26px;
    background: #fff;
}
.home lebel{
    float: right;
    direction: rtl;
    font-size: 29px;
    margin-top: 1em;
    margin-bottom: 4px;
}

.home .input1 {
    background: transparent !important;
    border-color: #752f88;
    color: #893f98;
    position: relative;
    display: block;
    margin: 1em auto;
    width: 80%;
    float: none;
    border: 0;
    border-bottom: 2px #673087 solid;
    font-size: 23px;
}

.home textarea {
    height: 125px !important;
    margin: 0 auto 1em;
    text-align: right !important;
}

.home .validate_id {
    position: relative;
    display: block;
    height: 45px;
    font-size: 19px;
    width: 80%;
    border: 0;
    margin: 1em auto;
    float: none;
    line-height: 22px;
}

.home .validate {
    position: relative;
    display: block;
    width: 80%;
    height: 50px;
    margin: 0 auto;
}

.home .send {
    display: block;
    height: 61px;
    position: relative;
    border: 0;
    outline: 0;
    margin-bottom: 3em;
    width: 40%;
}

.home .title {
    position: relative;
    font-size: 29px;
    font-weight: 500;
    color: #722b87;
    display: block;
    float: none;
    margin: 1em auto;
    text-align: right;
    width: 80%;
}

.home .sign {
    position: relative;
    display: block;
    height: 141px;
    background: #fff;
    margin: 1em auto;
    border-radius: 10px;
    width: 100%;
    border: 0.5px #857777 solid;
}

.home .validate .loading {
    width: 50px;
    height: 50px;
    position: relative;
    top: 0px;
}

.home .validate .yes {
    width: 50px;
    height: 50px;
    font-size: 43px;
    color: #5cb85c;
}

.home .validate p {
    color: #522d4e;
    font-size: 23px;
    width: 197px;
    position: relative;
    direction: rtl;
    height: 50px;
    line-height: 51px;
    float: right;
}

.home .validate .no {
    width: 50px;
    height: 50px;
    font-size: 43px;
    color: #d9534f;
}


/* ######## Show history page ####### */
#ui-datepicker-div{
    width: 100% !important;
}
.history .history_panel{
    margin-top: 5em;
    position: relative;
    display: inline-block;
}
.history .history_panel div input{ width: 100%; }
.history .history_panel div input,  .history .email{
    height: 42px;
    border: 1px #000 solid;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
}

.history .history_panel div{}

.history .history_panel div{
    text-align: right;
}
.history .history_panel label{
    font-size: 25px;
    direction: rtl;
    color: #6a2f87;
    font-weight: normal;
}

.history .show{
    margin-top: 0.5em;
    width: 33% !important;
}
.history .btn{
    font-weight: 500;
    height: 41px;
    line-height: 11px;
    font-size: 21px !important;
}

.history #history_table{
    margin-top: 1em;
}
.history #notification{
    margin: 1em auto;
}
.history #sent_to_mail{
    position: relative;
    display: inline-block;
    margin-bottom: 1em;
}
.history .send_to_email{
    float: left;
}
.history .email{
    float: right;
        direction: rtl;
}

.history .history_table{}
th, td{
    text-align: center;
}
.ui-dialog .ui-dialog-title {
    text-align: center !important;
    color: #522d4e !important;
    font-weight: bolder !important;
    font-size: 16px !important;
}

#dialog1 {
    display: none;
}

#dialog2 {
    display: none;
}
