@font-face {
    font-family: TheMixB_plain;
    /*src: url(https://plotter-service.easyasset.ch/static/fonts/themixb-w5plain-webfont.eot);*/
    /*src: url(https://plotter-service.easyasset.ch/static/fonts/themixb-w5plain-webfont.eot?#iefix) format("embedded-opentype"), url(https://plotter-service.easyasset.ch/static/fonts/themixb-w5plain-webfont.woff) format("woff"), url(https://plotter-service.easyasset.ch/static/fonts/themixb-w5plain-webfont.ttf) format("truetype"), url(https://plotter-service.easyasset.ch/static/fonts/themixb-w5plain-webfont.svg#themixbw5_plain) format("svg");*/
    font-weight: 400;
    font-style: normal;
}

body {
    color: #212427;
    font-family: 'TheMixB_plain', sans-serif;
}

.react-grid-Main {
    outline: 0;
}

.react-grid-Grid {
    border: 1px solid #e9ecef;
}

.react-grid-Toolbar {
    height: auto;
    text-align: right;
    border: 1px solid #e9ecef;
    border-bottom: none;
}

.react-grid-Toolbar .tools {
    float: none;
}

.react-grid-Toolbar .btn {
    font-family: 'TheMixB_plain', sans-serif;
}

.react-grid-HeaderRow {
    background-color: #e5e5e5;
}

.react-grid-HeaderCell {
    padding: .75rem;
    font-weight: 400;
    border-right: 1px solid #e5e5e5;
    background-color: #e5e5e5;
}

.react-grid-Row:hover {
    background-color: #fafafa;
}

.react-grid-Cell {
    padding: .75rem;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #e9ecef;
}

.react-grid-Cell--locked:last-of-type {
    border-right-color: #fff;
}

.react-grid-Row.row-context-menu .react-grid-Cell,
.react-grid-Row:hover .react-grid-Cell {
    background-color: #fafafa;
    border-right-color: #fafafa;
}

.react-grid-Row.row-selected .react-grid-Cell,
.react-grid-Row .row-selected .react-grid-Cell {
    border-right: #dbecfa;
}

.react-grid-Cell:focus {
    outline: 2px solid #0081ab;
}

.react-grid-Cell:focus .drag-handle {
    background-color: #0081ab;
}

.react-grid-Cell:hover:focus .drag-handle {
    border-color: #0081ab;
}

.react-grid-checkbox + .react-grid-checkbox-label:before {
    width: 20px;
    height: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
}

.react-grid-checkbox:checked + .react-grid-checkbox-label:before {
    background-color: #0081ab;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #0081ab;
}


.react-grid-checkbox:checked + .react-grid-checkbox-label:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 5px;
    left: 7px;
    width: 6px;
    height: 14px;
    border: 1px solid #fff;
    border-top: none;
    border-left: none;
    -webkit-transform: rotate(40deg);
    -ms-transform: rotate(40deg);
    transform: rotate(40deg);
}


input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea, select {
    border: 1px solid #e0e0e0;
    padding: 7px;
    font-size: 14px;
    border-radius: 3px;
    color: #5d5b5d;
    text-align: left !important;
}

input[type="email"]:focus, input[type="number"]:focus, input[type="search"]:focus, input[type="text"]:focus, input[type="tel"]:focus, input[type="url"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
    border-color: #4da7c4;
}


.js-plotly-plot .plotly .modebar-btn path,
.js-plotly-plot .plotly .modebar-btn.active path,
.js-plotly-plot .plotly .modebar-btn:hover path {
    fill: #5d5b5d;
}


.js-plotly-plot .plotly [data-title]::before {
    border-color: transparent transparent #5d5b5d;
}

.js-plotly-plot .plotly [data-title]::after {
    background: #5d5b5d;
    border-radius: 3px;
}


._dash-loading {
    position: relative;
    margin: 0 auto;
    color: #212427;
    text-align: center;
}

._dash-loading:before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    border: 3px dotted #212427;
    border-radius: 30px;
    margin: 10px auto;
    -webkit-animation: spin 4s infinite linear;
    animation: spin 4s infinite linear;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

td.CalendarDay {
    padding: 0;
}


