/*Events CSS*/
.page-events .page-container,
.page-event .page-container {
  max-width: 900px;
}

.Event {
  background: #f5f5f5;
  margin-bottom: 25px;
  border-radius: 25px;
  padding: 25px;
  transition: .4s;
}

.page-events .erorre-404 {
  max-width: 400px;
  margin: 20px auto;
  display: block;
}

.page-events .page-title.err {
  font-size: 2.5rem;
  font-weight: bold;
  max-width: 60%;
  margin: 0 auto;
}


.no-events {
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
}
    
.Event:hover {
  background: #fbfbfb;
  transition: .4s;
}
    
.Event a {   
  color:#595955;
}
    
.Event a:hover {   
  text-decoration: none;
}

.Event .event-textdate,
.Event_Header .event-textdate{
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.Event .event-textdate.mt15,
.Event_Header .event-textdate.mt15{
  margin-top: 15px;
}

.Event .event-day {
  font-size: 50px;
  font-weight: 700;
  display: block;
  line-height: 1;
}
    
.Event .event-month {
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 600;
}
    
.Event .event-title {
  margin-bottom: 10px;
  font-size: 35px;
  line-height: 1.1;
    
}

.Event .event-label_info {
  background: #ffffff;
  border-radius: 10px;
  padding: 5px 7px;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
}
    
.Event .infotime {
  margin: 50px 0;
}
    
.Event .event-hours {
  margin-bottom: 5px;
}

.Event .event-hours,
.Event .event-address {
  display: block;
}

    
.Event .organized {
  margin-bottom: 50px;
}
    
.Event .timeleft {
  text-align: right;
}

.Event:first-of-type {
  background: #e03c21;
}
    
.Event:first-of-type:hover {
  background: #FD584E;
}

.Event:first-of-type a,
.Event:first-of-type a .event-title{
  color: #fff;
}
    
.Event:first-of-type a .event-label_info,
.Event:nth-of-type(2) a .event-label_info,
.Event:nth-of-type(3) a .event-label_info,
.Event:nth-of-type(4) a .event-label_info{
  color: #595955;
}
    
.Event:nth-of-type(2) {
  background: #595955;
}
    
.Event:nth-of-type(2):hover {
  background: #777773;
}

.Event:nth-of-type(2) a,
.Event:nth-of-type(2) a .event-title{
  color: #fff;
}

.Event:nth-of-type(3) {
  background: #878787; 
}
    
.Event:nth-of-type(3):hover {
  background: #B2B2B2;
}

.Event:nth-of-type(3) a,
.Event:nth-of-type(3) a .event-title{
  color: #fff;
}

.Event:nth-of-type(4) {
  background: #C5C5C5; 
}
    
.Event:nth-of-type(4):hover {
  background: #DDDDDD;
}

.page-template-page_eventi_passati .Event {
  background: #f5f5f5; 
}
    
.page-template-page_eventi_passati .Event:hover {
  background: #fbfbfb;
}


.page-template-page_eventi_passati .Event:first-of-type a,
.page-template-page_eventi_passati .Event:nth-of-type(2) a,
.page-template-page_eventi_passati .Event:nth-of-type(3) a,
.page-template-page_eventi_passati .Event:nth-of-type(4) a,
.page-template-page_eventi_passati .Event:first-of-type a .event-title,
.page-template-page_eventi_passati .Event:first-of-type a .event-title,
.page-template-page_eventi_passati .Event:nth-of-type(2) a .event-title,
.page-template-page_eventi_passati .Event:nth-of-type(3) a .event-title,
.page-template-page_eventi_passati .Event:nth-of-type(4) a .event-title {
    color:#595955;
}

/*.entry-header.Events {
  margin-top: 70px;
}
*/
.entry-header.Events .entry-title,
.entry-header.Events .entry-title.doble{
  margin-bottom: 20px;
  display: inline-block;
    margin-top: 0;
}

.entry-header.Events .entry-title.doble a {
  color: #AEAEAA;
  margin-left: 20px;
}

.entry-header.Events.past .entry-title.doble a {
  margin-left: 0px;
  margin-right: 20px;
}

.entry-header.Events .entry-title.doble a:hover {
  color: #595955;
  text-decoration: none;
}

.row.conpadding {
  padding: 0 12px;
}


/*Single Events*/

.Event_Header {
  background: #e03c21;
  margin-bottom: 10px;
  border-radius: 25px;
  padding: 25px;
  transition: .4s;  
  color:#fff;
  margin-top: 70px;
}
    
.Event_Header .event-day {
  font-size: 50px;
  font-weight: 700;
  display: block;
  line-height: 1;
}
    
.Event_Header .event-month {
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 600;
}
    
.Event_Header .event-title {
  margin-bottom: 5px;
  font-size: 35px;
  color: #fff;
    margin-top: 0;
}

.Event_Header .event-label_info {
  background: #ffffff;
  border-radius: 10px;
  padding: 5px 7px;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;  
  color:#595955;
}
    
.Event_Header .infotime {
  margin: 50px 0;
}
    
.Event_Header .event-hours {
  margin-bottom: 5px;
}

.Event_Header .event-hours,
.Event_Header .event-address {
  display: block;
}

i.icona{
  width: 25px;
  height: 25px;
  display: inline-block;
  vertical-align: bottom;
  background-size: 115%;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 5px;
    margin-left: -3px;
}
.infotime .event-hours,
.infotime .event-address{
  position: relative;
  padding-left: 30px;
}

.infotime i.icona{
  display: block;
  position: absolute;
  left:0;
  top:0;
}

.Event:first-of-type i.icona.orologio,
.Event:nth-of-type(2) i.icona.orologio,
.Event:nth-of-type(3) i.icona.orologio,
.Event_Header i.icona.orologio{
    background-image: url('../../assets/icons/events/ICONA-Orologio.svg');
    
}


.page-template-page_eventi_passati .Event:first-of-type i.icona.orologio,
.page-template-page_eventi_passati .Event:nth-of-type(2) i.icona.orologio,
.page-template-page_eventi_passati .Event:nth-of-type(3) i.icona.orologio,
i.icona.orologio{
    background-image: url('../../assets/icons/events/ICONA-Orologio-dark.svg');
}

.Event:first-of-type i.icona.indirizzo,
.Event:nth-of-type(2) i.icona.indirizzo,
.Event:nth-of-type(3) i.icona.indirizzo,
.Event_Header i.icona.indirizzo{
    background-image: url('../../assets/icons/events/ICONA-Mappa.svg');
    
}

.page-template-page_eventi_passati .Event:first-of-type i.icona.indirizzo,
.page-template-page_eventi_passati .Event:nth-of-type(2) i.icona.indirizzo,
.page-template-page_eventi_passati .Event:nth-of-type(3) i.icona.indirizzo,
i.icona.indirizzo{
    background-image: url('../../assets/icons/events/ICONA-Mappa-dark.svg');
}


i.icona.calendario{
    background-image: url('../../assets/icons/events/ICONA-Calendario.svg');
  transition: .1s;
}

a:hover i.icona.calendario {
  filter: invert(65%) sepia(89%) saturate(4695%) hue-rotate(347deg) brightness(100%) contrast(92%);
  transition: .1s;
}
    
.Event_Header .organized {
  margin-bottom: 50px;
}
    
.Event_Header .timeleft {
  text-align: right;
}

.timeleft .margin-left{
  margin-left:20px;
}

.Event .immagine_piccola,
.Event_Header .immagine_piccola{
  border-radius: 10px;
}


.Event_Image {
  height: 300px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 25px;
  margin-bottom: 10px;
}

.Event_Content,
.Event_Time,
.Event_Location,
.Event_Form {
  background: #F1F1F1;
  margin-bottom: 10px;
  border-radius: 25px;
  padding: 25px;
}

.Event_Content .Desc_Content,
.Event_Time .Desc_Content,
.Event_Location .Desc_Content,
.Event_Form .Desc_Content{
  font-weight: 800;
  margin-bottom: 50px;
  display: block;
}

.col-lg-6.Event_Time {
  width: calc(50% - 5px);
  margin-right: 10px;
}
.col-lg-6.Event_Location {
  width: calc(50% - 5px);
}

.Event_Time .Content,
.Event_Location .Content {
  margin-bottom: 0;
  display: block;
}

.Event_Time a {
  background: #e13c32;
  border: 1px solid #e13c32;
  border-radius: 10px;
  color: #fff;
  padding: 7px 14px;
  float: right;
  text-decoration: none;
  transition: .4s;
  margin-top: 35px;
}

.Event_Time a:hover {
  color: #e13c32;
  border: 1px solid #e13c32;
  background: #fff;
  text-decoration: none;
  transition: .4s;
}

.Event_Map{
  margin-bottom: 10px;
  border-radius: 25px;
  padding: 0; 
  overflow: hidden;
}

.Event_Form .hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  z-index: 0;
  left: -300000px;
  opacity: 0;
}

