@font-face {
    font-family: 'icomoon';
    src:  url('./../../fonts/icomoon.eot?gf6fch');
    src:  url('./../../fonts/icomoon.eot?gf6fch#iefix') format('embedded-opentype'),
            url('./../../fonts/icomoon.ttf?gf6fch') format('truetype'),
            url('./../../fonts/icomoon.woff?gf6fch') format('woff'),
            url('./../../fonts/icomoon.svg?gf6fch#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}
html {
    height: 100%;
}
body {
    direction:rtl;
    margin:0;
    padding: 0;
    font-family: Arial," sans-serif", Helvetica;
    color: #666666;
    height: 100%;
    font-size: 0.7em;
}
input[type=text], input[type=tel], input[type=email],input[type=number],textarea, select {
    color: #666666;
}
select {
    font-size: 1em;
}
fieldset {
    border: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
}
.email, .phone,
input[type="email"], input[id*="email"], input[name*="email"],  
input[type="phone"], input[id*="phone"], input[name*="phone"],  
input[id*="mobile"], input[name*="mobile"] 
{
    direction: ltr;
    text-align: right;
}
a[href^="tel"], a[href^="mailto"] {
    display: inline-block;
    direction: ltr;
    text-align: right;
}
.digit {
    direction: ltr;
    text-align: right;
}
span.digit { display: inline-block; }
input[readonly],.readonly {
    border: 0 none !important;
    background-color: transparent;
    color: inherit;
}
input[readonly]:focus {
    outline-width: 0px;
}
.alert {
    font-size: 1.16em;
    border: 1px solid #fbeed5;
    border-radius: 0.2em;
    padding: 0.2em;
    margin: 0;
}
span.alert {
    padding: 0.2em;
} 
.alert {
    text-shadow: 0 0.1em 0 rgba(255,255,255,0.5);
    background-color: #fcf8e3;
    border-color: #fbeed5;
}
.alert-ok {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}
.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;
}
.label-icon-alert {
    display: inline-block;
    vertical-align: middle;
}
.label-icon::before {
    font-family: "Font Awesome 5 Free";
    text-decoration: none !important;
    display: inline-block;
    padding: 0 0.3em;
    vertical-align: middle;
    transition: .05s color ease-in-out;
    font-size: 0.8em;
}
.label-icon-alert::before {
    content: "\f071";
    color: #ff8b4d;
    font-weight: 900;
} 
.link-action {
    text-decoration: none !important;
    padding: 0 0.5em;
}
a.link-action::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.4em;
    text-decoration: none !important;
    display: inline-block;
    padding: 0 3px;
    vertical-align: middle;
    transition: .05s color ease-in-out;
}
.link.link-action::before {
    font-size: 1em !important;
}
.link-action.link-send-email::before 
 {
    content: "\f0e0";
    color: rgba(255, 152, 0, 0.7);
    font-weight: 400; 
    font-size: 1.7em;
}
.link-action.link-send-whatsapp::before {
    content: "\e92c";
    font-weight: normal;
    font-family: 'icomoon' !important;
    font-size: 1.6em;
    color: rgba(0, 200, 83, 0.7);
}
.link-action.link-send-whatsapp:hover::before {
    color: rgba(0, 200, 83, 1);
}
.link-action.link-send-sms::before {
    content: "\f7cd";
    color: rgba(33, 150, 243, 0.7);
}
.link-action.link-send-sms:hover::before {
    color: rgba(33, 150, 243, 1);
}
.link-action.link-finance::before {
    content: "\f155";
    color: rgba(76, 175, 80, 0.7);
}
.link-action.link-view::before {
    content: "\f06e";
}
.hidden {
    display: none;
} 

