/* Cookies */

.cookies {
  position: fixed;
  z-index: 1010;
  right: 0;
  left: 0;
  width: 100%;
  transition: all .4s ease;
  color: #000;
  background: #1c3850;
  background: #ffffff;
  bottom: 0;
  animation-name: cpcookiestop;
  animation-duration: 1s;
  animation-iteration-count: 1;
  font-size: 14px;

}


@keyframes cpcookiestop {
0% {
  bottom : -70%;
}
100% {
  bottom : 0;
}
}
header.fixed-top{z-index: 1000;}
#cookie .overlay{
  position: fixed;top: 0;bottom: 0;left: 0;right: 0;background-color:  rgba(56, 62, 96, 0.50);z-index: 1010
}
#cookies-close:checked ~ .overlay{display: none;}

.cookies-message-link {
color : #fff;
opacity: 0.8;
}
.cookies-message-link:hover{
text-decoration: none;
color: #4ca7d8;
opacity: 1;
}

#cookies-close {
display : none;
}

.cookies-close {

  margin-top: 16px;
  width: 161.5px;
  cursor : pointer;
  text-decoration : none;
  animation-name : cpcookiesclosetop;
  animation-duration : 1s;
  animation-iteration-count : 1;
  }
  .cookies-modal,.cookies-modal:focus{
      z-index: 999;
      right: 168px;
      padding-left: 3px;
      padding-right: 3px;
      animation-name : cpcookiesclosetop;
  animation-duration : 1s;
  animation-iteration-count : 1;
      bottom: 33px;}

#cookies-close:checked ~ #cookies ,
#cookies-close:checked + .cookies-close,#cookies-close:checked ~ #cookies .cookies-modal {
bottom : -70%;
}



@keyframes cpcookiesclosetop {
0% {
  bottom : -70%;
}
100% {
  bottom : 10px;
}
}


.cookies-close:hover {
text-decoration : none;
}

.cookies-message {
padding: 24px 8px;
text-align: start;
display: flex;
align-items: center;
}

#cookiemodel .btn{font-size: 14px;
  font-weight: 400;
padding: 6px 20px;}
#cookiemodel{color:#212529}
#cookiemodel .text-primary{color: #3860be !important;font-weight: 500;}



/* toggle check box */

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

@media (max-width: 1200px){
    #cookie .cookies{    padding-bottom: 0px;padding-right: 0}
    #cookie .cookies-modal{bottom: 8px; font-size: 16px !important; }
    .cookies-message{ flex-wrap: wrap;}
    .cookies-message p{margin: 16px 0px;}
    .cookies-close{width: 110px; margin-top: 0px; margin-left: 16px; font-size: 16px !important;}
    .cookies-message .page-outline-btn{display: flex !important; align-items: center; justify-content: start;width: 100% !important;}
    .cookies-message .page-outline-btn{margin-left: 0px;}
}

@media (max-width: 298px){
  .cookies-message .page-outline-btn{
    display: block !important;
}

.cookies-message .btn-outline , .cookies-message .btn-gradient {
    width: 100%;
}

#cookie .cookies-close{
  margin-top: 8px;
  margin-left: 0px;
}
}