/* The Modal (background) */
.cookies-modal {
  display: none;
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.75); /* Black w/ opacity */
}

/* Modal Content */
.cookies-modal .modal-content {
  background-color: #04376b;
  margin: auto;
  width: 100%;
  position: absolute;
  bottom: 0;
  padding: 20px 0;
  display: flex;
  justify-content: center;
}
.cookies-modal .modal-content .modal-inner {
  width: 80%;
  padding: 20px 0 0 0;
}

.cookies-modal .modal-content .modal-inner > p {
  color: #ffffff;
  font-size: 16px;
  margin: 5px 0;
}
.cookies-modal .modal-content .modal-inner > p.p-title {
  font-size: 18px;
}
.cookies-modal .modal-content .modal-inner > div.cookies-options {
  display: flex;
  flex-direction: column;
  color: #ffffff;
  display: none;
  margin-top: 25px;
}

.cookies-modal
  .modal-content
  .modal-inner
  > div.cookies-options
  > div.cookies-type {
  display: flex;
  flex-direction: row;
  background-color: #fff;
  color: #04376b;
  border: 1px solid;
  margin: 10px 0 0 0;
  padding: 8px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.cookies-modal
  .modal-content
  .modal-inner
  > div.cookies-options
  > div.cookies-info {
  margin: 5px 0;
  padding: 0 40px;
  color: #ffffff;
  display: none;
}
.cookies-modal
  .modal-content
  .modal-inner
  > div.cookies-options
  > div.cookies-info
  > p {
  margin: 0;
}

.cookies-modal
  .modal-content
  .modal-inner
  > div.cookies-options
  > div
  > div:nth-child(2) {
  margin-left: auto;
}

.cookies-modal .modal-content .modal-inner > div.cookies-buttons {
  display: flex;
  justify-content: end;
  margin-top: 30px;
}

.cookies-modal .modal-content .modal-inner > div.cookies-buttons button {
  padding: 10px 20px;
  margin: 0 5px;
  border: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 7%);
  cursor: pointer;
  font-size: 14px;
}

.cookies-modal
  .modal-content
  .modal-inner
  > div.cookies-buttons
  button.accept-button {
  background-color: #ffffff;
  color: #04376b;
}

.cookies-modal
  .modal-content
  .modal-inner
  > div.cookies-buttons
  button.config-button {
  background-color: #04376b;
  border: 1px solid #e5e5e5;
  color: #e5e5e5;
}

.cookies-modal
  .modal-content
  .modal-inner
  > div.cookies-buttons
  button#saveSelectedCookiesButton {
  display: none;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}

/** TOOGLE SWITCH **/
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 24px;
}

/* 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: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  margin-left: 10px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #008800;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.caret {
  position: relative;
}

.caret:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-top: 30px solid #ff0000;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
}

.caret:after {
  content: "";
  position: absolute;
  left: 1px;
  top: 0;
  border-top: 29px solid #eeeeee;
  border-left: 29px solid transparent;
  border-right: 29px solid transparent;
}