.link-menu-icon {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-variant: normal;
    font-weight: 900;
} 
.link-download::before {
    content: "\f56d";
}
.link-ok::before {
    content: "\f058";
}
a.btn-action:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.4em;
    text-decoration: none !important;
    display: inline-block;
    padding: 0 3px;
    vertical-align: middle;
    transition: .05s color ease-in-out;
}
a.btn-action.nonactive::before,a.btn-action:disabled {
    color: #b0bec5 !important;
}
a.link-start::before {
    content: "\f144";
    color: rgba(79, 222, 9, 0.8);
    font-size: 1.6em;
}
a.link-start:hover::before {
    color: rgba(79, 222, 9, 1);
}
a.link-stop::before {
    content: "\f28d";
    color: rgba(227, 17, 17, 0.8);
    font-size: 1.6em;
}
a.link-stop:hover::before {
    color: rgba(227, 17, 17, 1);
}
a.link-stop-notes {
    position: absolute;
    top: -0.5em;
    right: -0.4em;
}
a.link-stop-notes::before {
    content: "\f4ad";
    color:  #18afd3;
    font-size: 0.9em;
} 
a.btn-action.btn-delete::before {
    content: "\f057";
    color: rgba(227, 17, 17, 0.8);
}
a.btn-action.btn-delete:hover::before {
    color: rgba(227, 17, 17, 1);
}
.page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.page-wrapper>.page-inner {
    /*height: 100%;*/
    overflow: auto;
}
.main-top {
    background-color: #418bca;
    width: 100%;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    height: 5.5em;
}
.main-top>a {
    text-decoration: none;
}
.main-top-back, .main-top-menu, .main-top-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
}    
.main-top-back, .main-top-menu {
    width: 3em;
    color: white;
    text-decoration: none;
}
.main-top-title {
    font-size: 2em;
}
.main-footer {
    background-color: #323b44;
    width: 100%;
    height: 3.3em;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    font-size: 1.7em;
}
.main-footer-icon {
    width: 24%;
    color: white;
    text-decoration: none;
    text-align: center;
}
.main-footer-icon-label {
    display: block;
    font-size: 0.8em;
    margin-top: 0.1em;
}    
.main-content {
    overflow: auto;
    height: 100%;
}
.main-content-inner {
    margin: 1em 0;
}
@keyframes rotate360 {
  from {-webkit-transform: rotate(0deg);transform: rotate(0deg);}
  to {-webkit-transform: rotate(360deg);transform: rotate(360deg);}
}
.search_btn>.fa-times,
.main-top-menu>.fa-times {
    -webkit-animation-name: rotate360;
    -webkit-animation-duration: 1s;
    animation-name: rotate360;
    animation-duration: 1s;
}
div.page-title {
   display: flex;
   flex-direction: row;
   justify-content: space-around;
   align-items: center;
   height: 5.5em;
}  
div.sub-title {
   display: flex;
   flex-direction: row;
   justify-content: space-between;
   align-items: center;
   padding: 1.2em 0;
}  
div.shadow {
   box-shadow: 0 0.4em 0.5em rgba(116, 116, 116, 0.3);
   margin-bottom: 0.5em !important;
}
div.shadow-top {
   margin-top: 0.3em !important;
   box-shadow: 0 -0.2em 0.5em rgba(116, 116, 116, 0.42);
}
h1.page-title, h2.sub-title {
   text-align: center;
   width: auto;
   font-size: 2.2em;
   color: #253b80;
   text-align: center;
   margin: 0;
   padding: 0;
} 
h1.page-title {
   font-weight: 500;
}
h2.sub-title {
    font-weight: normal;
}  
.divide-line {
    border-bottom: 0.2em solid #cdd0d3;   
}  
input.calendar-date-elm {
    color: inherit;
    font-size: inherit;
    width: 6em;
    text-align: left;
    overflow: visible;
    border: 0 none;
}
/* start main drop menu */
.main-drop-menu {
    z-index: 8000;
    position: fixed;
    right: 0;
    top: 0;
    margin-top: 4.6em;
    margin-bottom: 2.5em;
    width: 0;
    height: 100%;
    font-size: 1.2em;
    box-sizing: border-box;
    color:#ffffff;
    transition: width 0.5s;
}

.main-drop-menu .menu-head {
    width: 0;
    background-color: #323b44;
    padding: 0.8em 0;
    box-sizing: border-box;
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 1.5em;
    transition: width 0.5s;
    overflow: hidden;
}

.main-drop-menu .menu-head .menu-head-title,
.main-drop-menu .menu-head .menu-link-head
 {
    padding: 0 1em; 
}

