/* Importing fonts */
@import url('https://fonts.googleapis.com/css2?family=Inconsolata&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;1,300&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300&display=swap');
/* Manrope for headers */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;600&display=swap');
/* Roboto for body text */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300&display=swap');


/* Mobile-first */


* {
    box-sizing: border-box;
}

:root {
    font-size: 16px;
    font-family: "Helvetica Neue","Segoe UI",helvetica,verdana,sans-serif;
    --text-primary: #10202e;
    --text-secondary: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #747474;
    --btn-primary: #337ab7;
    --btn-primary-hover: #097e92;
    --btn-second: #ffffff;
    --btn-second-hover: #f5f5f5;
    --alertClr: #ff0000;
    --warnClr: #ffa500;
    --normClr: #008000;
}

.dx-tabpanel-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
    height: calc(100% - 40px);
}

/*#region color picker shrinking*/

.dx-colorbox-overlay .dx-popup-content {
    padding-bottom: 0px;
}

.dx-colorview-container {
	width: 225px !important;
}

.dx-colorview-palette {
    width: 140px !important;
    height: 140px !important;
}

.dx-colorview-palette-cell {
    margin-left: 20px !important;
}

.dx-colorview-container-cell {
	float: left;
}

.dx-colorview-controls-container {
	width: 260px !important;
	-webkit-margin-start: 0px !important;
	margin-inline-start: 0px !important;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: 16px !important;
}

.dx-colorview-color-preview-container {
	width: 60px !important;
    height: 60px !important;
    margin: 0px !important;
}

.dx-colorview-color-preview {
	height: 29px;
}

.dx-colorview-hue-scale-wrapper {
	height: 140px !important;
}

.dx-colorview-hue-scale {
	width: 18px !important;
	height: 140px !important;
}

.dx-colorview-label-red {
    display: none !important;
}

.dx-colorview-label-green {
    display: none !important;
}

.dx-colorview-label-blue {
    display: none !important;
}

.dx-colorview-label-hex {
    margin-top: 24px !important;
}
/*#endregion*/

html {
    height: 100%;
}

body {
    color: rgb(46, 46, 46);
    background-color: rgb(255, 255, 255);
    font-family: "Helvetica Neue","Segoe UI",helvetica,verdana,sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

iframe {
    height: inherit;
    max-height: calc(100% - 40px);
    width: inherit;
    max-width: 100%;
    position: fixed; /* to hide scrollbar (this is a super band-aid fix) */
    border: none;
}

header {
    background-color: whitesmoke;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 3%;
    border-bottom: 1px solid #e6e6e6;
}

footer {
    background-color: #ffffffd7;
    margin-top: 100px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    backdrop-filter: blur(6px);
}

footer ul {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 6vw;
    list-style-type: none;
    margin:0px;
    padding-left:0px;
    font-size: 0.9rem;
}

h1 {
    font-size: 1.4rem;
}

h2 {
    font-size: 1.2rem;
}

hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: 1px;
}

.responsive {
width: 100%;
height: 100%;
}

.main-panel {
    height: inherit;
    overflow: hidden;
}

input[type = "email"]:hover:not(:focus) {
    border: 2px solid #1a1a1ac4;
    border-radius: 2px;
    background-color:rgba(0, 0, 0, .018)
}

#panel-container {
    height: calc(100svh - 60px);
}

#canvas_chart {
    margin-left: 5px;
    margin-bottom: 5px;
}

.fill-parent {
    height: 95%;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
    height: 40px;
    flex-direction: row;
}

.menu-btn {
    margin-left: 13px;
    margin-top: 2px;
    font-size: 1.2rem;
}


.menu-btn i {
    padding: 8px;
    cursor: pointer;
}

.logo {
    max-width: clamp(80px, 50%, 118px);
    max-height: 30px;
    margin: 8px;
    margin-top: 6px;
    float: right;
}

.logo img {
    max-width: clamp(80px, 100%, 118px);
    max-height: 25px;
    float: right;
}

.navbar-list {
    z-index: 5005; /* iframes will block it if this isn't set */
    position: absolute;
    margin: 0;
    padding: 0;
    display: none;
}

.vert-refresh {
    display: none;
}

.nav-link {
    text-decoration: none;
    background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
    white-space: nowrap;
}

