@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
body, html {
    padding:0px;
    margin:0px;
    overflow:hidden;
    width:100%;
    height:100%;
    font-family: 'Roboto', sans-serif;
}
.map{
    width:100vw;
    height:100vh;
}


#popup{
    display:none;
    border-radius: 5px;
    padding: 10px;
    background: white;
    color: #474A59;
    border: 2px solid #474A59;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}
#popup p{
    margin:0;
}
#popup .bubble-bottom{
    display: block;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    border-bottom: 2px solid #474A59;
    position: relative;
    bottom: -17px;
    background: white;
    z-index: 1;
    border-right: 2px solid #474A59;
    left: calc(50% - 7px);
}
#popup #popup-container{
    margin-bottom: -10px;
}
/*Custom overview*/
#overViewMap{
    width: 100%;
    height: 200px;
}
.ol-control{
    border-radius: 0;
}
.ol-overviewmap, .ol-overviewmap .ol-custom-overviewmap .ol-unselectable .ol-control{
    left:0;
    top:0;
    bottom:0;
    right:0;
    padding:0;
}
.ol-overviewmap .ol-overviewmap-map{
    height:100%;
    width:100%;
    margin:0;
    border:none;
}
#overViewMap button{
    display: none;
}
.ol-overviewmap:not(.ol-collapsed){
    background: white;
}
.ol-overviewmap-box {
    border: 2px dotted rgba(136, 0, 0, 0.7);
}
/*Custom overview end*/
/*Map control*/
#mapControl{
    position:fixed;
    display:block;
    z-index:1;
    background: url('../img/consol.png') no-repeat center center;
    right:calc(50% - 154px);
    bottom:20px;
    width:304px;
    height:75px;
    border-radius: 45px;
    border:2px solid #474A59;
}
#mapControl button{
    position:absolute;
    display:block;
    cursor:pointer;
    background: none;
    border:none;
}
#zoomInButton, #zoomOutButton, #geoLocateButton{
    width:70px;
    height:70px;
    border-radius: 30px;
}
#zoomInButton{
    top:2px;
    left:77px;
}
#zoomOutButton{
    top:2px;
    left:151px;
}
#geoLocateButton{
    top:2px;
    left:5px;
}
#panUpButton, #panDownButton, #panLeftButton, #panRightButton{
    width:30px;
    height:30px;
}
#panUpButton{
    top:2px;
    left:248px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
#panDownButton{
    top:44px;
    left:248px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
#panLeftButton{
    top:23px;
    left:228px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
}
#panRightButton{
    top:23px;
    left:269px;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
}
.ol-control button, .ol-control button:hover{
    background: none;
}
.ol-zoom{
    display:none;
}
/*Map control end*/
/*Compass*/
.ol-rotate, .ol-rotate:hover {
    top:20px;
    right:20px;
    transition:opacity .25s linear,visibility 0s linear ;
    width:75px;
    height:75px;
    border-radius: 45px;
    border:2px solid #474A59;
    background-color: rgba(255, 255, 255, 0.35);

}

button.ol-rotate, button.ol-rotate-reset, button.ol-rotate-reset:hover, button.ol-rotate-reset:active,div.ol-rotate-reset, div.ol-rotate-reset:hover, div.ol-rotate-reset:active {
    display: block;
    margin: 0;
    padding: 0;
    color: #fff;
    text-decoration: none;
    text-align: center;
    line-height: .4em;
    border: none;
    border-radius: 50px;
    height: 75px;
    width: 75px;
}
span.ol-compass {
    display:block;
    will-change:transform;
    background:url('../img/compass.png') no-repeat center center;
    width:75px;
    height:75px;
}
/*Compass end*/
/*NAV icon*/
#nav-icon{
    width: 60px;
    height: 60px;
    position: fixed;
    top: 10px;
    left:10px;
    margin: 0px auto;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
    cursor: pointer;
    z-index:3;
    border-radius: 45px;
    border:2px solid #474A59;
    background-color: rgba(255, 255, 255, 0.35);
  }
  #nav-icon.open{
    left:282px;
  }
  
  #nav-icon span{
    display: block;
    position: absolute;
    height: 5px;
    width: 45px;
    background: #474A59;
    border-radius: 5px;
    opacity: 1;
    left: 7px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
  }
  #nav-icon span:nth-child(1) {
    top: 17px;
  }
  
  #nav-icon span:nth-child(2) {
    top: 28px;
  }
  
  #nav-icon span:nth-child(3) {
    top: 39px;
  }
  
  #nav-icon.open span:nth-child(1) {
    top: 29px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  
  #nav-icon.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
  }
  
  #nav-icon.open span:nth-child(3) {
    top: 29px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }
  
  
