/*
Theme Name: PocketCultures
Author: Studio Azione
Author URI: http://studioazione.it/
Version: 2019.3
Template: saz4
*/
body.admin-bar header.fixed-top {
    top: 0;
}

@media (min-width: 783px) { /* NB questo breakpoint è definito in WP, non in Bootstrap */
    body.admin-bar header.fixed-top {
        top: 32px;
    }
}
@media (max-width: 600px){
    #wpadminbar {
        position: fixed;
    }
}

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/

body.admin-bar nav.fixed-top {
    top: 46px;
}

@media (min-width: 783px) { /* NB questo breakpoint è definito in WP, non in Bootstrap */
    body.admin-bar nav.fixed-top {
        top: 32px;
    }
}
#primary{
    margin: 0;
}

/*
Breakpoint predefiniti in WP per la admin bar:
max-width: 782px
max-width: 600px
max-width: 400px
*/

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.breadcrumbs {
    margin-bottom: 10px;
}
.no-results {
    margin-top: 10px;
}
ul.saz-magic-menu {
    margin-top: 10px;
}

/*--------------------------------------------------------------
## Alignments
--------------------------------------------------------------*/



/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}
ol.comment-list, ol.comment-list ol { 
    list-style:none; 
    margin:0; 
    padding:0; 
    text-indent:0; 
    clear: both; 
}
ol.comment-list li {
    margin-top: 20px; 
    padding:20px; 
    position:relative; 
}
ol.comment-list li div.vcard img.avatar {
    display: block;
}
ol.comment-list li ul.children li.depth-2,
ol.comment-list li ul.children li.depth-3,
ol.comment-list li ul.children li.depth-4,
ol.comment-list li ul.children li.depth-5 {
    margin:0 0 .25em;
}
ol.comment-list .says {
    display: none;
}
ol.comment-list li ul.children li.odd {
    
}
ol.comment-list li.even {
    background:#FFF; 
    border:1px solid #f0f0f0; 
}
ol.comment-list li.odd { 
    background:#f0f0f0; 
}
.comment-awaiting-moderation {
    font-style: italic;
}
.comment-content {
    margin-top: 10px;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}
.alignnone {
  display: block;
  max-width: 100%;
  height: auto;
}
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.separatore {
    border-left: 1px solid #2b95c0;
}
img[class^='wp-image'], img[class*='wp-image']{
    display: block;
    max-width: 100%;
    height: auto;
}
.alert-highlight{
    background: #fcefa7;
    border: 1px solid #e6d36b;
}
/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
    max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption .wp-caption-text {
}
.wp-caption-text {
    background-color: transparent; 
    text-align: center;
    font-size: 0.825rem;
    color: #777;
    padding: 1.5rem 1rem;
    line-height: 1.6em;
    background: #f7f7f7;
}
figure{
    
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 10px;
}
.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
    padding: 5px;
}
.gallery-item img {
    max-width: 100%;
    height: auto;
}
.gallery-columns-2 .gallery-item {
    max-width: 50%;
}
.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
    max-width: 25%;
}
.gallery-columns-5 .gallery-item {
    max-width: 20%;
}
.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}
.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
## FIX CF7
--------------------------------------------------------------*/

.wpcf7-form .checkbox input[type="checkbox"] {
    position: relative;
    margin: 0 5px 0 -13px;
}

#loginform label{
    display: block;
}
#loginform .input{
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.login-remember{
    font-size: 0.8rem;
}
#loginform .button {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
#loginform .button-primary {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

