.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.revealed {
    opacity: 1;
    transform: none;
}

#loading {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Livello_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 150 150' style='enable-background:new 0 0 150 150%3B' xml:space='preserve'%3E%3Cstyle type='text/css'%3E.st0%7Bfill:none%3B%7D.st1%7Bfill:%23303030%3B%7D%3C/style%3E%3Crect x='-2.8' y='-1.9' class='st0' width='155.9' height='154.5'/%3E%3Cpath class='st1' d='M75 40.2c-20.3 0-35.1 14.6-35.1 34.8c0 20.1 14.8 34.7 35.1 34.7s35.1-14.6 35.1-34.7S95.3 40.2 75 40.2zM95 75c0 12.2-8 20.4-20 20.4C63.2 95.4 55 87 55 75c0-12.1 8.2-20.5 20-20.5S95 63 95 75z'/%3E%3C/svg%3E");
    background-size: auto 150px;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--bodyBgColor1) !important;
}

#loading img {
    opacity: 0;
}

#loading::after {
    content: "";
    position: relative;
    width: 150px;
    height: 150px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Livello_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 150 150' style='enable-background:new 0 0 150 150%3B' xml:space='preserve'%3E%3Cstyle type='text/css'%3E.st0%7Bfill:none%3B%7D.st1%7Bfill:%23303030%3B%7D%3C/style%3E%3Crect x='-2.8' y='-1.9' class='st0' width='155.9' height='154.5'/%3E%3Cpath class='st1' d='M42.5 39.8c0-8.1-6.6-14.7-14.7-14.7s-14.7 6.6-14.7 14.7s6.6 14.7 14.7 14.7S42.5 47.9 42.5 39.8'/%3E%3C/svg%3E");
    background-size: auto 150px;
    background-position: center center;
    background-repeat: no-repeat;
    animation-name: loading;
    animation-duration: 1000ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes loading {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

body {
    padding-top: 70px;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bodyBgColor1);
    z-index: 500;
}


header .logo {
    background-size: auto 44px;
    background-position: 0 5px;
    background-repeat: no-repeat;
    height: 50px;
    width: 126px;
}

div.logo.left img {
    margin: 0 !important;
}


/* HEADER */

header .middle ul.right li a:hover {
    color: var(--headerMiddleFontColor2) !important;
}

header .middle {
    position: absolute;
    top: 22px;
    left: 0;
    width: 100%;
}

header .menu {
    padding-right: 80px;
    padding-top: 5px !important;
}

@media(max-width:1280px) {
    header .menu {
        padding-right: 80px;
    }
}

header .menu a {
    position: relative;
    font-size: 1rem;
    color: var(--headerUpperFontColor1);
    z-index: 200;
}

header .menu a:hover {
    color: var(--headerMiddleFontColor2) !important;
}

@media(min-width:990px) {
    header .menu a {
        position: relative;
        font-size: 1.1rem;
        color: var(--headerUpperFontColor1);
        z-index: 200;
    }
}

header #mhl1 {
    display: none;
}

header .setLang {
    height: auto !important;
    width: auto !important;
    left: auto !important;
    padding: 0 !important;
    background-color: transparent;
    position: relative !important;
}

header .setLang li {
    opacity: 1;
}

header .setLang li {
    padding: 10px 5px 0 0px !important;
}

header .setLang li:nth-child(3) {
    padding: 10px 5px 0 2px !important;
}

ul.setLang span {
    color: var(--bodyFontColor2) !important;
}

header .setLang li:nth-child(2) {
    padding-left: 0px !important;
}

@media(max-width:850px) {
    ul.right li ul.setLang {
        right: 65px;
    }
}

header .setLang li:last-child {
    display: none;
}

header .setLang li a img {
    display: none;
}

header .setLang li a {
    position: relative;
    font-size: 16px;
    line-height: 16px;
    height: 16px;
    font-weight: 500;
    display: inline-block;
    visibility: hidden;
    color: var(--bodyFontColor2) !important;
}

header .setLang li a.active {
    font-weight: 700;
    color: var(--headerMiddleFontColor1) !important;
}

ul.setLang li a {
    font-size: 0rem;
}

header .setLang li:first-child a::after {
    content: "IT";
    visibility: visible;
    font-size: 1rem;
}

header .setLang li:nth-child(3) a::before {
    position: relative;
    content: "EN";
    visibility: visible;
    font-size: 1rem;
}


