.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    /* background: rgb(255,255,255,.7); */
    height: 70px;
    z-index: 100;
    border-top: #5C8374 4px solid;
    font-family: monospace;
  }

  .navbar-cp {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: white;
    /* background: rgb(255,255,255,.7); */
    height: 70px;
    z-index: 100;
    border-top: #A189BF 4px solid;
    font-family: monospace;
  }

  .ck-navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background:#343434;
    /* background: rgb(255,255,255,.7); */
    height: 70px;
    z-index: 100;
    border-top: #62A388 4px solid;
  }
  
  .navbar__navigation {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1rem;
  }
  
  .navbar__nav-items .link-container {
    margin: 0;
    padding: 0;
    display: flex;
  }
  
  .navbar__nav-items {
    flex-grow: 1;
    width: 100%;
    text-align: right;
  }
  
  .navbar__nav-items .link {
    padding: 0 0.5rem;
    color: black;
    font-size: large;
    font-weight: 200;
  }

  .navbar__nav-items a {
    color: black;
    text-decoration: none;
  }
  
  .navbar__nav-items a:hover {
    color:#5C8374;
    cursor: pointer;
  }
  
  .admin-dropdown {
    position: relative;
    display: inline-block;
  } 
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #E6E3D2;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    width: fit-content;
    white-space: nowrap;
  }
  
  .admin-dropdown a.icon-menu {
    color: #5C8374;
  }
  
  .admin-dropdown:hover .dropdown-content {
    display: block;
  }
  
  .buy-me-whisky {
    background-color: #f3ba22;
    border: none;
    height: 40px;
    border-radius: 5px;
  }
  
  .buy-me-whisky a {
    text-decoration: none;
    color: black;
  
  }
  
  .buy-me-btn-text {
    font-weight: bolder;
    font-style: italic;
  }
  
  .uk-logo {
    background-image: url('https://res.cloudinary.com/caskompare/image/upload/c_scale,f_auto,q_auto,w_25/v1648680845/UK_Stamp_h6lbha.png');
    background-repeat: no-repeat;
    background-position: 100% 100%;
  }
  
  
  @media (max-width: 768px) {
    .navbar__nav-items {
      display: none;
    }
  
    #buy-me-btn {
      display: none;
    } 
  
    .navbar__logo{
      display: flex;
      align-items: center;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  
    .uk-navbar__logo{
      display: flex;
      align-items: center;
      position: absolute;
      top: 0%;
      left: 0%;
    }

    .main-navbar-logo{
      display: flex;
      align-items: center;
      position: absolute;
      top: 50%;
      left: 25%;
      transform: translate(-50%, -50%);
    }
  
    .search-icon  {
      position: absolute;
      top: 50%;
      right: 16%;
      transform: translate(-50%, -50%);
    }
  
    .uk-search-icon  {
      position: absolute;
      top: 50%;
      left: 22%;
      transform: translate(-50%, -50%);
      height: 100%;
      display: flex;
      align-items: center;
    }

    .uk-search-icon svg {
      width: 40px;
    }
  
    .navbar__toggle-button {
      position: absolute;
      top: 50%;
      right: 0;
      transform: translate(-50%, -50%);
    }
  
    .uk-navbar__toggle-button {
      position: absolute;
      top: 50%;
      right: 0;
      transform: translate(-50%, -50%);
    }
  
    .buy-me-whisky {
      margin-top: 20px;
    }
  
    .buy-me-btn-text {
      line-height: 40px;
    }
  
    .navbar__logo svg{
      margin-left: 5px;
    }
  }
  
  @media (min-width: 768px) {
  
    .navbar__toggle-button {
      display: none;
    }
  
    .uk-navbar__toggle-button {
      display: none;
    }
  
    .uk-search-icon {
      display: none;
    }
  
    #buy-me-btn {
      position: absolute;
    }
  
    .link-container {
      float: right;
    }
  
    .search-icon  {
      display: none;
    }
  
  }

  .side-menu {
    height: 100%;
    background-color: #f6f6f6;
    box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    right: 0;
    width: 200px;
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.4s ease-out;
    padding:10px;
  }
  
  .side-menu__logo a {
    margin-top:20px;
    font-weight: 700;
    font-size: 20px;
  }
  
  .side-menu .link-container {
    display: flex;
    list-style: none;
    flex-direction: column;
    padding: 0px 0px;
    width: 100%;
  }
  
  .link a {
    text-decoration: none;
    color: #393939;
    width: 100%;
    line-height: 55px;
  }

  .side-menu .link {
    border-bottom: solid 1px #00000030;
    width: 100%;
    color: #393939;
    font-size: 20px;
    display: flex;
  }
  
  .side-menu.open {
    transform: translateX(0);
  }
  
  @media (min-width: 768px) {
    .side-menu {
      display: none;
    }
  
    .link a {
      line-height: 25px;
    }
  }


.nav-search-bar {
    display: flex;
    flex-wrap: wrap;
    width: 30%;
    height: 50%;
}

