/*

Theme Name:   Generate Child

Theme URI: https://generatepress.com

Author: Tom Usborne

Author URI: https://tomusborne.com

Description: GeneratePress is a lightweight WordPress theme built with a focus on speed and usability. Performance is important to us, which is why a fresh GeneratePress install adds less than 15kb (gzipped) to your page size. We take full advantage of the new block editor (Gutenberg), which gives you more control over creating your content. If you use page builders, GeneratePress is the right theme for you. It is completely compatible with all major page builders, including Beaver Builder and Elementor. Thanks to our emphasis on WordPress coding standards, we can boast full compatibility with all well-coded plugins, including WooCommerce. GeneratePress is fully responsive, uses valid HTML/CSS and is translated into over 25 languages by our amazing community of users. A few of our many features include microdata integration, 9 widget areas, 5 navigation locations, 5 sidebar layouts, dropdown menus (click or hover) and navigation color presets. Learn more and check out our powerful premium version at https://generatepress.com

Version: 2.4.2

Template:     generatepress

Version:      1.0.0

License:      GNU General Public License v2 or later

License URI:  http://www.gnu.org/licenses/gpl-2.0.html

Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready

Text Domain:  roofcosts

*/



#content .caldera-grid {

	background:#1e73be;

	border-radius:8px;;

	padding:20px;

	box-sizing:border-box;

	color:#FFF;

}



#content .caldera-grid .alert-success {

    background:none;

    font-size:24px;

    text-align:center;

    color:#FFF;

}



#content .caldera-grid .field_required {

	color:#FFF !important;

}



#content .caldera-grid .btn-default,

#content .caldera-grid .btn-default:focus,

#content .caldera-grid .btn-default:active {

    border: 1px solid #00c586;

    border-radius:8px;

    background: #00d192;

    padding:15px 40px;

    font-weight:bold;

    color:#FFF;

}



#content .caldera-grid .btn-previous,

#content .caldera-grid .btn-previous:focus,

#content .caldera-grid .btn-previous:active {

    border: 1px solid #fff;

    border-radius:8px;

    background: #fff;

    padding:15px 40px;

    font-weight:bold;

    color:#00d192;

    margin-right:15px;

}



#content .caldera-grid .form-control {

	border:1px solid #ebebeb;

	border-radius:8px;;

	box-shadow: none;

	height:auto;

	padding:12px;

}



#content .caldera-grid #CF5ea0920f7c142_1-row-1,

#content .caldera-grid #CF5ea0920f7c142_1-row-2,

#content .caldera-grid .last_row {

	display:block;

}



#content .caldera-grid .checkbox label,

#content .caldera-grid .radio label {

	padding:0;

}



#content .caldera-grid .radio {

	padding:0 10px;

	box-sizing:border-box;

	text-align:center;

	width:25%;

	margin:0 0 20px 0;

}



@media screen and (max-width:1000px) {

	#content .caldera-grid .radio {

		width:50%;

	}

}



@media screen and (max-width:560px) {

	#content .caldera-grid .radio {

		width:100%;

	}

}



#content .caldera-grid .radio label {

	background:rgba(255,255,255,0.3);

	border:0;

	border-radius:8px;;

	display:block;

	margin:0;

	padding:60px 20px 20px 20px;

	box-sizing:border-box;

	font-weight:bold;

	height:100%;

}



#content .caldera-grid .radio label:hover,

#content .caldera-grid .radio label.activeradio {

	background:white;

	color:#1e73be;

}



.form-group div {

	display:flex;

	flex-direction:row;

	flex-wrap:wrap;

}



#content .caldera-grid p {

	font-weight:bold;

	font-size:24px;

	margin:0 0 20px 0;

}



#content .caldera-grid .radio-row {

	margin:0 -10px;

}



#content .caldera-grid .radio input {

	display:block;

	margin:0 auto;

}



/* The container */

#content .caldera-grid .radio label {

  position: relative;

}



/* Hide the browser's default radio button */

#content .caldera-grid .radio label input {

  position: absolute;

  opacity: 0;

  cursor: pointer;

}



/* Create a custom radio button */

#content .caldera-grid .checkmark {

  position: absolute;

  top: 0;

  left: 0;

  right:0;

  margin:0 auto;

  display:block;

  height: 24px;

  width: 24px;

  margin-top:20px;

  margin-bottom:20px;

  background-color: #eee;

  border-radius: 50%;

}



/* On mouse-over, add a grey background color */

#content .caldera-grid .radio label:hover input ~ .checkmark {

  

}



/* When the radio button is checked, add a blue background */

#content .caldera-grid .radio label input:checked ~ .checkmark {

  background:#2473ba;

}



/* Create the indicator (the dot/circle - hidden when not checked) */

#content .caldera-grid .checkmark:after {

  content: "";

  position: absolute;

  display: none;

}



/* Show the indicator (dot/circle) when checked */