@media (max-width: 850px) {


    header .bottom .mobileMenu ul.menu li {
        display: block;
        text-align: left;
        padding: 0 !important;
        background-color: var(--headerBottomBgColor3);
    }

    header .bottom .mobileMenu ul.menu li a {
        position: relative;
        font-size: 1.75rem;
        line-height: 2rem;
        font-weight: 600;
        padding-bottom: 30px !important;
        opacity: 0;
        transition: left 0.5s, opacity 1s;
    }

    header .bottom .mobileMenu ul.menu li a {
        position: relative;
        display: block;
        color: var(--headerBottomFontColor5) !important;
        transition: color var(--menuSpeed1);
        padding: 10px 0 !important;
        padding-bottom: 10px;
        border-top: 1px solid var(--headerBottomBorderColor3);
        margin: 0 10px;
    }
}

@media (max-width: 680px) {

    header .setLang li a {
        width: auto;
        overflow: visible;
        display: inline-block;
        text-indent: 0;
    }
}


header nav .links li a {
    display: none;
}

header .ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

header .hamRotate.active {
    transform: rotate(45deg);
}

header .hamRotate180.active {
    transform: rotate(180deg);
}

header .line {
    fill: none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: var(--headerMiddleFontColor1);
    stroke-width: 5.5;
    stroke-linecap: round;
}

header .ham1 .top {
    stroke-dasharray: 40 139;
}

header .ham1 .bottom {
    stroke-dasharray: 40 180;
}

header .ham1.active .top {
    stroke-dashoffset: -98px;
}

header .ham1.active .bottom {
    stroke-dashoffset: -138px;
}

header #nmb {
    display: none;
}

@media (max-width: 850px) {
    header .mobileMenu {
        display: block !important;
    }

    header #nmb {
        display: block !important;
    }
}

header #nmb svg {
    position: absolute;
    top: -22px;
    right: 15px;
    width: 60px;
    height: 60px;
    display: block;
    z-index: 999;
}

header .mobileMenu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100vw;
    min-height: calc(100vh - 80px);
    background-color: var(--bodyBgColor1);
    z-index: 200;
    box-sizing: border-box;
}

header .mobileMenu ul.menu {
    padding: 30px 20px !important;
}

header .bottom .mobileMenu ul.menu li a {
    position: relative;
    font-size: 1.75rem;
    line-height: 2rem;
    font-weight: 600;
    padding-bottom: 30px !important;
    opacity: 0;
    transition: left 0.5s, opacity 1s;
}

header .bottom .mobileMenu ul.menu li:nth-child(1) a {
    left: -10px;
}

header .bottom .mobileMenu ul.menu li:nth-child(2) a {
    left: -20px;
}

header .bottom .mobileMenu ul.menu li:nth-child(3) a {
    left: -30px;
}

header .bottom .mobileMenu ul.menu li:nth-child(4) a {
    left: -40px;
}

header .bottom .mobileMenu ul.menu li:nth-child(5) a {
    left: -50px;
}

header .bottom .mobileMenu ul.menu li:nth-child(6) a {
    left: -60px;
}

header .bottom .mobileMenu ul.menu li:nth-child(7) a {
    left: -70px;
}

header .bottom .mobileMenu.open ul.menu li a {
    left: 0;
    opacity: 1;
}

