:root {
    --headerHeight: 45px;
    --footerHeight: 45px;
    --headerFooterBackground: rgba(19, 93, 119, 1);
    --headerFooterTextColor1: rgba(250, 250, 250, 1);
    --headerFooterTextColor2: rgba(225, 223, 223, 1);
}

html,
body,
#mainDiv {
    padding: 0;
    margin: 0;
    height: calc(100% - 2px);
    width: calc(100% - 2px);
    font-family: verdana;
    border-style: solid;
    border-width: 1px;
    border-color: #000000;
    /*transform: scaleY(-1);*/
}


/*--------------------------------------------------------------------------------------------------------------------*/


/*Header*/


/*--------------------------------------------------------------------------------------------------------------------*/

#headerDiv {
    height: var(--headerHeight);
    width: 100%;
    background-color: var(--headerFooterBackground)
}

#headerDiv div:first-child {
    /*Text: Geoportal Kreis Steinfurt*/
    color: var(--headerFooterTextColor1);
    text-align: left;
    font-size: 25px;
    padding-left: 16px;
    line-height: 45px;
    float: left;
}

#headerDiv div:nth-child(2) {
    /*Text: kleiner Text neben Geoportal*/
    color: var(--headerFooterTextColor2);
    text-align: left;
    font-size: 18px;
    margin-left: 20px;
    margin-top: 18px;
    float: left;
    font-family: serif;
}

#headerDiv img:first-child {
    margin-top: -5px;
    position: absolute;
    right: 2px;
    /*height: 45px;*/
 }


/*--------------------------------------------------------------------------------------------------------------------*/


/*Kartenfenster*/


/*--------------------------------------------------------------------------------------------------------------------*/

#viewDiv {
    /*Kartenfenster*/
    height: calc(100% - var(--headerHeight) - var(--footerHeight));
    width: calc(100% - 2px);
    padding: 0;
    margin: 0;
    position: relative;
}


/*--------------------------------------------------------------------------------------------------------------------*/


/*Footer*/


/*--------------------------------------------------------------------------------------------------------------------*/

#footerDiv {
    bottom: 0px;
    height: var(--footerHeight);
    width: 100%;
    background-color: var(--headerFooterBackground);
}


/*--------------------------------------------------------------------------------------------------------------------*/


/*Basemaps*/


/*--------------------------------------------------------------------------------------------------------------------*/

.esri-basemap-gallery__item-title {
    font-size: 14px !important;
}


/*--------------------------------------------------------------------------------------------------------------------*/


/*Popup: Set Action Button width bigger 
/*--------------------------------------------------------------------------------------------------------------------*/

.esri-popup__inline-actions-container:only-child>.esri-popup__action,
.esri-popup__inline-actions-container:only-child>.esri-popup__action-toggle {
    max-width: 50% !important;
}


/*--------------------------------------------------------------------------------------------------------------------*/


/*Widget: Search(Breite) ändern*/


/*--------------------------------------------------------------------------------------------------------------------*/

.esri-search {
    width: 300px !important;
}


/*--------------------------------------------------------------------------------------------------------------------*/


/*Massstab anzeigen*/


/*--------------------------------------------------------------------------------------------------------------------*/

#scaleText {
    position: relative;
    float: left;
    margin-left: 20px;
    margin-top: 12px;
    color: var(--headerFooterTextColor1);
    font-size: 18px;
    background: var(--headerFooterBackground);
    width: 190px;
}


/*--------------------------------------------------------------------------------------------------------------------*/


/*Widget: Scalebar*/


/*--------------------------------------------------------------------------------------------------------------------*/

#scalebar {
    margin-top: 15px;
    margin-left: 0px;
    float: left;
}

#scalebar .esri-scale-bar__bar-container {
    align-items: center;
    margin-left: 30px;
}

#scalebar .esri-scale-bar__label {
    color: var(--headerFooterTextColor1);
}

#scalebar .esri-scale-bar__line {
    background-color: var(--headerFooterBackground);
    border-bottom: 2px solid var(--headerFooterTextColor1);
}

#scalebar .esri-scale-bar__line--top::before,
#scalebar .esri-scale-bar__line--top::after {
    border-right: 2px solid var(--headerFooterTextColor1);
}


/*--------------------------------------------------------------------------------------------------------------------*/


/*Widget: Coordinate-conversion*/


/*--------------------------------------------------------------------------------------------------------------------*/

#coordShow {
    float: right;
    right: 4px;
    top: 5px;
    height: 35px;
    width: 340px;
}

#coordShow .esri-coordinate-conversion__conversions-view {
    margin: 0px;
}

#coordShow .esri-coordinate-conversion__popup {
    /*In Zwischenablage kopiert Koordinate  */
    height: 40px;
    width: 350px;
}


/*--------------------------------------------------------------------------------------------------------------------*/


/*Widget: cMapexportWidget*/


/*--------------------------------------------------------------------------------------------------------------------*/

:root {
    --cMapexportWidget_Width: 300px;
    --cMapexportWidget_button1: 79px;
    --cMapexportWidget_button2: 80px;
    --cMapexportWidget_buttonHeight: 38px;
}

#cMapexportWidget {
    width: var(--cMapexportWidget_Width);
    background-color: rgb(245, 245, 245);
    padding: 6px 7px;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    cursor: default;
}


/* Style the tab */

.cMapexportWidget_tab {
    overflow: hidden;
    background-color: white;
}


/* Style the buttons that are used to open the tab content */

