* {
    box-sizing:border-box;
    /*
    width: 100%;
    height: 100%;
    */
    margin: 0;
    padding: 0;
}


.hidden {
    display: none !important;
}
.cf:after {
    content: "";
    display: block;
    clear: both;
}


html {
    width: 100%;
    height: 100%;
}
body {
    width: 100%;
    height: 100%;
    margin: 0;

}
body.page_staff.index {
    font-size: 0.9vw;
}


.top-bar {
    display: none;
}
.header {
    position: fixed;
    width: 100%;
    height: 60px;
    background: #ddd;
    /* padding: 0.6em 2em; */
    color: #fff;
}
.header h1 {
    display: inline;
    margin: 0;
    font-size: 140%;
    font-weight: bold;
}
.header h1 a {
    width: auto;
    margin-left: 60px;
    padding: 0.4em 1em;
    text-decoration: none;
    line-height: 260%;
}
/*
.header .site-logo {
    font-size: 140%;
    font-weight: bold;
}
.header .login_info {
    float: right;
    line-height: 210%;
}
*/

.menu_trigger {
    /*display: none;*/
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 3em;
    height: 3em;
    background: #ccc;
}
.menu_trigger:before {
    content: '\e5d2';
    font-family: 'Material Icons';
    line-height: 3rem;
    font-size: 2rem;
    text-align: center;
}

.menu_trigger .material-icons {
    line-height: 48px;
    width: 100%;
    text-align: center;
}

.header_sub {
    background: #aaa;
}
.header_menu_wrap {
    float: right;
    width: 10em;
}
.header_menu {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    background: #eee;
}
.header_menu.collapse {
    display: none;
}
.header_menu li {
    display: inline-block;
    width: 100%;
}
.header_menu li a {
    display: inline-block;
    width: 10em;
    padding: 0 1em;
    background: #ddd;
    border-top: solid 1px #eee;
    border-bottom: solid 1px #666;
    line-height: 3em;
    color: #333;
    text-decoration: none;

}
.header_menu li ul {
    
    display: none;
    /* height: auto; */
    position: absolute;
    background: #ccc;
    margin: 2.35em 0 0 -10em;
}
.header_menu li ul li {
    display: block;
}
.header_menu li:hover ul {
    display: inline-block;
}


.top .main_menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}
.top .main_menu li {
    display: flex;
    flex-wrap: wrap;
    width: 200px;
    height: 200px;
    margin: 5px;
    padding: 0;
    border: solid 1px #ddd;
    
}
.top .main_menu li a {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 1em;
    background: #fff;
    text-decoration: none;
}


.main {
    width: 100%;
    height: 100%;
    padding: 60px 0 0 0;
}
.content {
    
    width: 100%;
    height: calc(100vh - 60px - 2em);
    /*max-width: 1000px;*/
    margin: 0 auto;
    padding: 1em 1em;
}
.content h1 {
    font-size: 1rem;
}
.content_header {
    
}
.content_header h1 {
    display: inline-block;
    margin: 0.4em 2em;
    font-size: 1em;
}
.content_header h1 .separator {
    padding: 0 0.6em;
    color: #aaa;
}
.content_menu {
    display: inline-block;
}
.content_menu li {
    display: inline-block;
    list-style: none;
}
.btn {
    margin: 0 0;
    padding: 0.4em 1em;
    border: solid 0px #ddd;
}
.btn:hover {
    background: limegreen;
    color: #fff;
}


.table.models {
    margin: auto;
    width: 100%;
}
table thead tr th {
    background: #ccc;
}
table tr:nth-of-type(even) {
    background: #eee;
}
.models a.asc:after {
    content: '▲';
}
.models a.desc:after {
    content: '▼';
}


ul.table {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 30em;
    margin: auto;
    line-height: 2em;
    list-style: none;
}
ul.table li.holiday {
    background: #ccc;
}
ul.table li.sunday {
    background: #ccc;
}
ul.table li.saturday {
    background: #ccc;
}
ul.table li span {
    display: inline-block;
    text-align: center;
}
ul.table li span.day {
    width: 2em;
}
ul.table li span.weekday {
    width: 2em;
}


#content_header {
    display: flex;
    width: 100%;
}
#content_header h2 {
    width: 8em;
}
#content_header_menu {
    display: flex;
    width: calc(100% - 8em);
    list-style: none;
}
#content_header_menu li a {
    margin: 0.2em;
    padding: 0 1em;
    background: #fff;
    text-decoration: none;
    line-height: 2em;
}