/*NAV icon end*/
/*Menu items*/
nav{
    background: #474A59;
    position: fixed;
    left:0;
    width: 300px;
    height:100%;
    box-shadow: 0px 0px 22px 0px rgba(0,0,0,0.75);
    z-index:2;
    overflow-y: auto;
    margin-left: -322px;
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;

}
nav.open{
    margin-left: 0px;
}
nav ul{
    padding:0;
    margin:0;
}
nav li{
    list-style: none;
}
nav ul li{
    padding:0;
    border-bottom: 1px solid #474A59;
    border-top: 1px solid #74767c;
}
nav ul li:first-child{
    border-top: none;
}
nav ul li:last-child{
    border-bottom: none;
}
.menuLink{
    display:block;
    color:white;
    font-size:18px;
    text-decoration:none;
    width:100%;
    line-height:60px;
    padding-left:20px;
    box-sizing: border-box;
    transition: 0.5s;
    transition-property: background;
}
.menuLink:hover{
    background: #74767c;
}
.menuLink svg{
    width:20px;
    color:white;
    padding-right:10px;
}
.functionContainer{
    position:relative;
    top:0px;
    left:0px;
    margin:5px 5px 5px 5px;
    width:calc(100% - 10px);
}
.hidden{
    display: none;
}
.visible{
    display: block;
}
nav fieldset{
    color: #fff;
}
#distanceResult, #areaResult{
    color: #fff;
    overflow: hidden;
    border-radius: 3px;
    width: 100%;
    display: block;
    font-size: 18px;
    text-align: center;
}
button.measureButton{
    width: calc(50% - 3px);
    height: 40px;
    border-radius: 5px;
    margin: 10px;
    color: white;
    background: #0077CC;
    border: none;
    cursor: pointer;
    margin-left:0px;
    margin-right:0px;
}
button.measureButton.cancel{
    background: #c9302c;
}
button.searchUtca{
    width : calc(100%);
}
button.searchHrsz{
    width : 80px;
}
#search-hrsz, #search-utca, #search-hazszam{
    height: 38px;
    border-radius: 5px;
    border: none;
    text-align:center;
}
#search-hrsz{
    width: calc(100% - 90px);
}
#search-utca{
    width: calc(100% - 69px);
}
#search-hazszam{
    width: 55px;
}
#resultContainer-utcaHazszam{
    height: 250px;
    overflow: auto;
}
#resultContainer-utcaHazszam a{
    width:100%;
    display:block;
    text-decoration: none;
    cursor: pointer;
    transition: 0.5s;
    transition-property: background;
}
#resultContainer-utcaHazszam a:hover{
    background: #74767c;
}

/*Menu items end*/
/*LoadingBox*/
#loadingBoxDiv
{
	/*display:none;*/
	background-color: rgba(255, 255, 255, 0.35);
	border:solid 2px rgba(71, 74, 89, 1);
	border-radius: 10px;
	width:60px;
	margin:auto;
	position: fixed; 
	top: calc(50% - 32px);
	left: calc(50% - 32px);
	text-align:center;
	z-index:1;
	color:rgba(0, 0, 0, 0.5);
    font-size:15px;
    padding: 5px;
}
#loadingBoxDiv img
{
	width:60px;
}
/*LoadingBox end*/
/*Layer container*/
#layerContainer{
    background: #fff;
    display:block;
    overflow-y: auto;
    max-height:400px;    
}
#layerContainer li{
    border: none;
}
.main-ul, .main-ul ul{
    position: relative;
    display: block;
    list-style: none;
    margin:0;
    padding: 0;
}
.main-ul li{
    padding-left:20px;
}
.folder-li label{
    padding-left:20px;
    background: url("../img/tree.png") no-repeat;
    background-position: left -20px;
    background-repeat: no-repeat;
    font-size: 14px;
    cursor: pointer;
}
.folder-li button{
    display:block;
    border:none;
    width: 20px;
    height: 20px;
    float:left;
    margin-left:-20px;
    background: url("../img/tree.png") no-repeat;
    background-position: left -80px;
    background-repeat: no-repeat;
    cursor: pointer;
} 
.folder-li:last-child button{
    background-position: left -140px;
    background-repeat: no-repeat;
}
.folder-li.open label.open{
    background-position: left -40px;
    background-repeat: no-repeat;
}
.folder-li.open button.open{
    background-position: left -100px;
    background-repeat: no-repeat;
} 
.folder-li.open:last-child button.open{
    background-position: left -160px;
    background-repeat: no-repeat;
}
.folder-li{
    background: url("../img/tree-line.png");
    background-repeat: repeat-y;
    background-position: left top;
}
.layer-li{
    background: url("../img/tree-long.png") no-repeat;
    background-position: left -60px;
    background-repeat: no-repeat;
}

.folder-li:last-child, .layer-li:last-child{
    background: url("../img/tree-end.png") no-repeat;
    background-position: left top;
    background-repeat: no-repeat;
}
.layer-li label{
    padding-left:20px;
    background: url("../img/tree.png") no-repeat;
    background-position: left 0px;
    background-repeat: no-repeat;
    font-size: 14px;
    cursor: pointer;
}


/*.folder-li ul:first-of-type{
    display:none;
}
.folder-li.open ul:first-of-type{
    display:block;
}*/

/*.main-ul li, .main-ul label{
    padding-left:20px;
    background: url("../img/tree.png") no-repeat;
}
.folder-li.open{
    background-position: left -100px;
    background-repeat: no-repeat;

} 
/*.main-ul li{
    background-position: left -60px;
}
.main-ul li.folder-li.open{
    
}
.main-ul li.folder-li.close{
    background-position: left -80px;
}

.main-ul li .folder-label.open {
    background-position: left -40px;
}
.main-ul li .folder-label.close {
    background-position: left -20px;
}

/*.jxTree, .jxTreeRoot {
    position: relative;
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}
.jxTree li, .jxTreeRoot li{
    border: none;
}
.jxTree li.jxTreeContainer {
    margin-left: 16px;
}
/*.layer-list{
    list-style-type: none;
    font-size: 0.9em;
    line-height: 1.8em;
    margin-left: 20px;
    padding-left: 18px;
    border-left: 1px dotted #aaa;
}
.file-list .folder-root.open::before {
    content: url("../img/minus.png");
}*/
/*Layer container end*/