/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 05 Jul 2021, 09:30:39
    Author     : robert
*/

body {
    margin:0px;
    background-color:#FFF;
    font-size: 16px;    
}
/*General styles*/
#marker-menu{
    position: absolute;
    display: none;
    width: 150px;
    border: 1px solid lightgray;
    box-shadow: 0px 5px 8px gray;
    z-index: 2;
    background-color: lightgray;
    padding: 10px 0 10px 0;

}

#marker-menu a{
    display: table-cell;
    vertical-align: middle;
    text-decoration: none;
    color: black;
    padding: 10px;
}

#marker-menu div:hover{
    background-color: lightblue;
    color: white;
}

#netmap-login button{
    background-color: #ff6336;
    color: white;
    border:none;
    border-radius: 5px;
}

#fullscreen-button{
    background: none rgb(255, 255, 255);
    border: 0px;
    margin: 10px;
    padding: 0px;
    position: absolute;
    cursor: pointer;
    user-select: none;
    border-radius: 2px;
    height: 40px;
    width: 40px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    overflow: hidden;
    top: 0px;
    right: 0px;
}

.text-button{
    color:#4a4949;
    background-color: transparent;
    border: 1px solid #4a4949;
    min-height: 30px;
    min-width: 80px;
    font-weight: bold;
}

.text-button:hover{
    color: black;
    border-color: black;
    cursor: pointer;
}

.lds-dual-ring {
    display: none;
    width: 80px;
    height: 80px;
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
    z-index: 3;
}
.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 6px solid #fff;
    border-color: #0356a8 transparent #0356a8 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

.asset-loader{
    width: 10px;
    height: 10px;
    border-radius: 10px;
    border: 3px solid gray;
    border-bottom: 3px solid #FF6226;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#slider-container{
    width: 406px;
    z-index: 1;
    margin: auto;
}

#slider-outer-container{
    width: 472px;
    margin: auto;
    position: relative;
    left: 50px;
    background-color: whitesmoke;
    box-shadow: black 0px 1px 4px -1px;
    padding: 5px;
}

#slider-range-back:hover, #slider-range-forward:hover{
    cursor: pointer;
}

#slider-range-back, #slider-range-forward{
    vertical-align: middle;
}

#single-file-upload, #multiple-file-upload{
    display: inline-block;
    vertical-align: top;

}

.file-loader{
    position: absolute;
    top: 80px;
    right: 10px;
    width: 180px;
    height: 110px;
    background-color: white;
}

.loader-text{
    position: absolute;
    inset: 28px 0px 0px 0px;
    margin: auto;
    font-weight: bold;
    color: black;
    width: 24px;
    height: 18px;
}

.location-error{
    position: absolute;
    inset: 0 0 0 0;
    background-color: white;
    z-index: 3;
}

#cancel-message{
    animation: cancel-flicker 1.5s linear infinite;
    margin-left: 5px;
}

@keyframes cancel-flicker {
    0% {
        color: black;
    }
    50%{
        color: lightgray;
    }
    100% {
        color: black;
    }
}

.left-side-panel{
    position: fixed;
    height: 100%;
    width: 100%;
    right: 100%;
    left: -100%;
    top: 0;
    bottom: 0;
    background-color: #151c25;
    z-index: 10000;
    transition: 0.5s;
}

.left-panel-show{
    left: 0;
    right: 0;
}

.left-panel-hide{
    left: -100%;
    right:100%
}

div.left-side-panel .k-switch-on .k-switch-container{
    background-color: #151c25 !important;
}

div.left-side-panel .k-switch-off .k-switch-container{
    background-color: #151c25 !important;
    color: #bbb !important;
}

div.left-side-panel span.k-dropdown-wrap.k-state-default{
    background-color: #151c25;
    background-image: none;
}
div.left-side-panel span.k-dropdown-wrap.k-state-default:hover{
    background-color: #242f3e;
}
div.left-side-panel span.k-dropdown-wrap.k-state-default.k-state-focused{
    background-color: #242f3e;
}
div.left-side-panel span.k-dropdown-wrap.k-state-default span.k-input{
    color: white;
}
div.left-side-panel .k-dropdown .k-dropdown-wrap .k-select {
    color: white;
}
/*
[data-role="popup"]{
    background-color: #333 !important;
    color: white !important;    
}
[data-role="popup"] ul li[class="k-item k-state-hover"], [data-role="popup"] ul li[class="k-item k-state-selected k-state-focused"] {    
    background-color: #FF6226;
}*/

.menu-show-button{
    width: 40px;
    height: 40px;
    text-align: center;
    color: #4a4949;
    background-color: white;
    box-shadow: rgba(0,0,0,0.3) 0px 1px 4px -1px;
}
.menu-show-button:hover{
    color: black;
    cursor: pointer;
}
.menu-close-button{
    color: white;
}
.menu-close-button:hover{
    cursor: pointer;
    color: #bbb;
}