.CalendarDay__selected, .CalendarDay__selected:active, .CalendarDay__selected:hover {
    background-color: #0081ab;
    border-color: #0081ab;
}

.CalendarDay__selected_span {
    background-color: #4da7c4;
    border-color: #4da7c4;
}

.CalendarDay__selected_span:active, .CalendarDay__selected_span:hover {
    background-color: #0081ab;
    border-color: #0081ab;
}


.DateRangePickerInput__withBorder {
    border: none !important;
}

.DateRangePickerInput_arrow {
    margin-left: 5px;
    margin-right: 5px;
}

.reporting-timerange-header,
.reporting-orders-header,
.reporting-maintenances-header,
.reporting-maintenances-details-header {
    /*margin-top: 30px;*/
    /*margin-bottom: 5px;*/
    background-color: #efeeef;
    padding: 5px;
}
.reporting-table-div thead td {
    font-weight: 700;
}

.reporting-maint-container-div {
    display: flex;
    flex-wrap: wrap;
    /*margin: 8px;*/
    /*border: 1px solid #f2f2f2;*/
}

.reporting-maint-div {
    flex: 1;
    box-sizing: border-box;

    padding: 15px;
    /*border-radius: 3px;*/
    margin-right: 8px;
    /*box-shadow: 0 0 4px #cecdce;*/
    border: 1px solid #cecdce;
}

.reporting-maint-div:last-of-type {
    margin-right: 0;

}

.reporting-maint-div > div:first-child > strong {
    display: block;
    margin: -15px -15px 15px;
    padding: 15px;
    background-color: #efeeef;
    color: #5a585a;
    font-weight: 400;
    font-size: 18px;
    text-transform: uppercase;
}

.reporting-maint-div > div:not(:first-child) {
    text-align: left;
    display: flex;
    align-items: baseline
}

.reporting-maint-div > div:not(:first-child) > span {
    display: inline-block;
    /*text-align: center;*/
    color: #5a585a;
}

.reporting-maint-div > div:not(:first-child) > span + span {
    margin-left: auto;
    font-size: 48px;
    color: #0081ab;
}

@media only screen and (max-width: 1200px) {
    .reporting-maint-div {
        flex: 30%;
    }
}

@media only screen and (max-width: 760px) {
    .reporting-maint-div {
        flex: 50%;
    }
}

@media only screen and (max-width: 500px) {
    .reporting-maint-div {
        flex: 100%;
    }
}

.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner input:not([type=radio]):not([type=checkbox]) {
    text-align: left;
}
#search-data-table {
    display: none;
}

.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner th.dash-filter:hover input.dash-filter--case--sensitive {
    visibility: hidden;
}

.leaflet-popup-row {
    display: flex;
}

.leaflet-popup-row > div:first-of-type {
    margin-right: 1rem;
    font-weight: bold;
}

.leaflet-popup-row > div:last-of-type {
    margin-left: auto
}

.leaflet-popup-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}
.leaflet-control-zoom {
}
/*.leaflet-control-container .leaflet-top.leaflet-left { position: absolute; left: auto; right: 10px; }*/
/*.leaflet-control-container .leaflet-top.leaflet-left { position: absolute}*/
.leaflet-top .leaflet-control-zoom {
    top: 50%;
    right: 10%;
    /*transform: translateX(-200%);*/
    margin-top: 0;
    z-index: 800;
    margin-right: 10px!important;
    float: right!important;
}
.fa.fa-map-marker:before {
   font-family: "FontAwesome";
   content: "\f041";
}

.reporting-maint-div > div > span,
.reporting-maint-div > div > strong {
    white-space: nowrap;
}

.marker-cluster-small {
    background-color: rgba(218, 94, 94, 0.6);
}

.marker-cluster-small div {
    background-color: rgba(226, 36, 36, 0.6);
}

.marker-cluster-medium {
    background-color: rgba(241, 211, 87, 0.6);
}

.marker-cluster-medium div {
    background-color: rgba(240, 194, 12, 0.6);
}

.marker-cluster-large {
    background-color: rgba(253, 156, 115, 0.6);
}

.marker-cluster-large div {
    background-color: rgba(241, 128, 23, 0.6);
}

