/*
Theme Name: 	Betheme Child
Theme URI: 		http://themes.muffingroup.com/betheme
Author: 		Muffin group
Author URI: 	http://muffingroup.com
Description:	Child Theme for Betheme - Premium WordPress Theme
Template:		betheme
*/

/* Theme customization starts here
-------------------------------------------------------------- */

@media screen and (min-width:1281px) and (max-width:1440px){
	.griglia-3 .one-third.mcb-wrap.col-cta {
    width: 33%!important;
    float: unset;
    margin: 0 auto;
}
}

@media screen and (max-width:1280px){

	.owl-carousel .owl-stage-outer {
    padding-bottom: 25px;
}
	
}
@media screen and (min-width:768px) and (max-width:1280px){
	.griglia-3 .one-third.mcb-wrap {
    width: 33%!important;
    float: none;
    margin: 0 auto;
}
}
@media screen and (max-width:1239px){
	.one.column{
		float:none;
	}
		
	.standard {
		padding-top: 0px !important;
		display: block;
	}

#overlay-menu .sub-menu li a {
    font-size: 20px !important;
    line-height: 24px !important;
    display: inline-block;
    width: 50%;
    margin: 6px auto;
}
	
	#overlay-menu ul li a {
    font-size: 32px !important;
    line-height: 40px !important;
}
ul.sub-menu li:first-child {
    margin-top: 10px;
}
	ul.sub-menu li:last-child {
    margin-bottom: 10px;
}
	.card-servizi h4 {
    margin-bottom: 25px !important;
}
	
	.owl-carousel .owl-stage-outer {
		overflow: unset !important;
	}
	section .one-second.column.inner {
		height: auto !important;
	}
}
@media screen and (min-width:768px) and (max-width:1023px){
	.fascia-cta-soluzione {display:none !important;}
}


@media screen and (max-width:980px){
	section.elementi5 .one-third.column, section.elementi2 .one-third.column, section.elementi4 .one-third.column, section.elementi1 .one-third.column, section.elementi3 .one-third.column, section.elementi6 .one-third.column {display: none;}
	section.elementi5 .two-third.column , section.elementi2 .two-third.column , section.elementi4 .two-third.column , section.elementi1 .two-third.column , section.elementi3 .two-third.column , section.elementi6 .two-third.column {width: 100%;}
	#indirizzi .wpb_column.vc_column_container.vc_col-sm-6 {
    width: 100%;
}
}

