/* General Rules */
#kv2_form {
	-moz-box-sizing: border-box;
	box-sizing: border-box; 
	margin: 20px 0;
	padding:10px;
	font-size:16px;
	color: #585858;
	position: relative;
}

.kv2_grid {display:grid;grid-template-columns:49% 49%;grid-column-gap: 2%;}

.kv2-range {margin-bottom: 40px;}

.kv2_slider {display:grid;grid-template-columns:7% 86% 7%;grid-column-gap: 0;position: relative;}

.output-pad	{display:grid;grid-template-columns:70% 30%;line-height: 25px;margin-bottom: 12px;}
.output-pad .output-label {color: #585858;font-size:21px;text-align: left;}
.output-pad .output-value {color: #585858;font-weight: 500;font-size:21px;text-align: right;}

.kv2_slider svg {fill:#0041ff;cursor: pointer;}
.kv2_slider div.plus {text-align:right;}

.circle-control {touch-action: none;}

/* Sliders */
.kv2,
.kv2__fill
input[type=range] {
	background: #e6e6e6;display: block;
	box-sizing: border-box;
	border-radius: 3px;
}

.kv2 {
	position: relative;
	height: 6px;
	width: 100%;
	margin:9px 0;
}

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

.kv2__fill {
	height: 6px;
	width: 100%;
	background: #0041ff;
	position: absolute;
	top: 0;
	border-radius: 3px;
}

.kv2__handle {
	background: #fff;
	cursor: pointer;
	display: inline-block;
	border: 2px solid #0041ff;
	width: 21px;
	height:21px;
	position: absolute;
	top: -9px;
	border-radius: 50%;
	box-sizing: content-box !important;
}

/* Number of Offers */
.companys_matches {text-align:center; margin-bottom: 12px; color:#585858;}

.hometoggle {color:#343848;line-height: 25px;}

/* The switch */
.switch {position: relative;display: inline-block;width: 50px;height: 25px;margin-bottom: 12px;margin-right: 12px;}
.switch input {opacity: 0;width: 0;height: 0;}
.slider {position: absolute;cursor: pointer;top: 0;left: 0;right: 0;bottom: 0;background-color: #ccc;-webkit-transition: .4s;transition: .4s;}
.slider:before {position: absolute;content: "";height: 21px;width: 21px;left: 2px;bottom: 2px;background-color: white;-webkit-transition: .4s;transition: .4s;}
input:checked + .slider {background-color: #0041ff;}
input:focus + .slider {box-shadow: 0 0 1px #0041ff;}
input:checked + .slider:before {-webkit-transform: translateX(24px);-ms-transform: translateX(24px);transform: translateX(24px);}
.slider.round {border-radius: 25px;}
.slider.round:before {border-radius: 50%;} 

/* Company Box Rules */
.company_box {text-align: center; padding: 20px 20px;box-sizing: border-box;position: relative;background:#F8F8F8; margin-top: 20px;}

/* Top row */
.company_box .toprow.full {display:grid;grid-template-columns:14% 14% 14% 14% 14% 30%}
.company_box .toprow.mobile {display:none;text-align: center;}
.company_logo {text-align:left;}
.company_logo img {max-width: 120px !important;max-height: 50px !important;margin:0 !important;}

/* Middle row */
.company_box .midrow.full {display:grid;grid-template-columns:16.66% 66.67% 16.66%;text-align: center;}
.company_box .midrow.full .rating {text-align: left;}
.company_box .midrow.mobile{display:none;}
.company_box .midrow.mobile table{width:100%;text-align:left;}
.company_box .midrow.mobile table td {width:50%;padding: 6px 0;border-bottom: 1px solid #E7E7E7;}
.company_box .midrow.mobile table td:nth-child(1) {font-size:14px;width:30%;}
.company_box .midrow.mobile table td:nth-child(2) {text-align: right;font-weight:900;}

/* Bottom row */
.company_box .lowrow.full {display:grid;grid-template-columns:70% 30%;margin: 0;}
.company_box .lowrow.mobile {display:none;}

.company_apply, .company_moremobile {line-height: 36px;}
.company_apply a ,.company_apply span {display:block;border: 1px solid #336699;background: #0041ff;font-weight:500;color: #FFF !important;text-decoration: none;}
.company_apply svg {fill: #FFF;vertical-align: text-bottom;}
.company_apply.mobile {display:none}

.company_details span.label {display:block;font-size:12px; color: #7990a5;}

/* More Info Link */
.readmore { color: #0041ff; text-decoration: none;display:block;margin-top: 12px;}
.readmore a {text-decoration: none;color: #0041ff;cursor:pointer;}
.readmore svg {fill: #0041ff;vertical-align: text-bottom;}

.readup {display:none;}

/* Read More Link */
.company_links {text-align: center;font-weight: 500;padding: 16px 0;font-size:16px;}
.company_links a.applylink {text-decoration: none;color:#004183;}

/* Read More Content */
.company_box .drop {display: none; margin-top: 12px;text-align: left;}
.company_box .dropgrid {display:grid;grid-template-columns:28% 28% 40%; grid-column-gap: 2%; word-wrap: break-word; white-space: pre-wrap;}
.company_box .dropgrid .info_block {font-size: 13px}
.company_box .dropgrid table {width:100%;border-collapse: collapse;display:table;margin-bottom: 12px;border-top: 1px solid #cccccc;margin-top: 12px}
.company_box .dropgrid table tr {border: none;}
.company_box .dropgrid table td {border-bottom: 1px solid #cccccc;}
.company_box .dropgrid tr:nth-child(even) {background-color: #f2f2f2;}
.company_box .dropgrid .second td:nth-child(2) { text-align: end; }
.company_box .dropgrid .third td:nth-child(1) { width:40%; }
.company_box .dropgrid .info_block td {padding: 8px 0;outline: none!important;}
.company_box .dropgrid .info_block td a {text-align: right;}
.company_box .dropgrid .info_block h6 {margin-bottom: 0;font-size:16px;}
.company_box .dropgrid .info_block.first td svg {margin-right: 6px;}
.company_box .dropgrid .info_block .company_apply a {text-align: center;font-size: 16px;}

/* Company Page Link*/
.reviews {text-align: right;margin-top: 6px;}
.reviews a { color: #0041ff; text-decoration: none;text-align: right;}
.reviews svg { fill: #0041ff;vertical-align: text-bottom;}

/* Offers */
.no-offers {display:none;}

/* Single Tables */
#kvtables .info_block {}
#kvtables table {width:100%;border-collapse: collapse;display:table;margin-bottom: 12px;border-top: 1px solid #cccccc;margin-top: 12px}
#kvtables table tr {border: none;}
#kvtables table td {border-bottom: 1px solid #cccccc;padding: 8px 0;outline: none!important;}
#kvtables tr:nth-child(even) {background-color: #f2f2f2;}
#kvtables td:nth-child(2) { text-align: end; }
#kvtables td:nth-child(1) { width:40%; }

#kvtables .info_block h2 {margin-top: 20px;}
#kvtables .info_block h6 {margin-bottom: 0;font-size:16px;}
#kvtables .info_block.first td svg {margin-right: 6px;}

/* 600px wide screens */
@media only screen and (max-width: 600px) {

	.kv2_rates {margin-top: 10px;}
	.kv2_grid {display:block;}
	.company_box .toprow.full, .company_box .midrow.full, .company_box .lowrow.full, .company_apply.desktop {display:none}
	.company_box .toprow.mobile {display: block;}
	.company_box .midrow.mobile{display: block;margin-bottom: 12px;}
	.company_box .lowrow.mobile {display:grid;grid-template-columns:49% 49%;grid-column-gap: 2%;margin-bottom: 12px;}
	.company_details:first-of-type {text-align: left;}
	.company_details:last-of-type {text-align: right;}
	.company_apply.mobile {display:block;margin: 16px 0;}
	.readmore {margin-top: 0;}
	.company_box .dropgrid {display:block;}
	.company_box .dropgrid table {margin-bottom: 20px;}
	.reviews {text-align: left;}
	.company_apply .desktop {display:none;}

}