/*!
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
*/

/************main-header__top-right-social***************/

.main-header__top-left-social {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-right: 20px;
	margin-top: -3px;
	gap: 10px;
}

.main-header__top-left-social a {
    position: relative;
    height: 40px;
    width: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    color: var(--ambed-black, #3c3531);
    font-size: 15px;
    background-color: var(--ambed-extra, #f2eeeb);
    border-radius: 50%;
    overflow: hidden;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    z-index: 1;
}

.main-header__top-left-social a:hover {
  color: var(--ambed-white, #ffffff);
}

.main-header__top-left-social a:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-color: var(--ambed-base, #a47c68);
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
  -webkit-transition-property: all;
  transition-property: all;
  opacity: 1;
  -webkit-transform-origin: top;
  transform-origin: top;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  z-index: -1;
}

.main-header__top-left-social a:hover:after {
  opacity: 1;
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

/************main-header__top-right-social***************/

.modal-body .sun_captcha {
	margin-bottom:15px;
}

.contact-page__form .comment-form__input-box textarea {
	height: 120px;
}

.service-details__benefits-points li .icon {
	flex-shrink:0;
}

.footer-widget__contact-list li .icon {
	flex-shrink: 0;
}

.elementor-widget-image-gallery .elementor-image-gallery .gallery-columns-2 .gallery-item .gallery-icon {
	height:250px;
}

.elementor-widget-image-gallery .elementor-image-gallery .gallery-columns-2 .gallery-item .gallery-icon a {
	height:100%;
	display:block;
}

.elementor-widget-image-gallery .elementor-image-gallery .gallery-columns-2 .gallery-item .gallery-icon a img {
	height: 100%;
    object-fit: cover;
}

.main-menu .main-menu__list > li > a.big + .sub-menu {
	width:max-content;
}

.contact-one__right {
	padding: 30px 60px 10px;
    height: 100%;
}

.services-one__icon {
	display:none;
}

.feature-three__top-title {
	text-align: center;
    line-height: 1;
}

.elementor-widget-ambed-gallery-mod .gallery-page__single {
	height: 487px;
}

.elementor-widget-ambed-gallery-mod .gallery-page__img {
	height: 100%;
}

.elementor-widget-ambed-gallery-mod .gallery-page__img img {
	object-fit: cover;
	height:100%;
}

.elementor-widget-ambed-gallery-mod.full .gallery-page {
	
}

.gallery-page {
	padding-top:50px;
}

.gallery-three__top-left .section-title {
    margin-bottom: 0;
}

.gallery-three__top {
    position: relative;
    display: block;
    margin-bottom: 70px;
}

.gallery-three__top-left .section-title__line {
	left: 0;
    transform: translateX(0);
}

.gallery-three__top-right {
    position: relative;
    display: block;
    margin-left: 70px;
}

.wpcf7-not-valid-tip {
	position: absolute;
	line-height: 1;
	font-size: 12px;
    background: #eee;
    padding: 1px 2px;
}

.wpcf7 form .wpcf7-response-output {
	color:#000;
}

.site-footer__bottom-text a {
	position: absolute;
    right: 0;
}

.gallery-page__single {
	height:100%;
	display:flex;
	padding-bottom: 30px;
	margin-bottom: 0;
}

.gallery-page__single .gallery-page__img img {
	height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (min-width: 480px) and (max-width: 767px) {
	.elementor-widget-image-gallery .elementor-image-gallery .gallery-columns-5 .gallery-item {
		max-width: 100%!important;
	}
}

@media ((min-width: 768px)){
	.elementor-widget-image-gallery .elementor-image-gallery .gallery-columns-2 .gallery-item ,
	.elementor-widget-image-gallery .elementor-image-gallery .gallery-columns-5 .gallery-item {
		max-width: 100%;
	}
}

@media ((max-width: 1200px)){
	.gallery-mod.elementor-widget-image-gallery .elementor-image-gallery .gallery-columns-5 {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media ((max-width: 991px)){
	.gallery-mod.elementor-widget-image-gallery .elementor-image-gallery .gallery-columns-5 {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.site-footer__bottom-text {
		display: flex;
		flex-direction: column;
	}
	
	.site-footer__bottom-text a {
		position: static;
	}
}

@media ((max-width: 767px)){
	.gallery-three__top-text {
        margin-top: 42px;
    }
	
	.gallery-three__top-right {
        margin-left: 0;
    }
	
	.mob-reverse > .elementor-container > *:first-child {
		order:1;
	}
}

@media ((max-width: 480px)){
	.gallery-mod.elementor-widget-image-gallery .elementor-image-gallery .gallery-columns-5 {
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 1em;
	}
}