.banner_header_cadenadolidaridad {
    background-color: #C90B0E;
    padding: 20px;
}

.banner_header_cadenadolidaridad img {
    width: 400px;
    margin: 0 auto;
    display: flex;
}

.container.header_despensas img {
    width: 700px;
    margin: 0 auto;
    margin-top: 25px;
}

.header_despensas .header .titulo {
    font-size: 35px;
    font-weight: 500;
    font-style: italic;
    color: #51555a;
}

.cintillo_despensas {
    margin-top: 30px;
}

.header_solidaridad_inicio h2 {
    font-size: 34px;
    font-style: italic;
    color: #51555a;
    font-weight: bold;
    margin: 0 auto;
    text-align: center;
    margin-top: 30px;
}
.header_solidaridad_inicio p {
    font-size: 20px;
    font-style: italic;
    color: #51555a;
    font-weight: 500;
    margin: 0 auto;
}
.header_solidaridad_inicio {
    margin-top: 30px !important;
    margin-bottom: 50px !important;
    width: 600px;
    margin: 0 auto;
}

.item_grid {
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.item_grid h1 {
    color: #fff;
    padding: 20px;
    font-size: 24px;
    text-align: center;
    position: relative;
    float: left;
    width: 100%;
}

.item_grid p {
    color: #fff;
    padding-left: 20px;
    font-size: 16px;
    text-align: center;
    font-weight: 300;
    font-style: italic;
    padding-right: 20px;
}

.item_grid a {
    margin: 0 auto;
    width: 200px;
    display: flex;
    background-color: #e20326;
    text-align: center;
    color: #fff !important;
    justify-content: center;
    font-weight: 500;
    font-style: italic;
    border-radius: 28px;
    padding: 10px;
    font-size: 18px;
    margin-top: 25px;
    cursor: pointer;
    text-decoration: none;
}

.caretas_grid.item_grid a {
    width: 230px;
    position: relative;
    float: left;
    margin: 18px;
}

a#button_donar_especie {
    background-color: #ffffff;
    color: #e20326 !important;
}

.despensas_grid {
    background-color: #fbb03b;
    height: 860px;
}


.caretas_grid {
    background-color: #2d6fb3;
    height: 860px;
}

.voluntario_grid {
    background-color: #2e4c69;
    padding: 0px;
    margin: 15px;
}

.voluntario_grid.item_grid h1 {
    padding: 30px;
    text-align: left;
}

.voluntario_grid.item_grid p {
    padding-left: 30px;
    text-align: left;
    padding-right: 30px;
}

.voluntario_grid.item_grid a {
    background-color: #ffffff;
    color: #e20326 !important;
    margin-top: 10px;
}

select#modlgn_ws_select_e,
select#modlgn_ws_select {
    border: 0px;
    height: 43px;
    border-radius: 69px !important;
    -webkit-appearance: none;
    padding-left: 19px;
    width: 100%;
    background: url(https://upaep.mx/estudiantes_v2/src/images/FlechaBajar_obscura.svg);
    background-repeat: no-repeat;
    background-position: 96% 17px;
    background-size: 15px;
    background-color: #fff;
}

.insert_careta_e,
.insert_careta,
.insert_voluntario {
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

button#modlgn_ws_submit_e {
    width: 164px;
    margin: 0 auto;
    display: block;
    margin-top: 24px !important;
    text-align: center;
    background-color: #d61516;
    border-radius: 25px;
    color: #fff;
    border: none;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    height: 37px;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}


#ModalCaretas table, 
#ModalCaretas tr {
    border: 1px solid #2d6fb3e6;
}
  
#ModalCaretas th, 
#ModalCaretas td {
    padding: 5px;
}

#ModalCaretas table {
    background-color: #fffffff2;
    color: #505050;
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
    font-size: 15px;
}

div#toggle_form {
    text-align: center;
    width: 323px;
    margin: 0 auto;
    background-color: #cc2d2d;
    border-radius: 31px;
    padding: 10px;
    font-weight: 700;
    color: #fff;
    font-style: italic;
    cursor: pointer;
    margin-bottom: 21px;
    margin-top: 40px;
}

div#content_form {
    background-color: #ffffff12;
    padding-bottom: 20px;
    padding-top: 14px;
}

div#content_form  .userdata {
    width: 90%;
    margin: 0 auto;
}

button#modlgn_ws_submit_d {
    width: 200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
    height: 41px;
    border-radius: 25px;
    text-transform: uppercase;
}

input#comprobante {
    border-radius: 0px;
    border: 1px solid #ffffff38;
    padding: 6px;
    margin-top: 4px;
    color: #fff !important;
}

.aviso_form p {
    font-size: 13px;
    font-weight: 100;
}
.aviso_form h1 {
    font-size: 16px;
    text-align: center;
    font-weight: 800;
}
.aviso_form {
    background-color: #3d5d7d;
    color: #fff;
    padding: 20px;
    margin-top: 20px;
}

.list_upress {
    margin-bottom: 25px;
    position: relative;
    float: left;
    width: 100%;
}
.list_upress a {
    display: block;
    border: 1px solid #7A7A7A;
    color: #7A7A7A;
    text-align: center;
    font-weight: bold;
    padding: 8px;
    font-size: 25px;
    text-decoration: none;
}

@media only screen and (max-width: 768px) and (min-width: 300px)  {

    .banner_header_cadenadolidaridad img {
        width: 100%;
    }

    .container.header_despensas img {
        width: 100%;
        margin-top: 0px;
    }

    .header_despensas .header .titulo {
        line-height: normal;
    }

    .cintillo .colaborador .titulo_colaborador {
        width: 100%;
    }

    .boton_apoyar {
        width: 100%;
        padding: 15px;
    }

    .cadena_solidaridad .intro_video p {
        width: 100%;
        line-height: normal;
    }

    .boton_donativo {
        width: 100%;
    }

    .header_solidaridad_inicio {
        padding: 20px;
        padding-top: 0px;
    }

    .voluntario_grid.item_grid {
        margin: 20px;
        padding-bottom: 20px;
    }

    .despensas_grid,
    .caretas_grid {
        height: auto !important;
    }

    .caretas_grid.item_grid a {
        width: 295px;
        position: relative;
        float: none;
    }
}