@font-face {
  font-family: 'HelveticaNeue';
  src: url('helveticaneue/HelveticaNeue.eot');
  src: url('helveticaneue/HelveticaNeue.eot?#iefix') format('embedded-opentype'),
      url('helveticaneue/HelveticaNeue.woff2') format('woff2'),
      url('helveticaneue/HelveticaNeue.woff') format('woff'),
      url('helveticaneue/HelveticaNeue.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --blue: #1D3461;
  --light_grey: #DBDBDB;
  --red: #B31D25;
  --background-grey: rgb(240, 240, 240);

  --pro_background: #1D3461;
  --pro_inputs_back: white;
  --pro_inputs_border: whitesmoke;
  --pro_inputs_text: #1D3461;
}

body {
  margin: 0px;
  font-family: 'Lato';
}

main {
  background-color: white;
}

button {
  cursor: pointer;
  border-radius: 3px;
}

fieldset {
  padding: 0px;
  margin: 0px;
  border: none;
}

a {
  text-decoration: none;
  color: black;
}

a:visited {
  color: black;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'HelveticaNeue';
  margin: 0px;
}

h2 {
  text-align: center;
  margin: 0px 0px 70px 0px;
  font-size: 50px;
  color: var(--blue);
}

h2.after_menu {
  margin-top: 150px;
}

header {
  top: 0px;
  position: relative;
  height: 240px;
  z-index: 12000;
  width: 100%;
  box-sizing: border-box;
  background-color: white;
}

#header_mask {
  position: absolute;
  background-color: var(--blue);
  width: 100%;
  height: 55px;
  top: 106px;
}

#header_box {
  width: 1220px;
  margin: auto;
  position: relative;
  height: inherit;
}

@keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.scroll {
  animation-name: appear;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}

header.scroll {
  position: fixed;
  height: 100px;
}

header.scroll > #header_mask {
  position: absolute;
  top : 40px;
  height : 35px;
}

header.scroll #logo {
  height: 80px;
}

header.scroll #logo_blur {
  display: none;
}

#menu_container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: inherit;
  width:100%;
}

header.scroll #menu_container {
  position: initial;
  top: initial;
}

.menu {
  font-family: "HelveticaNeue";
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  display: flex;
  align-items: center;
  position: relative;
  top: 14px;
  flex: 1;
  justify-content: center;
}

header.scroll .menu {
  top: 8px;
}

#logo {
  cursor: pointer;
  height: 110px;
  z-index: 12600;
  object-fit: contain;
  margin: 0px -40px;
}

#header_right {
  position: absolute;
  top: 0px;
  right: 0px;
  display: flex;
}

.header_button {
  font-size: 14px;
  padding: 10px 12px;
  border: none;
  outline: none;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  color: white;
  margin-right: 5px;
}

.header_button:last-child {
  margin-right: 0px;
}

.header_button.account {
  background-color: var(--blue);
  color: white !important;
}

.header_button.phone {
  background-color: var(--red);
}

.header_button.email {
  background-color: #EFEFEF;
  color: rgb(88, 88, 88);
}

.header_button > svg {
  height: 16px;
  fill: white;
  position: relative;
  display: block;
  float: left;
}

.header_button.email > svg {
  fill: rgb(88, 88, 88);
}

.header_but_text {
  display: block;
  float: right;
  width: 0px;
  overflow: hidden;
  text-overflow: hidden;
  white-space: nowrap;
  transition: width 0.3s ease;
  text-align: center;
}

.header_button.phone > .header_but_text {
  width: 115px;
}

header.scroll .header_button.phone > .header_but_text {
  width: 0px;
} 

header.scroll .header_button.phone:hover > .header_but_text {
  width: 120px;
}

.header_button.account:hover > .header_but_text {
  width: 98px;
}

.header_button.email:hover > .header_but_text {
  width: 130px;
}

.menu_item {
  font-size: 16px;
  display: inline-block;
  transition: none;
  display: block;
}

.menu_item:hover  {
  transform : scale(1.25)
}

.menu_sep {
  width: 1px;
  background: linear-gradient(rgba(255, 255, 255, 0.301), white, rgba(255, 255, 255, 0.301));
  height: 30px;
}

.menu_item > a {
  display: block;
  width : auto;
  line-height: 50px;
  padding: 0px 20px;
  color: white;
  font-weight: bold;
  font-size: 14px;
}


.sub_menu {
  display: none;
  font-size: 14px;
  list-style-type: none;
  position: absolute;
  margin: 0px;
  padding: 0px;
  animation-name: appear;
  animation-duration: 0.2s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
  z-index: 12650;
  width: 250px;
}

.sub_menu > li > a {
  display: block;
  padding: 0px 75px 0px 15px;
  line-height: 40px;
  background-color: var(--blue);
  color: white;
  transition: none;
}

.sub_menu > li > a:hover {
  transition: all 0.2s ease-out;
  background-color: white;
  color: var(--blue);
}

#search_container {
  width: 100%;
  z-index: 400;
  position: relative;
}

#search_container.scroll {
  background-color: white;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.11);
  top: 100px;
  height: 66px;
  padding-bottom: 5px;
  position: fixed;
  margin: 0px;
}

#search {
  background-color: #EFEFEF;
  display: flex;
  color: var(--blue);
  font-size: 14px;
  padding: 8px;
  width: 1220px;
  margin: auto;
  box-sizing: border-box;
  transition: background-color 0.3s;
}

.search_select {
  position: relative;
  background-color: white;
  line-height: 40px;
  padding: 0px 15px;
  margin-right: 8px;
  cursor: pointer;
  border: 1px solid var(--light_grey);
  color: var(--blue);
  transition: background-color 0.3s, color 0.3s;
}

.search_select:hover {
  background-color: whitesmoke;
}

.search_select#deal {
  width: 170px;
}

.search_select#type {
  width: 170px;
}

.search_select#pieces {
  width: 120px;
}

.search_select#sort {
  width: 200px;
  margin-right: 0px;
}

.search_placeholder {
  pointer-events: none;
}

.search_options {
  display: none;
  position: absolute;
  background-color: white;
  list-style-type: none;
  padding: 3px;
  margin: 0px;
  left: 0px;
  width: 100%;
  box-sizing: border-box;
  z-index: 9999;
}

.search_options > li {
  color: var(--blue);
  font-size: 14px;
  padding: 0px 0px 0px 16px;
  line-height: 40px;
}

.search_options > li:hover {
  background-color: whitesmoke;
}

.search_input {
  display: flex;
  padding: 0px 15px;
  background-color: white;
  flex-shrink: 1;
  justify-content: space-between;
  margin-right: 8px;
  border: 1px solid var(--light_grey);
  width: 120px;
  transition: background-color 0.3s, color 0.3s;
}

.search_input > input {
  line-height: 40px;
  border: none;
  outline: none;
  font-size: 14px;
  background-color: transparent;
  padding: 0px;
  margin: 0px;
  display: block;
  width: 10px;
  flex-grow: 1;
}

