#siteMap {
    width: 100%;
    height: 100%;
}

.leaflet-popup {
    font-size: 12px;
}

    .leaflet-popup label {
        margin: 3px 0;
        min-width: 245px;
    }

        .leaflet-popup label .value {
            float: right;
        }

    .leaflet-popup .title {
        font-size: 16px;
        text-align: center;
        font-weight: bold;
    }

        .leaflet-popup .title .icon {
            width: 18px;
            height: 18px;
            margin-top: -3px;
        }

#siteMapSplit {
    padding-right: 250px;
    position: relative;
}

#siteList {
    width: 250px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: #F0F0F0;
    overflow-y: auto;
    overflow-x: hidden;
}

    #siteList .siteInfo {
        padding: 5px 10px;
        cursor: pointer;
        position: relative;
        text-align: left;
    }

        #siteList .siteInfo:hover, #siteList .slick-cell.highlight > .siteInfo {
            border-left: 4px solid #57889c;
            background: #FFF;
        }

        #siteList .siteInfo .siteCodeAndRtcmId {
            font-weight: bold;
            text-align: left;
        }

.siteMarker.highlight {
    z-index: 10000 !important;
}

#siteList .siteInfo input[type=checkbox] {
    float: none;
    vertical-align: top;
    margin-top: 2px;
}

#siteList .siteInfo .siteMarker {
    float: left;
    margin-top: 4px;
    margin-right: 4px;
    font-size: 16px !important;
    padding: 4px 6px 4px 2px;
}

#siteList .siteInfo.hidden .siteMarker {
    visibility: hidden;
}

#siteList .siteInfo.hidden .stateIndicator {
    left: 10px;
    top: 13px;
    font-size: 16px !important;
}

.siteToolbar {
    text-align: right;
    display: none;
}

#searchContainer input {
    width: 240px;
}

#siteMapSplit.search .siteInfo.searchResult {
    display: block !important;
}

#siteMapSplit.search .leaflet-container .siteMarker {
    display: none;
}

#siteMapSplit.search .leaflet-container .searchResult .siteMarker {
    display: inline-block;
}

#siteMapSplit.search .leaflet-container .leaflet-popup-content .siteMarker {
    display: inline-block;
}

#siteList .siteInfo .editButton {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    font-size: 24px !important;
    padding: 9px 1px;
    width: 24px;
    display: inline-block;
    z-index: 10000;
}

    #siteList .siteInfo .editButton:hover {
        background: #F0F0F0;
    }

    #siteList .siteInfo .editButton:hover {
        color: #ED1941;
    }

#siteList .siteInfo .editPopup {
    display: none;
}

#editPopupContainer {
    display: none;
    position: absolute;
    background: #FFF;
    z-index: 20000;
    border: 1px solid #AAA;
    padding: 5px 8px;
    width: 200px;
    font-family: Arial,sans-serif;
    font-size: 12px;
}

    #editPopupContainer > div {
        display: block;
    }

#siteMapSplit.viewModeuser .editButton {
    display: none;
}


#siteMapSplit.viewModeadmin .siteInfo.hidden a.editButton {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}

#siteMapSplit .siteInfo .stateIndicator {
    display: inline-block;
    position: absolute;
    top: 20px;
    left: 18px;
}

#siteMapSplit .siteInfo.unused .siteMarker,
#siteMapSplit .siteInfo.hidden .siteMarker {
    padding: 0px 10px 4px 0px;
    margin-left: -2px;
}

#siteMapSplit .siteInfo .stateIndicator {
    font-size: 14px !important;
}

#pageHeader .actions #viewSelector.admin .admin,
#pageHeader .actions #viewSelector.user .user {
    display: inline-block;
}

#pageHeader .actions #viewSelector.admin .user,
#pageHeader .actions #viewSelector.user .admin {
    display: none;
}

.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}

.info, .error {
    margin: -10px 0;
    background-position: 0 top;
    padding: 0;
}

.connected {
    margin-top: -10px;
    background-position: 0 top;
}
/*layer selector*/
#layerSelectors .ms-choice span {
    -webkit-background-size: 100% 100%;
    -moz-background-size: 100% 100%;
    -ms-background-size: 100% 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: transparent;
    margin-top: -4px;
}


/* panel selector */
.actions .icon a.icon, #layerSelectors .ms-parent, #layerSelectors .ms-choice {
    width: 16px !important;
    height: 24px !important;
    border: none;
    outline: 0;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
}

    #layerSelectors .ms-parent span {
        height: inherit;
        right: 0;
        text-indent: 100%;
        background: transparent;
    }

    #layerSelectors .ms-parent div {
        display: none;
    }

#layerSelectors .ms-drop {
    width: auto !important;
    min-width: 180px;
}

    #layerSelectors .ms-drop ul {
        max-height: 300px !important;
        margin-right: 8px;
    }

    #layerSelectors .ms-drop li {
        padding: 3px;
        width: 100% !important;
        height: auto;
    }

    #layerSelectors .ms-drop li {
        position: relative;
        cursor: default;
    }


        #layerSelectors .ms-drop li:before {
            position: absolute;
            font-size: 13px;
            right: 0px;
            top: 3px;
            cursor: default;
        }
        #layerSelectors .ms-drop li.site:before {
            font-size: 16px;
        }
        #layerSelectors .ms-drop li.network:before {
            font-size: 13px;
            right: 0;
        }

input[name=selectGroup] {
    display: none !important;
}

#connectionStatus {
    float: right;
}

#pageHeader .infobar {
    float: left;
    padding: 16px 0;
    padding-bottom: 0;
}

#pageHeader h2 {
    margin-bottom: 0;
}

#toolbarWrapper {
    margin-bottom: 10px;
}

#pageHeader .actions, #connectionStatus {
    padding: 0;
    margin: 0;
}

.ms-drop ul > li label {
    font-size: 12px !important;
    white-space: nowrap;
}

.navbar .navbar-nav .dropdown > a {
    padding-top: 12px;
}

@media (max-width : 767px) {
    #layerSelectors .ms-drop {
        left: 0;
    }

    #siteMapSplit {
        padding-right: 0px;
    }

    #siteList {
        position: inherit !important;
    }

    #siteMapSplit #siteMap, #siteMapSplit #siteList {
        width: 100% !important;
        height: 350px;
    }
}
@media (min-width : 767px) {
    #layerSelectors .ms-drop {
        right: 0;
    }
}

#siteList .slick-pane-header {
    display: none;
}

#siteList .slick-pane {
    top: 0 !important;
    max-width: inherit !important;
}

#siteList .slick-cell {
    min-height: 50px !important;
    line-height: 20px !important;
    white-space: normal;
    overflow: visible;
    height: auto !important;
    background: white;
}

#siteList .grid-canvas {
    width: 100% !important;
}

#siteList .slick-pane {
    top: 0 !important;
}
