/**
*  @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;
    max-width: 500px;
    z-index: 9999;
    position: fixed;
    bottom: 5px;
    left: 0; 
    /* transform: translate(-50%, 0%); */
    border-radius: 5px;
    padding: 15px;
    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%);
    line-height: 20px;
}

#ism-title {
  color: #000;
  float: left;
  width: 100%;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

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

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



#ism-accept {
    background-color: #5cb85c;
    min-width: 200px;
}

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

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

#ism-accept:hover {
    background-color: #4c9b4c;
    cursor: pointer;
}

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

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

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

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

/* @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 (min-width : 520px) {
  #ism-consent-box{
      margin-left: 10px;
  }
}
/*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;
}
