.CSSfadeIn {
  animation: fadein 1s;
  -webkit-animation: fadein 1s;
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

a, a:active, a:focus {
  outline: none !important;
}

.dropdown div {
  animation: fadein 0.25s;
  -webkit-animation: fadein 0.25s;
}

img, a, .btn:hover, .btn:active {
  transition: all .25s ease;
  -webkit-transition: all .25s ease;
}

body {
  font-family: 'Avenir';
  font-size: 18px;
  letter-spacing: 0.5px;
  text-shadow: none;
  overflow-x: hidden;
  overflow-y: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Avenir';
  letter-spacing: 0.5px;
}

h2 {
  color: #bd78f1;
}

.navbar {
  background-color: #fff;
  border-bottom: 1px solid #efefef;
  border-radius: 0;
}

.navbar .btn, .navbar a {
  font-weight: 800;
}

a.active {
  color: red !important;
}

.nav-brand img {
  padding-top: 5px;
}

.nav-brand.btn-lg, .navbar .btn-lg:last-child {
  padding: 15px 12px;
}

.nav-img {
  height: 50px;
  width: 50px;
  object-fit: cover;
}

a {
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #2c3e50
}

.navbar a:hover {
  opacity: 0.8;
}

.dropdown-menu {
  margin-top: 9px;
  border-top: none;
  border-radius: 0;
  padding: 0;
}

.dropdown-item {
  padding: 10px 20px;
  border-top: 1px solid #efefef;
}

.dropdown-item a {
  color: #2c3e50 !important;
}

.dropdown-item a:hover, .dropdown-item a:focus {
  color: #2c3e50 !important;
}

.dropdown-item:first-child {
  border-top: none;
}

.btn-primary {
  background-color: #0BB5C3;
  border: none;
}

.carousel-inner > .carousel-item > a > img, .carousel-inner > .carousel-item > img, .img-fluid {
  display: block;
  height: auto;
  margin: auto;
  max-width: 100%;
  width: 100%;
  height: 400px;
}

.carousel div {
  animation: none;
  -webkit-animation: none;
}

.nav-scroll {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  width: 100%;
}

.nav-scroll ul {
  height: 600px;
  padding: 2px 0;
}

.feature .nav-scroll {
  text-align: center;
}

.nav-scroll ul li {
  display: inline-block;
  width: auto;
  height: 600px;
}

.nav-scroll ul li img {
  height: 600px;
}

.tag {
  border: 1px solid #ccc;
  color: #818a91;
  font-size: 0.6em;
  padding: 1px 4px;
  margin: 2px;
  list-style: none;
  display: inline-block;
}

.tags {
  margin: 5px 0 10px;
  padding: 0;
}

.text-muted {
  color: #818a91;
}

.text-faded {
  opacity: 0.5;
}

/* Home */
.appIcon {
  height: 60px;
  width: 60px;
  object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}

.carousel h1, .carousel h5 {
  color: #fff;
  text-shadow: 1px 1px 1px #222;
  line-height: 1.6;
}

.backgroundimg, .carousel-bg-img {
  object-fit: cover;
  opacity: 1;
  background-repeat: no-repeat !important;
  background-size: cover;
}

.container-slider {
  padding: 100px 0;
}

/* Feature for Now */
.feature img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 10px;
}

h3 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: .8em;
  letter-spacing: 3px;
  color: #555;
  margin-top: 30px;
  padding: 10px 0;
}

.feature h3, .featured h3 {
  margin: 60px 15px 15px;
}

.feature h4 {
  margin: 10px 0 0;
}

.feature p {
  margin-bottom: 60px;
}

.ul-reset {
  list-style: outside none none;
  padding-left: 0;
}

/* Featured */
.featured h6 {
  margin-bottom: 0;
}

.featured .nav-scroll ul {
  height: 300px;
  padding: 2px 0;
  margin: 0;
  text-align: center;
}

.featured .nav-scroll li img {
  display: block;
  height: 160px;
  width: 200px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}

/* Detail */

#detail .backgroundimg {
  position: absolute;
  height: 500px;
  top: 0;
  z-index: -1;
  left: 0;
  right: 0;
}

#detail .tag {
  color: #fff;
  border-color: #fff;
}

#detail .btn-success {
  border: 1px solid #417505;
  text-shadow: 1px 1px 1px #417505;
}

.title {
  font-weight: 800;
  margin-bottom: 0;
}

.blogimg {
  max-height: 250px;
  height: 250px;
  width: 100%;
  object-fit: cover;
  margin: 10px 0;
}

.blog-content p img {
  margin: auto;
  border: 4px solid #ddd;
}

/* Footer */
.footer {
  border-top: 1px solid #eee;
  color: #333;
  padding: 60px 0;
}

.footer img {
  width: 160px;
  height: auto;
  margin: 15px;
}

@media screen and (max-width: 979px) {
  .history {
    padding-right: 0;
  }

  .ion-navicon {
    font-size: 30px;
  }
}

@media screen and (max-width: 767px) {

  .navbar .dropdown-menu {
    margin-top: 9px;
  }

  .nav-brand img {
    height: 24px;
  }

  .nav-brand img {
      padding-top: 0;
  }
  
  .navbar {
    padding: 0.5rem;
  }

  .nav-img {
    width: 40px;
    height: 40px;
  }

  .nav-scroll ul {
    height: 320px;
  }

  .nav-scroll ul li {
    height: 320px;
  }

  .nav-scroll ul li img {
    height: 320px;
  }
}

@media screen and (max-width: 540px) {
  .dropdown-menu {
    margin-left: -80px;
  }
}