/*
Author : Hash Theme.
Template Name: Kidzton - Responsive School Template
Version : 1.0
Customization: Easyray 
*/

/*=============================================================
CSS CUSTOM
=============================
--MAIN CUSTOM SETTINGS

01. HEADER
02. HOME
03. CENTRO
04. TEAM
05. SINGLE TEAM
06. PREVENZIONE
07. SINGLE-PREVENZIONE
08. DIAGNOSI
09. PPA
10. NEWS
11. SINGLE-NEWS
12. SPORTELLO
13. FORM CUSTOMIZATION
14. FOOTER
15. CALL TO ACTION
16. GALLERY
17. SPORTELLO

--MEDIA QUERY MIN--MAX
--MEDIA QUERY MIN
--MEDIA QUERY MAX

=============================================================*/

/*-------------------------MAIN CUSTOM SETTINGS*/
.link_home a {
	font-family: 'Dosis', sans-serif;
	color: #333;
	text-decoration: none;
}
.link_home a:focus,
.link_home a:hover {
	color: #034ea2;
	text-decoration: none;
}
.service-slides-wrapper.owl-theme .owl-dots {
	text-align: center;
}
.service-list-img img {
	height: 250px;
	object-fit: cover;
	width: 100%;
}
.active_cat {
	background-color: #0e70c7!important;
	color: #ffffff!important;
}
.active_cat a {	
	color: #ffffff!important;
}
.div_btn_back {
	text-align: center;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 6%;
}
.group_btn_back {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
}
.service-tab .nav-tabs .nav-link {
	min-width: 270px;
}

/*-------------------------01. HEADER*/
.main-header .mainmenu-area .navbar .dropdown .dropdown-menu li > a {
	padding-right: 0.6rem;
	text-transform: lowercase;
}
.main-header .mainmenu-area .navbar .dropdown .dropdown-menu li > a::first-letter {
	text-transform: uppercase;
}
.mainmenu-area .navbar-nav .nav-link {
	/* padding: 19px 16px; */
	padding: 19px 20px;
	font-weight: 550;
}
.mainmenu-area .navbar-nav .dropdown .nav-link:after {
	margin-right: -6px;
}
.nav_team .dropdown-menu li a {
	text-transform: capitalize;
}
.nav_team li > a > span {
	text-transform: capitalize;
}
.header-social ul li {
	color: #ffffff;
}
.main-header .mainmenu-area .navbar .dropdown .dropdown-menu li>a:after {
	top: 8px;
}

/*-------------------------02. HOME*/
.text-intro {
	text-align: center;
}
/*owl team carousels*/
.single-team-member .single-team-member-content {
	height: 100px;
}
.single-team-wrapper {
	width: 300px;
	height: auto;
}
.img_home_team_carousel {
	height: 300px;
	width: 300px;	
	object-fit: cover;
}
/*end team owl carousels*/

.service-item-text-holder p {
	text-align: left;
}
.blog-home-des-right {
	padding-top: 15px;
	height: 300px;
	width: 100%;
}
/*service card home*/
.home_service_card {
	height: 436px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;	
	position: relative;
	padding-top: 20px;
	padding-bottom: 20px;
}
.home_service_card p {
	height: 105px;
	overflow: hidden;
}
.abs_btn_home_card {
	position: absolute;
	bottom: 25px;
	left: 50%;
	transform: translate(-50%);
	width: 100%;
}
/*end service card home*/

/*news owl carousel*/
.home_news_img_carousel {
	height: 240px;
	object-fit: cover;
}
.home_card_news {
	height: 280px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;	
	position: relative;
	padding-bottom: 20px;
}
.news_card_btn {
	position: absolute;
	bottom: 25px;
	left: 20px;
}
/*end owl news carousel*/

/*-------------------------03. CENTRO*/
.div_btn_services {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
}

/*-------------------------04. TEAM*/
.team-img {
	width: 135px;
	height: 135px;
	object-fit: cover;
}
.testimonial-style-2-right {
	height: 202px;
}
.testimonial-style-2-right a {
	color: #034ea2;
}
.testimonial-style-2-right:hover a,
.testimonial-style-2-right:active a,
.testimonial-style-2-right:focus a {
	color: #ffffff;
}
.testimonial-style-2-left {
	width: 150px;
}
.testimonial-style-2-left h4:hover {
	color: #0e70c7;
}
.img_sidebar_team {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}
/*-------------------------05.SINGLE TEAM*/
.img_single_team {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	float: left;
	shape-outside: circle(50%);
	margin: 2%;
	object-fit: cover;
}
.sidebar-widget-title a {
	font-family: 'Dosis', sans-serif;
	text-transform: capitalize;
	font-size: x-large;
}
.sidebar-widget-title h5 {
	color: #0e70c7;
	cursor: pointer;
	text-align: center;
}
.sidebar-widget-title h5:hover {
	color: #034ea2;
}
.sidebar-widget-title h5:before {
	display: none;
}
.tea-intro-sec p {
	text-align: justify;
}

