/* General Rules */

/*
primary #FFC801
secondary #0A0A0A
text #2E2E2E
buttons #28A745
*/


/* Continue button icon styling */



.company_apply {
    display: flex;
    align-items: center; /* Align items vertically in the center */
}

.company_apply_icon {
    margin-left: 10px; /* Spacing between the text and the icon */
}

.company_apply_icon i {
    font-size: 16px; /* Adjust the icon size as needed */
}




/* Tooltips */
/* Tippy Tooltip Custom Styling */
.tippy-box {
    background-color: #4A90E2; /* Tooltip background color */
    color: white; /* Tooltip text color */
    border-radius: 4px;
    padding: 8px 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Optional: adds a subtle shadow */
}

.tippy-arrow {
    color: #4A90E2; /* Arrow color, same as tooltip background */
}
.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; /* Adjust the size as needed */
    height: 20px; /* Adjust the size as needed */
    margin-right: 5px; /* Space between icon and label */
    background-color: white; /* Background color */
    color: #fae9af; /* Icon color */
    font-size: 14px; /* Adjust as needed */
    cursor: pointer;
}

.filter-item {
    display: flex;
    align-items: center;
}

/* Font Awesome specific adjustments (if needed) */
.tooltip-icon i {
    line-height: 1; /* Aligns icon vertically within the circle */
}








.electro_form {
 -moz-box-sizing: border-box;
	box-sizing: border-box; 
	margin: 20px 0;
	padding:10px;
	font-size:16px; 
	
}



.electro_sliders {display:block;grid-template-columns: 28% 70%;grid-gap: 2%;}


/*.electro_sliders {display: flex;flex-direction: row;min-height: 100%;align-items: stretch;}*/
.electro_header {order: -1;flex: 0 0 25%}
.electro_rates {order: 1;}

.electro_fixed {max-width:280px;
/*	position: fixed;   */
	background: #fff!important;
    border: solid;
    border-color: #ccc;
    border-width: 1px;
    padding: 0 25px;
}
.sticky {

    width: 100%;
    z-index: 1000;
    /* Additional styles */
}
@media screen and (min-width: 769px) {
    .sticky {
        position: fixed;
        top: 3vh; /* This should match stickyOffsetVH in the script */
        width: 100%;
        z-index: 1000;
        /* Additional styles */
    }
}



/* Sliders */
.electro,
.electro__fill {
	background: #e6e6e6;display: block;height: 8em;
	box-sizing: border-box;
	border-radius: 4em;
}

.electro {
	position: relative;
	height: 10px;
	width: 100%;
	margin:1em 0;
}

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

.electro__fill {
	height: 10px;
	width: 100%;
	background: #FFC801;
	position: absolute;
	top: 0;
}

.electro__handle {
	background: #FFFFFF;
	cursor: pointer;
	display: inline-block;
	width: 18px;
	height:18px;
	position: absolute;
	top: -8px;
	border-radius: 50%;
	border: 4px solid #0A0A0A;
	box-sizing: content-box !important;
}

input[type="range"]:focus + .electro .electro__handle {
	-webkit-box-shadow: 0 0 8px rgba(255, 0, 255, 0.9);
	-moz-box-shadow: 0 0 8px rgba(255, 0, 255, 0.9);
	box-shadow: 0 0 8px rgba(255, 0, 255, 0.9);
}

/*.electro_form h2 {text-align: center;}*/

.electro-range {margin-bottom: 24px;}
.electro-slider-principal {width:100%;}

/* Slider Outputs */
.output-left {display:inline-block;width:50%;text-align: left;}
.output-right {display:inline-block;width:50%;text-align: right;}

.electro_slider_output { font-size: 20px; text-align: center; }
.electro_slider_output div { line-height: 20px; }