.main-drop-menu .fa-power-off {
    color:#ffffff;
}

.main-drop-menu ul.menu-link-wrapper {
    margin: 0;
    padding: 0 0.7em;
}
    
.main-drop-menu li.menu-links{
    list-style-type: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #323b44;
}

.main-drop-menu span.submenu-link {
    display: block;
    width: 2em;
    text-align: center;
}
.main-drop-menu a.submenu-link {
    text-decoration: none;
}    

.main-drop-menu .menu-content-wrapper {
    margin-top: 2.7em;
    padding-top: 0.1em;
    max-height: 80%;
    overflow: auto;
    box-sizing: border-box;
    background-color: #434d58;
    font-size: 1.5em;
}    
.main-drop-menu .link-wrapper {
    margin: 0;
    padding: 0.7em; 
    background-color: #434d58;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-drop-menu span.menu-link {
    display: block;
    width: auto;
}    
.main-drop-menu a.menu-link {
    display: block;
    width: 100%;
    color:#ffffff;
    text-decoration: none;
}

.main-drop-menu .fa-angle-down, 
.main-drop-menu .fa-angle-up{
    color: #ffffff;
    font-size: 1.4em;
}

.main-drop-menu .menu-sublink-wrapper{
    padding: 0;
    margin: 0;
}

.main-drop-menu li.menu-sublinks {
    list-style-type: none;
    width: 100%;
    margin: 0;
    padding: 0; 
    border-bottom: 1px solid #323b44;
}
.main-drop-menu li.menu-sublinks:first-child {
    border-top: 1px solid #323b44;
}    
.main-drop-menu li.menu-sublinks:last-child {
    border-bottom: 0 none;
}
.main-drop-menu a.menu-sublink{
    color:#ffffff;
    text-decoration: none;
    padding: 0 2.5em;
    display: block;
    line-height: 2.6em;
}

.main-drop-menu .last{
    border-bottom: none !important;
}

.main-drop-menu .menu-links>div.link-wrapper:active, 
.main-drop-menu .menu-sublinks>div.link-wrapper:active{
    background-color: #428bca;
}

.main-drop-menu .menu-links>div.link-wrapper:active>a.menu-link{
    border-bottom-color: #428bca;
}

.main-drop-menu a.menu-sublink:active{
    background-color: #428bca;
}
.main-drop-menu .menu-footer {
    background-color: #323b44;height: 2.5em;width: 100%;
}
/* end main drop menu */

/* start drop menu */
.drop-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: #434d58;
    padding: 1em;
    position: absolute;
    min-width: 16em;
    font-size: 1.8em;
    box-sizing: border-box;
    z-index: 10000;
}

.drop-menu::after{
    content: '';
    position: absolute;
    right: 0.5em; 
    top: -1em;
    border: 0.5em solid transparent;
    border-bottom: 0.5em solid #434d58;
}

.drop-menu .drop-menu-link {
    display: block;
    color:#ffffff !important;
    text-decoration: none;
    font-size: 1em;
    text-align: right;
    line-height: 1.1em;
    white-space: nowrap;
} 

.drop-menu .column {
    width: 50%;
}

.drop-menu span.title {
    padding-right: 0.7em;
    font-size: 1em;
    line-height: 1.9em;
}
/* end menu */

.master-box {
    padding: 0 1em;
    font-size: 2em;
}
.smart-form {
    padding: 0.5em 0 0;
    font-size: 2em;
}
.smart-form .master-box {
    font-size: 1em;
}  
.smart-form .row-wrapper {
    margin: 0 auto;
    padding: 0.5em 1em 0;
 }
 .smart-form .row-flex {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
 }
