.cookie-consent-main {
  position: fixed;
  display: flex;
  padding: 25px 15px 15px 15px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  background: #f0efee 0% 0% no-repeat padding-box;
	border-top: solid 1px #000;
  font-weight: normal;
  color: #292a2b;
  z-index: 40000;
}

#cookie-consent-banner {
  max-width: 100%;

  h3 {
    font-size: 24px;
    line-height: 37px;
    margin-bottom: 10px;
    width: 100%;
  }
  p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 20px;
  }
  p a {
    text-decoration: underline;
  }
	.necessary {
		input:checked + .switch {
			background-color: #a7cae5;
			cursor: not-allowed;
		}
	}
  label {
    font-size: 16px;
    line-height: 26px;
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
    margin-bottom: 0;
  }
  .label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 20px;
  }

  label input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 34px;
  }

  .switch:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    border-radius: 50%;
  }

  input:checked + .switch {
    background-color: #2196f3;
  }

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

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

  .cookie-consent-options,
  .cookie-consent-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: normal;
    width: 100%;
    align-items: center;
    gap: 10px;
  }

	.cookie-consent-buttons {
		margin: 0 0 15px 0;
	}

  #cookie-consent-details-trigger {
    cursor: pointer;
		background: #ffffff;
		border: solid 1px #333;

		&:hover {
			border: solid 1px #000;
		}
  }

  .cookie-consent-options,
  #cookie-consent-btn-accept-some {
    display: none;
    color: #333;
  }

  #cookie-consent-btn-accept-some {
		background: #ffffff;
		border: solid 1px #333;
  }

	#cookie-consent-btn-accept-all {
    background-color: #333333;
    color: #fff;
		transition: 0.3s;

		&:hover {
			background-color: #000;
			transition: 0.3s;
		}
  }

  .cookie-consent-buttons button {
    height: 45px;
    border: 0;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 23px;
		padding: 0 25px;
  }

	.cookie-consent-options {
		margin-bottom: 20px;
		padding: 20px 15px;
		border-radius: 5px;
		background-color: #ffffff;
		max-width: max-content;
	}

	.consent-partners {
		display: none;
	}
}

.cookie-consent-banner-open {
	position: fixed;
	left: 10px;
	bottom: 10px;
	background: #333;
	cursor: pointer;
	z-index: 39999;
	border-radius: 100%;
	width: 35px;
	height: 35px;
	padding: 0;
	margin: 0;
	border: none;
	&::before {
		content: "";
		background-image: url('../img/consent.svg');
		width: 35px;
    height: 35px;
    display: block;
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: center center;
	}
}

@media screen and (width < 600px) {
  #cookie-consent-banner {
    h3 {
      font-size: 18px;
      line-height: 22px;
    }
    p {
      font-size: 14px;
      line-height: 20px;
    }
    .cookie-consent-buttons button {
      align-items: center;
      width: 100%;
      text-align: center;
      margin: 0;
      justify-content: center;
    }

    #cookie-consent-btn-accept-some {
      display: none;
    }

    .cookie-consent-options {
      flex-direction: column;
      align-items: start;
      justify-content: center;
    }
  }
}
