body {
  line-height: 1.7em;
}

.affix {
  top: 0;
  width: 100%;
  z-index: 9999 !important;
}

.navbar {
  height: 160px;
  background-color: #fff;
}

.navbar-main {
  height: 100px;
}

.navbar-right {
  margin-right: 15px;
}

.navbar + .container-fluid {
  padding-top: 160px;
}

.navbar-nav > li > a {
  margin-top: 50px;
  color: #333;
  font-weight: bold;
  font-size: 16px;
}

.navbar-subheader {
  height: 60px;
  border-top: 2px solid;
  border-bottom: 1px solid;
  text-align: center;
}

.navbar-subheader .brand {
  float: left;
  height: 50px;
  padding: 15px 15px;
  font-size: 18px;
  line-height: 20px;
  margin-left: -20px;
}

.nav li {
  display: inline;
  background-color: white;
}

.navbar .navbar-nav > li > a {
  background-color: #ffffff;
}

.navbar .navbar-toggle {
  border-color: #ddd;
  top: 20px;
}

.navbar .navbar-toggle .icon-bar {
  background-color: #888;
}

.dropdown-menu {
  border-radius: 0;
  border: 0px;
}

.dropdown-menu .sub-menu {
  left: 100%;
  position: absolute;
  top: 0;
  visibility: hidden;
  margin-top: -6px;
  min-width: 180px;
}

.dropdown-menu li {
  position: relative;
}

.dropdown-menu li:hover .sub-menu {
  visibility: visible;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.navbar .navbar-brand {
  min-width: 400px;
}

.navbar .sub-menu:before {
  border-bottom: 7px solid transparent;
  border-left: none;
  border-right: 7px solid rgba(0, 0, 0, 0.2);
  border-top: 7px solid transparent;
  left: -7px;
  top: 10px;
}

.navbar .sub-menu:after {
  border-top: 6px solid transparent;
  border-left: none;
  border-right: 6px solid #fff;
  border-bottom: 6px solid transparent;
  left: 10px;
  top: 11px;
  left: -6px;
}

.dropdown-menu .caret {
  transform: rotate(-90deg);
  float: right;
  margin-top: 8px;
  margin-right: -6px;
}

.main-information {
  padding-top: 30px;
}

.main-information .about-us,
.main-information .events {
  padding-bottom: 20px;
}

.main-information h3 {
  font-weight: bold;
}

.brand-information {
  text-align: center;
  background-color: rgb(100, 100, 100);
  color: rgb(230, 230, 230);;
}

.brand-information h3 {
  font-weight: bold;
}

.brand-information .brand-logo{
  padding: 20px;
  min-height: 180px;
}

.carousel-inner .carousel-caption {
  top: 0%;
  right: auto;
}

.carousel-inner .carousel-caption h2 {
  font-weight: bolder;
  text-align: left;
  margin-left: 10px;
}

div.gradient {
  height: 36px;
  min-width: 600px;
  background: linear-gradient(to right, #00a8f3, rgba(0,0,0,0));
}

.btn-learn {
  position: absolute;
  left: 15%;
  bottom: 10%;
}

.btn-more {
  position: absolute;
  right: 15%;
  bottom: 10%;
}

.main-contact {
  padding: 30px;
  padding-top: 0px;
  background-color: #ccc;
  border-radius: 4px;
}

.main-contact .form-control {
  margin-bottom: 20px;
}

.main-contact .btn {
  max-width: 100px;
  margin: auto;
}

.wrapper {
  display: flex;
  align-items: stretch;
}

#content p {
  padding-bottom: 10px;
}

#content ul li {
  padding: 5px;
  padding-left: 30px;
}

#sidebar {
  min-width: 250px;
  max-width: 250px;
}

#sidebar .active {
  font-weight: bold;
}

#sidebar ul.components {
  padding: 20px 0;
}

#sidebar ul li {
    padding: 10px;
    display: block;
  font-weight: bold;
}

#sidebar ul ul a {
  padding-left: 30px !important;
}

#content .entry {
  padding-top: 10px;
  padding-bottom: 10px;
}

#content img {
  width: 400px;
}

#content img.full {
  width: 100%;
}

footer {
  margin-top: 30px;
  background-color: #0056A0;
  color: #fff;
  height: 200px;
}

footer h4 {
  font-weight: bold;
}

footer ul {
  list-style: none;
  padding-left: 0;
}

footer li a {
  color: #fff;
}

.copyright {
  text-align: center;
}

@media (max-width: 900px) {
  .navbar-header {
    float: none;
  }
  .navbar-left,.navbar-right {
    float: none !important;
  }
  .navbar-toggle {
    display: block;
  }
  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
    display: none!important;
  }
  .navbar-nav {
    float: none!important;
    margin-top: 50px;
  }
  .navbar-nav>li {
    float: none;
  }
  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .collapse.in{
    display:block !important;
    position: relative;
  }

  .dropdown-menu {
    position: relative;
    box-shadow: none;
    float: none;
    width: 100%;
  }
  
  .navbar-nav > li > a {
    margin-top: 0px;
  }
  .navbar-right {
    margin-left: 0px;
    margin-right: 0px;
    border: 1px solid;
  }
  .navbar-main {
    position: relative;
    z-index: 2;
  }
  
  .carousel-inner .carousel-caption {
    padding-top: 0px;
  }
  .carousel-inner .carousel-caption h2 {
    font-size: 18px;
  }
  div.gradient {
    height: 22px;
    min-width: 400px;
  }

  #sidebar {
    min-width: 200px;
    max-width: 200px;
  }
}

@media (max-width:600px){
  body {
    font-size: 12px;
  }

  .navbar .navbar-brand {
    min-width: 300px;
  }
  
  .navbar-header .navbar-brand img {
    width: 300px;
  }
  
  .navbar-subheader .brand img {
    width: 100px;
  }
  
  .carousel-inner .carousel-caption {
    top: -10px;
  }
  .carousel-inner .carousel-caption h2 {
    font-size: 14px;
  }
  div.gradient {
    height: 18px;
    min-width: 300px;
  }

  #sidebar {
    display: none;
  }
}

@media (max-width:420px){
  body {
    font-size: 10px;
  }

  .navbar .navbar-brand {
    min-width: 240px;
  }
  
  .navbar-header .navbar-brand img {
    width: 240px;
  }
  
  .navbar-subheader .brand img {
    width: 80px;
  }
  
  .carousel-inner .carousel-caption {
    top: -18px;
  }
  .carousel-inner .carousel-caption h2 {
    font-size: 12px;
  }
  div.gradient {
    height: 16px;
    min-width: 180px;
  }

  #content img {
    width: 300px;
  }
}