@import 'def';

#map {
    width: 100%;
    min-height: 500px;
    height: 500px;       
}

.ol-zoom {
    right: 10px;
    bottom: 10px;
    button {
        display: block;
        margin-top: 3px;
    }
}

.ol-full-screen {
    right: 10px;
    top: 10px;
}

.ol-full-screen,
.ol-zoom {
    position: absolute;
    button {
        border-radius: 5px;
        border: none;
        color: #4d4d4d;
        background-color: #fff;
        width: 30px;
        height: 30px;
        cursor: pointer;
    }
}

ov-loader {
    position: absolute;
    z-index: 9999;
    left: 50%;
    top: 40%;
}

.dimmerBackground {
    opacity: 0.2;
}

.removeDimmer {
    opacity: 1;
}
.htmlMarker,
.unitMarker,
.parkMarker {
    min-width: 80px;
    min-height: 43px;
    border-radius: 4px;
    background-color: rgba(66, 66, 66, 0.8);
    text-align: center;
    z-index: 999;
    cursor: pointer;

  
    @include themify($themes) {
        color: themed('txtcolor100');
    }
   

    .icon-stack {
        font-size: 30px;
        display: inline-block;
        transform: translateY(-10px); //transform: translateY(-21px, -10px);
        margin-left: -40px;
        .icon-parkbg {
            color: #999;
            text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.5);
            &.unit {
                @include themify($themes) {
                    color: themed('txtcolor100');
                }  
            }
        }

        .unitshiftup {
            transform: translateY(-10px);
        }

        .parkshiftup {
            transform: translateY(-3px);
        }

        .state {
            font-size: 21px;
            transform: translate(6px, 7px);
            text-shadow: none;
            background-color: transparent !important;
            &.ok {
                @include themify($themes) {
                    color: themed('grassgreen');
                }
            }

            &.comm {
                @include themify($themes) {
                    color: themed('comm');
                }
            }

            &.warning {
                @include themify($themes) {
                    color: themed('warning');
                }
            }

            &.alarm {
                @include themify($themes) {
                    color: themed('alert');
                }
            }

            &.service {
                @include themify($themes) {
                    color: themed('service');
                }
            }
        }
    }
}

.overlay {
    text-align: center;
    width: 410px;
    border-radius: 10px;
    background-color: #4d4d4d;
    color: #fff;
    position: absolute;
    /*transform: translateX(-50%);*/
    /*margin-left: -160px;*/
    margin-top: 15px;
    z-index: 1000;
   // display: none;

    .closeUnit {
        font-size: 13px;
        display: block;
        transform: translate(-15px, 4px);
    }
    
    .gotoUnit {
        font-size: 15px;
        display: block;
        transform: translate(10px, 2px);
    }

    &.unit {
        .closeUnit {
        
            transform: translate(-35px, 4px);
        }

        .status{
            font-size:36px; 
            line-height:50px; 
            width:70px; 
            margin:auto; 
            display: block;

            .icon-cirk_bg{
                left: -10px;
                top: -1px;
            }
        }
    }

    .disabled {
        @include themify($themes) {
            color: themed('txtcolor3') !important;
        }
    }
    
    h2 {
        padding: 5px 0 10px 0;
        margin: 0;
        font-size: 15px;
        font-weight: 400;
        color:#ddd;
        

        &:hover {
            color: #ddd;
        }
    }

    .data i {
        font-size: 17px;
        display: inline-block;
        vertical-align: middle;
    }

    .headerrow {
        cursor: pointer;
        border-bottom: 1px solid #666;
           
        img {
            /*position: absolute;
            right: 10px;*/
            margin-top: 7px;
            vertical-align: middle;
            height: 16px;
            margin-right: 10px;
        }
    }

    .unitfooter {
        border-top: 1px solid #666;
        h2 {
            border-bottom: none;
        }
    }

    .notification {
        position: relative;
        width: 50px;
        font-size: 20px;
        //line-height: 50px;
        transform: translate(-20px, -10px);
        display: inline-block;

        .label-count {
            top: 0;
            right: 3px;
          transform: translateX(15px);
        }
    }

    &.unit {
        width: 630px;
        margin-left: -275px;
        h2 {
            margin: 0px;
        }
    }

    .parkaction {
        text-align: left;
        white-space: nowrap;

        p {
            cursor: pointer;
            &:hover {
                color: #ddd;
            }
        }
    }

    .data {
        font-size: 14px;
        padding: 25px 0 10px 0;
        text-align: left;
        white-space: nowrap;

        p {
            cursor: pointer;
            &:hover {
                color: #ddd;
            }
        }  
        
        div {
            padding: 3px 25px;
        }

        img {
            vertical-align: middle;
            height: 18px;
            margin-right: 10px;
        }
    }

    .sidebar {
        background-color: #424242;
        padding: 20px 15px 10px 30px !important;

    }
}



.mapportfolio {
    padding-top: 5px;
    margin-top: 8px;
    border-bottom: 1px solid #666;

    h3 {
        font-size: 18px;
    }

    p {
        font-size: 12px;
    }
}


.htmlMarker .types,
.unitMarker .types,
.parkMarker .types {
    margin-top: -27px;
}

.htmlMarker .bar,
.unitMarker .bar,
.parkMarker .bar {
    margin: 20px auto 4px auto;
    //    margin: -4px auto 4px auto;
    border-radius: 2px;
    width: 40px;
    height: 8px;
    text-align: left;
    background-color: #666;
    display: block;
}

.theme-light {
    .htmlMarker .bar,
    .unitMarker .bar,
    .parkMarker .bar {
        background-color: #999;
    } 
}

.htmlMarker h2,
.unitMarker h2,
.parkMarker h2 {
    margin: 0 8px 8px 8px;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
    color:#ddd;

}

.htmlMarker .bar>div,
.unitMarker .bar>div,
.parkMarker .bar>div {
    background-color: orange;
    height: 100%;
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px;
    width: 30px;

}



#mapdrilloverlay {
    display: block;
    opacity: 0;
    border-radius: 10px;
    /*position:absolute; */
    top: 0px; 
    left: -9999px; 
    z-index: 9999; 
    width: 100%; 
    height: 100%; 
    overflow-y: scroll; 
    overflow-x: hidden;    
    transition: opacity 0.8s;
    @include themify($themes) {
        background-color: themed('cardbg');
    }

    &.shown {
        opacity:1;
    }
}