/**
Theme Name: Astra Child
Author: Perfect Viral
Author URI: https://www.perfectviral.com
Description: Child theme for Astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: garden-state-highway-products
Template: astra
*/

.hidden-item {
	display: none !important;
}

.calc_container {
	width: 100%;
	display: flex;
}

.calc_container .calc_fields {
	flex-grow: 1;
}

.calc_container .calc_results {
	margin-left: 3em;
	position: relative;
	flex-shrink: 0;
	align-self: stretch;
	width: min(30%,26em);
}

.calc_container .calc_steps {
	display: flex;
	align-items: flex-start;
}
.calc_container .calc_steps:not(:first-child) {
	margin-top: 2.5em;
}
.calc_container .calc_steps .calc_step_no {
	flex-shrink: 0;
	width: 2.5rem;
	margin-right: 1rem;
	border-radius: 1em;
	background-color: #0b4a28;
	color: #fff;
	font-size: .875em;
	font-weight: bold;
	text-align: center;
}
.calc_container .calc_steps .cal_question {
	flex-shrink: 0;
	width: 12em;
	margin-right: 2em;
	color: #536077;
	font-size: 1em;
	font-weight: normal;
}
.calc_container .calc_answer {
	flex-grow: 1;
}
.calc_answer .custom_range {
	position: relative;
	margin-top: 1em;
}
.calc_answer .custom_range_input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	margin: 0 0 .5em;
	background: none;
	cursor: pointer;
}
.calc_answer .custom_range_input::-webkit-slider-runnable-track {
	width:100%;
	height:10px;
	border-radius:1em;
	background-color:#f0f6f9;
	box-shadow:inset 0 0 0 1px #b4d3e3
}
.calc_answer .custom_range_input::-webkit-slider-thumb {
	-webkit-appearance:none;
	position:relative;
	z-index:10;
	height:16px;
	width:16px;
	margin-top:-3px;
	border-radius:50%;
	background:#0b4a28;
	box-shadow:0 .125em .25em rgba(26,43,73,.1);
	border:none;
}
.calc_answer .custom_range_input::-moz-range-track {
	width:100%;
	height:10px;
	border-radius:1em;
	background-color:#f0f6f9;
	box-shadow:inset 0 0 0 1px #b4d3e3
}
.calc_answer .custom_range_input::-moz-range-progress {
	height:10px;
	border-radius:1em 0 0 1em;
	background-color:#fdbe80;
	box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)
}
.calc_answer .custom_range_input::-moz-range-thumb {
	height:16px;
	width:16px;
	border-radius:50%;
	background:#0b4a28;
	box-shadow:0 .125em .25em rgba(26,43,73,.1);
	border: none;
}
.calc_answer .custom_range_output_track {
	position: absolute;
	left: .5em;
	right: .5em;
	bottom: 100%;
}
.calc_answer .custom_range_output {
	position: absolute;
	bottom: calc(100% + .75em);
	left: 0;
	padding: .125em .65em 0;
	border-radius: .5em;
	border: 1px solid #b4d3e3;
	background-color: #fff;
	color: #536077;
	font-size: .875em;
	text-align: center;
	-webkit-transform: translate3d(-50%, 0, 0);
	transform: translate3d(-50%, 0, 0);
	box-shadow: 0 .125em .25em rgba(26,43,73,.1);
	pointer-events: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.calc_answer .custom_range_output::before, .calc_answer .custom_range_output::after {
	content: "";
	z-index: 1;
	position: absolute;
	top: 100%;
	left: 50%;
	border: solid transparent;
}
.calc_answer .custom_range_output::before {
	margin-left: -6px;
	border-width: 6px;
	border-top-color: #c6deea;
}
.calc_answer .custom_range_min, .calc_answer .custom_range_max {
	color: #536077;
	font-size: .875em;
	line-height: 1.3em;
}
.calc_answer .custom_range_max {
	float: right;
	text-align: right;
}

.calc_container .calc_options {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-start;
	margin: -1em -1em 0 0;
}
.calc_container .calc_options label {
	position: relative;
	display: flex;
	width: calc(33.33% - 1em);
	margin: 1em 1em 0 0;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.calc_options .option_input:checked + .calc_option_inner {
	border-color: #0b4a28;
	background-color: #fff;
	box-shadow: inset 0 0 0 2px #0b4a28;
}
.calc_options .calc_option_inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	padding: 1.25em 1em;
	border-radius: 1em;
	border: 1px solid #b4d3e3;
	background-color: #fff;
	color: #536077;
	text-align: center;
	box-shadow: inset 0 0 0 3px #f0f6f9;
	transition: all .15s ease-out,top 0s;
}
.calc_options .option_input:checked + .calc_option_inner .option_check {
	opacity: 1;
	visibility: visible;
}
.calc_options .option_check{
	position: absolute;
	top: -0.25em;
	right: -0.25em;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2em;
	height: 2em;
	border-radius: 50%;
	background-color: #0b4a28;
	color: #fff;
	font-size: .65rem;
	line-height: 1em;
	text-align: center;
	opacity: 0;
	visibility: hidden;
	transition: all .15s ease-out;
}
.calc_container .svg-inline--fa {
	display: var(--fa-display,inline-block);
	height: 1em;
	overflow: visible;
	vertical-align: -.125em;
}
.calc_options .option_icon {
	display: block;
	width: 5em;
	max-width: 100%;
	height: auto;
	margin: 0 0 .75em;
}
.calc_options .option_label {
	font-size: 1em;
	margin-bottom: 0;
}
.calc_options .option_desc p {
	margin: .5em 0 0;
	color: #536077;
	font-size: .75em;
	line-height: 1.5em;
}

.calc_options .option_quantity {
	display: flex;
	align-items: center;
	padding: .75em 0 0;
	margin-top: auto;
}
.calc_options .option_quantity_label {
	margin-right: .5em;
	color: #1a2b49;
	font-size: .75em;
	font-weight: bold;
}
.calc_options .option_quantity .custom_steps {
	font-size: .75em;
	display: flex;
	align-items: center;
}
.calc_options .custom_steps_control {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2em;
	height: 2em;
	border-radius: .25em;
	background-color: #0b4a28;
	color: #fff;
	font-size: .875em;
	line-height: 1em;
	text-align: center;
	position: relative;
	top: 0;
	transition: all .075s ease-out , top 0s;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.calc_options .custom_steps_control:disabled {
	background-color: rgba(26,43,73,.1);
	color: rgba(26,43,73,.25);
	cursor: not-allowed;
}
.calc_options .custom_steps_input {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: auto;
	width: auto;
	margin: 0;
	padding: 0;
	border-radius: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 1rem;
	flex-shrink: 0;
	width: 2.5em;
	height: inherit;
	padding: 0;
	color: #1a2b49;
	font-size: inherit;
	text-align: center;
	font-weight: bold;
}

.sidebar_layout_sticky {
	/* position: -webkit-sticky; */
	position: sticky;
	top: 2em;
	bottom: 0;
	transition: top .3s ease-out;
}
.results_widgets {
	background-color: #d9e9f1;
	padding: 2em;
	margin-bottom: 0;
	margin-top: 0;
	border-radius: 1em;
}
.results_widgets .widget_title {
	margin: 1em 0 .5em;
	font-size: 1.5em;
	margin-top: 0;
}
.calculator_result {
	word-wrap: break-word;
}
.calculator_result_row {
	display: flex;
	align-items: flex-start;
}
.calculator_result_row small {
	display: inline-block;
	color: #536077;
	font-size: .75rem;
	line-height: 1.3em;
}
.calculator_result_row.calculator_result_row_totals {
	margin-top: .25em;
	border-top: 1px solid rgba(26,43,73,.1);
	font-weight: bold;
}
.calculator_result_row.calculator_result_row_totals_small {
	font-size: .75em;
}

.calculator_result_row:not(:last-child) > div {
	padding-bottom: .5em;
}
.calculator_result_cell:nth-child(1) {
	width: 60%;
}
.calculator_result_cell:nth-child(2) {
	width: 40%;
}
.calculator_result_cell.text_right {
	text-align: right;
}

.calculator_ready_buttons {
	display: none;
	margin-top: 1em;
}
.quote_btns_inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin: -.35rem;
}
.cal_request_quote_btn, .calc_quote_form form .frm_button_submit {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	height: auto !important;
	width: auto !important;
	margin: 0 !important;
	border: 0 !important;
	background: none !important;
	font-size: 1rem !important;
	position: relative !important;
	display: inline-block;
	padding: .75em 1.5em !important;
	border-radius: 5em !important;
	line-height: 1.5em !important;
	font-weight: bold !important;
	text-align: center !important;
	text-decoration: none !important;
	-webkit-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;
	user-select: none !important;
	cursor: pointer !important;
	transition: all .075s ease-out , top 0s !important;
}
.cal_request_quote_btn, .calc_quote_form form .frm_button_submit {
	width: 100% !important;
	padding-left: 1em !important;
	padding-right: 1em !important;
	font-size: .875rem !important;
	background-color: #0b4a28 !important;
	color: #fff !important;
	margin: .35rem !important;
	top: 0 !important;
}
.cal_request_quote_btn {
	display: none;
}
.calc_quote_form form .frm_button_submit
{
	width: auto !important;
}
.cal_request_quote_btn:hover, .calc_quote_form form .frm_button_submit:hover {
	background-color: #ee7600 !important;
	color: #fff !important;
}

.cal_request_quote_btn .icon-left {
	margin-right: .5em;
}

.calc_quote_form {
	margin-top: 50px;
	display: none;
}
.calc_quote_form .frm_required {
    position: relative;
}
.calc_quote_form .frm_required::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    margin-left: 5px;
    transform: translate(0%, -50%);
    background: url('./img/lock-icon.svg') no-repeat;
    width: 12px;
    height: 12px;
    display: inline-block;
}