.search_icon {
  line-height: 40px;
  pointer-events: none;
  float: right;
}

.search_icon > svg {
  width: 14px;
}

.search_icon > svg > g > path {
  fill: var(--blue);
  transition: fill 0.3s ease;
}

#ref_input {
  line-height: 40px;
  border: none;
  outline: none;
  font-size: 14px;
  background-color: white;
  padding: 0px 0px 0px 16px;
  margin: 0px 8px 0px 0px;
  width: 130px;
  border: 1px solid var(--light_grey);
  transition: background-color 0.3s, color 0.3s;
}

#search_button {
  background-color: var(--blue);
  color: white;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 0px 15px;
  flex-grow: 1;
  line-height: 40px;
  border: 1px solid #EFEFEF;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 0px;
}

#search.pro > #pieces {
  display: none;
}

#search.pro {
  background-color: var(--pro_background);
}

#search.pro > .search_select {
  border-color: var(--pro_inputs_border);
  background-color: var(--pro_inputs_back);
  color: var(--pro_inputs_text);
}

#search.pro path {
  fill: var(--pro_inputs_text);
}

#search.pro .search_options {
  background-color: var(--pro_inputs_back);
}

#search.pro .search_options > li {
  color: var(--pro_inputs_text);
}

#search.pro .search_options > li:hover {
  color: var(--pro_inputs_text);
  background-color: whitesmoke;
}

#search.pro > .search_input {
  border-color: var(--pro_inputs_border);
  background-color: var(--pro_inputs_back);
  color: var(--pro_inputs_text);
}

#search.pro input {
  color: var(--pro_inputs_text);
}

#search.pro input::placeholder {
  color: var(--pro_inputs_text);
}

#search.pro > #ref_input {
  border-color: var(--pro_inputs_border);
  background-color: var(--pro_inputs_back);
}

#search.pro > #search_button {
  border-color: transparent;
  background-color: var(--red);
  color: white;
}

#banner_container {
  z-index: 50;
  position: relative;
  margin-top: -30px;
  height: 420px;
  width: 100%;
  user-select: none;
}

#banner_container.list {
  height: 210px;
}

#banner_img {
  position: absolute;
  z-index: 40;
  top: 0px;
  width: inherit;
  height: inherit;
  object-fit: cover;
  user-select: none;
}

#banner_list_box {
  position: absolute;
  z-index: 100;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
}

#banner_list_box > h2 {
  color: white;
}

#banner_box_container {
  position: relative;
  z-index: 50;
  width: 1220px;
  height: 100%;
  margin: auto;
}

#banner_address {
  position: absolute;
  left: 0px;
  height: 100%;
  box-sizing: border-box;
  font-family: 'HelveticaNeue';
  display: flex;
  padding-left: 40px;
  flex-direction: column;
  justify-content: center;
}

#banner_address > a {
  border: 1px solid white;
  color: white;
  padding: 12px 0px;
  width: 160px;
  text-align: center;
  margin-top: 30px;
  transition: background-color 0.2s, color 0.2s;
}

#banner_address > a:hover {
  background-color: white;
  color: black;
}

#banner_address > div:first-child {
  font-size: 30px;
}

#banner_address > div {
  margin-bottom: 10px;
  color: white;
  font-size: 20px;
}

#banner_address > h1 {
  margin-top: 10px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  line-height: 40px;
}

#carrousel {
  position: absolute;
  right: 108px;
  top: 90px;
  height: 270px;
  width: 270px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#banner_box {
  position: absolute;
  right: 108px;
  top: 90px;
  height: 270px;
  width: 270px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#banner_box > h3 {
  display: none;
}

#banner_box > img {
  position: absolute;
  height: 300px;
}

#banner_form {
  width: 170px;
  z-index: 90000;
  position: relative;
  right: 115px;
}

#banner_form > input {
  box-sizing: border-box;
  background-color: white;
  outline: none;
  border-radius: 0px;
  font-size: 14px;
  padding: 8px;
  border: 1px solid #EFEFEF;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 3px;
}

#banner_form > button {
  box-sizing: border-box;
  background-color: var(--red);
  color: white;
  font-weight: bold;
  font-size: 14px;
  padding: 8px;
  border: none;
  outline: none;
  width: 100%;
}

#featured_box {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  background-color: white;
  height: 530px;
  overflow: hidden;
  position: relative;
}

.featured_slide {
  width: 28%;
  height: 340px;
  overflow: hidden;
  cursor: pointer;
  position: absolute;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.301);
  transition: transform 0.7s, z-index 0.7s;
  user-select: none;
}

.featured_title {
  color: white;
  font-weight: bold;
  width: 300px;
  font-size: 16px;
  line-height: 20px;
  pointer-events: none;
}

@media(max-width:1500px){
  #featured_box {
    height: 430px;
  }
  .featured_slide {
    height: 300px;
  }
  .featured_title {
    width: 230px;
    font-size: 14px;
  }
}

.featured_slide.left {
  transform: translate(-120%, 0px);
  z-index: 9;
}

.featured_slide.center {
  transform: scale(1.2) translate(0px, 0px);
  z-index: 10;
}

.featured_slide.right {
  transform: translate(120%, 0px);
  z-index: 9;
}

.featured_slide.out {
  transform: scale(0.5) translate(0px, 0px);
  z-index: 8;
}

.featured_slide.hidden {
  opacity: 0;
  transform: scale(0.5) translate(0px, 0px);
  z-index: 7;
}

.featured_img {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  position: relative;
  bottom: 0px;
  right: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.vedette {
  font-family: 'HelveticaNeue';
  pointer-events: none;
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--red);
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 3px;
  z-index: 10000;
}

.featured_info {
  pointer-events: none;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 50%;
  background: linear-gradient(rgba(0, 0, 0, 0), #000000);
  display: flex;
  padding: 0px 20px 20px 20px;
  justify-content: space-between;
  box-sizing: border-box;
  align-items: flex-end;
}

.featured_price {
  color: white;
  font-size: 16px;
  float: right;
  border-radius: 3px;
  pointer-events: none;
}

#featured_control {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.featured_arrow {
  width: 100px;
  text-align: center;
  cursor: pointer;
}

.featured_arrow > svg {
  pointer-events: none;
  height: 40px;
  fill: var(--blue);
  transition: margin-left 0.1s;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.featured_arrow:hover > svg {
  opacity: 1;
}

#featured_puces {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.featured_puce {
  border: 1px solid var(--blue);
  border-radius: 50%;
  margin-right: 15px;
  width: 15px;
  height: 15px;
  transition: background-color 0.3s ease;
}

.featured_puce:last-child {
  margin-right: 0px;
}

.featured_puce.current {
  border: 1px solid var(--blue);
  background-color: var(--blue);
}

#selector {
  display: flex;
  justify-content: center;
  padding-top: 10px;
  padding-left: 100px;
  padding-right: 100px;
  user-select: none;
}

.selector_type {
  color: black;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 70px;
  margin-right: 80px;
  padding: 0px 20px;
  border-bottom: 5px solid transparent;
  cursor: pointer;
}