.cMapexportWidget_tab button {
    background-color: inherit;
    float: left;
    outline: none;
    cursor: pointer;
    padding: 10px 10px;
    font-size: 14px;
    border: none;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    height: var(--cMapexportWidget_buttonHeight);
}

.cMapexportWidget_tab button:nth-child(1) {
    width: var(--cMapexportWidget_button1);
}

.cMapexportWidget_tab button:nth-child(2) {
    width: var(--cMapexportWidget_button2);
}

.cMapexportWidget_tab div {
    width: calc(var(--cMapexportWidget_Width) - var(--cMapexportWidget_button1) - var(--cMapexportWidget_button2) - 14px);
    height: 37px;
    border-bottom: 1px solid #ccc;
    float: right;
}


/* Change background color of buttons on hover */

.cMapexportWidget_tab button:hover {
    background-color: #f0f0f0;
    border-top: 3px solid #0079c1;
    padding-top: 7px;
}


/* Create an active/current tablink class */

.cMapexportWidget_tab button.active {
    background-color: white;
    border-top: 3px solid #0079c1;
    border-bottom: 1px solid white;
    padding-top: 7px;
}


/* Style the tab content */

.cMapexportWidget_tabcontent {
    display: none;
    height: auto;
    color: #323232;
    position: relative;
}

.cMapexportWidget_tablinks {
    font-family: inherit;
    color: #323232;
}

.cMapexportWidget_select,
.cMapexportWidget_input {
    width: 100%;
    height: 27px;
    border: 1px solid;
    border-color: rgb(204, 204, 204);
    margin: 4px 0px 12px 0px;
    font-family: inherit;
    font-size: 14px;
    color: #323232;
}

.cMapexportWidget_innerBox {
    background-color: white;
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
    padding: 6px 12px 5px;
}

.cMapexportWidget_greyDiv {
    background-color: #f5f5f5;
    width: 100%;
    margin: 10px 0px;
    padding: 6px;
    display: table;
}

.cMapexportWidget_input {
    -moz-appearance: textfield;
}

#cMapexportWidget_InfoTabTextarea {
    resize: none;
    width: 100%;
    height: 300px;
    font-family: inherit;
    font-size: 14px;
    margin: 5px 0px;
    border: 1px solid;
    border-color: rgb(204, 204, 204);
    color: #323232;
}

#cMapexportWidget_ausschnittButton {
    width: 100%;
    margin: 7px 0px;
}

.cMapexportWidget_element {
    background-color: white;
    border-bottom: 1px solid #ccc;
    width: auto;
    max-width: calc(var(--cMapexportWidget_Width) - 55px);
    overflow: hidden;
    padding: 0.25em 0.75em;
    float: left;
    margin: 2.9px 7px 2.9px 0px;
    border-radius: 4px;
}

.cMapexportWidget_elementButton {
    float: left;
    height: 32px;
    width: 32px;
    border: none;
    background-color: inherit;
    color: rgb(110, 110, 110);
    margin-left: 2px;
    transition: background-color 125ms ease-in-out;
}

.cMapexportWidget_elementButton:hover {
    background-color: #f0f0f0;
    color: #2e2e2e;
    cursor: pointer;
    outline: none;
}

.cMapexportWidget_statusDiv {
    float: left;
    padding-right: 0.75em;
}

.cMapexportWidget_button {
    margin-top: 2px;
    /*float: left;*/
    width: 100%;
    background-color: white;
}

.cMapexportWidget_buttonDisabled {
    color: #acacac;
    border-color: #acacac;
    cursor: unset;
}

.cMapexportWidget_buttonDisabled:hover {
    background-color: white;
    color: #acacac;
    border-color: #acacac;
}

#cMapexportWidget_alert {
    margin: 5px 7px 5x 0px;
    padding: 5px 10px 5px 5px;
    background-color: #c0372c;
    color: white;
    width: max-width;
    display: none;
}

.cMapexportWidget_closebtn {
    margin: 3px;
    color: white;
    font-weight: bold;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
    vertical-align: middle;
}

.cMapexportWidget_closebtn:hover {
    color: #acacac;
}

.cMapexportWidget_alertText {
    vertical-align: sub;
}

#cMapexportWidget_loading {
    margin: 5px 7px 5x 0px;
    padding: 5px 10px 5px 5px;
    background-color: white;
    color: black;
    width: max-width;
    display: none;
}

#cMapexportWidget_ready {
    margin: 5px 7px 5x 0px;
    padding: 5px 10px 5px 5px;
    background-color: white;
    color: black;
    width: max-width;
    display: none;
}

#cMapexportWidget_error {
    padding-top: 6px;
    color: #8c2907b3;
    display: none;
    float: left;
    width: 100%;
}

/*--------------------------------------------------------------------------------------------------------------------*/
/*Window: Nutzungshinweis*/
/*--------------------------------------------------------------------------------------------------------------------*/



#splashOverlay {
    z-index: 98;
    opacity: 0.8;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

#splashDiv {
    width: 600px;
    height: 500px; /*vorher 400 und 255*/
    top: calc(50% - 122px);
    left: calc(50% - 300px);
    background-color: rgb(255, 255, 255);
    font-size: 14px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
    cursor: default;
    z-index: 99;
}

#splashDivHeader {
    width: 99.5%;
    height: 24px;
    background-color: var(--headerFooterBackground);
    color: var(--headerFooterTextColor1);
    vertical-align: center;
    padding-left: 3px;
    font-size: 18px;
}

#splashDivContent {
    padding: 10px;
    font-size: 14px;
}

#splashDiv_closebtn {
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

#splashDiv_closebtn:hover {
    color: #acacac;
}



