/*!
Theme Name: totalroofsolution
Theme URI: http://pherona.com/
Author: pherona.com
Author URI: http://pherona.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pherona
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/


@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

html,
body {
    font-weight: normal;
    font-size: 16px;
    color: #111111;  
    background-color: #fff;
    font-family:var(--primary-font);
}


a {
    color: #13161A;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6{
    font-family:var(--primary-font);
}

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

img {
    max-width: 100%;
    height: auto;
}

input:focus,
button:focus {
    box-shadow: none;
    outline: none;
}

:root {
    --primary-color: #E30000;
   --primary-font: 'Jost', sans-serif;
}

.btn {
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    border-radius:0;
    padding: 20px 35px;
    line-height: 26px;
    text-transform: uppercase;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn strong {
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.btn:hover {
    color: var(--primary-color);
    background-color: #fff;
    border-color: var(--primary-color);
}

.title {
    margin-bottom: 40px;
    max-width: 800px;
    color: #111;
}

.title h1 {
    font-size: 46px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
}

.title-center {
    text-align: center;
}

.title-center .title {
    max-width: 1000px;
    display: inline-block;
}

.bg-color {
    background-color: #F0F0F0;
}

section {
    padding: 100px 0;
}

input, 
select, 
textarea {
    color: #9F9C9A !important;
    height: 55px;
    width: 100%;
    padding: 6px 20px;
    border-radius: 4px;
    border: 1px solid #C4C4C4;
    margin-bottom:10px;
}

textarea {
    resize: none;
}

input[type="radio"],
input[type="checkbox"] {
    width: inherit;
    height: initial;
}

input:focus, 
textarea:focus, 
select:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color:  var(--primary-color) !important;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
select::-webkit-input-placeholder {
    color: #444444;    
}

input::-moz-placeholder,
textarea::-moz-placeholder,
select::-moz-placeholder {
    color: #444444;    
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder,
select:-ms-input-placeholder {
    color: #444444;    
}

input:-moz-placeholder,
textarea:-moz-placeholder,
select:-moz-placeholder {
    color: #444444;    
}


/*header*/

.header {
    position: relative;
    z-index: 9999999;
    background-color: #fff;
}

.header .btn {
    min-width: 250px;
}

.main-menu {
    background-color: #fff;
}

.menu-content {
    padding-left: 30px;
}

.is-sticky .main-menu {
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
}

.nav {
    padding-left: 0;
    padding-right: 20px;
}

.header .nav ul {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    flex-direction: initial;
}

.nav ul li {
    font-weight: 600;
    font-size: 18px;
    position: relative;
    margin-right: 30px;
}

.nav ul li:last-child {
    margin-right: 0;
}

.nav ul li a {
    padding:0;
    color: #111;
    display: block;
    text-transform: capitalize;
}

.nav ul li a:hover, 
.nav ul li.active>a {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.navbar-toggler {
    padding: 0;
    height: initial;
    line-height: initial;
}

.navbar-toggler-icon {
    width: initial;
    height: initial;
    color: #0A0A0A;
    border-radius: 4px;
    padding: 4px 8px;
    border: 1px solid #0A0A0A;
}

.navbar-toggler-icon:hover {
    color: var(--primary-color);
    border-color:var(--primary-color);
}

.navbar-toggle {
    background: 0 0!important;
    border: none!important;
    float: left!important;
    cursor: pointer;
    padding-left: 0!important;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 25px;
    height: 2px;
    border-radius: 1px;
    background:#151515 !important;
    margin-bottom: 4px!important;
}

.m-phone a {
    width: 30px;
    min-width: 30px;
    height: 30px;
    line-height: 30px;
    color: #fff;
    display: block;
    float: right;
    position: relative;
    z-index: 999;
    text-align: center;
    border-radius: 100%;
    background-color: var(--primary-color);
}

.main-menu .container-fluid {
    overflow: hidden;
}

/*hero-section*/

.hero-section {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-section:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(8 3 50 / 60%);
}

p strong {
    font-weight: bold;
    font-size: 18px;
    color: var(--primary-color);
}

.hero-text p strong {
    font-size: 28px;
}

.hero-text {
    color: #fff;
}

.hero-text h1 {
    color: #fff;    
    font-size: 68px;
    font-weight: 700;
    margin-bottom: 30px;
}

.hero-text p {
    font-size: 17px;
}

.hero-form {
    max-width: 500px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 24px rgb(0 0 0 / 8%);
    -moz-box-shadow: 0 0 24px rgb(0 0 0 / 8%);
    -ms-box-shadow: 0 0 24px rgb(0 0 0 / 8%);
    -o-box-shadow: 0 0 24px rgb(0 0 0 / 8%);
    box-shadow: 0 0 24px rgb(0 0 0 / 8%);
}

.hero-form p {
    color: #766F6B;
    font-size: 18px;
	margin-bottom:0;
}

.hero-form h2 {
    font-size: 36px;
    font-weight: bold;
    color: #000;
}

.hero-form form {
    margin-top: 20px;
}

.hero-form textarea {
    height: 120px;
    padding-top: 15px;
}

.hero-form button.btn {
    padding: 15px 20px;
}

.hero-form .btn {
    width: 100%;
}

.hero-form h4{
    margin-top: 10px;
    margin-bottom: 15px;
    color: #766F6B;
}

/*about-section*/

.about-thumb {
    position: relative;
    padding-left: 20px;
    padding-bottom: 20px;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: 30px;
    font-size: 20px;
    font-weight:600;
    width: 270px;
    z-index: 1;
}

.overlay:before{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    border-bottom: 350px solid red;
    border-right: 380px solid transparent;    
}

.overlay h4 {
    font-size: 64px;
    font-weight: 600;
}

.about-text {
    margin-left: 80px;
    font-size: 18px;
}

.about-text h3 {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--primary-color);
}