/* IE 6-8 fallback colors */
.leaflet-oldie .marker-cluster-small {
    background-color: rgb(181, 226, 140);
}

.leaflet-oldie .marker-cluster-small div {
    background-color: rgb(110, 204, 57);
}

.leaflet-oldie .marker-cluster-medium {
    background-color: rgb(241, 211, 87);
}

.leaflet-oldie .marker-cluster-medium div {
    background-color: rgb(240, 194, 12);
}

.leaflet-oldie .marker-cluster-large {
    background-color: rgb(253, 156, 115);
}

.leaflet-oldie .marker-cluster-large div {
    background-color: rgb(241, 128, 23);
}

.marker-cluster {
    display: inline-block!important;
    /*justify-content: center!important;*/
    /*align-items: center!important;*/
    background-clip: padding-box;
    border-radius: 50%!important;
    background-color: #4da7c4;
    text-align: center!important;
    /*transform: none!important;*/
}

.marker-cluster div {
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    width: 36px!important;
    height: 36px!important;
    margin-left: 5px;
    margin-top: 5px;

    text-align: center!important;
    border-radius: 50%!important;
    font: 12px "Helvetica Neue", Arial, Helvetica, sans-serif;
    background-color:#0081ab;
}

.marker-cluster span {
    line-height: 30px;
}

.infocont-a {
    grid-area: area1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: scroll;
}
.infocont-b {
    grid-area: area2;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: scroll;
}
.infocont-c {
    grid-area: area3;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: scroll;
}
.infocont-d {
    grid-area: area4;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: scroll;
}

.dashboard-container {
    height: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 50% 50%;
    grid-template-areas:
        "area1 area2"
        "area3 area4";
}

.modal-dialog {
        max-width: 600px;
}

.modalCamera {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    padding: 30px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0s linear 0.1s, opacity 0.3s ease;
}

.modalCamera.open{
    visibility:visible;
    opacity: 1;
    transition-delay:0s;
    z-index: 2000;
}

.modalCamera__overlay{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 21;
    background-color: rgba(0,0,0,0.7);
}

.modalCamera__close{
    position: absolute;
    top: 0px;
    right: 0px;
    border: none;
    outline: none;
    background: none;
    font-size: 24px;
    color: #747474;
    font-weight: bold;
}

.modalCamera__close:hover{
    color: #000;
}

.modalCamera__buttonContainer{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.modalCamera__camera{
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: #0081ab;
    border: none;
    box-shadow:  0 0 10px #000;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: unset;
}

.modalCamera__camera img{
    width: 38px;
    height: 38px;
}

.modalCamera__camera > svg {
    width: 100%;
    height: 100%;
}

.modalCamera__camera > svg > use{
    fill: white;
}

.modalCamera__explorer{
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: #0081ab;
    border: none;
    box-shadow:  0 0 10px #000;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: unset;
}
.modalCamera__explorer img{
    width: 38px;
    height: 38px;
}

.modalCamera__explorer > svg {
    width: 100%;
    height: 100%;
}

.modalCamera__explorer > svg > use{
    fill: white;
}

.modalCamera__container{
    position: relative;
    z-index: 22;
    width: 300px;
    height: 75px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow:  0 0 10px #fff;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    text-align: center;
}

#pic-taker {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    user-select: none;
}

#pic-taker > .pic-taker-div {
    box-sizing: border-box;
    width: 100%;
    height: 80%;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
}

#pic-taker > .pic-taker-div >#player{
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
}

#pic-taker > .pic-taker-div > .pic-taker-canvas{
    display: none;
    width: 100%;
    height: 100%;
}

#pic-taker > .pic-taker-close{
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    outline: none;
    background: none;
    font-size: 24px;
    color: #747474;
    font-weight: bold;
}

#pic-taker > .pic-button-container {
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#pic-taker > .pic-button-container > .pic-button-taker {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    background-color: transparent;
    border: none;
}
#pic-taker > .pic-button-container > .pic-button-taker > img {
    width: 80px;
    height: 80px;
}

#pic-taker > .pic-button-container > .pic-button-icon-taker{
    min-height: 100px;
    min-width: 100px;
    height: 100px;
    width: 100px;
}
