/******************************************************************
Theme Name: Marco Farina osteopata
Theme URI: https://www.osteopatiafarina.it/
Description: Marco Farina osteopata
Author: Andrea Pelizzardi
Author URI: https://spanishsahara.com
Version: 2020
******************************************************************/

/**/

.animazioni > div {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    opacity: 1;
 }

 .chiusura {
    background: #ffffff;
    z-index: 47;
    bottom: 0;
    transition-timing-function: cubic-bezier(0.420, 0.000, 0.580, 1.000);
 }

 .apertura {
    background: #ffffff;
    z-index: 48;
    bottom: 0;
    transition-timing-function: cubic-bezier(0.420, 0.000, 0.580, 1.000);
 }

 #main:not(.is-exiting) .chiusura {
    -webkit-animation-name: slideBottom;
    animation-name: slideBottom;
    -webkit-animation-duration: .4s;
    animation-duration: .4s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
}

#main.is-exiting .apertura {
    -webkit-animation-name: slideTop;
    animation-name: slideTop;
    -webkit-animation-duration: .4s;
    animation-duration: .4s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
}

@-webkit-keyframes slideBottom {
    0%      { height: 100%; }
    100%    { height: 0%; }
}
@keyframes slideBottom {
    0%      { height: 100%; }
    100%    { height: 0%; }
}

@-webkit-keyframes slideTop {
    0%      { height: 0%; }
    100%    { height: 100%; }
}
@keyframes slideTop {
    0%      { height: 0%; }
    100%    { height: 100%; }
}


/* Struttura generale */

.align-items-baseline {
    -webkit-align-items: baseline !important;
}
.d-flex {
    display: -webkit-flex !important;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}
.justify-content-baseline {
    -webkit-justify-content: baseline !important;
}

[class*='sezioni'], [class*='ricerca']  > *,
 .dflex > * { min-height: auto; }

