﻿@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');


*, *:before, *:after {
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #000243;
    background-attachment: fixed;
}

/* Scroll Personalizado para div */

.contenedor::-webkit-scrollbar {
    width: 10px;
}

.contenedor::-webkit-scrollbar-thumb {
    background: #000243;
    border-radius: 5px;
}

/* Contenedor Padre e Interno */
.padre {
    flex-flow: column nowrap;
}

.margen-interno {
    padding: 0 10px;
    position: relative;
    max-width: 1315px;
    margin: 10px auto;
}
/*------------------------------*/

/* boton regresar arriba */
.arriba {
    display: none;
    padding: 20px;
    background: #0F3FB7;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 15px;
    border-radius: 60px;
    z-index: 999;
}
/* ---------------------- */

/* cambiar tama;o de texto en la pagina */
.changeSize {
    float: right;
    padding: 5px;
    align-items: center;
    margin: 10px;
}

    .changeSize .sizefma {
        font-size: 22px;
        text-align: center;
        padding: 5px;
        text-decoration: none;
        color: #000;
        font-weight: bold;
    }

    .changeSize .sizefn {
        font-size: 18px;
        align-items: center;
        padding: 5px;
        text-decoration: none;
        color: #000;
        font-weight: bold;
    }

    .changeSize .sizefp {
        font-size: 14px;
        vertical-align: middle;
        padding: 5px;
        text-decoration: none;
        color: #000;
        font-weight: bold;
    }
/* -------------------------- */

/* nav bar */
.menu {
    position: fixed;
    z-index: 999;
    background-color: #fff;
    height: 80px;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #0F3FB7;
    box-shadow: 5px 0 10px rgba(0,0,0, .6);
}

.logo {
    color: #000243;
    font-size: 20px;
    padding: 0 30px;
    font-weight: bold;
}

.logimg {
    width: 200px;
}

.menu_items {
    display: flex;
    list-style: none;
    margin-right: 30px;
    float: right;
}

    .menu_items li {
        margin: 0 5px;
    }

        .menu_items li a {
            padding: 8px 10px;
            text-decoration: none;
            display: block;
            text-transform: uppercase;
            color: #000243;
            border-bottom: 2px #000243 solid;
            border-top: 2px #000243 solid;
            border-right: 20px #D5DBDB solid;
            border-left: 20px #F4F6F6 solid;
            align-items: center;
        }

            .menu_items li a:hover, li a.active {
                background-color: #000243;
                color: #fff;
                transition: .6s;
            }

.btn_menu {
    margin-right: 30px;
    font-size: 25px;
    color: #002043;
    cursor: pointer;
    display: none;
}

ul.mostrar {
    top: 75px;
    transition: 1s;
}

/* Contenido body */
.section {
    background: #F7F7F7;
    display: flex;
    box-shadow: 2px 3px 10px gray;
    border: 6px solid #0F3FB7;
    width: 1315px;
}

.topAdmin {
    top: 100px;
}

.articulos {
    flex: 2 1 auto;
    display: flex;
    flex-flow: row wrap;
    margin: 0px;
}

.article {
    padding: 5px;
    flex: 1 1 40%;
    font-size: 16px;
    letter-spacing: 1px;
    flex: 1 1 45%;
    background: #E5E7E9;
    margin-bottom: 10px;
    margin-top: 10px;
    border-radius: .5em;
    width: 1000px;
    overflow: auto;
}

.tamimg {
    display: block;
    float: left;
    margin: 2px;
    margin-right: 10px;
    margin-bottom: 5px;
    align-content: center;
}

    .tamimg img {
        max-width: 200px;
        overflow: auto;
    }

.article a {
    color: #fff;
    font-size: 13px;
    padding: 10px;
    background: #0F3FB7;
    margin: 10px 0;
    margin-left: 8px;
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-bottom: 2px #0F3FB7 solid;
    border-top: 2px #0F3FB7 solid;
    border-right: 20px #D5DBDB solid;
    border-left: 20px #F4F6F6 solid;
}

    .article a:hover {
        background: #000243;
    }

.article p {
    margin: 10px;
    text-align: justify;
    font-weight: 100;
    padding-bottom: 20px;
}

h3 {
    color: #fff;
    font-size: 13px;
    padding: 10px 0;
    margin-top: -80px;
}

