/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */
/*
.et_header_style_centered #logo {
    margin-top: 60px;
}
*/

#social-sidebar-mobile {
	display: none;
}

/* trick per evitare caricamenti mobile */
@media only screen and (max-width: 767px) {
	.ac-hidden {
		background-image: none !important;
	}
	.et_pb_section {
	   padding: 0px 0; 
	}
	.et_pb_row {
		padding: 40px 0 0 0;
	}
	.et_pb_row_inner_12.et_pb_row_inner {
		padding-top: 30px !important;
	}	
	.et_pb_column_inner_22 {
		margin-top: 30px !important;
	}		
	.et_pb_column {
		/* padding-top: 20px; */
	}	
	.bike-name {
		top: 152px !important;
	}	
	#landing-form .et-pb-contact-message {
		top: 645px !important;
	}	
	.et_pb_text_241 {
		margin-bottom: 0px !important;
	}	
	.et_pb_text_241 h3 {
		margin-top: 30px;
		font-size: 28px;
		text-align: center;
	}
	.et_pb_row_inner_15 {
		padding-bottom: 0px !important;
	}	
	.et_pb_text_247 img {
		width: 40%;
	}
	.et_pb_row_82, .et_pb_column_148, .et_pb_row_83 {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}	
}



.highlight-title {
background: url('/wp-content/uploads/2019/07/black3-brushstroke.png');
background-repeat: no-repeat;
background-size: 100% 95%;
padding: 8px 0;
}
.orange-stroke-title {
    color: white !important;
    text-shadow: rgba(0, 0, 0, .3) 3px 3px 3px, -1px -1px 0 #ff7300, 1px -1px 0 #ff7300, -1px 1px 0 #ff7300, 1px 1px 0 #ff7300;
    font-weight: 800 !important;
    letter-spacing: 0px;
}
.color-gold {
	color: #FFD700 !important;
}
/* landing immagini bici e titoli */

.bike-type-title {
	position: absolute;
    top: -18px;
    LEFT: 0;
    z-index: 999;
    font-variant: small-caps;
    padding: 0px 3px 6px 8px;
    width: 100%;
    background: #ff7300;
    /* border: 2px solid #ff7300; */
}
.bike-type-title h3 {
	color: #fff;
    font-weight: 500;
	padding: 0;
	font-size: 22px !important;
}

 .bike-name {
    position: absolute;
    z-index: 999;
    top: 170px;
    left: -22px;
    padding: 18px 32px 22px 35px;
}
 .bike-name h3 {
	color: #fff;
	padding: 0;
    font-size: 30px;
}

/* form contatto sticky */
#page-container.landing-page-container {
	overflow-y: unset !important;
}
#sticky-col {
    -webkit-position: sticky !important;
    position: sticky !important;
    top: 0;
}

.landing-page-container .fluid-width-video-wrapper {
    padding-top: 0% !important;
	padding-bottom: 200px;
}


#landing-form .et-pb-contact-message {
    position: absolute;
    top: 575px;
    z-index: 999999;
    width: 100%;
}

#landing-form .et-pb-contact-message ul {
    font-size: 12px;
    width: 100%;
}

#landing-form .et_pb_contact_select {
    padding: 10px 20px 10px 10px !important;
}

#landing-form .et_pb_contact_field_radio {
    display: inline-block;
    margin-right: 20px;
}

#landing-form .et-pb-contact-message ul {
    padding-bottom: 0;
}
#landing-form .et-pb-contact-message p:first-child {
    position: relative;
    border-top: 2px solid #ff7300;
	border-left: 2px solid #ff7300;
	border-right: 2px solid #ff7300;
    padding: 10px 10px 5px 10px;
    background: #fff;
    margin-bottom: 0;
	font-weight: 700;
}
#landing-form .et-pb-contact-message ul:first-of-type {
    position: relative;
    border-left: 2px solid #ff7300;
    padding: 0px 10px 20px 25px;
    border-bottom: 2px solid #ff7300;
    border-right: 2px solid #ff7300;
    background: #fff;
    margin-bottom: 25px;
    display: inline-block;
}



#landing-form .et_pb_button {
    margin: 0 auto;
}

#landing-form .et_pb_button:after {
    color: #dd0000!important;
}

#landing-form input, 
#landing-form select,
#landing-form textarea {
    border-radius: 0px 0px 0px 0px;
    overflow: hidden;
	border: 1px solid #dd0000 !important;
}

/*privacy e marketing */
#landing-form .et_pb_contact_field_checkbox label, #landing-form .et_pb_contact_field_radio label {
	font-size: 11px !important;
}

#landing-form .et_contact_bottom_container {
	float: none;
    text-align: center;
    margin-top: 20px;
}

