html {
    height: 100% !important;
}

#mapContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ui.visible.left.sidebar~.fixed, .ui.visible.left.sidebar~.pusher {
    -webkit-transform: translate3d(0px,0,0);
    transform: translate3d(0px,0,0);
}

.ui.icon.menu.sidebar {
    background-color: #4d4d4d;
    box-shadow: 1px 0 20px -6px rgb(0, 0, 0);
    z-index: 200;

}

.ui.left.home.sidebar,
.ui.right.home.sidebar {
    width: 360px;

}

.ui.left.home.fluid.sidebar,
.ui.right.home.fluid.sidebar {
    width: calc(50% - 42px) !important;

}

.ui.labeled.icon.menu .item {
    min-width: 2em !important;
}

.header-panel:first-child {
    border-top: none;
    border-bottom: 1px solid rgba(141, 141, 141, 0.45);
    padding:0.5em 1em
}

.header-panel {
    /*background: #4444442b;*/
    border-top: 1px solid rgba(141, 141, 141, 0.45);
    border-bottom: 1px solid rgba(141, 141, 141, 0.45);
    padding:0.5em 1em
}

/*.side-panel {*/
    /*color: #fff !important;*/
/*}*/
.side-panel .ui.header>.image:not(.icon):only-child, .ui.header>img:only-child {
    margin-right: .2rem;
}

.side-panel .container {
    padding: 1em;
}

.side-panel > .ui.items>.item>.content>a.header,
.side-panel .ui.items>.item>.content>.meta,
.side-panel .ui.items>.item>.content>.description {
    color: #fff !important;
}

.side-panel .ui.items>.item>.content>.meta {
    float: right;
    margin: 0;
}

#primary-sidebar {
    background-color: #0073bde6;
}


#secondary-sidebar {
    background-color: rgba(51, 51, 51, 0.8);
    left: -5000px;
}

#secondary-sidebar .segment {
    background: #e6e6e6eb !important;
}

#secondary-sidebar .ui.info.message {
    background-color: #ffffff;
    color: #1e628b;
    -webkit-box-shadow: 0 0 0 1px #c0c0c0 inset, 0 0 0 0 transparent;
    box-shadow: 0 0 0 1px #c0c0c0 inset, 0 0 0 0 transparent;
}

.togglePanel {
    left: 41px !important;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.toggleLayer {
    cursor: pointer;
}

#primary-sidebar .item {
    padding: 0.5em;
}
#primary-sidebar .item > img {
    width:25px;
    margin: 0 auto;
    padding: 0.1em;
}
#primary-sidebar .item > .icon.bars {
    font-size: 1em !important;
    margin: 0.5em !important;
}



.ui.primary.active.button,
.ui.primary.active.buttons .button {
    background-color: #336699 !important;
    color: #fff!important;
}

.ui.primary.button,
.ui.primary.buttons .button {
    background-color: #2185d0;
}


#secondary-sidebar .ui.secondary.button, .ui.secondary.buttons .button {
    background-color: #454545;
    color: #fff!important;
}

#secondary-sidebar .ui.inverted.table {
    background: #565656;
    color: rgba(255,255,255,.9);
    border: none;
}

#panel-satellites {
    color: #fff !important;
}

.satellites-items > .item {
    padding: 0.5em 0 !important;
}

.satellites-items .description {
    font-size: 0.85em !important;
}

#EmergencyRequestForm input {
    background: #ffffffa8 !important;
}

#panel-accounts .ui.card {
    background: #ffffffcf;
}

#panel-form input,
#panel-form .ui.form textarea,
#panel-form .ui.selection.dropdown,
#panel-form .ui.form select,
#panel-form .ui.checkbox .box:before, .ui.checkbox label:before {
    background-color: #f1f1f1 !important;
    color: #000;
}

#panel-form .ui.selection.dropdown{
    background: #f1f1f1 !important;
    color: #000;
}

#panel-accounts input {
    background-color: #7f7f7f !important;
    color: #fff;
}

#panel-accounts .ui.selection.dropdown {
    background: #7f7f7f !important;
    color: #fff;
}

#form-calendar {
    width: 100%;
}

#form-calendar input,
#form-target input {
    background: #7f7f7f !important;
    color: #fff;
}

#form-calendar input:focus,
#form-target input:focus{
    border: 1px solid #000;
}

.ui.mini.table {
    font-size: .7em;
}

.ui.weather.card {
    margin-bottom: 0;
    background-color: #ffffffe0;
    border-radius:0;
}

.leaflet-popup-content-wrapper {
    border-radius: 5px;
}

.leaflet-popup-content {
    margin: 0.5em 1em;
    line-height: 1.4;
}

.leaflet-control-scale {
    margin-left: 1em !important;
}
.leaflet-control-mouseposition {
    padding: 0 0.5em;
    background: rgba(253, 253, 253, 0.5);
    margin-left: 1em !important;
    margin-bottom: 0 !important;
    border: 2px solid rgba(55, 55, 55, 0.7);
    color: #222;
}

.leaflet-touch .leaflet-control-measure .leaflet-control-measure-toggle, .leaflet-touch .leaflet-control-measure .leaflet-control-measure-toggle:hover {
    width: 30px;
    height: 30px;
}

.leaflet-control-measure {
    border: 2px solid rgba(0,0,0,0.2) !important;
    -webkit-border-radius:4px !important;
    -moz-border-radius: 4px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.ui.toggle.checkbox input:checked~.box, .ui.toggle.checkbox input:checked~label {
    color: #fff !important;
}

/*Change text in autofill textbox*/
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

body.swal2-height-auto {
    height: auto !important;
}