h2 {
    text-transform: uppercase;
    padding: 5px 0 10px 0;
    color: #000243;
    margin-top: 10px;
    margin-left: 5px;
}

.navegacion {
    background: #000243;
    flex: 1 1 100%;
    margin: 10px 10px 0 0px;
}

    .navegacion a {
        color: #fff;
        font-size: 11px;
        text-transform: uppercase;
        padding: 0 10px;
        letter-spacing: 2px;
        margin-bottom: 5px;
        text-decoration: none;
    }

        .navegacion a:hover {
            background: #0F3FB7;
            border-radius: 50em;
            text-decoration: none;
        }

.aside {
    text-align: center;
    align-items: center;
}

.title-aside {
    background: #0F3FB7;
    color: #fff;
    padding: 10px;
    text-transform: uppercase;
}

.publicidad {
    width: 300px;
    padding: 3px 7px 3px 5px;
}

/* slider */

ul, ol {
    list-style: none;
}

.slideshow {
    margin: auto;
    max-width: 1315px;
    position: relative;
    padding-top: 90px;
    text-align: center;
}

/*.slider li, ul {
    width: 100%;
}*/

.slider li {
    overflow: hidden;
}

    .slider li img {
        width: 100%;
    }

.slider .caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50px;
    left: 0;
    padding: 15px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

    .slider .caption > h1 {
        font-size: 50px;
    }

    .slider .caption > p {
        margin-top: 10px;
        font-size: 25px;
    }

.pagination {
    position: absolute;
    top: 90%;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1;
}

    .pagination li {
        font-size: 15px;
        margin: 2px 5px;
        color: #fff;
        cursor: pointer;
    }

.left, .right {
    position: absolute;
    top: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
    z-index: 1;
}

.left {
    left: 20px;
}

.right {
    right: 20px;
}

/*---------------------------*/

/* formulario contacto */

.contact-section1 {
    width: 100%;
    justify-content: center;
    align-items: center;
}

.contact-info1 {
    color: #000243;
    max-width: 600px;
    line-height: 65px;
    padding-left: 50px;
    display: flex;
    flex-wrap: wrap;
}

    .contact-info1 i {
        margin-right: 10px;
        margin-left: 20px;
        font-size: 20px;
    }

.contact-form1 {
    max-width: 700px;
    margin-bottom: 60px;
    text-align:left;
    display: inline-block;
}