#landing-form textarea {
	height: 100px;
	min-height: 100px;
}

/* fine form contatto sticky */

.single-post .entry-content h2, .single-post .entry-content h3 {
    margin: 15px 0 10px 0;
}
.single-post .entry-content img {
    margin-top: 20px;
    margin-bottom: 30px;
}

@media (min-width: 981px) {
.page-id-13399 .column.size-1of3 .et_pb_post {
    margin-bottom: 18.539% !important;
	}
}

@media (max-width: 980px) {
.page-id-13399 .et_pb_column .et_pb_blog_grid .column.size-1of2 .et_pb_post {
    margin-bottom: 16.21% !important;
	}
 #social-sidebar-mobile { display: initial; }
}

@media (max-width: 767px) {
.page-id-13399 .et_pb_column .et_pb_blog_grid .column.size-1of1 .et_pb_post {
    width: 100%;
    margin-right: 0;
    margin-bottom: 9.5% !important;
	}
}


#main-content { background-color: #efe8e8!important; }
#language-sidebar { float: right; top: 45px; right: 10%; position: absolute; text-align: right; }
li.lang-item { text-transform: uppercase !important; }
#top-menu li.lang-item { display: none; }

@media screen and (max-width: 960px) {
   .hide-mobile {display: none!important;}
	#top-menu li.lang-item { display: inline-block !important; }
    #language-sidebar {display: none!important;}
}
/*
#ordina-eng .et_pb_top_inside_divider {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSI0MHB4IiB2aWV3Q…BhY2l0eT0iLjUiLz48cGF0aCBkPSJNMTI4MCA5OFYwSDBsMTI4MCA5OHoiLz48L2c+PC9zdmc+);
}
#ordina-eng .et_pb_bottom_inside_divider {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSI0MHB4IiB2aWV3Q…BhY2l0eT0iLjUiLz48cGF0aCBkPSJNMTI4MCA5OFYwSDBsMTI4MCA5OHoiLz48L2c+PC9zdmc+);
}
*/