.electro_rates { position: relative; }
.electro_rates .more_info a {color: #FFF !important;}

.electro-slideroutput {margin-bottom:20px; display: none; }
.electro-slideroutput:after, .electro-range:after {visibility: hidden;display: block;font-size: 0;content: " ";clear: both;height: 0;}

.electro_form .main_output { padding-bottom: 14px; clear:both;}
	
.output { clear: both; }

/* Default styles for larger screens */

/* Muuttokiire elementti */

.muuttokiire {
    display: flex;
    flex-direction: row;
    align-items: center;
	background-color: #FCF8E9;       /* White background */
    padding: 7px;                /* 15px padding on all sides */
    border: 1px solid #fcb900;    /* Bright but not too bright red border */
	margin-bottom:10px;
	font-size:14px;
	font-weight:500;
}
.muuttokiire-icon {
    flex: 0 0 auto;
    padding-right: 10px;
}

.muuttokiire-text {
    flex: 1 1 auto;
}
.porssihinta-info {
    display: flex;
    flex-direction: row;
    align-items: center;
	background-color: #fff;       /* White background */
    padding: 7px;                /* 15px padding on all sides */
    border: 1px solid #ccc;    
	margin-bottom:25px;
	font-size:14px;
	font-weight:500;
}

.porssihinta-icon {
    flex: 0 0 auto; /* Do not grow, do not shrink, auto basis */
    padding-right: 10px; /* Add some space between icon and text */
}

.porssihinta-text {
    flex: 1 1 auto; /* Grow to fill available space, do not shrink, auto basis */
}


.fa-custom-size {
    transform: scale(0.6); /* Scales down the size to 70% */
	margin-bottom:2px;
}

.companys_matches {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 10px;
}

.companys_matches .offers {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-align: left;
}

.companys_matches .lastupdated {
    font-size: 15px;   
    text-align: right;
    margin-bottom: 0px;
}

/* Styles for mobile screens */
@media screen and (max-width: 768px) {
    .companys_matches {
        flex-direction: column; /* Stack children vertically */
        align-items: flex-start; /* Align children to the start of the container */
    }
	.companys_matches .offers {
		font-size: 18px;
	}
    .companys_matches .offers,
    .companys_matches .lastupdated {
        text-align: left; /* Align text to the left for both elements */
        width: 100%; /* Make each element take the full width */
    }
}




/* Estimate calculator button */
.my-button-container {    display: flex;
justify-content:center;}
.estimator-button {
    display: block; /* Ensure it's a block-level element */
    width: fit-content; /* Adjust width to fit the content */

	margin-left: auto;
    margin-right: auto;

	width: 100%;
    background-color: #fcb900;
    color: white;
    font-weight: bold;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.estimator-button:hover {
    background-color: #fccb33; /* Slightly brighter shade of #fcb900 */
}


/* Filters */
.filters {margin-bottom: 20px;}
.filterbox {margin-top: 0px;}
.filterboxlabel {display:none;}

.filterlabel {display: inline-block;margin-right:18px;font-weight: 900;margin-bottom:5px;margin-top:5px;}

.fas .fa-chevron-down, .fas .fa-chevron-up {color: #FFC801;}

.container {
	display: block;
	position: relative;
	padding-left: 25px;
	margin: 6px 18px 6px 0;
	cursor: pointer;
	font-size: 15px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 18px;
	width: 18px;
	background-color: #fff;
	border: 1px solid #ccc;
}

.container:hover input ~ .checkmark {
	background-color: #ccc;
}

.container input:checked ~ .checkmark {
	background-color: #0A0A0A;
}

.checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.container input:checked ~ .checkmark:after {
	display: block;
}

.container .checkmark:after {
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* Buttons */
.electro_form .selector-label {color:#0A0A0A;}

.electro_form .repaymentsbutton {display: grid;
	grid-template-columns: 49% 49%;
	grid-gap: 2%;
	margin-top: 25px;
	margin-bottom:15px;
}
.electro_form .repaymentsbutton input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}
.electro_form .repaymentsbutton label {
	display: inline-block;
	text-align: center;
	line-height: 30px;
	font-size: 12px;
	font-weight: 900;
	background-color:#FAF7EE;
	color: #0A0A0A;
	cursor: pointer;
}
.electro_form .repaymentsbutton label:hover, .electro_form .repaymentsbutton input[type="radio"]:checked + label {background-color:#FAC502;color:#0A0A0A;}

/* Bank Box Rules */
.companys_header {border: 2px solid #f4f4f4;background-color: #f4f4f4;padding: 0 20px;}
.companys_header div {text-align: center;line-height: 30px;}

.company_box { box-shadow: 0 2px 5px 2px rgba(0,0,0,.15), 0 4px 5px 0 rgba(0,0,0,.15); margin-bottom: 16px; border: 2px solid #C3C4C6; text-align: center;padding: 20px; background: #FFF;position:relative;box-sizing: border-box;border-radius: 4px;}

/* Promo Ribbon */
.company_box .ribbon {padding: 4px;color:#ffffff;font-size:16px;line-height: 16px;text-align: center; border-radius: 12px;width: 200px;background-color: #347fff;position:absolute;left:12px;top:-12px;}


.company_box a{text-decoration: none;}

/* Modattu kliinimpi look 5.4.2021 */
.electro_sliders .company_box .toprow {
	display: grid;
	grid-template-columns: 30% 50% 20%;
	margin-bottom: 12px;
	align-items: top;

}

/* Modattu kliinimpi look 5.4.2021 */
.electro_sliders .company_logo img {
	vertical-align: middle;
	width: auto !important;
	max-height: 70px !important;
	margin-left: auto;
	max-width: 80%;
}


.company_results {color:#0A0A0A;}
.company_results span {
color: #28A745;
font-size: 34px;
font-weight: 500;
}
.company_apply {
	line-height: 50px;
	display:flex;    
	align-items: center; /* Align items vertically in the center */
    justify-content: center; /* Space out the label and the icon */
	background: #28A745;
	font-size:18px;
	font-weight:700;
	color: #FFF !important;
	text-decoration: none;
	box-shadow: 0 5px 11px 0 rgba(0,0,0,.18),0 4px 5px 0 rgba(0,0,0,.15);border-radius: 5px;}

/*.company_apply a ,.company_apply span {	display:flex;    
	align-items: center;  Align items vertically in the center 
    justify-content: center; 
background: #28A745;font-size:18px;font-weight:700;color: #FFF !important;text-decoration: none;box-shadow: 0 5px 11px 0 rgba(0,0,0,.18),0 4px 5px 0 rgba(0,0,0,.15);border-radius: 5px;}*/
.company_apply.mobile {display:none}

/* Modattu kliinimpi look 5.4.2021 */
.electro_sliders .product {
	color: #2E2E2E;
	text-align: center;
	font-size: 14px !important;
	font-weight: bold !important;
	padding-bottom: 8px;
	display: grid;
	grid-template-columns: 20%;
}

/* Modattu kliinimpi look 5.4.2021 */
.electro_sliders .company_box .midrow {
	display: grid;
	grid-template-columns: 20% 20% 20% 20%;
	grid-column-gap: 6.67% !important;
	margin-bottom: 12px;
	padding-top: 12px;
	padding-bottom: 12px;
	border-style: solid;
	border-left: 0px;
	border-right: 0px;
	border-color: #e3e3e3;
	border-width: 1px;
}


.electro_sliders .company_details div:first-child {text-align: left;}
.electro_sliders .company_details {color:#2E2E2E; float: left; display: inline-block; vertical-align: middle;}
.electro_sliders .company_details {font-size:16px}

.electro_sliders .company_inside {text-align: center;}
.electro_sliders .company_inside a.applylink {text-decoration: none;color:#004183;}

/* Bank Box Read More */
.company_box .drop { display: none;}
.readmore { color: #0A0A0A; padding: 5px; text-align: left; width: 100%; min-height: 20px; text-decoration: none;}
.grid {text-align: left;}
.grid p {font-size:14px!important;}
.grid li {font-size:14px!important;}
.grid::after { clear: both; content: ' '; display: block; }

.electro_form_header { display: block;}

/* Circle Rules */
.circle-down 	{ height: 25px; width: 25px; position: absolute; top: 0; left: 0; border-radius: 12.5px; border: 2px solid #0A0A0A; }
.circle-down:after {
	content: "";
	width: 15px;
	position: absolute;
	height: 3px;
	background-color: #0A0A0A;
	top: 50%;
	margin-top: -1.5px;
	left: 50%; 
	margin-left: -7.5px;
}
.circle-up 		{ height: 25px; width: 25px; position: absolute; right: 0; top: 0; border-radius: 12.5px; border: 2px solid #0A0A0A; }
.circle-up:after {
	content: "";
	width: 15px;
	position: absolute;
	height: 3px;
	background-color: #0A0A0A;
	top: 50%;
	left: 50%; 
	margin-top: -1.5px;
	margin-left: -7.5px;
}
.circle-up:before {
	content: "";
	width: 3px;
	position: absolute;
	height: 15px;
	background-color: #0A0A0A;
	top: 50%;
	left: 50%;
	margin-top: -7.5px;
	margin-left: -1.5px;
}
.output-number	{ font-family:montserrat;line-height: 22px; font-size:18px!important;color:#0A0A0A!important;}
.output-number output {font-family:montserrat;color: #0A0A0A;font-weight:bold!important;}
.output-pad		{ padding: 0 25px; line-height: 25px; min-height: 25px; position: relative; }
.circle-up:hover, .circle-down:hover { background-color: #FFC801; cursor: pointer; }
.circle-control {
	display:none;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	 -khtml-user-select: none; /* Konqueror HTML */
	   -moz-user-select: none; /* Firefox */
		-ms-user-select: none; /* Internet Explorer/Edge */
			user-select: none; /* Non-prefixed version, currently
								  supported by Chrome and Opera */
}

/* Show More */
#lc_show_more{display:none;text-align:center;cursor:pointer;position:relative;color:#0A0A0A;font-size:25px;z-index:999;margin:15px auto 35px auto;height:25px;line-height:25px!important}
#lc_show_more:hover{display:none;color:#408dc2;}
#lc_show_more .fg{display:none;position:absolute;width:100%;height:100%;top:0;left:0}

/* Product Page */
#electro_single {background-color: #ffffff;padding:36px;}
#electro_single .desktop {display: grid;grid-template-columns: 49% 49%;grid-column-gap: 2%;}
#electro_single .mobile {display: none;}
#electro_single .topblock {margin-bottom: 24px;}
#electro_single .info2 {border: 1px solid #ccc;padding: 12px;background-color: #fefdf5}
#electro_single .info3 {border: 1px solid #ccc;padding: 12px;margin-bottom: 24px;background-color: #fefdf5}
#electro_single .info4 {border: 1px solid #ccc;padding: 12px;}
#electro_single .datablock {border: 1px solid #ccc;padding: 18px;-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.4);-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.4);box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.4);}
#electro_single .datablock img {max-width:150px;padding-bottom: 12px}
#electro_single table {width:100%;margin-bottom: 12px;}
#electro_single table td {border-bottom: 1px solid #cccccc;padding: 12px 0;}
#electro_single .electro_infogrid td:nth-child(2) { text-align: end; font-weight: 900;}
#electro_single .usp {margin: 12px 0 12px 24px;}

/* 965px wide screens */
@media only screen and (max-width: 965px) {
	.readmore { border-right: none; }
	.electro_sliders {display:block;}
	.electro_header {order:1;flex:0;}
	.electro_fixed{position: relative;width:100%;}
	.filters {border: 1px solid #C3C4C6;background-color: #fff; padding: 12px;border-radius: 4px;margin-bottom: 20px;}
	.filterbox {display:none;}
	.filterboxlabel {display:block;cursor: pointer;color:#0A0A0A;}
	.container {display: inline-block;}
	.electro_fixed {max-width:100%;
    box-sizing: border-box!important; /* Include padding and borders in the width */
    margin-left: auto; /* Center the element if needed */
    margin-right: auto; /* Center the element if needed */
	margin-bottom:20px;}
	.estimator-button {
		max-width: 350px;}
}


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

.company_apply {

	font-size:15px;
}	
	.electro_form {font-size: 14px;}
	
	.output-number	{font-size:18px;}
	
	.companys_header {display:none;}
	.electro_rates {margin-top: 10px;}
	
	.electro_sliders .company_box .toprow {
		display: grid;
		grid-template-columns: 35% 55%;
		grid-column-gap: 10%;
		margin-bottom: 12px;
	}
	.electro_sliders .product {
		color: #2E2E2E;
		text-align: center;
		font-size: 12px !important;
		font-weight: bold !important;
		padding-bottom: 8px;
		display: grid;
		grid-template-columns: 35%;
	}
	
	.electro_sliders 	.company_details { width: 100% !important;}
	.electro_sliders 	.company_logo {text-align: center;}
	.electro_sliders 	.company_logo img {width:auto!important;height:auto;overflow:hidden;margin:0 !important!;padding-left:5px}
	.electro_sliders 	.company_apply.desktop {display:none}
	.electro_sliders 	.company_apply.mobile {display:block;margin-bottom: 16px;}
	.electro_sliders 	.company_details span, .company_details b{width: 50%; float:left;text-align: left;font-size:14px;}
	.electro_sliders 	.company_details b{text-align: right}
	.electro_sliders 	.company_details br {display: none;}
	
	.electro_sliders .company_box .midrow {display: block;margin-bottom: 12px;padding: 6px;}
	.electro_sliders .container {padding-left: 23px;margin: 10px 0 10px 0;font-size: 15px;display:block;}
	
	#electro_single .desktop {display: none;}
	#electro_single .mobile {display: block;}
}

/* Product Page */
#electro_single {background-color: #ffffff;padding:36px;}
#electro_single .electro_infogrid {display: grid;grid-template-columns: 49% 49%;grid-column-gap: 2%;margin-bottom: 24px}
#electro_single .info2 {border: 1px solid #ccc;padding: 12px;background-color: #fefdf5}
#electro_single .info3 {border: 1px solid #ccc;padding: 12px;margin-bottom: 24px;background-color: #fefdf5}
#electro_single .info4 {border: 1px solid #ccc;padding: 12px;}
#electro_single .datablock {border: 1px solid #ccc;padding: 18px;-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.4);-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.4);box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.4);}
#electro_single .datablock img {max-width:150px;padding-bottom: 12px}
#electro_single table {width:100%;margin-bottom: 12px;}
#electro_single table td {border-bottom: 1px solid #cccccc;padding: 12px 0;}
#electro_single .electro_infogrid td:nth-child(2) { text-align: end; font-weight: 900;}
#electro_single .usp {margin: 12px 0 12px 24px;}