html, body {
    margin: 0;
    padding: 0;
    border: 0;
	font-size: 10pt;
	color: black;
	font-family: Arial;
    height: 100%;
}

#wrapper {
    display: flex;
	min-height: calc(100vh - 45px);
    width: 100%;
	flex-direction: column;
}

#container {
    width: 100%;
    margin: 0 auto;
    max-width: 1216px;
    overflow: auto;
    padding-bottom: 60px;
	box-sizing: border-box;
}

#content {
    height: 100%;
    display: block;
    position: relative;
    background-image: url("/assets/images/bg.png");
    background-position: bottom right;
    background-repeat: no-repeat;
	/*background-attachment: fixed;*/
    padding-bottom: 15px;
}

/*#region --- Header --- */
#header {
    display: flex;
	flex-direction: row;
    height: 60px;
    width: 100%;
    background-position: center;
    background-image: url("/assets/images/header.png");
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
}
#header .middle {
	width: 100%;
    position: relative;
    overflow: auto;
    height: 60px;
    max-width: 1216px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
	 align-items: center;
}

#title {
    font-family: 'Abril Fatface', sans-serif;
    margin-left: 0;
    margin-bottom: 0px;
	padding-left: 30px;
    color: #fff1cc;
    text-shadow: 2px 0 1px #242424, -2px 0 1px #242424, 0 2px 1px #242424, 0 -2px 1px #242424;
}
#title a {
    color: #d9c082;
    font-weight: normal;
    text-decoration: none;
}
.titleMin {
    font-size: 26pt;
    font-weight: normal;
}
.title1 {
    font-size: 30pt;
    margin-top: -1px;
}
.title2 {
    font-size: 16pt;
    margin-top: -2px;
}
.title2Min {
    font-size: 14pt;
}

#subTitle {
    font-family: 'Abril Fatface';
    margin-top: -1px;
    margin-left: 95px;
    font-size: 22pt;
    color: #fff1cc;
    line-height: 20px;
    text-shadow: 2px 0 1px #242424, -2px 0 1px #242424, 0 2px 1px #242424, 0 -2px 1px #242424;
}

#menu {
    text-align: right;
	padding-right: 30px;
}

#menu .actif {
    text-decoration: underline;
}
#menu a {
    font-family: Arial;
    font-style : italic;
    font-weight: bold;
    font-size: 14pt;
    color: #e0e0e0;
    text-decoration: none;
}
#menu A:hover {
    text-decoration: underline;
}
#menu div {
    margin-top: 2px;
}

/*#endregion */

/*#region --- Footer --- */
#footer {
    width: 100%;
    clear: both;
    color: #ffffff;
    background-color: #000000;
    text-align: right;
    margin-right: 50px;
    vertical-align: middle;
    font-size: 12px;
    font-weight: bolder;
}

#footer .container {
    height: 45px;
    margin: 0 auto;
    max-width: 1216px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

    #footer a:link {
        color: #ffffff;
        font-size: 12px;
        text-decoration: none;
    }
    #footer a:visited {
        color: #ffffff;
        font-size: 12px;
        text-decoration: none;
    }
    #footer a:hover {
        color: #ffffff;
        font-size: 12px;
	    text-decoration: underline;
    }
    #footer a:active {
        color: #ffffff;
        font-size: 12px;
        text-decoration: none;
    }

/*#endregion */

/*#region --- Contact --- */
.contact {
    font-size: 12pt;
    margin-bottom: 30px;
}
.contact h2 {
    font-size: 14pt;
    font-weight: bold;
    margin-bottom: 5px;
}
.contact p {
    margin: 0px;
    margin-bottom: 5px;
}
.contact p.ville {
}
/*#endregion */

/*#region --- Historique --- */
#historique {
    display: table;
}
#historique .photo {
    display: table-cell;
    width: 250px;
}
#historique .texte {
    display: table-cell;
    vertical-align: top;
}
#historique p {
    font-size: 16pt;
	color: black;
    font-weight: bold;
    font-style: italic;
    margin-top: 0px;
    margin-bottom: 20px;
}
/*#endregion */

