body {
    margin: 0;
    overflow: hidden;
}

body>.banner>span {
    flex: 1 1 auto;
    font-size: 25px;
    padding: 10px 20px;
    font-weight: bold;
}

body>.banner>.logo {
    flex: 0 0 200px;
    background-image: url('../libs/planning/logo.svg');
    background-repeat: no-repeat;
    z-index: 100;
}

body>.banner>.logoBack {
    width: 200px;
    height: 50px;
    display: inline-block;
    background-color: #201547;
    transform: skewX(26deg);
    position: absolute;
    top: 0;
    right: 12px;
}

body>.banner {
    background: white;
    height: 50px;
    cursor: default;
    font-size: 14px;
    color: #4E4E4E;
    display: flex;
    flex-direction: row;
    position: relative;
    overflow: hidden;
    text-align: center;
}

body>.root {
    background: black;
    height: calc(100vh - 50px);
    display: flex;
    cursor: default;
    font-size: 14px;
    color: #4E4E4E;
}

.root>.panel {
    flex: 1 1 100px;
    background: white;
    overflow: auto;
    height: 100%;
}

.root>.map {
    flex: 1 1 100px;
    height: 100%;
}

.esri-view .esri-view-surface {
    outline: none !important;
}

.esri-view .esri-view-surface::after {
    outline: none !important;
}

table {
    margin: 10px;
    border-collapse: collapse;
    font-size: 12px;
}

th {
    background: #4E4E4E;
    border: 2px solid white;
    color: white;
    font-weight: 400;
    padding: 2px 5px;
    text-align: left;
    text-transform: uppercase;
}

td {
    border: 2px solid white;
    color: rgba(0, 0, 0, .8);
    padding: 2px;
}

h3 {
    font-weight: 600;
    font-size: 22px;
    padding-left: 1px;
    border-bottom: 1px solid silver;
    margin: 13px;
}

h1 {
    font-size: 22px;
    margin: 13px;
    margin-bottom: 0px;
}

h4 {
    margin: 13px;
    font-weight: normal;
    font-size: 12px;
    margin-top: 0;
}

.map {
    background-size: cover;
    background-repeat: no-repeat;
}

.map>.mapContainer {
    height: 100%;
}

tr {
    cursor: default;
}

tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, .1);
}

tr.record:hover,
tr.record.selected {
    background: rgba(0, 0, 0, .1);
}

tr.record.selected {
    background: cyan;
}

.tabs {
    display: flex;
    background: #f5f5f5;
}

.tabs>div {
    flex: 1 1 100px;
    border: 1px solid gray;
    text-align: center;
    height: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.tab>i {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    top: 5px;
}

.tabs>div:hover>span {
    text-decoration: underline;
}

.tabs>div.selected {
    background-color: #4E4E4E;
    color: white;
    cursor: default;
}

.Solar i {
    background-image: url('./img/Solar.svg');
}

.Wind i {
    background-image: url('./img/Wind.svg');
}

.Battery i {
    background-image: url('./img/Battery.svg');
}

.Bioenergy i {
    background-image: url('./img/Bioenergy.svg');
}

tr.total {
    color: white;
    background-color: #4E4E4E;
}

tr.total td {
    color: white;
}

table {
    width: calc(100% - 20px);
    box-sizing: border-box;
}

.esri-cluster-marker {
    min-width: 20px;
    min-height: 20px;
}

.disclaimer {
    margin: 10px;
    font-size: 12px;
}

.esri-editor .esri-widget__heading {
    display: none;
}

.esri-editor .esri-editor__panel-toolbar {
    display: none;
}

.esri-editor .esri-item-list__filter-container--sticky {
    display: none;
}

table.popup {
    width: 100%;
    margin: 0;
}


* {
    box-sizing: border-box
}

/* Slideshow container */
.slideshow-container {
    width: 100%;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
/* .mySlides {
  display: none;
} */

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    /* bottom: 8px; */
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    top: 10px;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.PanelToggle {
    background-color: silver;
    height: 24px;
    font-weight: bold;
    text-align: right;
}

.PanelToggle button {
    height: 24px;
    width: 24px;
}

#containerDiv>.PanelToggle {
    display: block;
}

#containerDiv>* {
    display: none;
}

#containerDiv {
    width: 24px;
    overflow: hidden;
    max-height: none !important;
}

#containerDiv .expand {
    display: inline-block;

}

#containerDiv .collapse {
    display: none;
}

#containerDiv.expand {
    width: 300px;
}

#containerDiv.expand>* {
    display: block;
}

#containerDiv.expand .expand {
    display: none;
}

#containerDiv.expand .collapse {

    display: inline-block;
}