body{
    background: #f2f5fa;
    font-family: Segoe UI,Frutiger,Frutiger Linotype,Dejavu Sans,Helvetica Neue,Helvetica,Arial,sans-serif;
    margin:0;
}

h2{
    font-size: 1.125em;
}

iframe{
    border:0;
    margin:0;
    padding:0;

}

::-webkit-scrollbar  {
    width: 5px;
}
::-webkit-scrollbar-track {
    background-color: white;
}
::-webkit-scrollbar-thumb {
    background-color: #dadce0;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #c2c3c7;
}


#main-wrapper{
    display: flex;
    flex-flow: column;
    height: 100vh;
}

input, select, textarea  {

    padding: 6px 12px;
    padding-left: 10px;
    border: 1px solid#b0b0b0;
    text-align: left;
    display: block;
    font-size: 14px;
    line-height: 1.42857143;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

#logo{
    padding: 0.5em 1em;
}
#logo img{
    background:white;
    border-radius: 50px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
    height: 30px;  
}
#login-header img {
    background:white;
    border-radius: 50px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
    width: 270px;
}
button, input[type="submit"] {
    box-shadow:inset 0px 1px 0px 0px #97c4fe;
    background-color: #1677CB;
    border:none;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    font-family:'Open sans';
    padding:6px 24px;
    text-decoration:none;
    text-shadow:0px 1px 0px #1570cd;
    text-align:center;
    height: 2.2em;
    font-size: 1.1em;
    align-self: center;
    white-space: nowrap;
}
button:hover, input[type="submit"]:hover{
    background:linear-gradient(to bottom, #1e62d0 5%, #3d94f6 100%);
	background-color:#1e62d0;
}
button:active, input[type="submit"]:active{
    position:relative;
    top:1px;
}
#content-wrapper{
    display: flex;
    flex-grow: 1;
    max-height: calc(100% - 1em - 30px);
}

#ticket-filters-section, #report-menu-section{
    background-color:#444a59;
    color:#a7a9ae;
    display: flex;
    flex-flow: column;
    min-width:13.5em;
    user-select: none;
}
#ticket-filters-section ul, #report-menu-section ul{
    list-style-type: none;

    margin: 0;
    padding: 0;
}
#ticket-filters-section ul li, #report-menu-section ul li{
    padding: 0.5em 1em;
    white-space:nowrap;
    display: flex;
    justify-content: space-between;
}
#ticket-filters-section ul li .requiresAttention{
    background: #ff7544;
    align-content: center;
    justify-content: center;
    display: flex;
    text-align: center;
    padding: 0 0.45em;
    border-radius: 11em;
    color: #e6e6e6;
}
#filter-clearing-zone{
    flex: 1;
    justify-content: center;
    align-items: center;
    display: flex;
    transition: 1s;
    color: #444a59;
}
#filter-clearing-zone:hover{
    color: #a7a9ae !important;
    cursor:pointer;
    box-shadow: inset 0 0 10px #000000;
}

#ticket-filters-section ul li.active, #report-menu-section ul li.active {
    background-color: #696e7a;
    color: #fff;
    cursor:pointer;
}
#ticket-filters-section ul li.active, #ticket-filters-section ul li:hover, #report-menu-section ul li.active, #report-menu-section ul li:hover{
    color: #fff;
    cursor:pointer;
}
#ticket-list-section{
    display: flex;
    flex-flow: column;
    border-right: 1px solid #ccc;
    flex-basis: 16%;
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;
}
#filter-section ul{
    list-style-type: none;
}
#filter-section ul li{
    display:inline-block;
    background: linear-gradient(to bottom, #3d94f6 5%,#1e62d0 100%);
    border: 1px solid#337fed;
    color:white;
    padding:5px;
}
#filter-section ul li:first-child{
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}
#filter-section ul li:last-child{
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}
.ticket{
    border-bottom: 1px solid #ccc;
    padding:10px;
    color: #444;
    font-size: smaller;
}
.ticket.active, .ticket:hover{
    background-color: #e6e6e6;
    cursor:pointer;
}
.ticket-header{
    display: flex;
    align-items: center;
}