body {
    position: relative;
    background:#fff;
    color:#000;
    font-weight:400;
    font-size:1rem;
    font-style: normal;
}
h1, h2, h3, h4, h5, h6{
    color: #000;
    font-weight: 600;
    font-family: 'Merriweather', serif;
    line-height: 1.5;
}
b, strong{
    font-weight: 600;
}
.navbar, .navbar-brand, .navbar-brand img, body.nav-scroll .navbar{
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
a{
    color: #1d70b6;
}
.breadcrumbs{
    text-transform: uppercase;
    font-size: 0.75rem;
    margin: 0;
}
.breadcrumbs small{
    padding: 0 .4rem;
}

a:hover{
    text-decoration: none;
}

button:focus, input:focus,.form-control:focus{
    outline:none;
    box-shadow: none;
}
.fa-white{ 
    color: rgba(255,255,255,1);
}
.fa-facebook-square:hover {
    color: #4267b2;
}
.fa-twitter:hover {
    color: #1da1f2;
}
.fa-linkedin:hover{
    color: #0077b5;
}
.fa-instagram:hover{
    color: #000;
}
.header-page{
    background: #f7f7f7;
}
.btn {
    border-radius: 0;
}
.btn-no-pills{
    border-radius: 0;
}
.btn-primary {
    color: #fff;
    background-color: #1d70b6;
    border-color: #1d70b6;
}
.btn-primary:hover {
    color: #fff;
    background-color: #1a64a3;
    border-color: #1a64a3;
}
span.ellipsis{
    white-space: nowrap; 
    max-width: 120px; 
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    height: 15px;
}
.text-selected{
    color: #eb0254;
}
.btn-white{
    background: #fff;
    color: #000;
}
.bg-gray{
    background: #f7f7f7;
}
.t-u{
    text-transform: uppercase;
}
.t-bold{
    font-weight: 600;
}
.t-light{
    font-weight: 400;
}
.t-light-gray{
    color: #9f9f9f;  
}
.t-dark-gray{
    color: #696969;  
}
.t-w{
    color: #FFF;
}
.t-11{
    font-size:0.6875rem;  
}
.t-12{
    font-size:0.75rem;  
}
.t-13{
    font-size:0.8125rem;
}
.t-14{
    font-size:0.875rem;
}
.t-15{
    font-size:0.9375rem;
}
.t-18{
    font-size:1.125rem;
    line-height: 1.8rem;
}
.t-27{
    font-size: 1.6875rem;
}
.m-160{
    margin-top: 0;
}
.fixed-top {
    position: relative;
}
.bg-light-grey{
    background: #f4f4f4;
}
.tags {
    line-height: 1.1em;
}
.text-overlay-bottom {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
}
.text-overlay-top{
    position: absolute;
    top: 15px;
    right: 15px;
}
.category ul.post-categories {
    margin: 0;
    padding: 0;
    list-style: none;
}
.category ul.post-categories li {
    display: inline-block;
}
.category ul.post-categories li a {
    color:#000;
    background: rgba(225,132,57,0.15);
    padding: .1rem .6rem;
    display: inline-block;
    margin-right: 3px;
    margin-bottom: 3px;
}
.category ul.post-categories li a:hover,.card-overlay h3.card-title a{
    text-decoration: none;
    color:#FFF;
    background: rgba(225,132,57,1);
}

.card{
    background: transparent;
    border-radius: 0;
}
.card-img-top{
    position: relative;
    height: 100%;
}
.card-body {
    padding: 0;
    color: #666;
    line-height: 1.25rem;
}
.card-body.card-border {
    border: 1px solid #58abcd;
    border-radius: 3px;
    padding: 0.5rem 1.5rem 1.5rem;
}
 .clear{
     clear: both;
 }
 
 .news-small article:last-child .card {
     border-bottom: none!important;
     margin-bottom: 0!important;
     padding-bottom: 0!important;
 }
 
/* Macro categoria */
span.wpcf7-not-valid-tip {
    color: #f00;
    font-size: 0.825rem;
    font-weight: normal;
    display: block;
    margin: 0.5rem 0 1rem;
}
#news-home .blocco-news-home{
    border-top: 1px solid rgba(0,0,0,0.1);
}
#news-home .blocco-news-home:nth-child(odd){
    background: #f7f7f7;
}
#news-home .blocco-news-home h5 a{
    color: #00a7c8;
}
#news-home .blocco-news-home .separatore {
    border-left: 1px solid #00a7c8;
}
#news-home .blocco-news-home .category ul.post-categories li a {
    background: rgba(0,167,200,0.15);
}
#news-home .blocco-news-home .category ul.post-categories li a:hover {
    background: rgba(0,167,200,1);
}

#news-home .blocco-news-home:first-child h5 a{
    color: #e02498;
}
#news-home .blocco-news-home:first-child .separatore {
    border-left: 1px solid #e02498;
}
#news-home .blocco-news-home:first-child .category ul.post-categories li a {
    background: rgba(224,36,152,0.15);
}
#news-home .blocco-news-home:first-child .category ul.post-categories li a:hover {
    background: rgba(224,36,152,1);
}

