html {
    font-size: 62.5%;
}

body {
    font: 1.8rem 'Roboto', sans-serif;
    color: #202125;
    background: #f5f5f5;
}

a {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    color: #000;
}
.expandible-link span {
	display: inline-block;
	margin-left: 10px;
}
.expandible {
	margin-bottom: 20px;
}
.expandible-link {
	cursor: pointer;
	text-align: center;
}
.expandible-link:hover {
	color: #be172c;
}
.expandible-body {
	display: none;
}
.expand h2 span {
	display: none;
}
.expand .expandible-body {
	display: block;
}

a:hover {
    color: #be172c;
}

h1, .h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2, .h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3, .h3 {
    font-size: 2.5rem;
    font-weight: 700;
}

h4, .h4 {
    font-size: 2.2rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
}

header {
    padding: 10px 0 0;
    position: relative;
    background: #be172c;
    z-index: 10;
}

header .logo {
    padding-bottom: 10px;
}

header .logo-anps {
    max-width: 85%;
}


section {
    position: relative;
}


/* NAVBAR */
.nav-primary {
    background: #58585a;
    height: 51px;
    margin: 0 -15px;
    position: relative;
}

.nav-primary.fixed, .nav-primary.open {
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
}

.hamburger {
    line-height: 52px;
    position: absolute;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    width: 123px;
    height: 52px;
    padding: 0 0 0 56px;
}

.hamburger:hover {
    color: #fff;
    text-decoration: none;
}

.hamburger span {
    background: #fff;
    display: block;
    position: absolute;
    left: 20px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    /*    -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -ms-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;*/
    width: 25px;
    height: 3px;
}

.hamburger span:nth-child(1) {
    top: 16px;
}

.hamburger span:nth-child(2) {
    top: 24px;
}

.hamburger span:nth-child(3) {
    top: 24px;
}

.hamburger span:nth-child(4) {
    top: 32px;
}

.logo-stucked-home {
    display: none;
    width: 62px;
    height: 62px;
    position: absolute;
    left: 119px;
    top: -5px;
}

.nav-primary.fixed .logo-stucked-home {
    display: block;
}

.logo-stucked-home:before {
    content: '';
    display: block;
    width: 52px;
    height: 55px;
    margin: 0 auto;
}

/*COLLEGAMENTI RAPIDI*/
.nav-link-wrap {
    display: inline-flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 10px;
    right: 93px;
    width: 110px;
}

.collegamenti_rapidi {
    max-width: 25px;
    height: 25px;
    filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(326deg) brightness(103%) contrast(102%);
}

.collegamenti_rapidi:hover {
    filter: invert(16%) sepia(72%) saturate(3090%) hue-rotate(337deg) brightness(94%) contrast(102%);
}

.ico-social {
    display: inline-flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    max-width: 25px;
    height: 30px;
    color: #fff;
    font-size: 25px;
    line-height: 25px;
    padding: 0 5px;
}

.ico-social:hover {
    color: #b2172b;
}


/*SEARCH*/
.nav-search-but {
    position: absolute;
    color: #fff;
    top: 13px;
    right: 15px;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 25px;
    text-transform: uppercase;
    padding-right: 30px;
    height: 25px;
    display: block;
    cursor: pointer;
}

.nav-search-but:hover {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 359px) {
    .nav-primary.fixed .nav-search-but {
        text-indent: -9999px;
    }

}

.nav-search-but:after {
    content: '';
    background: url(../img/icons/find-bianco.svg) no-repeat;
    position: absolute;
    right: 0;
    width: 25px;
    height: 25px;
}

#searchform p {
    color: #fff;
    font-weight: 700;
    font-size: 2.4rem;
}

/* NAVPRIMARY MENU */
.nav-primary.open .nav-search-wrap {
    display: none !important;
}

.nav-primary-menu {
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    right: 0;
    background: #58585a;
    z-index: 20;
    overflow-y: auto;
    display: none;
}