.selector_type:hover {
  transition: border 0.3s ease-out;
  border-bottom: 5px solid var(--red);
}

.selector_type#selected {
  border-bottom: 5px solid var(--blue);
  font-weight: bold;
}

.selector_type:last-child {
  margin-right: 0px;
}

#no_result {
  background-color: whitesmoke;
  height: 400px;
  padding: 100px 30px;
  font-size: 18px;
  text-align: center;
  line-height: 30px;
}

#annonces_list_box {
  background-color: whitesmoke;
  border-top: 1px solid var(--blue);
  padding-bottom: 20px;
}

.annonces_list {
  padding: 30px 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: 1220px;
  margin: auto;
  transition: opacity 0.3s ease-out;
}

.annonces_list.location {
  display: none;
  opacity: 0;
}

#annonces_list {
  background-color: var(--background-grey);
  padding: 50px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
}

.annonce {
  margin: 15px 0px;
  position: relative;
  cursor: pointer;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.212);
  width: 390px;
  height: 300px;
  background-color: black;
}

.annonce_img {
  position: absolute;
  z-index: 30;
  width: inherit;
  height: inherit;
  object-fit: cover;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.annonce_header {
  position: absolute;
  top: 0px;
  z-index: 40;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  transition: opacity 0.3s ease;
}

.annonce_m2 {
  color: white;
  padding: 8px;
  font-size: 14px;
  font-family: 'HelveticaNeue';
  background-color: var(--red);
  float: left;
  border-radius: 4px;
  font-weight: bold;
}

.annonce_price {
  font-family: 'HelveticaNeue';
  color: white;
  padding: 8px 12px;
  font-size: 14px;
  background-color: var(--blue);
  float: right;
  border-radius: 4px;
  font-weight: bold;
}

.annonce_banniere {
  position : absolute;
  z-index : 50;
  opacity: 0.4;
  height : 250px;
  width : 250px;
}

.annonce_info {
  position: absolute;
  bottom: 0px;
  z-index: 40;
  background: linear-gradient(rgba(0, 0, 0, 0), #000000);
  padding: 20% 15px 15px 15px;
  transition: opacity 0.3s ease;
  width: 100%;
  box-sizing: border-box;
  pointer-events: none;
}

.annonce_title {
  color: white;
  font-size: 16px;
  font-weight: bold;
  line-height: 22px;
  margin: 0px;
  text-transform: uppercase;
}

.annonce_desc {
  position: absolute;
  z-index: 70;
  opacity: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px 30px;
  pointer-events: none;
}

.annonce_desc_text {
  text-align: center;
  color: white;
  font-size: 18px;
  margin-bottom: 30px;
  max-height: 150px;
  overflow: hidden;
  pointer-events: none;
}

.annonce_desc_text > br {
  display: none;
}

.annonce_menu {
  display: flex;
}

.annonce_link {
  color: white;
  border: none;
  outline: none;
  background-color: var(--red);
  font-size: 18px;
  padding: 14px;
  margin-right: 10px;
  font-family: 'HelveticaNeue';
  border-radius: 3px;
}

.annonce_link:visited {
  color: white;
}

.annonce_contact {
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.annonce_contact > svg {
  width: 20px;
  margin: auto;
  display: block;
}

.annonce_contact.email {
  fill: rgb(88, 88, 88);
  background-color: #EFEFEF;
  margin-right: 10px;
}

.annonce_contact.phone {
  background-color: var(--blue);
  fill: white;
}

.pagination_box {
  background-color: whitesmoke;
}

.pagination {
  width: 1220px;
  margin: 0px auto;
  padding-bottom: 50px;
  display: flex;
  justify-content: space-between;
}

.page_numbers {
  cursor: pointer;
  max-width: 600px;
}

.page_number {
  display: inline-block;
  font-weight: bold;
  width: 40px;
  line-height: 40px;
  text-align: center;
}

.page_number:hover {
  background-color: var(--light_grey);
}

.page_arrow {
  background-color: rgba(151, 151, 151, 0.678);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page_arrow:hover {
  background-color: grey;
}

.page_number.ellipse {
  background-color: transparent;
}

.page_number.current {
  background-color: var(--blue);
  color: white;
  pointer-events: none;
}

#no_photo {
  text-align: center;
  line-height: 130px;
}

#bien_slider {
  margin-top: -30px;
  position: relative;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
  background-color: white;
}

#bien_slider.grow {
  border: none;
  margin: 0px !important;
  position: fixed;
  height: 100vh;
  width: 100%;
  z-index: 20000;
  top: 0px;
}

#bien_slider.grow_mobile {
  border: none;
  margin: 0px !important;
  position: fixed;
  height: 100vh;
  width: 100%;
  top: 0px;
  left: 0px;
  z-index: 20000;
  background-color: transparent;
}

#slider_back, #slider_back_ghost {
  position: absolute;
  top: 0px;
  width: 100%;
  height: inherit;
  overflow: hidden;
  transition: opacity 1s ease;
}

#slider_back_img, #slider_back_img_ghost {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 700px;
  object-fit: cover;
  filter: blur(30px);
}

#bien_slider.grow #slider_back_img, #bien_slider.grow #slider_back_img_ghost {
  height: 120vh;
}

#slider_front, #slider_front_ghost {
  position: absolute;
  top: 0px;
  height: 100%;
  transition: opacity 1s ease;
  cursor: pointer;
}

#slider_front_img, #slider_front_img_ghost {
  height: 100%;
  pointer-events: none;
}

.ghost {
  opacity: 0;
  pointer-events: none;
}

.slider_arrow_box {
  cursor: pointer;
  width: 100px;
  text-align: center;
  position: absolute;
  z-index: 11000;
}

#slider_left {
  left: 7vw;
}

#slider_right {
  right: 7vw;
}

.slider_arrow {
  width: 30px;
  fill: rgba(255, 255, 255, 0.589);
  transition: fill 0.2s ease;
  pointer-events: none;
}

.slider_arrow_box:hover > .slider_arrow {
  fill: white;
}

#slider_thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 10px 0px;
}

.slider_thumb {
  width: 90px;
  height: 65px;
  padding: 5px;
  cursor: pointer;
}

.slider_thumb.current_thumb {
  cursor: initial;
  width: 100px;
  height: 75px;
  border: 2px solid white;
  outline: 1px solid var(--light_grey);
}

#bien_infos_container {
  background-color: whitesmoke;
  padding: 70px 0px;
}


#bien_titre {
  font-size: 36px;
  color: var(--blue);
  width: 650px;
}


.gestion_titrea {
  font-size: 40px;
  font-weight: bold;
  color: var(--blue);
  text-align: center;
  margin: auto;
}

.gestion_titreb {
  font-size: 30px;
  font-style: italic;
  color: var(--blue);
  text-align: center;
  margin: auto;
}

.gestion_engagement {
  font-size: 32px;
  font-weight: bold;
  color: var(--blue);
  text-align: center;
  margin: auto;
}