#news-home .blocco-news-home:last-child h5 a{
    color: #9cc331;
}
#news-home .blocco-news-home:last-child .separatore {
    border-left: 1px solid #9cc331;
}
#news-home .blocco-news-home:last-child .category ul.post-categories li a {
    background: rgba(156,195,49,0.15);
}
#news-home .blocco-news-home:last-child .category ul.post-categories li a:hover {
    background: rgba(156,195,49,1);
}

/*Navbar*/
.navbar {
    background: #2b95c0;
    padding: 0;
}
.navbar-brand  {
    padding: 10px;
}
.navbar-brand img {
    height: 50px;
    width: auto;
}
.navbar-light .navbar-toggler {
    border-color: transparent;
}
.navbar-toggler {
    padding: 0;
    margin-right: 1rem;
}
.navbar-nav > li > a {
    font-size:1.6875rem;
    line-height: 1.8rem;
    color: #000!important;
    padding: 0.8rem!important;
    font-weight: 600;
}

/* Hamburger */
#nav-icon-search{
    margin: 43px auto 41px;
    font-size: 17px; 
}
#nav-icon4 {
    width: 30px;
    height: 22px;
    position: relative;
    margin: 22px auto;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}
#nav-icon4 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 4px;
    opacity: 1;
    right: 0;
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
#nav-icon4 span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 10px;
    left: 0;
}
#nav-icon4 span:nth-child(2) {
    width: 0%;
    opacity: 0;
    top:10px;
}
#nav-icon4 span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 10px;
    left: 0;
}
.collapsed #nav-icon4 span {
    opacity: 1;
    right: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
}
.collapsed #nav-icon4 span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.collapsed #nav-icon4 span:nth-child(2) {
    top:10px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
    width: 100%;
}
.collapsed #nav-icon4 span:nth-child(3) {
    top: 20px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