/* SECTION */

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (max-width: 980px) {

    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

section h1 {
    font-weight: 700 !important;
    font-size: 6.25rem !important;
    line-height: 6.3rem !important;
}

section h2 {
    font-weight: 500 !important;
    font-size: 3.25rem !important;
    line-height: 3.5rem !important;
}

section h3 {
    font-weight: 400 !important;
    font-size: 2.5rem !important;
    line-height: 3rem !important;
}

section .color {
    color: var(--bodyFontColor3) !important;
}


a.color:hover {
    color: var(--bodyFontColor3Hover) !important;
}


section p:not(.magazineBox p) {
    font-size: 1.15rem;
    line-height: 1.65rem;
    font-weight: 300;
    color: var(--bodyFontColor4) !important;
}

@media (max-width: 980px) {

    section h1 {
        font-size: 5.25rem !important;
        line-height: 5.3rem !important;
    }

    section h2 {
        font-size: 2.25rem !important;
        line-height: 2.5rem !important;
    }

    section h3 {
        font-size: 1.75rem !important;
        line-height: 2rem !important;
    }
}

@media (max-width: 768px) {

    section h1 {
        font-size: 4.25rem !important;
        line-height: 4.3rem !important;
    }
}

@media (max-width: 480px) {

    section h1 {
        font-size: 3.75rem !important;
        line-height: 4rem !important;
    }

    section h2 {
        font-size: 2rem !important;
        line-height: 2.25rem !important;
    }

    section h3 {
        font-size: 1.25rem !important;
        line-height: 1.5rem !important;
    }

    section p:not(.magazineBox p) {
        font-size: 1rem;
        line-height: 1.25rem;
    }
}

.portfolio .card {
    border: none !important;
}

.portfolio img.card-img-top.rounded-0 {
    border-radius: 30px !important;
    height: 100%;
    object-fit: cover;
    color: #fff;
    display: block;
}

.portfolio div.card-body.text-left div.text-left {
    display: none !important;
}

.portfolio div.card-body.text-left {
    position: absolute;
    bottom: 0;
    color: var(--bodyBgColor1);
    z-index: 100;
}

.portfolio div.card-body.text-left h5.card-title {
    font-size: 28px !important;
    line-height: 32px !important;
    color: #fff !important;
}

.portfolio .wrap {
    overflow: hidden;
    border-radius: 30px;
    z-index: 10 !important;
}

.portfolio div.card.rounded.border-,
.portfolio div.card-deck.lastRow div.card.rounded.border- {
    background-color: var(--bodyBgColor1);
}


@media(max-width:900px) {
    .portfolio .card-break {
        display: block !important;
    }

    .portfolio div.card.rounded.border-,
    .portfolio div.card-deck.lastRow div.card.rounded.border- {
        margin-bottom: 30px;
        background-color: var(--bodyBgColor1);
    }

    .portfolio div.card-body.text-left h5.card-title {
        font-size: 3rem;
    }
}

@media(max-width:650px) {
    .portfolio div.card-body.text-left h5.card-title {
        font-size: 2rem;
    }
}

.magazine .card {
    border: none !important;
}

.magazine img.card-img-top.rounded-0 {
    height: 100%;
    object-fit: cover;
    color: #fff;
    display: block;
}

.magazine hr,
.magazine div.card-body.text-left div.text-left {
    display: none !important;
}



.magazine div.card-body.text-left {
    position: relative;
    bottom: 0;
    color: var(--bodyFontColor1);
    z-index: 100;
}

.magazine p.card-text {
    color: var(--bodyBgColor1) !important;
}

.magazine div.card-body.text-left h5.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.magazine div.card-body.text-left h5.card-title:hover {
    color: var(--bodyFontColor3);
}

.magazine div.card-body.text-left h6 {
    font-weight: 400;
}

.magazine div.card-body.text-left h5.card-title:first-letter {
    text-transform: uppercase;
}

.magazine .card-deck {
    margin-bottom: 0px !important;
}

.magazine div.card.rounded.border- {
    margin-bottom: 30px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 30px !important;
}

.magazine div.card-deck.lastRow div.card:nth-child(2) {
    display: none !important;
}

.magazine .wrap {
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    z-index: 10 !important;
}

@media(max-width:1440px) {
    .magazine div.card-body.text-left h5.card-title {
        font-size: 1.5rem;
    }
}

@media(max-width:900px) {
    .magazine .card-break {
        display: block !important;
    }

    .lastRow .card:nth-last-child(2) {
        margin-bottom: 0rem !important;
    }
}

@media(max-width:650px) {
    .magazine div.card-body.text-left h5.card-title {
        font-size: 1.2rem;
    }
}

@media(min-width:768px) {
    .magazine .wrap {
        position: relative;
        width: 100%;
        aspect-ratio: 1.919;
        display: block;
        overflow: hidden;
        border-radius: 30px;
        min-height: 20rem;
    }
}


.bootstrap-iso .card-body:not(.xBBcode) {
    padding: 2rem !important;
}

p.mt-5.xBBcode div.card-body {
    padding: 1rem !important;
}

.magazine img,
.portfolio img {
    transform: scale(1);
    transition: all 0.2s ease-in-out;
}

.magazine img:hover,
.portfolio img:hover {
    transform: scale(1.2);
}

.portfolio .card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    pointer-events: none;
    border-radius: 30px;
    z-index: 10;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}


.wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bodyBgColor1);
    border-radius: 30px;
}


.wrap img.preloadergif {
    width: 15%;
    height: auto;
    transition: opacity 0.4s ease;
    position: relative;
    z-index: 1;
    display: block;
}


.wrap .preloader {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background-color: var(--bodyBtnColor1)
}

.wrap .img-fluid {
    height: 100%;
    object-fit: cover;
}


