/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) {
  .header {
    display: none;
  }
  .navbar-brd img {
    height: 130px;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px) {
}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {
  /* .navbar .navbar-nav li {
    box-sizing: none !important;
    float:  !important;
    margin: 0 !important;
    width: 0 !important;
    text-align: none !important;
  } */
}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
  /* .header {
    display: block;
  } */
  .navbar .navbar-nav > li a {
    font-size: 14px !important;
    padding: 10px 16px;
  }
  .navbar-nav {
    margin-left: 450px !important;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
}

/* Main CSS */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  position: relative;
  transition: 0.3s linear;
}
.navbar ul {
  list-style: none;
}
.navbar ul a {
  text-decoration: none;
}
.navbar .navbar-toggler,
.navbar .nav-link,
.navbar .utils-search {
  color: #636363;
}
.navbar .navbar-utils > * {
  cursor: pointer;
}
.navbar .btn-search {
  font-size: 1.5rem;
  background: transparent;
  outline: none;
  border: none;
  color: inherit;
  cursor: pointer;
}
.navbar-nav {
  display: flex;
  list-style: none;
}
.navbar-nav .nav-link {
  padding: 5px;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 400;
  display: block;
  transition: 150ms ease;
}
.navbar-nav .nav-item {
  margin: 0 10px;
  position: relative;
}
.navbar-nav > .nav-item:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: #0081ff;
  bottom: -16px;
  transition: 400ms ease;
  transform: scaleX(1.5);
  opacity: 0;
}
.navbar-nav > .nav-item:hover:after {
  transform: scaleX(1);
  opacity: 1;
}
.navbar-toggler {
  padding: 0.1rem 0.45rem;
  cursor: pointer;
  font-size: 2.5rem;
  background: none;
  outline: none;
  border: 1px solid #636363;
  border: none;
  border-radius: 3px;
  transition: 0.15s linear;
  display: none;
  margin-left: auto;
  margin-right: 20px;
}
.navbar-toggler:hover,
.navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.36);
}
/* Navbar options (bg options) */
.bg-primary {
  background: #0081ff;
  z-index: 99999;
}
.bg-primary .navbar-toggler,
.bg-primary .nav-link,
.bg-primary .utils-search {
  color: #fff;
}
.bg-primary .nav-item:after {
  background: #fff;
}
.bg-dark {
  background: #363636;
}
.bg-dark .navbar-toggler,
.bg-dark .nav-link,
.bg-dark .utils-search {
  color: #fff;
}
.bg-light {
  background: #fff;
  z-index: 9999;
}
.bg-light .navbar-toggler,
.bg-light .nav-link,
.bg-light .utils-search {
  color: #363636;
}
.bg-transparent {
  background-color: transparent;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.3)
    ),
    url(https://images.pexels.com/photos/4492129/pexels-photo-4492129.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=1920);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
.bg-transparent .navbar-toggler,
.bg-transparent .nav-link,
.bg-transparent .utils-search {
  color: #fff;
}
.bg-transparent .nav-item:after {
  background: #fff;
}
@media (min-width: 992px) {
  .bg-blur {
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    background: rgba(255, 255, 255, 0.6);
    z-index: 999;
  }
  .bg-blur .navbar-toggler,
  .bg-blur .nav-link,
  .bg-blur .utils-search {
    color: #363636;
  }
  .bg-blur .nav-item:hover > .nav-link {
    color: #0081ff;
  }
  .bg-blur .nav-item:after {
    background: #0081ff;
  }
}
/* Common Hover */
.bg-blur .nav-item:hover > .nav-link {
  color: #0081ff;
}
.bg-blur .nav-item:after {
  background: #0081ff;
}
.bg-light .nav-item:hover > .nav-link,
.bg-light-2 .nav-item:hover > .nav-link,
.bg-dark .nav-item:hover > .nav-link {
  color: #0081ff;
}
.bg-light .nav-item:after,
.bg-light-2 .nav-item:after,
.bg-dark .nav-item:after {
  background: #0081ff;
}
.bg-light-2 {
  background: #fff;
}
.bg-light-2 .navbar-toggler,
.bg-light-2 .nav-link,
.bg-light-2 .utils-search {
  color: #636363;
}
.bg-light-2 .nav-item:after {
  display: none;
}
/* Dropdown CSS */
.nav-item .dropdown {
  width: 200px;
  display: block;
  position: absolute;
  top: 35px;
  transition: 300ms;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  background: black !important;
  border-radius: 4px;
  z-index: 999;
  box-shadow: 0 5px 5px 0px rgba(0, 0, 0, 0.15);
}
.nav-item .dropdown .nav-link {
  color: #636363;
}
.nav-item .dropdown .dropdown {
  top: 0;
  left: calc(100% + 20px);
  border-top: 0;
  border-left: 1px solid rgba(0, 0, 0, 0.15);
}
.nav-item .dropdown .dropdown:before {
  top: 10px;
  left: -10px;
  border: 5px solid transparent;
  border-right-color: #000;
}
.nav-item .dropdown:before {
  content: "";
  position: absolute;
  top: -10px;
  left: 10px;
  border: 5px solid transparent;
  border-bottom-color: #000;
  display: none;
}
.nav-item .dropdown .nav-item:not(:last-child) {
  margin-bottom: 5px;
}
.nav-item .dropdown > .nav-item:hover > .nav-link {
  color: #0081ff;
}
.nav-item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}
.nav-item:hover > a::before {
  transform: rotate(90deg);
}
.nav-close {
  margin-left: auto;
  margin-top: 10px;
  display: none;
}
.nav-close .btn-nav-close {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 50px;
  position: absolute;
  top: -35px;
  right: 15px;
  z-index: 99999999999999999999;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
}
.nav-close .btn-nav-close .close-btn {
  transform: rotate(45deg);
}
.nav-close .btn-nav-close:hover,
.nav-close .btn-nav-close:focus {
  background: #363636;
  color: #fff;
}
.nav-item.icon > a:before {
  content: "";
  position: absolute;
  right: -10px;
  top: calc(50% + 0px);
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: inherit;
  transition: 0.15s linear;
}
.nav-item.icon:hover > a::before {
  transform: rotate(90deg);
}
/* Responsive (navbar alignments options) */
@media (min-width: 992px) {
  .navbar-brand,
  .navbar-utils {
    flex: auto;
  }
  /* .navbar-nav {
    flex: 2;
    justify-content: center;
  } */
  .navbar-utils {
    text-align: right;
  }
  .navbar-right .navbar-brand,
  .navbar-right .navbar-utils {
    flex: initial;
  }
  .navbar-right .navbar-nav {
    justify-content: flex-end;
    margin-right: 20px;
  }
  .navbar-left .navbar-nav {
    order: 1;
    justify-content: flex-start;
  }
  .navbar-left .navbar-brand {
    order: 2;
  }
  .navbar-left .navbar-utils {
    order: 3;
  }
  .navbar-right .dropdown .dropdown {
    left: unset;
    right: calc(100% + 20px);
    border-top: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
  }
}
/* Nav Option (Logo Center) */
@media (min-width: 992px) {
  .navbar-left .navbar-brand {
    text-align: right;
  }
  .navbar-left .navbar-toggler {
    display: block;
    margin-right: 0;
  }
  .navbar-left .navbar-nav {
    background: #fff;
    flex-direction: column;
    z-index: 99999;
    padding: 0 20px;
    opacity: 0;
    transition: 400ms ease;
    /* Sidebar */
    position: fixed;
    left: 0;
    top: 0;
    width: 300px;
    height: 100%;
    overflow-y: auto;
    box-shadow: 0px 0px 0 2000px rgba(0, 0, 0, 0.5);
    transform: translateX(-300px);
  }
  .navbar-left .navbar-nav .nav-link {
    margin: 10px 0;
    color: #636363;
    display: flex;
    align-items: center;
  }
  .navbar-left .navbar-nav > .nav-item:first-child {
    margin-top: 20px;
  }
  .navbar-left .navbar-nav > .nav-item:last-child {
    margin-bottom: 20px;
  }
  .navbar-left .navbar-nav .nav-item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .navbar-left .navbar-nav .nav-item:hover > .nav-link {
    color: #0081ff;
  }
  .navbar-left .navbar-nav > .nav-item:after {
    display: none;
  }
  .navbar-left .navbar-nav .nav-close {
    display: block;
  }
  .navbar-left .navbar-nav.active {
    max-height: initial;
    opacity: 1;
    transform: translateX(0);
    left: 0;
    box-shadow: 0 0 0 10000px #000;
  }
  .navbar-left .nav-item .dropdown {
    padding: 0;
    position: initial;
    max-height: 0;
    width: initial;
    border: none;
    box-shadow: none;
  }
  .navbar-left .nav-item .dropdown .dropdown {
    border: none;
  }
  .navbar-left .nav-item .dropdown:before {
    display: none;
  }
  .navbar-left .nav-item:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
    max-height: initial;
  }
  .navbar-left .nav-item.icon a:before {
    top: unset;
    right: 0;
  }
}
/* Responsive navbar */
@media (max-width: 991px) {
  .navbar-toggler {
    display: block;
  }
  .navbar-nav {
    background: black !important;
    color: white !important;
    flex-direction: column;
    z-index: 99999;
    padding: 0 20px;
    opacity: 0;
    transition: 400ms ease;
    /* Sidebar */
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    overflow-y: auto;
    transform: translateX(-300px);
  }
  .navbar-nav .nav-link {
    margin: 10px 0;
    color: #636363;
    display: flex;
    align-items: center;
  }
  .navbar-nav > .nav-item:first-child {
    margin-top: 20px;
  }
  .navbar-nav > .nav-item:last-child {
    margin-bottom: 20px;
  }
  .navbar-nav .nav-item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .navbar-nav .nav-item:hover > .nav-link {
    color: #0081ff;
  }
  .navbar-nav > .nav-item:after {
    display: none;
  }
  .navbar-nav .nav-close {
    display: block;
  }
  .navbar-nav.active {
    max-height: initial;
    opacity: 1;
    transform: translateX(0);
    left: 0;
    box-shadow: 0px 0px 0 10000px rgba(0, 0, 0, 0.5);
  }
  .nav-item .dropdown {
    padding: 0;
    position: initial;
    max-height: 0;
    width: initial;
    border: none;
    box-shadow: none;
  }
  .nav-item .dropdown .dropdown {
    border: none;
  }
  .nav-item .dropdown:before {
    display: none;
  }
  .nav-item:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
    max-height: initial;
  }
  .nav-item.icon a:before {
    top: unset;
    right: 0;
    transform: translateY(0px);
  }
}
/* Search Popup */
.search-popup {
  opacity: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
  transition: 200ms;
}
.search-popup.active {
  opacity: 1;
  visibility: visible;
}
.search-popup.active form {
  transform: translateY(0px);
}
.search-popup form {
  position: absolute;
  background: #fff;
  width: 500px;
  height: 200px;
  display: grid;
  place-items: center;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0px 5px 10px 5px rgba(0, 0, 0, 0.2);
  transition: 300ms;
  transform: translateY(20px);
}
.search-popup .btn-search-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 3rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-popup .btn-search-close .close-btn {
  transform: rotate(45deg);
}
.search-popup input[type="search"] {
  width: 100%;
  height: 70px;
  border: none;
  outline: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 2rem;
  font-weight: 300;
  padding: 0px 10px;
  transition: 100ms;
}
.search-popup input[type="search"]:focus {
  box-shadow: 0 0 0 3px rgba(0, 129, 255, 0.43);
  border-color: transparent;
}
.search-popup input[type="search"]::-webkit-input-placeholder {
  color: #b3b3b3;
}
@media (max-width: 576px) {
  .search-popup form {
    width: calc(100% - 30px);
    height: 170px;
    padding: 15px;
  }
}

.navbar .navbar-nav li {
  float: none !important;
}
.navbar .navbar-nav > li a {
  color: white !important;
  background-color: black !important;
}
.navbar.navbar-transparent,
.navbar {
  background: black !important;
  position: fixed;
  top: 0;
  width: 100%;
}

.navbar {
  height: 100px;
  padding: 15px 0 !important;
}

.nav-link {
  margin-top: 0 !important;
}
