/*
Theme Name: Construction Hub Pro Child
Theme URI: https://www.themespride.com/themes/construction-wordpress-theme/
Author: Themespride
Author URI: https://www.themespride.com/
Description: This is the child theme of Construction Hub Pro.
Version: 1.0
Template: construction-hub-pro
License: GNU General Public License
License URI:license.txt
Text Domain: construction-hub-pro
Tags: one-column, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, sticky-post, theme-options, threaded-comments
Construction Hub Pro WordPress Theme has been created by Themespride(themespride.com), 2018.
Construction Hub Pro WordPress Theme is released under the terms of GNU GPL
*/

:hover {
transition-duration: 0s;
transition: none;
}

.main-navigation li {
    padding: 25px 20px;
}
.main-navigation .sf-arrows .sf-with-ul {
    padding-right: 0;
}
.main-navigation ul ul li {
    padding: 12px 10px;
    background: #2e3438;
}
.main-navigation ul ul a{color: white;}
.main-navigation ul ul li:hover > a {
    color: #dfc050;
}
.main-navigation .current_page_item > a:after, .main-navigation .current-menu-item > a:after, .main-navigation .current_page_ancestor > a:after{display:none;}
.main-navigation .sub-menu .current-menu-item > a{color:#dfc050;}
ul li,
p{font-size: 17px;}
ul.wp-block-list ul { margin-bottom: 10px; }
h2.wp-block-heading{color: black;}
h3.wp-block-heading { color: black; text-transform: uppercase; font-size: 22px; }
strong{font-weight: 600;}
.outer_dpage { overflow-x: hidden; color: black; padding-bottom: 35px;}
.id-iframe{min-height: 390px;}
.justify{text-align: justify;}
.wp-block-embed__wrapper iframe { min-height: 300px; }
.social_widget a:hover { border: none; }
.btn{
    font-size: 15px;
    letter-spacing: 3px;
    color: #252c3a;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 700;
    text-align: center;
    border: 2px solid #dfc050;
    padding: 18px;
    margin-top: 20px;
    border-radius: 0;
}
a.btn:hover {
    background-color: #dfc050;
    color: #fff;
}
.main-navigation a{font-size: 17px;}
section.no-padding{padding: 0;}
/* header */
#home_contact .contact-address a,
#home_contact .contact-phone a {
    color: white;
}
.black-links a{color: black;}
.black-links a:hover{text-decoration:underline;}

.no-mb .inner-page #latest-news {
    margin-bottom: 0;
}

.postid-844 .product-wrapper .col-sm-4 {
    display: none;
}
.postid-844 .product-wrapper .col-sm-8 {
    width: 100%; max-width:100%;flex-basis:100%;
}

/* Breadcrumbs */
nav#breadcrumbs a {
    color: black;
}
nav#breadcrumbs a:hover {
    color: #dfc050;
}
nav#breadcrumbs {
	background: #e5e5e5;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
/* Slider adjustments */
section#slider .carousel-item:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background: black;
    z-index: 1;
    opacity: 0.4;
}
#slider .read-more {
    display: none;
}
.slider-box{top:53%;}
.f-carousel img {
    width: 100%;
    height: 100%;
    max-height: 550px;
    object-position: center;
    object-fit: cover;
}
.f-carousel {
    max-height: 550px;
    overflow: hidden;
}
.short-slider .f-carousel{max-height:350px;}
.no-thumbs .f-thumbs {
    display: none;
}
.no-thumbs img {
    height: 100%;
    object-fit: cover;
}
.wp-block-group.gray-bg {
    position: relative;
    padding: 45px 0 65px;
    margin: 45px 0;
}
.wp-block-group.gray-bg:before {
    position: absolute;
    padding: 0;
    content: '';
    display: block;
    left: -50vw;
    top: 0;
    width: 200vw;height: 100%;
    background: #f5f5f5;
    z-index: -1;
}

.google-map img {
    max-height: 350px;
    object-fit: cover;
    width: 100%;
    max-width: 1140px;
	min-width:700px;
}
.google-map .map-img{overflow:hidden;display: flex;justify-content: center;}
.google-map .map-img a {
    width: 100%;
    max-width: 1140px;
}
/* Home page */
.home section#project { background: #f5f5f5; }
#project .main-heading{padding-bottom: 0;}

#project .project-img,
#project .box {
    height: 100%;
}
#project .box img {
    object-fit: cover;
    object-position: center;
    height: 100%;
}
#project .box {
    max-height: 310px;
}
.home section#project.colors-shapes {
    background: white;
}
.home section#project.colors-shapes .main-heading {
    padding-top: 0;
}
.home section#project.colors-shapes{padding-bottom:75px;}
#about-us span.about_icon {
    font-size: 32px;
    padding: 0;
    display: flex ; align-items: center;
    justify-content: center;
}

