/**
Theme Name: astra-child
Version: 2.6.1
Author: TheStoryWeb
Author URI: https://thestorywebs.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

span.elementor-button-icon.elementor-align-icon-right {
    background-color: var(--e-global-color-accent);
	border: 1px solid var(--e-global-color-accent);
    padding: 4px 4px 2px;
    vertical-align: middle;
	line-height: 0;
	transition:all 0.3s;
}
.elementor-button-content-wrapper{ align-items: center; }
.elementor-align-icon-right i:before {
    content: url(images/arrow-right.png);
}
.elementor-button:hover .elementor-align-icon-right i:before {
    content: url(images/hover-arrow-right.png);
}
.elementor-button:hover span.elementor-button-icon.elementor-align-icon-right{
	background-color:transparent;
}
.elementor-button:hover{ text-decoration:underline !important;}
.our_photos .elementor-column > .elementor-widget-wrap {
    min-height: 70vh;
}
.our_photos .elementor-widget-button{
	display: none;
}
.our_photos .elementor-column:hover .elementor-widget-button{ display:block; }


#gform_wrapper_1.gform_wrapper.gravity-theme .gform_footer {
    margin: 0;
    padding: 0;
}
#gform_wrapper_1{ border-bottom:1px solid rgba(0,0,0,0.2)}
#gform_wrapper_1 input[type=email] {
    border: none;
    background-color: transparent;
}
#gform_wrapper_1 input[type=submit] {
    font-size: 0 !important;
    background-color: var(--e-global-color-accent);
    background-image: url(images/arrow-right.png);
    padding: 17px 18px;
    border: 1px solid var(--e-global-color-accent);
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 10px;
}
#gform_wrapper_1.gform_wrapper.gravity-theme .gfield.gfield--width-one-sixth{ justify-content: flex-end;}
.form_global_style_wrapper.gform_wrapper input[type="text"], 
.form_global_style_wrapper.gform_wrapper input[type="email"], 
.form_global_style_wrapper.gform_wrapper input[type="tel"],
.form_global_style_wrapper.gform_wrapper select {
    font-weight: 400;
    font-size: 17px !important;
    border-width: 0px 0px 1px 0;
    background-color: transparent;
    border-color: #DFDFDF;
    border-style: solid;
    padding: 5px 0 !important;
    height: 50px;
    margin-bottom: 10px !important;
}
.form_global_style_wrapper.gform_wrapper textarea {
    font-weight: 400;
    font-size: 17px !important;
    border-width: 0px 0px 1px 0;
    background-color: transparent;
    border-color: #DFDFDF;
    border-style: solid;
    padding: 5px 0 !important;
    margin-bottom: 10px !important;
}
.form_global_style_wrapper.gform_wrapper input:focus, .form_global_style_wrapper .gform_wrapper textarea:focus{ border-color:var(--e-global-color-accent);}
.gform_wrapper input[type="checkbox"] {
    width: 0;
    height: 0;
    appearance: none;
	position:absolute;
	visibility:hidden;
    
}
.ginput_container_checkbox input[type="checkbox"]:checked+label:before{
	background-image:url(images/check-icon.jpg);
	background-repeat:no-repeat;
	background-size:contain;
	background-position:center;
}
.ginput_container_checkbox label{ padding-left:40px; font-weight:500; position:relative; line-height: 1.2em; cursor: pointer;}
.ginput_container_checkbox label:before{
	content:"";
	height:25px;
	width:25px;
	border: 1px solid #ECEDEF;
	position:absolute;
	left:0;
}
.form_global_style_wrapper.gform_wrapper.gravity-theme .gfield.gfield--width-half { justify-content: flex-end; }
.form_global_style_wrapper input[type="submit"] {
    background-image: url(images/submit-icon.jpg);
    padding: 10px 55px 10px 0;
    background-repeat: no-repeat;
    background-position: right center;
}

button.slick-arrow {
    border: 1px solid #DEE0DF;
    height: 60px;
    width: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}
.timber_frames_gallery .slick-arrow {
    position: absolute;
    top: -70px;
    left: 56.5%;
}
.timber_frames_gallery .slick-arrow.slick-next {
    margin-left: 70px;
}
button.slick-arrow:hover{
	background-color:#ffffff;
}
button.slick-arrow svg{ stroke: #50573A;}
.gallery_item {
    margin: 0 6px;
}

body:not(.rtl) .menu_popup .dialog-close-button {
    right: calc(100% - 70px) !important;
}
.menu_popup .eicon-close:before {
    content: url('data:image/svg+xml; utf8,<svg width="35" height="26" viewBox="0 0 35 26" fill="none" xmlns="http://www.w3.org/2000/svg"><line x1="4.77242" y1="25.6465" x2="29.5212" y2="0.897725" stroke="white"/><line x1="5.47953" y1="0.646447" x2="30.2283" y2="25.3952" stroke="white"/></svg>');
}
.header_icon_list .fa-bars:before {
   content: url('data:image/svg+xml; utf8,<svg width="35" height="16" viewBox="0 0 35 16" fill="none" xmlns="http://www.w3.org/2000/svg"><line y1="0.5" x2="35" y2="0.5" stroke="black"/><line y1="15.5" x2="35" y2="15.5" stroke="black"/></svg>');
}
.default_header .header_icon_list .fa-bars:before {
   content: url('data:image/svg+xml; utf8,<svg width="35" height="16" viewBox="0 0 35 16" fill="none" xmlns="http://www.w3.org/2000/svg"><line y1="0.5" x2="35" y2="0.5" stroke="%23000000"/><line y1="15.5" x2="35" y2="15.5" stroke="%23000000"/></svg>');
}
.header_icon_list .elementor-icon-list-items li:hover .fa-bars:before,
.default_header .header_icon_list .elementor-icon-list-items li:hover .fa-bars:before {
   content: url('data:image/svg+xml; utf8,<svg width="35" height="16" viewBox="0 0 35 16" fill="none" xmlns="http://www.w3.org/2000/svg"><line y1="0.5" x2="35" y2="0.5" stroke="%23CE9E40"/><line y1="15.5" x2="35" y2="15.5" stroke="%23CE9E40"/></svg>');
}
.header_icon_list .elementor-icon-list-items li:first-child{ margin-right:38px !important;}

ul.photo_gallery_grid {
    padding: 0;
    list-style: none;
    margin: 0;
} 

.photo_gallery_grid li, .timber_frames_gallery .gallery_item { position:relative; overflow:hidden; margin-left:5px; margin-right:5px; }
.photo_gallery_grid li:after, .timber_frames_gallery .gallery_item::after {
	content:"";
	background: linear-gradient(216.13deg, rgba(6, 22, 27, 0) 62.44%, #06161B 87.03%);
	height:100%;
	width:100%;
	position:absolute;
	left:0;
	top:0;
	bottom:0;
	right:0;
}
.gallery_hover_content h4 {
    font-size: 24px;
	transform: translateY(50px);
	transition: all 0.4s;
}
.photo_gallery_grid li:hover .gallery_hover_content h4, .timber_frames_gallery .gallery_item:hover .gallery_hover_content h4 { transform:translateY(0); }
.photo_gallery_grid .elementor-button .elementor-align-icon-right {
    margin-left: 17px;
}
.pthoto_thumb {
    display: block;
    transition: all 0.4s;
}
.photo_gallery_grid li:hover .pthoto_thumb, .timber_frames_gallery .gallery_item:hover .pthoto_thumb {
    transform: scale(1.2);
}
.photo_gallery_grid a.elementor-button, .timber_frames_gallery a.elementor-button {
    color: #fff;
	opacity:0;
	transition:all 0.4s;
	visibility:hidden;
	z-index:-1; 
}
.photo_gallery_grid li:hover a.elementor-button, .timber_frames_gallery .gallery_item:hover a.elementor-button {
	opacity:1;
	visibility:visible;
	position:static;
	z-index:10;
}
.gallery_hover_content h4 a{ color:#fff;}
.gallery_hover_content{
	position:absolute;
	bottom:0;
	padding:30px;
	z-index:50;
}

.section_testimonial .testimonial_col,
.section_testimonial .testimonial_col > .elementor-widget-wrap,
.section_testimonial .testimonial_col .testimonails,
.section_testimonial .testimonial_col .elementor-element { position:static !important;}


.testimonails button.slick-arrow{ position:absolute; left:0; bottom:0;}
.testimonails button.slick-next.slick-arrow{ margin-left:70px;}
.testimonial_item {
    margin: 30px 10px 0;
    background-color: #ffffff;
    padding: 40px;
    box-shadow: 5px 5px 8px rgba(0,0,0,0.02);
    position: relative;
	opacity:0.5;
	font-weight:400;
}
.testimonial_item:before {
    content: "";
    background-image: url(images/quote-icon.png);
    width: 35px;
    height: 35px;
    position: absolute;
    left: 40px;
    top: -18px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.testimonial_item.slick-center{ opacity:1;}
.testimonial_item h5 {
    font-weight: bold;
    margin: -10px 0 10px;
}
.published_date {
    font-size: 13px;
    color: rgba(0,0,0,0.5);
}
.testimonails .slick-track {
    display: flex !important;
}

.testimonails .slick-slide{
    height: inherit !important;
}

.main_menu .elementor-nav-menu__container > ul > li> a.menu-link{ transition: padding-left 0.4s ease; }
.main_menu .elementor-nav-menu__container > ul > li> a.menu-link:hover {
    padding-left: 60px !important;
	transition: padding-left 0.3s ease;
}
.main_menu .elementor-nav-menu__container > ul > li> a.menu-link:after {
    content: "";
    background-image: url(images/menu-hover-icon.jpg);
    width: 0;
    height: 25px;
	opacity:0;
    left: 0;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    background-color: transparent !important;
	transition:all 0.4s ease;
}
.main_menu .elementor-nav-menu__container > ul > li> a.menu-link:hover:after{
	width:50px;
	opacity:1;
	background-color: transparent !important;
}

/*___Project Gallery____*/
ul.project_gallery_grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 25px;
    padding: 0;
    list-style: none;
    margin: 0;
}
.overflow-hidden{ overflow:hidden; }
.project_gallery_grid li:hover .project_gallery_photo {
    transform: scale(1.25);
}
.project_gallery_photo {
    display: block;
    position: relative;
    transition: all 0.4s;
}
.hover_text {
	background-image:url(images/hover-gb.jpg);
	background-repeat:no-repeat;
	background-position:top center;
	background-size:cover;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    top: 0;
    opacity: 0;
	visibility:hidden;
	transition: all 0.4s;
}
.project_gallery_grid li:hover .hover_text{ opacity:1; visibility:visible;}
.hover_text .elementor-button-text {
    order: 0;
    margin-right: 17px;
	color: #fff;
}
.hover_text .elementor-button-content-wrapper:hover .elementor-button-text{ text-decoration:underline; color:var(--e-global-color-accent);}
.hover_text .elementor-button-content-wrapper:hover span.elementor-button-icon.elementor-align-icon-right{ background-color:transparent;}
.hover_text .elementor-align-icon-right i:before {
    background-image: url(images/arrow-right.png);
    content: "";
    height: 18px;
    width: 21px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
}
.hover_text .elementor-button-content-wrapper:hover .elementor-align-icon-right i:before {
   background-image: url(images/hover-arrow-right.png);
}
.project_gallery_grid h5 {
    font-size: 25px;
    margin: 20px 0 0;
}
.project_gallery_grid h5 a{ color:#000000; transition: all 0.4s;}
.project_gallery_grid li:hover h5 a{ text-decoration:underline;}

/*____Gallery Single____*/
.single-project_gallery .default_header,
.single-listing .default_header {
    background-color: var( --e-global-color-66be256 );
}

.page-id-985 .default_header,
.page page-id-3 .default_header,
.page-id-721 .default_header,
.page-id-576 .default_header{
	background-color:#fff;
}

.int_gallery_item_1 { grid-area: longer; }
.int_gallery_item_2 { grid-area: small; }
.int_gallery_item_3 { grid-area: small2; }
.int_gallery_item_4 { grid-area: wider; }
.interior_gallery_grid img,
.exterior_gallery_grid img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.interior_gallery_grid {
  display: grid;
  grid-template-areas:
    'longer longer small small small2 small2'
    'longer longer wider wider wider wider';
  gap: 10px;
}

.ext_gallery_item_1 { grid-area: small; }
.ext_gallery_item_2 { grid-area: small2; }
.ext_gallery_item_3 { grid-area: wider; }
.ext_gallery_item_4 { grid-area: longer; }

.exterior_gallery_grid {
  display: grid;
  grid-template-areas:
    'small small small2 small2 longer longer'
    'wider wider wider wider longer longer';
  gap: 10px;
}
.section_into_exto_area h4{ margin-top:90px; margin-bottom:20px; font-size:40px; }
ul.related_grid.project_gallery_grid {
    grid-template-columns: repeat(3,1fr);
    column-gap: 20px;
}


/*___Single Listing____*/
.listing_sqft {
    padding-top: 20px;
}

.photo_gallery_grid .slick-next.slick-arrow {
    bottom: -90px;
    position: absolute;
    left: 50%;
    margin-left: 40px;
}
.photo_gallery_grid .slick-prev.slick-arrow {
    bottom: -90px;
    position: absolute;
    left: 50%;
    margin-left: -40px;
}
.photo_gallery_grid button.slick-arrow svg {
    stroke: #fff;
}
.photo_gallery_grid button.slick-arrow:hover svg {
    stroke: #50573A;
}

@media (min-width: 768px){
	.testimonails .slick-list.draggable{ padding-left:0 !important;}
	.timber_frames_gallery .slick-list.draggable { /*padding-left:0 !important;*/ }
}

@media (max-width: 767px){
	.photo_gallery_grid a.elementor-button, .timber_frames_gallery .gallery_item a.elementor-button { z-index:10; opacity: 1; visibility: visible; }
	.testimonial_item { margin: 30px 0px 0; padding: 30px 20px; }
	.testimonails button.slick-next.slick-arrow { margin-left: 0; }
	.testimonails button.slick-arrow { left: 50%; bottom: -70px; margin-left: -70px; }
	.progress_timber_frames{ margin-top:20px !important; display:none !important}
	.timber_frames_gallery .slick-arrow {
		top: auto;
		left: 30.5%;
		bottom: -110px;
	}
	.footer_bottom .elementor-container .elementor-column:first-child { order: 2; }
	.footer_bottom ul.elementor-icon-list-items.elementor-inline-items {
		display: block;
		text-align: center;
	}
	.footer_bottom .elementor-widget .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item { margin: 8px 0; }
	body:not(.rtl) .menu_popup .dialog-close-button { right: 10px !important; }
	.gallery_hover_content h4 { transform: translateY(0); }
	.get_started_process > .elementor-container{ align-items: flex-start !important; }
	ul.project_gallery_grid, ul.related_grid.project_gallery_grid { grid-template-columns: repeat(1,1fr);}
	.project_gallery_grid h5 { font-size: 20px; margin: 10px 0 0; }
	.section_into_exto_area h4 { margin-top: 50px; font-size: 30px; }
	.photo_gallery_grid .slick-prev.slick-arrow { left: 45%; }
	.photo_gallery_grid .slick-next.slick-arrow { margin-left: 20px; }
}
