body {
    background: rgba(255, 255, 255);
    direction: rtl;
}
.desktop {
    display: block;
} 
.mobile {
    display: none;
}
.page-wrapper {
    width: 1200px;
    margin: 0 auto;
}
.page {
    width: 100%;
}
/* start user menu */
.header{
    width: 100%;
}
.header-top-wrapper {
    width: 100%;
    background-color: #564f9f;
    color:#fff;
}
.header-top {
    width: 100%;
    padding: 0 25px;
    box-sizing: border-box;
    text-align: right;
    font-size: 0.9em;
    color: #ddd;
}
.user-menu {
    display: flex;
    align-items: center;
    width: auto;
    line-height: 1.5;
    padding: 0.6em 0;
}
.user-icon::before {
    content: "\f007";
    margin: 0;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    border: 0 none;
    padding: 0 0 0 0.3em;
    display:inline-block;
    font-size: 1em;
    color: #F0A533;
}
.user-menu .user-name{
    margin:0 7px;
}
.user-menu .personal-links {
    float: right;
    font-weight: bold;  
}
.user-menu .personal-links a.personal-link {
    color: #ddd;
    text-decoration: none;
    margin:0 7px 0 12px;
}
.user-menu .personal-links a:hover{
    color:#fff;
}
.user-menu form.user-login{
    float: right;
    width: auto;
    height: 47px;
    margin:0 15px 0 7px;
    color: #ddd;
}
.user-menu form.user-login input.login-input{
    width: 137px;
    height: 15px;
    background-color: #414141;
    border: 0 none;
    border-bottom: 1px solid #a4a3a3;
    color: #ddd;
    font-size: 0.9em;
    margin-left: 15px;
}
.user-menu form.user-login input.login-input::-webkit-input-placeholder {
   color: #ddd;
    font-size: 1.1em;
}
.user-menu form.user-login input.login-input:-moz-placeholder {
   color: #ddd;
    font-size: 1.1em;
}
.user-menu form.user-login input.login-input::-moz-placeholder  {
   color: #ddd;
    font-size: 1.1em;
}
.user-menu form.user-login input.login-input:-ms-input-placeholder  {
   color: #ddd;
    font-size:1.1em;
}
.user-menu form.user-login .btn-login, .user-search .btn-search {
    background-color: #dda440;
    color:#fff;
    border: 0 none;
    border-radius: 50px;
    text-align: center;
    width: 52px;
    height: 24px;
    line-height: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color .5s;
}
.user-menu form.user-login .btn-login:hover,  .user-search .btn-search:hover{
    background-color: #ce8d1e;
}
.user-menu .close-btn {
    font-size: 2em;
    font-weight: bold;
    color: white;
    text-decoration: none;
    padding: 0.2em;
}
/* end user menu */
.page-top {
    width: auto;
    margin: 0 auto;
    padding: 0 1em;
    display: flex;
    justify-content: start;
    align-items: center;
}
.page-top div.logo {
    width: auto;
    height: 7.3em;
    max-width: 20em;
    overflow: hidden;
    text-align: center;
    box-sizing: border-box;
    padding: 0 0 0 3em;
}
.page-top div.logo img.logo {
    height: 100%;
    width: auto;
}
.page-title {
    text-align: center;
} 
.records-table {
    width: 100%;
    font-size: 1.5em;
}
.records-table > thead > tr > th , .records-table > tbody > tr > td {
    padding: 0;
    border-collapse: separate;
    border-width: 2px;
    border-style: solid;
}
.records-table > thead > tr > th:first-child , .records-table > tbody > tr > td:first-child{
    border-right-style: none;
}
.records-table > thead > tr > th:last-child , .records-table > tbody > tr > td:last-child {
    border-left: none;
}
.view-icon {
    text-decoration: none;
}
.view-icon::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 400; 
    font-size: 1.2em;
    content: "\f06e";
}
.presence-icon::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 400; 
    font-size: 1.2em;
}
.presence-icon.presence::before {
    content: "\f058";
}
.presence-icon.miss::before {
    content: "\f057"; 
}
.link-btn {
    display: block;
    text-decoration: none;
}
.txtfield {
    background-color: #fff;
    border: 1px #cdcdcd solid; 
    width: 45%;
    padding: 0.2em;
    box-sizing: border-box;
    font-size: 1em;
}
.ui-dialog-content .txtfield {
    width: 96%;  
    border-color: rgba(24, 175, 211, 0.3);  
}
textarea.txtfield {
    height: 5em;
    font-size: 1em;
}
.txtfield:disabled {
    background-color: #eee;
    color: #ccc;
}
.select {
    padding: 0.5em;
    margin-right: 0;
    height: auto;
    font-size: 1em;
    line-height: 1.5;
} 
input.txtfield, .date-select select, .select {
    height: 2em;
}
input[type=checkbox] {
    vertical-align: middle;
}  
.row-wrapper {
    padding-bottom: 1em;
    display: flex;
    justify-content: flex-start;
    align-items: center; 
}   
.row-wrapper .input-wrapper {
    display: block;
    padding-left: 2em;
    padding-bottom: 1em;
}
.row-wrapper .select {
    font-size: 1.2em;
    padding: 2px;
    padding-left: 1em;
}
.row-wrapper .select>option {
    padding: 0.5em;    
}
.label2 {
    margin: 0 0 0.8em;
    display: block;   
    width: 100%;
    box-sizing: border-box;
}
.alert {
    font-size: 1.5em;
    border: 1px solid #fbeed5;
    border-radius: 4px;
    border-color: #fbeed5;
    padding: 0.5em;
    margin: 0;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    background-color: #fcf8e3;
}
.alert-info {
    color: #000;
    background-color: #ff9;
    border-color: #ff9;
}
.alert-danger, .alert-error {
    color: #b94a48;
    background-color: #f2dede;
    border-color: #eed3d7;
}
.alert-warning {
    background-color: #f0ad4e;
    border-color: #eea236;
}  
ul.desktop.main-menu {
    display: flex;
    padding: 0;
    margin: 0;
    justify-content: start;
    align-items: center;
    height: 7.3em;
}
ul.desktop.main-menu>li {
    list-style: none;
    padding: 0 0.85em;
    display: flex;
    flex-direction: column;
    text-align: center;
}
ul.desktop.main-menu>li>a.main-menu-label {
    text-decoration: none;
    font-size: 1.3em;
    line-height: 1.8em;
}
ul.desktop.main-menu>li>a.main-menu-icon {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    text-decoration: none;
    font-size: 2.1em;
    line-height: 1.5em;
}
a.menu-icon-contact_page:before {
    content: "\f2b9";
}
a.menu-icon-attendance:before {
    content: "\f15b";
}
a.menu-icon-future_lessons:before {
    content: "\f51c";
}
a.menu-icon-issues:before {
    content: "\f013";
}
a.menu-icon-tasks:before {
    content: "\f0ae";
}
a.menu-icon-prepaid_blocks:before {
    content: "\f15b";
}
a.menu-icon-documents:before {
    content: "\f09d";
}
a.menu-icon-signed_documents:before {
    content: "\f573";
}
a.menu-icon-messages:before {
    content: "\f27a";
} 
.projects-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: stretch;
}
.project-wrapper {
    width: 33.3%;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    flex-direction: column;   
    margin: 0 0 2.6em 0;
    padding: 0 1em;
}
div.project-pict {
    display: flex;
    width: 100%;
    height: 300px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}