.photo_gestion {
  width: 1220px;
  margin : 0px auto 40px auto;
  padding-bottom: 40px;
  display: flex;
  justify-content: space-between;
  border-bottom-style: solid;
  border-color: var(--blue);
}

.photo_gestion > img {
  width : 900px;
  height : 525px;
  margin : auto;
  border-radius: 10% 10% 10% 10%;
}

.gestion_titre_picto{
  height: 60px;
  color: var(--blue);
  font-size : 24px;
  font-weight: bold;
  margin-top : 20px;
}

.gestion_description_picto{
  color: var(--blue);
  font-size : 16px;
  margin-top : 24px;
  width : 260px;
  margin : auto;
}

.gestion_bandeau {
  height: 20px;
  width : 100%;
  background-color: var(--blue);
}

#gestion_picto_container{
  width : 1200px;
  margin : auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

#bien_titre_desc {
  font-size: 24px;
  color: var(--blue);
  width: 650px;
}

#bien_picto_container{
  width : 550px;
  margin : auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.gestion_picto {
  width : 300px;
  height : 400px;
  margin: 10px;
  text-align: center;
}

.gestion_picto > img {
  height : 180px;
}

.un_picto {
  width : 100px;
  margin: 10px;
  text-align: center;
}

.un_picto > p {
  color: var(--blue);
  font-size : 20px;
  font-weight: bold;
}

.un_picto > img {
  height : 50px;
}

#bien_infos {
  width: 1220px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}

#bien_infos_picto{
  width: 1220px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

.gestion_titresa {
  width: 1220px;
  margin : 0px auto 40px auto;
  display: flex;
  justify-content: space-between;
}


.gestion_titres {
  width: 1220px;
  margin : 50px auto 40px auto;
  display: flex;
  justify-content: space-between;
}

.gestion_description {
  width: 1220px;
  margin : 0px auto 40px auto;
  display: flex;
  justify-content: space-between;
}

.gestion_description_gauche > li {
  font-size: 18px;
  font-weight: bold;
  color: var(--blue);
  text-align: left;
  margin: auto;
}

.gestion_description_droite > li {
  font-size: 18px;
  font-weight: bold;
  color: var(--blue);
  text-align: left;
  margin: auto;
}

.titre_et_ref > p {
  color: var(--blue);
  box-sizing: border-box;
}

.bien_info_title {
  font-size: 24px;
  margin: 0px 0px 40px 0px;
  padding: 0px;
  text-align: center;
}

.titre_prix{
  background-color: var(--blue);
  color : #f5f5f5;
  font-family: 'HelveticaNeue';
  font-weight: bold;
  padding: 5px 5px 5px 5px;
  border-radius: 10px;
}

#bien_desc_container {
  width: 600px;
}

#bien_desc {
  font-size: 18px;
  line-height: 26px;
}

#points_forts {
  margin-top: 30px;
  font-size: 16px;
  background-color: #f3fcf3;
  border: 1px solid #a1c24e;
  padding: 15px;
}

#points_forts > p:first-child {
  font-weight: bold;
  margin: 0px 0px 15px 0px;
}

#points_forts > p:nth-child(2) {
  margin: 0px;
  line-height: 24px;
}

#bien_details {
  font-size: 16px;
}

#bien_details td {
  background-color: var(--blue);
  padding: 10px 10px;
  width: 200px;
  color: white;
}

#bien_details td:first-child {
  font-weight: bold;
}

#dpe_ges {
  margin-top: 36px;
}

#dpe_ges > p {
  font-weight: bold;
  font-size: 16px;
  margin: 0px 0px 10px 0px;
}

.dpe_list {
  list-style-type: none;
  padding: 0px;
  margin: 0px 0px 20px 0px;
  display: flex;
  align-items: center;
}

.dpe_item, .ges_item {
  font-size: 14px;
  line-height: 22px;
  width: 22px;
  height: 22px;
  text-align: center;
}

.dpe_item.current, .ges_item.current {
  font-size: 22px;
  line-height: 32px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 2px solid white;
}

.dpe_item:nth-child(1){
  background-color: #339C36;
}
.dpe_item:nth-child(2){
  background-color: #2FCD30;
}
.dpe_item:nth-child(3){
  background-color: #CDFF30;
}
.dpe_item:nth-child(4){
  background-color: #FFFF00;
}
.dpe_item:nth-child(5){
  background-color: #FFCD00;
}
.dpe_item:nth-child(6){
  background-color: #FF9B30;
}
.dpe_item:nth-child(7){
  background-color: #FF0000;
}
.ges_item:nth-child(1) {
  background-color: #F6EEFD;
}
.ges_item:nth-child(2) {
  background-color: #E2C3F8;
}
.ges_item:nth-child(3) {
  background-color: #D5AAF5;
}
.ges_item:nth-child(4) {
  background-color: #CC96F3;
}
.ges_item:nth-child(5) {
  background-color: #BB73EF;
}
.ges_item:nth-child(6) {
  background-color: #A84CEC;
}
.ges_item:nth-child(7) {
  background-color: #8B12E0;
}

#bien_control_container {
  background-color: whitesmoke;
  padding-bottom: 100px;
}

#bien_control_box {
  width: 1220px;
  margin: auto;
  display: flex;
  justify-content: start;
}

.bien_control {
  color: white;
  border: none;
  outline: none;
  height: 50px;
  font-size: 16px;
  padding: 0px 30px;
}

#bien_control_box > * {
  margin-right: 10px;
}

.bien_control:last-child {
  margin-right: 0px;
}

.bien_control.save {
  background-color: var(--blue);
}

.bien_control.visit {
  background-color: var(--red);
}

.bien_control.contact {
  background-color: var(--light_grey);
  color: black;
  line-height: 50px;
  box-sizing: border-box;
  text-align: center;
}

#footer_main {
  height: 600px;
  background: var(--blue);
  color: white;
}

#footer_bottom {
  background: #EFEFEF;
  padding: 20px 0px;
}

#footer_bottom > p {
  width: 1220px;
  font-size: 12px;
  margin: 0px auto;
  text-align: center;
  color: #999;
  line-height: 22px;
}

#footer_bottom > p > a {
  font-weight: bold;
  color: #999;
}

#footer_columns {
  width: 1220px;
  margin: auto;
  display: flex;
  height: inherit;
  padding: 40px 0px;
  box-sizing: border-box;
}

.footer_column {
  flex: 1;
  height: 100%;
  margin-right: 30px;
}

.footer_column:last-child {
  margin-right: 0px;
}

#footer_logo {
  width: 100%;
  margin-bottom: 10px;
}

#footer_about {
  font-size: 12px;
  line-height: 22px;
  margin-bottom: 30px;
}

.footer_credentials {
  margin-bottom: 10px;
}

.footer_credentials > svg {
  fill: white;
  height: 12px;
  margin-right: 5px;
}

.footer_credentials > span {
  font-size: 12px;
}

#footer_contact {
  margin-top: 30px;
  text-align: center;
  color: white;
  display: block;
  font-size: 14px;
  width: 100%;
  border: 1px solid white;
  padding: 10px 0px;
}

