.modal_info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.4rem;
	width: 450px;
	padding: 1.3rem;
	min-height: 250px;
	position: absolute;
	background-color: white;
	border: 1px solid #ddd;
	border-radius: 15px;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 800;
	max-width: 100%;
	overflow-y: auto;
}

.modal_info .flex {
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal_info input {
	padding: 0.7rem 1rem;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 0.9em;
}

.modal_info p {
	font-size: 0.9rem;
	color: #777;
	margin: 0.4rem 0 0.2rem;
}

button {
	cursor: pointer;
	border: none;
	font-weight: 600;
}

/* .btn {
		display: inline-block;
		padding: 0.8rem 1.4rem;
		font-weight: 700;
		background-color: black;
		color: white;
		border-radius: 5px;
		text-align: center;
		font-size: 1em;
	} */

.btn-open {
	position: absolute;
	bottom: 150px;
	z-index: 200;
}

.btn-close {
	background: #FDA127;
	border-radius: 50%;
	/* position: absolute; */
	/* top: 9px; */
	/* right: 10px; */
	padding: 0.5rem;
	margin-bottom: 10px;
	margin-left: auto;
}

.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(3px);
	z-index: 400;
}

.modal_info a.btn{
	margin: 20px auto 0;
    max-width: 500px;
    height: 43px;
    text-align: center;
    display: flex !important;
    justify-content: center;
    align-items: center;
	color: #FFF !important;
	font-weight: 700;

}

.hidden {
	display: none;
}

.line_details {
	display: none !important;
}

.close_details_text {
	display: none !important;
}

.line.line_details.line_opened {
	display: grid !important;
}

.upper_line_opened .open_details_text {
	display: none;
}

.upper_line_opened .close_details_text {
	display: block !important;
}

/* Dimensiune modale */
.modal_info img{
	width: 100%;
    /* max-height: 400px; */
    margin: 0px auto 10px;
    object-fit: cover;
}
.modal_lg{
	min-width: 990px!important;
    min-height: 400px !important;
}
.modal_md{
    min-width: 612px !important;
    min-height: 554px !important;
    
    overflow-y: auto;
    
}
.modal_sm{
	width: 400px !important;
    min-height: 300px !important;
    padding: 10px;
}

.modal_lg, .modal_md, .modal_sm{
	max-width: calc(100vw - 20px) !important;
	max-height: calc(100vh - 20px);
}

#link_modal.btn.bg_orange:hover{
	background-color: #fc9611 !important;
}

@media(max-width:991px){
	.modal_lg{
		min-width: unset !important;
		min-height: unset !important;
		width: 100%;
	}
}

@media(max-width:767px){
	.modal_md{
        min-width: unset !important;
        min-height: unset !important;
    }
}