/*
Theme Name: Majestic Exteriors
Author: Colossus Media Group
Description: Majestic Exteriors Child Theme
Version: 1.0
Template: bootstrap-component-blox
*/

:root {
    --me-font-header: ff-real-headline-pro, sans-serif;
    --me-font-body: ff-real-text-pro, sans-serif;
    --me-primary: #00458C;
    --me-secondary: #fcb335;
    
}

html,
body {
    overflow-x: hidden;
    font-family: var(--me-font-body);
}

a {
    text-decoration: none;
    color: black;
}

h1, h2, h3, h4, h5 {
    font-family: var(--me-font-header)
}

/* ===== Text Color ===== */

.me-text-primary {
    color: var(--me-primary);
}

.me-text-secondary {
    color: var(--me-secondary);
}

/* ===== Background Color ===== */

.me-bg-primary {
    background: var(--me-primary);
}

.me-bg-secondary {
    background: var(--me-secondary);
}

.me-brick-pattern {
	background: url(/wp-content/uploads/2023/07/brick.jpg);
	background-repeat: repeat;
	background-size: 150px;
}

/* ===== Custome Code =====*/

.z-front{
    z-index: 99;
}

.z-back {
    z-index:1;
}

.object-fit {
    height: 300px;
    object-fit: cover;
}

.fs-50{
	font-size: 50px !important;
}

.fs-70{
	font-size: 70px;
}

.fs-40{
}

.fs-35{
	font-size: 35px !important;
}

.py-7{
	padding-top: 8rem!important;
    padding-bottom: 8rem!important;
}

.social-icons i {
	display: inline-flex;
	height: 34px;
	width: 34px;
	background: var(--me-primary);
	align-items: center;
	justify-content: center;
	border-radius: 50px;
}

.social-icons i:hover {
	color: var(--me-secondary);
}

#me-breadcrumbs a {
 	color: var(--me-secondary);
}

.row-cols-lg-10>* {
    flex: 0 0 auto;
    width: 10%;
}

html .page-template-review-preview,
.page-template-review-preview {
	overflow: initial!important;
}

/* ===== Before and after ===== */

#me-before-after-gallery img {
	transition: all .3s
}

#me-before-after-gallery img:hover {
	opacity: .8
}

/* ===== Our Certifications ===== */

@media (max-width: 991px) {
	.page-template-certifications #certifications-header h3 {
		font-size: 40px !important;
	}
}

/* ===== Button Color ===== */

.btn {
	padding: 10px 20px;
	text-transform: uppercase;
	box-shadow: none;
	border-radius: 4px;
	font-weight: 600;
}

.me-btn-primary {
	background: var(--me-secondary);
	border: 3px solid var(--me-secondary);
}

.me-btn-primary:hover {
	background: var(--me-secondary);
	border: 3px solid var(--me-secondary);
	opacity: .8
}

.me-btn-secondary {
    border: 3px solid white;
    background: var(--me-primary) !important;
    color: white !important;
}

.me-btn-secondary:hover {
    background: white !important;
    color: var(--me-primary) !important;
    border: 3px solid white;
}

.me-btn-blue {
	color: white !important;
	background: var(--me-primary);
	border: 3px solid var(--me-primary);
	font-family: var(--me-font-header)!important;
}

.me-btn-blue:hover {
	color: var(--me-primary) !important;
	background: white;
	border: 3px solid var(--me-primary);
	font-family: var(--me-font-header)!important;
}

/* ===== Blog ===== */

#blog-img .object-fit {
	height: 250px;
	object-fit: cover
}

.single-post {
	background: url(/wp-content/uploads/2022/08/brickwall.webp);
    background-repeat: repeat;
}

.single-post .entry-content {
	max-width: 900px;
	padding: 40px;
	margin-left: auto;
	margin-right: auto;
	background: #fff;
	box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}

.single-post .entry-content a {
	color: var(--me-primary);
	font-weight: 500;
}

/* ===== Team ===== */

#me-team-archive .card {
	text-align: center;
	position: relative;
	overflow: hidden;
	-webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

#me-team-archive .card:before {
	content: "";
	background: var(--me-primary);
	width: calc(100% - 60px);
	height: calc(100% - 60px);
	opacity: 0;
	position: absolute;
	top: 30px;
	left: 30px;
	z-index: 1;
	-webkit-transition: all 600ms ease;
	-o-transition: all 600ms ease;
	transition: all 600ms ease;
}

#me-team-archive .card:hover:before {
	opacity: 0.7;
}

