/*
Theme Name:   NewSchoolRace
Description:  Scuola di guida
Author:       Davide Bolognesi
Author URL:   https://www.davidebolognesi.com
Template:     twentytwenty
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  NewSchoolRace
*/

/* Scrivi qui il tuo foglio di stile personalizzato */


/******* HEADER******/
/* MAIN MENU */
.main-menu-red li{
	border-left:1px solid #000;
}
.main-menu-red li:last-child{border-right:1px solid #000;}


/* IMAGE ROTATION */
.rotate-right img{
transform:rotate(10deg);
-ms-transform: rotate(10deg); /* IE 9 */
-webkit-transform: rotate(10deg); /* Safari e Chrome */
}

.rotate-left img{
transform:rotate(-10deg);
-ms-transform: rotate(-10deg); /* IE 9 */
-webkit-transform: rotate(-10deg); /* Safari e Chrome */
}

/* IMMAGINI */
.overflow-hidden{
	overflow:hidden;
}

/* ICONE */
.separator-icon .elementor-icon-box-icon:after {
    content: '';
    height: 2px;
    width: 50px;
    background: red;
    position: absolute;
    left: 50%;
    margin-left: -25px;
    top: 90px;
}
.separator-icon .elementor-icon-box-icon {
    position: relative;
}

/* CORSI */
.icon-courses h4.elementor-icon-box-title{
	margin:7px;
}


.title-course-holder {
    display: table-cell;
    width: 1%;
    white-space: nowrap;
    padding-right: 4px;
}

.fill-dots {
    height: 3px;
    background-image: radial-gradient(circle closest-side,#b3b3b3 99%,transparent 100%);
    background-position: 50% 45%;
    background-size: 3.5px 1.5px;
    background-repeat: repeat-x;
    display: table-cell;
    width: 98%;
    z-index: 1;
    position: relative;
}
.hour-course-holder {
    display: table-cell;
    width: 1%;
    padding-left: 4px;
    white-space: nowrap;
}

.path-bottom{
	clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

/* FORM CONTATTI */

button#wpforms-submit-116{
	background:#161615;
	color:#fff;
	width:30%;
	text-transform:uppercase;
}
button#wpforms-submit-116:hover{
	background:#8E2A2A;
}

div#wpforms-116-field_3-container{
	padding: 10px 15px;
}
div#wpforms-116-field_0-container, div#wpforms-116-field_3-container, div#wpforms-116-field_4-container{
		margin:0;
	}

#wpforms-116-field_5 iframe.iubenda-ibadge {
    display: inline-block;
    top: 4px;
    left: 5px;
    position: relative;
	width: auto!important;
}


/* MOBILE */

@media (max-width: 767px){
	.separator-icon .elementor-icon-box-icon:after {
		top:75px;
	}
	
	.path-bottom{
	clip-path: polygon(0 0, 100% 0, 100% 97%, 0% 100%);
	}
	
	div#wpforms-116-field_0-container, div#wpforms-116-field_3-container, div#wpforms-116-field_4-container{
		width:100%;
		padding: 10px 0px;
	}

}