/*#region --- Logements --- */
#enteteLogements h1 {
    margin-top: 0px;
    margin-bottom: 0px;
}

#enteteLogements .recherche {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 20px;

}

#logements {
    text-align: left;
}

#logements h2 {
    font-size: 24pt;
	color: black;
    font-weight: normal;
    font-style: normal;

    margin-top: 20px;
    margin-bottom: 15px;
    margin-left: 0px;
}
#logements h2:after {
    content: " ";
    border: 1px solid #a3a3a3;
    margin: 0;
    display: block;
    max-width: 420px;
}

#logements div.ville {
	width: 100%;
    text-align: left;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 10px;
	position: relative;
}

#logements div.loge {
    text-align: left;
    width: 100%;
}
#logements div.loge div.photo {
    width: 210px;
    height: 140px;
    position: relative;

    margin-bottom: 10px;
}
#logements div.loge div.photo img.image {
    position: absolute;
    left: 0;
    top: 0;
    width: 210px;
    height: 140px;
    border: 1px solid #000000;
}
#logements div.loge div.photo img.image:hover {
    border: 1px solid #378af7;
}
#logements div.loge div.photo img.dispo {
    position: absolute;
    left: 5px;
    top: 5px;
}
#logements div.loge div.texte {
    display: table;
}
#logements div.loge div.lien {
    text-align: right;
    margin-top: 3px;
    width: 210px;
}
#logements div.loge div.texte div.detail {
    width: 160px;
    display: table-cell;
    font-weight: bold;
    line-height: 20px;
    text-align: left;
    vertical-align: middle;
    margin: 0;
}
#logements div.loge div.texte div.detail .plus {
    font-size: 12pt;
}
#logements div.loge div.texte div.local {
    width: 50px;
    display: table-cell;
    font-weight: bold;
}
/*#endregion */

/*#region --- Logement --- */
#logement {
    display: flex;
	flex-direction: row;
}
#logement div.details {
    width: 100%;
    display: table-cell;
    padding-top: 5px;
    vertical-align: top;
}
#logement h2 {
    font-size: 22pt;
	color: black;
    font-weight: normal;
    margin-top: 30px;
    margin-bottom: 10px;
}
#logement h2:after {
    content: " ";
    border: 1px solid #a3a3a3;
    margin: 0;
    display: block;
    max-width: 420px;
}
#logement div.details .retour {
    margin-top: 10px;
}
#logement div.details .location {
    margin-top: 15px;
    text-align: center;
    font-size: 14pt;
}
#logement div.details p {
    line-height: 20px;
    font-size: 12pt;
}
#logement div.images {
    display: table-cell;
    width: 220px;
    right: 0px;
    padding-top: 10px;
    padding-left: 15px;
}
#logement div.images ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}
#logement div.images ul li {
    display: inline-block;
    height: 150px;
    position: relative;
    width: 200px;
    margin: 10px 0 10px 10px;
}
#logement div.images ul img {
    height: 150px;
    width: 200px;    
    border: 1px solid #000000;
}
#logement div.images ul img:hover {
    border: 1px solid #378af7;
}

#logement .grandeurs {
    display: table;
	margin-bottom: 5px;
	margin-left: 15px;
}
#logement .grandeurs div {
    display: table-cell;
}
#logement .grandeurs .grandeur {
    font-size: 14pt;
    font-weight: bold;
	width: 70px;
}
#logement .grandeurs .grandeurPlus {
    font-size: 14pt;
    font-weight: bold;
	width: 190px;
}

#logement .plus {
    font-size: 14pt;
    font-weight: bold;
}

#logement .play {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0;
    left: 0;
    opacity: 0.95;
    background-image: url('/assets/images/play.png');
    background-repeat: no-repeat;
    background-position: 75px 55px;
}
#logement .play:hover {
    background-image: url('/assets/images/play_over.png');
}
/*#endregion */

