@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

path {
    stroke: white;
    fill:rgb(134, 171, 210) !important;

    transition: fill .4s ease;
}

path:hover {
    fill: orange !important;
}

#us-map {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.Search-bar {
  position: -webkit-sticky;
  position: sticky;
  top: 37px;
  background-color: white;
  height: 100px;
  width: 100%;
  float: right;
  display: none;
  flex-direction: row;
  justify-content: right;
  align-items: center;
}

.Filter-ShowOnly, .Search-box {
  border: #555;
  margin-right: 10px;
  padding: 5px;
  font-weight: 700;
}

.city-input-box {
  margin-left: auto; 
  margin-right: 0;
  width: 200px;
  color: #555;
  display: flex;
  padding: 2px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-weight: normal;
  /* width: 250px; */

}

#details-box {
    opacity: 0%;
    padding: 1rem;
    border-radius: 8px;
    font-size: 24px;
    position: fixed;
    color: white;
    font-family: "Poppins";
    background-color: black;
    width: fit-content;
    transform: translateX(-50%);
    transition: opacity .4s ease;
    z-index: 1;
}

.stateTable {
    width: 98%;
    margin: 10px;
    background-color: white;
    color: black;
    padding-left: 5px;
    padding-right: 5px;
}

.stateTable-hightlight {
    background-color: #eddd84;
}


.stateTable th {
    background-color: #548cc8;
    color: white;
    text-transform: uppercase;
    padding-left: 3px;
}

.table-header {
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
}

.root {
    background-color: #83a9d1;
    color: white;
    /* font-weight: bold; */
}

.unrooted {
  background-color: #c7a8d0;
  /* color: white; */
  /* font-weight: bold; */
}

.verified {
    background-color: rgba(237, 254, 238, 1);
}
.deleted {
    /* text-decoration-line: line-through; */
    background-color: lightgrey;
    color: #b6b6b7;
}
.removed {
  /* text-decoration-line: line-through; */
  background-color: lightgrey;
  color: #b6b6b7;
  font-style: italic;
}
.crowd {
    background-color: rgb(222, 250, 224);
}
.voted {
  background-color: rgb(239 246 254);

}

.finddups {
  cursor: pointer;
  padding-left: 5px;
}
.badge1 {
  position:relative;
}
.badge1[data-badge]:after {
  content:attr(data-badge);
  position:absolute;
  top: -10px;
  left: -7px;
  font-size:.7em;
  background:rgb(73, 73, 73);
  color:rgb(255, 255, 255);
  width:38px;
  height:18px;
  text-align:center;
  line-height:18px;
  border-radius:15%;
  box-shadow:0 0 1px rgb(178, 176, 176);
}

.search-col {
  width: 27px;
}

.search-button {
  position:relative; 
  /* top: 0px;
  left: -15px; */
  padding: 2px 4px;
  color: transparent;
  background-color: transparent;
  /* border: 1px solid #cbcb4d; */
  white-space: nowrap;
  font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
  font-size: 9px;
  float: right;
  border-radius: 3px;
  background-image: url('images/search.png');
  /* margin-right: 5px; */
  text-align: center;
  /* width: 18px;
  height: 18px; */
  display: none;
  cursor: pointer;
}

.reorder-button {
  position:relative; 
  /* top: 0px;
  left: -15px; */
  padding: 2px 4px;
  color: transparent;
  background-color: transparent;
  /* border: 1px solid #cbcb4d; */
  white-space: nowrap;
  font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
  font-size: 9px;
  float: left;
  border-radius: 3px;
  background-image: url('images/reorder_blue.png');
  /* margin-right: 5px; */
  text-align: center;
  /* width: 18px;
  height: 18px; */
  display: none;
  cursor: pointer;
}

.dollar-button {
  position:relative; 
  /* top: 0px;
  left: -15px; */
  padding: 2px 4px;
  color: transparent;
  background-color: transparent;
  white-space: nowrap;
  font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
  font-size: 9px;
  float: left;
  border-radius: 3px;
  background-image: url('images/dollar.png');
  /* width: 14px; */
  height: 14px;
  background-size: 14px;
  /* cursor: pointer; */
}

.crowd-button {
    padding: 2px 4px;
    color: #169055;
    background-color: #f7f7f9;
    border: 1px solid #5ecb4d;
    white-space: nowrap;
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
    font-size: 9px;
    border-radius: 3px;
    /* width: 40px; */
    margin-right: 5px;
    text-align: center;
    display: block;
}

.verified-button {
    padding: 2px 4px;
    color: #139029;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    white-space: nowrap;
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
    font-size: 9px;
    border-radius: 3px;
    /* width: 35px; */
    text-align: center;
    margin-right: 5px;
    display: block;
}

.saveMove-button {
    text-decoration-line: none;
    padding: 2px 4px;
    color: #139029;
    background-color: #d7eed8;
    border: 1px solid #4dcb50;
    white-space: nowrap;
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
    font-size: 9px;
    border-radius: 3px;
    /* width: 45px; */
    text-align: center;
    display: block;
    margin-right: 5px;
    cursor: pointer;
}

.cancelMove-button {
  text-decoration-line: none;
  padding: 2px 4px;
  color: #e23569;
  background-color: #ffdae5;
  border: 1px solid #e084a0;
white-space: nowrap;
  font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
  font-size: 9px;
  border-radius: 3px;
  /* width: 45px; */
  text-align: center;
  display: block;
  margin-right: 5px;
  cursor: pointer;

}