.contact-info1, .contact-form1 {
    flex: 1;
}

    .contact-form1 h2 {
        color: #000243;
        text-align: center;
        font-size: 35px;
        text-transform: uppercase;
        margin-bottom: 30px;
    }

    .contact-form1 .text-box1 {
        background: #A9CCE3;
        color: #000243;
        border: none;
        width: calc(50% - 2px);
        height: 50px;
        padding: 12px;
        border-radius: 5px;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

        .contact-form1 .text-box1:first-child {
            /*margin-right: 15px;*/
        }

    .contact-form1 .textarea {
        background: #A9CCE3;
        color: #000243;
        border: none;
        width: 100%;
        padding: 12px;
        min-height: 200px;
        max-height: 400px;
        resize: vertical;
        border-radius: 5px;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
        font-family: 'Roboto', sans-serif;
    }

    .contact-form1 .send-btn1 {
        float: right;
        background: #0F3FB7;
        color: #fff;
        border: none;
        width: 120px;
        height: 40px;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        cursor: pointer;
        transition: 0.3s;
        transition-property: background;
        border-bottom: 2px #0F3FB7 solid;
        border-top: 2px #0F3FB7 solid;
        border-right: 20px #D5DBDB solid;
        border-left: 20px #F4F6F6 solid;
        margin-bottom: 20px;
    }

        .contact-form1 .send-btn1:hover {
            background: #000243;
        }

.container-mapa {
    width: 100%;
    height: 500px;
}

.mapa {
    width: 98%;
    height: 100%;
    border: 0;
}

.caja {
    background: #A9CCE3;
    padding: 10px;
    width: 350px;
    border: none;
    font-size: 16px;
}

/*** Estilos de checkbox en formulario contacto ***/

input[type="checkbox"] {
    display: none;
}

    input[type="checkbox"] + label {
        line-height: 3em;
    }

    input[type="checkbox"]:disabled + label {
        color: #ccc !important;
        cursor: not-allowed;
    }

    input[type="checkbox"] + label:before {
        content: "";
        width: 26px;
        height: 26px;
        float: left;
        margin-right: 0.5em;
        border: 2px solid #ccc;
        margin-top: 0.5em;
    }

    input[type="checkbox"]:checked + label:after {
        content: "";
        width: 12px;
        height: 6px;
        border: 4px solid #0F3FB7;
        float: left;
        margin-left: -1.95em;
        border-right: 0;
        border-top: 0;
        margin-top: 1em;
        transform: rotate(-55deg);
    }

    input[type="checkbox"]:checked + label:before {
        border-color: #0F3FB7;
    }

    input[type="checkbox"]:checked:disabled + label {
        background: #ccc;
        color: #fff !important;
    }

        input[type="checkbox"]:checked:disabled + label:before {
            border-color: #0F3FB7;
        }

.content {
    text-align: left;
}

@media (max-width: 650px) {
    .content {
        width: 100%;
    }
}
/*--------------------------------*/

/* Estilos de portafolio */
.title {
    text-align: center;
    font-size: 40px;
    color: #6a6a6a;
    margin-top: 10px;
    font-weight: 100;
}

.container {
    max-width: 1300px;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}

.d-customer {
    margin: 5px;
    text-align: justify;
}

.container .card {
    width: 300px;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 10px;
    text-align: center;
    transition: all 0.25s;
}

.card .contCardCli {
    margin-top: 5px;
    height: 230px;
}

.container .card-S {
    width: 300px;
    height: 200px;
    border-radius: 2px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 10px;
    text-align: center;
    transition: all 0.25s;
}

.container .card:hover {
    transform: translateY(-15px);
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
}

.container .card img {
    width: 300px;
}

.container .card-S img {
    width: 80px;
    /*height: 260px;*/
}

.container .card h4 {
    font-weight: 600;
}

.container .card-S h4 {
    font-weight: 600;
    text-transform: uppercase;
}

.container .card p {
    padding: 0 1rem;
    font-weight: 300;
    text-align: justify;
}

.container .card-S p {
    padding: 0 1rem;
    font-weight: 300;
    text-align: justify;
}

.container .card a {
    font-weight: 500;
    color: #fff;
    padding: 10px;
    background: #0F3FB7;
    margin: 10px 0;
    margin-left: 8px;
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-bottom: 2px #0F3FB7 solid;
    border-top: 2px #0F3FB7 solid;
    border-right: 20px #D5DBDB solid;
    border-left: 20px #F4F6F6 solid;
}

.card a:hover {
    background: #000243;
}

.container .card-S a {
    font-weight: 500;
    color: #fff;
    padding: 10px;
    background: #0F3FB7;
    margin: 10px 0;
    margin-left: 8px;
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-bottom: 2px #0F3FB7 solid;
    border-top: 2px #0F3FB7 solid;
    border-right: 20px #D5DBDB solid;
    border-left: 20px #F4F6F6 solid;
}

.card-S a:hover {
    background: #000243;
}
/* ---------------------------------------- */

/* Estilos login */
.container-login {
    display: block;
    width: 1000px;
    margin-bottom: 50px;
    text-align: center;
    align-items: center;
}

.form-login {
    width: 400px;
    height: 340px;
    background: #000243;
    margin-top: 150px;
    box-shadow: 7px 13px 37px #000;
    padding: 20px 30px;
    border-top: 4px solid #0F3FB7;
    color: #FFF;
    margin-left: auto;
    margin-right: auto;
}

    .form-login h5 {
        margin: 0;
        text-align: center;
        height: 40px;
        margin-bottom: 30px;
        border-bottom: 1px solid;
        font-size: 22px;
    }

.controls {
    width: 100%;
    border: 2px solid #0F3FB7;
    margin-bottom: 15px;
    padding: 11px 10px;
    font-size: 16px;
    font-weight: bold;
}

.buttons {
    width: 80%;
    height: 40px;
    background: #0F3FB7;
    border: none;
    color: #FFF;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px #0F3FB7 solid;
    border-top: 2px #0F3FB7 solid;
    border-right: 20px #D5DBDB solid;
    border-left: 20px #F4F6F6 solid;
}

    .buttons:hover {
        background: #000243;
        color: #fff;
    }

.form-login p {
    height: 40px;
    text-align: center;
    border-bottom: 1px solid;
}

.form-login a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

    .form-login a:hover {
        text-decoration: underline;
    }

/****************************/

/* estilos administracion */
.contenido-admin {
    width: 1000px;
    height: 500px;
    overflow-y: scroll;
    float: left;
}

.info {
    padding: 10px;
}

.contenido-admin .info {
    text-align: right;
    float: left;
}

.contenido-admin .contpri {
    width: 950px;
    padding: 5px;
    margin-left: 10px;
}

.contpri .text-box1 {
    background: #A9CCE3;
    color: #000243;
    border: none;
    width: calc(50% - 2px);
    Width: 250px;
    height: 35px;
    padding: 12px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.contpri .text-area {
    background: #A9CCE3;
    color: #000243;
    border: none;
    width: calc(50% - 2px);
    Width: 250px;
    height: 100px;
    padding: 12px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.aside-admin {
    width: 270px;
    height: 500px;
    overflow-y: scroll;
    float: left;
    background: #A9CCE3;
}

.botones {
    font-weight: 500;
    color: #fff;
    font-size: 13px;
    padding: 10px;
    background: #0F3FB7;
    margin: 10px 0;
    margin-left: 8px;
    display: inline-block;
    text-decoration: none;
    border-bottom: 2px #000243 solid;
    border-top: 2px #000243 solid;
    border-right: 20px #D5DBDB solid;
    border-left: 20px #F4F6F6 solid;
}

.btn-eliminar {
    font-weight: 500;
    color: #fff;
    font-size: 13px;
    padding: 10px;
    background: #CB4335;
    margin: 10px 0;
    margin-left: 8px;
    display: inline-block;
    text-decoration: none;
    border-bottom: 2px #000243 solid;
    border-top: 2px #000243 solid;
    border-right: 20px #D5DBDB solid;
    border-left: 20px #F4F6F6 solid;
}

.botones:hover {
    background: #000243;
}

.btn-eliminar:hover {
    background: #C0392B;
}
/* ------------------------------ */

/* estilos productos */

.contenedor {
    margin: auto;
    padding: 5px;
    /*background: #E5E7E9;*/
    margin-top: 5px;
    border-radius: .5em;
    margin-bottom: 20px;
}

.titulo {
    text-align: left;
    font-size: 25px;
    margin-bottom: 20px;
}

.sub-titulo {
    font-size: 24px;
}

.contenedor h1 {
    font-size: 70px;
    text-align: center;
    -webkit-text-stroke: 2px #0B57E4;
    color: transparent;
    font-family: 'Arial Black', sans-serif;
}

.contenedor h2 {
    font-size: 35px;
    text-align: center;
    color: #0B57E4;
}

.contenedor img {
    width: 400px;
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
}


.contenedor .contimagp img {
    width: 400px;
    float: none;
}


.contenedor p {
    margin-top: 20px;
    text-align: justify;
    line-height: 20px;
}

.contenedor a {
    color: #fff;
    padding: 10px;
    background: #0F3FB7;
    margin: 10px 0;
    margin-left: 8px;
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-bottom: 2px #0F3FB7 solid;
    border-top: 2px #0F3FB7 solid;
    border-right: 20px #D5DBDB solid;
    border-left: 20px #F4F6F6 solid;
}

    .contenedor a:hover {
        background: #000243;
    }

.contenedor ul {
    margin-top: 20px;
    text-align: justify;
    line-height: 20px;
}

@media only screen and (min-width:320px) and (max-width:768px) {
    .contenedor {
        width: 100%;
        padding: 10px;
        align-content: center;
    }

        .contenedor img {
            width: 250px;
        }

        .contenedor .contimagp img {
            width: 250px;
        }

    .contenido-admin {
        width: 100%;
    }

        .contenido-admin .contpri {
            width: 100%;
        }

    .aside-admin {
        width: 100%;
    }

    .tabla {
        /*width: 100%;*/
        display: block;
        overflow-x: auto; /* Horizontal */
    }
}

/*-----*/

.container1 {
    max-width: 1300px;
    margin: 20px auto;
}

.tabs {
}

    .tabs ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
    }

        .tabs ul li {
        }

            .tabs ul li label {
                position: relative;
                display: block;
                padding: 8px 15px;
                cursor: pointer;
                min-width: 100px;
                text-align: center;
                font-weight: 700;
                text-transform: uppercase;
                border-radius: 8px 8px 0 0;
                background: #5D6D7E;
            }

            .tabs ul li:nth-child(1) label {
                background: #D6DBDF;
            }

            .tabs ul li:nth-child(2) label {
            }

            .tabs ul li:nth-child(3) label {
            }

            .tabs ul li:nth-child(4) label {
            }

.tab-containerp {
}

    .tab-containerp input {
        position: absolute;
        width: 0;
        height: 0;
        margin: 0;
        z-index: -100;
        top: -10000px;
    }

        .tab-containerp input:checked + .tab-contentt {
            display: block;
        }

.tab-contentt {
    background: #f0f0f0;
    padding: 10px;
    display: none;
}

    .tab-contentt:nth-of-type(1) {
        background: #f0f0f0;
    }

    .tab-contentt:nth-of-type(2) {
        background: #D6DBDF;
    }

    .tab-contentt:nth-of-type(3) {
        background: #f0f0f0;
    }

    .tab-contentt:nth-of-type(4) {
        background: #f0f0f0;
    }

    .tab-contentt h2 {
        margin: 0 0 20px;
    }

/* ----------------------------------- */

/* Pie de pagina */

footer {
    border-top: 15px;
    width: 100%;
    background: #000243;
    color: white;
}

.container-footer-all {
    width: 100%;
    max-width: 1300px;
    margin: auto;
    padding: 40px;
}

.paraFooter {
    padding: 120px;
}

.container-body {
    display: flex;
    justify-content: space-between;
}

.colum1 {
    max-width: 400px;
}

    .colum1 h1 {
        font-size: 22px;
    }

    .colum1 p {
        color: #C7C7C7;
        margin-top: 20px;
    }

.colum2 {
    max-width: 400px;
}

    .colum2 h1 {
        font-size: 22px;
    }

.row {
    margin-top: 20px;
    display: flex;
}

    .row img {
        width: 36px;
        height: 36px;
    }

    .row label {
        margin-top: 10px;
        margin-left: 20px;
        color: #C7C7C7;
    }

.colum3 {
    max-width: 400px;
}

    .colum3 h1 {
        font-size: 22px;
    }

.row2 {
    margin-top: 20px;
    display: flex;
}

    .row2 img {
        width: 200px;
        /*height: 36px;*/
    }

    .row2 label {
        margin-top: 10px;
        margin-left: 20px;
        max-width: 140px;
    }

.container-footer {
    width: 100%;
    align-items:center;
}

.footer {
    max-width: 1200px;
    margin: auto;
    display: flex;
    /*justify-content: space-between;*/
    padding: 20px;
}

.copyright {
    color: #C7C7C7;
}

    .copyright a {
        text-decoration: none;
        color: white;
        font-weight: bold;
    }

.information a {
    text-decoration: none;
    color: #C7C7C7;
}
/* ---------------------------------- */

/* tablas */
.containert {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

.table {
    width: 100%;
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    table-layout: fixed;
}

    .table caption {
        font-size: 28px;
        text-transform: uppercase;
        font-weight: bold;
        margin: 8px 0px;
    }

    .table tr {
        background-color: #f8f8f8;
        border: 1px solid #ddd;
    }

    .table th, .table td {
        font-size: 16px;
        padding: 8px;
        text-align: center;
    }

    .table thead th {
        text-transform: uppercase;
        background-color: #ddd;
    }

    .table tbody tr:hover {
        background-color: rgba(0, 0, 0, 0.2);
    }

    .table tbody td:hover {
        background-color: rgba(0, 0, 0, 0.3);
    }

/* responsive */

@media screen and (max-width: 800px) {
    #contenedor {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .slideshow {
    }

    .slider .caption p {
        display: none;
    }

    .slider .caption h1 {
        font-size: 18px;
    }

    .left, .right {
        font-size: 25px;
    }

    .slider li img {
        width: 350px;
    }

    .pagination {
        display: none;
    }
    /* tabla */
    .table {
        border: 0px;
    }

        .table caption {
            font-size: 22px;
        }

        .table thead {
            display: none;
        }

        .table tr {
            margin-bottom: 8px;
            border-bottom: 4px solid #ddd;
            display: block;
        }

        .table th, .table td {
            font-size: 12px;
        }

        .table td {
            display: block;
            border-bottom: 1px solid #ddd;
            text-align: right;
        }

            .table td:last-child {
                border-bottom: 0px;
            }

            .table td::before {
                content: attr(data-label);
                font-weight: bold;
                text-transform: uppercase;
                float: left;
            }
}


@media screen and (max-width: 952px) {
    .logo {
        font-size: 30px;
        padding-left: 35px;
    }

    .menu_items li a {
        font-size: 16px;
    }
}

@media screen and (max-width: 858px) {
    .menu {
        height: 75px;
    }

    .btn_menu {
        display: inline-flex;
    }

    .menu_items {
        position: fixed;
        width: 100vw;
        height: calc(100%-65px);
        background: #fff;
        top: -100vh;
        text-align: center;
        transition: all .7s;
        flex-direction: column;
    }

        .menu_items li {
            margin: 10px 0 0 0;
            line-height: 30px;
        }

            .menu_items li:hover {
                background: none;
            }

            .menu_items li a {
                font-size: 20px;
                font-weight: bold;
            }

                .menu_items li a:hover {
                    color: #fff;
                }

    .logo {
        font-size: 25px;
        padding-left: 35px;
    }
}

@media screen and (max-width: 858px) and (orientation: landscape) {
    .menu_items li {
        margin: 5px 0 0 0;
    }

    .menu_items {
        overflow: scroll;
        height: calc(100% - 80px);
    }
}



/*  RESPONSIVE
   ========================================================================= */

/* Tablets en horizonal y escritorios normales
   ------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1199px) {
    .section {
        width: auto;
    }

    .article {
        width: auto;
        padding: 0px;
        overflow: auto;
    }

    .aside {
        width: auto;
        display: flex;
        justify-content: center;
    }

    .section {
        flex-direction: column;
    }

    h1 {
        font-size: 15px;
        color: #fff;
    }

    .texto-principal {
        height: 450px;
    }

    .logimg {
        width: 150px;
    }

    .container-body {
        flex-wrap: wrap;
        text-align: center;
    }

    .colum1 {
        max-width: 100%;
    }

    .colum2,
    .colum3 {
        margin-top: 40px;
    }

    .form-login {
        width: 60%;
        margin-left: 150px;
        margin-top: 50px;
    }

    /* contacto */
    .contact-section1 {
        flex-direction: column;
    }

    .contact-info1, .contact-form1 {
        margin: 30px 50px;
    }

        .contact-form1 h2 {
            font-size: 30px;
        }

        .contact-form1 .text-box1 {
            width: 100%;
        }

    .caja {
        width: 100%;
    }
    /* --------------- */

    .container-login {
        width: auto;
    }

    .slider .caption h1 {
        font-size: 20px;
        color: #fff;
    }

    .slider .caption p {
        margin-top: 10px;
        font-size: 16px;
    }

    .changeSize {
        display: none;
    }
}

/* Móviles en horizontal o tablets en vertical
   ------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .articulos {
        flex-direction: column;
    }

    .off {
        display: none;
    }

    .section {
        width: auto;
        flex-direction: column;
    }

    .article {
        width: auto;
        padding: 0px;
        height: auto;
    }
    .article a{
        align-items:center;
    }

    .aside {
        width: auto;
        display: flex;
        justify-content: center;
    }

    h1 {
        font-size: 15px;
    }

    .texto-principal {
        height: 450px;
    }

    .article .tamimg {
        width: 100%;
        text-align: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    .logimg {
        width: 150px;
    }

    .container-body {
        flex-wrap: wrap;
        text-align: center;
    }

    .colum1 {
        max-width: 100%;
    }

    .colum2,
    .colum3 {
        margin-top: 40px;
        /*max-width: 100%;*/
    }

    .form-login {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
    }

    .container .card,
    .container .card img {
        width: 95%;
        margin: auto;
    }

        .container .card h4,
        .container .card p {
        }

    /* contacto */
    .contact-section1 {
        flex-direction: column;
    }

    .contact-info1, .contact-form1 {
        margin: auto;
    }

        .contact-form1 h2 {
            font-size: 30px;
        }

        .contact-form1 .text-box1 {
            width: 100%;
        }

    .caja {
        width: 100%;
    }
    /* --------------- */

    .container-login {
        width: auto;
    }

    .container-mapa {
        width: auto;
    }

    .contenedor h1{
        font-size:35px;
    }
    .contenedor h2 {
        font-size:20px;
    }

    .d-customer {
        margin: 5px;
        text-align: justify;
        font-size: 15px;
    }

    .slider .caption h1 {
        font-size: 20px;
    }

    .slider .caption p {
        margin-top: 10px;
        font-size: 16px;
    }

    .changeSize {
        display: none;
    }

    .conttabla {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }

        .conttabla > .table {
            margin-bottom: 0;
        }

            .conttabla > .table > thead > tr > th,
            .conttabla > .table > tbody > tr > th,
            .conttabla > .table > tfoot > tr > th,
            .conttabla > .table > thead > tr > td,
            .conttabla > .table > tbody > tr > td,
            .conttabla > .table > tfoot > tr > td {
                white-space: nowrap;
            }
}