body {
     background-color: #F5F5F5;
     font-family: 'Montserrat', sans-serif;
     overflow-x: hidden;
     font-weight: 300;
     padding-top: 100px;
     color: #fff;
     letter-spacing: 0.01em;
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover,
.btn.focus, .btn:focus {
    outline: none;
    color: #1B62A1;
    box-shadow: none;
}

/*#CybotCookiebotDialog a, #CybotCookiebotDialog div { font-family: 'Work Sans', Arial, sans-serif !important; }*/

::-moz-selection { color: #fff; background: #1b62a1;}
::selection { color: #fff; background: #1b62a1; }

.container {
    max-width: 1280px;
}
.container.post--container {
    max-width: 1011px;
}

/* Tipografia */
a {color: #1a3554;}
p a, li:not(.nav-item) a {
    color: #fff;
    border-bottom: 1px solid;
    font-weight: bold;
}
p a:hover, li:not(.nav-item) a:hover {
    color: #1B62A1;
    text-decoration: none;
}

a[href*='sendEmail'] {
    unicode-bidi:bidi-override;
    direction: rtl;
}
b, strong {
    font-weight: 800;
}
h1 {
    color: #333333;
    font-family: 'Playfair Display', sans-serif;
    font-weight: 700;
    font-size: 3.2em;
    font-style: italic;
}
h1 span { color: #1b62a1; }

h2 {
    color: #808080;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.875em;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.5;
}

h3 {
    font-family: 'Playfair Display';
    font-weight: 700;
    font-style: italic;
    position: relative;
    margin-bottom: 36px;
    font-size: 1.5em;
    letter-spacing: 1px;
}

h3:after {
    content: '';
    background: #1b62a1;
    position: absolute;
    bottom: -15px;
    height: 4px;
    width: 36px;
    left: 0;
}

p, li, td {
    font-size: 0.875em;
    line-height: 1.9;
    /*padding-right: 1.5em;*/
}

td { vertical-align: top; }

*.font-size-sm  {
    font-size: 0.75em;
}

.pt-7 {
    padding-top: 4rem !important;
    margin-top: 3rem !important;
}
.pb-7 {
    padding-bottom: 4rem !important;
    margin-bottom: 3rem !important;
}
.pt-6 { padding-top: 4rem !important; }
.pb-6 { padding-bottom: 4rem !important; }

.btn[class*='go-'] {
    font-size: .75em;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
    border: 4px solid #1b62a1;
    border-radius: 0;
    padding: 12px 25px;
    margin-top: 30px;
    letter-spacing: 1px;
    position: relative;
    background:none;
}
.btn[class*='go-'] span {
    position: relative;
    z-index: 5;
    white-space: normal;
}
.btn.go-to::after {
    content: '\279e';
    font-size: 20px;
    font-weight: bold;
    vertical-align: sub;
    line-height: 1;
    padding-left: 15px;
    z-index: 6;
    position: relative;
}
.btn.go-download::after {
    content: '\279c';
    font-size: 16px;
    font-weight: bold;
    vertical-align: sub;
    line-height: 1;
    z-index: 6;
    position: relative;
    transform-origin: center;
    transform: rotate(90deg);
    display: inline-block;
    left: 10px;
}
.btn[class*='go-']::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1b62a1;
    height: 0;
    -webkit-transition: all 0.3s cubic-bezier(.86,0,.07,1);/*cubic-bezier(0.420, 0.000, 0.580, 1.000);*/
    -moz-transition: all 0.3s cubic-bezier(.86,0,.07,1);
    -o-transition: all 0.3s cubic-bezier(.86,0,.07,1);
    transition: all 0.3s cubic-bezier(.86,0,.07,1);
    z-index: 1;
}
.btn[class*='go-']:hover::before {
    height: 100%;
}

.sezione-img img {
    width: 100%;
}

/* SMOOTHSTATE */

#main header ~ * {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    animation-delay: 0.5s;
    -webkit-animation-delay: 0.5s;
    -webkit-animation-duration: .7s ;
    animation-duration: .7s;
    opacity: 0;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    -ms-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
}

#main header ~ section.top-hp  {
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
}

#main.is-exiting header ~ *  {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut;
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
    -webkit-animation-duration: .7s ;
    animation-duration: .7s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    -ms-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
}

section.top-hp ~ * > .container > div {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    animation-delay: 0.5s;
    -webkit-animation-delay: 0.95s;
    -webkit-animation-duration: .7s;
    animation-duration: .7s;
    opacity: 0;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    -ms-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
}


@-webkit-keyframes fadeIn {
    0%      { opacity: 0; transform:translateY(-20px); -webkit-transform:translateY(-20px); }
    100%    { opacity: 1; transform:translateY(0px); -webkit-transform:translateY(0px); }
}
@keyframes fadeIn {
    0%      { opacity: 0; transform:translateY(-20px); -webkit-transform:translateY(-20px); }
    100%    { opacity: 1; transform:translateY(0px); -webkit-transform:translateY(0px); }
}

@-webkit-keyframes fadeOut {
    0%      { opacity: 1; transform:translateY(0px); -webkit-transform:translateY(0px); }
    100%    { opacity: 0; transform:translateY(-20px); -webkit-transform:translateY(-20px); }
}
@keyframes fadeOut {
    0%      { opacity: 1; transform:translateY(0px); -webkit-transform:translateY(0px); }
    100%    { opacity: 0; transform:translateY(-20px); -webkit-transform:translateY(-20px); }
}



/* STRUTTURA */

section.top-hp {
    margin: 36px 0;
    z-index: 51;
    position: relative;
}

section.hero-hp > .container {
    background: #1e252f;
    box-shadow: inset 0px 70px 0px 0px #F5F5F5;
    padding-top: 10px;
}
section.top-hp ~ * > .container {
    background: #1e252f;
    /*padding-top: 60px;
    padding-bottom: 60px;    */
}

/*.home header + section ~ section > .container {
    padding-top: 110px;
    padding-bottom: 110px;
}

header + section ~ section > .container > div ~ div {
    padding-top: 60px;
    padding-bottom: 60px;
}*/

nav.main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    transition: all 0.4s;
    z-index: 52;
    background: #e5e5e5;
    padding: 20px 44px;
}

@media (min-width: 641px) {
	.studio75 .carousel img {
	    max-width: 75%;
	    margin: 0 auto;
	}
}