.nav-primary.open .hamburger {
    background: transparent;
    color: #fff;
    text-decoration: none;
}

.nav-primary.open .hamburger:before {
    content: 'Chiudi';
}

.nav-primary.open .hamburger span {
    background: #fff;
}

.nav-primary.open .hamburger span:nth-child(1), .nav-primary.open .hamburger span:nth-child(4) {
    opacity: 0;
}

.nav-primary.open .hamburger span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.nav-primary.open .hamburger span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.nav-primary.open .hamburger b {
    display: none;
}

.nav-primary.open .nav-primary-menu {
    display: block;
}

.nav-primary.open .logo-stucked-home {
    background: transparent;
    opacity: 1;
    left: auto;
    right: 7px;
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    top: 0;
    height: 50px;
}

.nav-primary.open .logo-stucked-home:before {
    background: url(../img/icons/home.svg) no-repeat center center/contain;
    width: 29px;
    height: 25px;
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    margin-top: 12px;
}

.nav-primary-main a {
    display: block;
    width: 100%;
    text-decoration: none;
    font-weight: 500;
    line-height: 45px;
    padding-left: 20px;
    position: relative;
    color: #fff;
    text-transform: uppercase;
}

.nav-primary-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.nav-primary-menu ul li {
    position: relative;
}

.nav-primary-main ul li a {
    font-size: 1.6rem;
    font-weight: 700;
}

.nav-primary-main ul li ul li a {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: normal;
    padding-top: 10px;
    padding-bottom: 10px;
}

.nav-primary-main ul li ul li:first-child a {
    padding-top: 20px;
}

.nav-primary-main ul li ul li:last-child a {
    padding-bottom: 20px;
}

.nav-primary-main ul li.nav-ico {
    background: #fff;
}

.nav-primary-main ul li.nav-ico a {
    padding-left: 60px;
}

.nav-primary-main ul li:after {
    content: '';
    width: 17px;
    height: 10px;
    display: block;
    position: absolute;
    top: 17px;
    right: 30px;
    pointer-events: none;
}

/*.nav-primary-main ul li.menu-item-has-children:after { background: url(../img/icons/freccia-green.svg) no-repeat center center/contain; }
.nav-primary-main ul li.nav-ico.menu-item-has-children:after, .nav-primary-main ul li.nav-ico.nav--shop:after { background: url(../img/icons/freccia-white.svg) no-repeat center center/contain; }
.nav-primary-main ul ul li:after { display: none; }*/
.nav-primary-main ul li.nav-ico > a {
    color: #58585a;
    border: 2px solid #58585a;
    border-width: 1px 0;
}

.nav-primary-main ul li ul {
    border: 2px solid #58585a;
    border-width: 1px 0;
    display: none;
}

.nav-primary-main ul li.toggled:after {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.nav-primary-main ul li ul li {
    background: #be172c;
}

.nav-primary-social {
    padding: 20px 10px;
}

.nav-primary-social ul li {
    display: inline-block;
}

.nav-primary-social ul li a {
    display: block;
    color: #fff;
    font-size: 3rem;
    line-height: normal;
    width: 55px;
    text-align: center;
}


/* CONTENUTI HOME */
.carousel-item {
    height: auto;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.carousel-indicators {
    z-index: 5;
}

#carouselHome .carousel-item {
    height: 350px;
}

#carouselRecensioni .carousel-control-prev,
#carouselRecensioni .carousel-control-next {
    display: none;
}

#carouselRecensioni .carousel-control-prev {
    left: -25px
}

#carouselRecensioni .carousel-control-next {
    right: -25px;
}

.singolo .carousel-item .entry {
    float: left;
}