.blocco-news-inline .card-image-overlay, .blocco-category-verticale-3 .card-image-overlay, .header-news .card-image-overlay, .blocco-news-mosaico .card-image-overlay{
    width: 100%;
    height: 451px;
    object-fit: cover;
}
.blocco-news-mosaico .card-overlay-md .card-image-overlay{
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.blocco-news-mosaico .card-overlay-xs .card-image-overlay{
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-overlay, .card-top-default {
    border: none;
    border-radius: 0;
}
h3.card-title{
    clear: both;
}
.card-overlay h3.card-title{
    line-height: 1.5rem;
}
.card-overlay h3.card-title a{
    font-size: 1.25rem;
    color: #FFF;
}
.blocco-news-inline .card-overlay h3.card-title a,
.blocco-news-inline .card-overlay h3.card-title a:after,
.blocco-news-mosaico .card-overlay h3.card-title a,
.blocco-news-mosaico .card-overlay h3.card-title a:after,
.bordo-destra .card-overlay h3.card-title a,
.bordo-destra .card-overlay h3.card-title a:after{
    background-color: #fff;
}
.blocco-news-inline .card-overlay h3.card-title a,
.blocco-news-mosaico .card-overlay h3.card-title a,
.bordo-destra .card-overlay h3.card-title a{
    position: relative;
    color: #000;
    display: inline;
    white-space:pre-line;
    padding: 2px;
}
.blocco-news-inline .card-overlay {
    border-right: 0;
}
.card-bottom-default h3.card-title{
    line-height: 1.125rem;
    padding-top: 1rem;
}
.card-bottom-default h3.card-title a{
    font-size: 1.125rem;
    font-weight: 600;
}
.card-bottom-default h3.card-title-small {
    line-height: 0.8125rem;
}
.card-bottom-default h3.card-title-small a{
    font-size: 0.8125rem;
    font-weight: 600;
}
.photo-small {
    height: 70px;
    width: 100%;
    object-fit: cover;
}
.bordo-blocco-category-verticale .photo-small {
    height: 100px;
    width: 100%;
    object-fit: cover;
}
.blocco-news-evidenza h3.card-title:hover a{
    color: #fff;
}

.bordo-blocco-category-verticale{
    border: 1px solid #e5e5e5;
}
.bordo-destra{
    padding: 30px 30px 0;
}
.bordo-sinistra{
    background: #f7f7f7;
    padding: 30px 30px 0;
    border-left: 1px solid #e5e5e5;
}
.elenco-categorie{
    text-align: center;
    line-height: 1.5rem;
    padding-bottom: 2rem;
}
.elenco-categorie::after {
    content: "";
    width: 60px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 50%;
    background: #e18439;
    margin-left: -30px;
}
.elenco-categorie a{
    margin-right: 0.5rem;
    margin-left: 0.5em;
    font-size: 0.875rem;
    display: inline-flex;
    margin-bottom: 0.5rem;
}
.elenco-categorie a span{
    font-weight: 600;
    font-family: 'Merriweather', serif;
}
.elenco-categorie a:last-child{
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}
.elenco-categorie a small{
    color: #666;
}
.badge-orange {
    color: #FFF;
    background-color: #e18439;
    font-size: 0.625rem;
}

.like-message a{
    color: #666;
}
.blocco-news-evidenza .like-message a, 
.blocco-news-inline .like-message a,
.blocco-news-mosaico .like-message a,
.bordo-destra .card-overlay .like-message a{
    color: #FFF!important;
}

/*Single*/
.header-news{
    background: #f7f7f7;
}
h1.header-news-title {
    font-size: 2.375rem;
    font-weight: 600;
    margin-bottom: 0;
}
.entry-content p{
    margin-bottom: 1rem;
}
.entry-content a{
    color: #1d70b6;
    text-decoration: underline;
}
blockquote {
    margin: 2.5rem 0!important;
    font-size: 1.375rem;
    padding-left: 80px;
    box-sizing: border-box;
    background: url(img/blockquote.png) left top no-repeat transparent;
    background-size: 47px 39px;
}
blockquote p{
    margin:0!important;
    padding: 1rem 0 0;
}
.blockquote-footer {
    color: #000;
    font-size: 0.8125rem;
    padding: 1rem 0;
    line-height: 1.2rem;
}
.blockquote-footer span{
    color: #818181;
}
.blockquote-footer::before {
    color: #1d70b6;
}
.commenti h3#reply-title {
    font-size: 1.125rem;
    line-height: 1.8rem;
    text-align: center;
}
.commenti .form-group.comment-form-author {
    display: inline-block;
    width: 49%;
    margin-bottom: 1.5rem;
}
.commenti .form-group.comment-form-email {
    display: inline-block;
    width: 50%;
    margin-bottom: 1.5rem;
}
.commenti label {
    font-size: 0.8125rem;
    color: #878585;
}
.commenti .btn-outline-primary {
    color: #1d70b6;
    background-color: transparent;
    background-image: none;
    border-color: #1d70b6;
}
.commenti .btn-outline-primary:hover{
    color: #fff;
    background-color: #1d70b6;
}
.commenti h3#reply-title{
    display: none;
}
.commenti p.logged-in-as a,.commenti .comment-author.vcard a{
    color:#000;
    font-weight: 600;
}
.commenti ol.comment-list li.even, ol.comment-list li.odd {
    background: transparent;
    border: none;
}
.commenti ol.comment-list li {
    padding: 0;
    margin-top: 2rem;
}
.commenti form#commentform {
    margin-top: 20px;
}
.commenti .comment-metadata a {
    color: #9f9f9f;
    text-transform: uppercase;
    font-size: 0.6875rem;
}
.commenti a.comment-edit-link {
    font-weight: 600;
}
.commenti .reply a {
    text-transform: uppercase;
    font-size:  0.6875rem;
    color: #1d70b6;
    font-weight: 600;
}
.commenti  .comment-content p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #3d3d3d;
}
.commenti  img.avatar.avatar-32.photo {
    border-radius: 50%;
}
.commenti  ol.comment-list li div.vcard img.avatar {
    display: inline-block;
    margin-right: 10px;
}
.commenti .comment-metadata, .commenti .comment-content,.commenti .reply {
    margin-left: 46px;
}
.bg-light-grey{
    background: #f7f7f7;
}
.author-description{
    color: #666;
    line-height: 1.5rem;
}