@media (min-width: 992px) {
    body {
         padding-top: 140px;
    }
    nav.main-nav {
        /*border-radius: 50px;*/
        width: 90%;
        top: 35px;
    }

    @keyframes linkShadow {
        0%      { box-shadow:0 2px 0 0 rgba(27, 98, 161,0);  }
        100%    { box-shadow:0 2px 0 0 rgba(27, 98, 161,1);  }
    }

    @keyframes linkNoShadow {
        0%      { box-shadow:0 2px 0 0 rgba(27, 98, 161,1);  }
        100%    { box-shadow:0 2px 0 0 rgba(27, 98, 161,0);  }
    }

    .navbar-dark .navbar-nav .nav-link.selected
    {
        -webkit-animation-name: linkShadow;
        -ms-animation-name:linkShadow;
        -moz-animation-name:linkShadow;
        animation-name: linkShadow;
        animation-delay: 0.25s;
        -ms-animation-delay: 0.25s;
        -moz-animation-delay: 0.25s;
        -webkit-animation-delay: 0.25s;
        -webkit-animation-duration: 0.75s ;
        animation-duration: 0.75s;
        -ms-animation-duration: 0.75s;
        -moz-animation-duration: 0.75s;
        animation-fill-mode: forwards;
        -webkit-animation-fill-mode: forwards;
        -ms-animation-fill-mode: forwards;
        -moz-animation-fill-mode: forwards;
        transition-property: box-shadow; -moz-transition-property: box-shadow; -ms-transition-property: box-shadow; -webkit-transition-property: box-shadow;
    }

    section.hero-hp > .container {
        box-shadow: inset 0px 160px 0px 0px #F5F5F5;
    }
    #sliderProgetti .carousel-item > div[class^='progetto'] {
        width: 50%;
        float: left;
    }

}

@media (min-width: 1200px) {
    nav.main-nav {
        max-width: 1140px;
    }
}

.navbar-expand-lg .navbar-collapse {
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
}
.navbar-dark .navbar-nav .nav-item {
    margin-left: 0.5em;
}
.navbar-dark .navbar-nav .nav-link {
    color: #1B62A1;
    padding: 0.3em 0em;
    margin: 0em 1em;
    font-size: 0.9375em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.15s ease-in-out;
    text-transform: uppercase;
    box-shadow:0 1px 0 0 rgba(27, 98, 161,0);
    transition: box-shadow 0.45s ease;
}

#main.is-exiting .navbar-dark .navbar-nav .nav-link.selected {
    -webkit-animation-name: linkNoShadow;
    -ms-animation-name:linkNoShadow;
    -moz-animation-name:linkNoShadow;
    animation-name: linkNoShadow;
    animation-delay: 0s;
    -ms-animation-delay: 0s;
    -moz-animation-delay: 0s;
    -webkit-animation-delay: 0s;
    -webkit-animation-duration: 0.75s ;
    animation-duration: 0.75s;
    -ms-animation-duration: 0.75s;
    -moz-animation-duration: 0.75s;
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    -ms-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    transition-property: box-shadow; -moz-transition-property: box-shadow; -ms-transition-property: box-shadow; -webkit-transition-property: box-shadow;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #1b62a1;
}
div.carousel ol.carousel-indicators {
    bottom: -60px;
}

div.carousel ol.carousel-indicators li {
    width: 14px;
    height: 14px;
    border-radius: 40px;
    margin: 0 8px;
}

div.carousel .carousel-control-next-icon,
div.carousel .carousel-control-prev-icon {
    width: 32px;
    height: 32px;
}

div.carousel .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5,7.5L2.3,4.9c-0.5-0.5-0.5-1.2,0-1.7L5,0.5c0.2-0.3,0.7-0.3,0.9-0.1S6.1,1,5.8,1.3L3.5,3.7c-0.2,0.2-0.2,0.5,0,0.7 l2.3,2.3C6.1,7,6.1,7.4,5.9,7.6C5.7,7.8,5.2,7.8,5,7.5z'/%3E%3C/svg%3E");
}

div.carousel .carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.1,7.6C1.9,7.4,1.9,7,2.2,6.7l2.3-2.3c0.2-0.2,0.2-0.5,0-0.7L2.2,1.3C1.9,1,1.9,0.6,2.1,0.4S2.8,0.2,3,0.5l2.7,2.7 c0.5,0.5,0.5,1.2,0,1.7L3,7.5C2.8,7.8,2.3,7.8,2.1,7.6z'/%3E%3C/svg%3E");
}

div[id*='slider'].carousel ol.carousel-indicators {
    position: static;
    justify-content: left;
    margin: inherit;
    margin-bottom: 20px;
}
div[id*='slider'].carousel ol.carousel-indicators li {
    text-indent: 0;
    width: auto;
    background: none;
    border-radius: unset;
    height: auto;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1em;
    padding: 15px;
    box-shadow: inset 0px -4px 0px #1b62a1;
    margin: 0 12px 0 0;
    transition: box-shadow 0.35s ease;
}
div[id*='slider'].carousel ol.carousel-indicators li span {
    opacity:0.5;  }