@media screen and (max-width:767px){
	
	.page-id-4101 div#Content, .page-id-3172 div#Content, .page-id-3177 div#Content, .page-id-10638 div#Content  {
    margin-top: 0px !important;
    padding-top: 0;
}
	
	
	
	body.single .section.section-post-header {
    background-color: #002f52;
    background-image: none !important;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
    padding: 50px 0;
}
	

	#Header .icon-cancel-fine:before {
    content: url(/wp-content/uploads/2019/09/menu-icon-close.svg)!important;
    animation: fadein 1s;
    -moz-animation: fadein 1s;
    -webkit-animation: fadein 1s;
    -o-animation: fadein 1s;
}
	
	h1.rs-layer {
		text-align: center !important;
		font-size:42px !important;
		line-height: 40px !important;
	}
	h2.rs-layer {
		text-align: center !important;
		line-height: 40px !important;
	}
	h4 {
		font-size: 24px !important;
		line-height: 24px !important;
		text-align: center !important;
	}
	p.big {
		text-align: center !important;
	}
	section#studenti .one-second {
		width: 50%;
		float: left;
	}
	.mbl-inverti {
		flex-direction: column-reverse;
		display: flex !important;
		align-content: center;
	}

	.mobile-header-mini #Top_bar #logo {
		height: 50px!important;
		line-height: 50px!important;
		margin: 5px 0;
		text-align: left;
		width:50px!important;
	}	
	.full-height {
		height: auto !important;
	}
	.col-cta.elementi2,.col-cta.elementi3,.col-cta.elementi4,.col-cta.elementi5,.col-cta.elementi6 {
		width: 100%!important;
		align-items: center;
	}

	.col-cta.elementi2 img,.col-cta.elementi3 img,.col-cta.elementi4 img,.col-cta.elementi5 img,.col-cta.elementi6 img{
		display:none;
	}

	.mobile-sticky.logo-overflow #Top_bar.is-sticky #logo img.logo-mobile-sticky {
		max-height: 50px!important;

	}

	.mobile-header-mini.logo-overflow #Top_bar #logo img.logo-mobile {
		max-height: 50px!important;
		margin: 5px 0 0 0;
	}

	.owl-carousel .owl-controls {
		width: 99%!important;
		position: absolute;
		top: 42%!important;
		margin: 0 auto!important;
		right: 0%!important;
		left: 0%!important;
	}


	div.bottone-standard {
		margin: 40px 0px;
		text-align: center;
	}

	div.bottone-standard a {
		padding: 14px 12px !important;
	}


	.one-second.column {
		align-content: center;
		display: inline-grid;
		height: unset !important;
		padding: 0;
		margin: 0;
		width:100%;
		max-height: unset!important;
	}


	h2.titolo {
		text-align: center !important;
		font-size: 42px !important;
		line-height: 40px !important;

	}


	h2.titolo strong {
		margin-left: 0 !important;
		display: block !important;
	}

	section.doppia-colonna {
		height: auto !important;
		display: block !important;
		margin: 25px;
		width: auto;
	}
	.one.column{
		float:none;
	}

	.col-cta.elementi5, .col-cta.elementi2, .col-cta.elementi3, .col-cta.elementi4, .col-cta.elementi6 {
		width: 100%!important;
		align-items: center;
		height:unset !important;
	}	

	.card-servizi {
		margin: 35px 2% !important;
		width: 96% !important;
	}

	.card-soluzione {min-height:380px;}
	
	.quote-before, .quote-after {
		font-size: 40px!important;
		line-height: 40px!important;

	}

	blockquote p {
		font-size: 23px!important;
		line-height: 23px!important;	

	}

	.cta-soluzione {
		margin: 25px 0 !important;
	}

	.cta-servizi h3, .cta-soluzione h3 {
		font-size: 36px!important;
		line-height: 36px!important;
	}

	.one-third.column, .two-third.column {
		width: 100%;
		height: unset !important;
	}

	section.doppia-colonna-asimmetrica {
		padding: 20px 0 !important;
		align-content: center!important;
		display: grid;
	}

	section#fascia-13501 img {
		position: unset !important;
		height: unset !important;
		max-height: unset !important;
		width: 100%;
	}

	.one-second.mcb-wrap {
		width: 100%;
		height: unset !important;
	}
	.one-third.mcb-wrap {
		width: 100%;
		height: unset !important;
	}
	.home section, .page-template-chi-siamo section {
		background-image: none;
	}
	.bg-nuvole {
		background-image: url(/wp-content/uploads/2019/10/bg-nuvole.png) !important;
	}
	
	#Header i.icon-menu-fine:before {
		content: url(/wp-content/uploads/2019/09/menu-icon-m.svg)!important;
		animation: fadein 1s;
		-moz-animation: fadein 1s;
		-webkit-animation: fadein 1s;
		-o-animation: fadein 1s;
	}	
	.logo-no-margin #Top_bar .logo {
		margin-left: 15px !important;
		padding: 0!important;
	}
	.header-overlay .overlay-menu-toggle {
		top: 15px !important;
		right: 15px;
	}
	/************** SLIDER *************/
	span.tp-bullet-title{display:none!important;}
		.ares .tp-bullet:hover, .ares .tp-bullet.selected {
		background: #869791!important;
	}


	.ares .tp-bullet {
		width: 11px;
		height: 11px;
		position: absolute;
		background: #d6d6d6!important;
		border-radius: 50%;
		cursor: pointer;
		box-sizing: content-box;
	}
	
#Top_bar {
    padding-top: 0 !important;
}


}