/* DADDY */
body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    overflow: hidden;
}
/* DADDY */
div,
select {
    box-sizing: border-box;
}
.pageContainer {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.map {
    width: 100%;
    height: 100%;
}

div#mapcontainer {
    position: relative;
    /*top: 0;*/
    /*bottom: 0;*/
    width: 100%;
    height: 100%;
    flex: 1;
}

div#subContainer {
    position: absolute;
    pointer-events: auto;
    width: 100%;
    height: 100%;
}

div.metoclient-map {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* *** DIALOGS *** */

.framecontainer {
    position: relative;
    /* left:2px; */
    width: 100%;
    height: 92%;
    max-width: 1800px;
    max-height: 800px;
    /* background: #fff; */
}
.responsive-iframe {
  /*  position: absolute;
//position: fixed;
//padding-top: 1%;
    padding-top: 0;
    overflow: hidden;
    top: 0;

    left: 0;
    width: 100%;
    height: 97%;
    border: 0;*/
position: relative;
padding-top: 0;
overflow: hidden;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
background-color: #ffffff;

}

div.infowindow {
    -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));

    display: none;
    position: absolute;
    /*padding: 10px 0px 20px 0px;*/
      padding: 0;
   /* background-color: #f3f3f3;*/
     background-color: #fffff;
    color: #275a90;
    z-index: 200;
    border-radius: 15px;
    border: 0px solid #cccccc;
    bottom: 12px;
}

a.infowindow_close {
    /*margin-top: -5px;
    margin-right: 5px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    line-height: 0px;
    padding: 6px 3px 10px 3px;
    right: 1px;
    border: 1px solid #595959;
    border-radius: 4px; */
    position: absolute;
    font-size: 25px;
    color: #595959;

    /*DADDYn uusi tyyli*/
    margin: 0;
    cursor: pointer;
    line-height: 0px;
    background-image: url(../img/modal-close-btn.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    border: 0;
    display: block;
    outline: none;
    padding: 0;
    height: 26px;
    width: 26px;
    top: -13px;
    right: -13px;
}

a.infowindow_close:hover {
    /* position: absolute;
    margin-top: -5px;
    margin-right: 5px;
    cursor: pointer;
    display: inline-block;
    line-height: 0px;
    padding: 6px 3px 10px 3px;
    right: 1px;
    border: 1px solid #595959;
    border-radius: 4px;
    background: #dee1e5; */
    font-size: 25px;
    font-weight: bold;

    cursor: pointer;
    line-height: 0px;
    background-image: url(../img/modal-close-btn.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    border: 0;
    display: block;
    margin: 0;
    outline: none;
    padding: 0;
    height: 26px;
    width: 26px;
    top: -13px;
    right: -13px;
}

.infowindow_close:before {
    /* content: "\00d7"; */
    content: '';
}

a.infowindow_minimize {
    /* float: right; */
    position: absolute;
    margin-top: -5px;
    margin-right: 30px;
    cursor: pointer;
    font-size: 25px;
    font-weight: bold;
    display: inline-block;
    line-height: 0px;
    padding: 6px 3px 10px 3px;
    right: 1px;
    border: 1px solid;
    border-radius: 4px;
}

a.infowindow_minimize:hover {
    /* float: right; */
    position: absolute;
    margin-top: -5px;
    margin-right: 30px;
    cursor: pointer;
    font-size: 25px;
    font-weight: bold;
    display: inline-block;
    line-height: 0px;
    padding: 6px 3px 10px 3px;
    right: 1px;
    border: 1px solid;
    border-radius: 4px;
    background: #ccc;
}

.infowindow_minimize:before {
    content: '\002d';
}

.infoWindowMinified {
    position: absolute;
    bottom: 80px;
    left: 5px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #000000;
    display: none;
    flex-direction: column;
    box-shadow: 6px 6px 4px rgba(0, 0, 0, 0.2);
    /* DADDY */
    font-size: 14px;
    padding: 5px;
    cursor: pointer;
    font-weight: bold;
}

.infoDialogContent {
   /* width: 100%;
    height: 96%;
    margin: 3px;*/
    width: 100%;
max-height: 100%;
height: 450px;
margin-left:0;
margin-top: 0;
}

.divWindowTitleBar {
	background-color: #eff9ff;
	border-radius: 15px 15px 0 0;
	border-bottom: solid 1px rgba(39, 90, 144, 0.07);
    display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
    /*justify-content: space-between;*/
   /* margin: 0px 5px 0px 5px;*/
    margin: 0px;
}

/* Yksittäinen palsta, ns auto width column */
.divWindowTitleBarCol{
	display: block;
  	-ms-flex-preferred-size: 0;
	flex-basis: 0;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	font-size: 15px;
	max-width: 100%;
	padding: 15px 5px;
	text-align: center;
}

.divWindowTitleBarCol:nth-child(2){
border-left: solid 1px #275a90;
border-right: solid 1px #275a90;
}
.divWindowTitleBarCol:nth-child(3){
border-left: solid 0px #275a90;
border-right: solid 1px #275a90;
}

.divWindowTitleBarCol img{
	display:block;
	height:auto;
	margin: 2px auto;
	max-width: 20px;
	width:100%;
	
}
.btn-area{
	cursor:pointer;
}
.btn-area.lataa-aineisto.btn-disabled{
opacity: 0.5;
}
.divWindowTitleBarLeft {
  	/*  display: flex;*/
  	/*ns auto width column */
   	display: block;
  	-ms-flex-preferred-size: 0;
	flex-basis: 0;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	max-width: 100%;
}

.divWindowTitleBarRight {
   /* display: flex;*/
    display: block;
  	-ms-flex-preferred-size: 0;
	flex-basis: 0;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	max-width: 100%;
}

.infoWizard_closeButton {
    display: block;
    top: 5px !important;
    right: 5px !important;
}
.divWindowLayerMetaInfo {
    display: flex;
    width: 100%;
    justify-content: left;
    cursor: pointer;
    color: #275a90;
    font-weight: 600;
    text-decoration: underline;
    padding-bottom: 5px;
    margin-top: 5px;
}
/* GRAPHS */

.graphParameterTitle {
    font-weight: bold;
    padding: 0px 0px 0px 5px;
}

.graphLocationTitle {
    font-weight: bold;
    padding: 0px 5px 5px 15px;
}

/* Style the tab */
.graphTab {
    overflow: hidden;
    background-color: #fff;
    color: #14a7e5;
    height: 7%;
}

/* Style the buttons inside the tab */
.graphTab button {
    background-color: #f1f1f1;
    float: left;
    border: 1px solid #ccc;
    border-radius: 4px 4px 0px 0px;
    outline: none;
    cursor: pointer;
    padding: 4px 16px;
    transition: 0.3s;
    font-size: 12px;
    width: 50%;
}

/* Change background color of buttons on hover */
.graphTab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.graphTab button.active {
    background-color: #fff;
    cursor: default;
    border-bottom: none;
}

/* Style the tab content */
.graphTabContent {
    display: none;
    /* padding: 6px 12px; */
    /* border: 1px solid #ccc; */
    border-top: none;
    height: 100%;
   /* padding-top: 20px;*/
      padding-top: 0px;
}

.graphTopBar {
    display: flex;
    /* flex-direction: column; */
    justify-content: space-between;
    z-index: 1007;
    position: absolute;
    top: 30px;
    right: 5px;
    text-align: right;
    width: 100%;
}
.topBarLeft {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
    margin-left: 10px;
}
.topBarVariableName {
    margin: 5px;
}
.topBarRight {
    display: flex;
    justify-content: flex-end;
    line-height: 25px;
    margin-top: 5px;

    backface-visibility: hidden;
}
.topBarArrows {
    margin: 5px;
}
.topGraphIndicator {
    margin: 5px;
}
.topGraphIndicator.col{
margin-left: 0;
padding-left: 0;
padding-right: 0;
margin-right: 0;
}
.topBarArrows.active {
    cursor: pointer;
}
#topBarLeftArrow{
text-align: right;
padding: 0;
padding-right: 5px;
}
#topBarLeftArrow img{
margin-right:0;
}
#topBarRightArrow{
text-align: left;
padding: 0;
padding-left: 5px;
}
#topBarRightArrow img{
margin-left:0;
}
.imageButton {
    height: 25px;
}
.linkToWholeYear {
    position: absolute;
    top: 60px;
    right: 5px;
    z-index: 1204;
    text-decoration: underline;
    cursor: pointer;
}