div[id*='slider'].carousel ol.carousel-indicators li.active {
    box-shadow: inset 0px -104px 0px #1b62a1;
}
div[id*='slider'].carousel ol.carousel-indicators li.active span {
    opacity: 1;
}

/* div#sliderTerapie.carousel .carousel-inner img {
    display: block;width: 50%;float: right;margin-left: 30px;margin-bottom: 30px;
} */


div#sliderProgetti.carousel .carousel-inner img {
    display: block; max-width: 95%;float: right;;
}


div[id*='slider'].carousel .carousel-control-prev {
    left: -120px;
}
div[id*='slider'].carousel .carousel-control-next {
    right: -120px;
}



.tag {
    margin-top: 15px;
    position: relative;
}

.tag:before {
    content: '';
    background: #1b62a1;
    position: absolute;
    top: -20px;
    height: 4px;
    width: 36px;
    left: 15px;
}

.divider hr {
    width: 70%;
    height: 2px;
    background: rgba(255,255,255,.1);
    border: none;
}

.order-switch {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

#map {
    width: 100%;
    height: 500px;
}

div.centri img {
    max-width: 70%;
}
div.centri {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.05em;
}
div.centri .title {
    margin-top: 30px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}
div.centri .link a {
    font-weight: bold;
    color: #fff;
}

div.convenzioni > div > div img {
    width: 100%;
}

form#contact > div,
form#contact input#fred ~ div > div {
    margin: 0 0 20px;
}

form#contact div#success *{
    color: #1b62a1;
    font-size: 20px;
}

form#contact div#errori *{
    color: gold;
}

form#contact > div.col-12 ~ div {
    margin: 0;
}

form#contact > div a {
    color: #fff;
    font-weight: bold;
    margin: 0;
}

form#contact label:not([for='informativa']) {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.875em;
}

form#contact div input:not([hidden]):not(.btn), form#contact div textarea {
    background: #fff;
    border: none;
    padding: 8px 10px;
    color: #444;
    font-size: 0.75em;
}

form#contact div p {
    font-size: .75em;
}

form#contact label[for='informativa'] {
    cursor: pointer;
    padding-left: 32px;
    position: relative;
    margin: 0;
}

form#contact input[name="informativa"] + label::before {
    background: #1e252f;
    border-radius: 50px;
    content: "";
    font-size: 25px;
    height: 20px;
    left: 0px;
    line-height: 14px;
    position: absolute;
    text-align: center;
    text-indent: 0 !important;
    top: 7px;
    width: 20px;
    color: #1e252f;
    box-shadow: 0 0 0 3px #888;
    border: 5px solid #1e252f;
}

form#contact input[name="informativa"]:checked + label::before {
    background: #ffffff;
}