.smart-form .row-wrapper .label,
.smart-form .row-wrapper .row-label {
    font-size: 0.95em;
}    
.smart-form .row-wrapper label.label,
.smart-form .row-wrapper label.row-label {
    display: block;
    padding: 0.2em 0;
}
.smart-form .row-wrapper .txtfield {
    width: 100%;
    padding: 0.3em;
    font-size: 1em;
    border: 0.05em solid #999999;
    box-sizing: border-box;
}
.smart-form .row-wrapper .txtarea {
    width: 100%;
    height: 10em;
    padding: 0.3em;
    font-size: 0.8em;
    border: 0.05em solid #999999;
    box-sizing: border-box;
}
.smart-form .row-wrapper .far,
.smart-form .row-wrapper .fas {
    font-size: 1em;
    color: #46a5e5;
    padding: 0.3em;
}    
.smart-form .row-wrapper .datefield {
    width: 8em;
    padding: 0.3em;
    font-size: 1em;
    border: 0.05em solid #999999;
    box-sizing: border-box;
}
.smart-form .row-wrapper .select {
    width: auto;
    max-width: 100%;
    padding: 0.3em;
    font-size: 1em;
    border: 0.05em solid #999999;
    box-sizing: border-box;
}
.smart-form .row-wrapper .button {
    width: 100%;
    margin: 0.2em 0 0;
    line-height: 2.25;
    font-size: 1em;
    border: 0 none;
    box-sizing: border-box;
    text-align: center;
    background-color: #418bca;
    color: white;
}
.chkbox-label input.chkbox,
.smart-form .row-wrapper input[type=radio] 
{
    height: 1.5em;
    width: 1.5em; 
    margin-left: 0.5em;
    vertical-align: middle;
}    
.chkbox-label {
    font-size: 1em;
    margin-left: 1em; 
    white-space: nowrap;    
}
.smart-form .row-wrapper .columns 
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap; 
    justify-content: space-between;
}
.smart-form .row-wrapper .columns .column2 {
    width: 50%;
    padding: 0 0.5em 0 0;
    box-sizing: border-box;
    white-space: nowrap;
}
.smart-form .row-wrapper .columns .column3 {
    width: 33.33%;
    padding: 0 0.5em 0 0;
    box-sizing: border-box;
    white-space: nowrap;
}
.smart-form .row-wrapper .columns .column4 {
    width: 25%;
    padding: 0 0.5em 0 0;
    box-sizing: border-box;
    white-space: nowrap;
}
.smart-form .row-wrapper .fa-calendar {
    font-size: 1.5em;
    padding: 0;
    vertical-align: top;
}
.smart-form .row-wrapper .columns .column:first-child {
    padding: 0 0 0 0;
 }
 .smart-form .second-table-wrapper {
    margin-top: 0.8em;
    padding: 0.8em 0.5em;
    border-top: 1px solid #d8dce0;
}
.smart-form .second-table-title {   
    padding: 0.5em 1em; 
    width: 100%;
    box-sizing: border-box;
    background-color: #418bca;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}   
.form-link {
    color: #46a5d5;
    vertical-align: middle;
}
.form-colors {
    text-align: right;
}
.form-colors .color {
    display: inline-block;
    margin: 0.5em;
    width: 1.5em;
    height: 1.5em;
    border: 1px solid black;
    line-height: 1.5em;
    vertical-align: top;
    text-align: center;
}
.form-colors .color>span {
    display: none;
}
.form-colors .color.selected>span {
    display: inline-block;
}
/* calendar appointments */
#tcalendar_appointments .calendar-row .item a,
#tcalendar_appointments .calendar-row .item a:visited,
#tcalendar_appointments .calendar-row .item a:active ,
#tcalendar_appointments .calendar-row .item a:hover, 
#tcalendar_appointments .record-title a,
#tcalendar_appointments .record-title a:visited,
#tcalendar_appointments .record-title a:active ,
#tcalendar_appointments .record-title a:hover 
{
    color: inherit;    
} 
/* end calendar appointments */
/* start calender */
.cal-column {
    width: 100%;
    font-size: 1.5em;
}
.cal-column .item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    background-color: #d9edf7;
    border-bottom: 0.36em solid #ffffff;
    color: #000000;
}  
.cal-column .item-bg {
    width: 1em;
}
.cal-column .item-content {
    width: 100%;
    background-color: #d9edf7;
    padding-right: 2.8em;
    box-sizing: border-box;
    padding-bottom: 1em;
    text-align: right;
}
.cal-column .item-action {
    width: 4em;
    background-color: #b9dcef;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-column .item-action .fa-history {
    vertical-align: top;
    font-size: 1.2em;
    color: #847567; 
 }