/*#region --- Admin --- */
#connexion label {
    font-size: 16pt;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}
#connexion input {
    font-size: 16pt;
    margin-bottom: 20px;
    display: block;
    width: 300px;
}
.champ {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

ul.img-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: left;
}
 
ul.img-list li {
    display: inline-block;
    height: 150px;
    margin: 0 1em 1em 0;
    position: relative;
    width: 200px;
}
 
ul.img-list img.listePhoto {
    height: 150px;
    width: 200px;
    border: 1px solid #000000;  
}
 
ul.img-list img {
    height: 30px;
    width: 30px;
    border: 0;  
    vertical-align: text-bottom;
}

span.text-content {
    font-size: 12pt;
    background: rgba(0,0,0,0.5);
    color: white;
    display: table;
    height: 150px;
    left: 0;
    position: absolute;
    top: 0;
    width: 200px;
}
 
span.text-content span {
    display: table-cell;
    text-align: right;
    vertical-align: middle;
}
span.text-content span.principale {
    text-align: center;
    font-weight: bold;
}
 
span.text-content span a {
    text-decoration: none;
}

span.text-content {
    background: rgba(0,0,0,0.5);
    color: white;
    display: table;
    height: 36px;
    left: 0;
    position: absolute;
    top: 115px;
    width: 201px;
}
 
ul.img-list li:hover span.text-content {
    opacity: 1;
}
/*#endregion */

/*#region --- Table --- */
table {
    margin-top: 20px;
    text-shadow: 1px 1px 0px #fff;
    background: #eaebec;
    border: #ccc 1px solid;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 0 1px 2px #d1d1d1;
    -webkit-box-shadow: 0 1px 2px #d1d1d1;
    box-shadow: 0 1px 2px #d1d1d1;
}

table th {
    padding: 11px 15px 12px 15px;
    font-weight: bold;
    border-top: 1px solid #fafafa;
    border-bottom: 1px solid #e0e0e0;
    background: #d8d8d8;
}

    table th:first-child {
        text-align: left;
        padding-left: 20px;
    }

table tr:first-child th:first-child {
    -moz-border-radius-topleft: 3px;
    -webkit-border-top-left-radius: 3px;
    border-top-left-radius: 3px;
}

table tr:first-child th:last-child {
    -moz-border-radius-topright: 3px;
    -webkit-border-top-right-radius: 3px;
    border-top-right-radius: 3px;
}

table tr {
    text-align: center;
    padding-left: 20px;
}

table td:first-child {
    text-align: left;
    padding-left: 20px;
    border-left: 0;
}

table td {
    padding: 10px;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    background: #fafafa;
    background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));
    background: -moz-linear-gradient(top, #fbfbfb, #fafafa);
}

table tr.even td {
    background: #f6f6f6;
    background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6));
    background: -moz-linear-gradient(top, #f8f8f8, #f6f6f6);
}

table tr:last-child td {
    border-bottom: 0;
}

