/* ---------------------------------------------------

Project : CSS Checkbox Switch
Author : Partha Kar (https://www.facebook.com/partha.creativemind)
Version : 1.0
Release Dtae : 15 November, 2017

---------------------------------------------------- */
:root {
  --b4ncookie-main-color: #0069d9;
  --b4ncookie-secondary-color: #e9e9ed;
  --b4ncookie-main-font-color: #000000;
  --b4ncookie-secondary-font-color: #ffffff;
}

.checkbox.checbox-switch {
  padding-left: 0;
}

.checkbox.checbox-switch label,
.checkbox-inline.checbox-switch {
  display: inline-block;
  position: relative;
  padding-left: 0;
}
.checkbox.checbox-switch label input,
.checkbox-inline.checbox-switch input {
  visibility: hidden;
}
.checkbox.checbox-switch label span,
.checkbox-inline.checbox-switch span {
  width: 35px;
  border-radius: 20px;
  height: 18px;
  border: 1px solid #dbdbdb;
  background-color: rgb(255, 255, 255);
  border-color: rgb(223, 223, 223);
  box-shadow: rgb(223, 223, 223) 0px 0px 0px 0px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
}
.checkbox.checbox-switch label span:before,
.checkbox-inline.checbox-switch span:before {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgb(255,255,255);
  content: " ";
  top: 0;
  position: relative;
  left: 0;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.checkbox.checbox-switch label > input:checked + span:before,
.checkbox-inline.checbox-switch > input:checked + span:before {
  left: 17px;
}


/* Switch Default */
.checkbox.checbox-switch label > input:checked + span,
.checkbox-inline.checbox-switch > input:checked + span {
  background-color: rgb(180, 182, 183);
  border-color: rgb(180, 182, 183);
  box-shadow: rgb(180, 182, 183) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checbox-switch label > input:checked:disabled + span,
.checkbox-inline.checbox-switch > input:checked:disabled + span {
  background-color: rgb(220, 220, 220);
  border-color: rgb(220, 220, 220);
  box-shadow: rgb(220, 220, 220) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checbox-switch label > input:disabled + span,
.checkbox-inline.checbox-switch > input:disabled + span {
  background-color: rgb(232,235,238);
  border-color: rgb(255,255,255);
}
.checkbox.checbox-switch label > input:disabled + span:before,
.checkbox-inline.checbox-switch > input:disabled + span:before {
  background-color: rgb(248,249,250);
  border-color: rgb(243, 243, 243);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Switch Light */
.checkbox.checbox-switch.switch-light label > input:checked + span,
.checkbox-inline.checbox-switch.switch-light > input:checked + span {
  background-color: rgb(248,249,250);
  border-color: rgb(248,249,250);
  box-shadow: rgb(248,249,250) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Dark */
.checkbox.checbox-switch.switch-dark label > input:checked + span,
.checkbox-inline.checbox-switch.switch-dark > input:checked + span {
  background-color: rgb(52,58,64);
  border-color: rgb(52,58,64);
  box-shadow: rgb(52,58,64) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checbox-switch.switch-dark label > input:checked:disabled + span,
.checkbox-inline.checbox-switch.switch-dark > input:checked:disabled + span {
  background-color: rgb(100, 102, 104);
  border-color: rgb(100, 102, 104);
  box-shadow: rgb(100, 102, 104) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Success */
.checkbox.checbox-switch.switch-success label > input:checked + span,
.checkbox-inline.checbox-switch.switch-success > input:checked + span {
  background-color: rgb(40, 167, 69);
  border-color: rgb(40, 167, 69);
  box-shadow: rgb(40, 167, 69) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checbox-switch.switch-success label > input:checked:disabled + span,
.checkbox-inline.checbox-switch.switch-success > input:checked:disabled + span {
  background-color: rgb(153, 217, 168);
  border-color: rgb(153, 217, 168);
  box-shadow: rgb(153, 217, 168) 0px 0px 0px 8px inset;
}

/* Switch Danger */
.checkbox.checbox-switch.switch-danger label > input:checked + span,
.checkbox-inline.checbox-switch.switch-danger > input:checked + span {
  background-color: rgb(200, 35, 51);
  border-color: rgb(200, 35, 51);
  box-shadow: rgb(200, 35, 51) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checbox-switch.switch-danger label > input:checked:disabled + span,
.checkbox-inline.checbox-switch.switch-danger > input:checked:disabled + span {
  background-color: rgb(216, 119, 129);
  border-color: rgb(216, 119, 129);
  box-shadow: rgb(216, 119, 129) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Primary */
.checkbox.checbox-switch.switch-primary label > input:checked + span,
.checkbox-inline.checbox-switch.switch-primary > input:checked + span {
  background-color: rgb(0, 105, 217);
  border-color: rgb(0, 105, 217);
  box-shadow: rgb(0, 105, 217) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checbox-switch.switch-primary label > input:checked:disabled + span,
.checkbox-inline.checbox-switch.switch-primary > input:checked:disabled + span {
  background-color: rgb(109, 163, 221);
  border-color: rgb(109, 163, 221);
  box-shadow: rgb(109, 163, 221) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Info */
.checkbox.checbox-switch.switch-info label > input:checked + span,
.checkbox-inline.checbox-switch.switch-info > input:checked + span {
  background-color: rgb(23, 162, 184);
  border-color: rgb(23, 162, 184);
  box-shadow: rgb(23, 162, 184) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checbox-switch.switch-info label > input:checked:disabled + span,
.checkbox-inline.checbox-switch.switch-info > input:checked:disabled + span {
  background-color: rgb(102, 192, 206);
  border-color: rgb(102, 192, 206);
  box-shadow: rgb(102, 192, 206) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}

/* Switch Warning */
.checkbox.checbox-switch.switch-warning label > input:checked + span,
.checkbox-inline.checbox-switch.switch-warning > input:checked + span {
  background-color: rgb(255, 193, 7);
  border-color: rgb(255, 193, 7);
  box-shadow: rgb(255, 193, 7) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}
.checkbox.checbox-switch.switch-warning label > input:checked:disabled + span,
.checkbox-inline.checbox-switch.switch-warning > input:checked:disabled + span {
  background-color: rgb(226, 195, 102);
  border-color: rgb(226, 195, 102);
  box-shadow: rgb(226, 195, 102) 0px 0px 0px 8px inset;
  transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;
}






/* Cookie bar */
#b4n-cookie-bar {
  margin: 0;
  width: 100%;
  z-index: 99999;
  left: 0;
  text-align: center;
  background: #fff;
  box-shadow: 0px 30px 70px rgb(0 0 0 / 30%);
  padding: 25px;
  position: fixed;
  box-sizing: border-box;
}


.b4n-cookie-bar-bottom {
  bottom: 0px;
}

.b4n-cookie-bar-top {
  top: 0px;
}

#b4n-cookie-bar .cookie-bar-content {
  margin: 0 auto;
  max-width: 80%;
  display: inline-block;
  text-align: left;
  width: 100%;
}

#b4n-cookie-bar .cookie-bar-content .cookie-bar-buttons {
  float: right;
  margin: 1em 0 1em 0;
  max-width: 20%;
}

#b4n-cookie-bar .cookie-bar-content .cookie-bar-buttons button {
  display: block;
  margin-bottom: 6px;
  min-width: 100%;
}
#b4n-cookie-bar .cookie-bar-content .cookie-bar-buttons button.adjust-button {
  background: none;
  border: none;
  width: 100%;
  margin: 10px 0px 0px 0px;
  text-align: center;
}


#b4n-cookie-bar .cookie-bar-content .cookie-bar-text {
  color: #333;
  float: left;
  margin: 5px 0 0;
  max-width: 75%;
  line-height: 1.5;
}

#b4n-cookie-bar .cookie-bar-content .cookie-bar-text p {
  font-size: 16px;

}


#b4n-cookie-bar .cookie-bar-content .cookie-bar-text p strong {
  font-size: 18px;
  display: block;
  margin: 0px 0px 15px 0px;
}



@media screen and (max-width: 600px) {
  #b4n-cookie-bar .cookie-bar-content {
    max-width: 95%;
  }

  #b4n-cookie-bar .cookie-bar-content .cookie-bar-text {
    max-width: 100%;
  }

  #b4n-cookie-bar .cookie-bar-content .cookie-bar-buttons {
    clear: both;
    float: none;
    margin: 5px 0 1em;
    max-width: 100%;
  }
}





.b4n-cookie-bar-settings-popup .fancybox-inner .container {
  padding: 15px 15px 15px 15px !important;
}

.b4n-cookie-bar-settings-popup .fancybox-inner .container .panel {
  border: none;
  box-shadow: none;
}

.b4n-cookie-bar-settings-popup .fancybox-inner .container .panel-body {
  padding: 15px 10px 10px 10px;
  font-size: 16px;
  line-height: 25px;
  font-weight: normal;
  text-align: justify;
}

.b4n-cookie-bar-settings-popup .fancybox-inner .container .panel-heading,
.b4n-cookie-bar-settings-popup .fancybox-inner .container .panel-footer {
  background-color: transparent;
}

.b4n-cookie-bar-settings-popup .fancybox-inner .container .panel-footer {
  border: none;
}

.b4n-cookie-bar-settings-popup .fancybox-inner .container .panel-heading {
  color: #4a4a4a;
  border-color: #ececec;
}

.b4n-cookie-bar-settings-popup .checkbox.checbox-switch label span {
  position: absolute;
  right: 0px;
}

.b4n-cookie-bar-settings-popup .checkbox.checbox-switch label  {
  display: block;
  text-align: left;
  line-height: 20px;
}

.b4n-cookie-bar-settings-popup .checkbox.checbox-switch label h3 {
  display: inline-block;
  margin: 0px;
  font-size: 20px;
  font-weight: bold;
  line-height: 18px;
  color: #4a4a4a;
}

.b4n-cookie-bar-settings-popup .checkbox.checbox-switch label span {
  position: absolute;
  right: 0px;
}

.b4n-cookie-bar-settings-popup .checkbox-description {
  margin: 0px 0px 20px 0px;
  padding: 5px 7px 10px 7px;
  border-bottom: 1px solid #f3f3f3;
}


.b4n-cookie-bar-info-popup .fancybox-inner .cookie-bar-content {
  padding: 35px !important;
}

.b4n-cookie-bar-info-popup .fancybox-inner .cookie-bar-content .cookie-bar-text {
  margin: 0px 0px 25px 0px;
  color: #333;
}

.b4n-cookie-bar-info-popup .fancybox-inner .cookie-bar-content .cookie-bar-text p {
  font-size: 16px;
  line-height: 22px;
  text-align: justify;
}

.b4n-cookie-bar-info-popup .fancybox-inner .cookie-bar-content .cookie-bar-text p strong {
  font-size: 18px;
  display: block;
  margin: 0px 0px 15px 0px;
}

.b4n-cookie-bar-info-popup .fancybox-inner .cookie-bar-content .cookie-bar-buttons {
  display: flex;
  flex-direction: column-reverse;
}

.b4n-cookie-bar-info-popup .fancybox-inner .cookie-bar-content .cookie-bar-buttons .btn {
  margin-bottom: 10px;
}
#b4n-cookie-bar-button {
  display: block;
  position: fixed;
  bottom: 12px;
  left: 12px;
  z-index: 99999;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 100%;
  background: url(../img/cookies-icon.svg) #242424 no-repeat center center / 20px;
  transition: all 0.3s;
  cursor: pointer;
}
#b4n-cookie-bar-button:hover {
  background: url(../img/cookies-icon.svg) #242424 no-repeat center center / 24px;
}

