@import url('https://fonts.googleapis.com/css?family=Open+Sans');

.delivery-option img{
	width: 50px;
	height: auto;
}

.map_agrikolis { 
    height: 100vh; /* Définit la hauteur de la carte à 100% de la hauteur de la fenêtre */
    width: 100%; /* Définit la largeur de la carte à 100% */
}

.DisplayRelayList {
	clear: both;
	width: 100%;
}

.carrier-delay {
	text-align: justify !important;
}

.agrikolis_relay {
    clear: both;
    width: 100%;
    display: inline-block;
    padding-left: 10px;
	padding-right: 10px;
}

.leftDisplayListRD{
	width: 100%;
	float: left;
	padding: 5px 10px;
}
.mprelaydelivery_relay_point {
	margin-top:	15px;
}
.descriptionRelay {
    margin-top: 5px;
    padding: 5px;
}
.descriptionRelay:first-of-type {
    background-color: #d7d7d7;
    border: 1px solid #2d542f !important;
}
.descriptionRelay {
    background-color: #ffffff;
    border: 1px solid #69af50 !important;
}
.descriptionRelay table td {
    padding: 0 !important;
}

.tabOpen {
	width: 100%;	
}
.tabOpenDay {
	font-size: 13px;
	font-weight: bold;
	padding: 2px 15px !important;
	text-align: left;
	text-height: 13px;
	line-height: 13px;
	height: 13px;
}
.tabOpenHours {
	font-size: 13px;
	font-weight: normal;
	padding: 2px 15px !important;
	text-height: 13px;
	line-height: 13px;
	text-align: left;
	height: 13px;
}
.rightDisplayListRD{
	width: 100%;
	float: left;
	padding: 20px;
}
.myModal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Empêche le défilement de la fenêtre modale */
    background-color: rgba(0, 0, 0, 0.4);
}

/* Style pour le contenu de la fenêtre modale */
.myModal-content {
    background-color: #fefefe;
    border: 1px solid #888;
    width: 100%;
    max-width: 100%;
    display: flex;
    height: 100vh;
}

.myModal-left {
    width: 40%;
    float: left;
    padding: 0 15px;
    overflow-y: auto; /* Activer le défilement vertical uniquement si nécessaire */
    flex: 1; /* Prend toute la largeur disponible */
}

.myModal-right {
    width: 60%;
	flex: 1; /* Prend toute la largeur disponible */
    float: right;
}
.custom-button-agrikolis {
	display: inline-block;
	padding: 10px 20px;
	background-color: #4CAF50; /* Couleur de fond */
	color: white !important; /* Couleur du texte */
	text-decoration: none; /* Supprimer le soulignement */
	border: none; /* Supprimer la bordure */
	border-radius: 0px; /* Coins arrondis */
	cursor: pointer; /* Curseur au survol */
	width: 100%;
	text-align:center;
	margin-top:10px;
	margin-bottom:10px;
}

.custom-button-agrikolis:hover {
	background-color: #2d542f; 
	color: white !important;
}

.custom-button-agrikolis-fermer {
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
	float: left;
	opacity: 1;
	text-shadow: none;
	display: inline-block;
    padding: 5px;
    background-color: #4CAF50;
    color: white !important;
    text-decoration: none;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
	margin-right:10px;
    font-size: 17px;
    line-height: 25px;
}
.custom-button-agrikolis-fermer:hover {
	background-color: #2d542f; 
	color: white !important;
}

.custom-button-agrikolis-reinitialise {
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
	display: inline-block;
    padding: 5px;
    background-color: #4CAF50;
    color: white !important;
    text-decoration: none;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 25px;
}

.custom-button-agrikolis-reinitialise:hover {
	background-color: #2d542f; 
	color: white !important;
}

.myModal-content button:focus {
    outline: 0px dotted;
    outline: 0px auto -webkit-focus-ring-color;
}

#id_carrier { display:none; }

