﻿#cookie-banner {
  background-color: white;
  width: 100%;
  position: fixed;
  /*relative si on veux le customslider visible tout le temps sinon absolute */
  bottom: 0;
  padding: 5px 0px;
  -moz-box-shadow: 2px 2px 4px #aaa;
  -webkit-box-shadow: 2px 2px 4px #aaa;
  box-shadow: 2px 2px 4px #555;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.cookie-consent {
  text-align: left;
  color: black;
  padding: 15px 30px 15px 30px;
}

.cookie-close {
  font-size: 10px;
  position: relative;
  top: 3px;
}

.cookie-title {
  font-weight: bold;
}

.btn-cookies-reject, .btn-cookies-settings {
  /*background-color: lightgray;*/
  color: black;
  margin: 5px;
}

.btn-cookies-reject:hover, .btn-cookies-settings:hover {
  box-shadow: 2px 2px 4px gray;
}

.btn-cookies-accept {
  background-color: black;
  color: white;
  margin: 5px;
}

.btn-cookies-accept:hover {
  color: black;
  box-shadow: 2px 2px 4px black;
}

.p-wrap {
  white-space: break-spaces;
}

.cookieBoxShadow {
  box-shadow: -2px 0px 3px 0px #aaaaaa;
  margin-top: -5px;
  margin-bottom: -5px;
}

.aboutUsClose {
  position: absolute;
  top: 10px;
  right: 10px;
  font-weight: bold;
  opacity: 0.5;
}

@-webkit-keyframes bounceInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(2000px);
  }
  60% {
    opacity: 1;
    /*-webkit-transform: translateY(2000px);*/
  }
  80% {
    -webkit-transform: translateY(10px);
  }
  100% {
    -webkit-transform: translateY(0);
    position: sticky !important;
  }
}
@keyframes bounceInUp {
  0% {
    opacity: 0;
    transform: translateY(2000px);
  }
  60% {
    opacity: 1;
    /*transform: translateY(-30px);*/
  }
  80% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
    position: sticky !important;
  }
}
.bounceInUp {
  -webkit-animation-name: bounceInUp;
  animation-name: bounceInUp;
  z-index: 10000;
}

.cookie-buttons {
  width: 100%;
}

@media (max-width: 767px) {
  .cookie-text {
    /*display: none;*/
    display: inline !important;
  }
  .cookie-title {
    cursor: pointer;
  }
  .btn-cookies-reject, .btn-cookies-accept, .btn-cookies-settings {
    width: 100%;
  }
  .cookie-buttons {
    text-align: center;
  }
  .visit-bnetwork-display-none {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .cookie-text {
    display: inline !important;
  }
  #cookie-banner {
    max-width: 900px;
    margin-left: 10px;
    margin-bottom: 15px;
  }
  .cookie-buttons {
    text-align: left;
  }
  .btn-cookies-settings {
    float: right;
  }
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
}

#modalConsentCookies .modal-dialog.modal-lg {
  margin: 30px auto;
}

#modalConsentCookies .modal-content {
  height: 645px;
  overflow: hidden;
}

#modalConsentCookies .modal-title.heading {
  text-align: center;
  display: inline-block;
}

#modalConsentCookies .modal-body {
  max-height: calc(100% - 65px);
  overflow: auto;
}

#modalConsentCookies ul li {
  list-style-position: inside;
}
