.nav-ui-wrap { position: absolute; display: none; margin-left: 10px; /* edit CHANGE */ /* edit REMOVE margin-top: 1%; */ } .nav-ui-wrap div{ border: 4px solid #5555ff; } .map-button { border: 1px solid #6d6f72; width: 24px; height: 24px; margin: 1px -6px 1px 1px; background-color: white; color: black; padding: 0; align-items: flex-start; text-align: center; cursor: default; } #nav-arrows { border: none; display: block; position: relative; margin-top: 15%; margin-left: -3px } /* edit ADD start */ #nav-arrows > button { line-height: 30px; } /* edit ADD end */ #zoom { border: none; display: block; margin-top: 20px; /* edit ADD */ margin-left: 20px; /* edit ADD */ position: relative; } /* edit ADD */ #zoom button { line-height: 28px; } #zoom-in { border: 1px solid #6d6f72; /* edit REMOVE margin: 1px; */ background-color: white; color: black; padding: 0; align-items: flex-start; text-align: center; cursor: default; display: block; /* edit ADD */ margin-bottom: -2px; } #zoom-out { /* edit REMOVE margin-top: 3%; */ background-color: #ffffff; display: block; } #nav-up { position: relative; margin-bottom: -2px; /* edit CHANGE */ left: 35%; background-color: #ffffff; display: block; } #nav-left { display: inline-block; background-color: #ffffff; } #nav-right { display: inline-block; background-color: #ffffff; /* edit REMOVE margin-left: -1px; */ } #nav-down { /*position: relative; left: 14.25%;*/ /* edit REMOVE margin-left: -1px; */ display: inline-block; /*margin-top: -1%;*/ background-color: #ffffff; } #nav-up > a, #nav-down > a, #nav-left > a, #nav-right > a { min-width: 100%; min-height: 100%; } #nav-up:hover, #nav-down:hover, #nav-left:hover, #nav-right:hover, #zoom-in:hover, #zoom-out:hover, #nav-up:focus, #nav-down:focus, #nav-left:focus, #nav-right:focus, #zoom-in:focus, #zoom-out:focus { /*opacity: 0.3;*/ background-color: #5555ff; } #nav-reset { display: block; /* edit CHANGE */ position: relative; margin-left: 21px; /* edit CHANGE */ /* edit ADD */ margin-top: 5px; /*width: 32px;*/ background-color: #ffffff; background-image: url(../gfx/icon_home.svg); background-repeat: no-repeat; background-position: center; background-size: 110%; } #nav-reset:hover, #nav-reset:focus { /*opacity: 0.3;*/ background-color: #5555ff; } #map-search { position: relative; margin-left: 21px; margin-top: 5px; background-color: #ffffff; background-image: url(../gfx/mapsearch.png); background-repeat: no-repeat; background-position: center; background-size: 95%; } #map-search:hover, #map-search:focus { background-color: #5555ff; } /* edit ADD start */ #open-legend { display: none; position: relative; margin-top: -10px; } /* edit ADD end */ #layer-toggle { width: 2em; height: 2em; margin-left: 30%; position: relative; display: none; background-color: #ffffff; /*background-image: url(../gfx/globe.svg);*/ /*background-position: center;*/ /*background-repeat: no-repeat;*/ /*background-si1ze: 90%;*/ } #layer-toggle:hover { background-color: #5555ff; } .map-legend { position: relative; } .map-legend button.legend { background-color: #000000; color: #ffffff; } .map-legend button.legend:hover, .map-legend button.legend:focus { background-color: #6d6f72; border: 1px solid #000000; } .map-legend-info { font-family: Metric, sans-serif; position: absolute; top: 10em; left: 0; height: 14em; background-color: #ffffff; width: 15%; min-width: 11em; text-align: left; padding: 10px; } .map-legend-info .icon { width: 20px!important; height: 20px!important; vertical-align: middle; } .map-legend-info .legend-title { /* .smallcaps { font-size: 75%; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; } */ /* shadow-bottom= box-shadow: 0 6px 10px -8px #000;;*/ font-size: 80%; position: relative; margin-left: -10px; padding-left: 10px; height: 30px; width: 90px; line-height: 32px; letter-spacing: 3px; background-color: #000000; color: #ffffff; } .map-legend-info .legend-title::after { position: absolute; left: 100%; top: 50%; content: ' '; pointer-events: none; height: 0; width: 0; border-color: rgba(105, 192, 186, 0); border-width: 15px; border-left: 10px solid #000000; margin-top: -15px; } .nav-ui-wrap #open-legend { background-color: #000000; color: #ffffff; position: relative; left: 20px; /* edit CHANGE */ top: 1em; line-height: 28px; } .nav-ui-wrap #open-legend:hover { background-color: #ffffff; color: #000000; } .map-legend-info .closelegend { position: absolute; right: 5px; top: 5px; } .map-legend-info .closemenu { border: 0; } .map-legend-info .closemenu:hover, .map-legend-info .closemenu:focus { border: 0; background-color: transparent; color: #000000; } .map-legend-info .legend-row { font-size: 70%; margin-top: 10px; } .map-legend-info .legend-row div, .map-legend-info .legend-controls > div { display: inline; } .map-legend-info .legend-controls { font-size: 65%; margin: 20px 0 10px 0; padding: 20px 0; border-top: 1px solid black; height: 100px; text-align: center; } .map-legend-info .legend-control-icon { display: inline; vertical-align: middle; } .map-legend-info .legend-control-icon:first-of-type{ width: 20px; height: 41px; } .map-legend-info .legend-control-icon:nth-of-type(2) { width: 61px; height: 41px; } #legend { display: none; } /* @media screen and (max-width: 531px) { #legend, #open-legend { display: none; } .nav-ui-wrap { margin-top: 0; } #nav-arrows { margin-right: 16%; float: right; display: block; } #nav-reset { margin-top: 10%; margin-left: 5.6%; } #nav-up { left: 37%; } #zoom { display: block; left: 5.6%; } } */ /*!* Portrait and Landscape *!*/ /* @media (min-width: 523px) and (max-width: 768px) { #legend, #open-legend { display: none; } #zoom { left: 5%; display: inline-block; } #nav-arrows { display: inline-block; float: right; margin-right: 10%; } #nav-reset { margin-left: 5.6%; } } */ /*@media screen and (min-width: 768px)*/ /*and (max-width: 1370px) {*/ /*#cesiumContainer {*/ /*width: 100%;*/ /*}*/ /*#legend {*/ /*font-size: 65%;*/ /*transform: translateY(53.5em);*/ /*}*/ /*#legend-pre {*/ /*display: none;*/ /*}*/ /*}*/ /*@media screen and (min-width: 1370px)*/ /*and (max-width: 1600px) {*/ /*#legend {*/ /*transform: translateY(44em);*/ /*}*/ /*#legend-group div.legend-text {*/ /*font-size: 1em;*/ /*}*/ /*}*/