main {
	display: flex;
    justify-content: center;  /* Centre horizontalement */
}
.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
	justify-content: left;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.input-group input[type="checkbox"] {
    margin-right: 8px; /* Espace entre la checkbox et le texte */
    vertical-align: middle; /* Alignement vertical */
}

.input-group select, option {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn {
    width: 100%;
    padding: 12px;
    background: #0056b3;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.autocomplete-results {
    position: absolute;
    background: #d9f1f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    width: calc(50% - 10px);
    display: none;
}

.autocomplete-results div {
    padding: 8px;
    cursor: pointer;
}

.autocomplete-results div:hover {
    background: #f0f0f0;
}

.accordion-prof {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-header .prof-info {
    flex: 1;
}

.accordion-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2em;
}

.accordion-header .prof-matieres {
    font-size: 0.9em;
    color: #6c757d;
}

.accordion-header .prof-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.accordion-header .tarif {
    font-weight: bold;
    color: #28a745;
    font-size: 1.1em;
}

.accordion-header .ville {
    color: #6c757d;
    font-size: 0.9em;
}

.accordion-header .type-cours i {
    margin-left: 5px;
    color: #17a2b8;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
}

.accordion-prof.active .accordion-content {
    max-height: none;
    padding: 15px;
}

.accordion-content .prof-description {
    margin-bottom: 15px;
	text-align: left;
}

.accordion-content .prof-details {
	margin-bottom: 10px;
	text-align: center;
}

.accordion-content .siteURL {
	margin-top: 5px;
	margin-bottom: 15px;
}

.accordion-content .siteURL strong {
	color: orange;
}

.accordion-content .siteURL a {
	text-decoration: none;
}

.accordion-content h4 {
    margin-top: 0;
    color: #2c3e50;
}

.accordion-content .annonce {
    line-height: 1.6;
}

.accordion-toggle {
    margin-left: 10px;
}

.accordion-toggle i {
    transition: transform 0.3s;
}

.accordion-prof.active .accordion-toggle i {
    transform: rotate(180deg);
}

.btn-contact, .btn-valid-contact {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
	cursor: pointer;
	margin: 0 auto;
}

.btn-contact:hover, .btn-valid-contact:hover {
    background: #2980b9;
}

.btn-contact i, .btn-valid-contact i {
    margin-right: 5px;
}

.list_profs {
	position: fixed;
	top: 200px; 
	left: 0;   
	display: none;
	padding: 10px;
	margin: 10px;
	border-radius: 5px;
	color: white;
	background-color: #e52655;
	font-weight: bold;
	z-index: 1000;
}

@media (max-width: 768px) {
	.list_profs {
		top: 120px;
	}
}

.send-msg {
	margin-top:10px;
}

.valid-send-msg {
	display: none;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group textarea,
.input-group input {
    width: 90%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

label.checkbox{
	cursor: pointer;
}

.information_distance {
	padding: 15px;
	border-radius: 10px;
	background-color: #eaf8d9;
	margin-left: 30px;
	font-variant: italic;
	color: #47760b;
}