/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.border-left-paragraph {
	border-left: 1px solid #ef6660;
	padding-left: 10px;
}

.wp-block-button__link.has-background.wp-element-button {
	border-radius: 10px;
	font-size: 20px;
	border: 1px solid white;
	padding: 10px 45px;
	text-transform: uppercase;
	font-weight: bold;
}

@media (max-width: 767px) {
	
	.gb-container.gb-container-9adb551f {
		padding: 0;
	}
	
	.gb-grid-column.gb-grid-column-9adb551f {
		order: -1;
	}
	
	.gb-container.gb-container-9adb551f .aligncenter.size-full.is-resized {
		width: 100%;
	}
	
	.gb-container.gb-container-9adb551f .aligncenter.size-full.is-resized .wp-image-54 {
		width: 100% !important;
	}
	
	.gb-container-265f1e5b {
		padding-left: 40px !important;
	}
	
	.gb-grid-column.gb-grid-column-a80d7ff4 {
		order: 2;
	}
	
	.gb-container.gb-container-a80d7ff4 {
		padding: 0;
	}
	
	.gb-container.gb-container-5b824a70, .gb-container.gb-container-aed8279e, .gb-container.gb-container-13a982c5 {
		padding: 20px !important;
	}
	
	.home p {
		margin-bottom: 0px;
	}
	
	.wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex {
		margin-top: 20px;
	}
	
	.gb-grid-column.gb-grid-column-19a377e9 {
		order: 2;
	}
	
	.gb-container.gb-container-19a377e9 {
		padding: 0;
		margin-bottom: -50px;
	}
}

#masthead, .site-footer {
	display: none;
}

#post-41 {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: #f7f8f9 !important;
	padding: 5px;
}

.gform-theme--framework .gf_progressbar .percentbar_blue {
	background-color: var(--gf-field-pg-prog-bar-bg-color-blue);
	background-color:  #007484;
}

#gform_wrapper_1 {
	max-width: 1200px;
	margin: auto;
	padding: 40px;
	border: 1px solid #004351 !important;
	border-radius: 15px;
	background: white;
}

.gfield_radio {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
}

.gchoice {
	display: flex !important;
}

.gfield_label.gform-field-label {
	color: #004351 !important;
	font-size: 30px !important;
	font-weight: bold !important;
	padding-left: 0 !important;
	background: unset !important;
}

.gfield_required.gfield_required_text,
.gfield_description.validation_message.gfield_validation_message{
	display: none !important;
}

.ginput_container.ginput_container_radio .gfield-choice-input {
	display: none !important;
}

.ginput_container.ginput_container_checkbox .gchoice {
	position: relative;
}

.ginput_container.ginput_container_checkbox .gfield-choice-input {
	position: absolute;
	top: 28px;
	left: 20px;
}

.ginput_container.ginput_container_checkbox .gform-field-label {
	padding-left: 55px !important;
}

.gform-field-label {
	margin-left: 0px !important;
	background: #F7F7F7;
	padding: 28px 20px !important;
	color: #004351 !important;
	font-weight: 600 !important;
	cursor: pointer;
	border-radius: 10px;
	width: 100%;
}

input[type="radio"]:checked + label,
input[type="checkbox"]:checked + label{
	background: #007484 !important;
	color: white !important;
}

.gform_next_button,
#gform_submit_button_1 {
	background: #EF6660 !important;
	font-size: 17px !important;
	padding: 20px 100px !important;
	border-radius: 10px !important;
	font-weight: 500 !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield_error .ginput_container.ginput_container_checkbox .gform-field-label,
body .gform_wrapper .gform_body .gform_fields .gfield_error .ginput_container.ginput_container_radio .gform-field-label{
	border: 1px solid #D3362F !important;
}

.large.gfield_select {
	margin-left: 0px !important;
	background-color: #F7F7F7;
	padding: 12px 20px !important;
	padding-left: 20px;
	color: #004351 !important;
	font-weight: 600 !important;
	cursor: pointer;
	border-radius: 10px;
	height: auto;
}

#gform_page_1_24 .gform-field-label.gform-field-label--type-sub {
	display: none;
}

