/**
*  @author Infinia Systems s.r.o.
*  @copyright 2022 Infinia Systems s.r.o.
*  @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*  @version 1.0
*/

/*Consent Box*/
#ism-consent-box {
    display: none;
    background-color: #fafafa;
    width: auto;
    z-index: 9999;
    position: fixed;
    bottom: 5px;
    left: 50%;
    transform: translate(-50%, 0%);
    border-radius: 5px;
    padding: 5px;
    border-style: solid;
    border-width: 1px;
    border-color: gray;
    box-shadow: 0 0px 10px 0 rgb(0 0 0 / 30%), 0 0px 20px 0 rgb(0 0 0 / 30%);
}

#ism-notice {
    color: #000;
    float: left;
    width: 100%;
}

#ism-consent-buttons {
    width: 100%;
}

#ism-accept, #ism-reject, #ism-link {
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    margin: 5px;
}

#ism-accept {
    background-color: #12a800;
    min-width: 200px;
}

#ism-reject {
    background-color: #979797;
}

#ism-link {
    background-color: #408ad7;
    float: right;
}

#ism-accept:hover {
    background-color: #0f8f00;
    cursor: pointer;
}

#ism-reject:hover {
    background-color: #727272;
    cursor: pointer;
}

#ism-link:hover {
    background-color: #3977b8;
    cursor: pointer;
}

#ism-consent-box .close {
    float: right;
}

@media only screen and (max-width: 1400px) {
    #ism-consent-box  {
        width: 75%;
        left: 33%;
        transform: translate(-25%, 0%);
    }
}
@media only screen and (max-width: 1000px) {
    #ism-consent-box  {
        width: 100%;
        left: 0px;
        transform: translate(0%, 0%);
    }
}
@media only screen and (max-width: 600px) {
    #ism-accept,#ism-reject,#ism-link  {
        width: 100%;
        float: none;
        margin: 5px 0px 2px 0px;
    }
}

/*Toogle Switch*/
#ism-consent-toggle {
    display: none;
}
#ism-consent-toggle .switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

#ism-consent-toggle .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

#ism-consent-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #979797;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

#ism-consent-toggle .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

#ism-consent-toggle input:checked + .slider {
  background-color: #12a800;
}

#ism-consent-toggle input:focus + .slider {
  box-shadow: 0 0 1px #12a800;
}

#ism-consent-toggle input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/*Toggle switch wrapper*/
#ism-toggle-info {
  margin-bottom: 10px;
  border-radius: 20px;
  padding: 15px;
  background-color:
  #eaeaea; font-weight: bold;
}

#ism-toggle-info #ism-consent-toggle {
  position: relative;
  top: -30px;
  right: -5px;
  float: right;
}

/*Prestashop 1.6.X Fix*/
#ism-consent-toggle .checker+span {
  display: none;
}
#ism-consent-toggle .checker {
  top: 15px;
  right: -35px;
}
