/*
Theme Name: Monografieimpresa
Description: Child theme for Avada theme
Author: Samuele Carpene
Author URI: http://www.intesys.it
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Modifiche Andrea C. */

a,
button {
  cursor: pointer !important;
}

/* Slider Portfolio Item */

.fusion-body .fusion-flexslider .flex-direction-nav a {
  width      : 25px;
  height     : 25px;
  line-height: 25px;
}

.flexslider .flex-direction-nav .flex-next {
  right  : 5px;
  /* adjust offset to match the hover style */
  opacity: 0.8;
  /* adjust opacity to match the hover style */
}

.flexslider .flex-direction-nav .flex-prev {
  left   : 5px;
  /* adjust offset to match the hover style */
  opacity: 0.8;
  /* adjust opacity to match the hover style */
}

.flex-direction-nav a:before {
  font-size: 14px;
  color    : #ffffff !important;
}

/* CookieYes pulsante Impostazioni Consenso */
.cky-banner-element {
  padding      : 8px 30px;
  background   : #f8f9fa;
  color        : #858a8f;
  border       : 1px solid #dee2e6;
  box-sizing   : border-box;
  border-radius: 2px;
  cursor       : pointer;
}

/* Singolo Comunicato Stampa: Nasconde Sezioni Condivisione Social e Post Correlati */
.category-comunicati-stampa .fusion-single-sharing-box,
.category-comunicati-stampa .single-related-posts {
  display: none;
}

.fusion-image-hovers .hover-type-zoomout .fusion-column-inner-bg-image,
.fusion-image-hovers .hover-type-zoomout .fusion-masonry-element-container,
.fusion-image-hovers .hover-type-zoomout .tribe-events-event-image,
.fusion-image-hovers .hover-type-zoomout img {
  max-width: 320px !important;
  transform: scale(1) !important;
  -webkit-transform: scale(1) !important;
  -moz-transform: scale(1) !important;
  -ms-transform: scale(1) !important;
  -o-transform: scale(1) !important;
}

/* Singola Rassegna Stampa: Nasconde Sezione Post Correlati */
.category-rassegna-stampa .single-related-posts {
  display: none;
}

  /* Fine Modifiche Andrea C. */

  .portfolio-table {
    border: 1px solid #eeeeee;
  }

  .portfolio-table__row {
    width: 100%;
  }

  .portfolio-table__row__label {
    width      : 40%;
    float      : left;
    font-weight: bold;
    color      : #007a3d;
    padding    : 5px 10px;
  }

  .portfolio-table__row__value {
    width  : 60%;
    float  : left;
    padding: 5px 10px;
  }

  .portfolio-table__row:before {
    content: " ";
    display: table;
    clear  : both;
  }

  .portfolio-table__row:after {
    content: " ";
    display: table;
    clear  : both;
  }

  .portfolio-table__row--odd {
    background-color: #eeeeee;
  }

  @media (max-width: 991px) {
    .portfolio-table__row {}

    .portfolio-table__row__label {
      width     : 100%;
      margin-top: 10px;
    }

    .portfolio-table__row__value {
      width        : 100%;
      margin-bottom: 10px;
    }
  }

  .project-description table {
    width : 100%;
    border: 1px solid #eeeeee;
  }

  .project-description tr:nth-child(odd) {
    background: #eeeeee;
  }

  .project-description td:first-child {
    font-weight: bold;
    color      : #007a3d;
  }

  .project-description td {
    padding: 5px 10px;
    color  : #8f8f8f;
  }

  .project-description th {
    padding      : 5px 10px;
    border-bottom: 2px solid #666666;
    color        : #2e2e2e;
    background   : #ffffff;
  }

  .project-description table caption {
    background : #333333;
    font-weight: bold;
    font-style : italic;
    color      : #ffffff;
    padding    : 5px;
    text-align : center;
  }

  .postid-50040 .single-related-posts {
    display: none !important;
  }

  @media screen and (max-width: 991px) {

    /* Modifiche Andrea C. */
    .flex-direction-nav {
      display: block;
    }

    .fusion-body .fusion-flexslider .flex-direction-nav a {
      width      : 40px;
      height     : 40px;
      line-height: 40px;
    }

    .flex-direction-nav a:before {
      font-size: 20px;
      color    : #ffffff !important;
    }

    /* fine Modifiche Andrea C. */

    .project-description table td {
      display           : block;
      width             : 100%;
      height            : auto;
      -webkit-box-sizing: border-box;
      -moz-box-sizing   : border-box;
      box-sizing        : border-box;
    }

    .project-description td:first-child {
      margin-top: 10px;
    }

    .project-description td:last-child {
      margin-bottom: 10px;
    }

    .project-description table,
    .project-description table tbody {
      display: block;
    }
  }

  .fusion-portfolio-content-wrapper {
    opacity: 1;
  }

  .fusion-portfolio {
    background-image   : url("./assets/images/loading.gif");
    background-position: center 70px;
    background-repeat  : no-repeat;
  }

  .fusion-portfolio .fusion-portfolio-wrapper {
    opacity: 0;
  }

  .fusion-portfolio.has-loaded {
    background-image: none;
  }

  .fusion-portfolio.has-loaded .fusion-portfolio-wrapper {
    opacity: 1;
  }