#footer_contact:hover {
  background-color: white;
  color: var(--blue);
}

.footer_title {
  font-size: 16px;
  text-transform: uppercase;
  margin: 0px 0px 30px 0px;
}

.footer_annonce {
  padding-bottom: 20px;
  border-bottom: 1px solid white;
  margin-bottom: 20px;
}

.footer_annonce:last-child {
  border: none;
}

.footer_annonce > h6 {
  font-size: 14px;
  margin: 0px 0px 10px 0px;
}

.footer_annonce > h6 > a {
  color: white;
}

.footer_annonce > h6 > a:hover {
  text-decoration: underline;
}

.footer_annonce > p {
  font-size: 12px;
  margin: 0px;
}

#footer_featured > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

#footer_featured > h6 {
  margin-bottom: 20px;
}

#footer_featured > h6 > a {
  color: white;
  font-size: 14px;
}

#footer_featured > h6 > a:hover {
  color: white;
  font-size: 14px;
  text-decoration: underline;
}

#footer_featured > p {
  font-size: 12px;
  margin-bottom: 30px
}

#footer_featured > strong {
  font-weight: normal;
  float: right;
  text-align: center;
  color: white;
  display: block;
  font-size: 14px;
  border: 1px solid white;
  padding: 10px;
}

#map {
  height: 80%;
}

#sort_form {
  width: 1220px;
  margin: auto;
  padding-top: 30px;
  height: 50px;
}

#sort {
  float: right;
}

#mobile_slider_box, #footer_mobile {
  display: none;
}

#contact_box {
  width: 1220px;
  margin: 50px auto 100px auto;
  display: flex;
  justify-content: start;
}

#contact_form {
  background-color: whitesmoke;
  padding: 30px;
  display: grid;
  grid-gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(35px);
  align-items: center;
  margin-right: 100px;
}


#contact_form > input {
  font-size: 14px;
  outline: none;
  height: 35px;
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid var(--light_grey);
}


#contact_form > select {
  font-size: 14px;
  outline: none;
  height: 35px;
  background-color: white;
  outline: none;
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid var(--light_grey);
}


#contact_form > div {
  grid-column: span 2;
}


#contact_form > textarea {
  font-size: 14px;
  grid-column: span 2;
  resize: none;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  padding: 6px;
  outline: none;
  height: 120px;
  border: 1px solid var(--light_grey);
}

#contact_form > p {
  grid-column: span 2;
  margin: 0px;
}

#contact_form > button {
  margin-top: 5px;
  height: 40px;
  background-color: var(--blue);
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0px;
  grid-column: span 2;
  font-size: 14px;
}

#contact_side {
  width: 400px;
}

#contact_side > hr {
  margin: 30px 0px;
  color: var(--light_grey);
}

#contact_info > p {
  font-size: 16px;
  line-height: 22px;
}

#contact_map {
  height: 400px;
}

#bien_visit_box, #estimation_box, #account_alert_box, #devis_form_box, #form_thks_box {
  animation-name: appear;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  justify-content: center;
  align-items: center;
  z-index: 20000;
  background-color: rgba(0, 0, 0, 0.7);
}

#account_alert {
  position: relative;
  padding: 70px;
  border-radius: 3px;
  background-color: whitesmoke;
  margin: 0px 20px;
}

#account_alert > button {
  top: 15px;
  right: 15px;
}

#account_alert > p {
  font-size: 18px;
  text-align: center;
  line-height: 30px;
  margin: 0px;
}

#account_alert > p > a {
  font-weight: bold;
  text-decoration: underline;
  color: var(--blue);
}

#bien_visit_form, #devis_form {
  background-color: whitesmoke;
  padding: 30px;
  width: 500px;
  display: grid;
  grid-gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(35px);
  align-items: center;
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
  position: relative;
}

#bien_visit_form > h3, #devis_form > h3 {
  grid-column: span 2;
  margin-bottom: 15px;
  font-size: 18px;
}

#bien_visit_form > div, #devis_form > div {
  grid-column: span 2;
  margin-bottom: 12px;
}

#bien_visit_form > input, #devis_form > input {
  box-sizing: border-box;
  width: 100%;
  font-size: 14px;
  outline: none;
  height: 35px;
  padding: 6px;
  border: 1px solid var(--light_grey);
}

#bien_visit_form > textarea, #devis_form > textarea {
  resize: none;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  padding: 6px;
  outline: none;
  height: 80px;
  border: 1px solid var(--light_grey);
  font-size: 14px;
  grid-column: span 2;
}

#bien_visit_form > label > input {
  height: 35px;
  font-size: 14px;
  background-color: white;
  border: 1px solid var(--light_grey);
  outline: none;
  padding-left: 6px;
  margin-top: 10px;
}

#bien_visit_form > p, #devis_form > p {
  grid-column: span 2;
  font-size: 14px;
  line-height: 22px;
  margin: 10px 0px;
}

#devis_form > #devis_send {
  grid-column: span 2;
  height: 40px;
  background-color: var(--blue);
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  margin-bottom: 0px;
  padding: 0px;
}

.close_popup {
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0px;
}

.close_popup > svg {
  pointer-events: none;
  fill: var(--blue);
  width: 18px;
  height: 18px;
}

.remove_annonce {
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0px;
}

.remove_annonce > svg {
  pointer-events: none;
  fill: rgba(255, 255, 255, 0.692);
  width: 18px;
  height: 18px;
}

.remove_annonce:hover > svg {
  fill: white;
}

#account {
  width: 1220px;
  min-height: 500px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding: 70px 0px;
}

#account_menu {
  width: 320px;
  flex-grow: 0;
  margin-bottom: 30px;
}

#account_context {
  width: 800px;
}

.account_select {
  display: block;
  padding: 14px 12px;
  width: 320px;
  box-sizing: border-box;
  text-align: center;
  background-color: var(--light_grey);
  margin-bottom: 10px;
  border: none;
  outline: none;
  font-size: 14px;
}

.account_select:hover {
  background-color: var(--blue);
  color: white;
}

.account_select.current {
  background-color: var(--blue);
  color: white;
}

#saved_list {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fill, 390px);
}

#saved_list > .annonce {
  margin: 0px;
}

#account_context > form {
  background-color: whitesmoke;
  padding: 30px;
}

#account_context > form > * {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
}

#account_context > form > input {
  font-size: 14px;
  outline: none;
  height: 35px;
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid var(--light_grey);
}

#account_context > form > input:focus {
  border: 1px solid #007144;
}

#account_context > form > input:focus + .input_rule {
  display: block;
}

.form_warning {
	line-height: 20px;
	font-size: 14px;
	text-align: center;
  padding: 8px 0px;
  list-style-type: none;
  margin: 0px 0px 20px 0px !important;
  grid-column: span 2;
}

.form_warning.error {
  border: 1px solid #AE0000;
  color: #AE0000;
  background-color: rgb(255, 239, 239);
}

