@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root{
	/* fonts */
	--font: 'Montserrat', Arial, sans-serif;
	--font-regular: 400;
	--font-bold: 700;
	--font-italic: italic;

	/* colors */
	--color-primary-light: #c4c9b5;
	/*--color-primary: #a1c143;*/
	--color-primary: #50563e;
	--color-primary-dark: #373b2b;
	--color-secondary: #f66711;
	--color-dark: #1d1d1b;
}


body{
	font-family: var(--font);
	font-weight: var(--font-regular);
}

p{
	font-family: var(--font);
	font-weight: var(--font-regular);
	color: white;
}

h1, h2, h3, h4, h5, h6{
	color: white;
}


/*
============================================================
FONTS ======================================================
============================================================
*/

h1, h2, h3, h4, h5, h6,
nav.template-main-menu > ul.menu li.menu-item a,
.btn-fill,
.countdown-wrap-layout1 .countdown .countdown-section .countdown-number,
.countdown-wrap-layout1 .countdown .countdown-section .countdown-unit,
.call-to-action-box-layout1 .title,
.footer4.footer-top .footer-menu ul li a,
.footer4.footer-top .footer-address ul li.mail-style,
.footer4.footer-top .footer-address ul li.phone-style,
.about-box-layout2 .content-box .sub-description,
.hero-box-layout2 .sub-title,
.offcanvas-footer ul li,
.hero-box-layout1 .description{
	font-family: var(--font);
}

.footer4.footer-top .footer-menu ul li a{
	font-weight: var(--font-regular);
}

h1, h2, h3, h4, h5, h6,
.btn-fill,
.countdown-wrap-layout1 .countdown .countdown-section .countdown-number,
.call-to-action-box-layout1 .title,
.footer4.footer-top .footer-address ul li.mail-style,
.about-box-layout2 .content-box .sub-description,
.hero-box-layout2 .sub-title,
.offcanvas-footer ul li,
.hero-box-layout1 .description{
	font-weight: var(--font-bold);
}




/*
============================================================
COLORS =====================================================
============================================================
*/


/* white */
.btn-fill.style-three:hover:before,
.btn-fill.style-three:hover{
	background-color: white;
}
.footer4.footer-bottom .copyright-text,
.footer4.footer-bottom .footer-social li a,
.about-box-layout2 .content-box .sub-description,
.offcanvas-content .info li{
	color: white;
}


/* color primary light */

.footer4.footer-top .footer-menu ul li a:hover,
.footer4.footer-bottom .copyright-text .link-text:hover{
	color: var(--color-primary-light);
}

.schedule-inner-wrap-layout2 .tab-content .tab-item:nth-child(1n) .schedule-box-wrap-layout2 .schedule-box-layout2 .info-box .time,
.schedule-inner-wrap-layout2 .tab-nav .menu-item .menu-link,
.schedule-inner-wrap-layout2 .tab-nav .menu-item:nth-child(2n) .menu-link,
.schedule-inner-wrap-layout2 .tab-nav .menu-item:nth-child(1n) .menu-link{
	background-color: var(--color-primary-light);
}

/* color primary */

.text-primary{
	color: var(--color-primary) !important;
}

.btn-fill.style-two:hover,
.location-box-layout2 .list-info li .content-box .list-title,
.location-box-layout2 .list-info li .content-box .list-description,
.location-box-layout1 .map-content .list-info ul li a:hover,
.btn-fill.style-three:hover,
.schedule-inner-wrap-layout2 .tab-content .tab-item:nth-child(1n) .schedule-box-wrap-layout2 .schedule-box-layout2 .info-box .time,
.schedule-inner-wrap-layout2 .tab-nav .menu-item .menu-link,
.schedule-inner-wrap-layout2 .tab-nav .menu-item:nth-child(2n) .menu-link,
.schedule-inner-wrap-layout2 .tab-nav .menu-item:nth-child(1n) .menu-link,
.header4.sticky-on.sticky.trheader nav.template-main-menu ul.menu > li.menu-item > a:hover{
	color: var(--color-primary);
}
.header4.sticky-on.sticky.trheader button.offcanvas-menu-btn.style-one,
.hero-area-space,
.template-fixed-bg,
.btn-fill.style-one,
.header4.trheader button.offcanvas-menu-btn.style-one .menu-btn-icon span,
.btn-fill.style-two,
.footer-wrap-layout2,
.footer1.footer-top,
.footer-wrap-layout4,
.offcanvas-menu-wrap,
nav.template-main-menu > ul.menu > li.menu-item > a:before,
.countdown-wrap-layout1 .countdown-inner-wrap{
	background-color:var(--color-primary);
}

