html,
body,
table {
   font-family: 'Lato', sans-serif;
   font-size: 1.0em;
   box-sizing: border-box;
   margin: 0px;
   padding: 0px;
}

body::after {
   content: "";
/*   opacity: 0.2; */
   top: 0;
   left: 0;
   bottom: 0;
   right: 0;
   position: absolute;
   z-index: -1;   
}


/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}




.wide {
//   font-size: 1.2em;
}


.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    background-color: #111; 
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 40px;
    text-align:center;
}

#main {
    transition: 0.5s;
    overflow: auto;
}


.sidenav a {
    padding: 8px;
    text-decoration: none;
    font-size: 1.2em;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover{
    color: #f1f1f1;
}

.sidenav
.closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

#closebtn {
    color:white;
    font-weight: bold;
    padding: 0px;
}


.dropdown {
    overflow: hidden;
}

.dropdown 
.dropbtn {
    margin: 0;
    padding: 8px;
    font-size: 1.2em;
    color: #818181;
    background-color: inherit;
    border: none;
    outline: none;
}

.dropdown_container {
    display:inline-block;
    margin-left: 24px;
}

.dropdown-content {
    display: none;
    z-index: 1;
}

.dropdown-content ul {
    margin: 0px;
    padding: 0px;
/*    padding-left: 40px; */
}

.dropdown-content ul li {
    margin: 0px;
    padding: 0px;
    text-align: left;
    color: #818181;
    list-style-type: none;
    padding-left:20px;
}

.dropdown-content ul li:hover {
    color: #f1f1f1;
}

.dropdown-content ul li:before {
    color: red;
}

.dropdown-content a {
    float: none;
    text-decoration: none;
    display: block;
}

.dropdown:hover 
.dropdown-content {
    display: block;
}

h1 {
    font-size: 1.2em;
    margin: 0px;
}

.ta_c { 
    text-align: center; 
}

.ui-widget { font-family: 'Lato', sans-serif; }
.ui-accordion .ui-accordion-header { border-radius: 10px; padding: 2px; }
.wide .ui-accordion .ui-accordion-header { padding: .5em .5em .5em .7em; }
.ui-accordion .ui-accordion-content { border-color: grey; background: transparent; border-radius: 10px; padding: 5px; padding-top: 0px; padding-bottom: 0px; }
.left_right_pane { width:100%;display:inline-block;vertical-align:top;border: 1px solid grey;border-radius:10px;padding:10px;box-sizing: border-box; margin-bottom: 10px;}
.wide .left_right_pane { width:49%; }
.wide #selected  { float: right; }



.txt_white {
    color:white;
}

.ib {
    display: inline-block;
}

.p2 {
    padding:2px;
}

.p5 {
    padding:5px;
}

.p10 {
    padding:10px;
}

.space10 {
    height: 10px;
}

.fa_btn {
    cursor:pointer;
}
.fa_btn_12 {
    font-size: 1.2em;
    cursor:pointer;
}
.fa_btn_14 {
    font-size: 1.4em;
    cursor:pointer;
}
.fa_btn_16 {
    font-size: 1.6em;
    cursor:pointer;
}
.fa_btn_18 {
    font-size: 1.8em;
    cursor:pointer;
}
.fa_btn_20 {
    font-size: 2em;
    cursor:pointer;
}


.t_14 {
    font-size: 14px;
}

.t_16 {
    font-size: 16px;
}

.line_title {
   padding-top: 10px;
   border: 1px solid grey; 
   border-left: 0px; 
   border-right: 0px; 
   border-top: 0px;
}

.section_title {
    border: 1px solid grey;
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
}

.app { 
    vertical-align: top;
    border: 0px;
    margin: 5px;
    padding: 5px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    padding-bottom: 0px;
}

.app_title_bar { 
    height:18px;
    overflow:hidden;
    padding-right:30px;
    position:relative;
    border-bottom: 1px solid darkgrey;
    padding-bottom: 3px;
}