/*roofing-section*/

.roofing-list {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.roofing-list li {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;    
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;    
}

.roofing-list li .roof {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;  
    margin-bottom: 30px;  
}

.roofing-list .thumb img {
    width: 100%;
}

.roofing-list li:nth-child(2) .thumb,
.roofing-list li:nth-child(5) .thumb, 
.roofing-list li:nth-child(8) .thumb {
    order: 6;
}

.roof {
    background-color: #fff;
}

.roof-text {
    padding: 20px 20px 10px;
}

.roof-text h2 {
    font-size: 18px;
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
}

.roof-text .icon {
    margin-bottom: 20px;
}


.choose-text {
    font-size: 18px;
}

.choose-text h3 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 40px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.choose-thumb {
    position: relative;
    display: flex;
}

.choose-thumb .thumb {
    border-radius: 8px;
    overflow: hidden;
}

.choose-thumb .thumb-1 {
    margin-top: 180px;
    margin-left: -180px;
    position: relative;
    z-index: 999;
}

/*solution-section*/

.solution-thumb {
  position: relative;
  padding-left: 20px;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.solution-thumb img {
    width: 100%;
}

.solution-list ul {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
}

.solution-list ul li {
    position: relative;
    width: 100%;
    padding-right: 5px;
    padding-left: 5px;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;    
}

.solution-list .solution {
    display: flex;
    min-height: 125px;
    margin-bottom: 10px;
    background-color: #fff;
}

.solution .icon {
    padding:15px 15px 15px 25px;
    min-width: 80px;
    text-align: center;
    margin-right: 15px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--primary-color);
}

.solution .text {
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    align-self: center;
    text-transform: uppercase;
}

.solution .text p:last-child {
    margin-bottom: 0;
}

.solution .icon:after {
    position: absolute;
    content: "";
    top: 0;
    left: 100%;
    width: 0;
    height: 0;
    border-top: 125px solid var(--primary-color);
    border-right: 20px solid transparent;
}

/*testimonial-section*/

.testimonial-section {
    text-align: center;
}

.title-1 {
    text-align: center;
    margin-bottom: 50px;
}

.testimonial-section ul {
    display: flex;
    color: var(--primary-color);
    margin-bottom: 10px;
    justify-content: center;
}

.testimonial-section ul li {
    margin-right: 5px;
    font-size: 20px;
}

.testimonial-section ul li:last-child {
    margin-right: 0;
}

.testimonial h2 {
    font-size: 30px;
    margin-bottom: 40px;
    font-style: italic;
}

.testimonial h6 {
    font-size: 18px;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.testimonial p img {
    display: inline-block;
    margin-right: 10px;
}

.testimonial p a {
    font-weight: bold;
}

/*cta-section*/

.cta-section {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;    
}

.cta-section:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(8 3 50 / 80%);
}

.cta-text {
    position: relative;
    z-index: 999;
    color: #fff;
}

.cta-text h1 {
    font-size: 34px;
    margin-bottom: 30px;
}

.cta-text p strong {
    color: #fff;
}

.cta-section .btn {
    padding-left: 50px;
    padding-right: 50px;
}

.cta-section .button {
    display: flex;
    justify-content: end;
}

.footer-section {
    font-size: 18px;
    font-weight: 600;
    padding: 15px 30px;
}

.footer-section p {
    text-align: right;
    margin-bottom: 0;
}

.footer-section p a {
    text-decoration: underline;
    color: var(--primary-color);
}

.footer-section p a:hover {
    color: #000;
    text-decoration: none;
}

a, button {
    -webkit-transition: all 500ms;
    -moz-transition: all 500ms;
    -ms-transition: all 500ms;
    -o-transition: all 500ms;
    transition: all 500ms;
}


a.candc {
    background: url(images/candc.png) no-repeat left center;
    margin-left: 0;
    padding-left: 25px;
    display: inline-block;
    color: #fff;
}





/* md */
@media (min-width: 1400px){

	.container	{
		max-width:1320px;
	}
}

/* md */
@media (min-width: 1200px) and (max-width: 1399px) {

	.hero-text h1 {
		font-size: 60px;
	}
	.title h1 {
		font-size: 42px;
	}
	.header .btn {
		padding-left: 15px;
		padding-right: 15px;
		font-size: 15px;
		min-width: 215px;
	}

	.solution .text {
		font-size: 15px;
	}
	.nav ul li {
		font-size: 16px;
		margin-right: 15px;
	}
}

/* md */
@media (min-width: 992px) and (max-width: 1199px) {


	.header .btn {
		padding-left: 15px;
		padding-right: 15px;
		font-size: 15px;
		min-width: 210px;
	}
	.nav {
		margin-right: 0;
		padding-right: 10px;
	}
	.nav ul li {
		font-size: 16px;
		margin-right: 10px;
	}
	.hero-text h1 {
		font-size: 46px;
	}
	.title h1 {
		font-size: 38px;
	}
	.testimonial h2 {
		font-size: 20px;
		line-height: 28px;
	}

	.about-text {
		margin-left: 0;
	}
	.roof-text {
		min-height: 275px;
	}
	.solution-list ul li {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;		
	}
	.header .btn {
		font-size: 12px;
		min-width: 180px;
	}
	.header .btn strong {
		font-size: 20px;
	}
}

/* md */
@media (max-width: 991px) {

	.hero-form {
		max-width: 100%;
	}
	.hero-text h1 {
		font-size: 48px;
	}
	
	.title h1 {
		font-size: 36px;
	}
	.cta-text h1 {
		font-size: 36px;
	}
	.menu-content .button {
		display: none;
	}
	.nav {
		padding-right: 0;
	}
	.nav ul li {
		font-size: 15px;
		margin-right: 10px;
	}
	.menu-content, 
	.footer-section {
		padding-left: 0;
		padding-right: 0;
	}
	.menu-content {
		padding: 10px 0;
	}
	.about-text {
		margin-left: 0;
		margin-top: 50px;
	}
	.cta-section .button {
		display: block;
		margin-top: 30px;
	}
	.choose-thumb {
		margin-bottom: 30px;
	}
	.testimonial h2 {
		font-size: 26px;
	}
}

/* sm */
@media (min-width: 768px) and (max-width: 991px) {
		
	.m-phone {
		position: absolute;
		top: 50%;
		right: 0;
		margin-top: -15px;
	}	
	#main-nav {
		margin-right: 60px;
	}

}