.customer-letter{
    color:white;
    padding: 0.6em;
    border-radius: 5px;
    margin: 5px;
    font-size: larger;
    min-width: 1.5em;
    min-height: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}
.mail-received{
    background-image: url(/theme/ico/mail-sent.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.ticket-customer{
    font-weight:bold;
    color: #2f2f2f;
    box-sizing: border-box;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ticket-title{
    box-sizing: border-box;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ticket-message{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color:#b3b3b3;
}
.full-width{
    width: 100%;
}
#tickets-wrapper{
    background: white;
    overflow-y: auto;
    scrollbar-width: thin;
    flex-grow: 1;
}
.new-ticket-1-of-2{
    width:49%;
    margin:0;
    margin-bottom:5px;
}
.new-ticket-1-of-1{
    width:100%;
    margin:0;
    margin-bottom:5px;
    font-size: 0.85em;
    color: #484848;
}


#ticket-search{
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #c7c7c7;
}    

#ticket-list-notice{
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #6e6e6e;
    padding: 0 0.5em 0 0.5em;
    text-align: center;
}

#ticket-detail-section{
    display: flex;
    flex-grow: 1;
}


#new-ticket-button{
    box-shadow: inset 0px 1px 0px 0px #97c4fe;
    background-color: #1677CB;
    border: none;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: 'Open sans';
    font-size: 1.4em;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #1570cd;
    text-align: center;
    height: auto;
    white-space: nowrap;
    border-radius: 0;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    color: #2976b9;
    font-weight: bold;
    border-bottom: 1px solid #cccccc;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.separator.red{
    color: #b92929;
}


#ticket-settings-wrapper{
    background:white;
    border-left: 1px solid#ccc;
    padding: 10px;
}
#ticket-settings-wrapper button{
    margin-bottom:1em;
}


.ticket-editor{
    display: flex;
    flex-flow: column;
}

.ticket-editor select, .ticket-editor select option, .ticket-editor #clientMail, .ticket-settings-option{
    font-size: 0.85em;
    color: #484848;
    font-family: Segoe UI,Frutiger,Frutiger Linotype,Dejavu Sans,Helvetica Neue,Helvetica,Arial,sans-serif;
}


.ticket-settings-row{
    display: flex;
    align-items: baseline;
    flex-grow:1;
    justify-content: space-between;
    margin-bottom: 5px;
    flex-wrap: nowrap;
    max-width: 100%;
}

.ticket-settings-row.no-baseline{
    align-items: unset;
}

.ticket-settings-text{
    font-size: 0.8em;
    padding-right: 1em;
}
.ticket-settings-option{
    flex-grow:1;
}

input[type="submit"].ticket-settings-option{

}

.ticket-settings-row input, .ticket-settings-row select {
    border: 1px solid#b0b0b0;
    text-align: left;
    max-width: 19em;
}

#month-date-field{
    max-width: unset;
    text-transform: capitalize;
}




 /* The switch - the box around the slider */
 .switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    transform: translateX(13px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 17px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  } 

.settings-section{
    display: flex;
    flex-flow:column;
}
.settings-section form{
    display: flex;
    justify-content: space-around;
}
.settings-list-unit{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.settings-list-unit:nth-child(even){
    background: #f7f7f7;
}
.grid-span{
    border-bottom:1px solid grey;
}
.grid-span.toggle{
    align-self: center;
    justify-self: center;
}


#settings-menu-section{
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}
#settings-menu-section button{
    margin: 5px;
}

.settings-list-unit-text{
    width:2em;
}

.settings-table th{
    text-align: start;
}
.settings-table .settings-list-row:nth-child(even){
    background: #f7f7f7;
}
.settings-table .settings-list-row:hover{
    background: #c2c2c2;
    cursor:pointer;
}


#report-section{
    width:100%;
    display:flex;
    margin-top:40px;
    align-items: center;
    text-align: center;
    flex-flow: column;
}
.full-width{
    width:100%;
}