.cal-column .item-content .title {
    font-size: 1.2em;
    font-weight: 700;
    margin:0.65em 0 0 0;
    padding: 0;
}
.cal-column .item-content .preview {
    display: block;
    padding: 0.1em 0.5em;
    margin: 0.1em;
    font-size: 0.95em;
    font-family: inherit;    
}
.cal-column .item-content a {
    color: #000000;
}
.cal-column .item-content .main-text {
    font-size: 1.2em;
    margin:0em;
    padding: 0;
    line-height: 1em;
}

.cal-column .item-content .main-text2{
    margin-top: 0.4em;
    margin-bottom: 0.2em;
}
.cal-column .item-content .secondery-text{
    font-size: 1em;
    margin-top: 0.1em;
}

.cal-column .item-content .record-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}
.cal-column .item-content .record-links > .record-link-wrapper {
    padding: 0.5em;
}
.cal-column .item-content .category-link
{
    font-size: 1em;
    color: #000;
    padding-top: 0.5em;
}
.cal-column .item-content .link-clients 
{
    margin: 0.2em;
    font-size: 1em;
    color: #000;
}

.cal-column .item-content .category-list, .clients-list {
    font-size: 1em;
    margin: 0.2em;
    padding: 0 0.3em;
    list-style: none;
 }
 .cal-column .item-content .category-list > li {
    margin-top: 0.6em;
}     
 .cal-column .item-content .category-list > li > a {
    display: block;
    padding: 0.6em;
}     
.cal-column .fa-square {
    color:#95a6b0;
    font-size: 1.5em;
}
.cal-column .fa-check-square {
    color:#4c82ba;
    font-size: 1.5em;
}

