
@media  (max-width: 1024px) {
/*LISTADO DE CONVOCATORIAS*/
    .group-form{
       display: flex;
       flex-direction: column;
       gap : 5px;
    }
}

.campo_required{
    border: 1px solid red !important;
}

#autorizacion_datos_personales{
    cursor: pointer !important;
}

/*form styles*/
#msform {
    text-align: center;
    position: relative;
    margin-top: 30px;
    height: 120vh;
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    box-sizing: border-box;
    width: 80%;
    margin: 0 10%;

    /*stacking fieldsets above each other*/
    position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

/*inputs*/
#msform input, #msform textarea,select {
    border: 1px solid #ccc;
    border-radius: 0px !important;
    box-sizing: border-box;
    color: #2C3E50;
    font-size: 13px;
}

#msform input:focus, #msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #002D77;
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;
}

/*buttons*/
#msform .action-button {
    width: 100px;
    background: #002D77;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    margin: 10px 5px;
}

#msform .action-button:hover, #msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #002D77;
}

#msform .action-button-previous {
    width: 100px;
    background: #d1bf38;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    margin: 10px 5px;
}

#msform .action-button-previous:hover, #msform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #C5C5F1;
}

/*headings*/
.fs-title {
    font-size: 18px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: bold;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

/*idprogressbar*/
#idprogressbar {
    margin: auto;
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}

#idprogressbar li {
    list-style-type: none;
    color:#002D77;
    text-transform: uppercase;
    font-size: 9px;
    float: left;
    position: relative;
    letter-spacing: 1px;
    width: 100px;
}

#idprogressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 24px;
    height: 24px;
    line-height: 26px;
    display: block;
    font-size: 12px;
    color: #333;
    background: white;
    border-radius: 25px;
    margin: 0 auto 10px auto;
}

/*idprogressbar connectors*/
#idprogressbar li:after {
    content: '';
    width: 90%;
    margin: auto;
    height: 2px;
    position: absolute;
    left: -50%;
    top: 10px;
    z-index: 0; /*put it behind the numbers*/
}

#idprogressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#idprogressbar li.active:before, #idprogressbar li.active:after {
    background: #002D77;
    color: white;
}


/* Not relevant to this form */
.dme_link {
    margin-top: 30px;
    text-align: center;
}
.dme_link a {
    background: #FFF;
    font-weight: bold;
    color: #002D77;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 5px 25px;
    font-size: 12px;
}

.dme_link a:hover, .dme_link a:focus {
    background: #C5C5F1;
    text-decoration: none;
}

label{
    height: fit-content;
}
input:read-only {
    background-color: #e7e7e7;
    cursor: not-allowed;
}

input:read-only {
    background-color: #e7e7e7;
}

.container{
    margin-bottom: 30px !important; 
}
.form-select{
    padding: 2px 0px 0px 0px  !important;
}
span,div{
    box-sizing: content-box; 
}

.btn-info{
    background: #002D77 !important;
    color: #fff !important;
}

.search-choice{
    background: #fff !important;
}

input[type=text]{
    border: 1px solid #DEE2E6 ;
    height: unset;
}

/*LISTADO DE CONVOCATORIAS*/
.listado_convocatorias {
    list-style-type: none;
    overflow-x: auto;
    white-space: nowrap;
    display: inline-block;
}
  
.listado_convocatorias li {
    display: inline-block;
}
  
.r_convocatorias{
    display: none;
}
  
.lb_convocatorias {
    width: 100%;
    border: 1px solid #fff;
    padding: 10px;
    display: block;
    position: relative;
    cursor: pointer;
}
  
.lb_convocatorias:before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    border: 1px solid grey;
    position: absolute;
    top: -5px;
    left: -5px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 28px;
    transition-duration: 0.4s;
    transform: scale(0);
}
  
  .lb_convocatorias img {
    height: 350px;
    width: 350px;
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
  }
  
  :checked + .lb_convocatorias {
    border-color: #ddd;
  }
  
  :checked + .lb_convocatorias:before {
    content: "✓";
    background-color: #002D77;
    transform: scale(1);
  }
  
  :checked + .lb_convocatorias img {
    transform: scale(0.9);
    box-shadow: 0 0 5px #333;
    z-index: -1;
  }

  /*imagen mas pequeña */
  .disable_img{
    transform: scale(0.7);
  }