/******************************************************************
Theme Name: Niagara RoofMasters
Theme URI: http://www.futureaccess.ca
Description:
Author: Future Access
Version: 1.0
License: GNU General Public License & MIT
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Sass
******************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;600&display=swap');
#panel-slr{
	border-top: 0px;
}
#inside-img{
	bottom: 50px!important;
}
.imgs_under_wrapper{
display: flex;
        align-items: center;
    padding-top: 2em;
    max-width: 620px;
    width: 100%;
	justify-content: space-between;
	
}
.imgs_under_first{
width: 107px;
height: 66px;
	
}
.imgs_under_second{
width: 125px;
height: 61px;
}
.imgs_under_third{
width: 84px;
height: 84px;
}
.imgs_under_fourth{
width: 120px;
height: 83px;

}
.img-multiply{mix-blend-mode: multiply;}
.imgs_under_wrapper div img{
	width:100%
}

.post-template-default.single.single-post h2, .post-template-default.single.single-post h3, .post-template-default.single.single-post h4, .post-template-default.single.single-post h5, .post-template-default.single.single-post h6 {
	text-transform: none;
}

/*popup block*/
.popup_form_wrapper{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}
.popup_form {
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 9999;
   background: #E5E5E5;
	display: flex;
align-items: start;
justify-content: space-between;	
width: 747px;
height: 540px;

background: #FFFFFF;
}
#gform_fields_4 li label{
	display:none;
}

.popup_form_left{
	position: absolute;
    top: 0;
    left: 0;

background: url(/wp-content/uploads/2022/04/popup_form_left_image.jpg);
transform: matrix(-1, 0, 0, 1, 0, 0);
	background-repeat: no-repeat;
	-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
width: 321px;
height: 99.4%;
left: 2px;
top: 2px;
}
.popup_form_right{
	    position: absolute;
    top: 0;
    right: 3em;
	display:flex;
	flex-direction:column;
	width: 335px;
height: 466px;
}
.popup_form_title{
font-family: 'Mulish',Muli,Helvetica,Roboto,Arial,sans-serif;
font-style: normal;
font-weight: 400;
font-size: 15px;
line-height: 46px;
/* or 307% */

text-align: center;
letter-spacing: 0.03em;
text-transform: uppercase;
    padding-top: 1em;
color: #A7A6A6;	
}
.popup_form_subtitle{
font-family: 'Mulish',Muli,Helvetica,Roboto,Arial,sans-serif;
font-style: normal;
font-weight: 600;
font-size: 34px;
line-height: 38px;
/* or 112% */
padding-bottom: 0.8em;
text-align: center;
letter-spacing: 0.03em;
text-transform: uppercase;

color: #413E3E;	
}
.popup_form_subtitle::after {
  content: "";
  position: absolute;
 border: 1px solid #FF6B02;
  left: 45%;
  bottom: 10.6em;
width: 40px;
height: 0px;
}

#gform_submit_button_4{
width: 100%;
    background: linear-gradient(90deg, #FF6B02 0%, #F68F1F 101.64%);
    border-radius: 3px;	
}
#input_4_5{
	height:50px;
}
.pfw_call_prapper{
	display:block;
	margin:0 auto;
	max-width:280px;
	padding:0.6em;
}
.pfw_call{
	display:flex;
	align-items:center;
	gap:0.5em;
}
.pfw_call_txt{
font-family: 'Mulish',Muli,Helvetica,Roboto,Arial,sans-serif;
font-style: normal;
font-weight: 400;
font-size: 15px;
line-height: 19px;
letter-spacing: 0.03em;
color: #413E3E;
}
.pfw_call_img{
	
}
.pfw_call_phone{

font-family: 'Mulish',Muli,Helvetica,Roboto,Arial,sans-serif;
font-style: normal;
font-weight: 400;
font-size: 20px;
line-height: 25px;
letter-spacing: 0.02em;

color: #413E3E;	
}
/* The Close Button */
.close_popup {
  color: #aaaaaa;
  float: right;
  font-size: 28px;

	position:absolute;
	z-index:30;
	    top: -10px;
    right: -40px;
}