#content .caldera-grid .radio label input:checked ~ .checkmark:after {

  display: block;

}



#content .caldera-grid .hidden-field {

	display:none;

}



/* Style the indicator (dot/circle) */

#content .caldera-grid .radio label .checkmark:after {

 	top: 8px;

	left: 8px;

	width: 8px;

	height: 8px;

	border-radius: 50%;

	background: white;

}



/** Icons **/



#content .caldera-grid label[for='fld_4497593_1_opt1348465'],

#content .caldera-grid label[for='fld_4497593_1_opt1080435'],

#content .caldera-grid label[for='fld_4497593_1_opt1944051'],

#content .caldera-grid label[for='fld_4497593_1_opt1712191'],

#content .caldera-grid label[for='fld_4497593_1_opt1311604'] {

	padding:80px 20px 20px 20px;

}



#content .caldera-grid label[for='fld_4497593_1_opt1348465'] .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/commercial.png) center bottom 5px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 50px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_4497593_1_opt1348465']:hover .checkmark,

#content .caldera-grid label[for='fld_4497593_1_opt1348465'].activeradio .checkmark,

#content .caldera-grid .radio label[for='fld_4497593_1_opt1348465'] input:checked ~ .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/commercial.png) center top 5px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 50px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_4497593_1_opt1080435'] .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/house.png) center bottom 5px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 50px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_4497593_1_opt1080435']:hover .checkmark,

#content .caldera-grid label[for='fld_4497593_1_opt1080435'].activeradio .checkmark,

#content .caldera-grid .radio label[for='fld_4497593_1_opt1080435'] input:checked ~ .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/house.png) center top 5px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 50px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_4497593_1_opt1944051'] .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/flat.png) center bottom 5px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 50px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_4497593_1_opt1944051']:hover .checkmark,

#content .caldera-grid label[for='fld_4497593_1_opt1944051'].activeradio .checkmark,

#content .caldera-grid .radio label[for='fld_4497593_1_opt1944051'] input:checked ~ .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/flat.png) center top 5px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 50px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_4497593_1_opt1712191'] .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/garage.png) center bottom 5px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 50px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_4497593_1_opt1712191']:hover .checkmark,

#content .caldera-grid label[for='fld_4497593_1_opt1712191'].activeradio .checkmark,

#content .caldera-grid .radio label[for='fld_4497593_1_opt1712191'] input:checked ~ .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/garage.png) center top 2px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 50px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_4497593_1_opt1311604'] .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/conservatory.png) center bottom 5px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 50px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_4497593_1_opt1311604']:hover .checkmark,

#content .caldera-grid label[for='fld_4497593_1_opt1311604'].activeradio .checkmark,

#content .caldera-grid .radio label[for='fld_4497593_1_opt1311604'] input:checked ~ .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/conservatory.png) center top 8px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 50px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_4497593_1_opt1348465'] .checkmark:after,

#content .caldera-grid label[for='fld_4497593_1_opt1080435'] .checkmark:after,

#content .caldera-grid label[for='fld_4497593_1_opt1944051'] .checkmark:after,

#content .caldera-grid label[for='fld_4497593_1_opt1712191'] .checkmark:after,

#content .caldera-grid label[for='fld_4497593_1_opt1311604'] .checkmark:after {

	display:none;

}



/** New **/



#content .caldera-grid label[for='fld_3574572_1_opt1512949'] .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/house.png) center bottom 5px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 50px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_3574572_1_opt1512949']:hover .checkmark,

#content .caldera-grid label[for='fld_3574572_1_opt1512949'].activeradio .checkmark,

#content .caldera-grid .radio label[for='fld_3574572_1_opt1512949'] input:checked ~ .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/house.png) center top 5px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 50px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_3574572_1_opt1124756'] .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/semidetached.png) center bottom 5px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 55px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_3574572_1_opt1124756']:hover .checkmark,

#content .caldera-grid label[for='fld_3574572_1_opt1124756'].activeradio .checkmark,

#content .caldera-grid .radio label[for='fld_3574572_1_opt1124756'] input:checked ~ .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/semidetached.png) center top 5px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 55px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_3574572_1_opt1868023'] .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/terraced.png) center bottom 5px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 55px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_3574572_1_opt1868023']:hover .checkmark,

#content .caldera-grid label[for='fld_3574572_1_opt1868023'].activeradio .checkmark,

#content .caldera-grid .radio label[for='fld_3574572_1_opt1868023'] input:checked ~ .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/terraced.png) center top 8px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 55px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_3574572_1_opt1575464'] .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/bungalow.png) center bottom 5px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 50px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_3574572_1_opt1575464']:hover .checkmark,

#content .caldera-grid label[for='fld_3574572_1_opt1575464'].activeradio .checkmark,

