/*@font-face {
	font-family: Avenir;
	src: url('../../fonts/AvenirNextLTPro-Regular.woff');
}

@font-face {
  font-family: AvenirMedium;
  src: url('../../fonts/AvenirNextLTPro-Medium.otf');
}
@font-face {
  font-family: AvenirRegular;
  src: url('../../fonts/AvenirNextLTPro-Regular.otf');
}
@font-face {
  font-family: Freigeist;
  src: url('../../fonts/freigeist-widemedium.ttf');
}*/

@font-face {
  font-family: 'AvenirRegular';
  src: url('../fonts/AvenirNextLTPro-Regular.otf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Freigeist';
  src: url('../fonts/freigeist-widemedium.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body{
  font-size: 13px !important;
  font-family:'Avenir';
}


footer{
	background-size: 99%;
	background-color: #000;
	color:#fff;
	font-family:'Avenir';
	font-weight:300;
	letter-spacing:0.1px;
	padding:30px 10px;
	background-repeat: repeat-x;
}

#loader {
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 999999;
  height: 100%;
  width: 100%;
}


#loader img{
  position: fixed;
  height: 10em;
  width: 10em;
  overflow: show;
  z-index: 99999999;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.text-justify{
  text-align: justify;
}

hr {
  display: block;
  border: 0;
  border-top: 3px solid #ccc;
  margin: auto;
  padding: 0;
  width: 5%;
}

@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

.animar-shake {
  animation: shake 0.4s ease;
}

.fa-1_5x{
  font-size: 1.5em !important;
}

.select2-container--default .select2-selection--single {
        height: 34px !important;
        font-size: 13px !important;
        border: 1px solid #ced4da;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered{
        line-height: 34px !important;
    }


    .select2-selection__rendered{
        height: 34px !important;
    }

    .select2-results__option{
        font-size: 10px !important;
    }


.user-session{
  color: white;
  font-size: 13px;
  font-weight: bold;
}

.form-datos{
  padding: 10px 30px;
}

.form-datos label{
  font-size: 14px !important;
}

.form-datos input{
  margin-bottom: 5px !important;
}

.form-datos select{
  margin-bottom: 5px !important;
}

.form-datos input[type='radio']{
  accent-color: black;
}

.form-datos input[type='radio'] + label{
  cursor: pointer;
}

.selectize-control{
  /*margin-bottom: 5px !important;*/
}

.select-size .error{
  color: black;
}

.error{
  color: red;
  font-size: 12px;
}

.campo-registro{
  display: flex;
  flex-direction: column;
}

.ver-password {
  display: none;
}

.ver-password + label:before {
  content: "\f06e"; /* Bars */
  cursor: pointer;
  font-size: 20px;
  margin-left: 10px;
}

.ver-password:checked + label:before {
  content: "\f070";
}


.ver-lista-org {
  display: none;
}


.ver-lista-org + label:before{
  content: "\f002";
  cursor: pointer;
  font-size: 20px;
  margin-left: 10px;
}

.ver-lista-org:checked + label:before {
  content: "\f067";
}


.form-registro .select2-container{
  display: inline !important;
}

.select2-results__option {
  color: black;
  background-color: white;
}

.select2-results__option--highlighted {
  color: white !important;
  background-color: #595959 !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: white;
}


.select2-selection__choice__display{
  font-size: 13px !important;
}


/*.select2-search__field {
  font-size: 13px !important;
  font-family: Avenir !important;
}*/

.select2-results__option { 
  font-size: 13px !important;
}



.ui-checkbox {
  --primary-color: #595959;
  --secondary-color: #fff;
  --primary-hover-color: #4096ff;
  /* checkbox */
  --checkbox-diameter: 20px;
  --checkbox-border-radius: 0px;
  --checkbox-border-color: #d9d9d9;
  --checkbox-border-width: 1px;
  --checkbox-border-style: solid;
  /* checkmark */
  --checkmark-size: 1.2;
}

.ui-checkbox, 
.ui-checkbox *, 
.ui-checkbox *::before, 
.ui-checkbox *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.ui-checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: var(--checkbox-diameter);
  height: var(--checkbox-diameter);
  border-radius: var(--checkbox-border-radius);
  background: var(--secondary-color);
  border: var(--checkbox-border-width) var(--checkbox-border-style) var(--checkbox-border-color);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

.ui-checkbox::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-box-shadow: 0 0 0 calc(var(--checkbox-diameter) / 2.5) var(--primary-color);
  box-shadow: 0 0 0 calc(var(--checkbox-diameter) / 2.5) var(--primary-color);
  border-radius: inherit;
  opacity: 0;
  -webkit-transition: all 0.5s cubic-bezier(0.12, 0.4, 0.29, 1.46);
  -o-transition: all 0.5s cubic-bezier(0.12, 0.4, 0.29, 1.46);
  transition: all 0.5s cubic-bezier(0.12, 0.4, 0.29, 1.46);
}