.nav-item {
    cursor: pointer;
    list-style: none;
    padding: 11px;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: clamp(11px, 20%, 16px);
    padding-bottom: clamp(11px, 20%, 16px);
    background-color:var(--bg-primary);
    color: var(--text-primary);
    border-top: 1px solid #e6e6e6;
    position: relative;
    width: clamp(200px, 70vw, 450px);
    font-size: 1rem;
    transition: background-color .1s ease, color .1s ease;
}

.nav-logo {
    display: none;
}

#vert-nav-logo {
    max-width: 100px;
    margin-left: 10px;
}

.navbar-list:last-child .nav-link {
    border-bottom: 0px;
}

.nav-item:hover {
    background-color:var(--bg-secondary);
    color: var(--text-secondary);
}

.nav-item:active {
    background-color: #5a5a5a;
}

.link-text-open {
    display: block;
    font-size: 1rem;
    white-space: nowrap;
}

.vert-nav-open {
    background-color: var(--bg-primary);
    height: 100vh;
    position: fixed;
    z-index: 1400;
    transition: all .2s ease;
    width: 200px;
}

.nav-expand-open {
    margin-left: 20px;
    transition: transform 300ms;
    transform: "rotate(-180deg)";
    padding: 6px;
}

.active {
    display: block;
}

.check-list {
    margin-right: 0%;
    padding: 0;
    margin-top: 0;
}

.check-line {
    margin-top: 013px;
    text-align: left;
    list-style: none;

}

.check-line label {
    cursor: pointer;
}

.overlay {
    background-color:#00000013;
    width: 100vw;
    height: calc(100% - 48px);
    position: absolute;
    z-index: 5002;
    display: inherit;
}

.spin {
    -webkit-animation:spin 2s linear infinite;
    -moz-animation:spin 2s linear infinite;
    animation:spin 2s linear infinite;
}

@-moz-keyframes spin { 
    100% { -moz-transform: rotate(720deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(720deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(720deg); 
        transform:rotate(720deg); 
    } 
}

.body-btn {
    position: absolute;
    cursor: pointer;
}

i.dx-icon.far.fa-plus{
    line-height: 10px;
}

#darkmode {
    top: 6px;
    left: 98px;
    font-size: 1.3rem;
}

#alt-loading {
    top: 8px;
    left: 150px;
    font-size: 1rem;
    margin: 0px;
    display: flex;
    align-items: center;
}

#zoom-reset {
    position: absolute; 
    width: 38px;
    height: 38px;
    bottom: 8px;
    left: 8px;
    border-radius: 36px;
    background-color: white;
    border: solid black 2px;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.267);
}

.layer-controller-closed {
    position: absolute;
    width: 42px;
    height: 42px;
    top: 110px;
    right: 10px;
    z-index: 5;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    pointer-events: auto !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30px' height='30px' fill='%23333' viewBox='0 0 512 512' %3E%3Ctitle%3Eionicons-v5-a%3C/title%3E%3Cpolygon points='480 150 256 48 32 150 256 254 480 150'/%3E%3Cpolygon points='255.71 392.95 110.9 326.75 32 362 256 464 480 362 401.31 326.7 255.71 392.95'/%3E%3Cpath d='M480,256l-75.53-33.53L256.1,290.6,107.33,222.43,32,256,256,358,480,256S480,256,480,256Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.layer-controller-open {
    position: absolute;
    width: clamp(8vw, 150px, 40vw);
    max-height: 50%;
    top: 110px;
    right: 10px;
    display: flex;
    flex-direction: column;
    z-index: 5;
    background-color: #ffffff;
    border-radius: 5px;
    overflow: auto;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    pointer-events: auto !important;
}

.maplibregl-ctrl-top-right {
    height: 100%;
}

.mapbox-improve-map {
    display: none !important;
}

.map-pointer {
	cursor: -webkit-pointer;
	cursor: -moz-pointer;
	cursor: pointer !important;
}

.map-dragging {
	cursor: -webkit-grabbing;
	cursor: -moz-grabbing;
	cursor:  grabbing;
}

.dx-popup-title.dx-toolbar {
    padding: 0.3rem 20px 0.6rem 20px;
}

.dx-icon-help {
    font-size: 1.4rem;
}

#rainpanel-help {
    top: 7px;
    right: 10px;
}