.app_title_bar_close { 
    position:absolute;
    right:1px;top:0px;
}




.app_img_container {
    display:table-cell;
    vertical-align: top;
}

.app_txt_container {
    display:table-cell;
    width:100%;
    vertical-align: top;
    padding-top: 5px;
}

/* On mini, we hide the following */
.mini .app_img_container,
.mini .app_txt_container,
.mini .img_part {
    display:none;
}



.app_right_container {
    display:table-cell;
    width:50px;
    vertical-align: top;
    padding-top: 5px;
}

.app_txt_container .details {
    max-height:40px;
    overflow:hidden;
    font-size:80%;
}

.app_right {
    text-align: right;
    width: 80px;
    overflow: hidden;
}

.app_right div {
    display: block;
    overflow: hidden;
}

.ImgWithSbScroller select option:first-child {
  background: lime;
}
/*
.ImgWithSbScroller select option:last-child {
  background: red;
}
*/

.app_img {
  margin:5px;
  height:50px;
  width:50px;
  border-radius: 8px;
  border: 1px solid grey;
}

.app_time,
.app_price {
  font-size: 80%;
  height:28px;
}

.app_selector .app_title_bar_close {
     display: none;
}


.app_selected .app_price, 
.app_selected .app_time {
     display:none;
}




#app_multiple { 
     border: 1px solid grey; 
     border-left:0px; 
     border-right:0px; 
     border-bottom:0px;
}

.half_left {
     vertical-align:top;
     display:inline-block;
     width:49%;
     text-align:right;
}
.half_right {
     vertical-align:top;
     display:inline-block;
     width:49%;
     text-align:left;
}

#datepicker_container {
     height:240px;
}


#top_bar {
    padding: 5px;
    position: fixed;
    z-index: 10;
    height: 40px;
    box-sizing: border-box;
    width: 100%;
    padding-left:10px;
}

#top_bar_title {
    padding-left:34px;
    padding-right:66px;
    height: 26px;
    overflow: hidden;
    text-align:center;
}

#top_bar_mnu {
    width:100%;
    margin-top: -26px;
    z-index:30;
    position:relative;
}

#top_bar_mnu_icon {
    font-size: 2em;
    cursor:pointer;
    margin-top: 0px;
}

#top_bar_right {
    position:absolute;
    right:6px;
    top:6px;
    display:inline-block;
}

#top_bar_right_container {
    z-index:30;
    position:relative;
    text-align:right;
}

#page {
    height: 100%;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
}

#page_header {
    background: black;
}

#page_header_content {
    box-sizing: border-box;
    overflow: hidden;
}

#page_header_content_names {
    position: fixed;
    z-index: 50;
}


#page_header_content_images {
    margin-top:24px;
}

.empl_sel_with_img {
  margin: 8px;
}

.empl_sel_with_img img {
   border-radius: 100px;
   background: white;
   border: 2px solid #818181;
   -webkit-box-shadow: 0px 0px 4px 4px rgba(255,255,255,1);
   -moz-box-shadow: 0px 0px 4px 4px rgba(255,255,255,1);
   box-shadow: 0px 0px 4px 4px rgba(255,255,255,1);
}

.empl_sel_with_img a {
   background: transparent !important;
}

.empl_name_under_img {
   height: 24px;
   overflow: hidden;
}

.table_row {
    box-sizing: border-box;
    display: table;
    width: 100%;
    table-layout: fixed;
}