section .bs5 .accordion-item {
    color: var(--bodyFontColor1) !important;
    background-color: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: none !important;
    border-top: 1px solid var(--bodyBorderColor1) !important;
}

section .bs5 .accordion-item:last-child {
    border-bottom: 1px solid var(--bodyBorderColor1) !important;
}

section .bs5 .accordion-button {
    color: var(--bodyFontColor1) !important;
    background-color: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-weight: 500 !important;
    font-size: 1.25rem !important;
    line-height: 1.5rem !important;
}

section .bs5 .accordion-button:not(.collapsed),
section .bs5 .accordion-button:focus {
    border: none !important;
    box-shadow: none !important;
}

section .bs5 .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C3C3C3'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

section .bs5 .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C3C3C3'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#services-box .accordion-item:first-child .accordion-button {
    border-top: 1px solid var(--bodyBorderColor1) !important;
}


section .bs5 #services-box .accordion-item:first-child {
    border-top: none !important;
}

section .bs5 #services-box .accordion-item h1 {
    margin: 2rem 0 1.5rem 0 !important;
}

section .bs5 #services-box .accordion-item:first-child h1 {
    margin-top: 0 !important;
}


section .gMap {
    min-height: 500px;
}

section .bootstrap-iso.contacts-box {
    padding-top: 0.5rem;
}

section .bootstrap-iso.contacts-box h3 {
    margin-top: 2rem !important;
}

section .bootstrap-iso.contacts-box p {
    margin-bottom: 0 !important;
}

section .bootstrap-iso.contacts-box hr {
    display: block;
    height: 0;
    overflow: hidden;
    margin: 0;
    margin-top: 2.1rem !important;
    border-bottom: 1px solid var(--bodyBorderColor1) !important;
}

section .bootstrap-iso.contacts-box a {
    color: var(--bodyFontColor3) !important;
    transition: color var(--menuSpeed1);
    text-decoration: none;
}

section .bootstrap-iso.contacts-box a:hover {
    color: var(--bodyFontColor3Hover) !important;
}

section h2.see-also {
    margin-top: 80px;
}

section .xbbcode-h1 {
    font-weight: 700 !important;
    font-size: 6.25rem !important;
    line-height: 6.3rem !important;
    margin-top: 3rem !important;
    color: var(--bodyFontColor1) !important;
}

section .xbbcode-h2 {
    font-weight: 500 !important;
    font-size: 2.25rem !important;
    line-height: 2.5rem !important;
    margin-top: 3rem !important;
    color: var(--bodyFontColor1) !important;
}

section .xbbcode-h3 {
    font-weight: 400 !important;
    font-size: 1.5rem !important;
    line-height: 2.25rem !important;
    margin-top: 3rem !important;
    color: var(--bodyFontColor1) !important;
}

@media (max-width: 980px) {

    section .xbbcode-h1 {
        font-size: 5.25rem !important;
        line-height: 5.3rem !important;
    }

    section .xbbcode-h2 {
        font-size: 2.25rem !important;
        line-height: 2.5rem !important;
    }

    section .xbbcode-h3 {
        font-size: 1.75rem !important;
        line-height: 2rem !important;
    }
}

@media (max-width: 768px) {

    section .xbbcode-h1 {
        font-size: 4.25rem !important;
        line-height: 4.3rem !important;
    }
}

@media (max-width: 480px) {

    section .xbbcode-h1 {
        font-size: 3.75rem !important;
        line-height: 4rem !important;
    }

    section .xbbcode-h2 {
        font-size: 2rem !important;
        line-height: 2.25rem !important;
    }

    section .xbbcode-h3 {
        font-size: 1.25rem !important;
        line-height: 1.5rem !important;
    }

    section p:not(.magazineBox p) {
        font-size: 1rem;
        line-height: 1.25rem;
    }
}

section .bootstrap-iso .btn-primary,
section .bootstrap-iso .btn-primary:focus,
.bootstrap-iso .btn-primary.focus {
    border-radius: 0;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
    color: var(--bodyBtnColor1) !important;
    background-color: var(--bodyBtnBgColor1) !important;
    border-color: var(--bodyBtnBorderColor1);
    box-shadow: none !important;
    border-radius: 30px;
}

section .bootstrap-iso .btn-primary:not(:disabled):not(.disabled):active,
section .bootstrap-iso .btn-primary:not(:disabled):not(.disabled).active,
section .show>.bootstrap-iso .btn-primary.dropdown-toggle,
section .bootstrap-iso .btn-primary:hover {
    color: #fff !important;
    background-color: var(--headerBottomFontColor2) !important;
    border-color: var(--headerBottomFontColor2) !important;
}