.vote-button-yes {
    text-decoration-line: none;
    padding: 2px 4px;
    color: #139029;
    background-color: #d7eed8;
    border: 1px solid #4dcb50;
    white-space: nowrap;
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
    font-size: 9px;
    border-radius: 3px;
    /* width: 45px; */
    text-align: center;
    display: block;
    margin-right: 5px;
    cursor: pointer;
}

.vote-button-no {
    text-decoration-line: none;
    padding: 2px 4px;
    color: #e23569;
    background-color: #ffdae5;
    border: 1px solid #e084a0;
    white-space: nowrap;
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
    font-size: 9px;
    border-radius: 3px;
    /* width: 45px; */
    text-align: center;
    display: block;
    margin-right: 5px;
    cursor: pointer;
}

.voted-button {
    text-decoration-line: none;
    padding: 2px 4px;
    color: #4f5250;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    white-space: nowrap;
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
    font-size: 9px;
    border-radius: 3px;
    /* width: 45px; */
    margin-right: 5px;
    text-align: center;
    display: block;

}

.unrooted-button {
  text-decoration-line: none;
  padding: 2px 4px;
  color: #4f5250;
  background-color: #e0cde6;
  border: 1px solid #bf81d0;
  white-space: nowrap;
  font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
  font-size: 9px;
  border-radius: 3px;
  /* width: 45px; */
  margin-right: 5px;
  text-align: center;
  display: block;

}

.button-pointer {
  cursor: pointer;
}

.deleted-button, .undeleted-button {
    text-decoration-line: none;
    padding: 2px 4px;
    color: #4f5250;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    white-space: nowrap;
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
    font-size: 9px;
    border-radius: 3px;
    /* width: 45px; */
    margin-right: 5px;
    text-align: center;
    display: block;
}
.rootspace {
    padding: 10px;
    height: 25px;
}

.user-buttons{
    display: flex;
    width: 75px;
    padding-left: 5px;
}

button.label-go {
    text-indent: -999px;
    overflow: hidden;
    width: 70px;
    padding: 0;
    margin: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    cursor: pointer;
    opacity: 0.7;
}

input[type="search"] {
    border: none;
    background: transparent;
    margin: 0;
    padding: 7px 8px;
    font-size: 14px;
    color: inherit;
    border: 1px solid transparent;
    border-radius: inherit;
  }

  input[type="search"]::placeholder {
    color: #bbb;
  }


/* loading dots */

.loading:after {
    text-decoration-line: none;
    padding: 2px 4px;
    color: #4f5250;
    background-color: #f7f7f9;
    border: 1px solid #e1e1e8;
    white-space: nowrap;
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
    font-size: 8px;
    border-radius: 3px;
    width: 45px;
    text-align: center;
    /* font: 150% Impact; */
    /* text-align: center; */
    content: ' .';
    animation: dots 1s steps(5, end) infinite;
}
  
  @keyframes dots {
    0%, 20% {
      color: rgba(0,0,0,0);
      text-shadow:
        .25em 0 0 rgba(0,0,0,0),
        .5em 0 0 rgba(0,0,0,0);}
    40% {
      color: black;
      text-shadow:
        .25em 0 0 rgba(0,0,0,0),
        .5em 0 0 rgba(0,0,0,0);}
    60% {
      text-shadow:
        .25em 0 0 black,
        .5em 0 0 rgba(0,0,0,0);}
    80%, 100% {
      text-shadow:
        .25em 0 0 black,
        .5em 0 0 black;}}
  
  /**
 * ==============================================
 * Dot Flashing
 * ==============================================
 */
.dot-flashing {
    position: relative;
    margin-top: 3px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: black;
    color: black;
    animation: dotFlashing 1s infinite linear alternate;
    animation-delay: .5s;
  }
  
  .dot-flashing::before, .dot-flashing::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
  }
  
  .dot-flashing::before {
    left: -15px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: black;
    color: black;
    animation: dotFlashing 1s infinite alternate;
    animation-delay: 0s;
  }
  
  .dot-flashing::after {
    left: 15px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #59585a;
    color: #59585a;
    animation: dotFlashing 1s infinite alternate;
    animation-delay: 1s;
  }
  
  @keyframes dotFlashing {
    0% {
      background-color: #59585a;
    }
    50%,
    100% {
      background-color: #e4e4e4;
    }
  }
  .toggle {
    cursor: pointer;
    display: inline-block;
    width: 130px;
  }
  
  .toggle-switch {
    display: inline-block;
    background: #ccc;
    border-radius: 16px;
    width: 58px;
    height: 32px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
  }
  .toggle-switch:before, .toggle-switch:after {
    content: "";
  }
  .toggle-switch:before {
    display: block;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    width: 24px;
    height: 24px;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: left 0.25s;
  }
  .toggle:hover .toggle-switch:before {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
  }
  .toggle-checkbox:checked + .toggle-switch {
    background: #56c080;
  }
  .toggle-checkbox:checked + .toggle-switch:before {
    left: 30px;
  }
  
  .toggle-checkbox {
    position: absolute;
    visibility: hidden;
  }
  
  .toggle-label {
    margin-left: 5px;
    position: relative;
    top: 2px;
  }

  /* Scroll to the top button section */
  #button {
    display: inline-block;
    background-color: #0080ff;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, 
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }
  #button::after {
    content: "^";
    /* font-family: FontAwesome; */
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
  }
  #button:hover {
    cursor: pointer;
    background-color: #333;
  }
  #button:active {
    background-color: #555;
  }
  #button.show {
    opacity: 1;
    visibility: visible;
  }

  .selected
  {
      background-color: #666;
      color: #fff;
      position: absolute
  }

  .highlight {
    border: 1px solid rgb(255, 200, 0);
    font-weight: bold;
    background-color: #f1c40f;
 }