.table_cell {
    box-sizing: border-box;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.cal_header_cell {
    height: 19px;
    overflow: hidden;
}

.cal_body_cell {
    height: 69px; /* 3 * 33 */
    outline: 1px dotted /* #CCCCCC #eeffeb */ #e0e0e0 /* #ebebeb */;
    outline-offset: -1px;
    outline-style: dashed;
    text-align: left;
    position:relative;
    vertical-align:top;
}


.cal_header_cell:first-child, 
.cal_header_cell:last-child, 
.cal_body_cell:first-child, 
.cal_body_cell:last-child {
    width: 40px;
    font-size: 90%;
}

.cal_body_cell:first-child, 
.cal_body_cell:last-child {
    background: lightgrey;
}


.small .cal_body_cell:first-child {
    font-size: 90%;
}

.small .cal_header_cell:last-child,
.small .cal_body_cell:last-child {
    display:none;
}

.small .cal_body_cell {
    height:102px; /* 3 * 34 */
    font-size: 80%;
}

.event {
   position:relative;
   width: 100%;
   box-sizing: border-box;
   z-index: 1;
   height: 0px;
}

.event_container {
   margin:2px;
   padding:2px; 
   border-radius:8px;
   background:#111;
   color:white;
   -webkit-box-shadow: inset 0px 0px 4px 4px rgba(255,255,255,0.5);
   -moz-box-shadow: inset 0px 0px 4px 4px rgba(255,255,255,0.5);
   box-shadow: inset 0px 0px 4px 4px rgba(255,255,255,0.5);
   overflow: hidden;
   height: 100%;
}

.event .title,
.event .customer,
.event .comment {
   overflow:hidden;
   overflow-wrap: 
   break-word;
   word-break: break-all;
}
.event .title,
.event .customer {
    max-height: 19px;
}
.event .title {
    font-weight:bold;
    margin-left: -2px;
    margin-right: -2px;
    margin-top: -2px;
    padding-top: 2px;
}
.event .customer {
    color: yellow;
}
.event .comment {
    font-style:italic;
}

.small .event {
    height: 90px; /* 6 + 90 + 6 = 102 */
}

.small .event .title,
.small .event .customer {
   max-height: 30px;
}

#new_app_container {
    position:absolute;
    bottom:60px;
    right:60px;
}

.small #new_app_container {
    bottom:6px;
    right:6px;
}

#new_app {
    font-size:4em;
}

.small #new_app {
    font-size: 1.8em;
}

#top_nav_row {
    background: black;
    color: white;
}

.rnd_nav {
   border: 1px solid grey;
   padding: 2px;
   margin: 2px;
   border-radius: 40px;
   min-width: 14px;
   cursor: pointer;
}


.hide_me {
    display:none !important;
}

.none {
    text-decoration: none;
}

@media screen  {
  .sidenav {padding-top: 15px;}
  .sidenav a { font-size: 1.2em }
}



.day_green a { background: lime !important; }
.day_red a { background: red !important;}
.day_half a { 
    color: white !important;
    background: #10fc00 !important; 
    background: -moz-linear-gradient(-45deg, #10fc00 40%, #ff0000 60%) !important;
    background: -webkit-linear-gradient(-45deg, #10fc00 40%,#ff0000 60%) !important; 
    background: linear-gradient(135deg, #10fc00 40%,#ff0000 60%) !important; 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#10fc00', endColorstr='#ff0000',GradientType=1 ) !important;
}


#datepicker_overlay {
    position: relative;
    height: 124px;
    top: -224px;
    background: lightgray;
    padding-top: 100px;
    opacity: 0.7;
}

.time_unit {
    display: inline-block;
    width: 60px;
    border: 1px solid grey;
    border-radius: 5px;
    margin-top: 10px;
    margin-left:2px;
    margin-right: 2px;
    cursor: pointer;
}

.sh {
   -webkit-box-shadow: 0px 0px 4px 4px rgba(0,0,0,0.3);
   -moz-box-shadow: 0px 0px 4px 4px rgba(0,0,0,0.3);
   box-shadow: 0px 0px 4px 4px rgba(0,0,0,0.3);
}

.sh_small {
   -webkit-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.2);
   -moz-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.2);
   box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.2);
}

.top_nav {
    padding: 5px;
    border-radius: 10px;
    font-size: 90%;
    border: 1px solid grey;
    margin:4px;
    border: 1px solid #003eff !important;
    background: #007fff !important;
    color: #ffffff;
}


