/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 1.6.3
*/

/* GLOBAL */
.grecaptcha-badge{visibility: collapse !important;}
.author-date .author, .author-date .date span{display:none;}
.elementor-container{max-width:1920px;}

body{ margin: 0 auto; max-width:1920px; background-color: #f3f3f5; }

p {
	padding: 0 16px;
	hyphens: auto;
	hyphenate-limit-chars: 12 5 5;
}

:focus-visible {
	box-shadow: 0 0 2px 2px oklch(60% 0.236 255 / 0.5) !important;
	
	outline-color: transparent !important;
  	outline-width: 2px !important;
	outline-style: solid !important;
	outline-offset: 2px !important;
}

#Content{padding-top:0;}

.wpcf7-spinner{display:none;}

@media only screen and (max-width: 767px) {
.section_wrapper{ padding-left:20px !important; padding-right:20px !important; }
}

/* HEADER */
@media only screen and (min-width: 1921px) {
.header-kuva{background-size:auto !important;}
}

header#Header {
	min-height: unset !important;
}

#Top_bar #logo img.svg {
	width: 200px;
}
/* MENU */
#menu a {
	text-transform: uppercase;
}
#Top_bar.is-sticky {
	opacity: 1;
}

#Top_bar .menu > li a::after {
	top: 50% !important;
	left: 10%;
	position: absolute;
	width: 80%;
	margin-top: 20px;
}
#Top_bar .menu > li > a span:not(.description) {
	padding: 0 8px;
}
#Top_bar .menu > li a:not(.menu-toggle)::after {
	background: oklch(64.5% 0.206 255 / 0.5);
}
.menuo-arrows:not(.keyboard-support) #Top_bar .menu > li.submenu > a:not(.menu-toggle)::after {
	opacity: 1;
}

/* SUB-MENU */
#Top_bar ul.sub-menu a {
	text-transform: none;
}
#Top_bar ul.sub-menu > li:hover a::after {
	top: 50% !important;
	left: 10%;
	position: absolute;
	width: 80%;
	margin-top: 20px;
	content: '';
}
#Top_bar ul.sub-menu > li a:not(.menu-toggle)::after {
	background: oklch(64.5% 0.206 255 / 0.5);
}
#Top_bar ul.sub-menu li.current-menu-item a:not(.menu-toggle)::after {
	top: 50% !important;
	left: 10%;
	position: absolute;
	width: 80%;
	margin-top: 20px;
	content: '';
}
.menuo-sub-active #Top_bar .menu > li ul li.current-menu-item > a {
	pointer-events: none;
 	cursor: default;
	background: oklch(64.5% 0.206 255 / 0.05);
}
#Top_bar ul.sub-menu > li > a:hover {
	background: oklch(64.5% 0.206 255 / 0.05) !important;
}

/* SIDE SLIDE LINKS TOGGLE */
#Side_slide #menu ul li.submenu .menu-toggle::after {
	position: absolute !important;
	right: 10px !important;
}
#Side_slide #menu ul li.submenu .menu-toggle {
	width: 100% !important;
}

/* SUB-MENU ENG */
#Top_bar ul.sub-menu li.en-sub-menu {
	width:190px !important;
}

/* ETUSIVU */
.elementor-14 .taulukko{height:400px;overflow:auto;}