@media (max-width: 991px) {

        .btn.mobile-menu, .btn.mobile-menu:hover  {
            color: #1b62a1;
            letter-spacing: 5px;
            padding: 0;
            position: relative;
            background: none;
        }

        .btn.mobile-menu span {
            transition: opacity 0.35s cubic-bezier(.86,0,.07,1) 0.15s;
            color: #1b62a1;
        }

        .btn.mobile-menu.open span {
            opacity: 0;
        }

        .btn.mobile-menu:before,
        .btn.mobile-menu:after {
            content: '';
            position: absolute;
            width: 93%;
            background-color: #1b62a1;
            height: 1px;
            left: 0;
            transition: all 0.35s cubic-bezier(.86,0,.07,1) 0.15s;
        }

        .btn.mobile-menu:before {
            top: -20%;
        }

        .btn.mobile-menu:after {
            bottom: -13%;
        }
        .btn.mobile-menu.open:before {
            top: 45%;
            background-color: #fff;
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            transform: rotate(45deg);
        }
        .btn.mobile-menu.open:after {
            bottom: 50%;
            background-color: #fff;
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
        }

        div#navbarNav {
            opacity: 0;
            visibility: hidden;
            position: fixed;
            left: 50%;
            top: 50%;
            z-index: -1;
            -webkit-transform: translate(-50%,-50%);
            -moz-transform: translate(-50%,-50%);
            -o-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
            width: 100%;
            text-align: center;
            -webkit-transition: all 0.6s cubic-bezier(.86,0,.07,1) 0s;
            -moz-transition: all 0.6s cubic-bezier(.86,0,.07,1) 0s;
            -o-transition: all 0.6s cubic-bezier(.86,0,.07,1) 0s;
            transition: all 0.6s cubic-bezier(.86,0,.07,1) 0s;
        }

        div#navbarNav.open {
            visibility: visible;
            opacity: 1;
            -webkit-transition-delay: 0.15s;
            -moz-transition-delay: 0.15s;
            -o-transition-delay: 0.15s;
            transition-delay: 0.15s;
        }

        div#navbarNav li a {
            font-size: 18px;
            color: #fff;
        }

        div#footerNav {
            position: fixed;
            bottom: 30px;
            text-align: center;
            display: block;
            width: 100%;
            left: 0;
            opacity: 0;
            visibility: hidden;
            -webkit-transition: all 0.6s cubic-bezier(.86,0,.07,1) 0s;
            -moz-transition: all 0.6s cubic-bezier(.86,0,.07,1) 0s;
            -o-transition: all 0.6s cubic-bezier(.86,0,.07,1) 0s;
            transition: all 0.6s cubic-bezier(.86,0,.07,1) 0s;
        }

        div#footerNav.open {
            visibility: visible;
            opacity: 1;
            -webkit-transition-delay: 0.45s;
            -moz-transition-delay: 0.45s;
            -o-transition-delay: 0.45s;
            transition-delay: 0.45s;
        }

        div#footerNav a {
            color: #fff;
            display: block;
            margin-top: 20px;
        }

        nav::before {
            content: '';
            position: fixed;
            top: 0;
            background: #1e252f;
            left: 0;
            right: 0;
            height: 0%;
            z-index: -1;
            -webkit-transition: all 0.6s cubic-bezier(.86,0,.07,1) 0s;
            -moz-transition: all 0.6s cubic-bezier(.86,0,.07,1) 0s;
            -o-transition: all 0.6s cubic-bezier(.86,0,.07,1) 0s;
            transition: all 0.6s cubic-bezier(.86,0,.07,1) 0s;
        }

        nav.open::before {
            height: 100%;
        }

        nav.main-nav svg#logo_mfarina > * {
            -webkit-transition: all 0.6s ease 0s;
            -moz-transition: all 0.6s ease 0s;
            -o-transition: all 0.6s ease 0s;
            transition: all 0.6s ease 0s;
        }

        nav.main-nav.open svg#logo_mfarina * {
            fill: #fff;
            -webkit-transition-delay: 0.15s;
            -moz-transition-delay: 0.15s;
            -o-transition-delay: 0.15s;
            transition-delay: 0.15s;
        }

}

@media (min-width: 992px) and (max-width: 1128px) {
        svg#logo_mfarina {
            width: 141px;
            height: auto;
        }
        .navbar-dark .navbar-nav .nav-link {
            font-size: 0.8125em;
        }
}

@media (min-width: 1440px) {
     .offset-neg-1 {
        margin-left:-8.333333%;
    }
}

@media (max-width: 768px) {
		div[id*='slider'] .carousel-inner {
		    top: -15px;
		}
		div[id*='slider'].carousel ol.carousel-indicators li { visibility: hidden; width: 0; height: 0; }
		div[id*='slider'].carousel .carousel-inner h6.trick-title {
		    text-align: center;
		    font-weight: bold;
		    margin-bottom: 50px;
    		font-size: 14px;
		}
        div[id*='slider'].carousel ol.carousel-indicators {
		    overflow-y: hidden;
		    width: 80%;
		    margin-left: auto;
		    margin-right: auto;
		}
		div[id*='slider'].carousel .carousel-control-prev {
		    left: -30px;
		    align-items: start;
		    top: 25px;
		}
		div[id*='slider'].carousel .carousel-control-next {
		    align-items: start;
		    right: -30px;
		    top: 25px;
		}
        nav.main-nav {
            padding: 13px 30px;
        }
        section.hero-hp ~ section > .container {
            padding-bottom: 0px;
        }
        section.hero-hp ~ section .container > .d-flex > div {
            margin-bottom: 50px;
        }
        div.centri img {
            max-width: 200px;
        }
        .pt-7 {
            padding-top: 2rem !important;
            margin-top: 2rem !important;
        }
        .pb-7 {
            padding-bottom: 2rem !important;
            margin-bottom: 2rem !important;
        }
}