/*Page*/
ul.saz-magic-menu ul,ul.saz-magic-menu{
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}
ul.saz-magic-menu {
    padding: 1rem 1.5rem !important;
    background: #f4f4f4;
}
ul.saz-magic-menu ul li, ul.saz-magic-menu li, ul.saz-magic-menu > li > a{
    display:block;
    padding:.3rem 0;
}
ul.saz-magic-menu > li > a{
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    border-bottom: 1px solid #0d2f5e;
    margin-bottom: 0.6rem;
}
ul.saz-magic-menu ul li a, ul.saz-magic-menu li a {
    color: #0d2f5e;
}

/*search*/
.search-form {
    border-bottom: 1px solid #d7d7d7!important;
}
.search-form .form-control {
    border-radius: 0;
    border: none;
    font-weight: 400;
    font-size: 1.3125rem;
    padding:0;
    width: 180px;
}
.search-form .far {
    color: #e18439;
}
.search-form-mobile {
    border-bottom: none!important;
}
.search-form-mobile .form-control {
    padding:2rem 1.2rem !important;
    background: #f7f7f7;
}
.button-invisible {
    border: 0;
    background: 0;
    padding: 0;
}

.page-header{
    text-align: center;
}
.page-header h5{
    font-size: 14px;
    text-transform: uppercase;
    margin: 20px 0 10px;
    font-weight: normal;
    color: #000;
}
.page-header h5::before {
    content: "filtra per";
    display: block;
    font-size: 12px;
    text-transform: none;
    color: #999;
    line-height: 1rem;
}
.page-link{
    color: #0d2f5e;
}
.page.hentry a{
    text-decoration: underline;
}
.page.hentry .card-title a {
    text-decoration: none;
}
ul.elementi-piazza{
    margin: 0;
    padding: 0;
}
ul.elementi-piazza li{
    margin: 0;
    padding: 0 0 0.1rem;
    list-style: none;
}
.contenuto-piazza h5 a{
    display: block;
    border-bottom: 1px solid #0d2f5e;
    padding-bottom: 0.4rem;
}
body.search .search-form {
    border-bottom: 1px solid #000 !important;
}
body.search .search-form .form-control {
    font-weight: 600;
    color: #000;
}
img.avatar {
    border-radius: 50% !important;
    margin-right: 0.5rem;
}

/*Prefooter*/
#prefooter{
    background: #cce5ff;
}

/*Footer*/
#footer {
    background:#26282c;
}
#footer h3 span a, #footer h3 span a:hover {
    color: #FFF;
}
#footer h3 span a:hover {
    text-decoration: underline;
}
#footer ul{
    padding: 0;
    margin: 0;
    list-style: none;
}
#footer .social-icon {
    width: auto;
    margin-bottom: 1.8rem;
}
#footer .social-icon a {
    padding: 0 1rem 0 0;
    color: #FFF;
    font-size: 1.4rem;
}
#footer ul li a {
    font-size:0.8125rem;
    padding: 0;
    color: #b9b9b9;
    font-weight: 400;
}
#footer ul li a:hover {
    color: #FFF;
    text-decoration: underline;
}
#footer ul.sub-menu{
    margin-bottom: .3rem;
}
#footer h3, #footer ul.menu > li{
    font-size:1rem;
    background: linear-gradient(to bottom right, #e18439 100%, transparent 100%) no-repeat center 15px;
    background-size: 100% 2px;
    display: block;
    margin-bottom: 2rem;
}
#footer h3 span, #footer ul.menu > li > a{
    background: #26282c;
    padding-right: 0.625rem!important;
    display: inline-block;
    color: #FFF!important;
    font-size: 1.25rem!important;
    font-weight: 600!important;
    margin-bottom: .3rem;
    font-family: 'Merriweather', serif;
}
#footer h3{
    background: linear-gradient(to bottom right, #e18439 100%, transparent 100%) no-repeat center 15px;
    background-size: 100% 2px;
    margin-bottom: .3rem;
}
#footer ul.menu > li > a[href^="#"], .navbar-nav > li > a[href^="#"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none!important;
}
.rectangle {
    width: auto;
    height: 1px;
    background: #5590e3;
}
#footer address {
    color: #b9b9b9;
    font-weight: 400;
    font-size:0.875rem;
    margin-bottom: 0;
    line-height: 1.4rem;
    margin-bottom: 2rem;
}
#footer address a, #footer address span{
    color: #fff;
}
.copy {
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.4rem;
}
.copy strong {
    color: #000;
    font-weight: normal;
}
.copy a {
    color: #0c2d5b;
}
.copy a:hover {
    text-decoration: underline;
}
.copy p {
    margin: 0;
}

