/* CSS for the detail container */
.detail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 403;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CSS for the detail window */
.detail-window {
    background-color: #013F79;
    border-radius: 10px;
    width: 98%;
    height: 94%;

    padding-top: 3px;
    padding-left: 3px;
    padding-right: 3px;
    padding-bottom: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.detail-top-container {
    width: 100%;
    height: 50%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.detail-bottom-container {
    width: 98%;
    height: 70%;
    overflow-y: auto;
    
    margin-top: 10px;
    color: #FFFFFF;
}

.detail-content {
    padding-left: 30px;
    padding-right: 30px;

    font-size:14px;
    line-height: 1.5;
    letter-spacing: 2px;
}

.detail-back {
    width: 50px;
    padding: 10px;
}

.detail-top-container-lower {
    height: 50px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
}

.right-div {
    background: rgb(128, 128, 128, 0.87);
    border-radius: 50px;
    padding: 20px;
    margin-bottom: 60px;

    margin-left: auto;
    margin-right: 35px;
}

.left-div {
    margin-bottom: 40px;
    margin-left: 40px;
}

.detail-button-camera {
    width: 35px;
}

.detail-button-categories {
    display: inline-block;
    position: relative;

    background: #B698C7;
    margin-bottom: 130px;
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;

    border: 0;
}

.detail-category-name {
    color: #FFFFFF;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.detail-header {
    color: #FFFFFF;
}

.arrow_box {
    padding: 10px;
    position: relative;
    background: #FFFFFF;
    width: 320px;
    height: 100px;
    text-align: center;
    border-radius: 10px;
    color: #013F79;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.arrow_box:after {
    right: 95%;
    top: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(136, 183, 213, 0);
    border-right-color: #FFFFFF;
    border-width: 30px;
    margin-top: -30px;
}

.arrow-box-container{
    position: absolute;
    top: -40px;
    left: 225px;
    width: 50px;
    height: 50px;
}

.detail-popup-button{
    display: flex;
    justify-content: center;
}

.detail-button{
    border-radius: 80px; 
    padding: 10px;
    padding-left: 40px;
    padding-right: 40px;    
    text-align: center;
    font-size: 16px;
    width: 130px;
}

.detail-close-button {
    /* Button properties */
    border: 1px solid #005FAC;
    background-color: #FFFFFF;
    color: #013F79;
    
    margin-right: 10px;
}

.detail-apply-button {
    /* Button properties */
    border: 1px solid #FFFFFF;
    background-color: #013F79;
    color: #FFFFFF;
}

.detail-bottom-container {
    width: 98%;
    height: 50%;
    overflow-y: auto;
    margin-top: 10px;
    color: #FFFFFF;
    /* Aggiungi uno stile personalizzato alla barra di overflow */
    scrollbar-width: thin;
    scrollbar-color: #013F79 #013F79;
}

/* Stile per la barra di overflow su Firefox */
.detail-bottom-container::-webkit-scrollbar {
    width: 8px;
}

.detail-bottom-container::-webkit-scrollbar-thumb {
    background-color: #013F79;
}

/* Stile per la barra di overflow su Chrome, Edge e Safari */
.detail-bottom-container::-webkit-scrollbar-track {
    background-color: #013F79;
}

.detail-bottom-container::-webkit-scrollbar-thumb {
    background-color: #FFFFFF;
}