.close_popup:hover,
.close_popup:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
#popup_icons{
	padding-top:0.2em;
}
#popup_icons div img {
	opacity: 0.35;
	width: 74%;
}
#input_4_4{
	margin-bottom:0;
}
/* popup form for screens that are 600px or less */
@media screen and (max-width: 600px) {
.popup_form{
	flex-wrap: wrap;
	width: 100%;
	height: 470px;
	}
	.popup_form_subtitle{    font-size: 32px;    line-height: 30px;}
	.popup_form_subtitle::after {    bottom: 11.3em;}
	.popup_form_left{
		display:none;
	}
.popup_form_right {
    right: 0;
    width: 100%;
    height: 466px;
	padding:0 1em;
}	
	.close_popup{    top: -9px;
    right: 10px;}	
}


.button { 
transition: all .5s ease-in-out !important; 

}

.button:focus, .button:hover { 
	background-color:#ec720e !important;
transform: scale(1.1); 
}
.social-menu li a{transition: all .5s ease-in-out !important; }
.social-menu li a:hover{
background-color:#ec720e !important;	
	transform: scale(1.1); 
}
#header #nav .menu .sub-menu li a:hover {
background-color:#ec720e !important;		
}

.page-header { background: url(/wp-content/uploads/2022/04/header_orange.png) !important;}
/*services  homepage*/
.new-service-design-wrapper{
justify-content: space-around;
}
@media print, screen and (min-width: 40em){
.new-service-design-wrapper div{
	max-width:32%;
}	
}

.new-service-cell{
background: #FFFFFF;
border: 1px solid #E5E5E5;	
}
.new-service-cell:nth-child(2) {
background: #FFFFFF;
border: 1px solid #FF6B02;
box-shadow: 0px 8px 24px 2px rgba(255, 107, 2, 0.2);
}
.services article a {
   padding: 0 2em!important;
    background-color: transparent!important;
   /* display: block;*/
}
.new-service-design{
	display:flex;
	flex-direction:row;
}

.new-service-design p {
	max-width:300px;
	text-align: left;
}

.fit-small-screen{max-width:98vw}

/*fix block images*/
.flex-section.image-content img {
  /*  height: 300px;*/
    height: auto;

}

