@media (max-width: 575.98px) {
    .view-header-img .img-banner .media {
        height: 40vh;
    }
    .view-header-img .img-banner .field-icon img {
        height: 10vh;
    }
    h3, .h3 {
        font-size: calc(1.3rem + 0.6vw);
    }
    h1, .h1 {
        font-size: calc(1.375rem + 1.5vw);
    }

}
@media (max-width: 991.98px) {
    .view-header-img {
        margin-top: 80px;
    }
    .view-header-img .img-banner .media {
        height: 25vh;
    }
    h3, .h3 {
        font-size: calc(1.3rem + 0.6vw);
    }
    h1, .h1 {
        font-size: calc(1.375rem + 1.5vw);
    }
}

@media (min-width: 992px) {
    .it-header-wrapper.it-header-sticky.is-sticky .it-header-center-wrapper {
        display: block;
        height: 60px;
    }
}

.paragraph--type--table {
    margin: 24px 0;
}

.paragraph--type--table .table {
    max-width: 750px;
    margin: 0 auto;
    color: #455b71;
    text-align: center;
}

.paragraph--type--table .table caption {
    color: #4aaeaa;
    font-weight: 600;
    text-transform: uppercase;
    font-size: inherit;
}

.paragraph--type--table .table tr {
    border-color: transparent;
}

.paragraph--type--table .table tr th.row_0 {
    border-right: 2px solid white;
    border-left: 2px solid white;
}

.paragraph--type--table .table-striped > tbody > tr:nth-of-type(odd) > * {
    background: white;
    border: 0;
    color: #455b71;
}
.paragraph--type--table .table-striped > tbody > tr:last-of-type {
    font-weight: 600;
}
.notifiche-wrapper .callout-cisia {
    max-width: 450px;
}
/* menu main */
#superfish-main li.menuparent a.menuparent.sf-depth-1:after,
#superfish-main-accordion li.menuparent a.menuparent.sf-depth-1:after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    color: white;
    font-weight: 900;
    font-size: 15px;
    margin-left: 8px;
}
#superfish-main li.menuparent ul li.menuparent a.menuparent:after,
#superfish-main-accordion li.menuparent ul li.menuparent a.menuparent:after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    color: white;
    font-weight: 900;
    font-size: 15px;
    margin-left: 8px;
    position: absolute;
    transform: rotate(0deg);
    right: 10px;
}

@media all and (max-width: 990px) and (orientation: portrait) {
    .page-node-type--contenuto-amm-trasp {
        .view-header-img {
            .img-banner-img {
                min-height: 200px;
                 height: 100%;
                h1 {
                    display: none;
                }
                img {
                    object-fit: cover;
                    width: 100%;
                    height: 200px;
                }
            }
        }
    }
}
.view-header-img .img-banner-img img, .banner-img img {
    min-height: 240px;
    object-fit: cover;
}
.view-header-img.no-border .img-banner {
    border-top: none!important;
}
.view-header-img.no-border {
        padding-top: 1px;
        position: relative;
}
.view-header-img .wrapper-text {
    height: 100%;
  align-items: center;
  display: flex;
}
/* slide home english */
.view-home-slider .media--slick {
  position: relative;
}
.view-home-slider .media--slick::after {
    background: radial-gradient(circle, rgba(0, 73, 104, 0.263743) 0%, #004968 100%);
  content: '';
  position: absolute;
  width: 100%;
  top: 0;
  height: 100%;
}

/* search page */
.path-search .js-form-type-search {
    margin-bottom: 0.5rem;
}
.js-form-type-search label {
    position: relative;
}
.button.btn-primary, .js-form-submit.btn-primary {
    color: #fff;
  background-color: #004968;
  border-color: #004968;
  transition: all .2s ease;
}
.button.btn-primary:hover,js-form-submit.btn-primary:hover {
    color: #fff;
  background-color: #569bb0;
  border-color: #569bb0;
}
.path-search .button.btn-primary {
    margin-left: 5px;
}
.path-search ol:not(.breadcrumb) li {
   border-bottom: 1px solid #4aaeaa;
   margin: 5px 0;
   padding-left: 5px;
}
.path-search ol li::marker {
    color: #4aaeaa;
    font-weight: bold;
}
.path-search #edit-help-link {
    margin-bottom: 0.5rem;
    display: block;
}
h3.search-title a {
    color: #004968;
}
h3.search-title a:hover {
    color: #0052a3;
}

/* new color for Test Arched and Bravo */
.overlay {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
}
.custom-color .views-field-field-color {
    display: none;
}
.custom-color .altri-test::before {
    background: none!important;
    content: none!important;
}
.view-header-img .wrapper-text {
    z-index:1;
}
.menu-test.menu-altri-test li a {
    background: white;
}
.menu-test.menu-altri-test li .views-field-title a:hover {
    background: #004968!important;
}
.menu-test.menu-altri-test.menu-side li {
    border-bottom: none;
}
.menu-test.menu-altri-test.menu-side li a.active {
    background: inherit!important;
}
/* paragraph table */
.paragraph--type--accordion .field--name-field-table, .paragraph--type--accordion-item .tablefield-wrapper {
    padding-top: 30px;
}
/*menu footer*/
footer.it-footer ul li a:hover span, footer.it-footer ul li a.active span {
    color: white!important;
}
/* menu voice in it and en */
[lang=en] li.en a, [lang=it] li.it a {
    display: block;
}
[lang=en] li a.en, [lang=it] li a.it {
    display: block;
}
[lang=en] li a.it, [lang=it] li a.en {
    display: none;
}
[lang=it] li.en a, [lang=en] li.it a {
    display: none;
}