#me-team-archive .card img {
	width: 100%;
	height: auto;
	transform-origin: top center;
	-webkit-transform: scale(1.25);
	    -ms-transform: scale(1.25);
	        transform: scale(1.25);
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

#me-team-archive .card:hover img {
	-webkit-transform: scale(1);
	    -ms-transform: scale(1);
	        transform: scale(1);
	-webkit-filter: grayscale(50%) hue-rotate(180deg);
	        filter: grayscale(50%) hue-rotate(180deg);
}

#me-team-archive .card .card-body {
	width: 100%;
	-webkit-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	        transform: translateY(-50%);
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 2;
}

#me-team-archive .card h3 {
	opacity: 0;
	-webkit-transform: translateY(100px);
	    -ms-transform: translateY(100px);
	        transform: translateY(100px);
	-webkit-transition: all 0.6s;
	-o-transition: all 0.6s;
	transition: all 0.6s;
}

#me-team-archive .card span {
	font-size: 14px;
	font-style: italic;
	margin-bottom: 10px;
	opacity: 0;
	-webkit-transform: translateY(50px);
	    -ms-transform: translateY(50px);
	        transform: translateY(50px);
	display: block;
	-webkit-transition: all 0.6s;
	-o-transition: all 0.6s;
	transition: all 0.6s;
}

#me-team-archive .card:hover h3, 
#me-team-archive .card:hover span {
	opacity: 1;
	-webkit-transform: translate(0);
	    -ms-transform: translate(0);
	        transform: translate(0);
}

/* ===== Roofing Company Page ===== */

.page-template-roof-service-2 #home-cta {
	display: none !important;
}

/* ===== Services ===== */

#me-new-gallery img {
	transition: all .3s;
}

#me-new-gallery img:hover {
	opacity: 0.8
}

/* ===== Accordian ===== */

.accordion-item {
    border: 0px;
	margin-bottom: 1.5rem !important;	
}

.accordion{
	--bs-accordion-border-radius: 0px;
    --bs-accordion-inner-border-radius: 0px;
	--bs-accordion-border-color: none;
}

.accordion-button:not(.collapsed) {
    color: white;
    background-color: var(--me-secondary);
    box-shadow: inset 0calc(var(--bs-accordion-border-width) * -1) 0 var(--bs-accordion-border-color);
}

.accordion-button {
    color: white;
    background-color: var(--me-primary);
}
	
.accordion-button:not(.collapsed)::after {
    background-color: var(--me-primary);
    border-radius: 50%;
    padding: 9px 9px;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button::after {
    background-color: white;
    border-radius: 50%;
	padding: 9px 9px;
}

/* ===== Services page ===== */

/* Parent Container */

.content_img{
	position: relative;
 	float: left;
}

/* Child Text Container */
.content_img div {
 	position: absolute;
 	bottom: 0;
 	right: 0;
	background: black;
	color: white;
 	font-family: sans-serif;
	opacity: 0;
 	visibility: hidden;
	 -webkit-transition: visibility 0s, opacity 0.5s linear; 
 	transition: visibility 0s, opacity 0.5s linear;
}

/* Hover on Parent Container */
.content_img:hover{
 	cursor: pointer;
}

.content_img:hover div{
	width: 100%;
 	height: 100%;
 	padding: 170px 15px;
 	visibility: visible;
 	opacity: 0.7; 
}

/* ===== Main Navbar ===== */

#navbar-brand-logo img { 
    width: 250px; 
}

.navbar-nav .nav-link {
    color: black !important;
    font-weight: bold;
    padding-bottom: 3px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.navbar-nav .nav-link:hover {
    color: var(--me-primary) !important;
    font-weight: bold;
}

.navbar-btn-blue .nav-link {
	color: white !important;
	background: var(--me-primary);
	border: 3px solid var(--me-primary);
	font-family: var(--me-font-header)!important;
	margin-left: 10px;
	margin-right: 10px;
	padding-bottom: 8px!important;
	border-radius: 4px;
}

.navbar-btn-blue .nav-link:hover {
	color: var(--me-primary) !important;
	background: white;
	border: 3px solid var(--me-primary);
	font-family: var(--me-font-header)!important;
}

.navbar-btn-secondary .nav-link {
	color: #000!important;
	background: var(--me-secondary);
	border: 3px solid var(--me-secondary);
	font-family: var(--me-font-header)!important;
	padding-bottom: 8px!important;
	border-radius: 4px;
}

.navbar-btn-secondary .nav-link:hover {
	color: #000!important;
	background: white;
	border: 3px solid var(--me-secondary);
	font-family: var(--me-font-header)!important;
}

/* ===== Toggler ===== */

#toggler:focus, 
#toggler:active {
    outline: 0;
}

