
:root {
  --red-color: #e21a1c;
  --background-color: #e8e8e8;
  --background-card: white;
  --body-fg: #eeeeee;
  --message-success-bg: #006b1b;
  --message-warning-bg: #583305;
  --message-error-bg: #570808;
  --dark-grey: #404040;
}


.navigation-clean.navbar-light .navbar-nav .nav-link:hover {
  color: var(--red-color) !important;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background: var(--red-color) !important;
}

.owl-theme .owl-dots .owl-dot span {
  border-radius: 50% !important;
  padding: 3px !important;
  margin: 0 2px 0 2px !important;
  width: auto !important;
  height: auto !important;
  color: white !important;
  text-align: center !important;
  background: black !important;
}

.owl-nav {
  display: block !important;
}

a {
  text-decoration: none;
}

.google-map {
  height: 400px;
  width: 100%;
}

/* The Google maps info close button */
.gm-style-iw, button:focus {
  outline: 0;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--red-color);
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #38ff32;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

body {
  font-family: 'RobotoRegular', serif;
}

#footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  row-gap: 35px;
  color: white;
}

.alert {
  margin-bottom: 0;
  min-height: 120px;
  display: flex;
  align-items: center;
}

.modal-cstm {
  margin: 0 auto 0 auto;
  padding: 30% 0 0 0;
  display: none;
  position: fixed;
  background-color: rgba(232, 232, 232, 0.80);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6666;
}

.modal-content-cstm {
  margin: 0 auto;
  padding: 25px 25px 10px 25px;
  border: 1px solid #999;
  border-radius: 20px;
  background: white;
  opacity: 1;
  text-align: center;
  box-shadow: 0 0 12px -2px rgb(0 0 0 / 50%);
}

body.waiting * {
  cursor: wait;
}


.content-div {
  background: black;
}

.content-div-2 {
  background: var(--background-color);
  color: black;
  max-width: 600px;
  margin: auto;
  padding-bottom: 20px;
}

.bg-transparent {
  background: black;
  margin-bottom: 30px;
}

.mini-map-image {
  width: 100%;
  margin: 0 auto 4px auto;
}

.layer_map_button {
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
  cursor: pointer;
  margin: 8px 0 22px 0; /* haut | droit | bas | gauche */
  text-align: center;
}

#layer_map_div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}

.layer_map_button div {
  color: rgb(25, 25, 25);
  /*background: white;*/
  font-size: 16px;
  line-height: 38px;
  padding: 0 15px 0 15px; /* haut | droit | bas | gauche */
}

.title_categories {
  font-family: 'BebasBook', serif;
  font-size: 1.8rem;
  padding: 0;
  margin: 0 20px 0 0;
}

.signup_text {
  font-family: 'BebasBold', serif;
  font-size: 1.4rem;
}

.i_red {
  text-align: center;
  font-family: 'Tee Franklin Heavy', serif;
  font-size: 60px;
  width: 50px;
  font-style: italic;
  color: var(--red-color);
}

.h4_label {
  font-family: 'BebasBook', serif;
  font-size: 1.4rem;
}

.h5_label {
  margin: 15px 0 0 0; /* haut | droit | bas | gauche */
}

.h6_label {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  margin-top: 5px;
}

.separator {
  height: 10px;
  color: red;
  opacity: 1;
  text-align: center;
  margin: 100px 15% 60px 15%; /* haut | droit | bas | gauche */
}


th, td {
  font-size: 0.8em;
  font-weight: normal;
  border: 1px solid #333;
  padding: 0 10px;
}

.exp_chart {
  background: var(--background-color);
  font-size: 0.8rem;
  border-radius: 18px;
  padding: 20px;
  margin: 20px;
}

.warning_text {
  font-family: 'RobotoRegular', serif;
  text-align: center;
  font-size: 0.9rem;
  border-radius: 18px;
  padding-bottom: 10px
}


/* =================
       NAVIGATION
 ===================  */
.navbar-div {
  position: relative;
  z-index: 2222;
  width:100%;
}

/*.hide-small-devices {*/
/*    display: inline-block;*/
/*}*/

.hide-big-devices {
  display: none;
}

.menu-icon {
  cursor: pointer;
  width: 70px;
  height: 72px;
  text-align: center;
  padding: 18px 0 18px 0;
}

.menu-icon:hover {
  color: red;
}

.nav-logo {
  display: inline-block;
  max-height: 72px;
  max-width: 250px
}