/* WARNINGS */

.warningAreaInfo {
    width: 330px !important;
    height: unset !important;
    padding-bottom: 5px !important;
    min-height: 100px;
}

.warningContent {
    padding: 6px 12px;
    background: #fff;
    min-height: 100px;
    margin: 2px;
}

/* .warningTextItem {
    margin-left: 5px;
} */
.warningTextItemHeader {
    text-transform: uppercase;
    font-size: 0.8rem;
    /* font-weight: 600; */
    letter-spacing: 1px;
    color: #00013d;
    margin-bottom: 5px;
}
.warningTextIconDiv {
    display: flex;
    margin-bottom: 5px;
}
.warningTextIcon {
    width: 32px;
    height: 32px;
}
.warningTextIconDivRightColumn {
    margin-left: 10px;
    color: #2a5c8e;
}
.warningTextDescDiv {
    margin-bottom: 10px;
    border-bottom: solid 1px lightgray;
    background-color: white;
    padding-bottom: 10px;
}

/* NOTIFICATIONS */

.modalLoadIndicator {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    /* background-color: rgb(0,0,0); /* Fallback color */
    /* background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.notificationBoard {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.questionBoard {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.5);
}

.notificationWindow {
    position: relative;
    background: #fff;
    border: none;
    /* 9.12 */
    border-radius: 10px;
    width: 300px;

    -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));

    display: none;
    padding: 10px 0px 10px 0px;
    z-index: 2020;
}
.notificationHeadline {
    margin: 5px 15px;
    /* 9.12 */
    font-family: 'Raleway', sans-serif;
    color: #275a90;
    font-weight: 600;
    letter-spacing: 0.3px;
    font-size: 92%;
}
.notificationContent {
    /* 9.12 */
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.4px;
    margin: 15px;
    font-size: 90%;
}
.notificationStatus {
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.4px;
    margin-left: 15px;
    margin-right: 15px;
    font-size: 90%;
    background-color: lightskyblue;
    border: solid 1px #275a90;
    border-radius: 4px;
    /* display: none; */
    text-align: center;
}
.notificationButtonsDiv {
    display: flex;
    /* justify-content: space-around; */
    /* justify-content: flex-start; */
    width: 100%;
    padding: 5px 15px;

    justify-content: flex-end;
}
.notificationButton {
    /* background: #68ab37;
    color: #fff;
    width: 100px;
    text-align: center;
    padding: 10px;
    margin: 0px 10px 0px 0px;
    cursor: pointer; */

    /* DADDYn uusi tyyli */
    background: #275a90;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    font-size: 1em;
    width: auto;
    text-align: center;
    padding: 5px 20px;
    margin: 0px 10px 0px 0px;
    cursor: pointer;
}

/* CITIZENS OBSERVATIONS */

.citobsFormContent {
    display: flex;
    flex-direction: column;
    margin: 10px;
}
.citobsTextInput {
    height: 25px;
}

/* LEGEND */

.legendWindow {
    position: absolute;
    bottom: 40px;
    background-color: rgba(255, 255, 255, 1);
    -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    display: none;
    padding: 0px 0px 0px 0px;
    z-index: 10;

    /*DADDYn uusi tyyli*/
    border-width: 0;
    /* min-width: 122px; */
    /* 9.12 */
    border-radius: 10px;
    right: 15px;
    max-height: 65vh;
}
.legendWindow.timeSlider {
    bottom: 85px;
}

.legendWindowShow {
    /* background-image: url("../img/arrow-left-sign-to-navigate.svg"); */
    /* 
    background-repeat: no-repeat;
    display: none;
    width: 24px;
    height: 24px; */
    /* margin-top: -6px;
    margin-left: -1px; */
    /* position: absolute;
    top: 2px;
    left: 1px; */
    background-image: url('../img/Legend_icon.svg');
    cursor: pointer;
    background-size: 22px;
    left: 5px;

    /*DADDYn uusi tyyli*/
    /* background-image: url("../img/arrow-down-sign-to-navigate.svg"); */
    background-repeat: no-repeat;
    /* background-size: 13px; */
    display: none;
    z-index: 10;
    position: absolute;
    /* right: 0px; */
    top: 5px;
    content: ' ';
    width: 20px;
    height: 20px;
    margin: 0;
}

.legendContent {
    /* 9.12 */
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.4px;
    /* margin: 15px; */
    font-size: 90%;
    scroll-behavior: auto;
    overflow: auto;
    max-height: 60vh;
}