.calc_quote_form .not-required .frm_required::before {
	background: none;
}
.calc_quote_form .frm_primary_label {
	font-weight: bold;
}
.calc_quote_form form input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="button"]):not([type="submit"]), .calc_quote_form form textarea, .calc_quote_form form select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: auto;
	width: auto;
	margin: 0;
	padding: 0;
	border-radius: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 1rem;
	width: 100%;
	height: 3em;
	padding: 0 1em;
	border-radius: .25em;
	border-left: .25em solid transparent;
	background-color: #e8f2f7;
	color: #1a2b49;
	transition: all .15s ease-in-out;
}
.calc_quote_form form input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=button]):not([type=submit]):hover,
.calc_quote_form form input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=button]):not([type=submit]):focus,
.calc_quote_form form textarea:hover,
.calc_quote_form form textarea:focus,
.calc_quote_form form select:hover,
.calc_quote_form form select:focus {
  border-color:#0b4a28;
  background-color:#f0f6f9
}
.calc_quote_form form input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=button]):not([type=submit])::-webkit-input-placeholder,
.calc_quote_form form textarea::-webkit-input-placeholder,
.calc_quote_form form select::-webkit-input-placeholder {
  color:#c6cad2
}
.calc_quote_form form input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=button]):not([type=submit])::-moz-placeholder,
.calc_quote_form form textarea::-moz-placeholder,
.calc_quote_form form select::-moz-placeholder {
  color:#c6cad2
}
.calc_quote_form form input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=button]):not([type=submit]):-ms-input-placeholder,
.calc_quote_form form textarea:-ms-input-placeholder,
.calc_quote_form form select:-ms-input-placeholder {
  color:#c6cad2
}
.calc_quote_form form input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=button]):not([type=submit]):-moz-placeholder,
.calc_quote_form form textarea:-moz-placeholder,
.calc_quote_form form select:-moz-placeholder {
  color:#c6cad2
}
.calc_quote_form form input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=button]):not([type=submit]):disabled,
.calc_quote_form form textarea:disabled,
.calc_quote_form form select:disabled {
  border-color:#c6cad2;
  background-color:#f0f6f9;
  color:#8d95a4;
  cursor:not-allowed
}
.calc_quote_form form input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=button]):not([type=submit]):-moz-read-only,
.calc_quote_form form textarea:-moz-read-only {
  border-color:#c6cad2;
  background-color:#f0f6f9;
  color:#8d95a4;
  cursor:not-allowed
}
.calc_quote_form form input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=button]):not([type=submit]):read-only,
.calc_quote_form form textarea:read-only {
  border-color:#c6cad2;
  background-color:#f0f6f9;
  color:#8d95a4;
  cursor:not-allowed
}
.calc_quote_form form textarea {
  height:auto;
  padding:1em;
  line-height:1.5em
}
.calc_quote_form form select {
  cursor:pointer
}

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

.calc_container .calc_steps {
    flex-wrap: wrap;
}
.calc_container {
    flex-direction: column;
    align-items: stretch;
}	
.calc_container .calc_results {
    margin-left: 0;
    width: 100%;
    margin-top: 30px;
}	
.calc_container .calc_answer {
    width: 100%;
}	
.calc_container .calc_options label {
    width: 46%;
}
.calc_container .calc_steps .cal_question {
    flex-grow: 1;
    width: auto;
    margin-right: 0;
    margin-bottom: 1.5em;
}	
.calc_container {
    padding: 0 5px;
}	
.with_frm_style .frm_top_container .frm_primary_label {
    margin-bottom: 5px;
}	
.calc_container .calc_answer {
    margin-top: 10px;
}	
}