/* Móviles en vertical
   ------------------------------------------------------------------------- */
@media (max-width: 480px) {
    h2 {
        text-align: center;
    }

    .article .tamimg {
        width: 100%;
        text-align: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    .aside {
        flex-direction: column;
    }

    .publicidad {
        margin: auto;
        width: 100%;
    }

    .form-login {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 50px;
    }

    .container .card,
    .container .card img {
        width: 95%;
        margin: auto;
    }

        .container .card h4,
        .container .card p {
            /*font-weight: 12px;*/
        }

    /* contacto */
    .contact-section1 {
        flex-direction: column;
    }

    .contact-info1, .contact-form1 {
        margin: auto;
    }

        .contact-form1 h2 {
            font-size: 30px;
        }

        .contact-form1 .text-box1 {
            width: 100%;
        }

    .caja {
        width: 100%;
    }
    /* --------------- */

    .container-login {
        width: auto;
    }

    .container-mapa {
        width: auto;
    }
}

/*  RESPONSIVE
   ========================================================================= */

/* Estilos para GridView */
.mGrid {
    width: 100%;
    background-color: #fff;
    margin: 5px 0 10px 0;
    border: solid 1px #525252;
    border-collapse: collapse;
}

    .mGrid td {
        padding: 2px;
        border: solid 1px #c1c1c1;
        color: #717171;
    }

    .mGrid th {
        padding: 4px 2px;
        color: #fff;
        background: #424242 url(grd_head.png) repeat-x top;
        border-left: solid 1px #525252;
        font-size: 0.9em;
        height: 50px;
    }

    .mGrid .alt {
        background: #fcfcfc url(grd_alt.png) repeat-x top;
    }

    .mGrid .pgr {
        background: #424242 url(grd_pgr.png) repeat-x top;
    }

        .mGrid .pgr table {
            margin: 5px 0;
        }

        .mGrid .pgr td {
            border-width: 0;
            padding: 0 6px;
            border-left: solid 1px #666;
            font-weight: bold;
            color: #fff;
            line-height: 12px;
        }

        .mGrid .pgr a {
            color: #666;
            text-decoration: none;
        }

            .mGrid .pgr a:hover {
                color: #000;
                text-decoration: none;
            }

/* otros estilos */
.table table tbody tr td a,
.table table tbody tr td span{
    position:relative;
    float:left;
    padding:6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration:none;
    background-color:#fff;
    border:1px solid #ddd;
}

.table table > tbody > tr > td > span
{
    z-index:3;
    color:#fff;
    cursor:default;
    background-color:#337ab7;
    border-color: #337ab7;
}

.table table > tbody > tr > td:first-child > a,
.table table > tbody > tr > td:first-child > span {
    margin-left: 0;
    border-top-left-radius:4px;
    border-bottom-left-radius:4px;
}

.table table > tbody > tr > td:last-child > a,
.table table > tbody > tr > td:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.table table > tbody > tr > td > a:hover,
.table table > tbody > tr > td > span:hover,
.table table > tbody > tr > td > a:focus,
.table table > tbody > tr > td > span:focus{
    z-index:2;
    color: #23527c;
    background-color:#eee;
    border-color: #ddd;
}

/* fondos vistas */
.conocenos{
    background-image:url('../imagenes/3_Servicios/S (2).jpg');
    height:auto;
}