.informativa{
    height: 126px;
    overflow-y: auto;
    border: 1px solid #6c757d;
    padding: 0 1.5rem;
    font-size: 0.825rem;
    border-radius: 2px;
    background: #f7f7f7;
}

.licenza{
    color: #666;
    font-size: 0.875rem;
}
.licenza a{
    color: #b9b9b9;
}
.licenza a:hover{
    color: #FFF;
}
.payoff{
    font-family: 'Satisfy', cursive;
    font-size: 2rem;
    color: #000;
}
@keyframes blink {
    0% {
      opacity: .2;
    }
    20% {
      opacity: 1;
    }
    100% {
      opacity: .2;
    }
}
.infinite-scroll-request span {
    animation-name: blink;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    color: #e18439;
    font-size: 0.625rem;
    margin: 0 0.2rem;
}
.infinite-scroll-request span:nth-child(2) {
    animation-delay: .2s;
}
.infinite-scroll-request span:nth-child(3) {
    animation-delay: .4s;
}

@media (min-width: 768px) {
    .sticky {
      position: -webkit-sticky;
      position: sticky;
      top: 110px;
    }
    .m-160{
        margin-top:160px;
    }
    .fixed-top {
        position: fixed;
    }
    
    /*menu top*/
    .navbar-brand  {
        margin-right: 0;
        padding: 10px;
    }
    .menu-top .far {
        color: #0d2f5e;
    }
    .menu-top  {
        padding:0;
        height: 80px;
        background: #2b95c0;
    }
    .navbar-brand img {
        height: 60px;
        width: auto;
    }
    .menu-top ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .menu-top ul li{
        margin:.4rem 0;
        padding:0;
        font-size:0.8125rem;
        display: inline-block;
    }
    .menu-top ul li.current-menu-item > a{
        text-decoration: underline;
    }
    .menu-top ul li a{
        color: rgba(255,255,255,0.8);
        text-transform: uppercase;
        padding: .4rem .8rem;
    }
    .menu-top ul li a:hover{
        color:#FFF!important;
        text-decoration: underline;
    }
    .blocco-news-inline .card-overlay {
        border-right: 6px solid #FFF;
        border-bottom: 6px solid #FFF;
    }
    .blocco-news-inline article:last-child .card-overlay {
        border-right: none;
    }
    .blocco-news-inline .card-overlay-md {
        border-bottom: 1px solid #fff;
    }
    .bg-blu-dark-opacity h3 {
        padding: 0;
    }

    /*sub menu*/
    .menu-top li.menu-item-has-children{
        position: relative;
    }
    .menu-top  li.menu-item-has-children > a.nav-link{
        position: relative;
        display: block;
    }
    .menu-top  li.menu-item-has-children:hover > a.nav-link{
        color: #e18439!important;
        text-decoration: none!important;
        background: #FFF;
        z-index: 9999;
        -webkit-border-radius: 4px;
        -webkit-border-bottom-left-radius: 0;
        -webkit-border-bottom-right-radius: 0;
        -moz-border-radius: 4px;
        -moz-border-radius-bottomleft: 0;
        -moz-border-radius-bottomright: 0;
        border-radius: 4px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .menu-top ul li .sub-menu{
        visibility: hidden;
        background:#FFF;
        position:absolute;
        width:230px;
        top:32px;
        left:0;
        border-top:none;
        z-index:12;
        text-align:left;
        padding:1rem;
        -webkit-border-radius: 4px;
        -webkit-border-top-left-radius: 0;
        -moz-border-radius: 4px;
        -moz-border-radius-topleft: 0;
        border-radius: 4px;
        border-top-left-radius: 0;
        -webkit-box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.1);
        -moz-box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.1);
        box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.1);
    }
    .menu-top ul li:hover .sub-menu{
        display:block;
        visibility:visible;
    }
    .menu-top ul li .sub-menu li {
        display: block!important;
        padding: 0;
        margin: 0;
    }
    .menu-top ul li .sub-menu li a{
        color:#2b95c0!important;
        padding:.2rem 0!important;
        font-weight: 400;
        font-size: 0.9375rem;
        text-transform: initial;
        border-bottom: none;
    }
    .menu-top ul li .sub-menu li.current-menu-item a, .menu-top ul li:hover .sub-menu li.current-menu-item a, .menu-top ul li:hover .sub-menu li a{
        color:#000!important;
        background: transparent;
    }
    .menu-top ul li .sub-menu li > a:hover{
        color:#000!important;
    }

    /*Navbar*/
    .navbar {
        background: #FFF;
        height: 80px;
        padding: 0;
    }
    .navbar-nav > li > a {
        font-size: 1.3125rem;
    }
    .navbar-nav > li.current-menu-item > a, .navbar-nav > li:hover > a{
        color: #1d70b6!important;
        text-decoration: underline;
    }
    
    .navbar-nav li.menu-item-has-children{
        position: relative;
    }
    .navbar-nav li.menu-item-has-children a.nav-link{
        position: relative;
        display: block;
    }
    .navbar-nav li.menu-item-has-children:hover > a.nav-link{
        z-index: 20;
        color: #e18439!important;
        text-decoration: none;
        -webkit-border-radius: 4px;
        -webkit-border-bottom-left-radius: 0;
        -webkit-border-bottom-right-radius: 0;
        -moz-border-radius: 4px;
        -moz-border-radius-bottomleft: 0;
        -moz-border-radius-bottomright: 0;
        border-radius: 4px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .navbar-nav li .sub-menu{
        visibility: hidden;
        background:#FFF;
        position:absolute;
        width:230px;
        top:54px;
        left:0;
        border-top:none;
        z-index:12;
        text-align:left;
        padding:1rem;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        -webkit-box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.1);
        -moz-box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.1);
        box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.1);
        border: 1px solid #2b95c0;
    }
    .navbar-nav li .sub-menu:before{
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 7px 7px 7px;
        border-color: transparent transparent #2b95c0 transparent;
        position: absolute;
        top: -7px;
        left:1.5rem;
    }
    .navbar-nav li:hover .sub-menu{
        display:block;
        visibility:visible;
    }
    .navbar-nav li .sub-menu li {
        display: block!important;
        padding: 0;
        margin: 0;
    }
    .navbar-nav li .sub-menu li a{
        color:#000!important;
        padding:.2rem 0!important;
        font-weight: 400;
        font-size: 0.9375rem;
        text-transform: initial;
        border-bottom: none;
    }
    .navbar-nav li .sub-menu li.current-menu-item > a, .navbar-nav li:hover .sub-menu li.current-menu-item > a{
        color:#e18439!important;
        background: transparent;
    }
    .navbar-nav li .sub-menu li > a:hover{
        color:#000!important;
        text-decoration: underline;
    }
    
    /* Navbar scroll */
    body.nav-scroll .navbar{
        box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 40px 0px;
    }
    body.nav-scroll .menu-top{
        margin-top: -80px;
        -webkit-transition: all 0.3s ease-out;
        -moz-transition: all 0.3s ease-out;
        -ms-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }
    .navbar-brand-scroll {
        text-indent: -9999px;
        margin-right: 0.8rem;
        width: 1px;
        height: 54px;
    }
    body.nav-scroll li.navbar-brand-scroll {
        width: 84px;
        height: 54px;
        background: url(img/logo.png) center center no-repeat transparent;
        background-size: 84px 40px;
        margin-right: 0.8rem;
        padding: 0;
    }
    body.nav-scroll li.navbar-brand-scroll > a {
        pointer-events: auto;
        cursor:auto;
    }
    
    /*Page*/
    .bg-blu h1.saz-title {
        font-size: 2rem;
    }
    ul.saz-magic-menu ul, ul.saz-magic-menu {
        padding: 0;
    }
    ul.saz-magic-menu ul li, ul.saz-magic-menu li{
        padding: 0;
        margin: 0;
    }
    ul.saz-magic-menu ul li a, ul.saz-magic-menu li a{
        padding: 0.2rem 0;
        display: block;
    }
    ul.saz-magic-menu ul li.current_page_item > a, ul.saz-magic-menu li.current_page_item > a{
        color: #eb0254;
    }

    .bg-light-grey li.current_page_item {
        padding: 1rem 0;
        margin: 0 ;
    }
    .bg-light-grey li.current_page_item > a{
        border-bottom: 4px solid #0d2f5e;
        padding-bottom:  1rem;
    }
    .bg-light-grey li.current_page_item > a{
        margin: 0 .8rem;
    }

    .card-overlay .card-img-overlay{
        padding: 1.2rem 2rem;
    }  
}