.gform_previous_button {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath fill='%23007484' d='M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	padding-left: 15px !important;
	background-position: center left !important;
	background-size: 10px !important;
	color: #007484 !important;
	font-weight: bold !important;
	border: unset !important;
	background-color: white !important;
	box-shadow: unset !important;
}

.gf_progressbar_wrapper {
	background: #E8FFFC;
	color: #004351;
	width: calc(100% + 80px);
	margin-left: -40px;
	padding: 40px;
	margin-top: -40px;
	border-radius: 20px;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.gf_progressbar_title {
	color: #004351 !important;
}

.gform_heading {
	display: none !important;
}

#input_1_57_3, #input_1_57_6, #input_1_58, #input_1_59 {
	background: #FBFBFB;
	border: unset !important;
	border-radius: 10px;
	padding: 26px;
}

#field_1_57 .gfield_label,
#field_1_58 .gfield_label,
#field_1_59 .gfield_label {
	display: none;
}

#field_1_69 h3 {
	color: #004351 !important;
	font-weight: bold;
}

#field_1_69 p {
	margin-bottom: 0px;
	color: #004351 !important;
}

@media (max-width: 768px) {
	.gfield_radio {
		grid-template-columns: 1fr;
	}
	
	#gform_wrapper_1 {
		max-width: 100%;
		border: unset !important;
		padding: 15px;
	}
	
	.gfield_label.gform-field-label {
		font-size: 23px !important;
		padding: 15px 0px !important;
	}
	
	.gform_next_button, #gform_submit_button_1 {
		padding: 20px 10px !important;
		width: 100% !important;
	}
	
	#post-41 {
		min-height: unset !important;
	}
	
	.gform-field-label {
		padding: 20px 20px !important;
	}
	
	.gf_progressbar_wrapper {
		width: calc(100% + 60px);
	}
}











.gf-submitted #post-41 {
  	background: #007484 !important;
}

.result-card {
	background: #E8FFFC;
	padding: 30px 20px;
	margin-bottom: 40px;
	border-radius: 9px;
	width: calc((100% / 3) - 20px);
}

.box-title .percentage {
	color: #007484;
	font-size: 24px;
	line-height: 36px;
	font-weight: bold;
	margin-bottom: 0px !important;
}

.box-title .percentage-title strong {
  color: #004351;
  font-size: 30px;
  line-height: 45px;
  margin-top: 18px;
  margin-bottom: 50px;
  font-weight: bold;
}

.show-more-action {
	color: #007484 !important;
	font-weight: normal;
	font-size: 18px;
	line-height: 20px;
	text-decoration: none;
	cursor: pointer !important;
}

.gf-submitted #gform_wrapper_1 {
	background: #007484;
	border: unset !important;
}

.gf-submitted #gf_progressbar_wrapper_1 {
	display: none;
}

#gform_confirmation_message_1 {
	display: flex;
	flex-direction: row;
	gap: 20px;
	flex-wrap: wrap;
}

.gf-submitted .description {
	display: none;
}

.submit-title {
	min-width: 100%;
	order: -200;
	text-align: center;
	color: white;
	font-weight: bold;
	font-size: 30px;
}

.description.show {
	display: block;
	position: fixed;
	width: 500px;
	height: auto;
	top: 50%;
	left: 50%;
	margin-top: -100px;
	margin-left: -250px;
	background: white;
	z-index: 100;
	padding: 30px;
	border-radius: 35px 35px 30px 30px;
	color: #004351;
  	line-height: 25px;
}

#page.show-back::after {
	background: rgba(0,0,0,0.4);
	content: "";
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	z-index: 10;
}

.close {
	color: #000;
	text-align: right;
	font-weight: bold;
	cursor: pointer;
}

.description.show .box-title {
	border-bottom: 1px solid #004351;
	margin-bottom: 1.5em;
}

.show-more-action::after {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath fill='%23007484' d='M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z'/%3E%3C/svg%3E") !important;
	position: absolute;
	transform: rotate(180deg);
	width: 10px;
	line-height: 22px;
	margin-left: 10px;
}

@media (max-width: 768px) {
	
	#gform_confirmation_message_1 {
		flex-direction: column;
		gap: 0;
	}
	
	.result-card {
		width: 100%;
	}
	
	.description.show {
		width: 90%;
		height: auto;
		top: 20%;
		left: 0;
		margin-top: 0;
		margin-left: 5%;
	}
	
}