img.project-pict { 
    width: 100%;
    height: auto;
}
.project-title {
    text-align: center;
    line-height: 2;
    font-size: 1.2em;
}
.project-footer {
    margin-top: 1.7em;
    display: flex;
    justify-content: space-between;
}
div.project-links {
    width: 30%;
    overflow: visible;
    position: relative;
}
.project-links-btn {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1em;
}
.project-links-btn::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    text-decoration: none;
    font-size: 1em;
    line-height: 1.5em;
}
.project-links-btn.down::after {
    content: "\f078";
}
.project-links-btn.up::after {
    content: "\f077";
}
.project-menu-wrapper {
    position: relative;
}
div.project-links ul.project-menu {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1em;
    margin: 0;
    width: 20em;
    background: white;
    display: none;
}
div.project-links ul.project-menu > li {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    line-height: 2;
}
div.project-links ul.project-menu > li > a {
    text-decoration: none;
}

a.project-menu-arrow::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    text-decoration: none;
    font-size: 1em;
    line-height: 1.5em;
    content: "\f104";
}
 a.project-menu-icon::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    text-decoration: none;
    font-size: 1em;
    line-height: 1.5em;
    padding-left: 0.5em;
}

/* jquery ui */
.dialog-button-pane {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    flex-direction: row;
    justify-content: center;
}    
.dialog-button {
    background: #e99405 none repeat scroll 0 0;
    color: #fff;
    cursor: pointer;
    display: block;
    margin: 0 0.4em;
    padding: 0.4em;
    border-radius: 0;
    border: 0 none;
}
/*  end form */