@media (min-width: 993px) and (max-width: 1200px) {

    #footer .social-icon a {
        padding: 0 .5rem 0 0;
    }
    .card-overlay .fill {
        height: 400px;
    }
    .card-overlay-md .fill {
        height: 224px;
    }
    .card-overlay-xs .fill {
        height: 175px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {

    /*Navbar*/
    .navbar {
        background: #fff;
        padding: 2rem 1rem;
    }
    .social-icon a {
        padding: 0 .6rem;
    }
    .menu-100{
        width: 100%;
    }
    .card-overlay {
        border: 0.5px solid #FFF;
    }
    .banner-associati {
        position: relative;
        top: 0;
        left: 0;
    }
    .bg-blu-dark-opacity h3 {
        font-size: 1.3125rem;
        padding: 2rem 0;
    }
    .blocco-news-inline .card-overlay {
        border-right: 0;
    }
}

@media (max-width: 767px) {
    .fa-search{
        color: #FFF;
    }
    .navbar-brand-scroll{
        display: none;
    }
    .post-footer{
        text-align: center;
    }
    .post-footer .text-right{
        text-align: center!important;
    }
    .menu-100{
        width: 100%;
    }
    .menu-mobile-social {
        background: #f7f7f7;;
    }
    .navbar .sub-menu{
        margin: 0;
        padding: 0;
    }
    .navbar .sub-menu li{
        margin: 0;
        padding: 0;
    }
    .navbar-nav > li > a {
        font-size: 1.25rem;
        padding: .6rem 1.2rem !important;
    }
    .navbar .sub-menu li a{
        margin: 0;
        padding: .6rem 1.2rem !important;
        display: block;
        border-bottom: 1px solid #f0f0f0;
        color: #1d70b6!important;
    }
    .navbar .sub-menu li:first-child a{
        border-top: 1px solid #f0f0f0;
    }
    .navbar-collapse{
        background: #FFF;
    }
    .btn-white {
        display: block;
        font-size: 1.25rem;
        border-top:1px solid #e5e5e5;
    }
    .btn-success {
        display: block;
        font-size: 1.25rem;
    }
    .menu-mobile-social {
        background: #f7f7f7;
        font-size: 1.5rem;
    }
    .menu-mobile-social .fa-facebook-square {
        color: #4267b2;
    }
    .menu-mobile-social .fa-twitter {
        color: #1da1f2;
    }
    .menu-mobile-social .fa-youtube{
        color: #ff0000;
    }
    .menu-mobile-social .fa-linkedin{
        color: #0077b5;
    }
    .menu-mobile-social .fa-instagram{
        color: #000;
    }
    .card-overlay {
        border-bottom: 1px solid #fff;
    }
    .header-news .card-image-overlay, .blocco-news-inline .card-image-overlay {
        width: 100%;
        height: 280px;
        object-fit: cover;
    }
    h1.header-news-title {
        font-size: 2rem;
    }
    .no-padding{
        padding-left: 0;
        padding-right: 0;
    }
    blockquote {
        background: url(img/blockquote.png) left top no-repeat transparent;
        background-size: 34px 28px;
        padding-left: 60px;
    }
    .commenti .form-group.comment-form-author {
        width: 100%;
    }
    .commenti .form-group.comment-form-email {
        width: 100%;
    }

}

@media (min-width: 1441px) {
    .header-news .card-image-overlay, .blocco-news-inline .card-image-overlay{
        height: 500px;
    }
}
@media (min-width: 1601px) {
    .header-news .card-image-overlay, .blocco-news-inline .card-image-overlay{
        height: 570px;
    }
}
@media (min-width: 1901px) {
    .header-news .card-image-overlay, .blocco-news-inline .card-image-overlay{
        height: 640px;
    }
}
@media (min-width: 2201px) {
    .header-news .card-image-overlay, .blocco-news-inline .card-image-overlay{
        height: 700px;
    }
}