/*
dark blue #1e4f86
orange #ff6633,
logo blue #496db6 
grey background #ededed
*/

/* Colours */

/* Whole thing */
#lc_homeowner {
	background-color: #ededed;color:#1e4f86;
}

.lc_homeowner {
	background-color: #ffffff;
}

.lc_homeowner-application .wmbutton label {
	background-color: #1e4f86;
	color: #ffffff;
}

/* Up down and form buttons */
.lc_homeowner-down:after,
.lc_homeowner-up:after,
.lc_homeowner-up:before,
.lc_homeowner__fill,
.toggle-lc_homeowner a,
.lc_homeowner-application .submit,
.lc_homeowner-application .wmbutton label:hover,
.lc_homeowner-application .wmbutton input[type="radio"]:checked + label {
	background: #ff6633;
}

/* Handle and hover */
.lc_homeowner-down, .lc_homeowner-up, .lc_homeowner__handle {border: 2px solid #ff6633; }
.lc_homeowner-up:hover, .lc_homeowner-down:hover { background-color: #00a0de;}
.lc_homeowner-output-values output,
.lc_homeowner-outputs .outputvalue,
.lc_homeowner-error-message {
	color: #1e4f86;
}

/* Inputs and Outputs */
.lc_homeowner-outputs, .lc_homeowner__handle {background-color: #FFFFFF;}
.lc_homeowner-application input[type=text], 
.lc_homeowner-application textarea, 
.lc_homeowner-application select,
.lc_homeowner-application input[type="checkbox"] + label::before {
	border:1px solid #00a0de;background:#FFF;
}

/* Application form */
.toggle-lc_homeowner a,
.lc_homeowner-application .wmbutton label:hover, .lc_homeowner-application .wmbutton input[type="radio"]:checked + label,
.lc_homeowner-application .submit{
	color:#FFFFFF;
}
.lc_homeowner-application ::placeholder {color: #CCCCCC;}
.lc_homeowner-application input[type=text].warning, 
.lc_homeowner-application select.warning {border: 1px solid #15204c;}

/* Form Settings */
#lc_homeowner {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-bottom:20px;
	padding:24px;
}

/* Grid */
.lc_homeowner-grid {
	display:grid;
	grid-template-columns:60% 40%;
}

.lc_homeowner-inputs {margin-right:24px;}

/* Circle Rules */
.lc_homeowner-down { height: 25px; width: 25px; position: absolute; left: 0; border-radius: 12.5px;}
.lc_homeowner-slideroutput .lc_homeowner-down { right: auto; left: 0; }
.lc_homeowner-down:after {
	content: "";
	width: 15px;
	position: absolute;
	height: 3px;
	top: 50%;
	margin-top: -1.5px;
	left: 50%; 
	margin-left: -7.5px;
}
.lc_homeowner-up { height: 25px; width: 25px; position: absolute; right: 0;border-radius: 12.5px;}
.lc_homeowner-up:after {
	content: "";
	width: 15px;
	position: absolute;
	height: 3px;
	top: 50%;
	left: 50%; 
	margin-top: -1.5px;
	margin-left: -7.5px;
}
.lc_homeowner-up:before {
	content: "";
	width: 3px;
	position: absolute;
	height: 15px;
	top: 50%;
	left: 50%;
	margin-top: -7.5px;
	margin-left: -1.5px;
}

/* Buttons */
.lc_homeowner-output-values {line-height: 25px; font-size:25px;text-align: center;}
.lc_homeowner-output-pad	{ padding: 0 25px; line-height: 25px; min-height: 25px; position: relative; text-align: center;}
.lc_homeowner-up:hover, .lc_homeowner-down:hover {cursor: pointer; }
.lc_homeowner-control {touch-action: none;}

/* Sliders */
.lc_homeowner, .lc_homeowner__fill {
	display: block;height: 8px;
	border-radius: 8px;
	box-sizing: border-box;
}

.lc_homeowner {
	position: relative;
	height: 8px;
	width: 100%;
	margin:18px 0 4px 0;
}

.lc_homeowner--disabled {
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
	opacity: 0.4;
}

.lc_homeowner__fill {
	height: 8px;
	width: 100%;
	position: absolute;
	top: 0;
	border-radius: 8px 0 0 8px;
}

.lc_homeowner__handle {
	cursor: pointer;
	display: inline-block;
	width: 25px;
	height: 25px;
	position: absolute;
	top: -9px;
	border-radius: 50%;
}
.lc_homeowner-range {
	margin-bottom: 4px;
}

.lc_homeowner-slider-principal {margin-bottom: 24px;}

/* Slider outputs */
.lc_homeowner-slideroutput:after, .lc_homeowner-range:after {visibility: hidden;display: block;font-size: 0;content: " ";clear: both;height: 0;}
.lc_homeowner-slideroutput { text-align: center; }
.lc_homeowner-slideroutput .lc_homeowner-sliderbuttonleft { position: relative; float: left; height: 30px; width: 10%; display: inline-block;text-align: left; }
.lc_homeowner-slideroutput .lc_homeowner-sliderbuttonright {position: relative; float: right; height: 30px; width:10%; display: inline-block;text-align: right; }
.lc_homeowner-slideroutput .lc_homeowner-slidercenter {margin: auto; width:40%; display: inline-block; text-align:center; outline: 0; }
.lc_homeowner-slidercenter input.output { width: 100%; text-align: center; }

/* Outputs */
.lc_homeowner-outputs {text-align: center;padding:12px 24px;}
.lc_homeowner-output-content {display:block}
.lc_homeowner-output-content table {width:100%;}
.lc_homeowner-output-content table td {width:50%;}
.lc_homeowner-outputs .outputvalue {font-weight: 900;font-size: 16px;}
.lc_homeowner-outputs .outputlabel {font-size:12px;}

.applicationresponse {display: none;}

/* Application Form */
.lc_homeowner-application {width:100%;display:none;margin-top:24px;}
.lc_homeowner-application .intro {margin: 4px 0;}
.lc_homeowner-application input[type=text], .lc_homeowner-application textarea, .lc_homeowner-application select, .lc_homeowner-application .submit {-webkit-appearance: none;padding: 4px;font-family: inherit;font-size: inherit;height:auto!important;width: 100%;box-sizing: border-box;border-radius: 0;}
.lc_homeowner-application div.left{float:left;width:39%;padding: 0 4px;text-align: right;line-height: 1.5em;margin: 6px 0;}
.lc_homeowner-application div.right{float:right;width:59%;padding: 0 0 0 4px;line-height: 1.5em;margin: 6px 0;}

/* Period Buttons */
.lc_homeowner-application .wm {display:grid;grid-template-columns: 49% 49%;grid-gap: 2%;}
.lc_homeowner-application .wmbutton input[type="radio"] {opacity: 0;position: fixed;width: 0;}
.lc_homeowner-application .wmbutton label {display: block;text-align: center;line-height: 1.1em;width: 100%;cursor: pointer;padding: 6px 0;}

/* Checkbox */
.lc_homeowner-application input[type="checkbox"] {display:none;}
.lc_homeowner-application input[type="checkbox"] + label::before {
	width: 20px;
	height: 20px;
	background-color: #fff;
	display: block;
	content: "";
	float: left;
	margin-right: 5px;
}

.lc_homeowner-application input[type="checkbox"].warning + label::before {border-color: red;}
.lc_homeowner-application input[type="checkbox"].warning + label a {color:red}
.lc_homeowner-application input[type="checkbox"]:checked+label::before {box-shadow: inset 0px 0px 0px 3px #fff;background-color: #58595B;}

/* Form Toggle and Submit */
.toggle-lc_homeowner {margin-top:24px;}
.toggle-lc_homeowner a, .lc_homeowner-application .submit {font-family: inherit;font-size: inherit;height:auto;border:none;width: 100%;box-sizing: border-box;line-height:normal;padding: 6px;text-align: center;margin:12px 0 0 0;display:block;text-align: center;cursor: pointer;text-decoration:none;}
.lc_homeowner-application .submit {clear:both;margin-top:12px;}
.validator {margin-left: -999px;height:0;clear: both;}

/* Disclaimer */
.disclaimer {padding-top: 24px;font-size: 12px;}

/* The Modal */
#lc_homeowner .modal {
	display: none;
	position: fixed;
	z-index: 1;
	padding-top: 100px;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

/* Modal Content */
#lc_homeowner .modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 90%;
}

#lc_homeowner .modal-content p,
#lc_homeowner .modal-content h2,
#applicationform .modal-content li {
	color: #343848;
}

/* The Close Button */
#lc_homeowner .closemodal {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

#lc_homeowner .closemodal:hover,
#lc_homeowner .closemodal:focus {
	color: #343848;
	text-decoration: none;
	cursor: pointer;
}

@media only screen and (max-width:600px) {
	.lc_homeowner-grid{display:block;}
	.lc_homeowner_form {padding: 12px;}
	.lc_homeowner-inputs {margin-right:0;}
	.lc_homeowner-outputs {padding: 12px;margin-top:12px;}
	.lc_homeowner-output-values {font-size:16px;}
	.lc_homeowner-outputs .outputvalue {font-size:20px;}
	.toggle-lc_homeowner {margin-top:12px;}
	.lc_homeowner-application {margin-top:12px;}
	.lc_homeowner-application .submit {margin-top:12px;}
	.lc_homeowner-application div.left{width:100%;text-align: left;margin: 1px 0;padding: 0;}
	.lc_homeowner-application div.right{width:100%;margin: 1px 0;padding: 0;}
	.lc_homeowner-application .submit {margin-top:6px;}
}