.mobile-menu {
  position: absolute;
  display: none;
  background: black;
  color: white;
  width: 30%;
  min-width: 280px;
  max-width: 380px;
  min-height: 144px;
  padding: 0;
  z-index: 2222;
}

#menu-div {
  position: absolute;
  border-radius: 0 0 45px 0;
}

#menu-div a {
  display: block;
  color: white;
  padding: 20px 0 20px 30px; /* haut | droit | bas | gauche */
  text-decoration: none;
}

#menu-div a:hover {
  background: #6c757d;
}

#profile-div {
  position: absolute;
  padding: 25px 5% 5% 0;
  right: 0;
  border-radius: 0 0 0 45px;
}

.div-icon-custom {
  width: min-content;
  background: white;
  border-radius: 25px;
  border: 1px solid black;
  box-shadow: 1.5px 3.0px 3.0px hsl(0deg 0% 0% / 0.45);
  margin-right: 10px;

}

.icon-custom {
  width: 45px;
  height: 45px;
  text-align: center;
  cursor: pointer;
  padding: 10px;
}

.icon-validation {
  width: 35px;
  height: 35px;
  padding-right: 10px;
}


.icon-100-percent {
  position: absolute;
  right: 10px;
  top: -5px;
  height: 36px;
  font-family: 'BebasBook', serif;
  font-size: 1.4rem;
  font-weight: bold;

}

.star-icon {
  position: relative;
  top: -5px;
  left: -5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.icon-sub-menu {
  display: inline-block;
  height: 25px !important;
  width: 25px !important;
  margin: 0 5px 0 0;
}

.text-sub-menu {
  position: relative;
  top: 3px;
  color: white !important;
  font-family: RobotoItalic, serif;
}

.icon-map-control {
  background: white;
  height: 45px;
  width: 45px;
  cursor: pointer;
  border-radius: 2px;
  padding: 3px;
  margin: 10px; /* haut | droit | bas | gauche */
  box-shadow: rgb(0 0 0 / 30%) 0 1px 4px -1px;
}

#add_poi_button {
  position: fixed;
  right: 5%;
  bottom: 2%;
  width: 60px;
  height: 60px;
  padding: 6px;
  background: #e21a1c;
  border-radius: 50px;
  border: 1px solid black;
  cursor: pointer;
  z-index: 9999;
}

#add_poi_button img {
  width: 100%;
  height: 100%;
}

.social_media_icon {
  color: white;
  width: 40px;
}

.footer_text {
  font-family: 'RobotoRegular', serif;
  color: white;
}

.center {
  text-align: center;
}

.action_link {
  display: block;
  color: black;
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
}

a:hover {
  color: #0a58ca;
  text-decoration: underline;
}

.card-custom {
  background: var(--background-card);
  margin: 0 auto 0 auto;
  color: black;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 4px 4px #ccc;
}

.card-form {
  width: 80%;
  min-width: 350px;
  max-width: 600px;
  margin: 0 auto 0 auto;
}

.card-chart {
  width: 98%;
  max-width: 800px;
  margin: 0 auto 0 auto;
}

.news_title {
  font-family: 'BebasBook', serif;
  font-size: 1.4rem;
  max-height: 90px;
  overflow: hidden;
  padding: 10px 0 12px 0; /* haut | droit | bas | gauche */
}

.news_description {
  font-family: 'RobotoRegular', serif;
  font-size: 0.8rem;
  padding: 0 0 20px 0; /* haut | droit | bas | gauche */
}

.link_external {
  display: block;
  font-family: 'BebasBook', serif;
  font-size: 1.4rem;
  color: red;
  text-decoration: none;
}

.link_external:hover {
  color: black;
  text-decoration: none;
}

.flex-parent {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: auto;
}

.card-video {
  width: 300px;
  max-width: 300px;
  cursor: pointer;
}

.card-tool {
  position: relative;
  background-size: 140px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.card-plot {
  cursor: pointer;
}

.card-news {
  width: 300px;
  cursor: pointer;
}

#category_form {
  display: flex;
  flex-direction: column;
}

.card:active {
  cursor: wait
}

.card-title-text {
  font-size: 18px;
  font-family: Roboto, sans-serif;
}

.card-descr-text {
  font-size: 14px;
  font-family: Roboto, sans-serif;
}

#grid-tools {
  display: flex;
  flex-wrap: wrap;
  justify-items: center;
}