.ui-checkbox::before {
  top: 40%;
  left: 50%;
  content: "";
  position: absolute;
  width: 4px;
  height: 7px;
  border-right: 2px solid var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
  -webkit-transform: translate(-50%, -50%) rotate(45deg) scale(0);
  -ms-transform: translate(-50%, -50%) rotate(45deg) scale(0);
  transform: translate(-50%, -50%) rotate(45deg) scale(0);
  opacity: 0;
  -webkit-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6),opacity 0.1s;
  -o-transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6),opacity 0.1s;
  transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6),opacity 0.1s;
}

/* actions */

.ui-checkbox:hover {
  border-color: var(--primary-color);
}

.ui-checkbox:checked {
  background: var(--primary-color);
  border-color: transparent;
}

.ui-checkbox:checked::before {
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) rotate(45deg) scale(var(--checkmark-size));
  -ms-transform: translate(-50%, -50%) rotate(45deg) scale(var(--checkmark-size));
  transform: translate(-50%, -50%) rotate(45deg) scale(var(--checkmark-size));
  -webkit-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  -o-transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
}

.ui-checkbox:active:not(:checked)::after {
  -webkit-transition: none;
  -o-transition: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  transition: none;
  opacity: 1;
}


/* Variables (igual que tu .ui-checkbox) */
.ui-checkbox-dt {
  --primary-color: #595959;
  --secondary-color: #fff;
  --primary-hover-color: #4096ff;

  --checkbox-diameter: 20px;
  --checkbox-border-radius: 0px;
  --checkbox-border-color: #d9d9d9;
  --checkbox-border-width: 1px;
  --checkbox-border-style: solid;

  --checkmark-size: 1.2;
}


/* base cell */
table.dataTable td.ui-checkbox-dt.select-checkbox {
  position: relative;
  cursor: pointer;
}

/* “cuadro” (antes era el input) */
table.dataTable td.ui-checkbox-dt.select-checkbox::before {
  content: "";
  display: inline-block;
  width: var(--checkbox-diameter);
  height: var(--checkbox-diameter);
  border-radius: var(--checkbox-border-radius);
  background: var(--secondary-color);
  border: var(--checkbox-border-width) var(--checkbox-border-style) var(--checkbox-border-color);
  box-sizing: border-box;
  transition: all .3s;
}


/* hover */
table.dataTable td.ui-checkbox-dt.select-checkbox:hover::before {
  border-color: var(--primary-color);
}

/* ✅ estado seleccionado: DataTables marca la fila con .selected */
table.dataTable tr.selected td.ui-checkbox-dt.select-checkbox::before {
  background: var(--primary-color);
  border-color: transparent;
}

table.dataTable tr.selected td.ui-checkbox-dt.select-checkbox::after{
  transform: translate(3px, calc(-50% + 7px)) rotate(0deg) !important;
}


/* “active ring” cuando haces click */
table.dataTable td.ui-checkbox-dt.select-checkbox:active::after {
  opacity: 1;
  box-shadow: none;
  transition: none;
}
















.bienvenida-user{
  font-weight: bold;
  text-transform: uppercase;
  font-size: 25px;
  font-family: 'Avenir';
}

.card-module {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  padding: 20px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 90%;
  cursor: pointer;
  border-radius: 20px;
  color: black !important;
}

.card-module img{
  width: 120px;
}

/* On mouse-over, add a deeper shadow */
.card-module:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  background-color: #eee;
}

/* Add some padding inside the card container */
.card-module-container {
  margin: 10px 0px;

}

.card-module-container span{
  font-weight: bold;

}







.circle-icon {
  background: #e9ecef;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  vertical-align: middle;
  cursor: pointer;
  color: black;
  font-size: 18px;
  border: 1px solid #ced4da;
}

.circle-icon:hover {
  background: #eee;
}


.logo-premios{
  width: 150px;
  padding: 10px 20px;
}


.sa-button-container .confirm{
  background-color: black !important;
}