.legendItem {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.doubleSizedElement {
    -webkit-transform: scale(2, 2); /* Safari */
    transform: scale(2, 2);
}

.legendWindow .notificationContent {
    margin: 5px 15px;
}

.legendWindowClose {
    position: absolute;
    cursor: pointer;
    line-height: 0px;
    background-image: url(../img/modal-close-btn.svg);
    background-repeat: no-repeat;
    background-size: contain;
    border: 0;
    display: block;
    outline: none;
    padding: 0;
    height: 26px;
    width: 26px;
    /* näistä voi ottaa !important -määritteen pois jos et käytä inline-tyylejä koodissa */
    top: -18px;
    right: -18px;
    background-color: transparent !important;
    z-index: 1004;
}
.legendWindowInfo {
    position: absolute;
    cursor: pointer;
    line-height: 0px;
    background-image: url(../img/info_blue_circle_back.svg);
    background-repeat: no-repeat;
    background-size: contain;
    border: 0;
    display: block;
    outline: none;
    padding: 0;
    height: 24px;
    width: 24px;
    /* näistä voi ottaa !important -määritteen pois jos et käytä inline-tyylejä koodissa */
    top: 6px;
    right: 8px;
    background-color: transparent !important;
    z-index: 1006;
}
/*
.legendWindowClose:hover {
    /*position: absolute;
    margin-top: -5px;
    margin-right: 5px;
    cursor: pointer;
    font-size: 25px;
    font-weight: bold;
    color: #595959;
    display: inline-block;
    line-height: 0px;
    padding: 6px 3px 10px 3px;
    right: 1px;
    border: 1px solid #595959;
    border-radius: 4px;
    background: #dee1e5;
}
.legendWindowClose:before {
   content: "\00d7";
}
*/
.legendWindowContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px;
    pointer-events: all;
}
.legendTitle {
    margin-bottom: 5px;
    margin-top: 5px;
    font-size: 16px;
    font-weight: 600;
    color: #275a90;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.4px;
    padding-right: 30px;
}
.legendImage {
    max-width: 190px;
    min-width: 150px;
}

/* HELP WINDOW */

div.helpwindow {
    -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));

    display: none;
    position: absolute;
    padding: 10px 0px 20px 0px;
    background-color: #f3f3f3;
    z-index: 1200;
    border-radius: 5px;
    border: 1px solid #cccccc;
    /* top: 25px; */

    top: 57px;
    left: 50%;
    transform: translateX(-50%);
}

.helpwindowContent {
    /* padding: 6px 12px; */
    /* border: 1px solid #ccc; */
    border-top: none;
    height: 98%;
    width: 100%;
    overflow: auto;
}

/* WIZARD WINDOW */

div.wizardWindow {
    -webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));

    display: none;
    position: absolute;
    padding: 10px 0px 20px 0px;
    background-color: #f3f3f3;
    z-index: 1100;
    border-radius: 5px;
    border: 1px solid #cccccc;
    top: 5px;
}
.wizardWindowContent_citObs {
    /* margin: 5px 10px;
    border: solid 1px lightgrey;
    border-radius: 4px;  */
    margin-top: 5px;
    flex-direction: column;
    text-align: center;
}
.clickResultDiv {
    padding: 4px;
}
.featureInfoFieldHeader {
    color: #275a90;
    font-weight: 600;
}
.featureInfoField {
    margin-left: 10px;
}
.nearbyFeatureHeaderDiv {
    padding: 4px;
    font-weight: bold;
}

.nearbyFeatureSelect {
    margin: 4px;
    width: 97%;
    height: 200px;
    padding: 5px 10px 5px 10px;
}

.waterQualityIndicatorSection {
    display: flex;
    justify-content: space-around;
}
.waterQualityIndicatorHeader {
    display: flex;
    justify-content: space-between;
    margin: 2px;
}
.waterQualityIndicatorColumn {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    cursor: pointer;
}
.waterQualityIndicator {
    /* background: rgb(146, 208, 80); */
    border: solid rgb(124, 120, 106) 3px;
    border-radius: 5px;
    padding: 5px;
    font-size: 20px;
}
.waterQualityIndicator_blue {
    background: rgb(138, 178, 240);
}
.waterQualityIndicator_green {
    background: rgb(146, 208, 80);
}
.waterQualityIndicator_yellow {
    background: rgb(247, 244, 98);
}
.waterQualityIndicator_orange {
    background: rgb(216, 167, 77);
}
.waterQualityIndicator_red {
    background: rgb(208, 89, 80);
}
.waterQualityIndicatorTable {
    padding: 2px 11px !important;
    /* border: solid 1px!important; */
}
.waterQualityIndicatorTable_headerColumn {
    text-align: left;
    padding: 2px 11px !important;
}
.waterQualityIndicatorTable_dataCell {
    text-align: center;
    padding: 2px 11px !important;
}

.waterServiceOrgListElementDiv {
    /* display: flex;
    width: 100%;
    justify-content: center; */
    cursor: pointer;
    color: #275a90;
    font-weight: 600;
    text-decoration: underline;
}

/* BUTTONS */

div.ui-buttons {
    padding: 2px;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 2;
}

button.ui-button {
    width: 35px;
    height: 30px;
    margin: 1px;
    border: 1px solid;
    border-radius: 4px;
    padding: 2px;
    margin-right: 15px;
}

button.ui-button:hover,
button.move-button:hover,
button.togglebutton.pressed_down,
button.ol-zoom-in:hover,
button.ol-zoom-out:hover {
    border: 2px solid #63b9e9;
}

div.search {
    position: absolute;
    top: 80px;
    left: 5px;
    display: flex;
    z-index: 151;
}

button.button_search {
    background-image: url('../img/search.png');
    background-repeat: no-repeat;
    /*background-size: cover;*/
    background-position: center;
}

button.button_expandLeft {
    background-image: url('../img/expand_left.png');
    background-repeat: no-repeat;
    /*background-size: cover;*/
    background-position: center;
}

div.searchPanel {
    display: flex;
    flex-direction: column;
    margin: 20px 0px 0px 0px;
}
.searchLabel {
    font-size: 1.15em;
    margin-bottom: 15px;
    padding-top: 0px;
}

div.searchControls {
    display: flex;
    width: 100%;
    height: 30px;
    margin: 1px;
    /* border: 1px solid; */
    /* border-radius: 4px; */
    padding: 2px;
    margin: 0;
    margin-bottom: 10px;
}

.searchField {
    border-radius: 4px;
    box-sizing: border-box;
    color: #000000;
    height: 32px;
    margin: 1px 0px;
    min-width: 250px;
    padding: 3px 10px;
    width: 100%;
}

.btnMyLocation {
    margin-right: 12px;
    /* line-height: 26px; */
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 4px;
    padding-bottom: 26px;
    background: none;
    border: 1px solid;
    border-radius: 4px;
    width: 35px;
    flex-shrink: 0;
}
.btnMyLocation:hover {
    margin-right: 12px;
    /* line-height: 26px; */
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 4px;
    padding-bottom: 26px;
    border: 1px solid;
    border-radius: 4px;
    background: #dee1e5;
    width: 35px;
    flex-shrink: 0;
}

