@import 'def';

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

.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;

            &.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');
                }
            }
        }
    }
}

.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: 9999;
    display: none;


    .disabled {
        @include themify($themes) {
            color: themed('txtcolor3')!important;
        }
    }
    
    h2 {
        padding: 5px 0 10px 0;
        margin: 0;
        font-size: 15px;
        font-weight: 400;
        &: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:10px;
          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;
}

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

}

.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;
    }
}