.strong{
    font-weight:bold;
}


h3{
    display: flex;
    align-items: center;
    text-align: center;
    color: #2976b9;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0;
}




#report-sussu{
    max-width: 400px;
}


.hours-entry{
    display:flex;
    justify-content: space-between;
}

#client-hours-section:empty{
    display: none
}
#client-hours-section{
    display: flex;
    flex-flow: column;
    width: 100%;
    max-width: 325px;
    background: white;
    padding: 0.5em;
    border: 1px solid #bfbfbf;
}

#client-hours-section .hours-entry:nth-child(odd){
    background:#f1f1f1;
}


#report-content-section{
    display: flex;
    flex: 1;
    padding: 0 20px 0 20px;
    flex-flow: column;
    max-height: 83vh;
}

#hours-wrapper{
    display: flex;
    flex-flow: row;
    margin-top: 20px;
    height: 100%;
    background: #e1e6f1;
    border: 1px solid #cfd3dc;
    
}

#myday-wrapper, #mymonth-wrapper{
    display: flex;
    flex-flow: column;
    flex: 1;
    margin: 20px;
    
}
#myday-wrapper{
    overflow-x: hidden;
}

#mymonth-wrapper{
    
    flex: 0;

}

.report-entry-line .description{
    word-break: break-word;
    flex-basis: 0;
    flex-grow: 1;
    font-family: Roboto, sans-serif;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-size: .775rem;
    line-height: 1.25rem;
    letter-spacing: .0178571429em;
    text-decoration: inherit;
    text-transform: inherit;
    box-sizing: border-box;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #808080;
}

.report-entry-line .date{
    display: flex;
    flex-flow: row;
}
.date .alphabetical{
    width: 1.6em;
}


.report-work-entry{
    display: flex;
    flex-direction: column;
    padding: 5px;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgba(0,0,0,.12);
    cursor:pointer;
    border-right: 1px solid rgba(0,0,0,.12);
    flex-shrink:0;
}
.report-work-entry.weekend{
    color:#ca0000;
}


.report-work-entry.timeAlert{
    color:#ff0000;;
}

.report-work-entry:hover{
    background-color: rgba(0,0,0,.04);
}

.report-work-entry-title{
    display: flex;
    flex-direction: column;
    padding: 5px;
    margin-bottom: 20px;
}


.report-entry-line{
    display: flex;
    justify-content: space-between;
}

.report-title-line{
    display: flex;
    justify-content: space-between;
}
.report-title-line.day{
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}



.report-entry-line:nth-child(odd):not(:only-child){
}

.report-entry-line .data-field{
    flex-basis: 0;
    flex-grow: 1;
    font-family: Roboto, sans-serif;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 400;
    letter-spacing: .0178571429em;
    text-decoration: inherit;
    text-transform: inherit;
    box-sizing: border-box;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space:nowrap;
}
.report-title, .booking-entry{
    font-size: 1.4em;
    color: #545454;
    white-space: nowrap;
}

.booking-entry{
    margin: 0 1em;
    font-size: 0.9em;
}

#todays-bookings{
    display: flex;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
}

.report-date{
    margin-left:20px;
}

.report-table-wrapper{
    background: white;
    background-color: #fff;
    background-color: var(--mdc-theme-surface, #fff);
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0,0,0,.12);
    -webkit-overflow-scrolling: touch;
    display: inline-flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow-x: auto;
}
#month-table-wrapper{
    background:none;
    border: none;
}




.report-work-entry.day{
    background:white;
}
.report-work-entry.empty{
    background:none;
    height: 0.7em;
    border: none;
    cursor:initial;
}

.report-work-entry.header .report-entry-line .data-field{
    font-weight:bold;
}

.red-submit{
    background-color: #cb1627 !important;
    text-shadow: 0px 1px 0px #4e0000 !important;
}
.red-submit:hover{
    background: linear-gradient(to bottom, #d01e1e 5%, #f63d3d 100%) !important;
}

.ticket-title p {
    margin:0;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 1.2em;
}

