/* 
Theme Name: British School Group
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.img_home a { display:block !important; }

.img_blog > div { background-position: center; background-size: cover; }

.select_home { min-width: 300px; }

#accordion dt, #accordion dd { padding: 10px 20px; justify-content: unset !important; flex: unset !important; }
#accordion dt { background:#565b6b; margin: 20px 0px 0px; color: #ffffff; cursor: pointer; font-size: 20px; }
#accordion dt:before { content:"\f105"; display:block; font-family:"FontAwesome"; margin-right:20px; color: #ffffff; }
#accordion dd { flex-wrap:wrap; align-items:unset; display:none; }
#accordion dd h3:not(:first-of-type), #accordion dd h4 { margin-top:20px;  }

#accordion dd h3, #accordion dd h4 { color:#041E42 }
#accordion ul { margin: 0px; padding: 0px 20px 20px; list-style: none; }
#accordion ul li { position: relative; padding: 0px 0px 0px 20px; }
#accordion ul li:before { content:""; width: 10px; height: 10px; position:absolute; top:9px; left:0px;  line-height:20px; background: #EF4F50;  }

/* HEADER */

footer .elementor-nav-menu a { transition: background .25s ease-in-out; }

.btn_top {
	display:none; position: fixed; right: 10px; bottom: 140px; width: 50px; height: 50px; box-shadow: 0px 2px 5px rgba(0,0,0,0.3) !important;
	border-radius: 50px; background:#3C4C90; border:2px solid #fff;  text-align: center; 
}
.btn_top i { color: #fff;  line-height: 48px;  }

.grecaptcha-badge { bottom: 60px !important;}


/* LOGIN */
.custom-login { text-align: center; color: #fff; }


/* POST CONTENT */
.img_top {  background-size:cover; background-position: center; }

.listing_title h2 { transition: all .25s ease-in-out; }
.listing_title h2:hover { color: #3C4C90 !important;  }

.box_txt div > a { color:#EF3340 !important; }
.box_txt div > a:hover { text-decoration:underline; }

.box_txt div > ul { margin: 0px; padding: 20px; list-style: none; }
body:not(.elementor-editor-active) .box_txt div > ul li ul { list-style: none; }
body:not(.elementor-editor-active) .box_txt div > ul li { align-items:center; position: relative; padding:0px 0px 0px 20px; }
body:not(.elementor-editor-active) .box_txt div > ul li:before { content:""; width: 10px; height: 10px; top:8px; left:0px; position:absolute; line-height:20px; background: #EF4F50; border-radius:50%;  }


/* BOTTONI */
.box_txt .wp-block-button__link { font-size: 16px; text-transform:uppercase; color:#fff !important; font-weight:500; background: #041E42; border-radius:10px !important; transition: .25s all ease-in-out; padding:20px 40px; margin: 30px 0px; }
.box_txt .wp-block-button__link:hover { background:#3C4C90; color:#fff; text-decoration:none; }

.jet-listing-dynamic-field__content .btn_blue { font-size: 16px; text-transform:uppercase; color:#fff; background: #041E42; border-radius:10px; transition: .25s all ease-in-out; padding:20px 40px; margin: 30px 0px; display:block; text-align:center; font-weight:700; }
.jet-listing-dynamic-field__content .btn_blue:hover { background:#3C4C90; color:#fff; }

.box_txt a.btn_red { color:#fff !important; text-transform:uppercase; font-weight:900; background-color:#EF3340; border:2px solid #EF3340; border-radius:10px; padding:20px 30px; margin:30px 0px; text-align:center; display:block; transition:all .25s ease-in-out;  }

.box_txt a.btn_red:hover { color:#EF3340 !important; background-color:#fff;  }

.btn_form_sedi { display: none !important; }


/* TABELLE POST */
figure { margin: 0px; }
.box_txt table { border-spacing: 10px; border-collapse: separate; }
.box_txt table tbody tr td { border: none;  }
.box_txt table tbody tr td:first-child { background:#EF4F50; color: #fff; min-width:15%; width:15%; vertical-align: middle; text-align: center; }
.box_txt table tbody tr td { border-radius:10px; padding:20px; }

.box_txt > div h2 { font-size: 24px; color: #EF3340; margin-top:20px; }
.box_txt > div h3 { font-size: 20px; color: #3c4c90; margin-top:20px; border-bottom: 2px solid #EF4F50; width:fit-content;  }

/* SEDI */
#box_form_sedi .jet-listing a { color: #fff; }
#box_form_sedi .jet-listing a:hover { text-decoration:underline; }

#box_form_sedi p { margin:0px; }


/* CITAZIONI */
blockquote { padding: 20px; margin: 0px 0px 20px; border-left: 2px solid  #EF4F50; border-right: 2px solid  #EF4F50; background:#F6F6F6; }
blockquote p { font-size: 16px; margin: 0px 0px 5px; }
blockquote cite { font-size: 14px; }

/* VIDEO */
.wp-block-embed iframe { height: 600px; }

/* FORM E FOOTER FORM */
::placeholder { color:#5D606A !important; opacity:1; }

.form_heading * { max-width: 100% !important; flex: none !important; margin-top:10px; }
.form_heading .jet-form__heading span { color:#EF4F50; font-size: 30px; font-weight: 400;  }

.form_heading .jet-form__heading-desc span  { font-size:18px; }

.jet-form-col { align-items:center; }


.form_sedi .jet-form .privacy-check label { color:#fff;  }

.jet-form input, .jet-form textarea, .jet-form select { background: #F3F3F3; border:0px !important; border-radius:10px !important; line-height:40px; color: #5D606A; }
.jet-form textarea { height: 200px; line-height: 20px; }
.jet-form select { padding: 15px; }
.jet-form button[type="submit"] { background: #3c4c90; border:none; border-radius: 10px; color: #fff; padding: 20px; text-transform: uppercase; font-size: 20px; width:100%; }

.cf-container { margin-top: 20px; }
.cf-container .cf-col-12, .cf-container .cf-col-6, .cf-container .cf-col-4, .cf-container .cf-col-2, .cf-container .cf-col-3 { padding: 10px; float:left; }
.cf-container .cf-col-3 { float: left; }
.cf-container label { margin: 0px 0px 10px; display: block; }
.cf-container input, .cf-container textarea, .cf-container select { 
	background: #F3F3F3; border:0px !important; border-bottom: 1px solid #3c4c90 !important; line-height:40px; height: 60px; color: #5D606A; border-radius: 10px !important; 
}
.cf-container textarea { line-height:20px; }

.cf-container input[type="radio"], .cf-container input[type="checkbox"] { height: auto; margin: 0px 20px 0px 0px; }
.cf-container input[type="submit"] { background: #3c4c90; border:none; border-radius: 0px; color: #fff; padding: 20px; line-height:20px; width:100%; text-transform: uppercase; font-size: 20px; }
.cf-container input[type="submit"]:hover { background: #041E42; }

.cf-container textarea + .wpcf7-not-valid-tip { top: -30px; }
.wpcf7-not-valid-tip { position:absolute; padding: 10px; font-size: 12px; background: #EF4F50; color: #ffffff !important; right: 10px; top:-5px; }

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output { background: #FFCC00; border: none; color: #041E42 !important; padding:20px; margin:5px; }



.btn_iubenda { text-align: center; }

/* LANDING PAGES */
.txt_landing h2 { font-weight: 900; }
.txt_landing > div > ul { margin: 0px; padding: 20px; list-style: none; }
body:not(.elementor-editor-active) .txt_landing > div > ul li { position: relative; padding: 0px 0px 0px 30px; }
body:not(.elementor-editor-active) .txt_landing > div > ul li:before { content:"\f00c"; font-family:'FontAwesome'; color:#009746; position:absolute; top:5px; left:0px;  line-height:20px; }


/* RESPONSIVE */


@media all and (max-width:1399px) {
	.menu_top ul.elementor-nav-menu > li > a { padding-left: 10px !important; padding-right: 10px !important; font-size:12px !important; }
	.menu_top .btn_test_online a { font-size: 12px !important; }
}

@media all and (max-width:1024px) {
	.alignwide { margin:0px !important; }
	
	.wp-block-media-text { grid-template-columns: unset; display: block; }
	.wp-block-media-text .wp-block-media-text__content { padding: 0px; margin: 20px 0px 0px; }
	.wp-block-media-text .wp-block-media-text__content p {  font-size: 16px !important; } 
	
	.btn_form_sedi { display:block; }
	 .select_group { flex-direction:column;  }
	
	.box_txt a.btn_red { display:block !important; }
	
}

@media all and (max-width:768px) {
	
	.img_top { min-height:200px !important; }
	
}


@media all and (max-width:599px) {
	.img_top { min-height:100px !important; }
	.box_txt table tbody tr td, .box_txt table tbody tr td:first-child { float: left; width: 100%; }
	.box_txt table thead { float: left; width: 100%; border-spacing: 0px; }
	.box_txt .wp-block-media-text__media { margin-bottom: 20px; }
	.box_txt .wp-block-media-text__content { padding:0px; }
	.box_txt ul { padding:20px 0px; }
	.box_txt ul li:before { top: 8px; }
	
	.box_txt .jet-form-col { padding:10px; }
	
	.form_field_label, .form_field_label * { display: inline-block;  }
	.form_field_label, .form_field_label div { max-width:100%; width: 100%; }
	
	/* VIDEO */
	.wp-block-embed iframe { height: 300px; }
	
	.select_home { min-width: 260px; }
	
	
	
}


.cf-container {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -5px;
	margin-left: -5px;
}
.cf-col-1, .cf-col-2, .cf-col-3, .cf-col-4, .cf-col-5, .cf-col-6, .cf-col-7, .cf-col-8, .cf-col-9, .cf-col-10, .cf-col-11, .cf-col-12 {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-right: 5px;
	padding-left: 5px;
}
@media ( min-width: 576px ) {
	.cf-col-1 {
		-ms-flex: 0 0 8.333333%;
		flex: 0 0 8.333333%;
		max-width: 8.333333%;
	}
	.cf-push-1 { margin-left: 8.333333%; }
	.cf-col-2 {
		-ms-flex: 0 0 16.66667%;
		flex: 0 0 16.66667%;
		max-width: 16.66667%;
	}
	.cf-push-2 { margin-left: 16.66667%; }
	.cf-col-3 {
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
	.cf-push-3 { margin-left: 25%; }
	.cf-col-4 {
		-ms-flex: 0 0 33.33333%;
		flex: 0 0 33.33333%;
		max-width: 33.33333%;
	}
	.cf-push-4 { margin-left: 33.33333%; }
	.cf-col-5 {
		-ms-flex: 0 0 41.66667%;
		flex: 0 0 41.66667%;
		max-width: 41.66667%;
	}
	.cf-push-5 { margin-left: 41.66667%; }
	.cf-col-6 {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	.cf-push-6 { margin-left: 50%; }
	.cf-col-7 {
		-ms-flex: 0 0 58.33333%;
		flex: 0 0 58.33333%;
		max-width: 58.33333%;
	}
	.cf-push-7 { margin-left: 58.33333%; }
	.cf-col-8 {
		-ms-flex: 0 0 66.66667%;
		flex: 0 0 66.66667%;
		max-width: 66.66667%;
	}
	.cf-push-8 { margin-left: 66.66667%; }
	.cf-col-9 {
		-ms-flex: 0 0 75%;
		flex: 0 0 75%;
		max-width: 75%;
	}
	.cf-push-9 { margin-left: 75%; }
	.cf-col-10 {
		-ms-flex: 0 0 83.33333%;
		flex: 0 0 83.33333%;
		max-width: 83.33333%;
	}
	.cf-push-10 { margin-left: 83.33333%; }
	.cf-col-11 {
		-ms-flex: 0 0 91.66667%;
		flex: 0 0 91.66667%;
		max-width: 91.66667%;
	}
	.cf-push-11 { margin-left: 91.66667%; }
	.cf-col-12 {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}
