:root {
    --main-bg-color: #212529; /*#2c3a47;*/
    --main-select-color: #3F4B57;
    --navigation-text-color:#D8DBDD;/* #ecf0f1;*/
    --top-nav-height: 59px;
    --footer-height: 0px; /*43px;*/
    --left-menu-width: 45px;
}

#map {
    height: calc(100% - (var(--top-nav-height) + var(--footer-height)));
    position: fixed;
    right: 0;
    left: var(--left-menu-width);
    /* box-shadow: 1px 1px 5px 5px; */
    z-index: -1;
    /* width:100%; */
}

html {
    font-size: 1rem;
  }
  
  @include media-breakpoint-up(sm) {
    html {
      font-size: 1.2rem;
    }
  }
  
  @include media-breakpoint-up(md) {
    html {
      font-size: 1.4rem;
    }
  }
  
  @include media-breakpoint-up(lg) {
    html {
      font-size: 1.6rem;
    }
  }

.default-bg-color {
    background-color: var(--main-bg-color);
}
.default-select-bg-color {
    background-color: var(--main-select-color);
}
.sidebar-color {
    background-color: var(--main-bg-color);
    color: var(--navigation-text-color);
    opacity: 0.9;
}
.fixed-top {
    /* height: var(--top-nav-height); */
    box-shadow: 0px 0px 5px grey;
}
.navbar-text {
    color: var(--navigation-text-color);
}
.title-text {
    color: var(--navigation-text-color);
    font-size: 1rem;
}
.navbar-link {
    color: var(--navigation-text-color);
}
.text-align-left {
    text-align: left;
}

.top-nav-item:hover {
    -ms-transform: scale(1.5); /* IE 9 */
    -webkit-transform: scale(1.5); /* Safari 3-8 */
    transform: scale(1.5); 
}
.hr-accessibility {
    background-color: var(--navigation-text-color);
}
/* Main page */
.main-page {
    /* margin-top: var(--top-nav-height); */
    margin-right: 0;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
}
.left-nav {
    width: var(--left-menu-width);
    list-style: none;
    height: calc(100% - (var(--top-nav-height) + var(--footer-height))); 
    position: fixed;
    border-top: 1px solid var(--navigation-text-color);
    box-shadow: 0px 0px 5px #3F4B57;
}
/* hover effect on  left menu items */
.left-nav-item {
    transition: transform .2s;
}
.left-nav-item:hover {
    -ms-transform: scale(1.5); /* IE 9 */
    -webkit-transform: scale(1.5); /* Safari 3-8 */
    transform: scale(1.5); 
}
/* hover effect */
.main-content {
    width: calc(100% - var(--left-menu-width));
    display: flex;
    height: fit-content;
}
.menu-content {
    border-top: 1px solid var(--navigation-text-color);
    position: fixed;
    height: calc(100% - (var(--top-nav-height) + var(--footer-height)));
    overflow: auto;
    margin-left: var(--left-menu-width);
    width: 235px;
    padding: 10px;
    box-shadow: 0px 0px 5px #3F4B57;
}
/* closer for menu window */
.closebtn {
    position: absolute;
    right: 10px;
    font-size: 1.5rem;
}
.cursor-pointer {
    cursor: pointer;
}
.menu-hr {
    padding: 0%;
    margin: 0%;
    /* margin-bottom: 10%; */
    border-color: var(--navigation-text-color);
}
.legend-content {
    background-color: var(--main-bg-color);
    color: var(--navigation-text-color);
    border: 1px solid var(--navigation-text-color);
    position: fixed;
    height: calc(100% - (var(--top-nav-height) + var(--footer-height)));
    overflow: auto;
    right: 0;
    width: 235px;
    padding: 10px;
}

/* Basemap layers style */
.layerList {
    padding:0;
    width: 100%;
    /*border-left: 4px solid red;*/
    background-color: transparent;
    font-size: 1rem;
}
.basemap-opener {
    display:flex;
    cursor: pointer;
}
.basemap-opener:hover {
    opacity: 0.8;
}
.basemap-box {
    /* text-align: left; */
    padding: 3%;
    /* border-bottom: 1.5px solid #ddd; */
    /* display: flex;
    align-items:center; */
    cursor: pointer;
}
.basemap-box:hover {
    opacity: 0.5;
}
.basemap-icon {
    width:100%;
    height: 50px;
	margin-right:3%;
}
/* Basemap layers style */

/* Additional layers style */
.layer-box {
    text-align: left;
    /* border-bottom: 0.5px solid #ddd; */
    display: flex;
    align-items:center;
    cursor: pointer;
    padding: 3%;
    background-color: var(--main-select-color);
}
.layer-box:hover {
    opacity: 0.5;
}
/* .visible-box {
    display: flex;
    align-items:center;
    width:75%;
    cursor: pointer;
    padding:5%;
}
.style-box {
    display: flex;
    align-items:center;
    cursor: pointer;
    width:25%;
    padding:5%;
} */
.visible-icon {
	width:10%;
	margin-right:3%;
}
/* .style-icon {
	width:100%;
} */
/* Additional layers style */
/* Main page */

/** Footer */
.footerTitle {
    float: left;
    text-align: right;
    width: 11%;
    padding: 10px;
    box-sizing: border-box;
}