.pager_wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 2em;
    margin: 0.5em 0;
    text-align: center;
    line-height: 2em;
}
.page_link {
    display: inline-block;
    width: 6em;
    height: 100%;
    margin: 0 0.4em;
    padding: 0;
    background: #ddd;
}
.page_link a {
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    text-align: center;
    text-decoration: none;
    
}
.page_link a.invalid {
    display: none;
}



#pager {
    align-items: center;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}
#pager li {
    display: inline-block;
    width: 3em;
    background: #fff;
    text-align: center;
}
#pager li a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
#pager li.assessed {
    background: #ccc;
}
#pager li.current_page {
    background: lime;
}

#segmenter {
    width: auto;
    margin: auto;
    display: flex;
    align-items: center;
    list-style: none;
}
#segmenter li {
    float: left;
    display: inline-block;
    width: 3em;
    margin: 0.2em;
    background: #fff;
    text-align: center;
}
#segmenter li a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
#segmenter li.assessed {
    background: #ccc;
}
#segmenter li.current_seg {
    background: lime;
}



#assess_item .criterions {
    display: flex;
    flex-wrap: nowrap;
}
#assess_item .criterions > button {
    display: flex;
    flex-direction: column;
    padding: 0.4em 0.6em;
    line-height: 120%;
}
#assess_item .criterions > button > .assess_point {
    display: block;
    width: 100%;
    padding: 0.3em;
}


#popup_value_input {
    display: none;
}
#popup_value_input select {
    display: block;
    float: left;
    margin: 0;
}
#popup_value_input input {
    display: block;
    float: left;
    margin: 0;
}
#popup_value_input input[type="button"] {
    width: 1.8em;
    line-height: 1.2em;
    padding: 0.2em 0.4em;
    border: solid 1px #ccc;
}
#value_submit {
    background: lime;
}
#value_cancel {
    background: #666;
    color: #fff;
}




#table_assess {
    list-style: none;
}
#table_assess th,
#table_assess td {
    width: auto;
    padding: 0.2em 1em;
}
#table_assess .content {
    height: auto;
}



dl.table {
    display: flex;
    flex-wrap: wrap;
}
#assess_item {
    width: 100%;
}
#assess_item > dt {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 8em;
    border-bottom: solid 1px #ccc;
    background: #ddd;

}
#assess_item > dd {
    width: calc(100% - 8em);
    border-bottom: solid 1px #ccc;
    padding: 0.4em 1em;
}
#assess_item > dd button {
    width: 100%;
    max-width: 20em;
    margin: 0.4em auto;
    box-shadow: 2px 2px 5px #ccc;
    text-align: center;
    font-size: 1rem;
    line-height: 200%;
}


h1 {
    display: inline-block;
    width: auto;
}
h1 a {
    text-decoration: none;
}
a.prev_date:before {
    content: '\e5e0';
    font-family: 'Material Icons';
    line-height: 3rem;
    /*font-size: 2rem;*/
    background: #ddd;
    padding: 0.25em 0 0.25em 0.5em;
    text-align: center;
    border-radius: 1.5rem;
}
a.next_date:before {
    content: '\e5e1';
    font-family: 'Material Icons';
    line-height: 3rem;
    /*font-size: 2rem;*/
    background: #ddd;
    padding: 0.25em;
    text-align: center;
    border-radius: 1.5rem;
}

.page_staff.index button {
    font-size: 1em;
    padding: 0.2em 0.8em;
}



#orders_table th,
#orders_table td {
    height: 1.4vw;
    padding: 0.2em 0.8em;
}

.tabledit-delete-button :before {
    content: '\e872';
    font-family: 'Material Icons';
}



.view_changer {
    display: inline-block;
    float: right;
    margin-right: 6rem;
    width: auto;

}
.view_changer span {
    width: 0;
    overflow: hidden;
}
.view_changer span.icon:before {
    font-family: 'Material Icons';
}
.view_changer span.view_icon {
    color: #ccc;
    border: solid 1px #ccc;
}
.view_changer span.view_icon.active {
    color: royalblue;
    border: solid 1px royalblue;
}
.view_changer span:before {
    display: block;
    width: 2rem;
}
.view_changer span.list_view:before {
    content: '\e241';
}
.view_changer span.grid_view:before {
    content: '\e3ec';
}