@media(max-width:850px) {
    .last-btn {
        margin-bottom: 0px !important;
    }
}

/************** NEW HOME **************/

.otx-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
}

.otx-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 1;

}

.otx-carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.otx-carousel-content {
    position: relative;
    padding-top: 18rem;
    text-align: left;
    color: #000;
    z-index: 2;
}

.otx-carousel-content h1 {
    margin-bottom: 20px;
    color: #fff;
}

@media (max-width: 575px) {

    .otx-carousel-content h1 {
        font-size: 3.5rem;
    }

}

@media (min-width: 576px) {

    .otx-carousel-content h1 {
        font-size: 6rem;
    }
}

@media (min-width: 768px) {
    .otx-carousel-content h1 {
        font-size: 5.5rem;
    }
}

@media (min-width: 992px) {
    .otx-carousel-content h1 {
        font-size: 6rem;
    }
}

@media (min-width: 2600px) {
    .otx-carousel-content h1 {
        font-size: 11rem;
    }
}

.otx-carousel-content p {
    font-size: 4rem;
}



div.otx-carousel a.btn.btn-primary {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 20px;
    color: #fff !important;
    background: var(--bodyFontColor3) !important;
    border: none !important;
    border-radius: 30px !important;

}

@media(min-width:990px) {
    div.otx-carousel a.btn.btn-primary {
        font-size: 1.5rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.otx-carousel-content button:hover {
    background: #cc741c !important
}

.otx-carousel-content button a {
    color: #fff;
}

::selection {
    color: #131313;
    background: #E6811FCC;
}


.otx-carousel-dots {
    position: relative;
    gap: 10px;
    top: 0px;
    z-index: 3;
}

.otx-carousel-dots .dot {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;

}

.otx-carousel-dots .dot.active {
    background-color: #fff;
}

.img-gif {
    max-width: 10rem;
}

.team-bg {
    background-color: var(--greyBackground);
}

/************** GRID IMG  **************/

.img-fluid {
    border-radius: 30px;
}


/************** NEW FOOTER **************/

.footer-custom {
    background-color: var(--footerUpperBgColor1);
    color: var(--footerUpperFontColor1);
    border-radius: 30px;
    margin-bottom: 30px !important;
    margin: 0 auto;
}

.logo-container img {
    width: 120px;
}

.privacy-d {
    display: none;
}

.custom-f-padding {
    padding: 3rem;
}

.footer-custom a {
    text-align: left;
    font-size: 1rem;
    font-weight: 200;
    text-decoration: none !important;
    color: var(--footerUpperFontColor1);
}

.footer-custom a:hover {
    color: var(--bodyFontColor3) !important;
}

div.custom-f-padding p.mb-0 {
    text-align: left;
    font-size: 1rem;
    font-weight: 200;
    display: block !important;
    border-bottom: none !important;
}

div.custom-f-padding div.mt-3.custom-social a i {
    font-size: 18px !important;
}

div.custom-f-padding div.mt-3.custom-social a:not(:last-child) {
    margin-right: 10px;
}

@media(max-width:1280px) {
    .footer-custom {
        border-radius: 0px;
        margin-bottom: 0px !important;
    }

    .custom-f-padding {
        padding: 3rem 0rem;
    }
}

@media(max-width:980px) {
    .custom-f-padding {
        padding: 2rem 0rem;
    }
}

@media(max-width:768px) {

    .footer-custom a,
    .footer-custom div.col-md-8.order-md-1.order-2.mb-3.mb-md-0 p,
    .footer-custom div.col-md-8.order-md-1.order-2.mb-3.mb-md-0,
    .footer-custom div.col-md-4.order-md-2.order-1.mb-4.mb-md-0.text-md-end.logo-container {
        width: 100%;
        text-align: center;
    }

    .logo-container img {
        width: 160px;
    }

    .privacy-m {
        display: none;
    }

    .privacy-d {
        display: block;
    }

    div.custom-f-padding div.d-flex.flex-wrap div.col-md-8.order-md-1.order-2.mb-3.mb-md-0 {
        margin-bottom: 0px !important;
    }
}


@media (max-width: 850px) {

    header .bottom ul.menu {
        position: absolute;
        top: 0;
        height: 0px;
        overflow: hidden;
    }

    header .bottom .links li:first-child {
        display: inline-block;
    }
}