@media (max-width: 768px) {
    #nav-search-input {
        width: 100%;
    }

    .nav-search-wrapper {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 100%;
        left: 0;
    }
  }
  
  @media (min-width: 768px) {
    #nav-search-input {
        width: 100%;
        height: 100%;
        border-radius: 5px;
        border: 0;
        float: left;
        box-shadow: 0 2px 8px 0 rgb(33 43 53 / 12%);
        font-size: 16px;
        text-indent: 5px;
    }

    .nav-search-wrapper {
        width: 100%;
        height: 100%;
    }

    .search-plus-nav {
        width: 100%;
        padding: 1px 2px;
    }

  }
  
  .searches {
    display: flex;
    flex-wrap: wrap;
}

.popular-searches .searches div {
    margin: 5px;
    border: 2px solid #5C8374;
    border-radius: 25px;
    padding: 7px;
}

.nav-popular-searches .searches div {
    margin: 3px;
    border: 2px solid #5C8374;
    border-radius: 25px;
    padding: 5px;
}

.searches div:hover {
    cursor: pointer;
}

#popular-searches-title {
    width: 100%;
    text-align: left;
    font-weight: bold;
    margin-left: 10px;
    margin-top: 5px;
}

.text-link {
  color: black;
  text-decoration: none;
}

@media screen and (max-width: 600px) {
    .popular-searches {
        background-color: white;
        width: 90%;
        color: black;
        border-top: 1px solid black;
        z-index: 100;

    }

    .searches {
        flex-wrap: wrap;
    }

    .searches div {
        margin: 5px;
        border: 2px solid #5C8374;
        border-radius: 25px;
        padding: 3px;
        font-size: 14px;
    }

    .nav-popular-searches {
        background-color: white;
        color: black;
    }

    #nav-popular-searches-title {
        width: 100%;
        text-align: left;
        font-weight: bold;
        padding-left: 5px;
        padding-top: 5px;
    }

    .nav-search {
      width: 80%;
      margin: auto;
    }

    .main-nav-search-wrapper {
      width: 100%;
    }

    /* #nav-search-input:focus {
      border: none;
      outline: none;
    } */
    
    #nav-search-input {
        border: 1px solid gray;
        height: 40px;
        border-radius: 5px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .main-search-header {
      margin: 20px 0 0 0;
      text-align: left;
    }
}

@media screen and (min-width: 601px) {
    .popular-searches {
        background-color: white;
        width: 95%;
        margin-right: auto;
        color: black;
        border-top: 1px solid black;
        /* position: absolute;
        top: 100%; */
    }

    .nav-popular-searches {
        background-color: white;
        color: black;
    }

    #nav-popular-searches-title {
        width: 100%;
        text-align: left;
        font-weight: bold;
        padding-left: 5px;
        padding-top: 10px;
    }

    #nav-search-input:focus {
      border: none;
      outline: none;
    }
    
    #nav-search-input {
        border: none;
        outline: none;
    }

}

.nav-autocomplete-div {
  padding: 7px;
  overflow: hidden;
  max-width: 100%;
}

.autocomplete div {
  padding: 10px;
  font-size: 18px;
}

.nav-autocomplete-div:hover {
  cursor: pointer;
  background-color: #E6E3D2;
}

.autocomplete div:hover {
  cursor: pointer;
  background-color: #E6E3D2;
}

@media screen and (max-width: 600px) {
  .autocomplete {
      background-color: white;
      width: 90%;
      color: black;
      border-top: 1px solid black;
      overflow: scroll;
      max-height: 300px;
      white-space: normal;
      text-align: left;
      top: 100%;
      z-index: 99;
          
  }

  #nav-autocomplete {
      background-color: white;
      width: 100%;
      color: black;
      white-space: nowrap;
      text-align: left;
      border-top: 1px solid black;
  }

  .side-menu {
    text-align: left;
  }

  #buy-me-btn-mobile {
    text-align: center;
  }
}

@media screen and (min-width: 601px) {
  .autocomplete {
      background-color: white;
      width: 95%;
      color: black;
      border-top: 1px solid black;
      white-space: nowrap;
      text-align: left;
      z-index: 99;
  }

  #nav-autocomplete {
      background-color: white;
      width: 100%;
      color: black;
      white-space: nowrap;
      text-align: left;
      border-top: 1px solid black;
  }

}

.toggle-button {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 24px;
  width: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  box-sizing: border-box;
}
.toggle-button:focus {
  outline: none;
}
.toggle-button__line {
  width: 30px;
  height: 2px;
  background: #393939;
}

.main-toggle {
  background: #62A388 !important;
}


.side-menu {
  height: 100%;
  background-color: #f6f6f6;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  right: 0;
  width: 200px;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s ease-out;
  padding:10px;
}

.side-menu__logo a {
  margin-top:20px;
  font-weight: 700;
  font-size: 20px;
}

.side-menu .link-container {
  display: flex;
  list-style: none;
  flex-direction: column;
  padding: 0px 0px;
  width: 100%;
}

.link a {
  text-decoration: none;
  color: #393939;
  width: 100%;
  line-height: 55px;
}

.side-menu .link {
  border-bottom: solid 1px #00000030;
  width: 100%;
  color: #393939;
  font-size: 20px;
  display: flex;
}

.side-menu.open {
  transform: translateX(0);
}

@media (min-width: 768px) {
  .side-menu {
    display: none;
  }

  .link a {
    line-height: 25px;
  }
}