#grid-plots {
  display: flex;
  flex-wrap: wrap;
  justify-items: center;
  grid-gap: 20px 0;
}

#warranty-div {
  min-width: 300px;
  max-width: 500px;
  margin: auto;
}

.warranty_list {
  display: grid;
  grid-template-columns: 25px 1fr 1fr 2fr;
  align-items: center;
  padding: 8px 0 8px 0;
  border-bottom: 1px solid lightgrey;
}

.ball {
  display: inline-block;
  border-radius: 50%;
  height: 18px;
  width: 18px;
  box-shadow: 2px 2px 3px grey; /* offset-x | offset-y | blur-radius | color */
  background: lightgrey;
}


.separation {
  width: 100%;
  margin: 40px 0 30px 0;
  border-bottom: 2px solid lightgrey;
}

.select {
  height: 40px;
  text-transform: uppercase;
  margin-bottom: 12px;
  cursor: pointer;
}

.select-filter {
  display: block;
  color: black !important;
  min-width: 300px;
  background: white !important;
  text-align: center !important;
  border-radius: 20px;
  font-weight: bold;
  box-shadow: 3px 3px #ccc;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-select {
  -webkit-appearance: caret !important;
  -moz-appearance: caret !important;
  appearance: menulist-button !important;
}

.important_section {
  font-size: 0.9em;
  font-weight: bold;
  text-align: center;
}

/* =================
       COLLAPSIBLE
 ===================  */

.collapsible-div {
  margin-bottom: 10px;
}

.collapsible {
  background-color: white;
  color: black;
  font-weight: bold;
  cursor: pointer;
  padding: 18px 30px 18px 25px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 0.9em;
  border-radius: 30px;
  position: relative;
}

.collapsible-content {
  display: none;
  background: white;
  padding: 0 25px 15px 25px;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  font-size: 0.9em;
  border-radius: 0 0 30px 30px;
}

.collapsible-content p {
  margin: 20px 0 20px 0;
}

button.active {
  border-radius: 30px 30px 0 0;
}

.active {
  display: block !important;
}

.collapsible:before {
  position: absolute;
  color: black;
  height: 36px;
  width: 36px;
  content: "\0020";
  top: 10px;
  right: 10px;
  background-image: url(../img/svgs/arrow-down.svg);
  Background-repeat: no-repeat;
}

button.active:before {
  background-image: url(../img/svgs/arrow-up.svg);
}


/* =================
       FORM
 ===================  */

.form-label {
  display: inline;
  font-size: 1.0em;
  font-family: Roboto, sans-serif;
  margin-bottom: 0;
}

.form-control, .form-select {
  background: var(--background-color);
  border: none;
}

.form-control:disabled, .form-select:disabled, .form-input-disabled {
  background: var(--background-color);
  color: #6c757d;
  font-style: italic;
}

.selectdatewidget {
  display: inline-block !important;
  width: 33%;
}

.asteriskField {
  color: var(--red-color) !important;
}

.daterangepicker .drp-calendar {
  min-width: 305px !important;
  width: auto !important;
  max-width: 350px !important;
}


/* =================
       BUTTONS
 ===================  */
.btn-icon {
  margin-left: 20px;
  font-size: 20px;
}

.bg-black {
  background: #17202A !important;
}

.bg-black:hover {
  color: grey;
}

.bg-red {
  background: var(--red-color) !important;
}

.bg-red:hover .bg-green:hover .bg-blue:hover {
  color: black;
}

.bg-green {
  /*background: #11B56B;*/
  background: #6c757d;
}


.bg-blue {
  /*background: #1BA7C0;*/
  background: #6c757d;
}

.red {
  color: var(--red-color);
}

.white {
  color: white
}

.black {
  color: black
}

.red_separator {
  height: 2px !important;
  width: 60%;
  margin: auto;
  background-color: red;
  opacity: initial;
}

.btn-cstm {
  display: block;
  text-align: center;
  margin: 3% auto 3% auto;
  padding: 8px 15px 8px 15px;
  width: 100%;
  border-radius: 15px;
  text-decoration: none;
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  transition: background-color .6s ease;
  overflow: hidden;
  border-width: 0 !important;
  cursor: pointer;
}

.btn-line {
  height: 40px;
  width: 300px;
  margin-top: 30px;
}

.btn-cstm:hover {
  color: black;
  font-weight: bold;
  text-decoration: none;
}