.ui-widget {
  font-family:Verdana,Arial,sans-serif;
  font-size:1.1em
}
.ui-widget .ui-widget {
  font-size:1em
}
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
  font-family:Verdana,Arial,sans-serif;
  font-size:1em
}
.ui-datepicker .ui-widget-header {
    background: #fff none; 
    border: 0 none;   
    border-radius: 0 !important; 
    padding: 1em 2em 1em 1em  !important;
}  
.ui-datepicker {
    border: 0 none !important;
    background-color: #efefef; 
    border-radius: 0 !important; 
} 
.ui-dialog {
    padding: 0;
    max-width: 98%;
}
.ui-dialog .ui-button:focus, .ui-dialog .ui-icon:focus {
    outline-width: 0;
    outline-color: transparent !important;
}
.ui-dialog .ui-dialog-titlebar {  
    background: #C5E7E9; 
    border: 0 none;   
    border-radius: 0 !important; 
    padding: 0; 
}
.ui-dialog .ui-dialog-title {
    float: none; 
    display: inline-block;    
    padding: 0.1em 2em !important; 
}   
.ui-datepicker-year {
    padding-bottom: 2px;
    margin-left: 0;
    height: auto;
    background-color: #fff;
    border: 0 none;
    border-bottom: 1px solid #ddd;
    color: #666;
    font-size: 1em;
    line-height: 1.1em;
}
.ui-dialog {
    border: 0.3em #C5E7E9 solid !important;
    background-color:#C5E7E9; 
    border-radius: 0.2em !important; 
}
.ui-dialog .btn-row {
    padding: 0.1em 0;
    width: auto;
} 
.ui-dialog .btn-row .btn {
    border-radius: 0.2em;
    font-size: 1.4em;
    font-weight: bold;
    padding: 0.4em 2.5em;
 }
.ui-dialog .ui-dialog-buttonpane .ui-state-default, 
.ui-dialog .ui-dialog-buttonpane .ui-state-focus {
    background: #e99405 none !important;
    color: #fff !important;
}
.ui-dialog .ui-dialog-buttonpane {
    background-color: #efefef; 
    border: 0 none;
    text-align: center;
}
.ui-state-default, .ui-state-focus {
    background: #fff !important;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: none;
}