/*-------------------------06.PREVENZIONE*/
.service-list-des {
	height: 200px;
}
.prev_card_body a {
	color: #333;
	text-decoration: none;
}
.prev_card_body a:hover {
	color: #0e70c7;
}
.prev_card_body h4:hover {
	color: #0e70c7;
}

/*-------------------------07.SINGLE-PREVENZIONE*/
.ul_side_activities {
	display: flex;
	flex-direction: column;
}
.ul_side_activities li {
	display: flex;
	flex-direction: row;
}
.service-links ul li a {
	padding: 0;
	text-transform: lowercase;
}
.service-links ul li a:first-letter {
	padding: 0;
	text-transform: uppercase;
}
.blog-single-des p {
	text-align: justify;
}

/*also used in single-diagnosi.php*/
.img_single_serv {
	max-height: 400px;
	object-fit: cover;
	width: 100%;
}

/*-------------------------08.DIAGNOSI*/
.diagnosi_card_body a {
	color: #333;
	text-decoration: none;
}
.diagnosi_card_body a:hover {
	color: #0e70c7;
}
.diagnosi_card_body h4:hover {
	color: #0e70c7;
}

/*-------------------------09.PPA*/
.img_ppa_text1 {
	width: 250px;
	height: 250px;
	border-radius: 50%;
	float: left;
	shape-outside: circle(50%);
	margin: 2%;
	object-fit: cover;
}

/*-------------------------10. NEWS*/
.single-blog-post .single-blog-post-wrap .single-blog-post-content h4.single-blog-post-title a {
	font-family: 'Dosis', sans-serif;
	letter-spacing: 0px;
	font-size: 1.2rem;
}
.news_list_title h5 {
	color: #0e70c7;
	text-transform: lowercase;
	font-family: 'Dosis', sans-serif;
	cursor: default;
}
.news_list_title h5:first-letter {
	text-transform: uppercase;
}
.news_list_title h5:hover {
	color: #0e70c7;
}
.img_list_news {
	max-height: 400px;
	object-fit: cover;
	width: 100%;
	margin-bottom: 4%;
}
.news_list_post {
	display: flex;
	flex-direction: column;
}
.blog-read-more-btn {
	width: fit-content;
	margin-top: 4%;
}

/*-------------------------11. SINGLE-NEWS*/
.img_single_news {
	height: 450px;
	object-fit: cover;
	/* object-position: 0 0; */
	width: 100%
}
.single_info i {
	margin-right: 5px;
}

/*-------------------------12. CONTATTI*/
.div_btn_back_work {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	text-align: center;	
}
.map_padding {
	padding-left: 0;
	padding-right: 0;
	position: relative;
	float: left;
	width: 100%;
}

/*-------------------------13. FORM CUSTOMIZATION*/
.div_check {
	width: 100%;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
}
.div_check input[type="checkbox"] {
	position: relative;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
	border: 1px solid #0e70c7;
	background-color: transparent;
}
.div_check label {
	font-family: 'Raleway', sans-serif;
	font-size: 1.1rem;
	display: block;
	position: relative;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}
.div_check input[type="checkbox"] + label:before {
	content: '';
	display: block;
	width: 22px;
	height: 22px;
	border: 1px solid #4f5052;
	position: absolute;
	left: -30px;
	top: 0;
	opacity: .6;
	-webkit-transition: all .12s, border-color .08s;
	transition: all .12s, border-color .08s;
}
.div_check input[type="checkbox"]:checked + label:before {
	width: 10px;
	top: -5px;
	left: -25px;
	opacity: 1;
	border: 2px solid;
	border-top-color: transparent;
	border-left-color: transparent;
	border-bottom-color: #0e70c7;
	border-right-color: #0e70c7;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
}
#errorprivacy {
	display: none;
	font-size: 12px;
	color: red;
	position: absolute;
	top: 25px;
}
.contact-form .form-group input,
.contact-form .form-group.form-message textarea {
	transition: all 0.5s ease-in-out;
}
.contact-form .form-group input:hover,
.contact-form .form-group.form-message textarea:hover {
	-webkit-box-shadow: 6px 6px 6px -1px #7f7f7f;
	box-shadow: 6px 6px 6px -1px #7f7f7f;
}
/*upload area*/
.dropzone {
	border-radius: 5px;
	background-color: #eeeeee;
	border: 1px solid rgba(0,0,0,0.3);
}
.dropzone .dz-preview .dz-details .dz-filename:not(:hover) {
	position: relative;
	top: 5px;
}
.dropzone .dz-preview .dz-image {
	width: 180px;	
}
.dropzone .dz-preview:not(.dz-processing) .dz-progress {
	display: none;
}

