.container-margin {
  padding-top: 20px;
}

/* ==========================================================================
    IMAGE AND OVERLAYS / PARALLAX
   ========================================================================== */
.bg-image-full {
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-top: -105px;
}

.bg-image-reduced {
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  height: 60%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.bg-image-small {
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  height: 40%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-top: 69px;
}

.hero-text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #eaeaea;
}

@media (max-width: 992px) {
  .bg-image-small {
    height: 30%;
  }
  .bg-image-reduced {
    height: 30%;
  }
}

@media only screen and (max-width: 768px) {
  .hero-height {
    height: 60vh;
  }
  /* .hero-text {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    color: #eaeaea;
  } */

  .hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
    height: 100%;
    color: #eaeaea;
  }
}

@media only screen and (min-width: 768px) {
  .hero-height {
    height: 60vh;
  }
  .hero-text {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #eaeaea;
  }

  .hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #eaeaea;
  }
}

.image-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0.5;
  transition: 0.2s ease;
  background-color: black;
}

.bg-overlay {
  background-color: #000;
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
  opacity: 0.3;
  transition: 0.2s ease;
}

.bg-parallax {
  /* The image used */

  -webkit-filter: blur(3px);
  -moz-filter: blur(3px);
  -o-filter: blur(3px);
  -ms-filter: blur(3px);
  filter: blur(3px);
  z-index: -1;
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: scale(1.1);
  overflow: hidden;
}

.bg-parallax-low {
  /* The image used */

  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(2px);
  z-index: -1;
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: scale(1.1);
  overflow: hidden;
}

.image-fit {
  width: 100%;
}

/* Media queries for splash page. */
.splash-screen-height {
  height: 100%;
}
.splash-screen2-height {
  height: 100%;
}

@media (max-width: 767px) {
  /* .splash-screen-height {
    height: 50%;
  } */
  .splash-screen2-height {
    height: 95%;
  }
  .hero-text-left {
    text-align: center;
  }

  .bg-image-full {
    height: 200%;
  }
}

/* ==========================================================================
    DYNAMIC HOVER UNDERLINE COLORS
   ========================================================================== */
.hvr-underline-reveal {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}

.navbar-dark .hvr-underline-reveal:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ced8e1;
  height: 4px;
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.navbar-light .hvr-underline-reveal:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  background: #21263a;
  height: 4px;
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-underline-reveal:active:before,
.hvr-underline-reveal:focus:before,
.hvr-underline-reveal:hover:before {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

/* ==========================================================================
    ICON HOVERING
   ========================================================================== */
.icon-hvr-info:hover .icon-text-change {
  color: #008f86 !important;
}

.icon-hvr-primary:hover .icon-text-change {
  color: #013b69 !important;
}

.icon-hvr-light:hover .icon-text-change {
  color: #edf2f7 !important;
}

.icon-hvr-secondary:hover .icon-text-change {
  color: #ced8e1 !important;
}

/*APPLY THIS CLASS TO ITEM YOU WANT TO CHANGE COLOR OF INSIDE .ICON-HVR-* CLASS. */
.icon-text-change {
  transition: color 0.2s ease-in-out;
}

i.fa-border-circle {
  border-radius: 50% !important;
}

i.fa-border {
  border: 0.05em solid currentColor;
  border-radius: 0;
}

.icon-2x-circle {
  margin: auto;
  height: 70px;
  width: 70px;
  padding: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transition: 0.3s;
}

/* ==========================================================================
    SLICK SLIDER
   ========================================================================== */
.slick-slide {
  height: auto !important;
  outline: none !important;
  overflow-x: hidden !important;
}

.slick-track .slick-list .slick-slides {
  overflow: hidden !important;
}

.slick-dots li button {
  background-color: #013b69 !important;
  transition: 0.2s;
  overflow: hidden;
  border-radius: 50%;
  width: 10px !important;
  height: 10px !important;
  /* more CSS */
}

.slick-dots li {
  width: 10px !important;
  height: 10px !important;
}

.slick-dots .slick-active button {
  background-color: #ced8e1 !important;
  transition: 0.15s;
  overflow: hidden;
  /* more CSS */
}

.dots-light .slick-dots .slick-active button {
  background-color: #008f86 !important;
  transition: 0.15s;
  overflow: hidden;
}

/* ==========================================================================
    Features Section Style
   ========================================================================== */
#features {
  background: url(../images/splash1.jpg) fixed no-repeat;
  background-size: cover;
  color: #fff;
  overflow: hidden;
  position: relative;
}

/* ==========================================================================
    Draggable div
   ========================================================================== */

#mydiv {
  position: absolute;
  z-index: 99;
  background-color: #f1f1f1;
  border: 1px solid #d3d3d3;
  text-align: center;
}

#mydivheader {
  padding: 10px;
  cursor: move;
  z-index: 999;
  background-color: #2196f3;
  color: #fff;
}

/* ==========================================================================
    FORM VALIDATION
   ========================================================================== */

.error-container div {
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
}
