/*--------------------------------------------------------------
This is your custom stylesheet.

Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.

Make sure to respect the media queries! Otherwise you may
accidentally add desktop styles to the mobile layout.
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

b, strong {
	font-family:Roboto;
	font-weight:700;
}

/*---COLORS---*/
.primary-color {
    color:##FFA000;
}

.primary-background,
.primary-button {
    background-color:##FFA000;
    color:#fff;
}

.secondary-color{
   color: #00ABE8;
}

.secondary-background, 
.secondary-button {
    background-color:#00ABE8;
    color:#fff;
}

.primary-background p,
.secondary-background p,
.primary-background h2,
.secondary-background h2,
.primary-background small,
.secondary-background small {
    color: #ffffff;
}

.primary-background a,
.secondary-background a,
.primary-background a:hover,
.secondary-background a:hover {
    color:#fff;
    text-decoration: underline;
}

.primary-background a.button,
.secondary-background a.button {
    text-decoration:none;
}

/*
*IN CASO DI BACKGROUND GRADIENTE
.primary-background,
.bs-forums-banner.has-banner-img {
    color:#fff;

    background: hsla(33, 88%, 55%, 1);
    background: linear-gradient(45deg, hsla(33, 88%, 55%, 1) 0%, hsla(212, 94%, 19%, 1) 100%);
    background: -moz-linear-gradient(45deg, hsla(33, 88%, 55%, 1) 0%, hsla(212, 94%, 19%, 1) 100%);
    background: -webkit-linear-gradient(45deg, hsla(33, 88%, 55%, 1) 0%, hsla(212, 94%, 19%, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#F19426", endColorstr="#032F60", GradientType=1 );
}*/

/*--- BUTTONS ---*/
a.button,
button,
input[type="button"],
input[type="submit"] {
    text-transform: uppercase;
}

.outline-button,
#gform_2 input[type="submit"] {
    background-color:transparent !important;
    color:#fff;
    border:2px solid #fff;
}

/*--- ICONE MENU ---*/
.menu-item-308 i::before {
	content: '\e97b';
}

.menu-item-430 i::before {
    content: '\e969';
}

.menu-item-322 i::before {
	content: '\e813'
}

.menu-item-159 i::before {
    content: '\e8e3';
}

.menu-item-160 i::before {
    content: '\e8a8';
}

.menu-item-131 i::before {
    content: '\e96d';
}

.menu-item-355 i::before {
    content: '\e96b';
}

.menu-item-157 i::before {
    content: '\e8dc';
}

/*--- HOMEPAGE ---*/
.home > .entry-header {
    display:none;
}

.page-template-page-fullscreen .site-content>.container,
.page-template-page-fullwidth-content .site-content>.container {
    max-width: none;
    padding: 0;
}

section .container {
    padding: 5%;
}

section .container p {
    max-width: 780px;
    margin: 2rem auto;
}

/*--- NASCONDERE ELEMENTI DA LOGGATO ---*/

.logged-in .utenteloggato {
    display:none;
}

/*--- HOME - COME FUNZIONA ---*/
.come-funziona .wp-block-column {
    padding-bottom: 20px;
}

.come-funziona .come-funziona-img {
    flex-grow: 0.4;
    text-align: center;
}

.come-funziona .wp-block-column img {
    width: 250px;
    height: 250px;
    padding: 50px;
    background-color: #f1f1f1;
}
section .container-boxed img {
    border-radius: 15px;
}

.come-funziona .wp-block-column img.guida-app {
    width: auto;
    height: auto;
    padding: 0;
}

/*--- HOME - BOARD SCIENTIFICO ---*/
.board-scientifico .wp-block-column img {
    width: 250px;
    height: 250px;
    margin-bottom: 20px;
    border-radius:50%;
}

/*--- HOME - FORM CONTATTI ---*/
#home-contatti #gform_2 input[type="text"],
#home-contatti #gform_2 input[type="email"], 
#home-contatti #gform_2 textarea {
    background-color:transparent;
    border:none;
    border-bottom:2px solid #fff;
    color: #fff;
    border-radius:0px;
}

#home-contatti #gform_2 input[type="submit"] {
    display:block;
    margin:0 auto;
}


/*--- FORM GRAVITY ---*/
.gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container input[type=text], 
.gform_wrapper .field_sublabel_hidden_label .ginput_complex.ginput_container select {
	margin-bottom:0;
}

.gform_wrapper li.hidden_label input {
	margin-top:0 !important;
}



/*--- INFORMAZIONI ---*/
.informazioni .wp-block-column{
	padding: 30px;
  background-color: #f1f1f1;
	border-radius:15px;
}

section.board-scientifico .container img {
	border-radius: 50%;}

section.board-scientifico {
	text-align:center;
}

li.menu-item a {
	text-transform:uppercase;
}

/*--- NASCONDERE TAB GRUPPI SU ARCHIVI (commentare in caso vengano attivati i gruppi ---*/
li#media-groups {
display:none;
}

#buddypress .profile.edit .visibility-toggle-link {
	color:#00ABE8;
}

#buddypress .profile.edit .visibility-toggle-link:hover {
	text-decoration:underline;
}

/*Home*/

.button {
    line-height:1.5 !important;
}

.home-page .site-content{
    padding:0 !important;
    padding-top:80px !important;
}

.home-page .container{
    max-width:100%;
    margin:0;
    padding:0;
}


.container-boxed{
    padding:3%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.home-page .site-header-container{
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;}

/*--- SINGLE EVENTO ---*/
.info-single-evento {
  	margin-bottom:10px;
}

.counter-box {
	margin-top:50px;
}

/*--- ARCHIVE EVENTI ---*/
.card-evento .info-evento {
    display:block;
    font-size:14px;
    /*line-height:22px;*/
}

.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
    flex-basis: unset!important;
    flex-grow: 1;
	width: 300px!important;
}

.wp-block-columns {
    flex-wrap: wrap!important;
}

.griglia-eventi {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    flex-direction: row;
}

.info-evento p {
    font-size:14px;
    line-height:22px;
    padding-left:0;
    padding-right:0;
}

.title-evento {
    text-align:center;
    font-weight:bold;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .griglia-eventi {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-right: -15px;
        margin-left: -15px;
    }

    .griglia-eventi .wp-block-column {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.griglia-eventi .wp-block-column {
    margin-left: 0;
    padding:0 15px !important;
    margin-bottom:30px;
}

.card-evento {
    padding:20px;
    background-color:#F1F1F1;
    border-radius:15px;
}

.card-evento:first-child {
    margin-left:0;
}

.button-evento {
  background-color:##5182B5;
    width:100%;
}

.numero-posti-evento {
    margin:0 0 10px 0;
}

.justify {
    text-align:justify !important;
}

/*Disable download media
a.download-media {
	display:none;
}*/ 

/*Gravity Form*/
.gfield_radio label,
.gfield_consent_label small,
.consensi-small label {
	color: #4D5C6D !important;
}

.consensi-small label {
	font-size:14px;
	line-height:16px !important;
}

.counter-box.hideme > .button-evento, .counter-box.hideme > .gform_wrapper{display:none;}
.counter-box.hideme .gform_footer {
    display: none;
}

.relatori p {
	font-size: 14px;
  line-height: 22px;
	padding-left:0;
}


div#primary {
    overflow-x: scroll;
}


/*Nascondere il numero di posti disponibili e il messaggio di posti terminati dell'evento*/
.numero-posti-evento,
.numero-massimo-raggiunto {
	display:none;
}