.ui-autocomplete {
    position: absolute;
    z-index: 9999 !important;
    list-style: none !important;
    /* padding-left: 10px!important;
    text-indent: -10px ; */
    box-sizing: border-box;
    font-size: 14px !important;
    padding: 10px 15px !important;
    max-height: 60vh;
    overflow-y: auto;
}
/* .ui-autocomplete-input {
    position: absolute;
    z-index: 9999!important;
} */
.ui-autocomplete .ui-menu-item {
    margin-top: 5px;
    margin-bottom: 5px;
}

.zoomDiv {
    position: absolute;
    top: 10px;
    right: 5px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #000000;
    display: flex;
    height: 32px;
    /* flex-direction: column; */
}
.buttonIcon {
    width: 24px;
    height: 24px;
    color: #275a90;
    font-size: 18px;
}
.zoomButtonFirst {
    /* margin: 2px; */
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
    background: none;
    border: none;
}
.zoomButtonFirst:hover {
    /* margin: 2px; */
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
    background: #dee1e5;
    border: none;
    border-radius: 5px 0px 0px 5px;
}
.zoomButtonMiddle {
    /* margin: 2px; */
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
    background: none;
    border: none;
    /* border-left: 0.2px solid #000000; */
}
.zoomButtonMiddle:hover {
    /* margin: 2px; */
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
    background: #dee1e5;
    border: none;
    /* border-left: 0.2px solid #000000; */
}
.zoomButtonLast {
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
    background: none;
    border: none;
    display: m;
}
.zoomButtonLast:hover {
    /* margin: 2px; */
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
    background: #dee1e5;
    /* BREAKS THE LEFT BORDER !?!) */
    /* border-radius: 0px 5px 5px 0px;    */
    border: none;
    /* border-left: 0.2px solid #000000!important; */
}
.zoomButtonDefaultDisabled {
    /* margin: 2px; */
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 2px;
    background: none;
    border: none;
    /* border-left: 0.2px solid #000000; */
    cursor: default;
}
.zoomButtonMiddleBorders {
    /* border-top: 0.2px solid #000000;
    border-bottom: 0.2px solid #000000; */
    border-left: 0.2px solid #000000;
    /* border-right: 0.2px solid #000000; */
}
.zoomButtonMiddleBorders:hover {
    /* border-top: 0.2px solid #000000;
    border-bottom: 0.2px solid #000000; */
    border-left: 0.2px solid #000000 !important;
    /* border-right: 0.2px solid #000000; */
}

.hiddenToolsDiv {
    display: flex;
    height: 0px;
    flex-direction: column;
    background: #fff;
    border-radius: 5px 5px 5px 5px;
    /* padding-top: 3px; */
    border: 1px solid #000000;
    -webkit-transition: height 0.4s; /* For Safari 3.1 to 6.0 */
    transition: height 0.4s;
    border-top: 0px;
    border-bottom: 0px;
    overflow: hidden;
    margin-top: 3px;
}
.hiddenToolsDiv.active {
    /* display: flex; */
    height: 61px;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
}
.hiddenLangToolsDiv {
    display: flex;
    height: 0px;
    flex-direction: column;
    background: #fff;
    border-radius: 5px 5px 5px 5px;
    /* padding-top: 3px; */
    border: 1px solid #000000;
    -webkit-transition: height 0.4s; /* For Safari 3.1 to 6.0 */
    transition: height 0.4s;
    border-top: 0px;
    border-bottom: 0px;
    overflow: hidden;
    margin-top: 3px;
}
.hiddenLangToolsDiv.active {
    /* display: flex; */
    height: 60px;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
}
.hiddenToolsMiddleBorders {
    /* border-top: 0.2px solid #000000;
    border-bottom: 0.2px solid #000000; */
    border-bottom: 0.2px solid #000000;
    /* border-right: 0.2px solid #000000; */
}
.btnMoreTools {
    border-left: 0.2px solid #000000 !important;
}

.selectLayers {
    border-radius: 3px;
    margin: 4px;
    height: 30px;
    width: auto;
    min-width: 250px;
    float: right;
}
.selectLayersDiv {
    width: 100%;
    margin: 0;
    /* padding-left: 40px; */
    display: flex;
    flex-direction: column;
}

.observationPointsDiv {
    align-items: left;
    justify-content: left;
    margin: 4px;
    display: flex;
}
.observationPointsCheck {
    margin: 4px;
    height: 15px;
    width: 15px;
    margin-left: 0;
}
.observationPointsLabel {
    padding-left: 3px;
    padding-top: 3px;
    cursor: pointer;
}

.controlPanel {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #000000;
    display: flex;
    flex-direction: column;
    box-shadow: 6px 6px 4px rgba(0, 0, 0, 0.2);
    /* DADDY */
    font-size: 14px;
    padding: 10px 5px;
}

.controlPanelMinified {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #000000;
    display: none;
    flex-direction: column;
    box-shadow: 6px 6px 4px rgba(0, 0, 0, 0.2);
    /* DADDY */
    font-size: 14px;
    padding: 5px;
    cursor: pointer;
    font-weight: bold;
}

.controlPanelClose {
    /* float: right; */
    position: absolute;
    /* margin-top: -10px; */
    /* margin-right: 0px; */
    cursor: pointer;
    font-size: 18px;
    height: 2px;
    font-weight: bold;
    display: inline-block;
    line-height: 0px;
    padding: 6px 2px;
    left: -9px;
    top: -9px;
    background: #eee;
    border: solid 1px;
    border-radius: 9px;
}
.controlPanelClose:before {
    content: '\00d7';
}

.controlDiv_outerElement {
    width: 100%;
    display: flex;
}
.controlDiv_leftColumn {
    width: 47px;
    flex-shrink: 0;
}

.mapAttribution {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 9px;
}

.topBanner {
    background: #f7f8fa;
    display: flex;
    justify-content: right;
    align-items: center;
}

.soilFreezeDiv {
    visibility: hidden;
    /* display: flex; */
    flex-direction: column;
    position: absolute;
    bottom: 30px;
    left: 10px;
    background: rgba(194, 192, 192, 0.527);
    border-radius: 5px;
    /* border: 5px solid #000000; */
    height: 20px;
    /* flex-direction: column; */
}