/*

.et_pb_section_ordina.section_has_divider.et_pb_top_divider .et_pb_top_inside_divider{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSI0MHB4IiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI2VmZThlOCI+PHBhdGggZD0iTTEyODAgMTQwVjBIMGwxMjgwIDE0MHoiIGZpbGwtb3BhY2l0eT0iLjUiLz48cGF0aCBkPSJNMTI4MCA5OFYwSDBsMTI4MCA5OHoiLz48L2c+PC9zdmc+);background-size:100% 40px;top:0;height:40px;z-index:10}
.et_pb_section_ordina.section_has_divider.et_pb_bottom_divider .et_pb_bottom_inside_divider{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSI0MHB4IiB2aWV3Qm94PSIwIDAgMTI4MCAxNDAiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI2VmZThlOCI+PHBhdGggZD0iTTEyODAgMTQwVjBIMGwxMjgwIDE0MHoiIGZpbGwtb3BhY2l0eT0iLjUiLz48cGF0aCBkPSJNMTI4MCA5OFYwSDBsMTI4MCA5OHoiLz48L2c+PC9zdmc+);background-size:100% 40px;bottom:0;height:40px;z-index:10;transform:rotateY(180deg) rotateX(180deg)}
.et_pb_section_ordina.et_pb_section{background-color:#151211!important}
.et_pb_section_ordina{padding-top:30px!important;padding-bottom:30px!important}
.et_pb_section_footer.et_pb_section{background-color:#efe8e8!important}
.et_pb_section_footer .et_pb_text_7 h3{font-family:'Lato',Helvetica,Arial,Lucida,sans-serif;text-transform:uppercase;font-size:20px}
.et_pb_section_footer .et_pb_text_7 h2{font-family:'Lato',Helvetica,Arial,Lucida,sans-serif;text-transform:uppercase}
.et_pb_section_footer .et_pb_text_7 h1{font-family:'Lato',Helvetica,Arial,Lucida,sans-serif;text-transform:uppercase}
.et_pb_section_footer .et_pb_text_7{font-family:'Lato',Helvetica,Arial,Lucida,sans-serif;text-transform:uppercase;font-size:12px}
.et_pb_section_footer .et_pb_text_7 h5{font-family:'Lato',Helvetica,Arial,Lucida,sans-serif;font-weight:700;text-transform:uppercase;font-size:12px}
.et_pb_section_footer .et_pb_text_7 h4{font-family:'Lato',Helvetica,Arial,Lucida,sans-serif;text-transform:uppercase;line-height:1.2em}
.et_pb_section_footer .et_pb_text_7 h6{font-family:'Lato',Helvetica,Arial,Lucida,sans-serif;text-transform:uppercase}
.et_pb_section_footer .et_pb_text_11 h5{font-family:'Lato',Helvetica,Arial,Lucida,sans-serif;text-transform:uppercase}
.et_pb_section_footer .et_pb_text_11 h4{font-family:'Lato',Helvetica,Arial,Lucida,sans-serif;text-transform:uppercase;font-size:16px;line-height:1.2em}
.et_pb_section_footer .et_pb_text_11 h3{font-family:'Lato',Helvetica,Arial,Lucida,sans-serif;text-transform:uppercase}
.et_pb_section_footer .et_pb_text_11 h2{font-family:'Lato',Helvetica,Arial,Lucida,sans-serif;text-transform:uppercase}
.et_pb_section_footer .et_pb_text_11 h1{font-family:'Lato',Helvetica,Arial,Lucida,sans-serif;text-transform:uppercase}
.et_pb_section_footer .et_pb_text_11{font-family:'Lato',Helvetica,Arial,Lucida,sans-serif;font-size:12px}
.et_pb_section_footer .et_pb_text_11 h6{font-family:'Lato',Helvetica,Arial,Lucida,sans-serif;text-transform:uppercase}
.et_pb_section_footer .et_pb_image_5{max-width:70%;margin-top:-20px!important;margin-left:0}
.et_pb_section_footer .et_pb_image_5.et_pb_module{margin-left:0px!important;margin-right:auto!important}
.et_pb_fullwidth_header_ordina.et_pb_fullwidth_header .et_pb_fullwidth_header_container .header-content{max-width:50%}
body #page-container .et_pb_fullwidth_header_ordina .et_pb_button_one.et_pb_button:after{line-height:1em;font-size:1.6em!important;opacity:0;margin-left:-1em;left:auto;display:inline-block}
body #page-container .et_pb_fullwidth_header_ordina .et_pb_button_one.et_pb_button:hover:after{left:auto;margin-left:.3em;opacity:1;}
body #page-container .et_pb_fullwidth_header_ordina .et_pb_button_one.et_pb_button:hover{padding-left:0.7em;padding-right:2em}
body #page-container .et_pb_fullwidth_header_ordina .et_pb_button_one.et_pb_button{border-width:1px!important;border-color:rgba(255,255,255,0.4);border-radius:0px;font-size:18px;font-family:'Lato',Helvetica,Arial,Lucida,sans-serif!important;text-transform:uppercase!important;-webkit-text-decoration-color:#ffffff!important;text-decoration-color:#ffffff!important}
.et_pb_fullwidth_header.et_pb_fullwidth_header_ordina{background-color:#151211}
.et_pb_fullwidth_header_ordina.et_pb_fullwidth_header .header-content h1,.et_pb_fullwidth_header_ordina.et_pb_fullwidth_header .header-content h2.et_pb_module_header,.et_pb_fullwidth_header_ordina.et_pb_fullwidth_header .header-content h3.et_pb_module_header,.et_pb_fullwidth_header_ordina.et_pb_fullwidth_header .header-content h4.et_pb_module_header,.et_pb_fullwidth_header_ordina.et_pb_fullwidth_header .header-content h5.et_pb_module_header,.et_pb_fullwidth_header_ordina.et_pb_fullwidth_header .header-content h6.et_pb_module_header{font-size:24px}
*/


ul.et_pb_tabs_controls {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    display: block;
    margin-bottom: 30px !important;
}
.et_pb_tabs_controls li {
    display: inline-block;
    float: none;
    /* border-bottom: none; */

    border-radius: 2px !important;
    font-size: 16px;
    font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif!important;
    padding: .2em .5em .2em .5em;
    line-height: 1em !important;
    border: 1px solid #000 !important;
    text-decoration: none;
    margin-right: 20px;
    margin-bottom: 14px;
    height: auto!important;
}

.et_pb_tabs_controls li a {
   color: #000 !important;
}

.et_pb_tabs_controls li:hover, .et_pb_tabs_controls .et_pb_tab_active  {
    background-color: rgba(0,0,0,.05) !important;
}

.et_pb_module.et_pb_tabs.ds-advent-5 ul.et_pb_tabs_controls {
   padding-left: 0 !important;
}


.et_pb_all_tabs, .et_pb_tabs_controls li.et_pb_tab_active, .ds-advent-5 ul.et_pb_tabs_controls {
    background-color: transparent ;
}

.ds-advent-5 .et_pb_tab {
    padding: 0 !important;
}
.et_pb_row.et_pb_row_4.et_pb_gutters3.et_pb_row_fullwidth {
    max-width: 100%!important;
    width: 100%!important;
}
.et_pb_row.et_pb_row_fullwidth, .et_pb_specialty_fullwidth>.et_pb_row {
    max-width: 100%!important;
    width: 100%!important;
}