#toggler span {
    width: 30px;
    height: 3px;
    display: block;
    background-color: black;
    margin: 7px 0;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}

#toggler span:nth-child(1) {
    -webkit-transform: translatey(10px) rotate(-45deg);
        -ms-transform: translatey(10px) rotate(-45deg);
            transform: translatey(10px) rotate(-45deg);
}
#toggler span:nth-child(2) {
    opacity: 1;
    width: 0;
}
#toggler span:nth-child(3) {
    -webkit-transform: translatey(-10px) rotate(45deg);
        -ms-transform: translatey(-10px) rotate(45deg);
            transform: translatey(-10px) rotate(45deg);  
}

#toggler.collapsed span {
    -webkit-transform: translatey(0) rotate(0deg);
        -ms-transform: translatey(0) rotate(0deg);
            transform: translatey(0) rotate(0deg);
    opacity: 1;
    width: 30px;   
}

/* ===== Services Page ===== */

article#post-177 #common-subheader {
    display: none;
}

article#post-180 #common-subheader {
    display: none;
}

article#post-192 #common-subheader {
    display: none;
}

article#post-193 #common-subheader {
    display: none;
}

article#post-194 #common-subheader {
    display: none;
}

article#post-195 #common-subheader {
    display: none;
}

article#post-196 #common-subheader {
    display: none;
}
article#post-315 #common-subheader {
    display: none;
}
article#post-368 #common-subheader {
    display: none;
}

/* ===== Projects Page ===== */

.modula-gallery .modula-item { 
	background: black !important; 
}

#projects-gallery .nav-link:hover{
    background: var(--me-secondary) !important;
    color: white !important;
	border: 3px solid white;
	border: 3px solid var(--me-secondary) !important;
}

#projects-gallery .navbar-nav .nav-link {   
    padding-left: 10px !important;
	padding-right: 10px !important;
	margin-left: 5px !important;
	color: white !important;
    background: black;
	border: 3px solid black;
	text-shadow: 1px 1px 2px #474747;
}
  
#projects-gallery .navbar-nav {
    flex-direction: row;
}

/* ===== Form ===== */

.has-form.form-dark label {
	color: #fff!important;
}

.has-form.form-dark .wpforms-submit-container {
	padding-top: 0!important;
}

.has-form .wpforms-container {
	margin-bottom: 0!important;
}

.has-form .wpforms-container-full {
	margin-top: 0!important;
}

.has-form .wpforms-required-label {
    color: var(--me-secondary) !important;
}

.has-form .wpforms-form textarea {
    background: #EAEAE8 !important;
	border: 0px solid #ccc !important;
}
    
.has-form .wpforms-form input {
     background: #EAEAE8 !important;
	 border: 0px solid #ccc !important;
}

.has-form .wpforms-field-select-style-classic select {
   	background: #EAEAE8 !important;
	border: 0px solid #ccc !important;
}
    
.has-form .wpforms-submit {
    border: 3px solid white !important;
    padding: 5px 15px !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    font-size: 15px !important;
    color: white !important;
    background-color: var(--me-primary) !important;
    font-family: var(--me-font-header) !important;
    margin-bottom: 0px !important;
}

.has-form .wpforms-form button:hover {
     background-color: var(--me-secondary) !important; 
}
    
@media (max-width: 992px) {
	
	#home-brands .w-75{
		width: 50% !important;
	}
	
	#home-brands .w-100{
		width: 75% !important;
	}
	
	#home-header{
		height: 250px !important;
	}
	
	#home-call {
		height: 2100px !important;
	}
	
	#home-mission .row.position-relative {
    	position: revert !important;
	}
	
	#home-mission {
		height: auto !important;
	}
	
	.fs-70{
		font-size: 60px;
	}
	
	.fs-40{
		font-size: 30px;
	}

	.fs-35{
		font-size: 25px !important;
	}

	#services-header {
		height: 612px !important ;
	}
	
	.row-cols-lg-10>* {
    	flex: 0 0 auto;
    	width: 20%;
	}
	
	.navbar-btn-blue .nav-link,
	.navbar-btn-secondary .nav-link{
		margin-left: 0px;
		margin-right: 0px;
	}
	
	#menu-item-377 {
    	margin-top: 10px;
	}	
}

@media (max-width: 768px) {}

@media (max-width: 576px) {}