table tr:last-child td:first-child {
    -moz-border-radius-bottomleft: 3px;
    -webkit-border-bottom-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

table tr:last-child td:last-child {
    -moz-border-radius-bottomright: 3px;
    -webkit-border-bottom-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

table tr:hover td {
    background: #f2f2f2;
    background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
    background: -moz-linear-gradient(top, #f2f2f2, #f0f0f0);
}

.texte-accueil {    
    width: 60%;
    font-family: Arial;
    font-size: 15px;
    line-height: 1.2;
    box-sizing: border-box;
    padding: 15px 30px;
    margin: 30px auto 0 auto;
    color: white;
    background: rgba(25,25,25,0.75);
}

/*#endregion */

/*#region --- Formulaire --- */
.formulaire {
    font-size: 12pt;
}
.formulaire label, .formulaire input[type="textbox"], .formulaire select
{
    font-size: 12pt;
    display: block;
    width: 120px;
    float: left;
    margin-bottom: 15px;
}
.comboBoxVille select
{
    width: 250px;
}
.comboBoxOuiNon select
{
    width: 55px;
}
.formulaire input[type="submit"], input[type="button"]
{
    margin-top: 5px;
}
.formulaire label
{
    font-weight: bold;
    text-align: right;
    padding-right: 20px;
} 
.formulaire br
{
    clear: left;
}
.formulaire .joindre input[type="text"] {
    width : 300px;
    margin-bottom: 0px;
}
.formulaire .joindre textarea {
    width : 300px;
    height : 100px;
}
.formulaire textarea {
    width : 600px;
    height : 150px;
    margin-bottom: 15px;
}
.formulaire img {
    width: 250px;
    margin-bottom: 15px;
}
.formulaire .bloc {
    display: block;
    float: left;
    margin-bottom: 15px;
}

.field-validation-error {
    color: #b94a48;
    display: block;
    margin-bottom: 10px;
}

.validation-summary-errors {
    color: #b94a48;
    list-style-type: none;
}
.validation-summary-errors ul {
    list-style-type: none;
    padding-left: 0px;
    margin-bottom: 10px;
}

.formulaire .grandeurs {
    display: table;
	margin-bottom: 5px;
}
.formulaire .grandeurs div {
    display: table-cell;
}
.formulaire .grandeurs .grandeur {
	width: 175px;
}
.formulaire .grandeurs input[type="number"] {
    width: 70px;
}

.formulaire .videos .aide {
	font-size: 10pt;
	margin-bottom: 5pt;
}

.formulaire .videos  a.lien {
	font-size: 10pt;
}

.formulaire .videos .video {
	margin-bottom: 5px;
}

.formulaire .joindre .field-validation-error {
	font-size: 10pt;
    color: #b94a48;
    display: inline;
}
.formulaire .grandeurs .field-validation-error {
	font-size: 10pt;
    color: #b94a48;
    display: inline;
}
.formulaire .videos .field-validation-error {
	font-size: 10pt;
    color: #b94a48;
    display: inline;
}

.formulaire .videos .video input[type="text"] {
	width: 350px;
}
/*#endregion */

/*#region --- Bouton --- */

input[type="submit"],
input[type="button"],
button {
    background-color: #d8d8d8;
    border: 1px solid #525252;
    cursor: pointer;
    font-size: 12pt;
    font-weight: bold;
    padding: 7px 15px 7px 15px;
    margin-right: 8px;
    width: auto;
}
input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
    background-color: #b9b9b9;
}


#recherche input[type="submit"] {
    height: 32px;
    background-color: #d8d8d8;
    border: 1px solid #525252;
    cursor: pointer;
    font-size: 12pt;
    font-weight: bold;
    padding: 6px 15px 6px 15px;
    margin-right: 8px;
    width: auto;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
#recherche input[type="submit"]:hover {
    background-color: #b9b9b9;
}
/*#endregion */

/*#region --- Liens --- */
a, a img {
    border: none;
}

    A:link {
        color: #378af7;
        text-decoration: none;
        font-weight: bold;
    }

    A:visited {
        color: #378af7;
        text-decoration: none;
        font-weight: bold;
    }

    A:hover {
        color: #378af7;
        text-decoration: underline;
        font-weight: bold;
    }

    A:active {
        color: #378af7;
        text-decoration: none;
        font-weight: bold;
    }

.inactif {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: bold;
}
/*#endregion */

/*#region --- Fenêtre modal --- */
.cacher {
    display: none;
}

.fenetre {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

.contenu-modal {
    padding: 20px 30px;
    width: 475px;
    position: relative;
    min-height: 300px;
    margin: 5% auto 0;
    background: #fff;
}

/*#endregion */

#SousMenu {
    font-weight: bold;
    text-align: right;
    clear: both;
    margin-right: 100px;
    margin-top: 20px;
}
#SousMenu img {
	margin-left: 14px;
    margin-right: 10px;
    margin-bottom: 3px;
    vertical-align: middle;
}

.fontPlus {
    font-size: 12pt;
}