.et_pb_row.et_pb_row_4.et_pb_equal_columns.et_pb_gutters1.et_pb_row_6col, .et_pb_row.et_pb_row_5, .et_pb_section_footer  .et_pb_row_5.et_pb_row {
    margin: 0 auto !important;
    padding: 27px 0 !important;
}



@media only screen and (min-width: 1350px) {
.et_pb_row.et_pb_row_4.et_pb_equal_columns.et_pb_gutters1.et_pb_row_6col, .et_pb_row.et_pb_row_5 {
    padding: 27px 0 !important;
}
}

@media (min-width: 981px) {
.et_pb_row.et_pb_row_4.et_pb_equal_columns.et_pb_gutters1.et_pb_row_6col, .et_pb_row.et_pb_row_5 {
    padding: 2% 0 !important;
}
.et_pb_gutters1 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3, .et_pb_gutters1.et_pb_row .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3  {
    width: 29.667%;
    margin-right: 5.5%;
}
.et_pb_gutters1 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3:nth-child(3n), .et_pb_gutters1.et_pb_row .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3:nth-child(3n) {
    margin-right: 0 !important;
}
}

@media (max-width: 980px) {
.et_pb_gutters1 .et_pb_column .et_pb_blog_grid .column.size-1of2, .et_pb_gutters1 .et_pb_column .et_pb_widget, .et_pb_gutters1.et_pb_row .et_pb_column .et_pb_blog_grid .column.size-1of2, .et_pb_gutters1.et_pb_row .et_pb_column .et_pb_widget {
    width: 47.25%;
    margin: 0 5.5% 7.5% 0;
}
.et_pb_column .et_pb_blog_grid .column.size-1of2 .last_in_row, .et_pb_column .et_pb_blog_grid .column.size-1of2:nth-child(2n), .et_pb_column .et_pb_widget .last_in_row, .et_pb_column .et_pb_widget:nth-child(2n) {
    margin-right: 0 !important;
}

}



/*Remove tab module border*/

.ds-advent-5 {
    border: none;
}


/*Remove tabs border*/

.ds-advent-5 ul.et_pb_tabs_controls:after {
    border-top: none;
}


/*Remove tab link border*/

.ds-advent-5 .et_pb_tabs_controls li {
    border-right: none;
}


/*Add content padding*/

.ds-advent-5 .et_pb_tab {
    padding: 20px 20px 0;
}


/*Style the controls*/

.ds-advent-5 ul.et_pb_tabs_controls {
    /* background-color: #fff; */ 
    margin-bottom: 10px;
    padding-left: 20px !important;
}


/*Style the tab links*/

.ds-advent-5 .et_pb_tabs_controls li a {
    font-weight: 500;
    padding: 5px 10px;
}


/*Active tab text colour*/

.ds-advent-5 .et_pb_tab_active a {
    color: #dd0000 !important;
}


/*Set the post container display*/

.ds-advent-5-content .et_pb_ajax_pagination_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}


/*Hide the post excerpt*/

.ds-advent-5-content .post-content {
    display: none;
}


/*Style the pagination*/

.ds-advent-5-content .pagination {
    bottom: 0;
    border-top: 10px solid #f5f5f5;
    position: absolute;
    left: -30px;
    width: calc(100% + 60px);
    padding: 5px 30px;
}

.ds-advent-5-content .pagination a {
    background: transparent;
    color: #FFCE06 !important;
    border: none;
}


/*Set the post width and spacing*/

.ds-advent-5-content .et_pb_post {
    margin-right: 20px;
    max-width: 23.5%;
}


/*Remove margin from the last post*/

.ds-advent-5-content .et_pb_post:nth-child(4n) {
    margin-right: 0;
}


/*Adjust for tablets and mobile*/

@media all and (max-width: 980px) {
    .ds-advent-5-content .et_pb_post {
        max-width: 48.5%;
        padding-bottom: 10px;
    }
    .ds-advent-5-content .et_pb_post:nth-child(2n) {
        margin-right: 0;
    }
}

@media all and (max-width: 767px) {
    .ds-advent-5 ul.et_pb_tabs_controls {
        padding-left: 0 !important;
    }
    .ds-advent-5 .et_pb_tabs_controls li a {
        display: block;
        text-align: center;
    }
    .ds-advent-5 .et_pb_tabs_controls li:last-child {
        border-bottom: none;
    }
    .ds-advent-5-content .et_pb_post {
        max-width: 100%;
        min-width: 100%;
    }
    .ds-advent-5-content .et_pb_post:nth-child(1n) {
        margin-right: 0;
    }
}

