/*!
Theme Name: Ambed Child theme
Theme URI: http://layerdrops.com/ambedwp
Template: ambed
Author: bracket-web
Author URI: https://themeforest.net/user/bracket-web
Description: This is a Child theme for Ambed WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ambed-child
*/

:root {
  --ambed-base: #548fba;
  --ambed-black: #002143;
  --ambed-black-rgb: 0, 33, 67;
  --ambed-extra: #eef5fb;
  --deam-surface: #ffffff;
  --deam-ink: #10233a;
  --deam-border: rgba(255, 255, 255, 0.14);
}

body {
  color: #d9e3ee;
}

.main-header__logo img,
.site-footer__top .footer-widget__about-logo img {
  width: auto;
  max-width: 132px;
  max-height: 72px;
}

.main-slider__icon {
  display: none !important;
}

.wow,
.fadeInUp,
.fadeInDown,
.fadeInLeft,
.fadeInRight,
.slideInLeft,
.slideInRight,
.slideInUp {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}

.services-one__img img,
.services-page .services-one__img img,
.blog-one__img img,
.project-one__img img,
.gallery-page__img img,
.gallery-one__img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
}

.gallery-page .col-xl-4:nth-child(3n + 1) .gallery-one__img img,
.gallery-page .col-lg-4:nth-child(3n + 1) .gallery-one__img img {
  object-position: 50% 30%;
}

.gallery-page__img {
  cursor: zoom-in;
}

.services-one__single,
.blog-one__single,
.project-one__single {
  height: 100%;
}

.blog-one__content,
.services-one__content {
  min-height: 170px;
}

.contact-page__details,
.newsletter,
.site-footer {
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-page__details {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.contact-page__form .comment-form__input-box input,
.contact-page__form .comment-form__input-box select,
.contact-page__form .comment-form__input-box textarea {
  width: 100%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 22px;
}

.contact-page__form .comment-form__input-box textarea {
  padding-top: 18px;
}

.contact-page__form .comment-form__input-box input::placeholder,
.contact-page__form .comment-form__input-box textarea::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.contact-page__form .comment-form__btn,
.newsletter__btn,
.main-menu__btn,
.thm-btn {
  border-radius: 0;
}

.contact-page__form .comment-form__btn {
  min-width: 220px;
}

.contact-page__details .contact-page__social a {
  color: #fff;
}

.blog-one__meta a,
.blog-one__title a,
.services-one__title a,
.footer-widget__services-list li a,
.footer-widget__explore-list li a {
  word-break: normal;
}

.site-footer__top {
  background-color: rgba(0, 19, 39, 0.9);
}

.site-footer__bottom {
  background-color: #00152d;
}

.main-menu__btn,
.newsletter__btn,
.comment-form__btn {
  background-color: var(--ambed-base);
  color: #fff;
}

.main-menu__btn:hover,
.newsletter__btn:hover,
.comment-form__btn:hover {
  background-color: #75a9cf;
  color: #00152d;
}

.main-header__top,
.main-menu__wrapper {
  background-color: rgb(255 255 255);
}

.main-menu__wrapper-inner {
  min-height: 78px;
}

.main-slider h2,
.section-title__title,
.services-one__title,
.blog-one__title,
.project-one__title {
  text-wrap: balance;
}

.deam-lightbox-open {
  overflow: hidden;
}

.deam-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  background: rgba(0, 18, 36, 0.92);
  z-index: 99999;
}

.deam-lightbox.is-active {
  display: flex;
}

.deam-lightbox__figure {
  margin: 0;
  max-width: min(92vw, 1300px);
  max-height: 88vh;
  text-align: center;
}

.deam-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(88vh - 42px);
  margin: 0 auto;
  object-fit: contain;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.deam-lightbox__caption {
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.deam-lightbox__close,
.deam-lightbox__nav {
  border: 0;
  color: #fff;
  background: rgba(84, 143, 186, 0.22);
  transition: background-color 0.2s ease;
}

.deam-lightbox__close:hover,
.deam-lightbox__nav:hover {
  background: rgba(84, 143, 186, 0.42);
}

.deam-lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  font-size: 32px;
  line-height: 1;
}

.deam-lightbox__nav {
  width: 52px;
  height: 52px;
  font-size: 34px;
  line-height: 1;
}

@media (max-width: 767px) {
  .main-header__top {
    padding: 6px 0 4px;
  }

  .main-header__logo img {
    max-width: 84px;
    max-height: 70px;
  }

  .main-menu__wrapper-inner {
    min-height: 58px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .main-menu__search-btn-box {
    padding: 0;
  }

  .main-menu .mobile-nav__toggler {
    font-size: 28px;
    line-height: 1;
    padding: 0;
    color: var(--ambed-base);
  }

  .main-menu__left {
    width: 100%;
  }

  .services-one__img img,
  .services-page .services-one__img img,
  .blog-one__img img,
  .project-one__img img,
  .gallery-page__img img,
  .gallery-one__img img {
    height: 240px;
  }

  .contact-page__details {
    margin-top: 28px;
  }

  .deam-lightbox {
    padding: 18px 12px;
  }

  .deam-lightbox__nav {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }
}
