﻿@media (min-width: 350px) and (max-width: 767px) {
    * {
        margin: 0;
        padding: 0;
    }

    .contenidoGral {
        display: flex;
        flex-direction: column;
        min-width: 350px;
        margin: 0;
    }

    #header {
        display: flex;
        flex-direction: column;
        margin-top: 8px;
        width: 100%;
        margin-left: 0;
    }

    .menuBar {
        align-self: center;
        width: 100%;
        font-size: 1.1em;
        font-family: Ubuntu;
        font-weight: 500;
        background: #E9E9E9;
        height: 50px;
        color: #0064D5;
    }

    .btnMenu {
        vertical-align: middle;
        line-height: 50px;
    }

    .menuBar .btnMenu {
        display: block;
        text-decoration: none;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .btnMenu {
        margin-left: 10px;
    }

    .icono img {
        float: right;
        margin-top: 16px;
        margin-right: 15px;
    }

    .espacio1 {
        display: none;
    }

    nav {
        height: 0;
        overflow: hidden;
    }

    #header2 {
        display: inline;
    }

    .logo {
        display: inline-block;
        margin-top: 15px;
    }

    .line {
        height: 0;
        background: #0064D5;
        margin: 0;
    }

    .link > a {
        color: #0064d5;
        padding: .25em;
        text-decoration: none;
        transition: all .5s;
        height: 20px;
    }

        .link > a:hover {
            background: #ffffff06;
            color: #ff9900;
        }

    .link > .line {
        background: #68a;
        height: 1px;
        pointer-events: none;
    }

    .link a:nth-child(5) {
        color: #ff9900;
    }

    .link {
        display: flex;
        flex-direction: column;
        align-self: stretch;
        gap: 1rem;
        margin: 0.5rem;
        font-size: 0.9em;
        font-family: Raleway;
        font-weight: 100;
        width: 100%;
        transition: margin-top 300ms cubic-bezier(0.785,0.35,0.15,0.86);
    }

    .cuerpo {
        display: flex;
        flex-direction: column;
    }

    .linkSucursal {
        color: #ff9900;
    }

    h3 {
        color: #428257;
        font-size: 1.48em;
        font-family: Ubuntu;
        font-weight: 700;
        margin: 10px;
    }

    h2 {
        font-family: Raleway;
        font-weight: 700;
        font-size: 1em;
        margin: 10px;
    }

    p {
        padding-left: 1%;
        font-family: Raleway;
        font-weight: 100;
        font-size: 1em;
        color: #555555;
        margin: 10px;
    }

    .puntos {
        display: none;
    }

    .input-bar {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .input-group {
        display: flex;
        flex-direction: row;
        width: 100%;
        padding: 15px 15px;
    }

    .boton {
        width: 30%;
        height: 40px;
        padding: 5px 10px;
        text-align: center;
        text-transform: uppercase;
        transition: 0.5s;
        background-size: 200% auto;
        color: white;
        border-radius: 5px;
        border: 0px;
        font-weight: 700;
        background-image: linear-gradient(to right, #0000ff, #4481eb, #0000ff, #3f86ed);
        box-shadow: 0 4px 15px 0 rgba(65, 132, 234, 0.75);
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        align-self: center;
    }

        .boton:hover {
            background-position: right center;
            color: #fff;
            text-decoration: none;
        }

    boton :active {
        transform: scale(0.95);
    }

    label {
        width: 20%;
        font-size: 1em;
        color: #444444;
    }

    .content-select {
        border: 1px solid #dddddd;
        appearance: none;
        padding: 0.25em 0.25em 0.25em 0.25em;
        width: 60%;
        font-size: 1em;
        color: #333333;
        background: white;
        height: 99%;
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.25s ease;
        -webkit-appearance: none;
        -moz-appearance: none;
    }

        .content-select:hover,
        .content-select:focus {
            outline: none;
            border: 1px solid #0064d5;
        }



    .option::-webkit-scrollbar {
        width: 4px;
    }

    .option::-webkit-scrollbar-track {
        background: #0064d5;
        border-radius: 25px;
    }

    .option::-webkit-scrollbar-thumb {
        background: #0064d5;
        border-radius: 25px;
    }

    .content-table {
        border-collapse: collapse;
        border-radius: 5px 5px 0 0;
        box-shadow: 0 0 20px rgba(0 0 0 0 15);
        font-size: 0.8em;
        margin: 1em 0;
        width: 100%;
        font-family: Ubuntu;
        font-weight: 500;
    }

        .content-table thead tr {
            max-width: 100%;
        }

    .scroll-tabla {
        grid-column-start: 2;
        grid-column-end: 7;
        grid-row-start: 4;
        grid-row-end: 5;
        height: 500px;
        overflow-y: auto;
        width: 100%;
    }

    .content-table th {
        background-color: #1b7ced;
        color: #ffffff;
        text-align: left;
        font-size: 1em;
        padding: 12px 15px;
        position: sticky;
        top: 0px;
        font-family: Raleway;
        font-weight: 700;
    }

    .content-table td {
        padding: 12px 15px;
    }

    .content-table tbody tr {
        border-bottom: 1px solid #dddddd;
    }

    tr:hover {
        background-color: rgba(207, 224, 248, 0.5);
    }

    .content-table tbody tr:nth-of-type(even) {
        background-color: #f3f3f3;
    }

    .content-table tbody tr:hover:nth-of-type(even) {
        background-color: rgba(207, 224, 248, 0.5);
    }

    .content-table tbody tr:last-of-type {
        border-bottom: 2px solid #0064d5;
    }
}

@media (min-width: 769px) {


    .content-table {
        border-collapse: collapse;
        border-radius: 5px 5px 0 0;
        box-shadow: 0 0 20px rgba(0 0 0 0 15);
        font-size: 1.13em;
        margin: 1em 0;
        min-width: 769px;
        width: 100%;
        font-family: Raleway;
        font-weight: 500;
    }

        .content-table thead tr {
            max-width: 100%;
        }

    .scroll-tabla {
        grid-column-start: 2;
        grid-column-end: 7;
        grid-row-start: 4;
        grid-row-end: 5;
        height: 500px;
        overflow-y: auto;
        width: 100%;
    }

    .content-table th {
        background-color: #1b7ced;
        color: #ffffff;
        text-align: left;
        font-size: 1.28em;
        padding: 12px 15px;
        position: sticky;
        top: 0px;
        font-family: Ubuntu;
        font-weight: 700;
    }

    .content-table td {
        padding: 12px 15px;
    }

    .content-table tbody tr {
        border-bottom: 1px solid #dddddd;
    }

    tr:hover {
        background-color: rgba(207, 224, 248, 0.5);
    }

    .content-table tbody tr:nth-of-type(even) {
        background-color: #f3f3f3;
    }

    .content-table tbody tr:hover:nth-of-type(even) {
        background-color: rgba(207, 224, 248, 0.5);
    }

    .content-table tbody tr:last-of-type {
        border-bottom: 2px solid #0064d5;
    }

    .contenidoGral {
        display: grid;
        grid-template-columns: repeat(7, auto);
        grid-template-rows: repeat(5,auto);
        justify-content: space-around;
        align-items: center;
        min-width: 800px;
    }

    .encabezado {
        display: flex;
        flex-direction: row;
        margin-top: 15px;
    }

    #header {
        grid-column-start: 6; /* tenia 4 */
        grid-column-end: 6;
        grid-row-start: 1;
        grid-row-end: 2;
        display: flex;
        /*justify-self: flex-end; */
        margin-top: 1px; /* tenia 17 */
        font-family: Ubuntu;
        font-weight: 400;
    }

    .menuBar {
        display: none;
    }

    #header2 {
        grid-column-start: 3;
        grid-column-end: 7;
        grid-row-start: 2;
        grid-row-end: 3;
        display: flex;
        justify-content: start;
        align-self: center;
        background-image: url(../img/main_content_top_shadow.png);
        background-position: center top;
        background-repeat: repeat-x;
        margin-top: 30px;
    }

    .logo {
        grid-column-start: 3;
        grid-column-end: 4;
        grid-row-start: 1;
        grid-row-end: 2;
        justify-self: end;
        margin-top: 20px;
        align-self: center;
    }

    .cuerpo {
        grid-column-start: 2;
        grid-column-end: 7;
        grid-row-start: 3;
        grid-row-end: 7;
        display: grid;
        justify-content: space-around;
        place-items: center;
    }

    .linkSucursal {
        color: #ff9900;
    }


    .link > a {
        color: #0064d5;
        padding: .65em;  /* .75em */
        text-align: center;
        text-decoration: none;
        transition: all .5s;
    }

        .link > a:hover {
            background: #ffffff06;
            color: #ff9900;
        }

        .link > a.horarioSel {
            background: #ffffff06;
            color: #ff9900;
        }

    .link > .line {
        background: #68a;
        height: 1px;
        pointer-events: none;
    }

    .line {
        display: none;
    }


    .link {
        display: inline-block;
        grid-template-columns: repeat(var(--items), 1fr);
        position: relative;
        font-size: 0.85em; /* 0.9em */
        font-family: Raleway;
        font-weight: 400;
    }


    h2, h3, p {
        display: inline;
        justify-content: center;
        align-self: center;
    }

    h3 {
        color: #428257;
        font-size: 1.78em;
        font-family: Ubuntu;
        font-weight: 700;
    }

    h2 {
        font-family: Ubuntu;
        font-weight: 700;
        font-size: 1.58em;
    }

    p {
        padding-left: 30px;
        font-family: Ubuntu;
        font-weight: 400;
        font-size: 1.30em;
        color: #555555;
    }

    .input-bar {
        grid-column-start: 2;
        grid-column-end: 7;
        grid-row-start: 3;
        grid-row-end: 4;
        display: flex;
        width: 100%;
        justify-self: center;
        align-self: center;
    }

    .input-group {
        display: flex;
        align-content: space-around;
        align-items: flex-start;
        padding: 2em;
        width: 35%;
    }

    .boton {
        width: 100px;
        height: 30px;
        align-self: center;
        padding: 5px 10px;
        text-align: center;
        text-transform: uppercase;
        transition: 0.5s;
        background-size: 200% auto;
        color: white;
        border-radius: 5px;
        display: block;
        border: 0px;
        font-weight: 700;
        background-image: linear-gradient(to right, #0000ff, #4481eb, #0000ff, #3f86ed);
        box-shadow: 0 4px 15px 0 rgba(65, 132, 234, 0.75);
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        align-content: center;
    }

        .boton:hover {
            background-position: right center;
            color: #fff;
            text-decoration: none;
        }

    boton :active {
        transform: scale(0.95);
    }

    label {
        position: relative;
        width: 40%;
        align-self: center;
        font-size: 1.25em;
        text-align: end;
        color: #444444;
    }



    button {
        margin-left: 20px;
    }

    .content-select {
        border: 1px solid #dddddd;
        appearance: none;
        padding: 0.25em 0.25em 0.25em 0.25em;
        width: 80%;
        font-size: 1.20em;
        color: #333333;
        background: white;
        height: 99%;
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.25s ease;
        -webkit-appearance: none;
        -moz-appearance: none;
        font-family: Ubuntu;
        font-weight: 500;
    }

        .content-select:hover,
        .content-select:focus {
            outline: none;
            border: 1px solid #0064d5;
        }



    .option::-webkit-scrollbar {
        width: 4px;
    }

    .option::-webkit-scrollbar-track {
        background: #0064d5;
        border-radius: 25px;
    }

    .option::-webkit-scrollbar-thumb {
        background: #0064d5;
        border-radius: 25px;
    }

    #content-box-overlay {
        max-width: 1270px;
        text-align: center;
        padding-top: 30px;
        padding-bottom: 20px;
       
    }

}