mobile-timestamp-selector{
    display: none;
}
.big-timestamp-selector{
    display: inline-block;
}
@media only screen and (max-width: 375px) {
    div.media-container{
        justify-content: center !important;
    }
    mobile-timestamp-selector{
        display: inline;
    }
    .big-timestamp-selector{
        display: none;
    }
}

@media only screen and (max-width: 425px) {
    div.media-container{
        justify-content: space-around
    }
    mobile-timestamp-selector{
        display: inline;
    }
    .big-timestamp-selector{
        display: none;
    }
}

@media only screen and (max-width: 1080px){
    .asset-table tr td{
        display: block;
        width: 100% !important;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    div.k-widget.k-window{
        height: calc(100% - 45px) !important;
        width: calc(100% - 4px) !important;
        top: 0px !important;
        left: 0px !important;
    }
    .customer-details{
        margin-top: 52px;
    }
    #netmap-login{
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        box-shadow: none;
        border-radius: 0px;
        background-color: white;
        z-index: 3;
    }
    body{
        background-color: white !important;
    }
    div.left-side-panel.left-panel-show table tbody tr td span.k-widget.k-dropdown{
        width: 100%;
    }
    .hide-on-mobile{
        display: none;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    div.k-widget.k-window{
        height: calc(100% - 45px) !important;
        width: calc(100% - 4px) !important;
        top: 0px !important;
        left: 0px !important;
    }
    #netmap-login{
        position: absolute;
        top: 100px;
        right: 0;
        left: 0;
        margin: auto;
        width: 300px;
        z-index: 3;
        background-color:white;
        /* box-shadow: 5px 5px 25px black; */
        /* border-radius: 10px; */
        padding: 10px;
    }
    div.left-side-panel.left-panel-show table tbody tr td span.k-widget.k-dropdown{
        width: 250px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .left-side-panel{
        width: 35%;
    }

    .left-panel-show{
        left: 0;
        right: 65%;
    }

    .left-panel-hide{
        left: -35%;
        right:100%
    }
    div.left-side-panel.left-panel-show table tbody tr td span.k-widget.k-dropdown{
        width: 100%;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    div.k-widget.k-window{
        height: 60% !important;
        width: 60% !important;
        top: 10% !important;
        left: 20% !important;
    }

    .left-side-panel{
        width: 30%;
    }

    .left-panel-show{
        left: 0;
        right: 70%;
    }

    .left-panel-hide{
        left: -30%;
        right:100%
    }
    .hide-on-mobile{
        display: none;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    div.k-widget.k-window{
        height: 60% !important;
        width: 50% !important;
        top: 10% !important;
        left: 20% !important;
    }
    .left-side-panel{
        width: 25%;
        max-width: 350px
    }

    .left-panel-show{
        left: 0;
        right: 75%;
    }

    .left-panel-hide{
        left: -25%;
        right:100%
    }
    .hide-on-mobile{
        display: unset;
    }
}

/* Extra large devices (large laptops and desktops, 1440px and up) */
@media only screen and (min-width: 1440px) {
    div.k-widget.k-window{
        height: 60% !important;
        width: 50% !important;
        top: 10% !important;
        left: 20% !important;
    }
}

/*IOS and PC Camera styles*/

div#qr-reader__dashboard_section_csr div button,
div#qr-reader__dashboard_section_csr span button{
    border-radius: 4px;
    border-color: #bbb;
    color: #2e2e2e;
    background-color: #e9e9e9;
    background-position: 50% 50%;
    background-image: url(textures/highlight.png);
    background-image: none, linear-gradient(to bottom, rgba(255, 255, 255, .25) 0, rgba(255, 255, 255, 0) 100%);
    margin: 0;
    padding: 4px 8px;
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    background-repeat: repeat-x;
    background-position: 0 center;
    font: inherit;
    line-height: 1.42857143;
    text-align: center;
    text-decoration: none;
    display: -ms-inline-flexbox;
    display: inline-flex;
    overflow: hidden;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    outline: 0;
    /* -webkit-appearance: none; */
    position: relative;
}

div#qr-reader__dashboard_section_csr div button:hover,
div#qr-reader__dashboard_section_csr span button:hover,
#qr-reader__camera_selection:hover{
    border-color: #b6b6b6;
    background-color: #a99f9a;
}

#qr-reader a{
    visibility: hidden;
}

#qr-reader__camera_selection{
    border-radius: 4px;
    border-color: #bbb;
    height: 30px;
    width: 200px;
    color: #2e2e2e;
    background-color: #e9e9e9;
    font: inherit;
    vertical-align: middle;
    cursor: pointer;
    background-image: none, linear-gradient(to bottom, rgba(255, 255, 255, .25) 0, rgba(255, 255, 255, 0) 100%);
    text-indent: 4px;
}

#qr-reader__camera_selection{
    margin: 10px
}

.linked-panels-list-item{
    list-style: none;
    margin: 10px;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    cursor: move;
    background: #ddd;
}
.linked-panels-list-item:hover{
    background: #bbb;
}