/* COOKIE BAR BTNS COLOR */

.cookie-bar-buttons button {
  padding: 10px 16px;
  transition: all 0.2s;
  border: none;
}
.cookie-bar-buttons button.allow-all-button {
  background-color: var(--b4ncookie-main-color);
  color: var(--b4ncookie-secondary-color);
}
.cookie-bar-buttons button.allow-all-button:hover {
  filter: brightness(1.2);
}
.cookie-bar-buttons button.adjust-button {
  background: none;
  color: var(--b4ncookie-main-font-color);
  text-decoration: none;
}
.cookie-bar-buttons button.adjust-button:hover {
  text-decoration: underline;
}

/* COOKIE TOOLBAR BTNS COLOR */

.btn-toolbar button {
  padding: 10px 16px;
  transition: all 0.2s;
  border: none;
}
.btn-toolbar button.allow-selected-setting-button {
  background-color: var(--b4ncookie-secondary-color);
  color: var(--b4ncookie-main-font-color);
}
.btn-toolbar button.allow-selected-setting-button:hover {
  filter: brightness(0.95);
}
.btn-toolbar button.allow-all-setting-button {
  background-color: var(--b4ncookie-main-color);
  color: var(--b4ncookie-secondary-font-color);
}
.btn-toolbar button.allow-all-setting-button:hover {
  filter: brightness(1.2);
}