.cookies{
    text-align: left;
}
.cookies .btn{
    padding: 9px 17px;
    vertical-align: middle;
    text-align: center;
    background-image: none;
    border: none;
    font-size: 16px;
    font-family: 'bold';
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    margin-left: 5px;
    margin-right: 5px;
    margin-top:10px;
    margin-bottom:10px;
}
.cookies p{
    color:black;
}

/* ¡AVISO! he pensado que no es necesario mostrar esta opción ya que se puede configurar individualmente */
#banner-button-reject{
    display:none;
}


.cookiesBanner{
    transition:transform 0.8s ease-out;
    transform:translate(0px, 300px);
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    z-index:9;
    background-color: rgba(0, 0, 0, 0.73);
    backdrop-filter: blur(10px);  
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 29px;
    line-height: 1.7;
    font-size: 16px;
    font-family: "Helvetica Neue","Segoe UI","Helvetica";
}
.textoCookiesResponsive{
    margin-bottom:10px;
    text-align: left;
    
}
.textoCookiesResponsive .textoCookies{
    color:white;
    font-size:17px;
    line-height: 1.5;
    font-family: 'regular';
}
.textoCookiesCorto{
    display:none;
}
.enlacePoliticaCookies{
    color: #f9d64e;
    text-decoration: underline;
}
    
.cookiesBanner.animacionEntrada{
      transform:translate(0px, 0px);   
}


#modal-header-text p{
    font-family: 'Signika Negative';
    color:black;
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.1;
}

#cookie-banner-container{
  color: #fff;
  padding: 15px 15px;
  width: 100%;
  z-index: 3000;
  position: fixed;
  bottom: 0;
  left: 0;
}

/* Banner Text Wrapper */
#banner-text-wrapper{
  display: inline-block;
  width: calc(100% - 380px);
  text-align: center;
  vertical-align: middle;
}
#banner-text-content{
  padding: 0% 5%;
  line-height: 22px;
  font-size: 15px;
}

/* Banner button Wrapper */
#banner-button-wrapper {
  display: inline-block;
  width: 380;
  vertical-align: middle;
}
#banner-button-accept{
  color: #000;
  background-color: #fde358;
}
#banner-button-accept:hover{
  color: #000;
background-color: white;
}
#banner-button-settings{
  background-color: rgba(255,255,255, 0.20);
  color: #fff;
}
#banner-button-settings:hover{
    background-color: rgba(255,255,255, 0.27);
}
#banner-button-reject{
  background: #ec4545;
  color: #ffffff;
  border: 1px solid #b42f2f;
  border-radius: 2px;
  margin: 0 0 0 5px;
}
#banner-button-reject:hover{
  background: #db3f3f;
}


.cookies .active-button{
  background: #fff !important;
  border: none !important;
  outline: none !important;
  cursor: default !important;
  pointer-events: none !important;
}

.cookiesModal p{
    margin-bottom:10px;
    font-size:16px;
    font-family:'regular';
    color:#333333;
}

/* Modal Backdrop */
#modal-backdrop{
  height: 100%;
  left: 0px;
  position: fixed;
  top: 0px;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 3001;
}

/* Modal Sub Wrapper */
#modal-sub-wrapper{
  background: white;
  min-height: 300px;
  left: 50%;
  top: 0px;
  position: fixed;
  width: 700px;
  font-size: 13px;
  height: auto;
  line-height: 18px;
  margin: 100px 0px 0px -350px;
  z-index: 3002;
  border-radius: 11px;
}

/* Modal Header */
#modal-header{
  padding: 1.5% 1.5% 1% 5%;
}
#modal-header-text{
  display: inline-block;
  font-size: 18px;
}
#modal-button-close{
    position: absolute;
    top: -14px;
    z-index: 3;
    cursor: pointer;
    right: -14px;
    font-size: 22px;
    border-radius: 50px;
    background-color: #ffffff;
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid #2a2a2a;
    color: #2a2a2a;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.4);
    text-align: center;
    transform: scale(0.9);
    line-height: 50px;
}
#modal-button-close:hover{
    background-color: #dd4242;
    border-color: white;
    color: white;
}

/* Modal Body */
#modal-body{
  height: 255px;
  overflow: hidden;
  position: relative;
}
#tab-button-wrapper{
  display: inline-block;
  max-width: 20%;
  float: left;
}
#tab-button-wrapper button{
    padding: 9.73%;
    width: 130px;
    cursor: pointer;
    font-family: 'bold';
    font-size: 14px;
    border-radius: 7px;
    border: none;
    border-top-left-radius: 0;
    margin-bottom: 8px;
    border-bottom-left-radius: 0;
}
#tab-content-wrapper{
  display: inline-block;
  max-width: 70%;
  margin-left: 6%;
  height: 100%;
  overflow-y: auto;
  padding-right: 22px;
  max-height: 260px;
}
.cookies-used-header{
  font-weight: 600;
}

/* Toggle Checkbox */
.csm-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 20px;
  float:right;
    transform: scale(1.5);
    margin-top:20px;
}
.csm-switch input{
  display:none;
}
.csm-switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #31bab5;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}
.csm-switch-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 17px;
  left: 4px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}
.csm-input-checkbox:checked + .csm-switch-slider {
  background-color: #ccc;
}
.csm-input-checkbox:focus + .csm-switch-slider {
  box-shadow: 0 0 1px #31bab5;
}
.csm-input-checkbox:checked + .csm-switch-slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Modal Footer */
#modal-button-accept{
    float: right;
    margin: 19px;
    color: #fff;
      background-color: #dd4242;

    border: none;
    padding: 9px 25px !important;
    font-weight: normal;
    border-radius: 7px;
    font-size: 18px;
    font-family: 'bold';
}
#modal-button-accept:hover{
    background-color: #b93c3c;
}

/***********************************************************************
*                           Media Queries
***********************************************************************/

@media (max-width: 800px){
      #modal-sub-wrapper{
    left: 7%;
    right: 7%;
    top: 8%;
    position: fixed;
    margin: 0;
    width: auto;
  }
  #modal-body{
    height: auto;
    overflow: auto;
  }
  #tab-button-wrapper{
    display: block;
    max-width: 100%;
      width:100%;
    clear: both;
    border-bottom: 1px solid #e6e6e8;
  }
  #tab-button-wrapper button{
      width: 100%;
    padding: 11px;
    margin-bottom: 8px;
    font-size: 18px;
      border-radius: 0;
    font-family: 'regular';
  }
  #tab-button-wrapper button.active-button{
    background-color: #ffdb59 !important;
    border-radius: 0;
    font-family: 'bold';
    color: #5a4003;
  }    

  #tab-content-wrapper{
    display: block;
    max-width: 100%;
  }

  #banner-text-wrapper{
    display: block;
    width: 100%;
  }
  #banner-button-wrapper{
    display: flex;
    width: 93%;
    flex-direction: row-reverse;
  }
  #banner-button-settings{
    order: 1;
  }
  #banner-button-reject{
    order: -1;
  }
}

@media(max-width: 700px){

  /* Banner */
  #banner-button-wrapper{
    display: block;
    width: 100%;
    text-align: center;
  }
}

@media(max-width: 600px){

   
.textoCookiesCorto{
    display:block;
}
    
.textoCookiesLargo{
    display:none;
}
    
    
}