.ui-dialog .ui-dialog-buttonset .ui-button {
    border: 0 none;
    background-image: none;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    padding: 1em 4em;
    text-align: center;
    font-weight: bold;
} 
.dialog-entry {
    background-color: #ffffff !important;
    text-align: center;
}
.dialog-entry-title {
    margin: 1em;
    font-size: 1.5em;
    line-height: 1.2;
}
.dialog-entry-elm {
    padding: 5px;
    background-color: white;
    color: black;
    border-radius: 5px;
    font-size: 1.1em;
    border: 1px solid #4f81bd;
    width: 96%;
}
.ui-widget-overlay {
    opacity: 0.8 !important;
}    
.dialog-no-close .ui-dialog-titlebar {
    display: none;
}
.ui-datepicker {
    z-index: 8900 !important;
}    
.ui-dialog .ui-dialog-buttonset .ui-button {
    border: 0 none;
    background-image: none;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    padding: 1em 4em;
    text-align: center;
    font-weight: bold;
}  
.ui-dialog .ui-dialog-content {
    padding: 1.2em 1em;
    box-sizing: border-box; 
    border-radius: 0 0 0.3em 0.3em;
    background-color: #ffffff;
}
.dialog-no-close .ui-dialog-content {
    border-radius: 0.3em;
}
.dialog-entry .user-icon::before {
    content: "\f2bd";
    margin: 0;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    border: 0 none;
    padding: 0 0 0 0.3em;
    display:inline-block;
    font-size: 4em;
    color: #C5E7E9;
}

.theme-rounded input.txtfield, 
.theme-rounded .date-select select,
.theme-rounded .select {
    height: 2.5em;
    border-radius: 50vh;
    padding: 0 1.25em;
}
.theme-rounded .date-select select {
    padding: 0 0.5em;
    text-align: center;
}
.theme-rounded .alert {
    border-radius: 50vh;
    padding: 4px 1em; 
} 
.theme-rounded .btn-row .btn {
    border-radius: 50vh;
}
.theme-rounded .checkbox-wrapper {
    padding: 0em 0.9em 0 0;  
 }

@media only screen and (max-width: 1199px) {
    .page-wrapper {
        width: 100%;
    }
    div.project-pict {
        height: auto;
    }
    .projects-wrapper {
        justify-content: space-between;
    }
    .project-wrapper {
        width: 48%;
    }
}  
@media only screen and (max-width: 1023px)  {
     body {
         font-size: 1em;   
     }
     input[type="checkbox"],input[type="radio"] {
        height: 1.5em;
        width: 1.5em; 
        margin-right: 0.5em;
        vertical-align: middle;
     }
     .txtfield {
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    } 
    .btn-row .btn {
        font-size: 1.3em;   
        width: 96%;
        box-sizing: border-box;  
    } 
    .ui-dialog {
        max-width: 90%;
    } 
    #ui-datepicker-div{
        z-index:8900 !important;
        font-size: 1em;
    }
    .ui-autocomplete li {
        font-size: 1em !important;
    }    
    .ui-dialog {
        font-size: 1em !important;
    }
    .ui-dialog .smart-form {
        font-size: 1em !important;
    }
    .ui-dialog .ui-button {
        min-width: 1.9em !important;
        width: auto !important;
        height: 1.9em !important; 
        top: 0.1em !important;
        margin: 0 !important;
        font-size: 1rem;
    }  
    .ui-dialog .view-links-panel {
        font-size: 1em;
    }
    .ui-dialog .view-content .row-wrapper {
        font-size: 1em;
    }
    .user-menu {
        font-size: 1.5em;
    }
    #tadam-accessibility, #tadam-accessibility-btn {
        display: none;
    }
    .page-top {
        justify-content: center;
    }
    .desktop {
        display: none !important;
    }
    .mobile {
        display: block;
    }
}  
@media only screen and (max-width: 724px)  {
     div.project-pict {
        height: auto;
    }
    .project-wrapper {
        width: 100%;
        padding: 0 0.2em;
    }
    .btn-row .btn {
        font-size: 1em;
    }
    .row-wrapper {
        flex-direction: column;
    }      
    .row-wrapper > .input-wrapper {
        display: block;
        padding-left: 0;
        width: 100%;
    }
    .row-wrapper > .input-wrapper > .select, .row-wrapper > .input-wrapper > .txtfield {
        width: 100%;
    }
}
