/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.lf-wp-cookie-consent {
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  display: none;
}

.lf-wp-cookie-consent.lf-wp-cookie-consent--mounted {
  display: flex;
}

.lf-wp-cookie-consent__modal * {
  color: white;
}

.lf-wp-cookie-consent__modal a,
.lf-wp-cookie-consent__modal a:hover {
  color: white;
  text-decoration: underline;
}

.lf-wp-cookie-consent__modal {
  text-align: center;
  background-color: #0166b5;
  color: white;
  width: calc(100% - 32px);
  margin: auto;
  max-width: 800px;
  padding: 60px;
  transition: all 300ms ease-in-out;
}

/* Settings */
.lf-wp-cookie-consent__modal--settings {
  background-color: white;
  color: #0166b5;
}

.lf-wp-cookie-consent__modal--settings * {
  color: #0166b5;
}

.lf-wp-cookie-consent__modal--settings a,
.lf-wp-cookie-consent__modal--settings a:hover {
  color: #0166b5;
  text-decoration: underline;
}

.lf-wp-cookie-consent__cookie-list,
.lf-wp-cookie-consent__cookie-list * {
  color: black;
  text-align: left;
}

.lf-wp-cookie-consent__cookie-list > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.lf-wp-cookie-consent__cookie-list-toggle {
  padding-left: 36px;
}

.lf-wp-cookie-consent__cookie-list-toggle span {
  white-space: nowrap;
  color: #0166b5;
  font-weight: bold;
  font-size: 20px;
}

.lf-wp-cookie-consent__toggle {
  width: 80px;
  height: 48px;
  padding: 4px;
  display: flex;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 32px;
  flex-direction: row;
  cursor: pointer;
}

.lf-wp-cookie-consent__toggle div {
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 32px;
  pointer-events: none;
}

.lf-wp-cookie-consent__toggle--active {
  background-color: #0166b5;
  flex-direction: row-reverse;
}

a.lf-wp-cookie-consent__button,
a.lf-wp-cookie-consent__button:hover {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  border-radius: 4px;
  background: #0166b5;
  color: white;
  text-decoration: none;
  margin: 16px 0;
  font-weight: bold;
  font-size: 18px;
}

a.lf-wp-cookie-consent__button--white,
a.lf-wp-cookie-consent__button--white:hover {
  background: white;
  color: #0166b5;
}