.form_warning.valid {
  background-color: #F3FFFE;
	border: 1px solid #007144;
	color: #007144;
}

.form_warning:empty {
  display: none !important;
}

#account_context > form > .input_rule {
	list-style-type: none;
	font-size: 14px;
	padding: 15px;
	background-color: #F3FFFE;
	border: 1px solid #007144;
	color: #007144;
	display: none;
	margin: 15px 0px;
}

.input_rule > li {
	margin-bottom: 5px;
}

.input_rule > li:last-child {
	margin-bottom: 0px;
}

.account_form_but {
  height: 40px;
  background-color: var(--blue);
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  margin: 0px !important;
  padding: 0px;
  font-size: 14px;
}

.account_item {
  display: none;
}

.account_item.current {
  display: block;
}

#mobile_header {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: none;
  justify-content: space-between;
  background-color: white;
  align-items: center;
  position: relative;
  z-index: 12600;
  padding: 0px 10vw;
}

#logo_mobile {
  display: block;
  max-width: 40vw;
  max-height: 90px;
  width: auto;
  height: auto;
}

.mobile_menu_but {
  width: 30px;
  height: 25px;
  background: none;
  border: none;
  padding: 0px;
  margin: 0px;
  cursor: pointer;
  outline: none;
}

.mobile_menu_but > svg {
  pointer-events: none;
}

#reviews {
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#parallax {
  background-color: black;
  position: fixed;
  bottom: 0px;
  height: 100vh;
  width: 100%;
  z-index: -1;
}

#parallax > img {
  width: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.reviews_arrow_box {
  position: absolute;
  cursor: pointer;
  width: 100px;
  text-align: center;
  z-index: 1000;
}

.reviews_arrow {
  width: 30px;
  fill: rgba(255, 255, 255, 0.589);
  transition: fill 0.2s ease;
  pointer-events: none;
}

.reviews_arrow_box:hover > .reviews_arrow {
  fill: white;
}

#reviews_left {
  left: 100px;
}

#reviews_right {
  right: 100px;
}

.review_message {
  position: absolute;
  color: white;
  font-family: 'HelveticaNeue';
  text-align: center;
  width: 100%;
  transition: left 1s ease;
}

.review_message > p:first-child {
  font-size: 30px;
  max-width: 600px;
  margin: auto;
}

.review_message > p:nth-child(2){
  font-size: 18px;
}

.review_message.next {
  left: 100%;
}

.review_message.center {
  left: 0px;
}

.review_message.prev {
  left: -100%;
}

#form_thks {
  background-color: whitesmoke;
  padding: 50px;
  max-width: 500px;
  box-sizing: border-box;
  position: relative;
}

#form_thks > p {
  font-size: 16px;
  line-height: 30px;
}

#estimation_form {
  background-color: whitesmoke;
  padding: 30px;
  width: 500px;
  height: 600px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
}

#estimation_form > h3 {
  margin-bottom: 30px;
}

#estimation_form > fieldset > p {
  font-size: 14px;
  line-height: 22px;
  margin: 30px 0px;
  text-align: center;
}

#civility {
  margin-bottom: 20px;
}

#estimation_form > fieldset > input, #estimation_form > fieldset > select {
  display: block;
  width: 100%;
  height: 35px;
  font-size: 14px;
  background-color: white;
  border: 1px solid var(--light_grey);
  outline: none;
  padding-left: 6px;
  margin-bottom: 10px;
  box-sizing: border-box;
}

#estimation_next, #estimation_send, #estimation_prev, #visite_send {
  height: 40px;
  background-color: var(--blue);
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  margin-bottom: 0px;
  padding: 0px;
  font-size: 14px;
  border-radius: 0px;
  flex-grow: 1;
}

#visite_send {
  grid-column: span 2;
}

#estimation_next {
  width: 100%;
  margin-top: 20px;
}

#estimation_control {
  margin-top: 30px;
  display: flex;
  width: 100%;
}

#estimation_prev {
  margin-right: 10px;
  background-color: var(--light_grey);
  color: black;
}

#estimation_first, #estimation_second {
  width: 100%;
  padding: 0px 30px;
  box-sizing: border-box;
  position: absolute;
  transition: left 0.3s ease;
}

#estimation_first {
  left: 0px;
  top: 150px;
}

#estimation_second {
  left: 100%;
  top: 150px;
}

.gestion_devis {
  display: flex;
  height: 120px;
}

.devis_label {
  font-size: 25px;
  text-align: center;
  font-weight: bold;
  height: 100%;
  line-height: 120px;
  padding: 0px 25px;
  flex-basis: 700px;
}

.devis_control {
  background-color: whitesmoke;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0px 30px;
  flex-grow: 1;
}

.devis_button {
  font-size: 18px;
  height: 50px;
  border: none;
  width: 400px;
  background-color: var(--red);
  color: white;
  flex-shrink: 1;
  transition: background-color 0.2s, color 0.2s;
}

.sub_title_box {
  padding: 40px 0px;
  background-color: white;
}


.sub_title {
  font-size: 30px;
  margin: auto;
  color : var(--blue);
}

#team_box {
  background-color: whitesmoke;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

#team {
  width: 1220px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
  flex-wrap: wrap;
}

/* .team_item {
  
} */

.team_photo {
  width: 260px;
}

.team_name {
  font-size: 20px;
  text-align: center;
  color: rgb(41, 41, 41);
  margin: 20px 0px 10px 0px;
}

.team_desc {
  font-size: 18px;
  text-align: center;
  color: rgb(77, 77, 77);
  margin: 0px;
}

#gestion_choix {
  width: 1000px;
  margin: auto;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

#gestion_menu_box {
  background-color: var(--blue);
}

#gestion_menu {
  width: 1220px;
  margin: auto;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gestion_item {
  height: 150px;
  padding: 20px 10px;
  text-align: center;
  flex: 1;
  box-sizing: border-box;
  border-bottom: 12px solid transparent;
  cursor: pointer;
}

.gestion_item > * {
  pointer-events: none;
}

.gestion_item:hover {
  background-color: rgb(16, 38, 78);
  border-bottom: 12px solid rgb(6, 23, 54);
}

.gestion_item.current {
  background-color: rgb(16, 38, 78);
  border-bottom: 12px solid rgb(6, 23, 54);
}

.gest_item_icon {
  width: 40px;
  height: 40px;
  fill: white;
  margin: 0px 0px 10px 0px;
}

.gest_item_label {
  font-size: 16px;
  margin: 0px;
  line-height: 24px;
}

.gest_sub_item {
  background-color: whitesmoke;
  width: 1280px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 50px 0px;
}

.gest_sub_item.hidden {
  display: none;
}

.sub_item_text {
  font-size: 16px;
  line-height: 26px;
  background-color: whitesmoke;
  padding: 50px;
  margin-right: 40px;
}

.sub_item_recap {
  list-style-position: inside;
  margin: 0px;
  flex-shrink: 0;
  font-size: 20px;
  padding: 50px;
  color: var(--blue);
}

.sub_item_recap > li {
  margin-bottom: 15px;
}