#qpf-help {
    top: 7px;
    right: 10px;
}

#optPopup-help {
    top: 15px;
    right: 11px;
}

#chart-menu {
    top: 7px;
    right: 10px;
}

#rtlineButton {
    top: 7px;
    right: 46px;
}

#flagged-menu {
    top: 7px;
    right: 10px;
}

#flagged-color-toggle {
    position: absolute;
    top: 7px;
    right: 55px;
}

#flagged-help {
    top: 7px;
    right: 10px;
}

#map-expand {
    top: 7px;
    right: 10px;
    z-index: 1000;
}

.dx-button-has-icon .dx-button-content {
    padding-left: 1px;
    padding-right: 0px;
}

.dx-popup-content {
    padding: 0px;
}

#legend-btn {
    top: 8px;
    right: 49px;
}

#download-csv-btn {
    top: 8px;
    right: 82px;
}

.center-content {
    align-items: center;
    text-align: center;
}

.column-layout {
    display: flex;
    flex-direction: column;
    justify-content:space-evenly;
    margin-top: 6px;
    margin-bottom: 6px;
}

.dx-progressbar-container {
    height: 16px;
}

.complete .dx-progressbar-range {
    background-color: green;
}

.dx-placeholder {
    color: #6e7680;
}

.div_map_container {
    position: relative;
    height: 100%; 
    width: 100%;
    display: block;             
}

.div_chart_container {
    float: left;
    position: relative;
    height: 100%;
    width: 100%;
    display:block;
    border-left:2px solid black;
    border-right:2px solid black;
    border-bottom:2px solid black;
}

#login-alt::before {
    background-color: rgb(151, 158, 161);
    content: "";
    height: 1px;
    width: 80%;
    position: absolute;
    left: 10%;
    top: 10px;
}

#login_forgot_btn {
    text-decoration: none;
}

#login_forgot_btn:hover {
    text-decoration: underline;
}


.div_infodialog_overlay {
    position:absolute;
    top: 33%;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    display: none;
    width: clamp(300px, 22rem, 99%);
    height: fit-content;
    background-color: rgba(255, 255, 255, 1);
    z-index: 100; /* leaflet has a ridiculous z-index so this needs to be high */                
    border: .148px solid rgba(255, 255, 255, .5);
    border-radius: 1.2em;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.267);
}

.div_infodialog_interior {
    height: fit-content;
    width: 100%;
    display: block;
    text-align: center;
}

.disable-events {
    pointer-events: none;
}

.fix-size {
    height: inherit;
    max-height: 100%;
    width: inherit;
    max-width: 100%;
    position: fixed; /* to hide scrollbar (this is a super band-aid fix) */
    border: none;
}

.map-test {
    height: 100%;
    width: 100%;
}

.hide-content {
    display: none !important;
}

.version-pos {
    display: none;
    cursor: pointer;
}

.terms-pos {
    display: none;
    cursor: pointer;
}

.active-node {
    margin: 0px;
    padding-bottom: 3px;
    text-align: center;
    min-height: 20px;
    font-size: 0.8rem;
    font-weight: normal;
}

.img-container {
    margin: 10px;
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    height: calc(100% - 172px);
}

.lm_content {
    container-type: inline-size;
}


.imgBorder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 2px;
    margin-right: 2px;
    height: 100%;
}

.imgBorder p {
    margin-bottom: 10px;
    margin-top: 6px;
    text-align: center;
    font-size: 0.95rem;
}
.img-container a {
    height: 77%;
    width: 100%;
}

.img-container img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
    border-radius: 1%;
}

/* to hide part of map label on bottom */
a[title="A JavaScript library for interactive maps"] {
    display: none;
}

.leaflet-control-attribution span {
    display: none;
}



/*#region Login Screen Styles*/


.login-body {
    background-color: rgb(250, 253, 255);
    font-family: "Helvetica Neue","Segoe UI",helvetica,verdana,sans-serif;
    z-index: 11000;

}

.login-container {
    position: relative;
}

.login-background {
    background-image: url("../images/loginBackground3.svg");
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    min-width: 100%;
    max-height: 100vh;
    max-width: 100%;
}

.login-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: clamp(40px, 4%, 80px);
    width: clamp(226px, 25vw, 380px);
    height: clamp(226px, 18%, 300px);
}