.minWidth {
    /*min-width: 960px;*/
}

#contentSimple {
    height: 100%;
    background-image: url("/assets/images/bg.png");
    background-position: bottom right;
    background-repeat: no-repeat;
    padding-left: 50px;
    padding-top: 0;
    margin: 0;
}
#contentSimple h1 {
    font-size: 18pt;
	color: black;
    font-weight: bold;
    font-style: italic;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
}

.scaleImg #background {
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    display:inline-block;
    overflow:hidden;
}
.scaleImg #background img {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100%;
    display: block;
    
    min-width: 100%;
    z-index: 1;

}
.scaleImg #background img.active {
    z-index:3

}

.scaleImg {
    height: 450px;
    width: 100%;  
}
.scaleImgZoom {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.scaleImg .blur {
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
    position: absolute;
    height: 450px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.scaleImg .noBlur {
    position: absolute;
    height: 450px;
    width: 100%;
    z-index: 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.scaleImg .fade {
    position: absolute;
    height: 450px;
    width: 100%;
    z-index: 2;
    background-image: url("/assets/images/fade.png");
    background-repeat: repeat-x;
}
.scaleImg .fade520 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    background-image: url("/assets/images/fadeMax.png");
    background-repeat: repeat-x;
}
.scaleImg .middle {
    position: relative;
    margin: 0 auto;
    overflow: auto;
    height: 100%;
    max-width: 1216px;
}
.scaleImg .middle .accueil h1 {
    text-align: center;
    font-size: 38pt;
    font-weight: bold;
    margin-top: 210px;
    color: #ffffff;
    text-shadow: 3px 2px 8px #3d3d3d, -3px -2px 8px #3d3d3d, 3px -2px 8px #3d3d3d, -3px 2px 8px #3d3d3d;
}
.scaleImg .middle .recherche {
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

.scaleImg .middle .logement {
    position: absolute;
    z-index: 999;
    font-size: 32pt;
    margin-left: 95px;
    margin-top: 355px;
    color: #ffffff;
    text-shadow: 2px 2px 2px #000000;
}
.scaleImg .middle .logement .dispo {
    margin-top: 0px;
    font-size: 24pt;
}
.scaleImg .middle .logement .dispo a {
    margin-left: 10px;
    font-size: 14pt;
}
.scaleImg .middle .logement .dispo  img {
	width: 20px;
}

/*.scaleImg {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}
.scaleImg img {
    position: absolute;
    left: 50%;
    top: 50%;
    min-height: 450px;
    height: 100%;
    width: auto;
    -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    width: 100%;
    height: auto;
}*/

h1 {
    font-size: 24pt;
	color: black;
    font-weight: normal;
    margin-top: 50px;
    margin-bottom: 20px;
    margin-left: 100px;
}
h1 span {
    font-size: 12pt;
}

.marginTexte {
    margin-left: 100px;
    margin-right: 100px;
}

DIV.ProgressBar { width: 100px; padding: 0; border: 1px solid black; margin-right: 1em; height:.75em; margin-left:1em; display:-moz-inline-stack; display:inline-block; zoom:1; *display:inline; }
DIV.ProgressBar DIV { background-color: Green; font-size: 1pt; height:100%; float:left; }
SPAN.asyncUploader OBJECT { position: relative; top: 5px; left: 10px; }

.alert {
    margin-top: 30px;
    background: #eee;
    padding: 5px 30px;
    margin-bottom: 20px;
}

@media screen and (max-width: 1280px) {
	#footer .container {
		padding: 0 30px;
	}
	h1,
	.marginTexte {
		margin-left: 30px;
		margin-right: 30px;
	}
	.scaleImg .middle .logement {
		font-size: 32px;
		margin-left: 30px;
	}
}

@media screen and (max-width: 900px) {
	#logements div.ville {
		width: 100%;
		grid-template-columns: repeat(3, 1fr);
	}
    #logements div.loge {
        display: flex;
        flex-direction: column;
        align-items: center;
    }   
    form.form-recherche {
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
    form.form-recherche .ms-parent,
    form.form-recherche input[type=submit] {
        width: 80% !important;
        max-width: 300px !important;
    }
}

@media screen and (max-width: 850px) {
	#logement {
		flex-direction: column;
	}
	#logement div.images {
		width: 100%;
		padding: 0;
	}
	#logement div.images ul {
		display: flex;
		flex-direction: row;
        flex-wrap: wrap;
	}
	.scaleImg .middle .logement {
		font-size: 28px;
	}
	.scaleImg .middle .logement .dispo {
		font-size: 22px;
	}
	.hide-tablette {
		display: none;
	}
    
    .admin input,
    .admin textarea {
        max-width: 60% !important;
    }
}

