.cookie-jar{
  background-color: white;
  color:black;
  padding:35px;
  display:none;
  position: fixed;
  width: 814px;
  top: 5%;
  bottom: 5%;
  overflow-y: scroll;
  z-index: 3;
}

.cookie-jar.hidden{
  display:none !important;
}

.cookie-jar.show{
  display: block !important;
}

.cookie-jar .exit{
  text-align: right;
}
/*-------------------------    cookie - top          -----------------------------------*/
.cookie-description a{
  color:black;
  font-weight: bold;
  text-decoration: underline 2px;
}

.cookie-description .yes-no{
  margin-top:20px;
  text-align: center;
}

.cookie-description a,
.cookie-description p{
  font-size:13px;
}

/*-------------------------   cookies-preferences          -----------------------------------*/
.cookie-preference a{
  color:#00ceff;
}

.cookie-preference .matomo,
.cookie-preference .google,
.cookie-preference .video,
.cookie-preference .social-network,
.cookie-preference .ads-mgmt{
  margin:30px 0;
}

.cookie-preference .open{
  display: none;
}

.cookie-preference .open.show{
  display: block !important;
}

.cookie-preference .video .read-more{
  display:none;
}

.cookie-preference .video .read-more.hidden{
  display:none !important;
}

.cookie-preference .read-less img{
  -ms-transform: rotate(180deg); /* IE 9 */
  transform: rotate(180deg);
}
.cookie-preference p,
.cookie-preference a,
.cookie-preference label{
  font-size:13px;
  font-weight:normal;
}

.ads-mgmt label.small {
  color: black !important;
  font-weight: bold !important;
}

.ads-mgmt .small strong a, .cookie-jar .link a {
  color: black !important;
  font-weight: bold !important;
  text-decoration: underline;
}

/*--------  Matomo  ----------------*/


.cookie-preference .matomo {
  margin-left:40px;
}



/*--------  google analytics  ----------------*/



/*.cookie-preference input#google {
  border:2px solid #00a6d9;
}*/

.cookie-preference p{
  margin-bottom:10px;
}

.cookie-preference .matomo .read-more{
  margin-left: 0;
}

input#google,
input#video,
input#social-n,
input#ads{
  border: none;
  border-radius: 0 !important;
  border: 1px solid #00a6d9;
  padding-left: 0;
  outline: none;
  color: #00a6d9;
  cursor: pointer;
  margin-top: 0;
  box-shadow: none;
  transform : scale(1.54);
}

.cookie-preference  .read-more a,
.cookie-preference  .read-less a{
  text-decoration: underline #00a6d9;
  font-weight: bold;
  color: #00a6d9;
}

.cookie-preference  .read-more a:hover,
.cookie-preference  .read-less a:hover{
  text-decoration: underline #00a6d9;
  font-weight: bold;
  color: #00a6d9;
}

.cookie-validation {
  text-align: center;
}

.cookie-validation .rte-blue-button{
  width:145px;
  margin-bottom: 24px;
}

.cookie-banner .rte-blue-button:hover,
.cookie-jar .rte-blue-button:hover {
  background-color: #00CEFF;
}

.cookie-preference .social-n{
  display:none;
}
/* ************cookie banner *****************/

.cookie-banner{
  width:100vw;
  left: calc(-50vw + 50%);
  position: -webkit-sticky; /* Safari */
  position:fixed;
  bottom: 0;
  padding: 30px 50px 30px 100px;
  display:flex;
  justify-content: space-between;
  align-items: center;
  min-height:130px;
  background-color:#0c3949;
  z-index: 5;
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.5);
}

.cookie-banner.hidden{
  display: none !important;
}

.cookie-banner .description{
  width:56%;
}

.cookie-banner .description p,
.cookie-banner .description a{
  font-size: 16px;
  padding-right: 20%;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.77;
  letter-spacing: normal;
  color: #ffffff;
  margin-bottom: 0;
}

.cookie-banner .description a{
  font-weight: bold;
  padding-right: 0;
}

.cookie-banner .choice{
  width:42%;
}

.cookie-banner .choice .rte-blue-button{
  width:auto;
  padding:10px 30px;
  margin: 5px 15px 5px 0;
}

.cookie-banner .choice button,
.cookie-banner .exit img,
.cookie-jar .exit img,
.cookie-jar .read-less,
.cookie-jar .read-more{
  cursor: pointer;
}

.cookie-banner h3{
  font-family: NunitoSans;
  font-size: 22px;
  font-weight: bold;
}


/******************Custom input checkbox*************/