.login-logo img {
    max-width: 380px;
    width: clamp(226px, 25vw, 380px);
    height: clamp(226px, 18%, 300px);
}


.login-wrapper {
    position: relative;
    background:#ffffff;
    border: .148px solid rgba(255, 255, 255, .5);
    border-radius: 1.8em;
    height: clamp(270px, 36vh, 320px);
    width: clamp(160px, 95%, 480px);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 16px rgba(0, 0, 0, .15);

    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-top:48px;
}

.form-box h2 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
}

.input-box {
    position: relative;
    width: 100%;
    height: 48px;
    text-align: right;
    border-bottom: 2.4px solid #8d8d8d1c;
    margin: 18px 0;
}

.link-hover {
    text-decoration: none;
}

.link-hover:hover, .link-hover:active {
    text-decoration: underline;
}

.input-box input {
    width: clamp(80px, 60%, 288px);
    margin-right: 18px;
}

.forgot-remember {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -16px 0 1.48px;
    margin-left: -16px;
    margin-right: -16px;
}

.forgot-remember p {
    color: var(--text-primary);
    text-decoration: none;
}

.forgot-remember p:hover {
    color: rgb(2, 0, 141);
    text-decoration: underline;
    cursor: pointer;
}

.primary-btn {
    width: clamp(212px, 90%, 218px);
    height: 2.2rem;
    background: var(--btn-primary);
    color: var(--text-secondary);
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 6px;
    display: block;
    float: center;
    font-size: 1.16rem;
    margin-left:auto;
    margin-right: auto;
    margin-bottom: 10px;
    margin-top: 10px;
}

.second-btn {
    width: 35%;
    max-width: 85%;
    height: 1.8rem;
    background: var(--btn-second);
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
    border: 1px solid #8f8f8f;
    border-radius: 6px;
    display: block;
    float: center;
    font-size: 1rem;
    margin-left:auto;
    margin-right: auto;
    transition: background 100ms ease;
}

.close-btn {
    width: 40%;
    max-width: 90%;
    height: 2rem;
    background: var(--btn-second);
    color: var(--text-primary);
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 6px;
    display: block;
    float: center;
    font-size: 1rem;
    margin-left:auto;
    margin-right: auto;
    transition: background 100ms ease;
}

.close-btn:hover {
    background: var(--btn-second-hover);
}

.second-btn:hover {
    background: var(--btn-second-hover);
}

.primary-btn:hover {
    background: var(--btn-primary-hover);
    color: var(--text-secondary);
    transition: all 100ms ease;
}

.pass-reset-modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.pass-reset-modal p {
    text-align: center;
    margin-left:15px;
    margin-right:15px;
}

#pass-reset-email {
    text-align: center;
}

#send-link-btn {
    margin-top: 8px;
    margin-bottom: 16px;
}


/*#endregion*/



/*#region toggle switch*/

input[type="checkbox"].toggle-switch {
    opacity: 0;
    position: absolute;
  }
  
  input[type="checkbox"].toggle-switch + label {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
  }

    input[type="checkbox"]:focus-visible + label::before {
        outline: rgb(59, 153, 252) auto 5px;
    }

    .dx-button:focus-visible {
        outline: rgb(59, 153, 252) auto 5px;
    }

    .dx-buttongroup:focus-visible {
        outline: rgb(59, 153, 252) auto 5px;
    }

    label {
        user-select: none;
    }
  
  /*deselected toggle*/
  input[type="checkbox"].toggle-switch + label::before {
    content: "";
    width: 2.25rem;
    height: 1.125rem;
    background-color: rgb(156, 156, 156);
    border-radius: 16px;
    margin-right: 4px;
    transition: background-color 200ms ease-in-out;
  }
  
  /*circle in deselected toggle*/
  input[type="checkbox"].toggle-switch + label::after {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    content: "\2715"; /* creates X in the switch */
    font-size: 8px;
    height: 0.875rem;
    left: 2px;
    width: 0.875rem;
    background-color: rgb(255, 255, 255);
    border-radius: 16px;
    transition: background-color 200ms ease-in-out, transform 200ms ease-in-out;
  }

  /*selected toggle*/
  input[type="checkbox"].toggle-switch:checked + label::before {
    background-color: var(--btn-primary);
  }
  
  /*circle in selected toggle*/
  input[type="checkbox"].toggle-switch:checked + label::after {
    content: "\2713"; /* creates checkmark in the switch */
    transform: translateX(125%);
    background-color: rgb(255, 255, 255);
    color:#337ab7;
  }
  

  /* last three are if toggle is disabled */
  input[type="checkbox"].toggle-switch:disabled + label {
    color: #727272;
  }
  
  input[type="checkbox"].toggle-switch:disabled + label::before {
    background-color: #cfcfcf;
  }
  
  input[type="checkbox"].toggle-switch:disabled + label::after {
    background-color: #727272;
  }

  /**** Color coded toggles for pin options ****/

  #warning3.toggle-switch:checked + label::before {
    background-color: var(--alertClr);
  }

  #warning2.toggle-switch:checked + label::before {
    background-color: var(--warnClr);
  }

  #warning4.toggle-switch:checked + label::before {
    background-color: var(--normClr);
  }

  #warning3.toggle-switch:checked + label::after {
    color: var(--alertClr);
  }

  #warning2.toggle-switch:checked + label::after {
    color: var(--warnClr);
  }

  #warning4.toggle-switch:checked + label::after {
    color: var(--normClr);
  }
  

