/* Import Google Font - Poppins */
* {
    margin: 0 0 5px 0;
    padding: 0;
    padding-right: 10px;
    font-family: 'Poppins', sans-serif;
}

body {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 100vh; 
    min-height: 50vh;
    background: dodgerblue;
    overflow: auto;
}

.container {
    width: 50vw;
    background: white;
    border-radius: 7px;
    padding: 2px 2px 20px 10px;
    min-width: min-content;
    min-height: 92vh; 
    display: flex;
    flex-direction: column;
    overflow-y: auto; 
    justify-content: center;
    height: auto;
}

.container .content {
    flex-grow: 1; /* Επιτρέπει στο .content να καταλαμβάνει τον διαθέσιμο χώρο */
    overflow-y: auto; /* Ενεργοποιεί το scroll στο .content */
    max-height: calc(90vh - 100px); /* Ρυθμίζουμε το μέγιστο ύψος του .content */
    padding-right: 10px;
}

.container header {
    font-weight: bolder;
    text-align: center;
    padding-top: 20px;
	    font-size: 28px;
}

.container .search {
    position: relative;
    margin: 35px 0 18px;
}

.container .info-text {
    font-size: 13px;
    text-align: justify;
    color: #9a9a9a;
    margin: -3px 0 -10px;
}

.info-text span {
    font-weight: 500;
}

.container ul {
    height: 0;
    opacity: 0;
    overflow-y: visible;
    transition: all 0.2s ease;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.container.active ul {
    opacity: 1;
}

.container.active .info-text {
    display: none;
}

.container.active {
    position: relative;
    top: 6px;
}

.container ul li {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 17px;
    border-bottom: 1px solid #ccc;
    justify-content: space-between;
}

@media (min-width: 701px) {
    .container header {
        font-size: 28px;
    }

    ul .content {
        overflow: auto;
        overflow-x: hidden;
    }

    .container.active ul {
        height: auto;
    }

    img {
        max-height: 45vh;

        object-fit: contain;  
    }
}

@media (max-width: 700px) {
    .container header {
        font-size: 28px;
    }

    .container {
        height: auto;
        width: 90%;
        display: flex;
        justify-content: center;
    }

    ul .content {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .container.active ul {
        height: auto;
    }

    img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain; 
    }
}

@media (max-width: 609px) {
    .container {
        height: auto;
        width: 90%;
        display: flex;
        justify-content: center;
    }

    ul .content {
        max-height: 65vh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .container.active ul {
        height: auto;
    }

    img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain; 
    }
}

@media (max-height: 400px) {
	 #dropdownMenu{
		max-height: 50px;
	}
}

/* Σβηνει την τελευταια γραμμη */
ul li:last-child {
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: 0px;
}

.container li .details {
    border-left: 3px solid #4d59fb;
    padding-left: 10px;
    border-radius: 4px 0 0 4px;
}

.container li .details p {
    font-size: 17px;
    font-weight: 600;
}

.container li .details span {
    font-size: 15px;
    color: #7e7e7e;
}

select {
    appearance: none;
    -webkit-appearance: none; /* Safari */
    -moz-appearance: none; /* Firefox */
    width: 100%;
    height: auto;
    max-height: 8vh;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

select:focus {
    outline: none;
    border-color: #007bff;
}

.wimage {
    width: 100%;
    display: flex;
    justify-content: center;
}

img {
    position: relative;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