/* ETUSIVU TABLE */
.table-eka .elementor-column-wrap.elementor-element-populated{background-color:#f6f6f6;}
.table-kolmas .elementor-column-wrap.elementor-element-populated{background-color:#E0E0E0;}

/* FORMI */
.input_cont_third_width{width:33.33%;display:inline-block;box-sizing:border-box;float:left;padding-bottom:20px;background:transparent;}
.input_cont_third_width:nth-child(1),.input_cont_third_width:nth-child(2){padding-right:20px;}
.input_cont_third_width input{padding:20px;}
.reserve_form textarea{padding:20px;}
.header-form-check{margin-top:8px;}
.header-form-check .wpcf7-list-item{margin-left:0px;}
.header-form-check .wpcf7-list-item input{margin:0 6px 0 1px;}
.header-form-check .wpcf7-list-item input[type=checkbox]{transform: scale(1.25);}

.contact_submit {
	text-align: center;
}

.contact_submit input[type="submit"] {
	border-radius: 3rem;
    text-shadow: 0 0.04rem 0.04rem oklch(0.38 0 0 / 0.75);
	margin: 0 auto;
}

.reserve_submit input[type="submit"]:hover{background:#fff;color:#d30535;border:1px solid #d30535;}
.reserve_submit{text-align:center;margin-top:30px;}
.reserve_submit input[type="submit"]{padding: 12px 80px 12px 80px;background:#d30535;-webkit-transition: all .3s;transition: all .3s;position:relative;font-weight:600;font-size:18px;border-radius:1px;margin:0;border:1px solid #d30535;}
.wpcf7 .ajax-loader{margin:0 0 0 10px;}
input[type="file"]{display: none;}
.wpcf7-response-output{color:#CD5A6D;position:relative;z-index:10;margin-left:0 !important;padding-left:0 !important;float:none !important;text-align:center;}

.reserve_submit input[type="submit"]{background:url(/wp-content/uploads/Laheta_nappi.svg) center center;text-indent:-9999px;box-shadow:none;font-size:0px;max-width:250px;width:100%;height:50px;padding:0px;background-repeat:no-repeat;border:none;}
.reserve_submit input[type="submit"]:hover{background: url(/wp-content/uploads/Laheta_nappi.svg) center center;box-shadow:none;border:none;max-width:250px;width:100%;height:50px;background-repeat:no-repeat;}

@media only screen and (max-width: 600px) {
.input_cont_third_width {width: 100%;padding-bottom:20px;}
.input_cont_third_width:nth-child(1),.input_cont_third_width:nth-child(2){padding-right:0px;}
.reserve_submit input[type="submit"]{width:100%;}
}

/* FORMI EN */
.reserve_submit_en input[type="submit"]:hover{background:#fff;color:#d30535;border:1px solid #d30535;}
.reserve_submit_en{text-align:center;margin-top:30px;}
.reserve_submit_en input[type="submit"]{padding: 12px 80px 12px 80px;background:#d30535;-webkit-transition: all .3s;transition: all .3s;position:relative;font-weight:600;font-size:18px;border-radius:1px;margin:0;border:1px solid #d30535;}

.reserve_submit_en input[type="submit"]{background:url(/wp-content/uploads/Send.svg) center center;text-indent:-9999px;box-shadow:none;font-size:0px;max-width:250px;width:100%;height:50px;padding:0px;background-repeat:no-repeat;border:none;}
.reserve_submit_en input[type="submit"]:hover{background: url(/wp-content/uploads/Send.svg) center center;box-shadow:none;border:none;max-width:250px;width:100%;height:50px;background-repeat:no-repeat;}

@media only screen and (max-width: 600px) {
.reserve_submit_en input[type="submit"]{width:100%;}
}

/* EN PROFUTUR FORMI */
.page-id-11603 .wpcf7-form input[type="submit"]{background:url(/wp-content/uploads/Send.svg) center center !important;text-indent:-9999px;box-shadow:none;font-size:0px;max-width:250px;width:100%;height:50px;padding:0px;background-repeat:no-repeat;border:none;}
.page-id-11603 .wpcf7-form input[type="submit"]:hover{background: url(/wp-content/uploads/Send.svg) center center !important;box-shadow:none;border:none;max-width:250px;width:100%;height:50px;background-repeat:no-repeat;}

/* MM-RALLI FORMI */
.page-id-2291 .input_cont_third_width:nth-child(4),.page-id-2291 .input_cont_third_width:nth-child(5){padding-right:20px;}
.page-id-2291 .question{margin-bottom:10px;font-weight:600;font-size:18px;}
.page-id-2291 textarea.wpcf7-textarea{margin-bottom:20px;max-height:125px;}
.page-id-2291 .wpcf7-form input[type="submit"]{margin-left:50px;}
.page-id-2291 .reserve_form{padding-bottom:40px;}
.page-id-2291 .reserve_submit{margin-bottom:40px;}
.page-id-2291 .wpcf7-response-output{color:white;position:absolute;z-index:10;text-align:center;font-size:20px;font-weight:600;top:74%;left:20%;right:20%;background:rgba(0,0,0,.9);padding:20px 10px !important;}

@media only screen and (max-width: 600px) {
.page-id-2291 .input_cont_third_width:nth-child(4),.page-id-2291 .input_cont_third_width:nth-child(5){padding-right:0px;}
.page-id-2291 .wpcf7-response-output{top:74%;left:2%;right:2%;background:rgba(0,0,0,.9);padding:20px 10px !important;}
}

/* MM-RALLI FORMI TEMP */
.page-id-12380 .input_cont_third_width:nth-child(4),.page-id-12380 .input_cont_third_width:nth-child(5){padding-right:20px;}
.page-id-12380 .question{margin-bottom:10px;font-weight:600;font-size:18px;}
.page-id-12380 textarea.wpcf7-textarea{margin-bottom:20px;max-height:125px;}
.page-id-12380 .wpcf7-form input[type="submit"]{margin-left:50px;}
.page-id-12380 .reserve_form{padding-bottom:40px;}
.page-id-12380 .reserve_submit{margin-bottom:40px;}
.page-id-12380 .wpcf7-response-output{color:white;position:absolute;z-index:10;text-align:center;font-size:20px;font-weight:600;top:74%;left:20%;right:20%;background:rgba(0,0,0,.9);padding:20px 10px !important;}

@media only screen and (max-width: 600px) {
.page-id-12380 .input_cont_third_width:nth-child(4),.page-id-12380 .input_cont_third_width:nth-child(5){padding-right:0px;}
.page-id-12380 .wpcf7-response-output{top:74%;left:2%;right:2%;background:rgba(0,0,0,.9);padding:20px 10px !important;}
}

/* TYÖPAIKAT */
.tyopaikat-wrapper .tyopaikat-ilmo:nth-child(even){background-color: #e9f3ff;}
.tyopaikat-wrapper .tyopaikat-ilmo:nth-child(odd){background-color: #eaf6e9;}
.tyopaikat-wrapper .tyopaikat-ilmo{padding:60px 70px;}
.tyopaikat-wrapper .tyopaikat-hakuaika{font-weight:600;}
.tyopaikat-wrapper button{background:url(/wp-content/uploads/Hae_tyopaikkaa.svg) center center;text-indent:-9999px;box-shadow:none;font-size:0px;max-width:250px;width:100%;height:50px;padding:0px;background-repeat:no-repeat;border:none;border-radius:0;margin:30px 0 0 0;}
.tyopaikat-wrapper .button-wrapper{text-align:center;}

@media only screen and (max-width: 768px) {
.tyopaikat-wrapper .tyopaikat-ilmo{padding:50px 20px;}
}

/* TYÖPAIKAT ENG */
.tyopaikat-en-wrapper .tyopaikat-ilmo:nth-child(even){background-color: #e9f3ff;}
.tyopaikat-en-wrapper .tyopaikat-ilmo:nth-child(odd){background-color: #eaf6e9;}
.tyopaikat-en-wrapper .tyopaikat-ilmo{padding:60px 70px;}
.tyopaikat-en-wrapper .tyopaikat-hakuaika{font-weight:600;}
.tyopaikat-en-wrapper button{background:url(/wp-content/uploads/Apply_for_a_job.svg) center center;text-indent:-9999px;box-shadow:none;font-size:0px;max-width:250px;width:100%;height:50px;padding:0px;background-repeat:no-repeat;border:none;border-radius:0;margin:30px 0 0 0;}
.tyopaikat-en-wrapper .button-wrapper{text-align:center;}

@media only screen and (max-width: 768px) {
.tyopaikat-en-wrapper .tyopaikat-ilmo{padding:50px 20px;}
}

/* KOULUTUKSET JA WEBINAARIT */
.courses-wrapper {}
.courses-title { text-align: center; }
.courses-title h2 { margin: 0 auto; }
.courses-box { display: grid; gap: 2rem; padding: 1.5rem; }
.courses-box--training { background-color: oklch(0.96 0.021 144 / 1); }
.courses-box--online { background-color: oklch(0.96 0.021 310 / 1); }
.course-item { }
.course-item__details,
.course-item__links {
	display: flex;
	align-items: center;
  	justify-content: space-between;
}
.course-item__details > div,
.course-item__links > div {
	flex: 1 1 0;
	width: 0;
	line-height: 1;
}
.course-item__details > div {
	font-weight: 800;
}
.course-item__links > div:nth-child(1) { text-align: left; }
.course-item__links > div:nth-child(2) { text-align: center; }
.course-item__links > div:nth-child(3) { text-align: right; }
.course-item__links > div a {
	color: #d30535;
	text-decoration: none;
	font-size: 0.875rem;
}
.course-item__date { color: #2E2D2C; font-size: 1rem; text-align: left; }
.course-item__location { color: #2E2D2C; font-size: 1.25rem; text-align: center; padding: 0 0.25rem; hyphens: auto; }
.course-item__hours { color: #2E2D2C; font-size: 1rem; text-align: right; }
.course-item__title {
	text-align: left;
}
.course-item__title h1 {
	color: #171B3D;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1;
	margin: 0.375rem 0 0;
}
.course-item__description {
	color: #555;
	font-size: 0.9375rem;
	line-height: 1.1;
	hyphens: auto;
	padding: 0.125rem 0 0.25rem;
}

@media print {
	.courses-layout {}
	.courses-layout > .elementor-container {
		display: block;
		margin: 0 auto !important;
	}
	.courses-layout .courses-layout-column {
		display: block;
		margin: 0 auto !important;
		
		break-before: page;
		break-after: page;
		break-inside: avoid;
	}
	.courses-wrapper {}
	.courses-box--training,
	.courses-box--online {
		background-color: transparent;
	}
	.course-item__links {
		display: none;
	}
	.course-item__description {
		color: #333;
	}
}

/* KOULUTUS */
.koulutus-wrapper, .k-a-wrapper{display:flex;flex-flow:wrap;}
.koulutus-wrapper .koulutus-ilmo:nth-child(1){background-color:#f6f6f6;}
.koulutus-wrapper .koulutus-ilmo:nth-child(2){background-color:#bedce6;}
.koulutus-wrapper .koulutus-ilmo:nth-child(3){background-color:#DCDCDC;}
.koulutus-wrapper .koulutus-ilmo:nth-child(4){background-color:#f0f0f0;}
.koulutus-wrapper .koulutus-ilmo:nth-child(5){background-color:#f6f6f6;}
.koulutus-wrapper .koulutus-ilmo:nth-child(6){background-color:#bedce6;}
.koulutus-wrapper .koulutus-ilmo:nth-child(7){background-color:#DCDCDC;}
.koulutus-wrapper .koulutus-ilmo:nth-child(8){background-color:#f0f0f0;}
.koulutus-wrapper .koulutus-ilmo:nth-child(9){background-color:#f6f6f6;}
.koulutus-wrapper .koulutus-ilmo:nth-child(10){background-color:#bedce6;}
.koulutus-wrapper .koulutus-ilmo:nth-child(11){background-color:#DCDCDC;}
.koulutus-wrapper .koulutus-ilmo:nth-child(12){background-color:#f0f0f0;}
.koulutus-wrapper .koulutus-ilmo{padding:50px;flex:1 50%;}
.koulutus-wrapper .koulutus-etuliite{margin-bottom:0;}
.koulutus-wrapper .koulutus-ajankohta{font-weight:600;}
.koulutus-wrapper .koulutus-tekstialue{margin-bottom:6px;}
.koulutus-wrapper .koulutusmateriaali{text-decoration:underline;}

@media only screen and (max-width: 768px) {
.koulutus-wrapper .koulutus-ilmo{padding:50px 20px;}
}

/* KOULUTUS  ENG */
.koulutus-en-wrapper,.k-a-wrapper{display:flex;flex-flow:wrap;}
.koulutus-en-wrapper .koulutus-ilmo:nth-child(1){background-color:#ebe6d7;}
.koulutus-en-wrapper .koulutus-ilmo:nth-child(2){background-color:#bedce6;}
.koulutus-en-wrapper .koulutus-ilmo:nth-child(3){background-color:#DCDCDC;}
.koulutus-en-wrapper .koulutus-ilmo:nth-child(4){background-color:#f0f0f0;}
.koulutus-en-wrapper .koulutus-ilmo:nth-child(5){background-color:#ebe6d7;}
.koulutus-en-wrapper .koulutus-ilmo:nth-child(6){background-color:#bedce6;}
.koulutus-en-wrapper .koulutus-ilmo:nth-child(7){background-color:#DCDCDC;}
.koulutus-en-wrapper .koulutus-ilmo:nth-child(8){background-color:#f0f0f0;}
.koulutus-en-wrapper .koulutus-ilmo:nth-child(9){background-color:#ebe6d7;}
.koulutus-en-wrapper .koulutus-ilmo:nth-child(10){background-color:#bedce6;}
.koulutus-en-wrapper .koulutus-ilmo:nth-child(11){background-color:#DCDCDC;}
.koulutus-en-wrapper .koulutus-ilmo:nth-child(12){background-color:#f0f0f0;}
.koulutus-en-wrapper .koulutus-ilmo{padding:50px;flex:1 50%;}
.koulutus-en-wrapper .koulutus-etuliite{margin-bottom:0;}
.koulutus-en-wrapper .koulutus-ajankohta{font-weight:600;}
.koulutus-en-wrapper .koulutus-tekstialue{margin-bottom:6px;}
.koulutus-en-wrapper .koulutusmateriaali{text-decoration:underline;}

@media only screen and (max-width: 768px) {
.koulutus-en-wrapper .koulutus-ilmo{padding:50px 20px;}
}

/* FOOTER */
footer .copyright hr { background-color:rgba(85,85,85,.8); }
footer .footer-heading { font-size: 1.2rem; line-height: 1; padding-bottom: 0.375rem; font-weight: 600; }

@media only screen and (min-width: 1240px) {
	footer aside#custom_html-2 img{width:180px;}
	footer aside#custom_html-7 img{width:180px;}
}
@media only screen and (min-width: 960px) and (max-width: 1239px) {
	footer aside#custom_html-2 img{width:180px;}
	footer aside#custom_html-7 img{width:180px;}
}
@media only screen and (min-width: 768px) and (max-width: 959px) {
	footer aside#custom_html-2 img{width:180px;}
	footer aside#custom_html-7 img{width:180px;}
}
@media only screen and (max-width: 470px) {
	footer .copyright > div:nth-child(3){float:left !important;}
}

.screen-reader-only {
	position: absolute;
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
}