/*#endregion*/


#content-container {
    max-width: 100%;
    margin-top: 3%;
    margin-left: 3%;
    margin-right: 3%;
}

.tab {
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(28px, 5vh, 44px);
    /*overflow: hidden;
    background-color: var(--bg-secondary);*/
}

.tab button {
float: left;
border: none;
cursor: pointer;
    padding: 0px 32px;
    margin-top: 3px;
transition: 0.3s;
    font-family: "Roboto", Verdana, sans-serif;
    font-size: 1rem;
    height: inherit;
    background-color: white;
}

.tab button:hover {
    background-color: #f0f0f0;
}

.tab button.active {
    border-top: 2px solid black;
    border-left: 2px solid black;
    border-right: 2px solid black;
}

.tabcontent {
    margin-right: 6%;
}

.table-of-contents {
    font-size: 1rem;
    padding-right: 2em;
    padding-bottom: 1em;
    padding-left: 2em;
    margin: 0 0 0.5em 0.5em;
}
.table-of-contents ul {
padding: 0;
list-style-type: none;
}
.table-of-contents li {
margin: 0 0 0.25em 0;
}
.table-of-contents a {
text-decoration: none;
}
.table-of-contents a:hover,
.table-of-contents a:active {
text-decoration: underline;
}


/*Large Screens*/
@media only screen and (min-width: 700px) {

    main {
        margin-left: 4.3rem;
    }

    iframe {
        height: inherit;
        max-height: 100%;
        width: inherit;
        max-width: calc(100vw - 80px);
        position: fixed;
    }

    header {
        padding-left: 28%;
    }

    .navbar {
        display: none;
    }

    .vert-navbar {
        background-color: var(--bg-primary);
        height: 100vh;
        width: 4.3rem;
        position: fixed;
        z-index: 1400;
        transition: all .2s ease;
    }

    .vert-navbar:hover {
        width: 12rem;
    }

    .vert-navbar:hover .link-text {
        display: block;
        font-size: 1rem;
        white-space: nowrap;
    }

    .version-pos {
        display: block;
        font-size: 1rem;
        white-space: nowrap;
    }

    .terms-pos {
        display: block;
        font-size: 1rem;
        white-space: nowrap;
    }

    .navbar-list {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /*margin-top: 100px;*/
        padding: 0;
        max-height: 100vh;
        width: inherit;
    }

    .nav-item {
        cursor: pointer;
        list-style: none;
        padding-left: 20px;
        padding-right: 18px;
        padding-top: clamp(16px, 2vh, 113px);
        padding-bottom: clamp(16px, 2vh, 113px);
        background-color:var(--bg-primary);
        color: var(--text-primary);
        border-top: 1px solid #e6e6e6;
        position: relative;
        width: inherit;
        font-size: 1.35rem;
        display: flex;
        flex-direction: row;
        max-height: clamp(40px, 11vh, 76px);
    }

    
    .nav-logo {
        cursor: pointer;
        list-style: none;
        padding-left: 18px;
        padding-right: 18px;
        padding-top: clamp(.32px, 3vh, 113px);
        padding-bottom: clamp(.32px, 3vh, 113px);
        background-color:var(--bg-primary);
        color: var(--text-primary);
        border-top: none;
        position: relative;
        width: inherit;
        font-size: 1.35rem;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        max-height: clamp(40px, 9vh, 76px);
    }

    .nav-logo .link-text {
        margin-top: 0px; /*prev 15px*/
    }

    #nav-expand-btn {

        transform: rotate(0deg);
        transition: transform 300ms;
        padding: 6px;
    }

    .vert-navbar:hover #nav-expand-btn {
        margin-left: 10px;
        transform: rotate(-180deg);
    }

    .nav-item i {
        margin-left: 2px;
        margin-right: 10px;
    }

    .nav-item:first-child {
        border-top: none;
    }

    .nav-item:nth-child(2) {
        border-top: none;
        margin-top: clamp(12px, 5vh, 48px);
    }

    .nav-item:last-child {
        margin-top: auto;
    }

    .link-text {
        display: none;
    }

    #panel-container {
        height: calc(100svh - 2.6rem);
    }

    .vert-refresh {
        display: flex;
    }

    .overlay {
        display: none;
    }

    .fix-size {
        height: inherit;
        max-height: 100%;
        width: inherit;
        max-width: 100%;
        position: fixed;
    }

    .version-pos {
        position: absolute;
        top: 96%;
        left: 14px;
        color:#757575;
        text-decoration: none;
    }

    .terms-pos {
        position: absolute;
        top: 91%;
        left: 14px;
        color:#757575;
        text-decoration: none;
    }

    .active-node {
        margin: 0px;
        background-color: rgb(255, 255, 255);
        padding-bottom: 0.13rem;
        padding-top: 0.07rem;
        text-align: center;
        height: 2.6rem;
        font-size: 1.5rem;
    }

    #canvas_chart {
        margin-left: 5px;
        margin-bottom: 10px;
    }

    body .lm_content{
        overflow: auto;
    }

    #darkmode {
        top: 5px;
        left: auto;
        right: 10px;
        font-size: 1.3rem;
    }

    #alt-loading {
        top: 8px;
        left: auto;
        right: 80px;
        font-size: 1rem;
        margin: 0px;
        display: flex;
        align-items: center;
    }

    #content-container {
        max-width: 50%;
        margin-top: 60px;
        margin-left: auto;
        margin-right: auto;
    }

    .tabcontent {
        margin-right: 0%;
    }


    @media only screen and (max-height: 450px) { /* for phones in landscape mode */

        main {
            margin-left: 48px;
        }

        .vert-navbar {
            width: 48px;
        }

        .vert-navbar:hover {
            width: 150px;
        }

        .nav-item {

            padding-left: 14px;
            padding-right: 12px;
            padding-top: clamp(10px, 1vh, 113px);
            padding-bottom: clamp(10px, 1vh, 113px);
            width: inherit;
            font-size: 0.95rem;
            max-height: clamp(40px, 11vh, 76px);
        }

        .nav-logo {
            padding-left: 18px;
            padding-right: 18px;
        }

        .link-text svg {
            width: 85px;
            height: 40px;
        }

        .vert-navbar:hover .link-text {
            font-size: 0.7rem;
        }

        .active-node {
            margin: 0px;
            background-color: rgb(255, 255, 255);
            padding-bottom: 4px;
            padding-top: 2px;
            text-align: center;
            min-height: 26px;
            max-height: 26px;
            font-size: 1rem;
        }

        #panel-container {
            height: calc(100svh - 26px);
        }

        .login-logo { /* putting logo on the side in landscape mode */
            margin-left: 50px;
            margin-right: auto;
            margin-top: 35svh;
            width: 130px;
            height: 73px;
        }

        .login-logo img {
            width: 180px;
            height: 56px;
        }

        .div_infodialog_overlay { /* experimental way of centering login box */
            top: 10vh;
        }

        .version-pos {
            display: none;
        }

        .terms-pos {
            display: none;
        }

        #darkmode {
            top: 2px;
            font-size: 1rem;
        }

        #vert-nav-logo {
            max-width: 65px;
        }
    }

}