body#ip3-preview-protection #__cookieWrapper {
  display: none;
}

/* .cookie-btn, .custom-cookie-in {
  display: block;
    text-align:left;
} */

.cookie-btn{margin-top:40px !important;}
.modal {opacity: 1 !important;}

.modal-title {
  color: var(--bold-blue);
  margin: 0;
  margin-bottom: 0px;
  font-size: 2.0rem;
    text-transform: uppercase;
}

.custom-cookie-modal .modal-body, .custom-cookie-modal .modal-body h4, .custom-cookie-modal p {
  color: var(--bold-blue) !important;
}

.custom-cookie-modal .modal-body h4 span.switch{position:relative;float:right;}

#__cookieWrapper.custom-cookie a, #__cookieWrapper.custom-cookie p {
  text-align: left !important;
    color: var(--dark-blue) !important;
}

#__cookieWrapper.custom-cookie a:hover{color:var(--orange-color) !important;}

.modal-body h4 {
  font-weight: 500;
  font-size: 1.7rem !important;
}

#__cookieWrapper {
  font-size: 1.6rem;
  line-height: 2rem;
  color: #000;
}

#__cookieWrapper .__cookieNotice {
  width: 100%;
  position: fixed;
  overflow: hidden;
  left: 0;
  bottom: 0;
  z-index: 1003;
  padding: 0;
  margin: 0;
  text-align: center;
    display: flex;
    background: rgba(0,0,0,.5) !important;
    justify-content: flex-end;
  box-shadow: 1px -2px 5px 4px rgba(0,0,0,.27) ;
}

#__cookieWrapper .__cookieNotice .__cookieNoticeBody {
  font: normal normal 400 1.4rem/1.42857 Rubik,sans-serif;
  background: var(--white-1) !important;
}


#__cookieWrapper p { 
  display: block;
  margin: 0;
  margin-bottom: 0px;
  padding: 0;
  padding-bottom: 0px;
  font-size: 1.6rem;
  line-height: 2rem;
  margin-bottom: 12px;
}

.modal-footer {
  justify-content: center !important;
}

#__cookieWrapper.custom-cookie .ccBtn, .custom-cookie-modal .modal-footer button {
  background-color:var(--dark-blue) !important;
  color:var(--white-1) !important;
  
  transition: all .5s ease;
  border:none;
 
  font-size: 1.5rem;
}

#__cookieWrapper.custom-cookie .ccBtn:hover, .custom-cookie-modal .modal-footer button:hover {
   background-color:var(--white-1) !important;
  color:var(--dark-blue) !important;
  outline: solid 1px var(--dark-blue) !important;
  transition:.4s !important;


}

#__cookieWrapper .ccBtn {
  min-width: 240px !important;

}

.modal-header .close {
  float: right;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--bold-blue);
  text-shadow: 0 1px 0 #fff;
  opacity: .5 !important;
  transition: all 0.3s ease-in-out;
}

.modal-header .close:hover {
  opacity: 1 !important;
}



@media only screen and (max-width:991px){
#__cookieWrapper .__cookieNotice .__cookieNoticeBody{
width: 100%;
/* margin: 0 30px;
margin-bottom:50px; */
}
.cookie-btn{
margin-top:30px !important;
}
}


@media  (max-width: 767.98px) {
  #__cookieWrapper .__cookieNotice .__cookieNoticeBody {padding: 50px 20px;}
    #__cookieWrapper .__cookieNotice .__cookieNoticeBody{margin:inherit;}

    .custom-cookie-in{display:block !important; }
  #__cookieWrapper .ccBtn {min-width: 200px !important;}
}
@media (min-width: 820px){
#__cookieWrapper .custom-cookie-in {
    display: flex !important;
}
}
@media (max-width: 400px) {
  #__cookieWrapper .__cookieNotice .__cookieNoticeBody {
    padding: 20px 10px;
  }

  #__cookieWrapper .ccBtn {
    min-width: 231px !important;
  }

  .modal-content {
    width: 90% !important;
  }
}

#__cookieWrapper .switch {
  float: right;
  position: relative;
}

#__cookieWrapper .switch input[type="checkbox"] {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

#__cookieWrapper .switch input[type="checkbox"] + label {
  position: relative;
  min-width: calc(calc(3.3rem * 0.8) * 2);
  border-radius: calc(2.375rem * 0.8);
  height: calc(2.5rem * 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: 0;
  vertical-align: middle;
  font-size: 10px;
  font-weight: bold;
  color: white;
  text-indent: 0;
}

/* Background with OFF by default */
#__cookieWrapper .switch input[type="checkbox"] + label::before {
  content: "OFF";
  background-color: #fff;
  border: 2px solid var(--dark-blue);
  border-radius: calc(2rem * 0.8);
  transition: 0.2s all;
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Background when checked (ON) */
#__cookieWrapper .switch input[type="checkbox"]:checked + label::before {
  content: "ON";
  background-color: var(--dark-blue);
  color: #fff;
}

/* Knob */
#__cookieWrapper .switch input[type="checkbox"] + label::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color:var(--dark-blue);
  transition: all 0.3s ease-in 0s;
  z-index: 2; /* Above text */
}

/* Move knob right when checked */
#__cookieWrapper .switch input[type="checkbox"]:checked + label::after {
  margin-left: calc(4.0rem * 0.8);
  background-color: #fff;
}

/* Focus style */
#__cookieWrapper .switch input[type="checkbox"]:focus + label::before {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 136, 221, 0.25);
}

/* Disabled styles */
#__cookieWrapper .switch input[type="checkbox"]:disabled + label::before {
  background-color: #a4a4a4;
  border-color: #a4a4a4;
  content: "OFF";
  color: #fff;
}

#__cookieWrapper .switch input[type="checkbox"]:checked:disabled + label::before {
  content: "ON";
  background-color: #a4a4a4;
  color: #fff;
}

#__cookieWrapper .switch input[type="checkbox"]:disabled + label::after {
  background-color: #fff;
}