.sa-button-container .confirm: hover{
  background-color: black !important;
}



.check-premios {
  position: relative;
  cursor: pointer;
  margin: 0px 10px;
  font-size: 15px !important;
}
  
.check-premios:before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  top: 0;
  left: 0;
  border: 2px solid #555555;
  border-radius: 0px;
  background-color: white;
}


.check-premios:before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  top: 0;
  left: 0;
  border: 2px solid #555555;
  border-radius: 0px;
  background-color: white;
}

.label-check-premios{
  font-size: 14px;
}

.check-premios:disabled:before {
  border: 2px solid #eee;
  background-color: #eee;
}
  
.check-premios:checked:after {
  display: block;
  font-weight: bold;
  border: solid black;
  border-width: 0px 0px 0px 0px;
  content: "\2714";
  position: absolute;
  top: 0px;
  left: 5px;
}


.radio-premios {
  display: flex;
  cursor: pointer;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  
}

.radio-premios input {
  position: absolute;
  left: -9999px;
}

.radio-premios input:checked + span {
  background-color: #40BBBB;
  color: white;
  font-size: 15px;
}

.radio-premios input:checked + span:before {
  box-shadow: inset 0 0 0 0.3375em #3F9A9A;
}

.radio-premios span {
  display: flex;
  align-items: center;
  padding: 0.175em 0.55em 0.175em 0.175em;
  border-radius: 99em;
  transition: 0.25s ease;
  color: #DAD9D9;
  font-size: 15px;
}

.radio-premios span:hover {
  background-color: #d6d6e5;
  color: white;
}

.radio-premios span:before {
  display: flex;
  font-size: 15px;
  flex-shrink: 0;
  content: "";
  background-color: #fff;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  margin-right: 0.375em;
  transition: 0.25s ease;
  box-shadow: inset 0 0 0 0.125em #DAD9D9;
}



.social {
  list-style: none;
  position: relative;
  text-align: center;
  display: flex;
  justify-content: space-between;
  padding: 3px 20px;
}

.social li {
  display: inline-block;
  margin-left: 10px;
  margin-right: 10px;
}

.social li a {
  display: block;
  background: black;
  color: #efefef;
  border-radius:20px;
  text-decoration: none;
  line-height: 40px;
  width: 40px;
}

.social li i {
  font-size: 18px;
}

.social a:hover {
  background: #595959
}




#modalLoading {
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 999999;
  height: 100%;
  width: 100%;
}


#modalLoading img{
  position: fixed;
  height: 10em;
  width: 10em;
  overflow: show;
  z-index: 99999999;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}


div.dataTables_filter,
div.dataTables_length {
  display: inline-block;
  margin-left: 1em;
}

.hide-content {
    display: none!important;
}




.footer-dark {
  padding:50px 0;
  /*margin-top: 50px;*/
  color:#f0f9ff;
  background-color:#282d32;
}

.footer-dark h3 {
  margin-top:0;
  margin-bottom:12px;
  font-weight:bold;
  font-size:16px;
}

.footer-dark ul {
  padding:0;
  list-style:none;
  line-height:1.6;
  font-size:14px;
  margin-bottom:0;
}

.footer-dark ul a {
  color:inherit;
  text-decoration:none;
  opacity:0.6;
}

.footer-dark ul a:hover {
  opacity:0.8;
}

@media (max-width:767px) {
  .footer-dark .item:not(.social) {
    text-align:center;
    padding-bottom:20px;
  }
}

.footer-dark .item.text {
  margin-bottom:20px;
}

@media (max-width:767px) {
  .footer-dark .item.text {
    margin-bottom:0;
  }
}

.footer-dark .item.text p {
  opacity:0.6;
  margin-bottom:0;
}

.footer-dark .item.social {
  text-align:center;
}

@media (max-width:991px) {
  .footer-dark .item.social {
    text-align:center;
    margin-top:20px;
  }
}

.footer-dark .item.social > a {
  font-size:20px;
  width:36px;
  height:36px;
  line-height:36px;
  display:inline-block;
  text-align:center;
  border-radius:50%;
  box-shadow:0 0 0 1px rgba(255,255,255,0.4);
  margin:0 8px;
  color:#fff;
  opacity:0.75;
}

.footer-dark .item.social > a:hover {
  opacity:0.9;
}

.footer-dark .copyright {
  text-align:center;
  opacity:0.3;
  font-size:13px;
  margin-bottom:0;
}