.sub_item_recap > li:last-child {
  margin: 0px;
}

#terms {
  width: 1220px;
  margin: auto;
  padding: 40px;
  background-color: whitesmoke;
}

#terms > h3 {
  font-size: 24px;
  margin: 30px 0px;
}

#terms > p {
  line-height: 24px;
}

#terms a {
  color: blueviolet;
  text-decoration: underline;
}

#cookies_info {
  animation-name: appear;
  animation-duration: 0.3s;
  animation-timing-function: ease;
  animation-play-state: forwards;
  position: fixed;
  bottom: 0px;
  padding: 30px;
  display: none;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  box-sizing: border-box;
  z-index: 50000;
  width: 100%;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

#cookies_info > button {
  background: var(--red);
  color: white;
  padding: 12px 20px;
  border: none;
  font-size: 16px;
  font-weight: bold;
}

#forgot_pass_box {
  width: 1220px;
  margin: 70px auto;
  padding: 30px;
  background-color: whitesmoke;
}

#forgot_pass_box > div {
  line-height: 24px;
}

#forgot_pass_box > form {
  margin-top: 20px;
  text-align: right;
}

#forgot_pass_box > form > input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 15px;
  font-size: 14px;
  outline: none;
  height: 35px;
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid var(--light_grey);
}

#forgot_pass_box > form > button {
  width: 150px;
}

#forgot_pass_link {
  text-align: right;
  padding-right: 20px;
  text-decoration: underline;
  margin-top: 20px;
  margin-bottom: 0px !important;
}

.grecaptcha-badge { 
	visibility: hidden;
}

#google_message {
	padding-top: 5px;
	font-size: 12px;
	font-family: arial;
	line-height: 17px;
	color:#454545;
}

#contact_form > #google_message {
	max-width: 500px;
}

#google_message > a {
	color: #3FA1EF !important;
}

@media(min-width: 1221px){

  .annonce:hover > .annonce_header, .annonce:hover > .annonce_info {
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  
  .annonce:hover > .annonce_img {
    opacity: 0.3;
    transition: opacity 0.2s ease;
  }
  
  .annonce:hover > .annonce_desc {
    opacity: 1;
  }
  
  .menu_item:hover > .sub_menu {
    display: block;
  }

  #header_background {
    display: none;
  }
}

@media(max-width: 1220px){

  #forgot_pass_box {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
  }

  #terms {
    width: 100%;
    box-sizing: border-box;
    margin: 0px;
  }

  header {
    height: 150px;
  }

  .annonce > * {
    pointer-events: none;
  }

  .featured_slide {
    transition: opacity 0.5s, left 0.7s;
    box-shadow: none;
  }

  .featured_slide.left {
    transform: none;
    width: 50%;
    height: 300px;
    left: 0px;
  }

  .featured_slide.center {
    transform: none;
    width: 50%;
    height: 300px;
    left: 50%;
  }

  .featured_slide.right {
    transform: none;
    width: 50%;
    height: 300px;
    left: 100%;
  }

  .featured_slide.out {
    transform: none;
    width: 50%;
    height: 300px;
    opacity: 0;
    left: 0px;
  }

  .featured_slide.hidden {
    transform: none;
    width: 50%;
  }

  #gestion_menu {
    width: 100%;
    flex-wrap: wrap;
  }

  .gestion_item {
    height: auto;
  }

  .gest_item_icon {
    margin: 0px;
  }

  .gest_item_label {
    display: none;
  }

  .gest_sub_item {
    width: 100%;
    justify-content: center;
    padding: 0px;
  }

  .sub_item_text {
    padding: 20px;
    margin: 0px;
  }

  .sub_item_recap {
    padding: 20px;
  }

  .devis_label {
    flex: 1;
  }

  .devis_control {
    flex: 1;
  }

  .sub_title {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  #team {
    width: 100%;
    justify-content: center;
  }

  .team_item {
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 40px;
  }

  #header_mask {
    display: none;
  }

  .menu_sep {
    display: none;
  }

  #banner_box_container {
    width: 100%;
  }

  #reviews_left {
    left: 0px;
  }
  
  #reviews_right {
    right: 0px;
  }

  #bien_titre {
    width: 100%;
    padding: 0px 20px;
  }

  #bien_titre_desc {
    width: 100%;
    padding: 0px 20px;
  }

  .titre_et_ref > p {
    padding: 0px 20px;
  }

  #gesion_picto_container{
    width : 100%;
    padding: 0px 20px;
  }

  #bien_picto_container{
    width : 100%;
    padding: 0px 20px;
  }
  #mobile_header {
    display: flex;
  }

  #account {
    width: 100%;
    flex-wrap: wrap;
  }

  #account_menu {
    width: 100%;
    margin-bottom: 30px;
  }

  .account_select {
    margin-left: auto;
    margin-right: auto;
  }

  #account_context {
    margin: auto;
  }

  #contact_box {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  #contact_form {
    margin-right: 0px;
    margin-bottom: 50px;
  }

  #contact_side {
    width: auto;
  }

  #bien_control_box {
    width: 100%;
    margin-left: 20px;
  }

  #bien_infos {
    width: auto;
    flex-wrap: wrap;
    padding: 0px 20px;
  }

  #bien_infos_picto {
    width: auto;
    flex-wrap: wrap;
    padding: 0px 20px;
  }

  .photo_gestion {
    width : auto;
    flex-wrap: wrap;
    padding: 0px 20px 40px;
  }

  .gestion_titresa {
    width: auto;
    flex-wrap: wrap;
    padding: 0px 20px 40px;
  }

  .gestion_titres {
    width: auto;
    flex-wrap: wrap;
    padding: 0px 20px 40px;
  }


  #bien_desc_container {
    margin-bottom: 40px;
  }

  #bien_slider {
    margin-top: 0px;
    height: auto;
    background-color: black;
  }

  #slider_back_ghost, #slider_front_ghost, #slider_back, #slider_front {
    display: none;
  }

  #mobile_slider_box {
    position: relative;
    height: 400px;
    display: block;
    overflow: hidden;
    width: 100vw;
  }

  #mobile_slider_box.grow {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 10001;
    background-color: black;
  }

  #mobile_slider_visible {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: left 0.4s ease-out;
    overflow: clip;
  }

  #mobile_slider_hidden {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    transition: left 0.4s ease-out;
  }

  .mobile_slider_pic {
    position: relative;
    width: 100%;
    height: 400px;
    object-fit: contain;
    backface-visibility: hidden;
    -moz-backface-visibility: hidden;
  }

  .mobile_slider_pic_ghost {
    position: absolute;
    top: -25px;
    left: -10%;
    height: 450px;
    width: 120%;
    object-fit: fill;
    filter: blur(20px);
    backface-visibility: hidden;
    -moz-backface-visibility: hidden;
  }

  #mobile_slider_box.grow > * > .mobile_slider_pic {
    height: 100vh;
  }

  #mobile_slider_box.grow > * > .mobile_slider_pic_ghost {
    height: 100%;
  }

  #slider_thumbs {
    justify-content: start;
    flex-wrap: wrap;
    height: auto;
    padding: 20px 20px 10px 20px;
  }

  .slider_thumb {
    margin-bottom: 10px;
  }

  .pagination {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
  }

  #sort_form {
    width: 100%;
    padding-right: 30px;
    box-sizing: border-box;
  }

  #header_box {
    width: 100%;
  }

  #logo {
    display: none;
  }

  #header_right {
    display: none;
  }
  
  #menu_container {
    height: auto;
    top: -500px;
    position: absolute;
    display: block;
    left: 0px;
    width: 100%;
    background-color: var(--blue);
    text-align: center;
    z-index: 12000;
    transition: top 0.4s ease-out;
  }

  .menu {
    display: block;
    top: auto;
  }

  .sub_menu {
    position: initial;
    width: 100%;
  }

  .sub_menu > li > a {
    padding: 0px;
  }

  #search {
    width: 100%;
    display: grid;
    grid-gap: 10px;
    box-sizing: border-box;
    grid-template-columns: repeat(4, 1fr);
    padding: 10px;
  }

  .search_select, #ref_input, #search_button {
    grid-column: span 2;
  }

  #search > * {
    width: auto !important;
    margin: 0px;
  }

  .annonces_list {
    width: 100%;
    justify-content: center;
  }

  .annonce {
    margin: 10px;
  }

  #footer_main {
    height: auto;
  }

  #footer_columns {
    width: 100%;
    padding: 40px 20px 0px 20px;
    flex-wrap: wrap;
  }

  .footer_column {
    width: 300px;
    flex: auto;
    margin: 0px 0px 30px 0px;
  }

  #footer_bottom > p {
    width: 100%;
    margin-bottom: 70px;
  }

  #footer_mobile {
    display: flex;
    height: 70px;
    width: 100vw;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.8);
    position: fixed;
    bottom: -70px;
    transition: bottom 0.3s ease;
    left: 0px;
    justify-content: center;
    box-sizing: border-box;
    align-items: center;
  }

  .mobile_footer_icon {
    fill: white;
    display: block;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    outline: none;
    border: none;
    padding: 0px;
    margin-right: 20px;
  }

  .mobile_footer_icon:last-child {
    margin-right: none;
  }

  .mobile_footer_icon > svg {
    height: 16px;
  }

  .mobile_footer_icon.email {
    background-color: #EFEFEF;
    fill: rgb(88, 88, 88);
  }

  .mobile_footer_icon.account {
    background-color: var(--blue);
  }

  .mobile_footer_icon.phone {
    background-color: var(--red);
  }

  #map {
    height: 600px;
  }
}