.item .caption-title, .item .caption {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.item .caption {
    min-height: 25px;
    font-size: 1.2rem;
}

.testimonianze p.caption {
    display: -webkit-box;
    max-height: 80px;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.5rem;
}

.item .caption-title {
    min-height: 60px;
}

.news {
    width: 160px
}

.news-scroll a {
    text-decoration: none;
    padding: 0 25px;
    border-right: 1px solid #969696;
    display: inline-block;
}

.news-scroll a:last-child {
    border: 0;
}

.news-scroll a .sezione {
    text-transform: uppercase;
    color: #be172c;
    font-weight: 700;
}

.entry {
    position: relative;
}

.entry a {
    text-decoration: none;
}

.entry-tipo {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
	text-align: right;
	margin-bottom: 5px;
	color: #fff;
	padding: 2px 6px;
}
.entry-tipo[data-tipo="evento"] {
	color: #be172c;
}
.entry-tipo[data-tipo="news"] {
	color: #00245e;
}
.entry-tipo[data-tipo="storia"] {
	color: #be172c;
}
.entry-tipo[data-tipo="recensione"] {
	color: #58585a;
}
.entry-tipo[data-tipo="rivista"] {
	color: #58585a;
}

.entry-title {
    display: flex;
    font-weight: 700;
    min-height: 45px;
    align-items: center;
    justify-content: flex-start;
}

.entry-info {
    color: #7A7A7A;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding-top: 10px
}

.entry-cat {
    display: inline-block;
    border-left: 1px solid #7A7A7A;
    padding-left: 1rem;
    margin-left: 1rem;
}

.entry-content-overlay {
    background: rgba(0, 0, 0, .5);
    color: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    padding: 1.5rem;
}

.entry-content-overlay:hover {
    background: rgba(0, 0, 0, .3);
}

.entry-content-overlay a, .entry-content-overlay .entry-info {
    color: #fff;
}

.entry-content-overlay .entry-cat {
    max-width: 100%;
    background: #be172c;
    border: 0;
    font-size: 1.5rem;
    padding: .5rem 1rem;
    margin: 0 0 1rem;
    text-transform: uppercase;
    width: max-content;
}

.intro {
    color: #fff;
}

.intro p {
    margin: 0;
}

.recensioni {
    height: auto;
    background-color: #58585a;
    color: #fff;
}

.recensioni a {
    color: #fff;
}

.recensioni a:hover {
    color: #fff;
    text-decoration: none;
}

.recensioni a.btn:hover {
    color: #be172c;
}

.recensioni .image {
    display: flex;
    flex-flow: row;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.recensioni img {
    max-width: 300px;
}

.recensioni .caption {
    display: flex;
    flex-flow: column;
    align-items: flex-end;
    justify-content: space-between;
}

.recensioni .caption strong {
    display: -webkit-box;
    max-height: 100px;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recensioni .book {
    margin-top: 15px;
}

.no-padding {
    padding: 0;
}

.persona .intro {
    color: #202125;
    text-transform: uppercase;
}
.persona p {
    color: #666;
}
.persona .modal-body strong {
    color: #202125;
    font-style: normal;
}

.persona .modal-body a,
.persona .modal-body p {
    color: #202125;
    font-style: italic;
}


.persona p[data-toggle="modal"] {
    cursor: pointer;
}

.persona .modal-body a:hover {
    color: #be172c;
}

.persona .modal {
    z-index: 999999;
}

.persona .modal-body img {
    max-width: 190px;
    width: 100%;
    margin-bottom: 1rem;
}

.persona .modal-header {
    border-bottom: 1px solid #8c7900;
    margin: 0 10px;
    max-height: 60px;
    align-items: center;
}

.persona .modal-title {
    font-size: 4rem;
    font-weight: 500;
    font-variant: small-caps;
    color: #8f1d32;
}

.persona .modal-body p {
    margin-bottom: 2px;
}

.persona .modal-header .close {
    color: #292929;
    font-size: 2.5rem;
}

.storia {
    background: #8f1d32;
}

.storia .entry-content {
    padding: 1.5rem;
}

.storia .entry-desc {
    padding: 1.5rem 0 0;
    display: -webkit-box;
    max-height: 100px;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonianze .owl-nav,
.storia .owl-nav {
    color: #fff;
}

.storia .owl-theme .owl-nav [class*='owl-']:hover {
    color: #292929;
}

.vai_pagina {
    position: relative;
}

.vai_pagina .btn {
    display: inline-block;
    position: absolute;
    bottom: 13%;
    left: 20%;
    right: 20%;
    padding: 10px 43px;
    text-align: center;
}

.sezioni {
    background-color: #2E2E2E;
}

.sezioni .entry-content {
    position: relative;
    font-size: 1.2rem;
}

.sezioni .entry-content:before {
    content: '';
    display: block;
    background: #fff;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 30px;
    height: 30px;
    position: absolute;
    top: -15px;
    left: 50%;
    margin: 0 0 0 -15px;
}

.sezioni .entry-desc {
    display: -webkit-box;
    max-height: 135px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-sezione {
    display: flex;
    flex-flow: row;
    justify-content: center;
    margin-bottom: 2rem;
}

.persone {
    background: #0e76bd;
}

.gallery {
    background: #000;
}

.cat-title {
    color: #be172c;
}

.intestazione:hover a{
    color: inherit;
    text-decoration: none;
}

.pagination {
    display: block;
    font-size: 1.5rem;
}

.pagination span, .pagination a {
    background: #fff;
    border: solid 1px #be172c;
    color: #be172c;
    display: inline-block;
    margin: 0 7px 7px 0;
    padding: 2px 10px;
    text-decoration: none;
    box-sizing: border-box;
}

.pagination .current, .pagination a:hover {
    background: #be172c;
    color: #fff;
}

.widget {
    background: #fff;
}

.w-gallery {
    background: #000;
}

.w-gallery h3 {
    color: #fff;
}

.breadcrumb {
    background-color: transparent;
}

.post-content {
    line-height: 2.7rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

.nav-single {
    border-top: 2px solid #f5f5f5;
}

.post-content a {
    text-decoration: underline;
}

.text-muted {
    line-height: normal;
}

#map {
    width: 100%;
    height: 400px;
    margin: 0.5rem 0 1.5rem;
}

.rivista {
    text-align: center;
    font-size: 1.5rem;
    text-transform: uppercase;
    line-height: 4rem;
    padding-top: 1rem;
    margin-bottom: 0.5rem;
}

.rivista:hover {
    background: #fff;
}

.rivista a:hover {
    text-decoration: none;
}

.gallery-list-item {
    text-align: center;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.gallery-list-item img {
    margin-bottom: 1.5rem;
}

.gallery-list-item a:hover {
    text-decoration: none;
}

/* SEZIONI */
.pill-content > .pill-pane:not(.active),
.tab-content > .tab-pane:not(.active) {
    display: block;
    height: 0;
    overflow-y: hidden;
}

.nav-tabs {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: flex-start;
    border-bottom: none;
    margin: 0 15px;
}

.nav-tabs .nav-link {
    color: #292929;
    text-decoration: none;
    padding: 1rem 2rem;
}

.nav-tabs .nav-link.active {
    color: #be172c;
    background: #fff;
    border: 1px solid #fff;
}

.map-world {
    height: 400px;
}

.map-italia {
    height: 500px;
}

.map-italia-aside {
    height: 350px;
}

.jvectormap-zoomin, .jvectormap-zoomout {
    display: none;
}

.step-2 .list-group-item {
    background-color: transparent;
    border: 0;
}

.step-2 .list-group-item.active {
    color: #be172c;
    font-weight: 700;
}

.step-2 .list-group-item + .list-group-item.active {
    border: 0;
    margin-top: 0;
}

.step-3 dl, .step-3 .social, .step-3 .google_map {
    border-top: 1px solid #c0c0c1;
}

.step-4 dt,
.step-3 dt {
    color: #be172c;
}

.step-3 .social a {
    font-size: 3rem;
    color: #be172c;
    margin: 0 1rem;
}

.step-3 .social a:hover {
    color: #58585a;
}


.ricerca-sezione input.cerca-input {
    border: 1px solid #58585a;
    border-radius: 25px 0 0 25px;
    width: 70%;
}

.ricerca-sezione .btn.btn-primary {
    border-radius: 0 25px 25px 0;
}

.google_map {
    min-height: 300px;
}

/* ELEMENTI */

.subhead {
    color: #58585a;
    font: 500 2rem 'Roboto', sans-serif;
    text-align: center;
}

.card {
    cursor: pointer;
}

.figure-caption, .video .caption {
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: .8rem;
    font-size: 1.2rem;
    line-height: 124.3%;
    color: #292929;
    min-height: 60px;
}

.video .caption {
}

.gallery .placeholder-wrapper img {
    max-width: 100%;
}

.gallery .placeholder-wrapper {
    display: none;
    position: relative;
}

.gallery .item-img-wrapper {
    display: none;
    position: absolute;
	text-align: center;
	width: 100%;
}

.gallery .item-img-wrapper:first-child {
    display: block;
}

.thumb {
	text-align: center;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #8f1d32;
}


.base-articolo article{
    line-height: 1.5;
}

.base-articolo article .row {
    padding: 0;
    margin: 10px;
}

.base-desc {
    text-align: justify;
}


/* CONTACT FORM */
.form-field {
    display: block;
    margin-bottom: 16px;
}

.form-field__label {
    font-size: 1rem;
    -webkit-transform: translateY(-11px);
    transform: translateY(-11px);
    display: block;
    font-weight: normal;
    left: 0;
    margin: 0;
    padding: 12px 12px 0;
    position: absolute;
    top: 0;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    width: 100%;
}

.form-field__control {
    background: #f4f4f4;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    width: 100%;
    border: 1px solid #b8b8b8;
}

.form-field__input,
.form-field__textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    color: #333;
    display: block;
    margin-top: 20px;
    outline: 0;
    padding: 0 12px 5px 12px;
    width: 100%;
}

.form-field__input:-ms-input-placeholder ~ .form-field__label,
.form-field__textarea:-ms-input-placeholder ~ .form-field__label {
    font-size: 1rem;
    transform: translateY(0);
}

.form-field__input:placeholder-shown ~ .form-field__label,
.form-field__textarea:placeholder-shown ~ .form-field__label {
    font-size: 1.8rem;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.form-field__input:focus ~ .form-field__label,
.form-field__textarea:focus ~ .form-field__label {
    color: #be172c;
    font-size: 1rem;
    -webkit-transform: translateY(-11px);
    transform: translateY(-11px);
}

.form-field__control.active {
    border-color: #be172c
}

.form-field__textarea {
    height: 150px;
}


/* ACCORDION */
dl.accordion dt {
    padding: 0;
    text-align: left;
    margin: 10px 0 0;
    background: #f5f5f5;
}

dl.accordion dt a {
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: block;
    padding: 20px 50px 20px 20px;
    position: relative;
    line-height: normal;
    background: transparent;
}

dl.accordion dt a:after {
    content: '';
    display: table;
    width: 10px;
    height: 10px;
    border: 2px solid #a6a8b0;
    border-width: 0 0 2px 2px;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -8px;
}

dl.accordion dt a:hover:after {
    border-color: #be172c;
}

dl.accordion dt.faq-active a:after {
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}

dl.accordion dt.faq-active a {
    text-decoration: none;
}

dl.accordion dd {
    display: none;
    margin: 0;
    background: #f5f5f5;
    padding: 0 20px 20px 20px;
    margin: 0;
    text-align: left;
}

/* FOOTER */
footer {
    background: #1d1d1d;
    color: #727272;
    font-size: 1.5rem;
}

footer strong {
    color: #fff;
}

footer a {
    color: #727272;
}

footer a:hover {
    color: #efda29;
    text-decoration: none;
}

footer h2 {
    color: #fff;
    text-transform: uppercase;
    font-size: 2rem;
    position: relative;
    padding-bottom: 2rem;
}

footer h2:before {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
}

.quicklinks {
    list-style-type: none;
    padding: 0 0 2rem;
}

.quicklinks li {
    padding: 0 0 .5rem 1.5rem;
    position: relative;
}

.quicklinks li:before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border: 1px solid #727272;
    border-width: 1px 1px 0 0;
    position: absolute;
    top: 6px;
    left: 0;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.quicklinks li:hover:before {
    border-color: #efda29;
}

.quicklinks li a {
    display: block;
}

footer .entry-title {
    text-transform: uppercase;
    color: #fff;
}

footer .entry-title a {
    color: #fff;
    font-size: 1.8rem;
}

.legal {
    border-top: 1px solid #727272;
}

/* FORM CERCA */
.ricerca .form-control-lg {
    font-size: 2.2rem;
    border-radius: 25px;
    border: 0;
}

/* OVERLAY */
body.noscroll {
    overflow: hidden;
}

.overlay {
    position: fixed;
    top: 0px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 30;
    display: none;
    overflow: auto;
}

.overlay-close, .overlay-close-hot {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 3rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.overlay-close span {
    width: 50px;
    height: 2px;
    background: #fff;
    display: block;
    position: absolute;
    top: 25px;
}

.overlay-close span:nth-child(1) {
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.overlay-close span:nth-child(2) {
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.overlay-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    outline: 0;
}

/* BUTTONS */
.btn {
    border-radius: 25px;
    border: 0;
    padding: 12px 25px;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: bold;
}

.btn-secondary,
.btn-primary {
    background: #be172c;
    border-color: #be172c;
}
.btn-primary2 {
    background: #ebdb53;
    border-color: #ebdb53;
	color: #202125;
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle,
.btn-primary.focus, .btn-primary:focus,
:hover.btn-primary {
    background: #58585a;
    outline: none;
    box-shadow: none;
}

.btn-secondary:hover {
    background: #fff;
    border-color: #fff;
    color: #58585a;
}


/* COLORS */
.darkred,
.font-color-darkred {
    color: #be172c;
}

.grey,
.font-color-grey {
    color: #58585a;
}

.gold,
.font-color-gold {
    color: #C0A812;
}

.black,
.font-color-black {
    color: #000;
}

.white,
.font-color-white {
    color: #fff;
}

.font-color-lightgrey {
    color: #f8f8f8;
}

.font-color-gainsboro-grey {
    color: #dcdcdc;
}

.font-color-darkgrey {
    color: #c4c4c4;
}

.font-color-silver {
    color: #c0c0c0;
}

.font-color-lightblue {
    color: rgba(91, 164, 240, 1);
}

.font-color-darkblue {
    color: rgba(0, 75, 140, 1);
}

.font-color-lightred {
    color: rgba(247, 84, 85, 1);
}

.font-color-darkred {
    color: rgba(134, 0, 4, 1);
}

.font-color-darkgold {
    color: rgba(255, 255, 88, 0.2);
}

/* BACKGROUNDS */

.bg-background-none {
    background: #f5f5f5;
}

.bg-background-darkred {
    background: #be172c;
}

.bg-background-grey {
    background: #58585a;
}

.bg-background-gold {
    background: #C0A812;
}

.bg-background-skyblue {
    background: #0e76bd;
}

.bg-background-black {
    background: #000;
}

.bg-background-white {
    background: #fff;
}


@media (min-width: 576px) {
    #carouselRecensioni .carousel-control-prev,
    #carouselRecensioni .carousel-control-next {
        display: flex;
    }

    header {
        background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000', GradientType=0); /* IE6-9 */
    }

    header.with-bg {
        background: #be172c url(../img/bg_header.png) no-repeat center center/cover;
    }

    header .logo {
        padding: 0;
    }

    header .logo-anps {
        max-width: 100%;
    }

    .nav-primary {
        background: transparent;
        height: 45px;
        margin: 0;
        position: relative;
        font-size: 0.9rem;
    }

    .nav-primary-menu ul li {
        width: 90px;
    }


    #carouselHome {
        margin-top: -175px;
    }

    #carouselHome .carousel-item {
        height: 70vh;
    }

    .singolo .carousel-item {
        min-height: auto;
    }

    .sezioni .entry-desc {
        -webkit-line-clamp: 5;
        font-size: 12px;
    }

}

/* end min-width: 576px */

@media (min-width: 768px) {

/*    .sezioni .entry-content:before {
        display: none;
    }*/

    .nav-primary-menu ul li {
        width: 100%;
    }

    .nav-primary-menu {
        top: 60px;
    }

    .nav-primary.fixed, .nav-primary.open {
        top: 13px;
    }

    .nav-primary-main ul li.nav-ico.menu-item-has-children:after {
        display: none;
    }

    #carouselHome {
        margin-top: -65px;
    }


    .storia .entry-title {
        font-size: 14px;
    }

    .storia .entry-desc,
    .storia .btn {
        font-size: 11px;
    }

    .storia .btn {
        left: 10%;
        right: 10%;
        bottom: 10%;
    }

    .modal-dialog {
        max-width: 700px;
    }

    .gallery .placeholder-wrapper {
        display: block;
        width: 760px;
        min-height: 500px;
    }

    .owl-carousel .owl-item img {
        width: auto;
    }
}

/* end min-width: 768px */

@media (min-width: 992px) {

    h2, .h2 {
        font-size: 3rem;
    }

    .hamburger, .logo-stucked-home {
        display: none;
    }

    .nav-primary-main a {
        line-height: 3rem;
        text-align: center;
    }

    .nav-primary-menu {
        display: block;
        position: relative;
        background: transparent;
        top: auto;
        left: auto;
        bottom: auto;
        right: auto;
        z-index: auto;
        overflow-y: visible;
    }

    .nav-primary-menu ul li {
        width: 130px;
        display: inline-block;
        vertical-align: top;
    }

    .nav-primary-main ul li:after {

    }

    .nav-primary-main ul li.nav-ico {
        background: transparent;
    }

    .nav-primary-main ul li.nav-ico:before {
        display: none;
        width: 40px;
    }

    .nav-primary-main ul li.nav-ico > a {
        color: #fff;
        border: 0;
    }

    .nav-primary-main ul li.nav-ico.active > a {
        color: #efda29
    }

    .nav-primary-main ul li.nav-ico.toggled > a {
        background-color: #be172c;
        color: #efda29;
    }

    .nav-primary-main ul li.nav-ico a {
        padding: 0;
    }

    .nav-primary-main ul li a:hover {
        color: #efda29;
    }

    .nav-primary-main ul li.nav-ico li a {
        padding: 10px 0;
        font-size: 1.5rem;
    }

    .nav-primary-main ul li ul {
        position: absolute;
        z-index: 10;
        border: 0;
    }

    .nav-search-but {
        right: 0;
        top: 5px;
        text-indent: -9999px;
    }
    .nav-search-but span {
        display: none;
    }

    .nav-link-wrap {
        top: 5px;
        right: 25px;
    }

    .sezioni .entry-content:before {
        top: 50%;
        left: -15px;
        margin: -15px 0 0 0;
    }

    header {
        padding: 20px 0;
    }

    .nav-primary-menu ul li {
        width: 114px;
    }

    .nav-primary-main ul li.nav-ico li a,
    .nav-primary-main ul li a {
        font-size: 1.4rem;
    }

    .nav-primary-main ul li:after {
        display: block;
        top: 17px;
        right: 5px;
    }

    .nav-primary-main ul li.nav-ico.menu-item-has-children.toggled:after {
        background-image: url(../img/icons/freccia-fuxia.svg);
    }

    .nav-primary-main ul li.nav-ico:before {
        display: block;
        width: 40px;
    }

    .nav-primary-main a {
        line-height: 4rem;
    }

    .nav-primary-main ul li:hover.nav-ico > a:before, .nav-primary-main ul li.toggled.nav-ico > a:before {
        -moz-transform: rotate(5deg);
        -webkit-transform: rotate(5deg);
        -o-transform: rotate(5deg);
        -ms-transform: rotate(5deg);
        transform: rotate(5deg);
        -webkit-transition: all 0.1s ease;
        -moz-transition: all 0.1s ease;
        -ms-transition: all 0.1s ease;
        -o-transition: all 0.1s ease;
        transition: all 0.1s ease;
        outline: 1px solid transparent; /* workaround FF aliasing a puttane */
    }

    .nav-search-but {
        top: 5px;
    }


    #carouselHome {
        margin-top: -135px;
    }

    .generic .entry:nth-child(4) {
        display: none;
    }

    .sezioni .entry-content {
        font-size: 1.8rem;
        padding: 20px;
    }

    .storia .entry-title {
        font-size: 2rem;
    }

    .storia .entry-desc,
    .storia .btn {
        font-size: 1.8rem;
    }

    .gallery .placeholder-wrapper {
        width: 960px;
    }

    .gallery .placeholder-wrapper img {
        max-width: 960px;
        max-height: 500px;
    }

    .thumb {
        cursor: pointer;
        margin: 5px;
        border-bottom: 3px solid transparent;
    }

    .thumb.selected {
        border-color: #8f1d32;
    }

    .base-articolo article .row {
        margin: 30px;
    }
}

/* end min-width: 992px */

@media (min-width: 1200px) {
    .nav-primary {
        font-size: 1rem;
    }

    .nav-primary-main ul li.nav-ico:before {
        width: 60px;
    }

    .nav-primary-main ul li:after {
        right: 5px;
    }

    #carouselHome {
        margin-top: -150px;
    }

    .generic .entry:nth-child(4) {
        display: block;
    }

    .sezioni .entry-title {
        font-size: 2rem;
    }

    .sezioni .entry-desc {
        font-size: 1.5rem;
        -webkit-line-clamp: 6;
    }

    .storia .btn {
        left: 20%;
        right: 20%;
        bottom: 13%;
    }
}

/* end min-width: 1200px */

.sito-form .j-form-base-view .j-field-box {
    background: #fff;
}

.j-form-base-view .j-field-box {
    margin-right: 0;
    background: #f5f5f5;
}

.sito-form .j-form-base-view {
    max-width: 100%;
}

.j-form-base-view {
    max-width: 300px;
    margin: auto;
}

.j-form-base-view .btn-submit:hover .j-button-label label,
.j-form-base-view .btn-submit .j-button-label label {
    color: #fff;
}

.j-form-base-view .btn-submit .j-button-label {
    height: 40px;
    line-height: 40px;
}

.j-form-base-view .btn-submit {
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 25px;
    background: #b2172b;
}

.back-to-top {
    position: fixed;
    bottom: 5px;
    right: 11px;
    width: auto;
    font-size: 20px;
    padding: 2px 8px;
    border-radius: 5px;
    background: #b2172b;
    cursor: pointer;
}

.back-to-top a {
    color: #fff;
}

.text-note {
    text-align: center;
    margin: 0 5px;
    font-size: 14px;
}

.paginazione span,
.paginazione a {
	display: inline-block;
	padding: 2px 5px;
}

.paginazione a.selected {
	background: #be172c;
	color: #fff;
}

.table-elenco {
	background: #fff;
	margin: 20px auto;
	max-width: 800px;
	border-top: 1px solid #6c757d;
	border-left: 1px solid #6c757d;
}
.table-elenco td {
	padding: 5px 10px;
	border-right: 1px solid #6c757d;
	border-bottom: 1px solid #6c757d;
}