/* preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background: #fff;
}

#loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #9370DB;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

#loader:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #BA55D3;
  -webkit-animation: spin 3s linear infinite;
  animation: spin 3s linear infinite;
}

#loader:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #FF00FF;
  -webkit-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
}

#preloader {
  opacity: 1;
  transition: all .3s ease 0s
}

body.load-success #preloader {
  opacity: 0;
  transition: all .3s ease 0s
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* top bar */
#top-bar {
  position: relative;
  z-index: 1021;
  width: 100%;
  font-size: 12px;
  background-color: #fff;
}

#top-bar .left h1 {
  font-size: 13px;
  display: block;
  line-height: 32px;
  margin: 0;
}

#top-bar .right {
  text-align: right;
}

#top-bar .right ul {
  margin: 0;
  padding: 0;
}

#top-bar .right li {
  display: inline-block;
  font-size: 13px;
  line-height: 32px;
  margin-left: 30px;
}

/* lozad */
.faded-img {
  animation-name: faded-img;
  animation-duration: 2s
}

@keyframes faded-img {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* navbar utils */
.navbar-brand img {
  max-height: 100%;
  width: auto;
}

.navbar {
  margin-bottom: 0;
}

.navbar .dropdown-item i {
  position: relative;
  left: -10px;
}

/* footer */
footer {
  background: #fff;
}

footer .copyright img {
  float: none;
  height: 65px;
  padding: 0;
  margin-left: 0;
}

/* index page */
.index-page .page-header, .presentation-page .page-header {
  height: calc(100vh - 70px - 30px - 150px);
}

.index-page .header-filter:after, .presentation-page .header-filter:after {
  background: none;
}

body.presentation-page .page-header {
  min-height: calc(100vh - 70px - 30px - 150px);
  height: auto;
}

/* sub page */
.sub-page .page-header {
  height: 65vh;
  background-size: cover !important;
  background-position: center !important;
}

body.sub-page div.page-header {
  min-height: calc(100vh - 70px - 30px - 150px);
  height: auto;
}

/* about-us page */
.about-us .carousel .page-header {
  padding: 50px;
  min-height: calc(100vh - 70px - 30px - 150px);
  height: auto;
}

.about-us .carousel .page-header .container {
  width: 70%;
}

/* section-home */
.section-home {
  padding: 30px 0 0 0;
}

.section-home .img-fluid.title {
  height: 30px;
  width: auto;
  margin: 0;
  padding: 0;
  min-height: 0;
}

/* contact page */
.contactus-1 .info p {
  color: hsla(0, 0%, 100%, .76);
}

/* info */
.info {
  padding: 70px 0 0;
}

.info p {
  color: #666;
}

/* map */
#google-map {
  width: 100%;
  height: 80vh;
  visibility: visible;
}

/* similar posts */
.similar-posts .ratio-16-9 {
  height: 0px;
  overflow: hidden;
}

.similar-posts img {
  border-radius: 0;
}

/* ratios */
.ratio-16-9 {
  padding-bottom: calc(591.44 / 1127.34 * 100%);
}

/* colored p, checkboxes, danger */
.bmd-form-group:not(.has-success):not(.has-danger) [class*=" bmd-label"].bmd-label-floating, .bmd-form-group:not(.has-success):not(.has-danger) [class^=bmd-label].bmd-label-floating {
  color: #666;
}

.checkbox-inline, .checkbox label, .is-focused .checkbox-inline, .is-focused .checkbox label, .is-focused .radio-inline, .is-focused .radio label, .is-focused .switch label, .radio-inline, .radio label, .switch label {
  color: #666;
}

.bmd-form-group:not(.has-success):not(.has-danger) [class*=" bmd-label"].bmd-label-floating, .bmd-form-group:not(.has-success):not(.has-danger) [class^=bmd-label].bmd-label-floating {
  color: #666;
}

.checkbox-inline, .checkbox label, .is-focused .checkbox-inline, .is-focused .checkbox label, .is-focused .radio-inline, .is-focused .radio label, .is-focused .switch label, .radio-inline, .radio label, .switch label {
  color: #666;
}

.has-danger label {
  color: #ef4336;
}

.has-danger label {
  color: #ef4336;
}

/* custom */
.title {
  margin-top: 0px;
  margin-bottom: 5px;
  min-height: 32px;
  font-weight: 400 !important;
}

.section-home h3.title img {
  width: 130px;
}

.error-page .page-header {
  height: calc(100vh - 102px);
}

.presentation-page .features-1 .info .info-title {
  margin-top: 30px;
}

.presentation-page .info {
  padding: 50px 0 0;
}

.presentation-page .features-1 {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 576px) {
  .presentation-page .brand h1 {
    font-size: 2.5em;
  }

  .presentation-page .brand h2 {
    font-size: 1em;
  }

  .presentation-page .section-home .title {
    margin-bottom: 1em;
  }
}

@media (max-width: 991px) {
  .error-page .page-header {
    height: calc(100vh - 70px);
  }
}

.error-page .page-header .description {
  color: #fff;
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both
}

.animated.infinite {
  animation-iteration-count: infinite
}

.animated.hinge {
  animation-duration: 2s
}

.animated.bounceIn,
.animated.bounceOut,
.animated.flipOutX,
.animated.flipOutY {
  animation-duration: .75s
}

@keyframes f {

  0%,
  to {
    transform: translateZ(0)
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translate3d(-10px, 0, 0)
  }

  20%,
  40%,
  60%,
  80% {
    transform: translate3d(10px, 0, 0)
  }
}

.shake {
  animation-name: f
}

@keyframes g {
  0% {
    opacity: 0;
    transform: translate3d(0, -100%, 0)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.fadeInDown {
  animation-name: g
}

@keyframes h {
  0% {
    opacity: 1
  }

  to {
    opacity: 0
  }
}

.fadeOut {
  animation-name: h
}

@keyframes i {
  0% {
    opacity: 1
  }

  to {
    opacity: 0;
    transform: translate3d(0, 100%, 0)
  }
}

.fadeOutDown {
  animation-name: i
}

@keyframes j {
  0% {
    opacity: 1
  }

  to {
    opacity: 0;
    transform: translate3d(0, -100%, 0)
  }
}

.fadeOutUp {
  animation-name: j
}