.lg-banner a.read-more-pjct {
    font-size: 15px;
    letter-spacing: 3px;
    color: #252c3a;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 700;
    text-align: center;
    border: 2px solid #dfc050;
    padding: 18px;
    margin-top: 0px;
    text-transform: uppercase;
}
section.lg-banner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: black;
    padding: 0;
    margin: 0;
    max-height: 600px;
    overflow: hidden;
}
section.lg-banner img{opacity: .5;}
section.lg-banner .lg-banner_btn {
    position: absolute;
    max-width: 400px;
    background: white;
    top:40%;
}


div#home_contact{bottom: 0;}


/* Product Page */
.wp-block-media-text {
    margin-bottom: 45px;
}
.stone-columns.is-layout-flex {
    margin: 125px 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 55px;
}
.stone-columns.is-layout-flex .wp-block-column {
    height: 100%;
}
.stone-columns figure{margin: 0;height: 100%;}
.stone-columns figure img{height: 100%; object-fit: cover;}

/* Faq Page */
.wp-block-uagb-faq-child .uagb-faq-questions-button .uagb-question { font-size: 18px; font-weight: 500; }

/* team */
#team .team_name{pointer-events:none;}
#team .team-contents .team-image img {
    height: 260px;
    border-radius: 0;
}


/* Form */
.contact-form h2{text-align: center;margin-bottom: 20px;}
button.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_style {
    font-size: 17px;
    letter-spacing: 2px;
    color: #252c3a;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 700;
    text-align: center;
    border: 2px solid #dfc151;
    padding: 13px 30px;
    text-transform: uppercase;
    background: #dfc151;
    margin-top: 20px;
}
.ff-el-group.checkboxes,
.ff-el-group.checkboxes .ff-el-input--content {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ff-el-section-break h3 {
    font-size: 1.7em;
	margin-bottom:0px;
	padding: 5px 0;
}
.ff-el-section-break hr {
    display: none;
}.ff-el-section-break {
    margin-bottom: 3px !important;
}

/* Contact Page */

.contact-box .contact_page_form > h3 {
    display: none;
}
.contact-box .wp-block-embed iframe { width: 100%; height: 520px; margin-bottom: 30px; }
.contact-color-bg{margin-bottom: 15px;}
.contact_page_form form{text-align-last: left;}
/* pdf block */
.pdf-block{position: relative;padding-bottom: 35px;overflow: hidden;}
.pdf-block figure{position: relative;overflow: hidden;background: #dfc151}
.pdf-block img { display: block; transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;width: 100%; object-fit: cover; }
.pdf-block:hover img { transform: scale(1.1); opacity: .4;}
.pdf-block h3.wp-block-heading { padding-bottom: 0; }
.pdf-block a{font-size: 17px;}
.pdf-block a::before{content: ''; display: block;width: 100%;height: 100%;position: absolute;z-index: 9;top: 0;}

.pdf-block.stone-style:hover img { transform: scale(1); opacity: .3;}
.pdf-block.stone-style a {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    font-size: 55px;
    font-weight: bold;
    text-transform: uppercase;
    margin: auto;
    width: 100%;
    display: block;
    text-align: center;
    color: black;
    opacity: 0;
    padding-top: 15%;
    height: 100%;
}
.pdf-block.stone-style:hover a{opacity: 1;} 

ul.wp-block-list a {
    color: black;
    text-decoration: underline;
	transition: all 0.3s ease;
}
ul.wp-block-list a:hover {
    color: #dfc050;
    text-decoration: underline !important;
	font-weight:500;
}
/* Footer */
div#footer_box .social_widget {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
}
#footer_box{margin-top: 0;}
#footer h3.widget-title {
    color: white !important;
}

@media screen and (max-width: 750px){
	.home section#project.colors-shapes{padding-top:60px;}
    .contact-box .google-map embed {max-height: 300px;}
    .contact-box iframe { height: 320px; }
    iframe.youtube{min-height: 320px;}
    .stone-columns.is-layout-flex {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        margin: 15px 0;
      }
      .stone-columns.mobile-reverse > :nth-child(1) {
        order: 2; /* Moves first item to bottom */
      }
      .stone-columns.mobile-reverse > :nth-child(2) {
        order: 1; /* Moves second item to top */
      }
      /* .stone-columns.is-layout-flex { grid-template-columns: repeat(auto-fit, 1fr); }     */
	.google-map .map-img a{width: auto;}
}