.buttonIconSoilFreeze {
    width: 200px;
    height: 50px;
    color: #275a90;
    font-size: 18px;
}
/* deviation-from-normal */
.SoilFreezeDeviation {
    position: absolute;
    bottom: 50px;
    height: 25px;
    left: 160px;
    width: 100%;
    border: none;
    background-color: inherit;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;

    padding-right: 100px;
    padding-left: 20px;
    background-color: #eee;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

/* Style the active class (and buttons on mouse-over) */
/* .SoilFreezeDeviation:hover {
   background-color: #275a90;
} */
.SoilFreezeDeviation.active {
    background: #dee1e5;
    border: none;
    border-radius: 5px 5px 5px 5px;
    position: absolute;
    bottom: 50px;
    height: 30px;
    /* left: 160px; */
    border: none;
    background-color: inherit;
    /*   background-color: transparent !important; */
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    padding-right: 110px;
    /* padding-left: 20px; */
    background-color: #275a90;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}
/* normal */
.SoilFreezeNormal {
    position: absolute;
    bottom: 50px;
    height: 25px;
    left: 2px;
    border: none;
    background-color: inherit;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    padding-right: 10px;
    padding-left: 20px;
    background-color: #eee;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}
.SoilFreezeNormal.active {
    /* margin: 2px; */
    background: #dee1e5;
    border: none;
    border-radius: 5px 5px 5px 5px;
    position: absolute;
    /* bottom: 50px; */
    height: 30px;
    /* left: 2px; */
    border: none;
    background-color: inherit;
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    /* padding-right: 10px; */
    padding-left: 20px;
    background-color: #275a90;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}
/** DESKTOPS **/
@media only screen and (min-device-width: 1025px) {
    /* PANELS */
    div.infowindow {
        /* top: 5px; */
        left: 5px;
        width: 78%;
        max-width: 800px;
    }
    div.helpwindow {
        /* top: 5px; */
        left: 50%;
        width: 70%;
        max-width: 1000px;
        z-index: 1200;
    }
    div.wizardWindow {
        /* top: 5px; */
        left: 5px;
        width: 50%;
        max-width: 800px;
        z-index: 1100;
    }
}
@media only screen and (min-device-height: 801px) {
    /* PANELS */
    div.infowindow {
       /* height: 80%; */
       height: 80%;
		max-height: 510px;
        bottom: 80px;
        /* 12.12 */
        width: 95%;
       max-width: 95%;
		max-width: 1100px;
        /*margin-top: 1;*/
    }
    div.helpwindow {
        height: 80%;
    }
    div.wizardWindow {
        height: 70%;
    }
}

/** TABLETS **/
@media only screen and (min-device-width: 671px) and (max-device-width: 1024px) {
    /* PANELS */
    div.infowindow {
        /* top: 5px; */
        /* bottom: 80px; */
        left: 5px;
        width: 97%;
        	max-width: 1100px;
        height: 80%;
    }
    div.helpwindow {
        /* top: 5px; */
        /* bottom: 80px; */
        left: 5px;
        width: 97%;
        height: 80%;
    }
    div.wizardWindow {
        left: 5px;
        width: 97%;
        height: 70%;
    }
    .SoilFreezeDeviation {
        left: 2px;
        top: -90px;
    }
    .SoilFreezeDeviation.active {
        left: 2px;
        top: -90px;
    }
}

/** SMARTPHONES **/
@media only screen and (max-device-width: 670px) {
    button.ui-button:hover,
    button.move-button:hover,
    button.togglebutton.pressed_down,
    button.ol-zoom-in:hover,
    button.ol-zoom-out:hover {
        border: 1px solid #63b9e9;
    }

    /* PANELS */
    div.infowindow {
        /* left: 5px; */
        width: 97%;
    }
    div.helpwindow {
        /* left: 5px; */
        width: 99%;
    }
    div.wizardWindow {
        /* left: 5px; */
        width: 97%;
    }

    .controlPanel {
        left: 5px;
        font-size: 12px;
        padding: 10px 5px;
    }

    /* ZOOM TOOLS */
    .zoomDiv {
        position: absolute;
        top: 5px;
        right: 5px;
        background: #fff;
        border-radius: 5px;
        border: 1px solid #000000;
        display: flex;
        flex-direction: column;
        width: 32px;
        height: unset;
        padding-bottom: 2px;
    }
    .zoomButtonMiddleBorders {
        border-top: 0.2px solid #000000;
        /* border-bottom: 0.2px solid #000000; */
        border-left: 0;
        /* border-right: 0.2px solid #000000; */
    }

    .hiddenToolsDiv {
        display: flex;
        height: 0px;
        flex-direction: column;
        background: #fff;
        /* padding-top: 3px; */
        border: 0px solid #000000;
        -webkit-transition: height 0.4s; /* For Safari 3.1 to 6.0 */
        transition: height 0.4s;
        overflow: hidden;
    }
    .hiddenToolsDiv.active {
        /* display: flex; */
        height: 61px;
        border: 0px solid #000000;
        border-top: 1px solid #000000;
        border-radius: 0px;
    }
    .hiddenLangToolsDiv {
        display: flex;
        height: 0px;
        flex-direction: column;
        background: #fff;
        /* padding-top: 3px; */
        border: 0px solid #000000;
        -webkit-transition: height 0.4s; /* For Safari 3.1 to 6.0 */
        transition: height 0.4s;
        overflow: hidden;
    }
    .hiddenLangToolsDiv.active {
        /* display: flex; */
        /* height: 92px; three languages*/
        height: 60px;
        border: 0px solid #000000;
        border-top: 1px solid #000000;
        border-radius: 0px;
    }
    .hiddenToolsMiddleBorders {
        /* border-top: 0.2px solid #000000;
        border-bottom: 0.2px solid #000000; */
        border-bottom: 0.2px solid #000000;
        /* border-right: 0.2px solid #000000; */
    }
    .moreToolsDiv {
        border-top: 1px solid #000000;
    }
    .btnMoreTools {
        border-top: 0px solid #000000;
        border-left: 0px solid #000000 !important;
    }

    .nearbyFeatureSelect {
        margin: 2px;
        width: 97%;
        height: unset;
        padding: 5px 10px 5px 10px;
    }

    .legendWindow .notificationContent {
        margin: 0px 5px;
    }
    .legendImage {
        max-width: 190px;
        min-width: unset !important;
        max-height: 360px; 
    }

    .modal-dialog,
    #custom-css-overrides {
        height: 100%;
        margin: unset;
    }
    .modal-content,
    #custom-css-overrides {
        height: 100%;
    }

    .citobs_map {
        width: 100%;
        height: 100%;
    }
    .SoilFreezeDeviation {
        left: 2px;
        top: -90px;
    }
    .SoilFreezeDeviation.active {
        left: 2px;
        top: -90px;
    }
}

@media only screen and (max-device-height: 800px) {
    /* PANELS */
    div.infowindow {
        bottom: 5px;
        width: 99%;
        height: 98%;
        /* 9.12 */
        /* width:95vw; */
        max-width: 95vw;
    }
    div.helpwindow {
        top: 5px;
        width: 97%;
        height: 98%;
    }
    div.wizardWindow {
        top: 5px;
        width: 97%;
        height: 60%;
    }

    .controlPanel {
        top: 5px;
        font-size: 12px;
        padding: 10px 5px;
    }

    a.infowindow_close {
        /* float: right; */
        position: absolute;
        /* margin-top: -5px; */
        margin-right: 10px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        color: #595959;
        display: inline-block;
        line-height: 0px;
        padding: 6px 3px 10px 3px;
        top: 5px;
        right: 1px;
        z-index: 201;
        /* border: 1px solid #595959;
        border-radius: 4px; */
    }
    a.infowindow_close:hover {
        /* float: right; */
        position: absolute;
        /* margin-top: -5px; */
        margin-right: 5px;
        cursor: pointer;
        font-size: 25px;
        font-weight: bold;
        display: inline-block;
        line-height: 0px;
        padding: 6px 3px 10px 3px;
        right: 1px;
        top: 5px;
        border: 1px solid #595959;
        border-radius: 4px;
        /* background: #dee1e5; */
    }

    .nearbyFeatureSelect {
        margin: 2px;
        width: 97%;
        height: unset;
        padding: 5px 10px 5px 10px;
    }

    .legendWindow .notificationContent {
        margin: 0px 5px;
    }
    .legendImage {
        max-width: 190px;
        min-width: 150px;
        /* min-width: unset !important; */
        /* max-height: 0%; */
    }

    .divWindowTitleBar {
        display: flex;
        justify-content: space-between;
        margin: 0px 25px 0px 5px;
    }

    .modal-dialog,
    #custom-css-overrides {
        height: 100%;
        margin: unset;
    }
    .modal-content,
    #custom-css-overrides {
        /* height: 100%; */
        pointer-events: all;
    }

    .citobs_map {
        width: 100%;
        height: 100%;
    }
    .SoilFreezeDeviation {
        left: 2px;
        top: -90px;
    }
    .SoilFreezeDeviation.active {
        left: 2px;
        top: -90px;
    }
    .responsive-iframe {
        /* position: absolute; */
        position: absolute;
        /* display: flex;
    padding-top: 10%;
    overflow: hidden; */
        top: 0;
        left: 0;
        width: 99%;
        height: 97%;
        border: 0;
        max-width: 95vw;
        /* z-index: 400; */
    }
    /* .infoWizardContent_ph{
    transform: scaleY(0.75);
    margin-top: -55px;
  } */
}