.cal-column .item > .record-menu {
    width: auto;
    background-color: #b9dcef;
    text-align: center;
    padding: 0 0.5em;
    min-width: 4em;
    box-sizing: content-box;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.cal-column .item > .record-menu.small {
    width: 1.4em;
    min-width: 1.4em;
}
.cal-column .item > .record-menu > a {
    color: #428bca;
}
.cal-column .item > .record-menu > .record-rid {
    background-color: #418bca;
    color: #fff;
    border-radius: 0.4em;
    padding: 0.4em;
    margin-bottom: -0.2em;
}


/* end calender */

/* start list */
.page-list-title-btn {
    width: 3em;
    text-align: center;
    color: #46a5e5;
    font-size: 1.8em;
}
.page-list-title-btn>a {
    color: #46a5e5;
    text-decoration: none;
    font-size: 1.8em;
    white-space: nowrap;
    width: 100%;
    display: block;
}
.page-list-title-btn>a.back {
    font-size: 1em;
}
.page-list-title-btn>a.save {
    font-size: 1em;
}
.search-panel {
    padding: 0 0 1.2em;   
}
.table-list {
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0 none;
}
.record-row {
    font-size: 1.8em;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    background-color: #d9edf7;
    margin: 0;
    padding: 0;
    border-bottom: 0.2em solid white;
}
.table-list .record-row {
    display: table-row;
    text-align: right;
}
.record-row > .record-menu {
    width: auto;
    background-color: #b9dcef;
    text-align: center;
    padding: 0 0.5em;
    min-width: 4em;
    box-sizing: content-box;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.record-row > .record-menu.small {
    width: 1.4em;
    min-width: 1.4em;
}
.record-row > .record-menu > a, .item a.record-menu {
    color: #428bca !important;
}

.record-row > .record-menu > .record-rid {
    background-color: #418bca;
    color: #fff;
    border-radius: 0.4em;
    padding: 0.4em;
    margin-bottom: -0.2em;
}
.record-row > .record-info {
    padding: 0.5em 1em;
    width: 100%;
}
.record-row > .record-info > a, .contact-details {
    color: #428bca;
    text-decoration: underline;  
}
.record-row > .record-info > .record-title {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0.2em 0;
}
.record-row > .record-info > .record-descr {
    font-size: 0.8em;
    padding: 0.2em 0;
}
.record-row > .record-action {
    width: 4em;
    background-color: #b9dcef;
    display: flex;
    flex-direction: column;align-items: center;justify-content: center;padding: 0;text-align: center;
}
.record-action .fas,
.record-action .far {
    color: #95a6b0;
    font-size: 1.5em;
}
.record-action .far.fa-check-square {
    color:#4c82ba;
}  
.record-row input.chkbox {
    height: 1.5em;
    width: 1.5em; 
    margin-left: 0.5em;
    vertical-align: middle;
}  
.record-row .select {
    width: auto;
    max-width: 100%;
    padding: 0.1em;
    font-size: 1em;
    border: 0.05em solid #999999;
    box-sizing: border-box;
}
.record-levels {
    height: 2em;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.record-levels > .record-level {
    height: 0.8em;
    width: 0.8em;
    background-color: #c9c9c9;
    margin-right: 0.2em;
}
.record-levels > .record-level.current {
    background-color: #418bca;
}
div.bottom-lnk-wrapper {    
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items:stretch;
    width: 100%;
    box-sizing: border-box;
    padding: 0 1em;
    line-height: 2.8em;
    height: 2.8em;
    font-size: 2em;
    color: #253b80;
    background-color: #fff;
    margin: 0;
}
.bottom-lnk-title, .bottom-lnk-btn {
    height: 100%;
}
.bottom-lnk-btn {
    color: #46a5e5;
}
/* end list */

/* start view page */
.view-links-panel {
    display: flex;
    align-items: stretch;
    justify-content: space-around;    
    flex-wrap: wrap;
    padding: 0.8em 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: #b9dcef;
    color: #438bca;
    font-size: 1.8em;
    line-height: 2;
}
.view-links-panel .link {
    text-decoration: none;
    color: #438bca;
}
.view-content {
    width: 100%;
    padding: 0 1.2em 1em;
    box-sizing: border-box;
}
.ui-dialog .view-content {
    padding: 0;
}
.view-content .row-wrapper {
    display: flex;
    font-size: 1.5em;
}
.view-content .row-wrapper>.title {
    width: 25%;
    margin: 0.4em 0 0; 
    padding: 0.3em; 
    box-sizing: border-box;
    background-color: #418bca;
    color: #fff;
}
.view-content .row-wrapper>.value {
    width: 75%;
    margin: 0.4em 0.4em 0 0; 
    padding: 0.3em; 
    box-sizing: border-box;
    background-color: #d9edf7;
}
.view-content .section-header {
    font-size: 1.8em;
    padding: 0.4em 0.3em 0.1em; 
}
/* end view page */
/* presence */
.time-clock-img {
    height: 50%;
    font-size: 20em;
    text-align: center;
    color: #d3e6f5;
}
.time-clock-btns {
    text-align: center;
    font-size: 2em;
}
.time-clock-btns .time-clock-btn {
    display: block;
    margin: 0 auto;
    padding: 1em;
    width: 80%;
    background-color: #418bca;
    color: #fff;
    text-decoration: none;
}
.smart-form .time-clock-btns.two-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1em;
}
.time-clock-btns.two-buttons .time-clock-btn {
    width: 40%; 
    font-size: 1em;
}
.time-clock-btns.two-buttons .time-clock-btn:first-child {
    padding-right: 0;
    margin-right: 0;
}
.time-clock-btns.two-buttons .time-clock-btn:last-child {
    padding-left: 0;
    margin-left: 0;
}
/* end presence */

/* documents */
.doc-link {
    color: #46a5d5;
    vertical-align: middle;
}
.doc-link.disabled {
    color: #b0bec5;
    cursor: default; 
}
.doc-lines-wrapper {
    margin-top: 0.8em;
    padding: 0.8em 0.5em;
    font-size: 1.3em;
    border-top: 1px solid #d8dce0;
}
.doc-lines-title {   
    padding: 0.5em 1em; 
    width: 100%;
    box-sizing: border-box;
    background-color: #418bca;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.doc-lines-add .far,
.doc-lines-add .fas {
    padding: 0 !important;
}
.doc-lines-tbl {
    padding: 0;
    margin: 0;
    border: 0 none;
    font-size: 0.8em;
    width: 100%;
}
.doc-lines-tbl>tbody>tr,
.doc-lines-tbl>thead>tr,
.doc-lines-tbl>tfooter>tr {
    padding: 0;
    margin: 0;
    border: 0 none;
}
.doc-lines-tbl>tbody>tr>td,
.doc-lines-tbl>thead>tr>td,
.doc-lines-tbl>tfooter>tr>td {
    padding: 0;
    margin: 0;
    border: 0.2em solid transparent;
    border-collapse: collapse;
}
.doc-lines-tbl tr.doc-lines-head {
    background-color: #418bca;
    color: white;
}
.doc-lines-tbl tr.doc-lines-data {
    background-color: #d9edf6;
    color: #666;
}
.doc-lines-tbl tr.doc-lines-total {
    background-color: #b9dcef;
    color: #666;
}
.doc-lines-tbl .txtfield {
    color: #888;
    border-radius: 0.3em;
    border: 1px solid #999;
    padding: 0.3em;
    box-sizing: border-box;
    font-size: 1em;
}
.doc-lines-tbl .doc-lines-action {
    text-align: left;
}
.doc-lines-tbl-wrapper {
    padding-top: 1em;
}
.doc-lines-totals-wrapper {
    padding-top: 1em;
}
.items-box {
    display: flex;
    flex-wrap: wrap;
}
.items-box .item {
    width: 10em;
    min-height: 10em;
    border: 1px #ccc solid;
    margin: 1em;
    padding: 1em;
    border-radius: 1em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.items-box .item .item-details {
    text-align: right;    
}
.items-box img.pic {
    width: 90%;
    height: auto;
    max-height: 90%;
}
.signature_img_wrapper {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0.5em 1em 0;
    height: 10em;
    border: 1px #ccc solid;
}
.signature_img {
    width: 100%;
    height: 100%;
    background-color: white;
}
.comments {
    padding: 20px 0 10px;    
    margin-bottom: 1em;
    border-right: 5px solid #1cb9c8;
    padding-right: 10px;
    background-color: #f3f3f3;
}

.record-messages-wrapper {
    display: block;
    width: 100%;
    max-height: 50%;
    overflow-y: auto;
}
.record-messages {
    width: 100%;
}
.record-messages .message {
    clear: both;
    width: 66%;
    background-color: white;
    border-color: #f5f5f5;
    border-radius: 10px; 
    padding: 5px;
    margin: 5px;
    float: right;
}
.record-messages .message.self {
    float: left;    
    border-color: #ccc;
    
    background-color: #f5f5f5;
}
.record-messages .sep {
    width: 100%;
    clear: both;
}
/* documents */
#ui-datepicker-div{
    z-index:8900 !important;
    font-size: 1.8em;
}
.ui-autocomplete li {
    font-size: 1em !important;
}    
.ui-dialog {
    font-size: 2em !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;
}  
.ui-dialog .view-links-panel {
    font-size: 1em;
}
.ui-dialog .view-content .row-wrapper {
    font-size: 1em;
}
.ui-dialog .page-list-title-btn {
    font-size: 1em;
} 
.ui-widget-content a {
    color: #46a5d5 !important;
}    
.ui-dialog h1.page-title,.ui-dialog  h2.sub-title { 
    font-size: 1.4em;
} 
input[type="button"][disabled], input[type="submit"][disabled], input[type="reset"][disabled], input[type="file"][disabled]::-webkit-file-upload-button, button[disabled], select[disabled], optgroup[disabled], option[disabled], select[disabled] > option {
    color: rgba(176, 190, 197, 1) !important;
    background-color: #dbe4e8 !important;
} 
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    display: flex;
    justify-content: space-between;
    float: none !important;
}  

.ui-tabs .ui-tabs-nav li {
    float: right;
}
.tabs-wrapper .tab:first-child {
    margin: 0 0 0 5px;
}
.tabs-wrapper .tab:last-child {
    margin: 0 5px 0 0;
}
.ui-widget .ui-dialog-buttonset .ui-button { 
    font-size: 1.3em;
}
.confirm-dialog .ui-dialog-buttonset .ui-button {
    width: 40% !important;
}   
