/*
Theme Name:     Fiab Cremona Biciclettando
Description:    Tema di Fiab Cremona Biciclettando
Author:         Fiab Cremona Biciclettando 
Template:       hello-elementor
Version:        1.0.0
Text 			Domain: hello-elementor-child
*/


/*spazio pagina*/
.site-main{margin-top:35px; margin-bottom:35px;}

/*LINK COLOR*/
a{color: #0169A6;}
a:hover{color: #008de0;}

/*LIST GITE IN HOME*/
.lista-gite ul{list-style:none;}
.lista-gite li{margin-bottom: 30px;}
.title-gita, .title-gita a{color:#0169A6; font-size: 18px;}
.title-gita a:hover{text-decoration:underline;}

/*LIST NEWS*/
.lista-news a:hover{text-decoration:underline;}

.lista-news .layer-media{       overflow: hidden;
    width: 100%;
    position: relative;
    background-color: transparent;
    height: 0;
    padding-bottom: 55%;
    border-radius: 4px;
    margin-bottom: 5px;}

.lista-news img{display: block;
    height: 100%;
    object-fit: cover;
    position: absolute;
    width: 100%;}

.lista-news .elementor-button-link:hover{text-decoration:none;}

/*LIST EVENTI ARCHIVIO*/
.css-events-list .events-table td{padding:10px !important;}

.img-list-evento{
	overflow: hidden;
    width: 25%;
    position: relative;
    background-color: #fff;
    height: 0;
    padding-bottom: 20%;
	border-radius: 3px 3px 0 0;
	margin-right: 10px;
float: left;}
.img-list-evento img{
	display: block;
    height: 100%;
    object-fit: cover;
    position: absolute;
    width: 100%;}

/*LIST ARCHIVE*/
.uael-post-grid__inner {
    -js-display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
	-ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.uael-post-wrapper{padding-right: calc(28px/2);
    padding-right: 30px;
    margin-bottom: 32px;
    float: left;
    display: inline-block;
    width: 50%;}
.uael-post-wrapper:nth-child(2n){padding-right: 0;}



/*LARGHEZZA DEL CONENUTO PAGINE*/
body:not([class*=elementor-page-]) .site-main {padding:0 10px;
}
@media (min-width: 576px){
body:not([class*=elementor-page-]) .site-main {
    max-width: 1240px;
}}


/* STRUTTURA SINGOLA NEWS */
.container-text{display:flex;}
.text-single {width:75%;}
.container-sidebar-single{width:25%;}
.sidebar-single{padding:10px; background:#fff29f;    margin: 0 0 0 20px;}
.sidebar-single ul{padding:10px; list-style:none;}
.sidebar-single ul li{padding-bottom:10px;}

.post .wp-post-image{margin-bottom:15px;}

/*Sidebar*/
.titolo-widget{
	font-size: 1.25rem;
    font-weight: 500;
    color: #0469a6;
    padding: 10px;
	border-bottom: 1px solid #0469a6;
}
.sidebar-single a{font-weight: 500;}
.sidebar-single a:hover{text-decoration:underline; color: #0469a6;}

.sidebar-single span.post-date{display:none;}

/* SINGOLO EVENTO */
.event .wp-post-image{
	margin-bottom:15px;
	width: 100%;
  max-height: 500px;
  -o-object-fit: cover;
  object-fit: cover;}

@media (max-width: 991px){
.event .wp-post-image {
    max-height: 400px;
}
}

@media (max-width: 575px){
.event .wp-post-image {
    max-height: 300px;
}
}

@media only screen and (max-width : 768px) {
	.container-text {display: block;}
.text-single, .container-sidebar-single {width:100%;}
	.sidebar-single{margin: auto;}
	.text-single table.dettagli-evento td{width:100%; display:block;}
}

/* RISULTATI RICERCA */
.search-results .page-content img.attachment-post-thumbnail{display:none;}

.search-results .page-content p{border-bottom:1px solid #ddd; padding-bottom: 15px;}


/** CSS per contact form —**/
#responsive-form{
max-width:600px /*– cambia questo con la larghezza desiderata –*/;
margin:0 auto;
width:100%;
}
.form-row{
width: 100%;
	display: inline-block;
}
.form-row-space{
    padding-bottom: 22px;
    margin-bottom: 12px;
    border-bottom: 1px solid #666;}
.column-half, .column-full{
float: left;
position: relative;
padding: 0.65rem;
width:100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
.clearfix:after {
content: "";
display: table;
clear: both;
}

/**—————- Media query —————-**/
@media only screen and (min-width: 48em) {
.column-half{
width: 50%;
}
}

/**—————- Per spostare il bottone invio a destra —————-**/

.wpcf7-submit{
float: right;
}

/**—————- Per cambiare il colore del bottone —————-**/
.wpcf7-submit{
background: #000/*– colore sfondo –*/;
color: white/*– colore testo –*/;
}

/**—————- Colore del bottone con il passaggio del mouse —————-**/
.wpcf7-submit:hover{
background: #f3f3f3;
color: #000;
}

/**—————- Per personalizzare il messaggio di successo —————-**/

div.wpcf7-mail-sent-ok {
text-shadow: none;
border: none;
background: #8BC34A;
color: white;
font-family: ‘Raleway’;
}