.cc-revoke.cc-bottom,.cc-revoke.cc-top{
  display: block !important;
  max-width: 24em;
}

.cc-revoke .revoke-link {
  font-size: inherit;
  margin: 10px;
  font-weight: normal;
}

/*switch 1*/

.cc-revoke .switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 25px;
  margin-left: 25px;
  margin-bottom: 0;
}

.cc-revoke .switch input {
  display:none;
}

.cc-revoke .switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(44, 54, 78, 0.5);
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.cc-revoke .switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

.cc-revoke input:checked + .switch-slider {
  background-color: #2C364E;
}

.cc-revoke input:focus + .switch-slider {
  box-shadow: 0 0 1px #2C364E;
}

.cc-revoke input[disabled] + .switch-slider {
    background-color: #ccc;
    cursor: not-allowed;
}

.cc-revoke input:checked + .switch-slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.cc-revoke.cc-bottom,.cc-revoke.cc-top {
  display: block !important;
}

.cc-banner .cc-btn:last-child {
  min-width: auto !important;
}

.cc-banner.cc-bottom,
.cc-floating.cc-bottom {
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 9999;
}

.cc-revoke.active {
  position: fixed;
  top: 0 !important;
  bottom: 0 !important;
  border-radius: 0 !important;
  z-index: 10000  !important;
  cursor: auto;
  padding: 1em !important;
  left: 0;
}
.cc-revoke.cc-left.active {
  left: 0 !important;
}
.cc-revoke.cc-right.active {
  right: 0 !important;
}

.cc-revoke.active:hover{
  text-decoration: none;
}
.cc-revoke .services-controle p, .cc-revoke .cc-compliance, .cc-revoke .cc-message, .cc-revoke .revoke-link .close{
  display: none;
}

.cc-revoke.active .services-controle p{
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  margin: 0;
  font-weight: bold;
}

.cc-revoke.active .services-controle p span span{
  font-weight: normal;
  font-style: italic;
}
.cc-revoke.active .services-controle p:last-child{
    border-bottom: 1px solid;
    margin-bottom: 20px;
}

.cc-revoke.active .revoke-link .close {
  display: block;
  position: absolute;
  top: 15px;
  right: 26px;
  left: auto;
  opacity: 0.5;
  -webkit-box-shadow: unset;
  box-shadow: unset;
}
.cc-revoke.active .revoke-link .close span{
    color: #2C364E !important;
    font-size: 36px;
}
.cc-revoke .revoke-link .close:hover{
  opacity: 0.8;
}

.cc-revoke .revoke-link {
    color: #2C364E !important;
}
.cc-revoke.active .revoke-link {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    margin: 20px 0;
}
.cc-revoke .revoke-link .close{
}

.cc-revoke.active .cc-compliance {
  display: block;
    margin: 40px 0 0 0;
}
.cc-revoke.active .cc-message{
  display: block;
}
.cc-revoke {
  padding: 0 !important;
}

body.cookie-open{
    overflow: hidden;
}
body.cookie-open .cc-floating.cc-window,
body.cookie-open .cc-revoke.active {
    width: 100%;
    height: 100%;
    position: fixed;
    max-width: none;
    background: rgba(0,0,0,0.5);
    left: 0;
    top: 0;
}

body.cookie-open .cc-window .cookie-window,
body.cookie-open .cc-revoke.active .cookie-window{
    max-width: 32em;
    background: #fff;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    position: absolute;
    padding: 50px;
    max-height: 80vh;
    width: 80%;
}
body.cookie-open .cc-window .cookie-window h2,
body.cookie-open .cc-window .cookie-window .cc-message,
body.cookie-open .cc-revoke.active .cookie-window h2,
body.cookie-open .cc-revoke.active .cookie-window .cc-message{
    text-align: center;
}

body.cookie-open .cc-window .cookie-window h2,
body.cookie-open .cc-revoke.active .cookie-window h2{
    margin-top: 0;
}
body.cookie-open .cc-window .cookie-window,
body.cookie-open .cc-revoke.active .cookie-window{
    border-radius: 5px;
}
body.cookie-open .cc-revoke.active .revoke-link .close{
    display: none;
}
body .cc-revoke.active .cookie-window{
    -moz-border-radius-topright: 5px;
}
body .cc-revoke.active .cookie-window h2 button.close{
    background: #2C364E;
    width: 55px;
    height: 60px;
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 1;
    border-radius: 0 5px 0 0;
    z-index: 10;
}
body .cc-revoke.active .cookie-window h2 button.close span{
    display: block;
    text-indent: -9999px;
    width: 55px;
    height: 60px;
    background-image: url(/sites/all/themes/mgm_constructeur2/img/ico/close-white.svg);
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: 50%;
}

body .cc-revoke .cookie-window > button.btn-close{
    display: none;
}
body .cc-revoke .cookie-window button.btn-back{
    display: none;
}
body .cc-revoke.active .cookie-window button.btn-close,
body.cookie-open .cc-revoke .cookie-window button.btn-back,
body .cc-revoke.active .cookie-window a.cc-allow{
    display: block;
    float: right;
    font-family: 'Walsheim';
    font-weight: 500;
    text-decoration: none !important;
    border-radius: 0 !important;
    background: #2C364E !important;
    min-width: inherit !important;
    transition: background 0.3s ease 0s;
    -webkit-transition: background 0.3s ease 0s;
    border: 1px solid #2C364E;
}
body .cc-revoke.active .cookie-window button.btn-close{
    background: #ffffff !important;
    color: #2C364E !important;
}

body.cookie-open .cc-revoke .cookie-window button.btn-back {
  float: left;
  color: white;
}
body .cc-revoke.active .cookie-window button.btn-close:hover{
    background: #2C364E !important;
    color: #ffffff !important;
}
body .cc-revoke.active .cookie-window a.cc-allow:hover,
body.cookie-open .cc-revoke .cookie-window button.btn-back:hover{
  background: #222 !important;
  border-color: #222 !important;
}

@media screen and (max-width: 767px) {
    body.cookie-open .cc-window .cookie-window,
    body.cookie-open .cc-revoke.active .cookie-window{
        padding: 15px;
    }
    body.cookie-open .cc-window .cookie-window h2,
    body.cookie-open .cc-revoke.active .cookie-window h2{
        font-size: 16px;
    }
    body.cookie-open .cc-window .cookie-window .cc-message,
    body.cookie-open .cc-revoke.active .cookie-window .cc-message{
        font-size: 14px;
        overflow: auto;
        max-height: 50vh;
    }
    body.cookie-open .cc-window .cookie-window .services-controle,
    body.cookie-open .cc-revoke.active .cookie-window .services-controle{
        overflow: auto;
        max-height: 25vh;
    }
    .cc-btn{
        padding: .4em .4em;
    }
    .cc-revoke.active .services-controle p,
    .cc-revoke.active .services-controle p span{
        font-size: 12px !important;
    }
}
.cc-window .cc-dismiss,
.cc-revoke .cc-dismiss{
    display: none;
}
.cc-revoke.active .cc-compliance > p{
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    margin: 0;
    width: 100%;
    font-weight: bold;
    border-bottom: 1px solid;
}
.cookie-window .cc-link{
    display: none;
}
.cc-window.cc-floating .cc-compliance{
    display: block;
    text-align: center;
}
.cc-compliance .cc-allow{
    display: inline-block;
}

.cc-window .cc-compliance .cc-allow{
    padding: .5em 1em;
    font-size: 16px;
}