.schedule-inner-wrap-layout2 .tab-content .tab-item:nth-child(1n) .schedule-box-wrap-layout2 .schedule-box-layout2 .info-box .time svg{
	fill: var(--color-primary);
}
.hero-box-layout1 .shape-box path{
	stroke:var(--color-primary);
}

/* color primary dark */

.about-box-layout2 .contact-box,
.location-box-layout1 .map-content,
.schedule-inner-wrap-layout2 .tab-content .tab-item:nth-child(1n) .schedule-box-wrap-layout2 .schedule-box-layout2:hover .info-box,
.schedule-inner-wrap-layout2 .tab-content .tab-item:nth-child(1n) .schedule-box-wrap-layout2 .schedule-box-layout2:hover:before,
.schedule-inner-wrap-layout2 .tab-nav .menu-item:nth-child(1n) .menu-link.active,
.btn-fill.style-one:before,
.btn-fill.style-three,
.btn-fill.style-three::before{
	background-color: var(--color-primary-dark);
}

.schedule-inner-wrap-layout2 .tab-content .tab-item:nth-child(1n) .schedule-box-wrap-layout2 .schedule-box-layout2:hover:nth-child(odd) .info-box:before{
	border-left-color: var(--color-primary-dark);
}
.schedule-inner-wrap-layout2 .tab-content .tab-item:nth-child(1n) .schedule-box-wrap-layout2 .schedule-box-layout2:hover:nth-child(even) .info-box:before{
	border-right-color: var(--color-primary-dark);
}

/* color secondary */

.header4.sticky-on.sticky.trheader .item-btn:hover,
.hero-box-layout2{
	background-color: var(--color-secondary);
}
{
	color: var(--color-secondary);
}


/* color dark */
.schedule-box-wrap-layout2 .schedule-box-layout2 .info-box .title,
.schedule-box-wrap-layout2 .schedule-box-layout2 .info-box .description{
	color:var(--color-dark);
}



/*
============================================================
HEADER =====================================================
============================================================
*/

.header-logo{
	width: 120px;
	/*padding-top: 30px;*/
}
.header-fixed-logo{
	width: 60px;
}
.header:not(.sticky) .logo-menu-wrapper{
	padding-top: 30px;
}

.header-action-item.logo-wrapper > div{
	display: flex;
	align-items: center;
}
/*.header-action-item.logo-wrapper img{
	max-height: 60px;
	margin-right: 15px;
}*/

.header-action-item.logo-wrapper img {
    max-height: 30px;
    margin-right: 5px;
}

.header .header-action-item.logo-wrapper .logo-light{
	display: block;
}
.header .header-action-item.logo-wrapper .logo-dark{
	display: none;
}
.header.sticky .header-action-item.logo-wrapper .logo-light{
	display: none;
}
.header.sticky .header-action-item.logo-wrapper .logo-dark{
	display: block;
}

.rt-header-menu .mobile-logo{
	width: 47px;
}




/*
============================================================
CONTENT ====================================================
============================================================
*/

.btn-fill{
	text-transform: uppercase;

}

.template-fixed-bg{
	background-position: center;
	background-size: cover;
}

.location-wrap-layout1,
.schedule-wrap-layout2{
	background: transparent;
}