.footerValues {
    float: left;
    width: 21%;
    padding: 10px;
    box-sizing: border-box;
}
.footer {
    background-color: var(--main-bg-color);
    height: var(--footer-height);
}
/* Clear floats after the columns */
.footer:after {
    content: "";
    display: table;
    clear: both;
}
/** Footer */

/** Drop down/up icons for basemap */
/* Dropdown icon */
.down-icon {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
/* Dropup icon */
.up-icon {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}
.drop-icon {
    border: solid var(--navigation-text-color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 4px;
    right:10px; 
    position: absolute;
}
/** Drop down/up icons for basemap */

/** Map controls right site - overright existing ol style */
.ol-zoom {
    /* top:.5em; */
    right: .5em;
    left: auto;
}
.ol-zoom-extent {
    /* top: 4.643em; */
    right: .5em;
    left: auto;
}
.ol-mouse-position {
    bottom: 8px;
    right: 50%;
    position: absolute;
    background-color: var(--main-bg-color);
    opacity: 0.7;
    color: var(--navigation-text-color);
    padding-left: 5px;
    padding-right: 5px;
    font-size: 0.8rem;
    /* font-weight: bold; */
    text-decoration: none;
    text-align: center;
    border-radius: 2px 2px 0 0;
    top: auto;
}
.legend-btn {
    top: 7em;
    right:.5em;
}
.measure-line-btn {
    top: 9.357em;
    right:.5em;
}
.measure-area-btn {
    top: 11.714em;
    right:.5em;
}
.delete-measurement-btn {
    top: 14.071em;
    right:.5em;
}
.ol-control button {
    background-color: var(--main-bg-color);
    color: var(--navigation-text-color);
    overflow: hidden;
    /* display: block;
    margin: 1px;
    padding: 0;
    font-size: 1.14em;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    height: 1.375em;
    width: 1.375em;
    line-height: .4em;
    border: none; */
}
.control-icon {
    height: 1em;
}
/** Map controls right site */

  .bottom-right {
    position: inherit;
    bottom: 8px;
    right: 16px;
    font-size: 0.8rem;
  }

  /** Feature Popup */
  /* Info pop up */
.ol-popup {
    position: absolute;
    background-color: white;
    /*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));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 5px;
    left: -50px;
    width: 500px; /*200*/
    height: auto; /*350px;*/
    display: none;
}

    .ol-popup:after, .ol-popup:before {
        top: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    .ol-popup:after {
        border-top-color: white;
        border-width: 10px;
        left: 48px;
        margin-left: -10px;
    }

    .ol-popup:before {
        border-top-color: #cccccc;
        border-width: 11px;
        left: 48px;
        margin-left: -11px;
    }

.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 0; /* 1px; */
    right: 5px;
    color: dimgray;
    font-size: 19px;
}

  /*  .ol-popup-closer:after {
        content: "x";
    }*/

.annotation-table {
	width:100%;
	height:250px;
	border-collapse: collapse;
}

.annotation-table td {
    border: 1px solid #cbcbcb;
    background: transparent; /*var(--main-bg-color);*/
}

.annotation-table th {
    border: 1px solid #cbcbcb;
    height: 35px;
    background: lightgray;
}

.annotation-image {
	width:50%; 
	height:280px;
}

.annotation-td {
	width:25%;
}
/* image in pop-up */

.bus_image {
    width: 90%;
    max-height: 270px;
    object-fit: contain;    
    filter: drop-shadow(0px 0px 1px rgba(0,0,0)) drop-shadow(0px 0px 1px rgba(0,0,0));
}

#popup-content{
    width:100%;
    text-align: center;
}
.w3-badge{
    background-color:#000;
    color:#fff;
    display:inline-block;
    padding-left:8px;
    padding-right:8px;
    text-align:center;
    border-radius:50%;
    margin: 3px;
  }

.w3-transparent{
  background-color:transparent!important;
}

.w3-border{
  border:1px solid #666666!important;
}

.w3-white,.w3-hover-white:hover{
  color:#000!important;
  background-color:lightgray!important
}
  /** Feature Popup */

  /****** Measure ************/
.tooltip {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: white;
    padding: 4px 8px;
    opacity: 0.7;
    white-space: nowrap;
  }
  .tooltip-measure {
    opacity: 1;
    font-weight: bold;
  }
  .tooltip-static {
    background-color: #ffcc33;
    color: black;
    border: 1px solid white;
  }
  .tooltip-measure:before,
  .tooltip-static:before {
    border-top: 6px solid rgba(0, 0, 0, 0.5);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
    position: absolute;
    bottom: -6px;
    margin-left: -7px;
    left: 50%;
  }
  .tooltip-static:before {
    border-top-color: #ffcc33;
  }
/******************************/

/*** Login */
.form-modal {
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
}
.form-signin {
    /* width: fit-content; */
    max-width: 330px;
    padding: 25px;
    margin: auto;
    margin-top: 5%;
    background-color: var(--main-bg-color); /*#f5f5f5;*/
    opacity: 0,9;
    color: var(--navigation-text-color);
  }
  .form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
  }
  .form-signin .form-control:focus {
    z-index: 2;
  }
  .form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
  .form-signin input[type="password"] {
    margin-bottom: 5px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .forgot-pass {
    background-color: transparent;
    border: none;
    color: var(--navigation-text-color);
    cursor: pointer;
    width: fit-content;
    padding-bottom: 20px;
    font-size: 16px;
  }
  .forgot-pass:hover {
      opacity: 0.7;
  }

/* Login */