/*** VIDEO ***/
.div-video {
  display: flex;
  flex-direction: column;
  max-width: 480px;
  min-width: 330px;
  /*border: 1px solid darkorange;*/
}


.youtube {

  background-color: black;
  margin-bottom: 10px;
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  cursor: pointer;
}

.youtube img {
  width: 100%;
  top: -16.84%;
  left: 0;
  opacity: 0.7;
}

.youtube .play-button {
  width: 90px;
  height: 60px;
  background-color: #333;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  z-index: 1;
  opacity: 0.8;
  border-radius: 6px;
}

.youtube .play-button:before {
  content: "";
  border-style: solid;
  border-width: 15px 0 15px 26px;
  border-color: transparent transparent transparent #fff;
}

.youtube img,
.youtube .play-button {
  cursor: pointer;
}

.youtube img,
.youtube iframe,
.youtube .play-button,
.youtube .play-button:before {
  position: absolute;
}

.youtube .play-button,
.youtube .play-button:before {
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
}

.youtube iframe {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

.msg_div {
  font-weight: bold;
  padding: 50px 10% 50px 10%; /* haut | droit | bas | gauche */
}

/* table  */
#poi_table {
  display: grid;
  grid-template-columns: auto 60px 60px 30px;
  align-items: center;
  justify-items: center;
}

.first_row {
  height: 40px;
  width: 100%;
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.first_col {
  width: 100%;
  height: 100%;
  font-size: 0.8rem;
  border-top: 1px dashed #999;
  text-align: start;
  padding-left: 10px;
  display: flex;
  align-items: center;
}

.other_cel {
  width: 100%;
  height: 30px;
  margin: auto;
  font-size: 0.8rem;
  border-top: 1px dashed #999;
  border-left: 1px dashed #999;
  display: block;
  align-items: center;
  text-align: center;
  padding-top: 5px
}

/*dropdown menu*/
.dropdown-btn {
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown-btn:hover, .dropdown-btn:focus, .dropdown-btn-active {
  background-color: darkgrey;
  border-radius: 45px;
}

.dropdown-content {
  display: none;
  background-color: #f1f1f1;
  min-width: 250px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  /*border-bottom: 1px solid var(--dark-grey);*/
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: white;
  border-radius: 25px;
}

.show {
  display: block !important;
}

#searchIcon {
  position: absolute;
  background: white;
  height: 56px;
  left: 10px;
  cursor: pointer;
  border: 1px solid black;
  padding: 12px 10px 10px 12px;
  border-radius: 45px;
}

#searchIcon.clicked {
  border-radius: 45px 0 0 45px;
  border-right: none;
}

#toolSearchBar {
  position: absolute;
  left: 60px;
  right: 10px;
  height: 56px;
  border: 1px solid black;
  border-left: none;
  border-radius: 0 45px 45px 0;
  padding-left: 15px;
}

.dropdown-category {
  right: 0;
  position: absolute;
  border: 1px solid var(--dark-grey);
  border-radius: 25px;
}

#toolSearchBar {
  background: white;
}

/*** CANVAS ***/
.title-canvas {
  font-weight: bold;
  font-size: 1.0rem;
  text-align: center;
  padding-bottom: 5px;
  font-family: 'RobotoBold', serif;
}

.info-btn {
  position: relative;
  width: 18px;
  margin: 0 0 0 10px;
  cursor: pointer
}

.info-popup {
  display: none;
  position: relative;
  width: 80%;
  height: 80%;
  /*z-index: 8;*/
  top: 0;
}

/* MESSAGES & ERRORS */
.alert_messages {
  width: 100%;
  position: fixed;
  z-index: 999;
}

ul.messagelist {
  padding: 0;
  margin: 0;
}

ul.messagelist li {
  display: block;
  font-weight: 400;
  font-size: 13px;
  padding: 10px 10px 10px 65px;
  margin: 0 0 10px 0;
  background: var(--message-success-bg) url(../img/svgs/icon-yes.svg) 40px 12px no-repeat;
  background-size: 16px auto;
  color: var(--body-fg);
}

ul.messagelist li.warning {
  background: var(--message-warning-bg) url(../img/svgs/icon-alert.svg) 40px 14px no-repeat;
  background-size: 14px auto;
}

ul.messagelist li.error {
  background: var(--message-error-bg) url(../img/svgs/icon-no.svg) 40px 12px no-repeat;
  background-size: 16px auto;
}