ul.calender {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 760px;
    margin: auto;
    line-height: 2em;
    list-style: none;
}
ul.calender li {
    width: calc(calc(100% - 14px) / 7);
    border: solid 1px #ccc;
    box-sizing: border-box;
    margin: 1px;
}



.FilterForm .input {
    float: left;
    width: auto;
}
.FilterForm .input label {
    float: left;
    width: auto;
    padding: 0.5rem 0.8rem;
}
.FilterForm .input input,
.FilterForm .input select {
    float: left;
    width: auto;
}
.FilterForm .input select {
    -webkit-appearance: listbox !important;
    -moz-appearance: listbox !important;
}



span.icon {
    /*position: relative;*/
    display: inline-block;
    float: right;
    /* right: 1rem; */
    box-sizing: border-box;
    width: 2rem;
    height: 2rem;
    margin: 0 2px;
    border: solid 1px royalblue;
    font-size: 1.4rem;
    line-height: 2rem;
    color: royalblue;
    text-align: center;
    
}
span.icon:before {
    font-family: 'Material Icons';
}
span.edit_icon {
    color: royalblue;
    border: solid 1px royalblue;
}
span.edit_icon:before {
    content: '\e3c9';
}
span.person_icon {
    color: royalblue;
    border: solid 1px royalblue;
}
span.person_icon:before {
    content: '\e7fd';
    font-family: 'Material Icons';
}
span.vehicle_icon {
    color: royalblue;
    border: solid 1px royalblue;
}
span.vehicle_icon:before {
    content: '\e531';
}



.popup {
    /*display: none;*/
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -300px 0 0 -300px;
    width: 600px;
    height: 600px;
    background: #eee;
    z-index: 1000;
}
.popup_inner {
    height: 100%;
}
.popup.loaded {
    background-image: url(/img/loader_blueline.gif);
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
}
.popup.loaded .popup_inner {
    background: #eee;
}
.popup_header {
    text-align: center;
    
    border-bottom: solid 1px #ccc;
}
/*
.popup_header:before {
    content: '\e5c9';
    position: absolute;
    right: 0;
    font-family: 'Material Icons';
    font-size: 36px;
    
}
*/
.popup_header h2 {
    margin: 0.4em 0 0.6em;
    font-size: 2em;
}
.popup_header .separator {
    padding: 0 0.6em;
    color: #aaa;
}
.popup_header .close {
    float: right;
    width: 0.8em;
    height: 0.8em;
    margin-top: -1.2em;
    margin-right: 0.3em;
    padding: 0em;
    line-height: 0.78em;
    font-size: 48px;
    color: #888;
    /*border: solid 1px #888;*/
}
.popup_header .close:hover {
    background: transparent;
    color: green;
}
.popup_body form {
    padding: 1em 2em;
    border-top: solid 1px #fff;
}
.popup_body form .input {
    margin: 0 0 1em 12em;
    
}
.popup_body form .input label {
    float: left;
    width: 12em;
    margin-left: -12em;
    padding: 0.4em 0.8em;
    background: #ccc;
    border: solid 1px #ccc;
    font-size: 100%;
    line-height: 140%;
    text-align: left;
    cursor: auto;
}
.popup_body form .input input {
    padding: 0.4em 0.8em;
    font-size: 100%;
    line-height: 140%;
}
.popup_body form .input select {
    margin: 0;
}
.popup_body form .input.button {
    padding: 0;
}
.popup_body form .input.button button {
    margin: 0;
    padding: 0.4em 0.8em;
    font-size: 100%;
}
.required label:after {
    content: '＊';
    color: red;
    font-weight: bold;
    line-height: 140%;
    margin-left: 0.6em;
}
.btn_wrap {
    text-align: center;
    margin: 2em 0 0;
}


#popup_date {
    display: inline-block;
    width: auto;
    height: auto;
    
}



.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
}
.scrn {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
}
.scrn.hidden {
    display: none;
}


table.checklist {
    width: 460px;
    margin: auto;
    border-collapse:  collapse;
}
table.checklist th,
table.checklist td {
    padding: 0.2em 1em;
    border: solid 1px #ccc;
}