@media(max-width: 900px){

  .featured_slide {
    transition: left 0.7s;
  }

  .featured_slide.left {
    width: 100%;
    left: -100%;
  }

  .featured_slide.center {
    width: 100%;
    left: 0px;
  }

  .featured_slide.right {
    width: 100%;
    left: 100%;
  }

  .featured_slide.hidden {
    display: none;
  }

  .gest_sub_item {
    display: block;
    padding: 0px;
  }

  .gestion_devis {
    display: block;
    height: auto;
  }

  .devis_label {
    font-size: 24px;
    height: auto;
    line-height: 70px;
    padding: 0px;
  }

  .devis_control {
    padding: 10px 20px;
    height: auto;
  }

  .devis_button {
    height: auto;
    padding: 10px;
  }

  #banner_box_container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #banner_box {
    right: auto;
  }

  #saved_list {
    width: 390px;
    margin: auto;
  }

  #slider_left {
    left: 0px;
    width: 70px;
  }

  #slider_right {
    right: 0px;
    width: 70px;
  }

  #bien_control_box {
    flex-wrap: wrap;
    width: auto;
  }

  #bien_control_box > * {
    margin-bottom: 10px;
  }

  #search {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 5px;
    padding: 5px;
  }

  .search_select, #ref_input, #search_button {
    grid-column: 1fr;
  }

  #banner_address {
    display: none;
  }
}

@media(max-width: 500px){

  .photo_gestion > img {
    width : 250px;
    height : 145px;
    border-radius: 10% 10% 10% 10%;
  }
  #account {
    min-height: auto;
  }

  .reviews_arrow_box {
    width: 70px;
  }
  
  .reviews_arrow {
    width: 20px;
  }

  .review_message {
    box-sizing: border-box;
    padding: 0px 50px;
  }

  .review_message > p:first-child {
    font-size: 20px;
  }

  #banner_box {
    height: 100%;
    width: 100%;
    top: auto;
    background-color: rgba(255, 255, 255, 0.151);
    padding: 0px 40px;
  }

  #banner_box > h3 {
    display: block;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
  }

  #banner_box > img {
    display: none;
  }

  #banner_form {
    right: auto;
    width: 100%;
  }

  #banner_form > input {
    margin-bottom: 15px;
    height: 40px;
  }

  #banner_form > button {
    height: 40px;
  }

  #account_menu {
    padding: 0px 10px;
  }

  .account_select {
    width: 100%;
  }

  #saved_list {
    display: block;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
  }

  #saved_list > .annonce {
    margin: 0px 0px 10px 0px;
  }

  #bien_visit_form, #devis_form {
    width: 90vw;
  }

  #bien_visit_form > input, #devis_form > input {
    grid-column: span 2;
  }

  #bien_visit_form > label {
    grid-column: span 2;
  }

  #bien_control_box {
    margin-left: 0px;
    justify-content: center;
    padding: 0px 20px;
    flex-direction: column;
  }

  #bien_control_box > * {
    margin-right: 0px !important;
    margin-bottom: 10px;
    width: 100%;
  }

  .bien_control {
    width: 100%;
  }

  #contact_form {
    width: 100%;
    box-sizing: border-box;
    grid-template-columns: none;
  }

  #contact_side {
    padding: 0px 10px;
  }

  #contact_form > * {
    grid-column: span 2;
  }

  .slider_arrow {
    width: 20px;
    fill: white; 
  }

  h2 {
    font-size: 40px;
    padding: 0px 20px;
  }
  
  #selector {
    padding: 0px;
  }

  .selector_type {
    margin-right: 0px;
  }

  .annonce {
    width: 100%;
    margin: 0px 10px 10px 10px;
  }

  .page_numbers {
    display: none;
  }

  .page_arrow {
    width: 70px;
    height: 70px;
  }
}

/* Carousel */

.carousel {
  background: #EEE;
  width: 80%;
  margin : auto;
}

.carousel-image {
  margin-top: 150px;
  display: block;
  height: 300px;
  width : 390px;
  /* vertically center */
  top: 50%;
  transform: translateY(-50%)
}

.annoncecarousel {
  margin: 15px 0px;
  position: relative;
  cursor: pointer;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.212);
  width: 390px;
  height: 300px;
  background-color: black;
}

.annoncecarousel_img {
  position: absolute;
  z-index: 30;
  width: 390px;
  height: 300px;
  object-fit: cover;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
