/*
*      Reservit Hotel Widget CSS
*      Version: 3.0
*      By Reservit
*
*      Contact: http://www.reservit.com/hebergement
*      Created: 2017
*
*      Copyright (c) 2017, Reservit. All rights reserved.
*
*      Licensed under the GPLv2 license - https://www.gnu.org/licenses/gpl-2.0.html
*
*/

#rsvit_btn {
  padding: 15px 20px 10px 20px;
  top: 50%;
  right: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  -moz-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  position: fixed;
  z-index: 999999;
  display: none;
  -webkit-transition: background-color 0.5s ease, color 0.5s ease,
    border-color 0.5s ease;
  -moz-transition: background-color 0.5s ease, color 0.5s ease,
    border-color 0.5s ease;
  -ms-transition: background-color 0.5s ease, color 0.5s ease,
    border-color 0.5s ease;
  -o-transition: background-color 0.5s ease, color 0.5s ease,
    border-color 0.5s ease;
  transition: background-color 0.5s ease, color 0.5s ease,
    border-color 0.5s ease;
}

#ReservitBestPriceWidget {
  margin: auto;
  border: none;
  max-width: initial;
  text-align: center;
  width: 100%;
  height: 100%;
  padding-top: 5px;
}

#btn_bed_ico {
  font-size: 1.3em;
  border: 2px solid;
  border-radius: 3px;
  padding: 2px 3px 2px 3px;
  margin-right: 5px;
}

#ReservitBestPriceWidgetbox {
  border: 0;
  position: relative;
  z-index: 999997;
  background-color: transparent !important;
  box-shadow: initial;
  text-align: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

#ReservitBestPriceWidgetbox1 {
  position: fixed;
  top: 50%;
  right: 0;
  display: none;
  text-align: center;
  min-width: 250px;
  width: 450px;
  min-height: 300px;
  height: 90%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  left: initial;
  z-index: 9998;
}

#box_btn_close {
  font-size: 18px;
  color: black;
  -webkit-transition: transform 0.5s ease;
  -ms-transition: transform 0.5s ease;
  -moz-transition: transform 0.5s ease;
  -o-transition: transform 0.5s ease;
  transition: transform 0.5s ease;
  margin: auto;
  line-height: 1.4;
}

#box_btn_close:hover {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#box_btn {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  vertical-align: middle;
  top: -7px;
  left: -7px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  padding-top: 0px;
  text-align: center;
  cursor: pointer;
  background-color: white;
  -webkit-box-shadow: -5px 5px 10px 0 rgba(0, 0, 0, 0.5);
  -moz-box-shadow: -5px 5px 10px 0 rgba(0, 0, 0, 0.5);
  box-shadow: -5px 5px 10px 0 rgba(0, 0, 0, 0.5);
  z-index: 1000000;
}

/* DEBUT RESPONSIVE */
@media (max-width: 768px) {
  #rsvit_btn {
    width: 90%;
    left: 50%;
    bottom: 0;
    top: initial;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }

  #ReservitBestPriceWidgetbox1 {
    left: 50%;
    top: 50%;
    right: initial;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
}

@media screen and (min-height: 450px) {
  #ReservitBestPriceWidgetbox1 {
    width: 250px;
    height: 400px;
  }

  #box_btn {
    top: -15px;
    left: -15px;
    width: 35px;
    height: 35px;
    padding-top: 7px;
    -webkit-box-shadow: -5px 5px 20px 0 rgba(0, 0, 0, 0.64);
    -moz-box-shadow: -5px 5px 20px 0 rgba(0, 0, 0, 0.64);
    box-shadow: -5px 5px 20px 0 rgba(0, 0, 0, 0.64);
  }

  #box_btn_close {
    font-size: 20px;
    line-height: 1;
  }
}
/* FIN RESPONSIVE */
