:root {
    /* Trackers Color Scheme? */
    --white: #fff;
    --off-white: #f7f7f7;
    --off-black: #131313;

    --sky-blue: #009fdb;
    --medium-blue: #0569af;
    --dark-blue: #1a2027;

    --light-grey: #bfbfbf;
    --medium-grey: #666;
    --dark-grey: #878b92;
    --slider-background: rgba(177,22,24,1);
    --header-Color:rgba(177,22,24,1);
    --fieldText-Color:rgba(0,0,0,1);
    --button-Color: rgba(177,22,24,1);
    /* --header-Text-Color:rgba(0,0,0,1); */
    --header-Text-Color:white;
    --button-text-color : var(--header-Text-Color);
}
.w3-modal {
    z-index: 10000;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}
.w3-modal-content {
    margin: 100px auto 0 auto;
    background-color: #fff;
    position: relative;
    outline: 0;
    width: 600px;
}
.w3-center .w3-bar {
    display: inline-block;
    width: auto;
}
.w3-btn,
.w3-button {
    border: none;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}
.w3-btn,
.w3-button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.w3-disabled,
.w3-btn:disabled,
.w3-button:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}
.w3-button:hover {
    color: #000 !important;
    background-color: #ccc !important;
}
.w3-xlarge {
    font-size: 24px !important;
}
.w3-display-topright {
    position: absolute;
    right: 0;
    top: 0;
}
.w3-center {
    text-align: center !important;
}
.logo-img {
    /* max-width: 30px; */
    max-width: 25px;
}
.topnav {
  overflow: hidden;
  /* background-color: #333; */
  background-color: var(--header-Color);

  position: fixed;
  width: 100%;
  z-index: 501;
}

.topnav a, .topnav .icon {
  float: left;
  display: block;
  color: var(--header-Text-Color);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav .icon {
  width : unset;
  margin: 0;
  background-color: transparent;
}
/* .topnav a.anchor-logo {
  padding: 10px 16px;
} */

/* .active {
  background-color: #04AA6D;
  color: white;
} */

.topnav .icon {
  display: none;
  font-size: 15px;
}

.admin-dropdown {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  /* color: white; */
  color: var(--header-Text-Color);
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  cursor: pointer;
}

.dropbtn.anchor-logo {
  padding: 10px 16px;
}

.dropdown-content {
  display: none;
  position: fixed;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn, .dropdown .dropbtn.is-active {
  background-color: #555;
  /* color: white; */
}

.menu-hidden, .topnav a.menu-link {
  display: none;
}

/* .topnav a.anchor-logo:hover {
  background-color: unset;
  color: unset;
} */

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown-content a:hover {
    animation: fade 0.8s forwards;
}

.dropdown-content.is-active a:not(:hover) {
  animation: otherFade 0.4s forwards;
}

@keyframes fade {
    from {background-color:rgba(221, 221, 221, 0);}
    to {background-color:rgba(221, 221, 221, 1);}
}

@keyframes otherFade {
    from {background-color:rgba(221, 221, 221, 1);}
    to {background-color:rgba(221, 221, 221, 0);}
}

.sub-dropdown {
  overflow: hidden;
}

.sub-dropdown, .sub-dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: black;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}
.sub-dropdown-content {
  display: none;
  background-color: blue;
  width: 100%;
}

.sub-dropdown-content a {
  float: left;
  color: var(--dark-blue);
  text-decoration: none;
  background-color: var(--light-grey);
}

.sub-dropdown-content a:hover {
  background-color: var(--medium-grey);
  color: var(--off-black);
}

.is-active {
  display: block;
}

/* message notification */
.message-icon {
  height: 25px;
  width: 25px;
  color: gold;
}
.message_count {
    border-radius: 45%;
    background-color: var(--medium-blue);
    color: #fff;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 10px;
    position: absolute;
    margin-top: 7px;
}
.rightSidebar{
    height: 100%;
    width: 0px;
    right: 0;
    background-color: var(--off-white);
    position: fixed;
    overflow: auto;
    z-index: 1;
}
.message-close {
  right: 0;
}
.message-container{
    text-align: left;
    min-width: 333px;
    max-width: 333px;
}
.message-container p{
    text-align: left;
}
.message-container p::before{
    content: "X";
    text-align: right;
    padding-right: 10px;
}
#messageList {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#messageList li {
    border: 1px solid var(--sky-blue);

    /* Prevent double borders */
    margin-top: -1px;

    padding: 5px 40px 5px 3px;
    text-decoration: none;
    font-size: 14px;
    color: var(--sky-blue);
    display: block;
    position: relative;
    text-align: left;
}

#messageList li:hover {
    background-color: var(--light-grey);
}
.notify-btn-container {
  display:flex;
  justify-content: space-between;
  padding:0 10px;
}
.notify-clear-btn {
  width: 150px;
  min-width: 150px;
  border-radius: 5px;
  /* background-color: var(--button-Color); */
  background-color: rgb(25, 42, 132, 1);
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  /* width: 100%; */
}
.notify-clear-btn:hover {
    opacity: 0.8;
}
.notify-close-btn {
  right:0;
  color:black;
  width: unset;
  margin: 8px 5px;
}
.closeMsg {
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 0%;
    padding: 12px 16px;
    transform: translate(0%, -50%);
}

.closeMsg:hover {
  color: var(--dark-grey);
}
#msgContainer{
    cursor: pointer;
    width: 75px;
    float: right;
    padding: 5px 10px;
}

/* map types */
.map-type-row {
  display: flex;
  /* min-width: 200px; */
  /* padding: 5px 0; */
  padding: 5px 10px;
}

.map-type-input {
  /* width: 25%; */
  width: 8%;
  -moz-appearance: none;
  appearance: none;
  /* position: absolute; */
  position: relative;
  margin: 0 0.5rem 0 0;
  cursor: pointer;
}

.map-type-label {
  cursor: pointer;
}

input~label.map-type-label {
  font-size: 12px;
  margin-left: 4px;
}

.map-type-input:before {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  content: "";
  position: absolute;
  top: -.125rem;
  /* top: -.155rem; */
  left: -0.5px;
  z-index: 1;
  width: 1.1rem;
  /* height: 1.1rem; */
  height: 1.055rem;
  border: 1px solid #dddddd;
  border-radius: 3px;
}
.map-type-input:checked:before {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 1px;
  right: 2px;
  border: 2px solid;
  height: .5rem;
  border-color: #009688;
  border-top-style: none;
  border-right-style: none;
  border-radius: 3px;
}
.map-type-input:after {
  content: "";
  position: absolute;
  top: -0.125rem;
  left: 0;
  right: 2px;
  width: 1.1rem;
  height: 1.1rem;
  background: #fff;
  cursor: pointer;
  border-radius: 3px;
}

/* assumption: user is NOT using a touch device */
@media screen and (min-width: 626px) {
  /* .dropdown:hover .dropdown-content, .sub-dropdown:hover .sub-dropdown-content {
    display: block;
  } */

  /* fixes menu showing on resize */
  /* DOES NOT stop the hover rule from activating */
  /* .dropdown-content.is-active {
    display: none;
  } */
}

@media screen and (max-width: 850px) {
  .admin-dropdown {
    display: block;
  }
  .part-admin {
    display: none;
  }
}

@media screen and (max-width: 625px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav .icon {
    float: right;
    display: block;
  }
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
  .dropbtn.anchor-logo {
    display: block;
  }
}