html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}





.hidden {
    display: none;
}

@media screen and (min-width: 576px) {
    .modal-dialog {
        max-width: 100%;
    }

    .MapSearch {
        position: fixed;
        z-index: 1;
        max-width: 40%;
        min-width: 40%;
        margin-top: 20px;
        margin-left: 40px;
    }
   
}


@media screen and (min-width: 980px) {
    .modal-dialog {
        max-width: 50%;
    }

    .MapSearch {
        position: fixed;
        z-index: 1;
        /*background-color: white;*/
        max-width: 20%;
        min-width: 20%;
        margin-top: 20px;
        margin-left: 40px;
    }

    
}


.MapInfoBox {
    position: fixed;
    z-index: 1;
    background-color: white !important;
    max-width: 20%;
    min-width: 20%;
    bottom: 79px;
    margin-left: 40px;
}

/* Modern look */
.modern-box {
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
    font-family: "Segoe UI", Roboto, sans-serif;
}

/* Header clickable */
.toggle-header {
    background: #f7f9fc;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

    .toggle-header:hover {
        background: #eef2f7;
    }

    /* Arrow animation */
    .toggle-header .arrow {
        transition: transform 0.3s ease;
    }

    .toggle-header.active .arrow {
        transform: rotate(180deg);
    }

/* Content modern style */
.modern-content {
   /* padding: 14px;*/
    font-size: 14px;
    color: #3b3b3b;
    line-height: 1.4;
}

    /* Links */
    .modern-content a {
        color: #0a66c2;
        text-decoration: none;
        font-weight: 500;
    }

        .modern-content a:hover {
            text-decoration: underline;
        }

/* Download link */
.download-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
}

/* Slide animation (già usata da te) */
.info-hidden {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    padding-left: 8px;
    padding-right: 8px;
}

.info-show {
    max-height: 500px;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom:8px;
}

/*
.modal-dialog {
    max-width: 50%;
}*/

.modal-dialog-slideout {
    min-height: 100%;
    margin: 0 0 0 auto;
    background: #fff;
}

.modal.fade .modal-dialog.modal-dialog-slideout {
    -webkit-transform: translate(100%, 0)scale(1);
    transform: translate(100%, 0)scale(1);
}

.modal.fade.show .modal-dialog.modal-dialog-slideout {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    display: flex;
    align-items: stretch;
    -webkit-box-align: stretch;
    height: 100%;
}

    .modal.fade.show .modal-dialog.modal-dialog-slideout .modal-body {
        overflow-y: auto;
        overflow-x: hidden;
    }

.modal-dialog-slideout .modal-content {
    border: 0;
}

.modal-dialog-slideout .modal-header,
.modal-dialog-slideout .modal-footer {
    height: 4rem;
    display: block;
}

.CountryListElem:hover {
    background-color: #CFD8DC;
}


/*Immagine del questionario con effetto blur in basso*/
.image-container {
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}
/*-----------------------------------------------------------------*/


.accordion-button:not(.collapsed) {
    background-color: #dfe7f6;
}
.accordion-body {
    background-color: #f9f9f9;
    border: 1px solid #cdcdcd;
}

.tox-promotion {
    display: none !important
}