/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
/*PHONE LINK ON MOBILE*/
a[href^="tel"] { color: #fff !important; }

/*HEADER TAGLINE*/
.fusion-header-tagline .tagline-text{margin-right:30px; margin-bottom: 30px; letter-spacing:1px;}

/*MAIN PADDING*/
html .fusion-body #main { padding-left: 5%; padding-right: 5%; }

/*BUTTON HEIGHT*/
.fusion-body .custom-button.fusion-button {padding: 100px;}

/* Form buttons */
.wpcf7-form input[type="submit"] {
    background-color: #333333;
}


/*PERSONALIZZAZIONE TABELLA EVENTI*/

table.events-table {
    margin-bottom: 30px;
	margin-left: auto;
    margin-right: auto;
}

table.events-table thead {
    background-color: #eeeeee;
}

table.events-table td {
    border-style: solid;
    border-color: #eeeeee;
    padding: 5px!important;
	text-align: center;
}

table.events-table td a:nth-child(2) {
    font-weight: bold;
    color: #ffffff;
    background-color: #3f7ccd;
    padding: 10px;
    margin-left: 10px;
}

th.event-time {
    padding: 10px;
}

a {}

table.events-table td a:nth-child(2):hover {
    background-color: #2d69b6;
}


/*PULSANTE CERCA*/

button.em-search-submit.loading {
    background: #3f7ccd!important;
}

button.em-search-submit.loading:hover {
    background-color: #2d69b6!important;
}


/*FILTRO DATA*/

.ui-widget-header {
    border: 1px solid #2d69b6 !important;
    background: #3f7ccd !important;
}


/*PAGINATION EVENTI*/

span.em-pagination {
    background-color: #eeeeee;padding: 10px;
}

a.page-numbers {
    padding: 10px;
}


/*DETTAGLIO EVENTO*/

div#em-booking {
    background-color: #eeeeee;
    padding: 10px;
}

input#em-booking-submit {
    font-weight: bold;
    color: #ffffff;
    background-color: #3f7ccd;
    padding: 10px;
}

input#em-booking-submit:hover {
    background-color: #2d69b6;
}


/*LOGIN PRENOTAZIONE*/

div.em-booking-login {
    margin: 0px 0px 0px 50%!important;
    padding: 10px 10px 10px 10px;
}

.em-booking-form-details {
    width: 50%!important;
}

.em-booking-form-details input.input, .em-booking-form-details textarea {
    width: 100%!important;
    max-width: 250px;
}





/*Tabella eventi con div*/
.wrapper {
  margin: 0 auto;
  padding: 40px;
  max-width: 800px;
}

.table {
  margin: 0 0 40px 0;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  display: table;
}
@media screen and (max-width: 580px) {
  .table {
    display: block;
  }
}

.row {
  display: table-row;
  background: #f6f6f6;
}
.row:nth-of-type(odd) {
  background: #e9e9e9;
}
.row.header {
  font-weight: 900;
  color: #ffffff;
  background: #ea6153;
}
.row.green {
  background: #27ae60;
}
.row.blue {
  background: #2980b9;
}
@media screen and (max-width: 580px) {
  .row {
    padding: 14px 0 7px;
    display: block;
  }
  .row.header {
    padding: 0;
    height: 6px;
  }
  .row.header .cell {
    display: none;
  }
  .row .cell {
    margin-bottom: 10px;
  }
  .row .cell:before {
    margin-bottom: 3px;
    content: attr(data-title);
    min-width: 98px;
    font-size: 10px;
    line-height: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #969696;
    display: block;
  }
}

.cell {
  padding: 6px 12px;
  display: table-cell;
}
.cell a:nth-child(2) {
    background: #2d69b6 !important;
    padding: 5px !important;
    border-radius: 5px !important;
    color: #fff !important;
}
/*
 * .cell a:nth-child(2):hover {
    background: #2d69b6 !important;
    padding: 5px !important;
    border-radius: 5px !important;
    color: #fff !important;
}*/
@media screen and (max-width: 580px) {
  .cell {
    padding: 2px 16px;
    display: block;
  }
}
