@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --color-white: 255, 255, 255;
}

@layer base {
  @font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: normal;
    src: url(/assets/Montserrat-Regular-0dfb5436223a483b90fd318d2bb163555911a6fe1d584e0aa401b644c3d0ab7d.ttf);
  }

  @font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    src: url(/assets/Montserrat-Medium-288995a40cc1bf3cc64af44429974561e1b56224ce2bcbceeb1e9c933671238f.ttf);
  }

  @font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    src: url(/assets/Montserrat-Bold-5adc2458bfa96238eee01198555c966fbe56067da27a559493baa8ac299cf29c.ttf);
  }

  @font-face {
    font-family: "Nicephore";
    font-style: normal;
    font-weight: normal;
    src: url(/assets/Nicephore-Regular-c1600a1c89fbbd8f805c4ffcce937f52cafe635b355674c993bf14030eedab15.woff2) format("woff2"), url(/assets/Nicephore-Regular-dce08b486aa09cac66487bcebf5e21c8cd60ed6bf6166c2da0b55e1922e997fc.woff) format("woff");
  }

  @font-face {
    font-family: "Nicephore";
    font-style: normal;
    font-weight: 700;
    src: url(/assets/Nicephore-Bold-eced0936e64ec6f6778ecc8a0080474b1c9dda5992f65470d7613fa9a2eeec42.woff2) format("woff2"), url(/assets/Nicephore-Bold-a7cb95fa151da389ac41237be9be0a5b963c20ad02f2e137b8c5f85164d81a10.woff) format("woff");
  }

  @font-face {
    font-family: "Nicephore";
    font-style: normal;
    font-weight: 800;
    src: url(/assets/Nicephore-Heavy-c1b63e246ccc5e944ea6ff5a79b3b8b614e8b1939f99902bf7a0fc3781733a11.woff2) format("woff2"), url(/assets/Nicephore-Heavy-63a08bb1e1f6d64f06fcc0f307b332d838856b61eb1c2e68ac95944f105a314e.woff) format("woff");
  }
}
input[type=range].conso {
  width: 100%;
  height: 6px;
  cursor: pointer;
  margin-right: 15px;
  -webkit-appearance: none;
  background: #d3d3d3;
  background-image: linear-gradient(89.34deg, #D3E0E9 -12.64%, #F1D0C4 10.87%, #FFF5D2 42.48%, #D3E0E9 94.82%);
  background-repeat: no-repeat;
  background-size: 70% 100%;
  border-radius: 5px;
}

input[type="range"].conso::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  border-radius: 5px;
  background: #4776e6; /* fallback for old browsers */
  background: -webkit-linear-gradient(89.34deg, #D3E0E9 -12.64%, #F1D0C4 10.87%, #FFF5D2 42.48%, #D3E0E9 94.82%);; /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(89.34deg, #D3E0E9 -12.64%, #F1D0C4 10.87%, #FFF5D2 42.48%, #D3E0E9 94.82%); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  height: 6px;
}

/***** Chrome, Safari, Opera, and Edge Chromium *****/
input[type="range"].conso::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  background-color: #F1D0C4;
  border-radius: 100%;
  border: 4px white solid;
  height: 17px;
  width: 17px;
  box-shadow: 0px 0px 4px 0px #00000066;
  margin-top: -5px;
}

/***** Firefox *****/
input[type="range"].conso::-moz-range-thumb {
  appearance: none;
  margin-top: -6px; /* Centers thumb on the track */
  background-color: #F1D0C4;
  border-radius: 100%;
  border: 4px white solid;
  height: 17px;
  width: 17px;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.4);
}

.required-label:after {
  content:" *";
  color: red;
}

/* style range */
input[type=range].duration {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    width: 100%;
    height: 6px;
    cursor: pointer;
    margin-right: 15px;
    -webkit-appearance: none;
    background: #DFE0E5
    background-repeat: no-repeat;
    background-size: 100%;
    border-radius: 5px;
}

input[type="range"].duration::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  background-color: #fff;
  border-radius: 100%;
  border: 4px #F1D0C4 solid;
  height: 17px;
  width: 17px;
  box-shadow: 0px 0px 4px 0px #00000066;
  margin-top: 0px;
}

/***** Firefox *****/
input[type="range"].duration::-moz-range-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  margin-top: -6px; /* Centers thumb on the track */
  background-color: #fff;
  border-radius: 100%;
  border: 4px #F1D0C4 solid;
  height: 10px;
  width: 10px;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.4);
}
/* Autocomplete */

.pac-container {
  margin-top: 10px;
  border-radius: 6px;
  border: solid #D3D3D3 1px;
  padding: 1em;
}

.pac-item {
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.pac-item:hover {
  background-color: #FBF3EA;
}

.pac-item-selected {
  background-color: #FBF3EA;
}

.pac-matched {
  font-weight: bold;
}

.pac-item-query {
  font-family: Montserrat, sans-serif;
  font-size: 16px;
}

.pac-icon {
  background: url(/assets/home-e594ce6532f1d2168cc5e9f0a566f24518480b493efbf5e837d18d25213a869c.svg) no-repeat center;
  background-size: 16px;
  margin: -5px 20px 0px 11px;
  vertical-align: middle;
}

.hdpi .pac-icon {
  background: url(/assets/home-e594ce6532f1d2168cc5e9f0a566f24518480b493efbf5e837d18d25213a869c.svg) no-repeat center;
  background-size: 16px;
  margin: -5px 20px 0px 11px;
  vertical-align: middle;
}

.pac-item-selected .pac-icon {
  background: url(/assets/home-primary-cac2f6a82eeddadd98cc7de7dd82f75f378094a80dd8221ebbbf97752b9da047.svg) no-repeat center;
}

.pac-item:hover .pac-icon {
  background: url(/assets/home-primary-cac2f6a82eeddadd98cc7de7dd82f75f378094a80dd8221ebbbf97752b9da047.svg) no-repeat center;
}

/* Map */

.gm-style iframe+div {
  border: none !important;
}
.slider .slide {
    opacity: 1;
  }

.slide-content {
    height: 50px;
    width: 100%;
}

.transition {
    transition: opacity 1s, transform 1s;
}

.slider .slide:last-child {
    opacity: 0;
    transform: scale(0.6);
}

.sliding {
    transform: translateY(-100%);
}

.s-visible {
    opacity: 1 !important;
}

.s-invisible {
    opacity: 0 !important;
}

.sliding.s-invisible {
    transform: translateY(-100%) scale(0.6);
}

.sliding.s-visible {
    transform: translateY(-100%) scale(1) !important;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.turbo-progress-bar {
  visibility: hidden;
}

@keyframes grow {
  0% {
    height: 0%;
  }
  100% {
    height: 100%;
  }
}

.grows {
  animation-name: grow;
  animation-duration: 5s;
}

::selection {
  background: #d94d31;
  color: white;
}

.bg-gradient {
  background: linear-gradient(120deg, #D3E0E9 0%, #F1D0C4 22%, #FFF5D2 51%, #D3E0E9 100%);
}