/* SOME DADDY'S STYLES: */
/* legenda */
/* .legendWindow {
border-width: 0;
min-width: 122px;
right: 15px;
} */

/* .legendWindowShow {
background-image: url("../img/arrow-down-sign-to-navigate.svg");
background-repeat: no-repeat;
background-size: 13px;
display: none;
z-index: 10;
position: absolute;
right: 0px;
top: 5px;
content: ' ';
width: 20px;
height: 20px;
margin: 0;
}
.legendWindow .notificationContent {
margin: 5px 15px;
} */

/* ilmoitusboksi
.notificationButtonsDiv {
justify-content: flex-end;
}
.notificationButton {
background: #275A90;
border-radius: 20px;
color: #fff;
cursor: pointer;
font-size: 1em;
width: auto;
text-align: center;
padding: 5px 20px;
margin: 0px 10px 0px 0px;
cursor: pointer;
}  */

/* 
a.infowindow_close,  a.infowindow_close:hover {
    cursor: pointer;
    line-height: 0px;
    background-image: url(../img/modal-close-btn.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    border: 0;
    display: block;
    margin: 0;
    outline: none;
    padding: 0;
    height: 26px;
    width: 26px;
    top: -13px;
    right: -13px;
}
a.infowindow_close:before{
    content:'';
} */

/* 
.helpwindow{
	top: 57px!important;
    left: 50%!important;
    transform: translateX(-50%);

} */

/* aikajana */
div.mapcontainer-timeslider {
    position: absolute;
    bottom: 30px;
    height: 45px;
    width: 100%;
    z-index: 150;
}
div.mapcontainer-timeslider-drag-listener {
    width: 100%;
    height: 45px;
    user-select: none;
    margin-bottom: 30px;
}
div.mapcontainer-timeslider-clickable-container {
    /* width: 96%;
    margin-left: 2%;
    margin-right: 2%; */
    width: 100%;
    bottom: unset;
    height: 45px;
}
div.mapcontainer-timeslider-frame-text-wrapper,
span.mapcontainer-timeslider-pointer-text {
    font-family: 'Open Sans', 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 400;
}
div.mapcontainer-timeslider-pointer {
    box-sizing: border-box;
    position: relative;
    right: auto;
    bottom: 0;
    width: 58px;
    height: 23px;
    box-shadow: 0 0 3px #fff;
    background-color: #585858;
    /* background-color: #000; */
    background-color: #275a90;
    z-index: 200;
    border-radius: 5px;
    transform: translateY(47px);
}
div.mapcontainer-timeslider-pointer-wrapper {
    padding: 0;
}
div.mapcontainer-timeslider-pointer-wrapper:after {
    border-bottom-color: #275a90;
}
.mapcontainer-timeslider-pointer-text {
    font-size: 12px;
    padding: 0 10px;
    box-sizing: border-box;
    color: #d7b13e;
    color: #fff;
    display: table;
    margin: 0 auto;
    line-height: 22px;
    vertical-align: middle;
    letter-spacing: 0.2px;
    font-size: 12px;
    text-align: center;
}
div.pointerContainerDiv {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    /* tai jos halutaan näyttää "pykälä alhaalla" */
    /* height: 34px; */
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: lightgray; /*rgba(106, 212, 116, 0.7);*/
    z-index: 3;
}
div.mapcontainer-timeslider-indicator {
    box-sizing: border-box;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 12px;
    pointer-events: none;
    /*background-color: #585858;
    background-color: #c5c5c5;*/
    background-color: #f6f6f6;
    border-right: 1px solid #585858;
    z-index: 2;
}
div.mapcontainer-timeslider-indicator,
div.mapcontainer-timeslider-frames-container,
div.mapcontainer-timeslider-frame.history,
div.mapcontainer-timeslider-frame.future {
    background-color: #f6f6f6;
}
div.timeslider-alertindicator[data-level='1'] {
    z-index: 4;
}
div.timeslider-alertindicator[data-level='2'] {
    z-index: 4;
}
div.timeslider-alertindicator[data-level='3'] {
    z-index: 4;
}
/* tai jos halutaan näyttää ja tummentaa "pykälä alhaalla"
div.mapcontainer-timeslider-indicator { 
    background-color: #dfdfdf;
}*/

