body {
    margin:0;
    padding:0;
    font-family:sans-serif;    
    background:#EEE;
}
a {
    color: #008706;
}
main {
    max-width:900px;
    margin:0 auto;
    padding:15px;
    background:#FFF; 
}
.field {
    padding: 15px 10px;
}
.field > div {
    margin-bottom: 5px;
}
.field input, .field select {
    font-size: 16px;
    border: none;
    border-bottom: 1px solid #999;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    line-height: 19px;
}

fieldset {
    border: 2px solid #39d1c4;
    border-radius: 10px;
    margin: 20px 10px;
}
fieldset legend {
    text-transform: uppercase;
    font-size: 12px;
    padding: 5px 13px;
    color: #f7c317;
    background: #f0153f;
    border-radius: 10px;
    font-weight: 600;
}
button.enviar {
    background: #39d1c4;
    border: none;
    font-size: 22px;
    padding: 10px 20px;
    text-align: center;
    margin: 50px auto;
    display: block;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.upload-container {
    text-align: center;
}

.custom-file-input {
    display: none;
}

.file-label {
    margin-top:20px;
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color:#FFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

.file-label:hover {
    background-color: #45a049;
}

.progress-bar-container {
    display:none;
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 5px;
    margin-top: 10px;
    height: 20px;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #4CAF50;
    border-radius: 5px;
}
.require {
    color:#C00;
}
/* loader */
.loader {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
    position: relative;
    color: #FFF;
    left: -120px;
    box-sizing: border-box;
    animation: shadowRolling 2s linear infinite;
    margin: 60px auto;
  }
  h1 {
    display: none;
  }
  @keyframes shadowRolling {
    0% {
      box-shadow: 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    12% {
      box-shadow: 100px 0 black, 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    25% {
      box-shadow: 110px 0 black, 100px 0 black, 0px 0 rgba(0, 0, 0, 0), 0px 0 rgba(0, 0, 0, 0);
    }
    36% {
      box-shadow: 120px 0 black, 110px 0 black, 100px 0 black, 0px 0 rgba(0, 0, 0, 0);
    }
    50% {
      box-shadow: 130px 0 black, 120px 0 black, 110px 0 black, 100px 0 black;
    }
    62% {
      box-shadow: 200px 0 rgba(0, 0, 0, 0), 130px 0 black, 120px 0 black, 110px 0 black;
    }
    75% {
      box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 130px 0 black, 120px 0 black;
    }
    87% {
      box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 130px 0 black;
    }
    100% {
      box-shadow: 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0), 200px 0 rgba(0, 0, 0, 0);
    }
  }

/* Estilos del pop-up */
.popup {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro semitransparente */
    z-index: 1000; /* Asegurar que esté encima de otros elementos */
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    max-width: 300px;
    width: 80%;
}
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}
.info {
    background: #f7c317;
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
    font-weight: bold;
}
#popup-message {
    margin: 20px 0;
}
span.select2-selection.select2-selection--single {
    height: 40px;
}
span#select2-provincia-container {
    height: 40px;
    line-height: 40px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-left: -9px !important;
    margin-top: 2px !important;
    border-color: #000 transparent transparent transparent !important;
}
.select2-container--default .select2-selection--single {
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #999 !important;
}
/* mobile */
@media screen and (max-width:900px) {
    .logo {
        display: block;
        width: 100%;
    }
    main {
        padding:5px;
    }
}
/* desktop */
@media screen and (min-width:900px) {
    .table {
        display:table;
        width: 100%;
    }
    .table-row {
        display:table-row;
    }
    .table-cell {
        display:table-cell;
        width:50%;
    }
    h1 {
        display: block;
        float:right;
    }
}