@media screen and (max-width: 768px) {
	#footer {
		height: auto;
	}
	#footer .container {
		display: flex;
		flex-direction: column;
		height: auto;
		text-align: center
	}	
}

@media screen and (max-width: 700px) {
	#logements div.ville {
		grid-template-columns: repeat(2, 1fr);
	}
	.scaleImg .middle .logement {
		font-size: 22px;
	}
	.scaleImg .middle .logement .dispo {
		font-size: 16px;
	}
	iframe {
		max-width: 100%;
	}
    
    table.lst-logement {
        width: 100%;
    }
    table.lst-logement thead,
    table.lst-logement th {
        display: none;
    }
    table.lst-logement tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
    }  
    table.lst-logement tr:first-child {
        display: none;
    }
    table.lst-logement td {
        box-sizing: border-box;
        display: block;
        width: 100%;
        padding: 5px 10px;
        text-align: left;
    }   
    table.lst-logement td:nth-child(1) {
        font-size: 18px;
        font-weight: bold;
    }
    table.lst-logement td:last-child {
        text-align: right;
    }
    table.lst-logement tr td:nth-child(1)::before { content: "Adresse : "; font-weight: bold; font-size: 10pt; }
    table.lst-logement tr td:nth-child(2)::before { content: "Ville : "; font-weight: bold; }
    table.lst-logement tr td:nth-child(3)::before { content: "Grandeur : "; font-weight: bold; }
    table.lst-logement tr td:nth-child(4)::before { content: "Coût : "; font-weight: bold; }
    table.lst-logement tr td:nth-child(5)::before { content: "Disponible ?"; font-weight: bold; }
    table.lst-logement td::before {
        display: inline-block;
        min-width: 110px;
        color: #555;
    } 
}

@media screen and (max-width: 550px) {
    .admin .formulaire label,
    .admin .formulaire input[type="textbox"],
    .admin .formulaire select {
        width: auto;
        margin: 0 auto 10px auto;
        text-align: center;
        padding: 0;
        display: block;
        float: none;
        clear: both;
    }
    .admin input,
    .admin textarea {
        max-width: 100% !important;
        display: block;
        float: none;
        clear: both;        
    }
    
    .admin .formulaire {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;        
    }
    #SousMenu {
        text-align: center;
        margin-right: 0;
    }
    ul.img-list {
        text-align: center;
    }    
}

@media screen and (max-width: 480px) {
	#header {
		height: auto;
	}
	#header .middle {
		height: auto;
		flex-direction: column;
	}
	#title {
		padding-left: 0;
	}
	#menu {
		padding-right: 0;
		padding-bottom: 10px;
		text-align: center;
	}
	h1,
	.marginTexte,
	#logements h2 {
		text-align: center;
	}
	#logements div.ville {
		grid-template-columns: 100%;
	}	
	#logements div.loge {
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}	
	#logement .grandeurs {
	    display: flex;
	    justify-content: center;
	}
	#logement div.images ul {
        justify-content: center;
    }
    
    form.form-login {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    form.form-login input {
        max-width: 100% !important;
    }
}

@media screen and (max-width: 375px) {
    .title1 {
        font-size: 22pt;
    }
    .titleMin {
        font-size: 18pt;
    }
}
