/* Ghostly default styles */
.ghostly-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 2147483645;
  box-sizing: border-box;
  width: 100%;
  background-color: #eaeaea;
}

.ghostly-consent-personalize {
  font-family: "Segoe UI","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  padding: 15px;
  margin-bottom: 30px;
}

.ghostly-consent-personalize > h1 {
  font-size: 21px;
}

.ghostly-consent-banner__inner {     
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 0;
}

.ghostly-consent-banner__copy { 
  margin-bottom: 16px;
}

.ghostly-consent-banner__header {
  margin-bottom: 8px;
  font-family: "Segoe UI","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
}

.ghostly-consent-banner__description {
  font-family: "Segoe UI","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-weight: normal;
  color: #838F93;
  font-size: 16px;
  line-height: 24px;
}

.ghostly-consent-banner__cta {
  box-sizing: border-box;
  display: inline-block;
  min-width: 164px;
  padding: 11px 13px; 
  border-radius: 2px;
  background-color: #292929;
  color: #FFF;
  text-decoration: none;
  text-align: center;
  font-family: "Segoe UI","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-weight: normal;
  font-size: 16px;
  line-height: 20px;
}

.ghostly-consent-banner__cta:hover {
  color: white;
}

.ghostly-consent-banner__cta--secondary { 
  padding: 9px 13px;
  border: 2px solid #3A4649;
  background-color: transparent;
  color: #292929;
}

.ghostly-consent-banner__cta--alternative { 
  padding: 9px 13px;
  border: 2px solid #3A4649;
  background-color: transparent;
  color: #292929;
}

.ghostly-consent-banner__cta--alternative:hover { 
  background-color: #2929290d;
}

.ghostly-consent-banner__cta--secondary:hover {
  border-color: #838F93;
  background-color: transparent;
  color: #8e8e8e !important;
}

.ghostly-consent-banner__cta:last-child {
  margin-left: 16px;
}

.ghostly-checkbox {
  position: absolute;
  opacity: 0;
}
.ghostly-checkbox + label {
  position: relative;
  cursor: pointer;
  padding: 0;
}
.ghostly-checkbox + label:before {
  content: '';
  margin-right: 10px;
  display: inline-block;
  vertical-align: text-top;
  width: 20px;
  height: 20px;
  background: #d8d8d8;
}
.ghostly-checkbox:hover + label:before {
  background: #292929;
}
.ghostly-checkbox:focus + label:before {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.ghostly-checkbox:checked + label:before {
  background: #292929;
}
.ghostly-checkbox:disabled + label {
  color: #b8b8b8;
  cursor: auto;
}
.ghostly-checkbox:disabled + label:before {
  box-shadow: none;
  background: #ddd;
}
.ghostly-checkbox:checked + label:after {
  content: '';
  position: absolute;
  left: 5px;
  top: 13px;
  background: white;
  width: 2px;
  height: 2px;
  box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
  transform: rotate(45deg);
}

/* helpers */
.pull-right {
  float: right;
}

.ghostly-hidden {
  display: none;
}

.mb-1 {
  margin-bottom: 1em;
}

.mt-1 {
  margin-bottom: 1em;
}

.pt-0 {
  padding-top: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.text-white {
  color: white;
}

.text-dark {
  color: #101010;
}

/* The Modal (background) */
.gh-modal {
  font-family: "Segoe UI","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000000 !important; /* Sit on top */
  left: 0;
  bottom: 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.4); /* Black w/ opacity */
}

/* Modal Content */
.gh-modal-content {
  position: absolute;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  bottom: 25px;
  left: 50%;
  transform: translateY(-25px) translateX(-50%);
  width: 40%;
  box-shadow: 0 0px 18px 0 rgb(37 37 37 / 12%), 0 10px 23px 0 rgb(136 136 136 / 19%);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;

  border-radius: 10px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {bottom:-300px; opacity:0} 
  to {bottom:25; opacity:1}
}

@keyframes animatetop {
  from {bottom:-300px; opacity:0}
  to {bottom:25; opacity:1}
}

/* The Close Button */
.gh-close {
  color: #b1b1b1;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -10px;
}

.gh-close:hover,
.gh-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.gh-modal-header {
  padding: 20px 16px;
  background-color: #eaeaea;
  color: #171717;
}

.gh-modal-body {padding: 15px 16px;}

.gh-modal-footer {
  padding: 10px 16px;
  background-color: #eaeaea;
  color: #171717;
}

.gh-widget {
  z-index: 1000;
  position: fixed;
  bottom: 0;
  right: 30px;
  background: black;
  color: white;
  padding: 3px 11px 2px 11px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  cursor: pointer;
  user-select: none;
}

/* mobile */
@media (max-width: 1360px) {
  .gh-modal-content {
    padding: 0 !important;
  }

  .ghostly-consent-banner__inner {
    padding: 30px 26px;
  }

  .ghostly-consent-banner__cta {
    min-width: auto;
    padding: 11px 10px;
    border: 2px solid #292929;
  }
}

@media (max-width: 860px) {
  .gh-modal {
    padding-top: 0;
  }

  .gh-modal-content {
    width: 100%;
    border-radius: 0px;
  }
}

@media (max-width: 450px) {

  .gh-modal-content {
    bottom: -25px;
    -webkit-animation-name: animatetopMobile;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetopMobile;
    animation-duration: 0.4s;
    transform: none;
    left: 0;
    position: absolute;
  }

  /* Add Animation */
  @-webkit-keyframes animatetopMobile {
    from {bottom:-300px; opacity:0} 
    to {bottom:-25px; opacity:1}
  }

  @keyframes animatetopMobile {
    from {bottom:-300px; opacity:0}
    to {bottom:-25px; opacity:1}
  }

  .ghostly-consent-banner__inner {
    bottom: -25px;
  }

  .ghostly-consent-banner__cta {
    margin-bottom: 5px;
    display: block;
  }

  .ghostly-consent-banner__cta:last-child {
    margin-left: 0px;
    float: none;
  }
}