/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 160px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  background: #000;
}
#header .header-up{
  padding-top: 15px;
}

#header.header-scrolled {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  height: 72px;
}

#header.header-scrolled .header-up{
  display: none;
}

#header .logo h1 {
  font-size: 28px;
  margin: 0;
  line-height: 0;
  font-weight: 600;
  letter-spacing: 1px;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #576971;
  text-decoration: none;
}

#header .logo img {
  width: 95%;
  padding: 0;
  margin: 0;
}

/*--------------------------------------------------------------
# Header Social Links
--------------------------------------------------------------*/

@media (max-width: 768px) {
  .header-social-links {
    margin: 0 15px 0 0;
  }
}

.header-social-links a {
  color: #fff;
  display: inline-block;
  line-height: 0px;
  transition: 0.3s;
  padding-left: 10px;
}

.header-social-links a:hover {
  color: #ff0305;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  align-items: center;
  justify-content: center;
  color: #eee;
  display: block;
  padding: 20px 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #ff0305;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  color: #003651;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #ff0305;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(32, 38, 41, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #364146;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #ff0305;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #ff0305;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}
#header .contact-links ul li{
  margin-right: 10px;
}
#header .contact-links ul li a{
  color:#fff;
}
#header .scroll-social-links,
#header .scroll-contact-links
{
  display: none
}
#header.header-scrolled .scroll-social-links,
#header.header-scrolled .scroll-contact-links
{
  display: block;
  padding: 20px 0;
}
@media screen and (max-width:1200px){
  #header{
    height: 140px;
  }
}
@media screen and (max-width:991px){
  #header{
    height: 110px;
  }
  .navbar{
    margin-top: 10px;
  }
  #header.header-scrolled .scroll-social-links,
  #header.header-scrolled .scroll-contact-links
  {
    padding: 10px 0;
  }
  #header.header-scrolled{
    height: 55px;
  }
}
@media screen and (max-width: 768px){
  #header .left-area,
  #header .right-area {
      text-align: center !important;
  }
  #header .logo img{
    width: 40%;
    margin: 10px 0;
  }
  #header{
    height: 180px;
  }
}
@media screen and (max-width: 576px){
  #header .logo img{
    width: 60%;
  }
  .navbar{
    margin-top: 8px;
  }
  #header .contact-links ul li{
    margin-right: 5px;
  }
}
@media screen and (max-width: 453px){
  #header .contact-links ul li{
    font-size: 12px;
  }
  .scroll-social-links a{
    font-size: 12px;
    padding-left: 5px;
  }
}
@media screen and (max-width: 414px){
  #header .logo img{
    width: 70%;
  }
}