/* hakukentän “ei saa fokusta”-ongelmat voi ratkoa tällä */
input {
    -webkit-touch-callout: initial;
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: auto;
}

/* MUUTTUNUT 21.10.22 ns. uudet legendat */
/* piilotetaan vanhoja elementtejä dev-vaiheessa */
.legendTitle.ltitle-layernames_surfaceTemperatureLakes,
.legendTitle.ltitle-layernames_surfaceTemperature,
.legendTitle.ltitle-layernames_iceThicknessLakes,
.legendTitle.ltitle-layernames_soilHumidity,
.legendTitle.ltitle-layernames_groundWaterLevel,
.legendTitle.ltitle-layernames_accumulatedRain,
.legendTitle.ltitle-layernames_waterLevelRivers,
.legendTitle.ltitle-layernames_waterLevelLakes,
.legendTitle.ltitle-layernames_floodCoveredArea_sea_20_100_1,
.legendTitle.ltitle-layernames_cyanobacteria_citobs,
.legendTitle.ltitle-layernames_canalLocksAndDams,
.legendTitle.ltitle-layernames_waterservices,
.legendTitle.ltitle-layernames_groundWaterQuality,
.legendTitle.ltitle-layernames_groundWater,
.legendTitle.ltitle-layernames_surfaceWaterEcologicalStatus_coast,
.legendTitle.ltitle-layernames_soilFreeze,
.legendTitle.ltitle-layernames_snowDepth,
.legendTitle.ltitle-layernames_snowWaterContent,
.legendTitle.ltitle-layernames_floodCoveredArea_20_100_1,
.legendTitle.ltitle-layernames_controlled_lakes {
    display: none;
}
/* kuva */

.legendItem.litem-layernames_surfaceTemperatureLakes .legendImage,
.legendItem.litem-layernames_surfaceTemperature .legendImage,
.legendItem.litem-layernames_iceThicknessLakes .legendImage,
.legendItem.litem-layernames_soilHumidity .legendImage,
.legendItem.litem-layernames_groundWaterLevel .legendImage,
.legendItem.litem-layernames_accumulatedRain .legendImage,
.legendItem.litem-layernames_waterLevelRivers .legendImage,
.legendItem.litem-layernames_waterLevelLakes .legendImage,
.legendItem.litem-layernames_floodCoveredArea_sea_20_100_1 .legendImage,
.legendItem.litem-layernames_cyanobacteria_citobs .legendImage,
.legendItem.litem-layernames_canalLocksAndDams .legendImage,
.legendItem.litem-layernames_waterservices .legendImage,
.legendItem.litem-layernames_groundWaterQuality .legendImage,
.legendItem.litem-layernames_groundWater .legendImage,
.legendItem.litem-layernames_surfaceWaterEcologicalStatus_coast .legendImage,
.legendItem.litem-layernames_soilFreeze .legendImage,
.legendItem.litem-layernames_snowDepth .legendImage,
.legendItem.litem-layernames_snowWaterContent .legendImage,
.legendItem.litem-layernames_floodCoveredArea_20_100_1 .legendImage,
.legendItem.litem-layernames_controlled_lakes .legendImage,
.legendItem.litem-layernames_cyanobacteria1 .legendImage {
    max-width: 280px !important;
    width: 280px !important;
    min-width: 240px !important;
    bottom: 2;
}
/* piilotetaan ns. lisälayerit, kuten käyttäjien havainnot */
.legendItem.litem-layernames_watertemperature_citobs,
.legendItem.litem-layernames_ice_citobs,
.legendItem.litem-layernames_groundwater_citobs,
.legendItem.litem-layernames_groundwater_citobs,
.legendItem.litem-layernames_flood_citobs,
.legendItem.litem-layernames_abnormalwaterlevel_citobs,
.legendItem.litem-layernames_flood_citobs,
/* levätilanteen toinen legenda, sama data on jo uudessa 1. */
.legendItem.litem-layernames_cyanobacteria_citobs+.legendItem.litem-layernames_cyanobacteria1,
.legendItem.litem-layernames_soilFreeze_citobs,
.legendItem.litem-layernames_snow_citobs,
.legendItem.litem-layernames_watertrafficlimitations,
.legendItem.litem-layernames_seawarnings,
.legendItem.litem-layernames_fairway_line {
    display: none;
}

/* legendan suurennettu ikkuna */
.notificationHeadline {
    display: none !important;
}

.notificationContent img[data-state='unzoomed'] {
    width: auto !important;
}
.notificationWindow {
    width: auto;
    min-width: 300px;
}
/* muuta */

.legendWindowClose {
    top: -13px;
    right: -13px;
}
.legendWindowContent {
    margin: 0px;
}
.legendContent {
    max-height: none;
}
.divWindowLayerMetaInfo {
    margin: 0px;
}
@media (min-width: 768px) {
    .legendWindow {
        max-height: none;
    }
    .legendContent {
        width: auto !important;
    }
}

/* for high resolution displays 
tip from Daddy/JM*/
@media (min-width: 1280px) {
    .container-fluid {
        max-width: 100% !important;
    }
}


/* range-input-elementin tyylit */
input[type=range] {
	-webkit-appearance: none; /* Piilota oletustyyli */
	width: 100%; /* leveys vaaditaan (Firefox) */
	background: transparent; /* vaaditaan (Chrome) */
	margin-top: 20px;
	display: block;
}
input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
}
input[type=range]:focus {
	outline: none; /* oletus poistettu, korvataanko glowlla tms? */
}
input[type=range]::-ms-track {
	width: 100%;
	cursor: pointer;
	background: transparent;
	border-color: transparent;
	color: transparent;
}

input[type=range]::-webkit-slider-thumb {
	box-shadow: none;
	border: 0;
	height: 20px;
	width: 20px;
	border-radius: 1rem;
	background: #275a90;
	cursor: pointer;
	margin-top: -8px; /* vaadittu Chrome, Firefox+IE automaattinen */
}
input[type=range]::-moz-range-thumb {
	box-shadow: none;
	border: 0;
	height: 20px;
	width: 20px;
	border-radius: 1rem;
	background: #275a90;
	cursor: pointer;
}
input[type=range]::-ms-thumb {
	box-shadow: none;
	border: 0;
	height: 20px;
	width: 20px;
	border-radius: 1rem;
	background: #275a90;
	cursor: pointer;
}
input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	/*height: 4px;*/
	height: 2px;
	cursor: pointer;
	box-shadow: none;
	background: #275a90; 
	border-radius: 1.3px;
	border: 0;
	transform: translateY(-10px);
}
.map-layer-btn input[type=range]::-webkit-slider-runnable-track {
height: 1px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
	background: #275a90;
}