.Event_Form form {
  width: 50%;
}

.Event_Form form .servotecnica-btn {
  min-width: auto;
}

.Event_Form .form-control{
  color: #111;
}
.Event_Form .form-control:focus{
  border: none;
  border-bottom: 1px solid #e03c21;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #111;
}

.Event_Form .form-control::placeholder {
  opacity: 0.5;
}

.Event_Form .form-control:focus::placeholder{
  opacity: 1;
}

.Event_Form .wpcf7-form-control.wpcf7-checkbox.checkbox,
.Event_Form .mandatory-info{
  font-size: 14px;
  line-height: 1.4;
}

/*RESPONSIVE*/

@media screen and (max-width:991px){
.col-lg-6.Event_Time,
.col-lg-6.Event_Location {
  width: 100%;
  margin-right: 0px;
}  
    
}

@media screen and (max-width:830px){
.Event_Form form {
  width: 60%;
}
    
}


@media screen and (max-width:767px){
.Event_Form form {
  width: 100%;
}
    
.Event .immagine_piccola,
.Event_Header .immagine_piccola{
  margin-bottom: 20px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
    
}

@media screen and (max-width:575px){
.Event_Header .infotime,
.Event .infotime {
  margin: 30px 0;
}
    
.Event_Header .organized,
.Event .organized {
  margin-bottom: 30px;
}
    
.Event .datacol,
.Event_Header .datacol{
  display: none;
}
    
.Event .infocol,
.Event_Header .infocol{
  width: 100%;
}
    
.Event .event-title,
.Event_Header .event-title{
  font-size: 30px;
  line-height: 1.1;
}
    
} 