.top_nav:link,
.top_nav:visited,
.top_nav:hover,
.top_nav:active {
    color: #ffffff;
}

.ui-accordion-header {
   -webkit-box-shadow: 0px 0px 4px 4px rgba(0,0,0,0.3);
   -moz-box-shadow: 0px 0px 4px 4px rgba(0,0,0,0.3);
   box-shadow: 0px 0px 4px 4px rgba(0,0,0,0.3);
}


#bg_img_container {
   overflow: hidden;
   position: absolute;
   height: 100%;
   width: 100%;
   top: 0px;
   bottom: 0px;
   z-index: -1;
}

#bg_img {
   opacity: 0.2;
   min-height: 100%;
   min-width: 100%;
}

marquee {
   height: 20px;
}

.txt_red {
   color: red;
}

.txt_green {
   color: lime;
}

.ui-widget-overlay {
    background: black;
    opacity: .4;
    filter: Alpha(Opacity=40);
}

.accordion_btn {
   font-size: 1em;
   padding: .5em;
   border-radius: 10px;
   cursor: pointer;
}

.clicker {
   cursor: pointer;
}

.note_txt {
   height:40px; 
   width:100%;
   padding:0px;
}

/* .active_cal_cell { */
.active_cal_cell .event .event_container {
    border: 4px solid red !important;
    background: white;
    opacity: 1;
    color: grey;
}

.active_cal_cell .event .event_container .customer {
    color: grey;
}

.app_selected .clicker {
     cursor: default;
}

#add_app_close_btn {
     color: grey;
     font-size: 1.3em;
}

#add_app_close_btn:hover {
     color: red;
}


/* JARALLAX BG IMG */

.jarallax {
    position: relative;
    z-index: 0;
}
.jarallax > .jarallax-img {
    position: absolute;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
#jarallax-container-0 {
    opacity: 0.7;
}


/* IMG_SCROLLER BEGIN */

  .ImgWithSbScroller img { border: 1px solid grey; border-radius: 5px; width: 40px; height: 40px; display:  none; }
  .ImgWithSbScroller img.selected { display: inline-block; }
  .ImgWithSbScroller .tc { display: table-cell; vertical-align: middle; }
  .ImgWithSbScroller .tc.arrow_left { font-size: 1.4em; cursor: pointer; }
  .ImgWithSbScroller .tc.arrow_right { font-size: 1.4em; cursor: pointer; }
  .ImgWithSbScroller select { width: 80px; }

/* IMG_SCROLLER END */



/* MSG BEGIN */

    #msg_container { position:fixed; top:0px; width:100%;padding:0px;margin:0px;z-index:9999; }
    #msg_container_border { margin:10px; }
    #msg_txt { display:inline-block;vertical-align: top; }

    .msg_icon .fa.fa-check { font-size: 18px; display:none; }
    .msg_icon .fa.fa-times { font-size: 18px; display:none; }
    .msg_icon .fa.fa-exclamation-triangle { font-size: 18px; display:none; }

    .msg       { padding: 10px; border: 3px solid grey; border-radius: 10px; text-align:center;display:none;}
    .msg.error { background-color: rgb(255, 153, 153); border-color: red; }
    .msg.ok    { background-color: rgb(0, 255, 78); border-color: green; }
    .msg.warn  { background-color: rgb(255,165,0); border-color: #ff5722; }

    .msg_icon { width: 24px; height: 24px; border-radius: 40px; display:inline-block;vertical-align: top;}

    .msg.ok    .msg_icon { /* border: 2px solid green; */ }
    .msg.error .msg_icon { /* border: 2px solid red; */}
    .msg.warn  .msg_icon { /* border: 2px solid orange; */ }

    .msg.ok    .msg_icon .fa.fa-check { display:inline-block; }
    .msg.error .msg_icon .fa.fa-times { display:inline-block; }
    .msg.warn  .msg_icon .fa.fa-exclamation-triangle { display:inline-block; }

/* MSG END */