/* sm */
@media (max-width: 767px) {

	.header .nav ul {
		display: block;
		width: 100%;
	}
	.nav ul li {
		margin-right: 0;
		margin-bottom: 10px;
	}
	.hero-text h1 {
		font-size: 40px;
	}
	.hero-form h2 {
		font-size: 30px;
	}
	.title h1 {
		font-size: 30px;
	}
	.testimonial h2{
		font-size: 18px;
		line-height: 24px;
	}
	.cta-text h1 {
		font-size: 30px;
	}
	.footer-section {
		text-align: center;
	}
	.footer-section p {
		text-align: center;
	}
	.footer-logo {
		margin-bottom: 20px;
	}
	.main-menu .container-fluid {
		padding-right: 15px !important;
	}
	.logo {
		text-align: center;
	}
	.roofing-list li {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}	
	.roofing-list li .roof {
		display: block;
	}
	.solution-list ul li {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;		
	}
	.choose-text h3 {
		font-size: 16px;
	}
}

/* xs Portrait */
@media (max-width: 575px) {

}



/* xs Portrait */
@media (max-width: 475px) {
	
	.hero-form h2 {
		font-size: 26px;
	}
	.hero-text h1 {
		font-size: 32px;
	}
	.hero-form {
		padding: 20px;
	}
	.title h1 {
		font-size: 26px;
	}
	.hero-text p strong {
		font-size: 22px;
	}

	.overlay::before {
		border-bottom: 230px solid red;
		border-right: 260px solid transparent;
	}
	.overlay {
		padding: 10px;
		font-size: 16px;
		line-height: 20px;
		max-width: 185px;
	}
	.overlay h4 {
		font-size: 30px;
	}
	.cta-text h1 {
	    font-size: 28px;
	}
	.title {
		margin-bottom: 20px;
	}	

}

.gform-theme--foundation .gfield textarea.large {
	min-block-size:130px !important;
}

label.gform-field-label.gform-field-label--type-sub, label.gform-field-label.gform-field-label--type-sub {display:none !important;}


.gform_button.button {
    color: #fff !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    border-radius:0 !important;
    padding: 20px 35px !important;
    line-height: 26px !important;
    text-transform: uppercase !important;
    background-color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
	width:100% !important;
}

.gform_button.button:hover {
    color: var(--primary-color) !important;
    background-color: #fff !important;
    border-color: var(--primary-color) !important;
}


.wpcf7-not-valid-tip { text-align:left; font-size:13px !important;}


section#shadow-host-companion {
	display:none !important;
}


.grecaptcha-badge {
	visibility:hidden !important;
	opacity:0;
}