input[type=range]::-moz-range-track {
    /*height: 3px;*/
    /*height: 2px;*/
    background: #3071a9;
    border-radius: 1.3px;
    border: 0.2px solid #275a90;
    box-shadow: 1px 1px 1px #275a90, 0px 0px 1px #275a90;
    height: 0px;
    cursor: pointer;
    outline: 0 !important;
    width: 100%;
}
input[type=range]::-ms-track {
	width: 100%;
	/*height: 3px;*/
	height: 2px;
	cursor: pointer;
	background: transparent;
	border-color: transparent;
	border-width: 16px 0;
	color: transparent;
}
input[type=range]::-ms-fill-lower {
	background: #275a90;
	border: 0.2px solid #275a90;
	border-radius: 2.6px;
	box-shadow: 1px 1px 1px #275a90, 0px 0px 1px #275a90;
}
input[type=range]:focus::-ms-fill-lower {
	background: #3071a9;
}
input[type=range]::-ms-fill-upper {
	background: #275a90;
	border: 0.2px solid #275a90;
	border-radius: 2.6px;
	box-shadow: 1px 1px 1px #275a90, 0px 0px 1px #275a90;
}
input[type=range]:focus::-ms-fill-upper {
	background: #275a90;
}



/* Karttatasojen valitsin */
.map-layers-selector-container {
bottom: 85px;
font-size: 9px;
left: 10px;
letter-spacing: 0.1px;
line-height: 10px;
position: absolute;
}
.map-layers-selector-btn {
	background-color: #ffffff;
	border: solid 1px #275a90;
	border-radius: 8px;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.26);
	color: #275a90;
	cursor: pointer;
	font-size: 10px;
	/*height:65px;*/
	height: 70px;
	position: relative;
	text-align: center;
	width: 60px;
}
.map-layers-selector-btn span {
bottom: 5px;
box-sizing: border-box;
left: 0;
padding-left: 2px;
padding-right: 2px;
position: absolute;
text-align: center;
width: 100%;
}
.map-layers-selector-show-more {
	background-color: #ffffff;
	bottom: 85px;
	border: solid 1px #275a90;
	border-radius: 8px;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.26);
	color: #275a90;
	cursor: pointer;
	display: none;
	left: 80px;
	min-height: 70px;
	min-width: 50px;
	position: absolute;
	text-align: center;
}
.map-layers-selector-show-more.act {
	display: block;
}
.layers-btn {
	border-radius: 8px;
	display: block;
	left: 50%;
	margin: 0 auto;
	max-width: 33px;
	position: absolute;
	top: calc(50% - 12px);
	transform: translate(-50%, -50%);
}
.map-layers-selector-show-more {
	font-size: 9px;
}
.map-layer-btn {
/* background-color: #ffffff; */
color: #275a90;
cursor: pointer;
font-size: 10px;
font-weight: 500;
display: inline-block;
height: auto;
line-height: 10px;
padding: 5px;
position: relative;
text-align: center;
vertical-align: text-top;
height: auto;
padding: 5px;
position: relative;
text-align: center;
vertical-align: text-top;
width: 55px;
}
.map-layer-btn .map-layer-btn-icon+span{
display:block;
letter-spacing: 0.3px;
/* tällä pidetään kaksirivisten alla oleva sliderit samalla tasolla kuin 1 rivisten */
min-height: 2.4em;
}
.map-layer-btn-icon.more-icon {
	border: 0;
}
.map-layer-btn.act .map-layer-btn-icon{
	border-width: 3px;
	border-color: #e9b313;
}
.map-layers-selector-show-more .cont-row{
padding-top: 5px;
padding-left: 7px;
padding-right: 9px;
}
.map-layer-btn-icon {
border: solid 1px #275a90;
border-radius: 8px;
height: 46px;
margin: 2px auto;
width: 46px;
margin-bottom: 5px;
}

/* eri karttojen ikonikuvat */
.map-layer-btn.MML_Taustakartta  .map-layer-btn-icon{
	background-image:url('../img/taustakartta.png');
	background-size:cover;

}
.map-layer-btn.MML_Ortokuva .map-layer-btn-icon{
	background-image:url('../img/satelliittikartta.png');
	background-size:cover;
}
.map-layer-btn.MML_Selkokartta .map-layer-btn-icon{
	background-image:url('../img/selkokartta.png');
	background-size:cover;
}
.map-layer-btn.MML_Maastokartta .map-layer-btn-icon{
	background-image:url('../img/maastokartta.png');
	background-size:cover;
}
.map-layer-btn.MML_Korkeusmalli_vinovalo .map-layer-btn-icon{
	background-image:url('../img/rinnevarjostekartta.png');
	background-size:cover;
}
.map-layer-btn.INSPIRE_Syke_Maanpeite .map-layer-btn-icon{
	background-image:url('../img/corine2018.png');
	background-size:cover;
}

/* väliviiva*/
.map-layer-divider{
border-left: solid 1px #275a90;
display: inline-block;
height: 65%;
min-height: 65px;
margin-left: 6px;
margin-right: 6px;
margin-top: 4px;
position: relative;
text-align: center;
vertical-align: text-top;
width: 1px;
}

/* Karttatason valitsimessa olevat range-elementit jos tulevat toteutukseen */
.map-layer-btn input[type=range] {
	display: none;
	margin-top: 15px;
	margin-left:auto;
	margin-right:auto;
	width: calc(100% - 8px);
}


.map-layer-btn.act input[type=range] {
	display: block;
}
.map-layer-btn input[type=range]::-webkit-slider-thumb {
	height: 11px;
		margin-top: -5px;
		width:5px;
    border-radius:2px;
}
.map-layer-btn input[type=range]::-moz-range-thumb {
	height: 11px;
		width:5px;
    border-radius:2px;
}
.map-layer-btn input[type=range]::-ms-thumb {
	height: 11px;
		width:5px;
    border-radius:2px;
}
.map-layer-btn.more > .more-txt {
	display: inline-block;
}
.map-layer-btn.more > .less-txt {
	display: none;
}
.map-layer-btn.more.act > .more-txt {
	display: none;
}
.map-layer-btn.more.act > .less-txt {
	display: inline-block;
}
.map-layers-selector-show-even-more {
	display: none;
	max-width: 160px;
	text-align: left;
}
.map-layers-selector-show-even-more.act {
	display: block;
}
.dropbtn{
    padding-left: 1em;
    position: relative;
    width: auto;
    max-width: 80%;
    margin-bottom: 10px;
    margin-left: 10px;
    display: block;
    }
    
    #phDropdown{
    border: none;
    background-color: #ffffff;
    color: #275a90;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 10px;
    margin-left: -1em;
    margin-right: -1em;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    outline: none;
    font-size: 0.9rem;
    }
    