/* The container */
.google, .video , .social-n, .ads-mgmt, .small{
  display: block;
  position: relative;
  padding-left: 35px;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.google input, .video input, .social-n input, .ads-mgmt input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 20px;
  width: 20px;
}

.small input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 10px;
  width: 10px;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  border: solid 1px #00a6d9;
  cursor: pointer;
  border-radius:4px
}

.checkmark-small{
  position: absolute;
  top: 0;
  left: 0;
  height: 15px;
  width: 15px;
  border: solid 1px #00a6d9;
  cursor: pointer;
  border-radius: 3px;
}

.google form,
.video form,
.social-n form,
.ads-mgmt form,
.small:hover {
  cursor: pointer;
}

/* On mouse-over, add a grey background color */
.google form:hover input ~ .checkmark,
.video form:hover input ~ .checkmark,
.social-n form:hover input ~ .checkmark,
.ads-mgmt form:hover input ~ .checkmark,
.small:hover input ~ .checkmark-small
{
  background-color: #00a6d9;
}

.google input:hover ~ .checkmark:after,
.video input:hover ~ .checkmark:after,
.social-n input:hover ~ .checkmark:after,
.ads-mgmt input:hover ~ .checkmark:after,
.small input:hover ~ .checkmark-small:after{
  display: block;
}



/* When the checkbox is checked, add a blue background */
.google input:checked ~ .checkmark,
.video input:checked ~ .checkmark,
.social-n input:checked ~ .checkmark,
.ads-mgmt input:checked ~ .checkmark,
.small input:checked ~ .checkmark-small{
  background-color: #00a6d9 !important;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after, .checkmark-small:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.google input:checked ~ .checkmark:after,
.video input:checked ~ .checkmark:after,
.social-n input:checked ~ .checkmark:after,
.ads-mgmt input:checked ~ .checkmark:after,
.small input:checked ~ .checkmark-small:after{
  display: block !important;
}

/* Style the checkmark/indicator */
.google .checkmark:after,
.video .checkmark:after,
.social-n .checkmark:after,
.ads-mgmt .checkmark:after{
  left: 9px;
  top: 3px;
  width: 7px;
  height: 15px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.social-n .checkmark-small:after,
.ads-mgmt .checkmark-small:after{
  left: 4px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.sliding-popup-bottom{
  display:none;
}

/******************           RESPONSIVE                 *************/

@media only screen and (max-width: 768px) {

.cookie-jar{
  width:97vw;
  padding:5%;
  left:1%;
  height: auto;
}

  .cookie-description .yes-no{
    display:flex;
    justify-content: space-between;
  }

  .cookie-preference .matomo {
    margin-left: 0px;
  }


  /******************Custom responsive input checkbox*************/

  .checkmark{
    top:7px;
    height: 20px;
    width: 20px;
  }
  .cookie-validation{
    text-align:center;
  }
  .cookie-validation .rte-blue-button{
    margin-bottom: 15px;
  }
  .google .checkmark:after,
  .video .checkmark:after,
  .social-n .checkmark:after,
  .ads-mgmt .checkmark:after{
    left: 7px;
    top: 1px;
    width: 6px;
    height: 14px;
  }
  input#google, input#video, input#social-n, input#ads{
    top: 11px;
    left: 3px;
  }

  /* On mouse-over, add a grey background color */
.google form:hover input ~ .checkmark,
.video form:hover input ~ .checkmark,
.social-n form:hover input ~ .checkmark,
.ads-mgmt form:hover input ~ .checkmark,
.small:hover input ~ .checkmark-small
{
  background-color: unset;
}

.google input:hover ~ .checkmark:after,
.video input:hover ~ .checkmark:after,
.social-n input:hover ~ .checkmark:after,
.ads-mgmt input:hover ~ .checkmark:after,
.small input:hover ~ .checkmark-small:after{
  display: none;
}

  /****************** Cookies Banner responsive     *************/

  .cookie-banner{
    padding:10px;
    width:100vw;
    display: block;
  }

  .cookie-banner .description {
    width: 100%;
  }

  .cookie-banner .description p {
    padding-right: 0;
    padding-bottom: 10px;
  }

  .cookie-banner .choice{
    width:100%;
  }

  .cookie-banner .exit{
    position: absolute;
    top: 10px;
    right: 10px;
  }
  .cookie-banner .choice .rte-blue-button{
    padding: 0;
    width:90px;
    font-size:10px;
    margin: 5px 3px;
  }

  .cookie-banner .rte-blue-button.cookies-parameter {
    width: 130px;
  }
}