.hero-area-space:before{
	content: none;
}
.hero-wrap-layout4{
	height: calc(100vh - 120px);
    padding-top: 150px;
    /*display: flex;
    align-items: center;*/

}
.hero-wrap-layout4:before{
	content: none;
}
.hero-box-layout4{
	width: 992px;
	height: 992px;
	/*background: rgb(255,227,158);
	background: -moz-linear-gradient(42deg, rgba(255,227,158,1) 30%, rgba(138,190,37,1) 100%);
	background: -webkit-linear-gradient(42deg, rgba(255,227,158,1) 30%, rgba(138,190,37,1) 100%);
	background: linear-gradient(42deg, rgba(255,227,158,1) 30%, rgba(138,190,37,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffe39e",endColorstr="#8abe25",GradientType=1);*/
	/*background: url('../image/unirun-sfondo-cerchio-righe.png') var(--color-primary);
	background-position: center;
	background-size: cover;*/
	background: rgb(138,190,37);
	background: -moz-linear-gradient(42deg, rgba(138,190,37,1) 0%, rgba(225,242,91,1) 100%);
	background: -webkit-linear-gradient(42deg, rgba(138,190,37,1) 0%, rgba(225,242,91,1) 100%);
	background: linear-gradient(42deg, rgba(138,190,37,1) 0%, rgba(225,242,91,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#8abe25",endColorstr="#e1f25b",GradientType=1);
}

.hero-box-layout1{
	margin-bottom: 30px;
}
.countdown-wrap-layout1 .countdown-inner-wrap{
	position: static;
}

.countdown-wrap-layout3 .title,
.section-heading.style-six .title{
	font-size: 4rem;
}

.countdown-wrap-layout3 .countdown .countdown-section{
	border-color: white;
	background-color: white;
	color: var(--color-primary);
}

.countdown-wrap-layout1:before,
.countdown-wrap-layout1:after{
	content: none;
}

.countdown-wrap-layout1 .countdown .countdown-section:before{
	background-color: white;
}

.about-box-layout4 .figure-wrap .main-figure{
	margin-left: 0;
}

.video-box-layout1 .figure-box:before{
	content: '';
	width: 400px;
	height: 400px;
	background-size: cover;
	background-position: center;
	border-radius: 50%;
	background-image: url('../image/unirun-sfondo-cerchio-righe.png');
}
.video-box-layout1 .figure-box:after{
	background-image: url('../image/unirun-decorazione-cerchio-gradient.png');
	content: '';
	width: 300px;
	height: 300px;
	background-size: cover;
	background-position: center;
}

.brand-wrap-layout3 .inner-wrap{
	border-color: white;
	background-color: white;
}

.location-box-layout1{
	background-color: white;
	border-radius: 10px;
}
.location-box-layout1 .map-content{
	top: auto;
	right: 60px;
	left:auto;
	bottom: 60px;
}
.location-box-layout1 .map{
	object-fit: contain;
	object-position: left;
	height: 900px;
}

.call-to-action-wrap-layout1{
	background-position: top;
}
.call-to-action-wrap-layout1:before{
	background-color: var(--color-primary);
	opacity: .5;
}

.call-to-action-box-layout1 .title{
	max-width: 850px;
	font-size: 4rem;
}

.gallery-box-layout2 a img,
.gallery-box-layout2{
	border-radius: 0;
}

.hero-wrap-layout4 .overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: .3;
}
{
	background-color: #ffe4d4;
	color: var(--color-secondary);
}


.about-box-layout2 .contact-box{
	position: static;
}


/* MODAL */
.modal .modal-content{
	background-color: var(--color-primary);
}
.modal .btn-close{
	background-color: rgba(255,255,255,0.95);
	border-radius:50%;
}
.modal .modal-header{
	border:none;
}

/* FORM */
form .radio-group.form-check{
	padding-left: 0;
}
form .radio-group.form-check .form-check-input{
	margin-left: 0;
	margin-right: 5px;
}
form .radio-group.form-check > label{
	margin-right: 15px;
}
form .dt_container{
	display: flex;
}
form .dt_container .dt_element:not(.dt_sep){
	display: flex;
	flex-direction: column;
	flex:1;
}
form .dt_container .dt_element input{
	background-color: #F6F6F6;
	border: 1px solid #F6F6F6;
	display: block;
	width: 100%;
	padding: .375rem .75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	background-clip: padding-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: .25rem;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	height: 60px;
}
form .dt_container .dt_element select{
	display: block;
	width: 100%;
	padding: .375rem 2.25rem .375rem .75rem;
	-moz-padding-start: calc(0.75rem - 3px);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	background-color: #fff;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	height: 60px;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
form .dt_container .dt_element.dt_sep{
	margin:0 5px;
	line-height: 60px;
}
.contact-form form p{
	color:#5a5a5a;
}

.form-alert-success{
	position: fixed;
	top:50%;
	left:50%;
	transform: translate(-50%, -50%);
	z-index: 999;
}


/*
============================================================
FOOTER =====================================================
============================================================
*/


.footer1.footer-top .footer-widgets .instagram-feed ul li{
	width: auto;
}
/*.footer1.footer-top .footer-widgets .instagram-feed ul li img{
	max-height: 100px;
}*/

.footer1.footer-top .footer-widgets .instagram-feed ul li img {
    max-height: 74px;
}

.footer1.footer-top .footer-widgets .instagram-feed{
	max-width: none;
}


#copyprivacycookie a {
	color: #ffffff;
}


#copyprivacycookie a:hover {
	color: #f66711;
}



/*
============================================================
GDPR FORM ISCRIZIONI =======================================
============================================================
*/


p.accfovi {
    margin: 0px;
}


/*
============================================================
UNIRACE ====================================================
============================================================
*/

section#unirace .inner-wrap {
    background-image: url(https://unirunbg.it/image/unirun-AK-simulatori.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

section#unirace .inner-wrap {
/*    border: 0px solid #535371 !important;*/
    border-radius: 20px;
    padding: 0px !important;
}


section#unirace .row {
    margin: 0px !important;
}



div#textunirace {
    background-color: #fff;
    border-radius: 20px 20px 20px 20px;
}

p.punirace {
    color: #000;
    text-align: justify;
    padding: 35px 20px 20px 20px;
}