.notify-form{
  position: fixed;
  z-index:  10000000;
  top: 10px;
  right: 10px;
  /*right: 0;
  margin-right: 10px;*/
  /*//margin: auto;
  */
  border-radius: 5px;
  border: solid 1px #EEDD4C;
  box-shadow: rgba(238, 221, 76, 0.15) 0px 5px 15px 0px;
  padding-top: 10px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #EEDD4C;
  display: flex;
  flex-direction: column;
}





/*************************************autocomplete***************************************/
#spinner.isloading {
  /*background-image: url(//cdn.rawgit.com/salmanarshad2000/demos/v1.0.0/jquery-ui-autocomplete/loading.gif);
 */
  background-image: url(//premiosverdes.org/sistemas/assets/spinner_pv.gif);
  background-repeat: no-repeat;
}

.spinner-autocomplete {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    margin-top: 5px;
    width: 25px;
    height: 25px;
}

.ui-autocomplete {
    position: absolute;
    z-index: 99999;
    cursor: pointer;
    padding: 0;
    margin-top: 2px;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
       -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    max-height: 200px;
            overflow-y: auto;
            /* prevent horizontal scrollbar */
            overflow-x: hidden;
            /* add padding to account for vertical scrollbar */
            padding-right: 20px;
}
.ui-autocomplete > li {
  padding: 3px 20px;
  z-index: 999999;
}
.ui-autocomplete > li.ui-state-focus {
  background-color: #DDD;
}
.ui-helper-hidden-accessible {
  display: none;
}

.item-auto-org{
  font-size: 13px !important;
}

.item-auto-org li{
  cursor: pointer !important;
}

.item-auto-org p{
  margin: 0px !important;
  padding: 0px !important;
}

.ui-front {
  z-index: 9999 !important;
}

label.error {
  position: relative;
  background-color: #BD3113;
  padding: 0.2em 0.5em;
  color: white;
  border-radius: 2px;
  display: inline-block;
}

/* puntita */
label.error::before {
  content: "";
  position: absolute;
  top: -6px;           /* sube la punta */
  left: 8px;           /* posición horizontal */
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #BD3113;
}

input.error{
  background-color: #FCF2F0 !important;
  color: black !important;
}

textarea.error{
  background-color: #FCF2F0 !important;
  color: black !important;
}


.input-group-addon {
  color: #ffffff;
  background: #000000;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  line-height: 1;
  min-height: 34px;
  height: auto;
}

.form-group {
  margin-bottom: 10px;
  margin-top: 10px;
}

input[type='radio'] {
    accent-color: black;
}

.opt-radio{
  font-size: 13px;
  cursor: pointer;
}

.container-select-multiple{
  display: flex;
  justify-content: space-between;
}


.container-select-multiple .select2-container{
  width: 100% !important;
  border-radius: 0px !important;
}

.container-select-multiple .select2-container--default .select2-selection--multiple{
  border-radius: 0px !important; 
  padding-top: 10px;
  padding-bottom: 10px;
  border-color: #ced4da;
}

.select2-selection__choice__display{
  font-size: 13px !important;
}

/*.select2-search__field {
  font-size: 13px !important;
  height: 20px !important;
  margin: 0px !important;
  margin-left: 20px !important;
  padding: 10px;
  font-weight: bold !important;
  font-family: Avenir !important;
}*/

.select2-results__option { 
  font-size: 13px !important;
}



/*************************** PREVIEW FOTO***********************/
.upload-wrapper {
  max-width: 300px;
  width: 100%;
}

/* Cuadro cuadrado tipo foto carnet */
.upload-box {
  width: 250px;
  height: 250px;
  border: 2px dashed #FFFF;
  border-radius: 10px;
  background-color: #f8f9fa;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.upload-box:hover {
  border-color: #CCCC;
  background-color: #EEEE;
}

/* Preview ocupa todo el cuadro */
.preview-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* Recorta tipo carnet */
  top: 0;
  left: 0;
}


.switch-container {
  display: inline-flex;
  width: fit-content; 
  border: 1px solid #000;
  
  overflow: hidden;
  font-family: Arial, sans-serif;
  text-align: center;
}

.switch-container input {
  display: none;
}

.switch-container label {
  padding: 8px 18px;
  cursor: pointer;
  background: #f2f2f2;
  color: #666;
  font-size: 14px;
  transition: all 0.2s ease;
}

/* OPCIÓN SELECCIONADA */
.switch-container input:checked + label {
  background: #2C663C;
  color: #fff;
}