/*-------------------------14. FOOTER */
.footer-widget-inner ul li a:hover i {
	color: #ffffff !important;
}
.footer-widget-inner ul li a {
	text-transform: capitalize;
}
.cont_footer_link h4 {
	transition: all 0.5s ease-in-out;
}
.cont_footer_link h4:hover {
	color: #0e70c7;
}

/*-------------------------15. CALL TO ACTION */
.call_padding {
	padding: 70px 40px;
}

/*-------------------------16. GALLERY */
.portfolio-sin-item img {
	max-width: 370px;
	width: 100%;
	height: 270px;
	object-fit: cover;
}

/*-------------------------17. SPORTELLO */
.img_sportello {
	max-height: 450px;
  width: 100%;
  object-fit: cover;
}



/*-------------------------MEDIA QUERY MIN--MAX*/

@media only screen and (min-width: 992px) and (max-width: 1024px) {
	.mainmenu-area .navbar-nav .nav-link {
		padding: 19px 6px;
		font-weight: 550;
		margin-right: 5px;
	}
	.mainmenu-area .navbar-nav .dropdown .nav-link:after {
		margin-right: -11px;
	}

}

@media only screen and (min-width: 1030px) and (max-width: 1199px) {
	.mainmenu-area .navbar-nav .nav-link {
		padding: 19px 10px;
		font-weight: 550;
	}
}
/*-------------------------MEDIA QUERY MIN*/

@media (min-width: 992px) {
	.navbar-expand-lg .navbar-nav {
		justify-content: center;
	}
}

/*-------------------------MEDIA QUERY MAX*/

@media only screen and (max-width: 1280px) {
	.single_banner h2 {
		font-size: 50px;
	}
}

@media only screen and (max-width: 1200px) {
	.section-padding,
	.about-wel-padding {
		padding-left: 4%;
		padding-right: 4%;
	}
}

@media only screen and (max-width: 1024px) {
	.spor_btn {
		padding-left: 10px;
		padding-right: 10px;
		font-size: 10px;
	}
	.div_btn_back_work {
		padding-top: 4%;		
	}
	.single_banner {
		margin-top: -50px;		
	}
	.single_banner h2 {
		font-size: 35px;
	}
}

@media only screen and (max-width: 768px) {
	.testimonial-style-2-left {
		height: 230px;
	}
	.testimonial-style-2-right {
		height: 350px;
	}
	.sidebar-widget-title h5 {
		text-align: center;
	}
	.div_btn_services {
		flex-direction: column;
	}
	.div_btn_services a {
		margin-bottom: 15px;
	}
	.call_text {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}
	.call_btn {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 100%;
	}
	.div_btn_back {
		margin-bottom: 6%;
	}
	.section_padding_ppa {
		padding-bottom: 0;
	}
	.single_banner h2 {
		font-size: 32px;
	}

}

@media only screen and (max-width: 600px) {
	.testimonial-style-2-right {
		height: auto;
	}
	.img_ppa_text1{
		margin: 20px;
	}
}

@media only screen and (max-width: 425px) {
	.section-padding,
	.about-wel-padding {
		padding-left: 2%;
		padding-right: 2%;
	}
	.img_ppa_text1 {
		position: relative;
		display: block;
		float: none;
		left: 0;
		right: 0;
		margin: 20px auto;
	}
	.text-intro {
		text-align: justify;
	}
	.call_padding {
		padding: 70px 20px;
	}
	.blog-read-more-btn {
		padding: 8px 14px;
		font-size: 10px;
	}
	.single-blog-post .single-blog-post-wrap {
		padding-left: 0;
	}
	.spor_padding {
		padding-left: 25px!important;
	}
	.blog-read-more-btn {		
		margin-top: 6%;
	}
	.service-links ul li {
		padding-left: 10px;
		padding-right: 10px;
	}
	.group_btn_back {
		flex-direction: column;
		margin-top: 5%;
	}
}

@media only screen and (max-width: 375px) {
	.call_padding {
		padding: 70px 0;
	}
	.bic_text h4 {
		font-size: 1.3rem;
	}
	.single-team-wrapper {
		width: 280px;
		height: auto;
	}
	
	.img_home_team_carousel {
		height: 280px;
		width: 280px;	
		object-fit: cover;
	}	
}

@media only screen and (max-width: 320px) {
	.section-padding,
	.about-wel-padding {
		padding-left: 2%;
		padding-right: 2%;
	}	
	.bic_text h4 {
		font-size: 1.1rem;
	}
	.call_text h2 {
		font-size: 28px;
	}
	.div_check {
		margin-left: 8%;
	}
	.single-team-wrapper {
		width: 230px;
		height: auto;
	}	
	.img_home_team_carousel {
		height: 230px;
		width: 230px;	
		object-fit: cover;
	}
	#errorprivacy {
		font-size: 10px;
	}
	
}
