/* ----------  OWL CAROUSSEL ----------------*/

.owl-nav {
	text-align:right
}
.owl-prev, .owl-next {
	    display: inline-block;
    background-color: rgb(26, 122, 82);
    padding: 10px;
}
.owl-nav .fa {
	font-size: 22px;
    color: white;
}
h1{
	font-family: helvetica, sans-serif;
    font-size: 21px;
    font-weight: 800;
    color: rgb(255, 255, 255);
    text-decoration: none;
	padding: 21px 0 0 21px;
}
.text{
	padding: 21px;
}
.text p {
	font-family: helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgb(255, 255, 255);
    font-style: normal;
}
.text h2 {
	font-family: helvetica, sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: rgb(255, 255, 255);
    font-style: normal;
	    margin-bottom: 5px;
}
/*-----------------------------------------------------*/


body {
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left top;
  font: 700 0.875em/1.38 'Helvetica';
  color: rgb(179, 179, 179);
}

.livred {
  display: none;
  position: absolute;
  top: 251px;
  right: 388px;
  z-index: 12;
  width: 460px;
  height: 205px;
  background-color: rgba(29, 135, 91, 0.9);
  overflow: visible;
}

.livred:active {
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
}

.logo {
  display: block;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9;
  width: 100px;
  height: 100px;
  background-image: url('../images/logo_gites-du_sordeau.svg');
  background-size: auto auto;
  background-position: center center;
  font: 400 1.143em/1.38 Helvetica;
  text-align: center;
  color: rgb(0, 0, 0);
}

.menu {
  position: relative;
  float: right;
  z-index: 8;
  width: 530px;
  height: 24px;
  margin: 20px 20px 0 0;
  background-color: rgb(26, 122, 82);
}

.wrapper {
  overflow: hidden;
}

._button {
  display: block;
  float: left;
  margin-top: 3px;
  font-size: 1em;
  line-height: 1.38;
  text-align: left;
}

.wrapper-1 {
  display: none;
  position: relative;
  float: left;
  clear: both;
  z-index: 11;
  width: 15.8333333333%;
  height: 144px;
  margin: 151px 0 0 34.16667%;
}

.wrapper-2 {
  position: absolute;
  top: 54px;
  right: 20px;
  z-index: 10;
  width: 274px;
	padding:0;
}

.menu ._button-1 {
  margin-left: 4.09493%;
  color: rgb(179, 179, 179);
}

.menu ._button-2 {
  margin-left: 15px;
  color: rgb(179, 179, 179);
  white-space: normal;
}

.menu ._button-7 {
  margin-left: 15px;
  color: rgb(255, 255, 255);
}

.menu ._button-3,
.menu ._button-4,
.menu ._button-5,
.menu ._button-6,
.menu ._button-8 {
  margin-left: 15px;
  color: rgb(179, 179, 179);
}

.menu ._button-1:active,
.menu ._button-1:hover,
.menu ._button-2:active,
.menu ._button-2:hover,
.menu ._button-3:active,
.menu ._button-3:hover,
.menu ._button-4:active,
.menu ._button-4:hover,
.menu ._button-5:active,
.menu ._button-5:hover,
.menu ._button-6:active,
.menu ._button-6:hover,
.menu ._button-8:active,
.menu ._button-8:hover {
  color: rgb(255, 255, 255);
}

@media(max-width: 722px) {
  .livred {
    top: auto;
    right: auto;
    height: 195px;
  }

  .livred:active {
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
  }

  .logo {
    position: relative;
    float: left;
    top: auto;
    left: auto;
    z-index: 9;
    width: 75px;
    height: 75px;
    margin-top: 10px;
    margin-left: 10px;
  }

  .menu {
    display: none;
    position: relative;
    z-index: 8;
    margin-top: 214px;
    margin-right: 63px;
  }

  .wrapper-1 {
    display: block;
    position: absolute;
    float: none;
    clear: none;
    top: 23px;
    left: auto;
    right: 23px;
    width: 133px;
    height: 229px;
    margin-top: 0;
    margin-left: 0;
  }

  .wrapper-2 {
    position: fixed;
    top: auto;
    bottom: 10px;
    left: 10px;
    right: auto;
  }

  .menu ._button-1 {
    margin-left: 4.09704%;
  }

  .menu ._button-5 {
    margin-left: 127px;
  }

  .menu ._button-7 {
    clear: both;
    margin-top: -19px;
    margin-left: 259px;
  }

  .menu ._button-8 {
    margin-top: -19px;
    margin-left: 485px;
  }
}

@media(max-width: 489px) {
  body {
    font-size: 0.875em;
  }

  .livred {
    display: block;
    position: fixed;
    top: 235px;
    bottom: auto;
    left: 274px;
    width: 215px;
    height: 313px;
  }

  .livred:active {
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    opacity: 0;
  }

  .logo {
    position: relative;
    z-index: 9;
  }

  .menu {
    position: relative;
    clear: both;
    z-index: 8;
    margin-top: -65px;
    margin-right: 20px;
  }

  .wrapper {
    position: relative;
    top: auto;
  }

  .wrapper-1 {
    float: right;
    right: auto;
    z-index: 11;
    margin-top: 20px;
    margin-right: 23px;
  }

  .wrapper-2 {
    float: left;
    clear: both;
    bottom: 0;
    left: auto;
    z-index: 10;
    width: 100%;
    margin-top: 10px;
  }
}