#addressSearch button {
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
	background-color: #4CAF50;
    color: white;
    padding: 5px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: normal;
    width: 15%;
}

#addressSearch button:hover {
    background-color: #2d542f; /* Couleur de fond au survol */
}

#addressSearch button:active {
    background-color: #2d542f; /* Couleur de fond lorsqu'appuyé */
}

#addressSearch #clientAddressInput {
	height: 37px;
    width: 80%;
}

.myModal-content p { 
	margin-bottom: 5px;
	color: #000000;
}

.agrikolis_km_bloc {
    float: right;
    background-color: #69af50;
    padding: 5px;
    color: #ffffff !important;
    font-weight: 700;
}
.agrikolis_td_bloc {
	vertical-align: initial;
	width:50%;
	font-size: 13px;
}
.agrikolis_titre_bloc {
    float: left;
    background-color: #2d542f;
    padding: 5px;
    color: #ffffff !important;
    font-weight: 700;
}
.agrikolis_titre_adresse_bloc {
    color: #000000 !important;
    font-weight: 700;
	font-size: 13px;
	padding: 0;
	margin: 5px;
}
.agrikolis_titre_address1_bloc {
    color: #000000 !important;
    font-weight: normal;
	font-size: 13px;
	padding: 0;
	margin: 5px;
}
.agrikolis_titre_city_bloc {
    color: #000000 !important;
    font-weight: normal;
	font-size: 13px;
	padding: 0;
	margin: 5px;
}
.agrikolis_titre_horaire_bloc {
    color: #000000 !important;
	font-size: 13px;
	padding: 0;
	margin: 5px;
	padding: 5px;
}
.agrikolis_titre_horaire_bloc.conges {
    background-color: #ef8e4b;
}
.agrikolis_titre_hours_bloc {
    color: #000000 !important;
    font-weight: normal;
	font-size: 13px;
	padding: 0;
	margin: 5px;
}
.bloc_modal_button {
	padding: 0px;
}
.bloc_modal_button .custom-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white !important;
    text-decoration: none;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
}
#closestDistance { 
	text-align: center;
    border: 1px solid;
    width: 100%;
    font-size: 14px;
}

.relayItem {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.relayItem b {
    font-weight: bold;
}

.relayItem:hover {
    background-color: #e9e9e9;
}

@media screen and (max-width: 960px) {
	.leftDisplayListRD {
		width: 100%;
		float: left;
		padding: 5px 10px;
	}
	.rightDisplayListRD {
		width: 100%;
		float: left;
		padding: 20px;
	}
	.agrikolis_titre_bloc {
		float: none;
		margin-bottom: 2px;
		font-size: 11px;
	}
	.agrikolis_km_bloc {
		float: none;
		margin-bottom: 2px;
		font-size: 11px;
	}
	.custom-button-agrikolis {
		font-size: 11px;
		padding: 10px;
	}
	.myModal-content {
		display: inline-block;
	}
	.myModal-left {
		width: 100%;
		float: none;
		height: 60%;
		padding: 0 5px;
		text-align: center;
	}
	.myModal-right {
	    width: 100%;
		float: none;
		height: 50%;
		border-top: 3px solid #37542f;
	}
	#addressSearch #clientAddressInput {
		height: 25px;
		width: 75%;
		font-size: 12px;
		margin-right: 0.5%;
	}
	#addressSearch button {
		height: 25px;
		font-size: 12px;
		width: 23%;
		padding: 0px;
		margin-left: 0.5%;
	}
	.custom-button-agrikolis-fermer, .custom-button-agrikolis-reinitialise {
		padding: 2px;
		text-align: center;
		margin-top: 5px;
		margin-bottom: 5px;
		font-size: 12px;
		width: 49%;
		height: 25px;
	}
	.custom-button-agrikolis-reinitialise {
		margin-left: 0.5%;
		margin-left: 0;
	}
	.custom-button-agrikolis-fermer {
		margin-right: 0.5%;
		margin-left: 0;
	}
}