@media (max-width: 480px) {
        svg#logo_mfarina {
           width: 152px;
        }
        h1 {
            font-size: 36px;
        }
        section.top-hp {
            margin: 20px 0 26px;
        }
        div[id*='slider'].carousel .carousel-inner img {
            width: 100% !important;
            margin-left: 0px !important;
        }
}


footer > .container.dati {
    background-color: #161d27;
}

footer > .container.chiusura {
    background-color: #0f1620;
}

footer > .container a {
    color: #fff;
    text-decoration: none;
    border:none;
    display: inline-block;
}

/* blog */
.categorie > div {
    background: #e5e5e5;
    padding: 15px;
}
.categorie > div > span {
    font-size: 18px;
    font-weight: 600;
    color: #1B62A1;
    display: inline-block;
    margin: 0 15px 0 25px;
}
.categorie > div ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline;
}
.categorie > div ul li {
    display: inline-block;
    padding: 10px 25px 10px 0;
    margin-right: 25px;
    border-right: 1px solid #BACFE2;
}
.categorie > div ul li a {
    font-size: 14px;
    color: #4D4D4D;
    text-decoration: none;
    border: 0;
    text-transform: uppercase;
    font-weight: 600
}
.categorie > div ul li a:hover {
    color: #1B62A1;
    text-decoration: underline;
}
section.top-hp ~ * > .superdark {
    background: #0D1621;
    padding-bottom: 3rem
}
.featured h3 {
    font-weight: 800;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    margin-bottom: 45px
}
.featured p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 22px;
    margin: 35px 0;
}
.featured a.blog--button {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 15px;
    padding: 15px;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    box-sizing: border-box;
    border: 4px solid #1B62A1;
    transition: 0.3s;
}
.featured a.blog--button img {
    display: inline;
    width: 20px;
    height: auto;
}
.featured a.blog--button:hover {
    text-decoration: none;
    background: #1B62A1;
}
.featured .img--link img,
.single--post .img--link img {
    /* width: 100%;
    height: 300px; */
    object-fit: cover;
    height: auto;
    aspect-ratio: 5 / 3;
}
/* .featured .offset-md-1 .img--link img {
    height: 400px
} */
.allposts h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #FFFFFF;
}
.allposts h5 {
    opacity: 0.5;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
}
.allposts h5 span {
    text-transform: uppercase;
}
.allposts .single--post {
    display: flex;
    width: 100%;
    padding: 30px 0;
    border-bottom: 1px solid #BBBBBB;
}
.allposts .single--post:last-child {
    border-bottom: none;
}
.single--post .single--post--meta {
    flex: 1 1 auto;
    padding-right: 25px;
}
.single--post .img--link{
    display: block;
    flex: 0 0 168px;
}
/* .single--post .img--link img{
    width: 100%;
    height: 100px;
    object-fit: cover;
} */
body.single-post .container.post--container {
    padding: 0 !important;
    max-width: 1012px !important;
}
.meta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem
}
.meta-container .post-date {
    font-size: 16px;
    color: #1B62A1;
    line-height: 22px;
}
.meta-container .post-date span {
    font-weight: 600
}
.meta-container .post-category {
    display: table;
    background: #1B62A1;
    padding: 3px 25px;
    text-transform: uppercase;
}
article {
    padding: 15px 40px 80px 40px;
}
.excerpt {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 24px;
    padding: 25px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #BACFE2;
}
.post-content p {
    font-size: 16px;
    color: #FFFFFF;
    line-height: 24px;
}
.post-content h3 {
    margin-top: 35px;
}
.post-content img.aligncenter {
    display: block;
    margin: 0 auto;
}
section.top-hp.correlati .container{
    background: none
}
.correlati h3 {
    color: #1C2530;
}
.correlati h3 span {
    color: #1B62A1;
}
@media (max-width: 768px) {
    .featured .post--meta {
        margin-top: 25px;
    }
    .single--post .single--post--meta {
        flex: 1 1 100%;
    }
    .single--post .img--link{
        display: none;
    }
    .no-mobile {
        display: none
    }
    .categorie {
        padding-top: 1rem important!;
    }
    .categorie > div > span {
        margin: 0
    }
    .categorie > div ul li {
        padding: 5px 10px 5px 5px;
        margin-right: 5px;
    }
    .categorie > div ul li:last-child {
        border: 0;
        margin-right: 0;
    }
    article {
        padding: 15px 20px 80px 20px;
    }
}
