﻿body {
  background: #ffffff;
  /*background-color: #95B83C;
/*    background: url('../static/bg.png') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;*/
}

#logo-bg {
  position: absolute;
  left: -160px;
  top: -200px;
  width: 460px;
  height: 292px;
  background-color: #ffffff;
  border-bottom-right-radius: 50%;
  box-shadow: inset -3px -2px 5px #222;
}

#logo-bg-cover {
  position: absolute;
  z-index: 1001;
  left: 207px;
  top: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(90deg, #de2f23, #ffffff 95%);
}
/* This is needed to complement the linear gradient of logo-bg-cover */
body:before {
  content: "";
  position: absolute;
  left: 207px;
  right: 0;
  top: 40px;
  bottom: 0;
  background: linear-gradient(90deg, #de2f23, #ffffff 95%);
}

#logo-img {
  position: relative;
  top: 7px;
  left: 22px;
  width: 121px;
}

#logo2 {
  display: block;
  margin: 0 auto;
  margin-top: 10px;
  margin-bottom: 20px;
  width: 200px;
}

#search-box {
  top: 0;
  left: 207px;
  right: 0;
  height: 40px;
  box-sizing: border-box;
  /*background-color: #fff;
  /*background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.2));*/
  /*background: linear-gradient(90deg, #d0ec8a, #fff 95%);*/
}
#search-box input {
  position: absolute;
  left: 35px;
  top: 0;
  line-height: 30px;
  width: 100%;
  background: none;
  border: none;
  /*color: #1549c6;*/
  outline: none;
}

#sidepanel {
  top: 55px;
  width: 350px;
}

#map-legend svg {
  margin-left: 25px;
}

#map-legend .priority {
  padding: 5px;
  font-size: 15px;
}
#map-legend .priority .box {
  color: #fff;
  margin: 10px 0;
  padding: 10px;
  box-shadow: 0 4px 4px #ccc;
}

#map-legend .box h3 {
  color: #fff;
  font-size: 18px;
  text-align: center;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.box.priority1 {
  background-color: rgb(169, 0, 230);
}

.box.priority2 {
  background-color: rgb(255, 170, 0);
}

.box.priority3 {
  background-color: rgb(31, 120, 180);
}

.box.not-reynoldsburg {
  background-color: #9c9c9c;
}

/*
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
/*  color: #1549c6;
}
::-moz-placeholder { /* Firefox 19+ */
/*  color: #1549c6;
}
:-ms-input-placeholder { /* IE 10+ */
/*  color: #1549c6;
}
:-moz-placeholder { /* Firefox 18- */
/*  color: #1549c6;
}*/

#mappanel {
  top: 40px;
}

#sidepanel {
  top: 36px;
}

#sidepanel:before {
  top: 15px;
}

#map-legend,
#static-messages {
  color: #000;
}
#static-messages .separator {
  color: #3797c7;
}

/**************************************
SCREEN SIZE ADJUSTMENTS
***************************************/
@media (min-width: 1020px) {
  .street-toggle.large {
    display: block;
  }
  .street-toggle.small {
    display: none;
  }
  .legend-open .street-toggle {
    padding-right: 250px;
  }
}

@media (min-width: 651px) {
  #ticker-box {
    top: 50px;
    left: 190px;
    right: 75px;
  }
  #ticker {
    height: 23px;
    font-size: 18px;
  }
  #search-box {
    height: auto;
    left: 286px;
    top: 2px;
    min-width: 400px;
    max-width: 1000px;
    right: 15px;
    padding: 3px 0;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    transition: right 0.3s ease;
  }
  .legend-open #search-box {
    right: 250px;
  }
  #search-box .search-icon {
    padding-top: 0;
    padding-left: 5px;
    font-size: 25px;
  }
  #search-box .search-clear {
    top: 0px;
    padding-left: 3px;
    font-size: 25px;
  }
  #search-box input {
    font-size: 1em;
  }
  .street-toggle {
    bottom: 7%;
  }
  body.legend-open #mappanel {
    right: 350px;
  }
  /*
  .street-toggle {
      bottom: 0;
      left: 207px;
      right: 0;
      height: 40px;
      box-sizing: border-box;
      background-color: #fff;
      background: linear-gradient(90deg, #d0ec8a, #fff 95%);
  }
  .street-toggle div {
      width: 50%;
      padding: 0;
      padding-top: 8px;
      font-size: 22px;
      height: 40px;
      box-sizing: border-box;
      background: none;
      box-shadow: none !important;
      border-radius: 0 !important;
      color: #1549c6;
  }
  .street-toggle div.active {
      background: none;
      text-decoration: underline;
  }
  .street-toggle div:hover {
      background: rgba(255, 255, 255, 0.5);
  }*/
}
@media (max-width: 650px) {
  #ticker-box {
    top: auto;
    bottom: 50px;
  }
  #road-img {
    display: none;
  }
  #search-box {
    left: 70px;
    border: none;
    /*background: #fff;*/
  }
  body:before {
    display: none;
  }
  #search-box input {
    /*font-size: 0.9em;*/
    line-height: 40px;
    color: #fff;
  }
  #search-box .search-icon {
    padding-top: 4px;
  }
  #sidepanel {
    padding-top: 80px;
    box-shadow: inset 0 6px 5px #ddd;
    background: #fff;
  }
}
