﻿
/*
 * Connection Status
 */
#connectionStatus {
    display: none;
    opacity: 0;
}
#connectionStatus.loading, #connectionStatus.disconnected {
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    align-items: center;
    -webkit-transition: opacity 1s linear 1.5s;
    -moz-transition: opacity 1s linear 1.5s;
    -ms-transition: opacity 1s linear 1.5s;
    -o-transition: opacity 1s linear 1.5s;
    transition: opacity 1s linear 1.5s;
}

#connectionStatus.loading, #connectionStatus.disconnected.wasNotConnected {
    display: flex;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1000;
    align-items: center;
}

#connectionStatus.loading .content, #connectionStatus.disconnected .content {
    background-color: #ffffff;
    -webkit-box-shadow: 0 3px 14px rgba(0,0,0,0.4);
    box-shadow: 0 3px 14px rgba(0,0,0,0.4);
    padding: 10px;
    box-sizing: border-box;
}

#connectionStatus.loading .content {
    background: url('../Images/Icons32/ajax-loader.gif') no-repeat 15px center #ffffff;
    padding-left: 60px;
    margin: 0 auto;
    width: 90%;
    height: 70px;
    display: flex;
    align-items: center;
}

#connectionStatus.loading.wasConnected {
    display: none;
}

#connectionStatus.disconnected.wasConnected {
    opacity: 1;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    -webkit-transition: opacity 1s linear 1.5s;
    -moz-transition: opacity 1s linear 1.5s;
    -ms-transition: opacity 1s linear 1.5s;
    -o-transition: opacity 1s linear 1.5s;
    transition: opacity 1s linear 1.5s;
}


#connectionStatus.disconnected .content {
    color: #FF0033;
    text-align: center;
    width: 90%;
    margin: 0 auto;
    text-shadow: none;
}

#connectionStatus.disconnected.wasConnected .content {
    background: #FF0033;
    -webkit-box-shadow: 0 3px 14px rgba(0,0,0,0.4);
    box-shadow: 0 3px 14px rgba(0,0,0,0.4);
    padding: 10px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    color: #FFFFFF;
    text-align: center;
}


html, body,
.ui-mobile [data-role=page], .ui-mobile [data-role=dialog], .ui-page,
#content, #siteMap, .pageContent {
    height: 100%;
    width: 100%;
}

        #calloutContent .statusCode {
            margin-top: 10px;
        }

        #calloutContent .statusCode .icon{
            vertical-align: middle;
        }

.leaflet-popup-tip-container {
    width: 11px;
    position: absolute;
    overflow: hidden;
    top: 46.5%;
    left: -21px;
    margin-top: -10px;
    height: 32px;
    padding-left: 10px;
}

.leaflet-popup-tip {
    width: 17px;
    height: 17px;
    padding: 1px;
    margin: 5px 0 0 5px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.leaflet-control-attribution, .leaflet-control-attribution a {
    font-size: 12px;
}