#content .caldera-grid .radio label[for='fld_3574572_1_opt1575464'] input:checked ~ .checkmark {

	background:url(/wp-content/themes/roofcosts/icons/bungalow.png) center top 2px no-repeat;

    width: 80px;

    height: 50px;

    background-size: 50px;

    border-radius: 0;

}



#content .caldera-grid label[for='fld_3574572_1_opt1512949'] .checkmark:after,

#content .caldera-grid label[for='fld_3574572_1_opt1124756'] .checkmark:after,

#content .caldera-grid label[for='fld_3574572_1_opt1868023'] .checkmark:after,

#content .caldera-grid label[for='fld_3574572_1_opt1575464'] .checkmark:after {

	display:none;

}



#content .caldera-grid label[for='fld_3574572_1_opt1512949'],

#content .caldera-grid label[for='fld_3574572_1_opt1124756'],

#content .caldera-grid label[for='fld_3574572_1_opt1868023'],

#content .caldera-grid label[for='fld_3574572_1_opt1575464'] {

	padding:80px 20px 20px 20px;

}



/** Progress **/



#content .caldera-grid .breadcrumb {

	display:none;

}



.progress {

	background:#FFF;

	border-radius:50px;

	padding:3px;

	display:block;

	box-sizing:border-box;

	margin-bottom:30px;

}



.progressbar {

	background:#00d192;

	display:block;

	border-radius:50px;

	height:3px;

}



.progressbar.one-of-eight {

	width:12.5%;

}



.progressbar.two-of-eight {

	width:25%;

}



.progressbar.three-of-eight {

	width:37.5%;

}



.progressbar.four-of-eight {

	width:50%;

}



.progressbar.five-of-eight {

	width:62.5%;

}



.progressbar.six-of-eight {

	width:75%;

}



.progressbar.seven-of-eight {

	width:87.5%;

}



.progressbar.eight-of-eight {

	width:100%;

}



.progressbar.one-of-seven {

    width:14.28%;

}



.progressbar.two-of-seven {

    width:28.57%;

}



.progressbar.three-of-seven {

    width:42.85%;

}



.progressbar.four-of-seven {

    width:57.14%;

}



.progressbar.five-of-seven {

    width:71.42%;

}



.progressbar.six-of-seven {

    width:85.71%;

}



.progressbar.seven-of-seven {

    width:100%;

}



#fld_809852_1-wrap,

#fld_1373832_1-wrap,

#fld_3312271_1-wrap,

#fld_1284587_1-wrap,

#fld_779648_1-wrap,

#fld_9032214_1-wrap,

#fld_7135764_1-wrap,

#fld_1710705_1-wrap,

#fld_8476076_1-wrap,

#fld_8035693_1-wrap,

#fld_2822729_1-wrap,

#fld_1551968_1-wrap,

#fld_814396_1-wrap,

#fld_8805494_1-wrap {

	display:inline-block;

}

/** Bio **/

.author-bio {
	padding: 20px;
	border: 1px solid #f2f2f2;
	display: flex;
	flex-wrap: wrap;
	align-items:center;
}

.widget .author-bio {
	border: 0;
	padding: 40px;
}

.widget p:empty {
	display: none;
}

.widget-area .widget#block-2 {
	padding: 0;
}

.bio-image {
	width: 100%;
}

.widget-area .bio-image {
	width: 100%;
}

.author-content {

}

.widget-area .author-content {
	width: 100%;
	padding: 20px 0 0 0;
}

.bio-name {
	font-weight: 700;
font-size: 130%;
    line-height: 32px;
    display: block;
    margin-bottom: 15px;
}

.bio-bio p:last-of-type {
	margin-bottom: 0;
}

body:not(.fl-builder) #main .author-bio {
	background: #FFF;
	padding: 40px;
}

body:not(.fl-builder) #main .bio-image {
	width: 250px;
}

body:not(.fl-builder) #main .author-content {
	box-sizing: border-box;
	padding-left: 40px;
	width: calc(100% - 250px);
}

@media screen and (max-width: 830px) {
	.bio-image,
	.author-content,
	body:not(.fl-builder) #main .bio-image,
	body:not(.fl-builder) #main .author-content {
		width: 100%;
		padding: 0;
	}
	.author-content,
	body:not(.fl-builder) #main .author-content {
		padding-top: 20px;
	}
}

.roofer-quote {
	background: #00688e;
	padding: 25px;
	color: #FFF;
	text-align:center;
	margin-bottom: 1.8em;
}

.roofer-quote a {
	color: #00d192;
}

.quote-name {
	font-weight: 700;
}

.quote-text {
	font-size: 150%;
	margin-bottom: 25px;
	font-weight: 600;
}

.quote-image {
	display:block;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	margin: 0 auto;
	margin-bottom: 10px;
	border: 2px solid #FFF;
}

.quote-image img {
	border-radius: 50%;
	display: block;
	width: 100%;
	height: 100%;
	object-fit:cover;
	padding: 4px;
}