/*!
 * FIle CSS per classi CUSTOM 
 * Da utilizzare per aggiungere classi una volta online o per cose che non modificanno Bootstrap
 * 
 */

[id] {
  scroll-margin-top: calc(var(--height-menu) + 20px); 
}

@media (max-width: 768px) {
    
    .scrolled {
        background-color: rgb(var(--bs-primary-rgb))  !important;
    }
}

/* HOME 
--------------------------------------------------*/

.gradient-primary {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(0deg, rgba(var(--bs-primary-rgb), 0) 50%, rgba(var(--bs-primary-rgb), 1) 100%);
}

.gradient-secondary {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(0deg, rgba(var(--bs-secondary-rgb), 0) 0%, rgba(var(--bs-secondary-rgb), 1) 100%);
}

.gradient-white {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 100%);
}

/* FOTTER 
--------------------------------------------------*/

.social-circle {
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    height: 30px;
    width: 30px;

    background-color: var(--bs-primary);

    border-radius: 50%;
    color: #ffffff;
}


footer .social-circle {
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    height: 30px;
    width: 30px;

    background-color: #ffffff;

    border-radius: 50%;
    color: var(--bs-primary);
}


footer .divider::before {
    content: " ";
    display: block;
    height: 100%;
    width: 3px;
    background-color: #ffffff;
    padding: 0 !important;
    margin: auto;
}

@media (max-width: 680px) {
    footer .divider::before {
        display: none;
    }
}

/* COOKIE BANNER
--------------------------------------------------*/

#sliding-popup {
    background-color: var(--bs-gray-200) !important;
    padding: 20px;
    border: none;
    width: 40% !important;
    transform: translate(0, 1px);
}

.popup-content {
    position: relative;
    display: flex;
    flex-direction: column;
}

.eu-cookie-compliance-message {
    max-width: 100%;
}

.eu-cookie-compliance-message h2 {
    font-size: 1.5rem;
}

.eu-cookie-compliance-more-button {
    display: inline-block;
    padding: 5px 10px;
    font-weight: bold;
    color: var(--bs-primary);
    transition: all 0.5s;
    border-radius: 0 !important;
    border: none;
    background-color: transparent;
    margin-bottom: 20px;
}

.eu-cookie-compliance-categories-buttons {
    width: fit-content;
}

.eu-cookie-compliance-save-preferences-button,
.eu-cookie-compliance-default-button,
.eu-cookie-compliance-default-button,
.eu-cookie-withdraw-button,
.eu-cookie-withdraw-tab,
.eu-cookie-withdraw-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: var(--btn-font-weight);
    color: #000000;
    transition: all 0.5s;
    border-radius: 0 !important;
    border: none;
}


.eu-cookie-compliance-category {
    background-color: var(--bs-gray-300);
    width: 70%;
}

.eu-cookie-compliance-category>div {
    padding: 10px;
    margin-bottom: 5px;

    border-radius: 10px;
}

.eu-cookie-withdraw-tab {
    display: flex;
    flex-direction: row;
    gap: 7px;
    font-size: 20px;
}

.eu-cookie-withdraw-tab::before {
    content: "\f564";
    display: block;
    font-family: "Fontawesome";
    color: var(--bs-primary);
}

.eu-cookie-compliance-buttons .agree-button {
    position: absolute;
    bottom: 0;
    right: 0;
}

.eu-cookie-compliance-save-preferences-button {
    margin-top: 10px;
    border: var(--bs-gray-600) 2px solid;
}

.agree-button.eu-cookie-compliance-default-button,
.eu-cookie-withdraw-button {
    border: var(--bs-primary) 2px solid;
}

@media (max-width: 1400px) {
    .eu-cookie-compliance-content {
        max-width: 100%;
    }
}

@media (max-width: 1000px) {
    #sliding-popup {
        width: 100% !important;
    }
}