.page_staff.dispatch .personnel_wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}
.page_staff.dispatch .personnel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
}
.page_staff.dispatch .personnel .post {
    line-height: 300%;
}
.page_staff.dispatch .personnel li {
    box-sizing: border-box;
    width: 8em;
    margin: 0.4em 0.4em;
    padding: 0 1em;
    border: solid 1px #ccc;
    list-style: none;

}
.page_staff.dispatch .personnel > li {
    width: 10em;
    border: solid 1px #ccc;
    

}





.popup_vehicles .popup_body > dl {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    
}
.vehicle_types,
.vehicle_subtypes {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
}
.vehicle_types dt,
.vehicle_subtypes dt {
    width: 140px;
}
.vehicle_types dd,
.vehicle_subtypes dd {
    width: 100%;
}
.vehicle_types dd dd,
.vehicle_subtypes dd dd {
    width: calc(100% - 140px);
}
.vehicles {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.vehicles li {
    box-sizing: border-box;
    width: 4em;
    margin: 0.4em 0.4em;
    padding: 0 1em;
    border: solid 1px #ccc;
    list-style: none;
    
}



.page_staff.index ul.orders {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    /*justify-content: center;*/
    margin-bottom: 2px;
    border: solid 1px #ccc;
    list-style: none;
}
.page_staff.index ul.orders li {
    display: flex;
    margin-bottom: 2px;
    border: solid 1px #ccc;
    
}
.page_staff.index ul.orders li div {
    padding: 0.4em 1em;
}
.page_staff.index ul.orders li .customer {
    width: 20em;
}
.page_staff.index ul.orders li .service_division {
    width: 10em;
}
.page_staff.index ul.orders li .waste_item {
    width: 20em;
}
.page_staff.index ul.orders li .vehicle_type {
    width: 10em;
}



.page_staff.dispatch ul.orders {
    display: flex;
    flex-wrap: wrap;
    /*justify-content: center;*/
    list-style: none;
}
.page_staff.dispatch ul.orders.list {
    flex-direction: column;
}
.page_staff.dispatch ul.orders.grid {
    flex-direction: row;
}

.page_staff.dispatch ul.orders .order .order_main {
    display: flex;
    flex-wrap: wrap;
}
.page_staff.dispatch .list .order_main {
    flex-direction: row;
    width: calc(90% - 20em);
}
.page_staff.dispatch .grid .order_main {
    flex-direction: column;
    width: auto;
}
.page_staff.dispatch ul.orders .order .order_sub {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    /*width: 8rem;*/
}
.page_staff.dispatch .list .order_sub {
    /*flex-direction: column;*/
    width: 20em;
}
.page_staff.dispatch .grid .order_sub {
    flex-direction: row;
    width: 8rem;
}
.page_staff.dispatch ul.orders .order .order_sub .dispatch {
    width: 4rem;
    height: 2rem;
    background: #ccc;
    border: solid 1px #fff;
    line-height: 2rem;
    text-align: center;
}
.page_staff.dispatch ul.orders .order .order_sub .dispatch .dispatched {
    background: limegreen;
    
}
.page_staff.dispatch ul.orders li.order {
    display: flex;
    justify-content: space-between;

    border: solid 1px #ccc;
    margin: 2px 1rem;
    padding: 0.4rem 1rem;
    
}
.page_staff.dispatch ul.orders.list li.order {
    width: calc(100% - 4em);
}
.page_staff.dispatch ul.orders.grid li.order {
    width: 20rem;
}
.page_staff.dispatch .order.transportation {
    background: rgb(194, 231, 243);
}
.page_staff.dispatch .order.disposal {
    background: rgb(248, 216, 221);
}
.page_staff.dispatch .order.transportation.disposal {
    background: rgb(221, 177, 221);
}



/*
dl.checklist {
    width: 460px;
    margin: auto;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
}
dl.checklist dt {
    float: left;
    clear: both;
    width: 6em;
    border-top: solid 1px #ccc;
}
dl.checklist dd {
    float: left;
    
}
dl.checklist label {
    float: left;
}
dl.checklist dd > label {
    box-sizing: border-box;
    width: 140px;
    padding: 0.1em 1em;
    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;
}
dl.checklist dd > .singlecheck {
    float: left;
    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;
}
*/




@media screen and (max-width: 1024px){
        .header_sub {
            display: none;
        }
        .header_sub.open {
            display: block;
        }
        .menu_trigger {
            display: block;
        }
    }