/* request quote home */
.request-quote.grid-container {max-width: 85rem}
.request-quote { background-color: #F7F7F7; }
.request-quote .gfield_label { display: none; }
.request-quote-form {
	background-color: #fff;
	padding: 30px;
	position: relative;
	top: -4.7em;
}
.hero { z-index: -1; }
.request-quote-form .gform_fields {
        display: grid;
        grid-template:
        "title name  email     details footer" 1fr
        "title phone intrested details footer" 1fr
        / 1fr 1fr 1fr 1fr 1fr;
        gap: 1rem;
}
.page-id-1123 .bg-city::before {opacity: .7 !important}
.page-id-1123 .page-header.content_header {display: none}
.request-quote-form .gform_body li {
	margin-bottom: 0;
}
.request-quote-form input, .request-quote-form select, .request-quote-form textarea { margin-bottom: 0; color: #a7a6a6; }
.request-quote-block-title { grid-area: title; }
.request-quote-block-footer { display: none; }
.request-quote-block-name { grid-area: name; }
.request-quote-block-phone { grid-area: phone; align-self: end; }
.request-quote-block-email { grid-area: email; }
.request-quote-block-intrested { grid-area: intrested; align-self: end; }
.request-quote-block-details { grid-area: details; }
.request-quote-block-submit { grid-area: footer; }

/* Textarea full height magic */
.request-quote-block-details, .request-quote-block-details .ginput_container_textarea {
	display: flex;
	flex-direction: column;
}
.request-quote-block-details .ginput_container_textarea, .request-quote-block-details .ginput_container_textarea > textarea {
	flex-grow: 1;
	resize: none;
}
.fp-form-title {
    font-family: 'Mulish',Muli,Helvetica,Roboto,Arial,sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 34px;
    line-height: 38px;
    padding-bottom: 0.3em;
    text-align: center;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #413E3E;
    position: relative;
}
.fp-form-title::after {
    content: "";
    position: absolute;
    border: 1px solid #FF6B02;
    left: 40%;
    bottom: 0;
    width: 40px;
    height: 0px;
}
.fp-form-subtitle {
	font-size: 15px;
    line-height: 15px;
    color: #A7A6A6;
    margin-top: 15px;
}
.request-quote-phone-wrapper {
	display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.pfw_call_phone.request_quote_phone_icon {font-size: 24px}
.fp-callus-txt {
	font-size: 20px;
	color: #A7A6A6;
	margin-top: 10px
}
.request-quote .logos {
	margin-top: -3em;
	padding: 0 0 30px 0;
	gap: 1rem;
}
.request-quote .logos img {
	padding: 0 10px;
	max-height: 64px;
}

.gform_wrapper div.validation_error, .gform_wrapper .validation_message {display: none;}

.gform_wrapper li.gfield_error input[type="email"],
.gform_wrapper li.gfield_error input[type="number"],
.gform_wrapper li.gfield_error input[type="password"],
.gform_wrapper li.gfield_error input[type="tel"],
.gform_wrapper li.gfield_error input[type="text"],
.gform_wrapper li.gfield_error input[type="url"],
.gform_wrapper li.gfield_error textarea {
	border: 1px solid #f00;
}
@media (max-width: 1024px) {
	.request-quote-form .gform_body li {margin-bottom: 10px}
	.request-quote-form .gform_fields {display: block}
	.request-quote-phone-wrapper {justify-content: center}
	.request-quote-phone-wrapper img {margin-right: 10px}
}
@media (max-width: 540px) {
	.page-header{padding: 220px 0 15px !important;}
}

/*citty pages css*/
body .other-services-h1{
	/*padding: 0.5em 0;*/
	font-family: 'Mulish';
	font-style: normal;
	font-weight: 700;
	font-size: 34px;
	line-height: 44px;
	padding-bottom: 20px;
	text-align: center;
	text-transform: uppercase;
	color: #FFFFFF;
}


.services-h1-light{font-weight:400 !important;}

.services-h1::before{
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 50px;
    height: 3px;
    margin-left: -30px;
    background-color: #ec720e;
}
#citybg{
	padding: 144px 0 ;	
	//background: no-repeat 10% ;	
}
.bg-city::before{
opacity: .3 !important;	
}
/*changes for sticky menu*/
@media only screen and (min-width: 1260px) {
	.post-container {padding-top: 10vh}
#content{
    top: 17vh;
    position: relative;	
}
.logo-tray{margin-top:17vh;	}
#header{
		z-index: 9999;
    	position: fixed;
	width:100%;
	}
}
#header .rm-logo-triangle.wow.fadeInDown {
	clip-path: polygon(0% 0, 100% 0%, 100% 100%, 0 0%);
}

/*new css*/
.pt-1{
	padding-top:1em;
}
.page-id-714 .page-header, .page-id-876 .page-header, .page-id-890 .page-header {display:none;}

#footer .phone span {width: 80px !important}

#footer .city-location a {display: block;}

#tidio-chat-iframe {height: 112px}

.mobile-sticky-button {display: none}
@media screen and (max-width: 74.99875em) {
	.popup_form_right.request-quote-mobile {height: auto}
	.request-quote-mobile-popup-height {height: 540px;}
	.fp-form-title {font-size: 28px}
	.mobile-sticky-button {display: block;position: fixed;bottom: 0}
	
	.mobile-sticky-button a {font-size: 16px;; width: 100%}
}
.services .cell.small-12.medium-5.large-4 {
	position: relative;
    z-index: 2;
}
.services #panel-slr {
	position: relative;
    z-index: 1;
}
p.sub-title-p.services-h1-light {
	font-size: 20px;
    line-height: 28px;
    margin-top: 20px;
	text-transform: uppercase;
}
@media(max-width: 780px) {
	#citybg.hero.bg-image.bg-city {
		background-size: cover;
	}
	.hero.bg-image.bg-city .grid-container {
		padding-top: 130px;
		
	}
	p.sub-title-p.services-h1-light {
		font-size: 23px;
	}
	body #mobile-header .header-ctas a {
		font-size: 16px;
	}
}
@media(max-width: 1199px) and (min-width: 781px) {
	#mobile-header {
		margin-top: -56px;
	}
	#header {
		margin-top: 56px;
	}
}
@media(min-width: 640px) and (max-width: 1199px) {
	.wow.new-service-design.animated {
		display: flex;
		flex-direction: column;
	}
}