﻿/* ------------------ */
/*  	GENERAL CSS	   */
/* ------------------ */

@charset 'UTF-8';

@import url('https://fonts.googleapis.com/css?family=Raleway');

@font-face {
    font-family: "calibri";
    src: local('calibri'), local('calibri'), url(../../fonts/calibri.ttf) format('truetype'), url('../../fonts/calibri.woff') format('woff');
}

body {
    background: white;
    font-size: 11pt;
    font-family: 'Raleway', "calibri", sans-serif;
    margin: 0;
    padding: 0;
    color: #8d96b2;
}

a {
    text-decoration: none;
}

li.active a {
    color: white;
}

li a {
    color: #8d96b2;
}

input, select {
    background: white;
    border: none;
    font-size: 1em;
    width: 85%;
    color: #8d96b2;
    text-align: left;
    line-height: 2em;
    padding: 0 0 0 1em;
}

    input::placeholder {
        color: #8d96b2;
    }

    input[type="date"]:before {
        color: white;
        margin-right: 0.5em;
    }

    input[type="date"]:focus:before,
    input[type="date"]:valid:before {
        content: "";
    }

h1, h2, h3, h4, h5, h6 {
    margin: 0.5em 0;
    font-weight: normal;
}

table {
    border-collapse: collapse;
    width: 90%;
    margin: 0;
}

/* The container */
.checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1.1em;
    color: white;
    width: 9em;
    background: #0681B2;
    padding: 0.5em;
    text-align: right;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .checkbox input {
        width: 0em;
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 5px;
    left: 5px;
    height: 24px;
    width: 24px;
    padding: 0;
    background: white;
}

/* On mouse-over, add a grey background color */
.checkbox:hover input ~ .checkmark {
    background-color: tomato;
    transition: 0.25s;
}

/* When the checkbox is checked, add a blue background */
.checkbox input:checked ~ .checkmark {
    background-color: #0681B2;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.switch input{
    float: left;
    position: relative;
    display: inline-block;
    width: 13em;
    height: 2.5em;
    color: white;
    line-height: 2.5em;
    margin: 0;
}

/* The slider */
.slider input {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .5s;
    transition: .5s;
    text-align: right;
    padding-right: 2em;
}

.slider:before input {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .5s;
    transition: .5s;
}

input:checked + .slider {
    background-color: #0681B2;
}


.search {
    background: white;
    width: 45px;
    height: 30px;
    padding: 2px;
    margin: 3px;
    font-size: 0px;
    border-radius: 20px;
}

 .search img {
     width: 26px;
 }

 .search:hover {
     background: #BCBC1B;
     -webkit-transition: 0.25s;
     transition: 0.25s;
 }

/* ------------------- */
/*  DESKTOP 1200 PX +  */
/* ------------------- */

/* ------ HEADER / MAIN CONTAINER ------- */

/*header {
    width: 100%;
    /*background-image: url('../images/especialidades-bg.jpg');*/
    /*height: 20em;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;*/
    /*display: flex;
    display: -webkit-flex;
    flex-flow: nowrap;
    -webkit-flex-flow: nowrap;
    justify-content: space-between;
    -webkit-justify-content: space-between;*/
    /*border-bottom: 3px solid #8d96b2;*/
/*}*/
header {
    width: 100%;
    background: white !important;
    height: 20em;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    border-bottom: 0px !important;
}

    /*header .brand img {
        padding: 0.5em 4em;
        width: 13em;
    }*/

    header .back {
        background: #141414;
        text-align: center;
        width: 4em;
        color: white;
        padding: 1em 1em;
        display: flex;
        display: -webkit-flex;
    }

        header .back img {
            padding: 0 auto;
            margin: 0.25em auto;
        }

        header .back:hover {
            color: white;
            background: #0681B2;
            -webkit-transition: 0.25s;
            transition: 0.25s;
        }

        .menu {
            display: flex;
            flex-direction: row;
            width: 90%;
            position: absolute;
            left: 0;
            margin: 0 5%;
        }

        .call, .brand, .social {
            width: 33%;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
        }

        .social img {
            margin: 0 0.2em;
        }

nav {
    width: 50%;
    font-size: 1em;
    padding: 0;
    float: right;
}

    nav ul {
        display: flex;
        display: -webkit-flex;
        flex-flow: nowrap;
        -webkit-flex-flow: nowrap;
        text-transform: uppercase;
        justify-content: flex-end;
        -webkit-justify-content: flex-end;
        line-height: 2.5em;
        margin-top: -1.5em;
        padding: 0;
    }

    nav li {
        background: white;
        text-align: center;
        border: solid 3px #8d96b2;
        color: #8d96b2;
        list-style: none;
        width: 12em;
        font-size: 10pt;
    }

li.active {
    background: #8d96b2;
    color: white;
}

.main {
    margin: 1.5em 0 0 0;
    width: 100%;
    display: flex;
    display: -webkit-flex;
    flex-flow: wrap;
    -webkit-flex-flow: wrap;
    padding: 0;
}

.headline {
    width: 100%;
}

    .headline h2 {
        padding: 0 0 0.25em 2.5em;
    }

.left .headline h2 {
    float: left;
    margin-top: 1.25em;
}

.left {
    padding-left: 4em;
    width: 70%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.left-special {
    display: flex;
    flex-direction: row;
    width: 90%;
    padding-left: 4em;
}

.sidenav-box {
    background: #8d96b2;
    padding: 0.6em 3em 0.6em 0;
    margin-left: 18%;
    display: flex;
    flex-direction: row;
    border-radius: 50px;
    width: 75%;
}

    .sidenav-box h2 {
        float: left;
    }

.custom {
    padding-left: 5.5em;
    width: 100%;
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
}

.custom-select {
    padding: 0.5em 0 0 0;
    width: 90%;
    font-size: 0.9em;
}

    .custom-select select {
        background: white;
        color: gray;
        border: 1px solid white;
        padding: 0.5em 1em;
    }

    .custom-select option {
        background: white;
        line-height: 1em;
        color: #141414;
    }

.right {
    width: 20%;
    padding-left: 1em;
    text-align: center;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
}

    .right h2 {
        text-align: left;
    }

.abort-box {
}

.abort-box-inner {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
}

.myBtn {
    text-align: center;    
    width: 10em;
    line-height: 1.5em;
    color: tomato;
    padding: 0 1em;
    line-height: 1.5em;
    cursor: pointer;
    font-size: 1.25em;
    border: 3px solid tomato;
    margin: 0.5em 0;
}

    .myBtn:hover {
        background: tomato;
        color: white;
        transition: 0.25s;
    }

.solicitude {
    width: 100%;
}

.solicitude-special {
    width: 75%;
    margin: 0;
}

    .solicitude-special .perfil {
        width: 95%;
    }

    .solicitude-special .base {
        width: 75%;
    }

    .solicitude-special .convenios {
        width: 95%;
        padding: 1em 0;
        border-left: none;
        border-top: 2px solid #8d96b2;
    }

.solicitude .avatar img {
    width: 6em;
    height: 8em;
}

.solicitude .base {
    width: 40%;
}

.perfil {
    width: 130%;
    padding: 1em 0;
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    border-bottom: 1px solid #ccc;
}

.base {
    width: 50%;
    text-align: left;
    margin: 0 0.5em;
}

.avatar img {
    border: solid 3px #8d96b2;
    width: 7em;
    height: 9em;
    object-fit: cover;
}

/*.horario {
    border-left: 15px solid #0681B2;
    text-align: left;
    padding: 0.3em 1em;
    margin: 0.2em 0;
}*/
.horario {
    background: #8d96b2;
    text-align: left;
    padding: 0.3em 1em;
    margin: 0.2em 0;
    color: white;
}

    .horario:hover {
        color: white;
        background: #BCBC1B;
        -webkit-transition: 0.25s;
        transition: 0.25s;
    }

    .horario h1, h2, h3, h4, h5, h6 {
        margin: 0;
        padding: 0;
        line-height: 1.5em;
        font-size: 0.95em;
    }

.convenios {
    width: 65%;
    border-left: 3px solid #8d96b2;
    text-align: left;
    padding: 0 0.5em;
    margin: 0;
}

    .convenios ul {
        margin: 0.5em 0;
        padding: 0;
        display: flex;
        display: -webkit-flex;
        flex-direction: row;
        -webkit-flex-direction: row;
        flex-wrap: wrap;
    }

    .convenios li {
        list-style-type: none;
        font-size: 0.9em;
        line-height: 1.5em;
        /*border: 2px solid #69aca2;*/
        color: #8d96b2;
        padding: 0.5em;
        margin: 0.1em;
    }

.buttons {
    width: 100%;
}

.button {
    border: 2px solid #8d96b2;
    border-radius: 20px;
    text-align: center;
    width: 45%;
    color: #8d96b2;
    margin: 0.1em;
    line-height: 2em;
    cursor: pointer;
    float: left;
}

    .button:hover {
        background: #8d96b2;
        color: white;
        transition: 0.25s;
    }

.container {
    width: 120%;
    display: flex;
    display: -webkit-flex;
    flex-flow: nowrap;
    -webkit-flex-flow: nowrap;
    flex-direction: row;
    -webkit-flex-direction: row;
}

.container2 {
    width: 125%;
}

    .container2 img {
        width: 40%;
        margin: 0 auto;
    }

#calendar {
    width: 65%;
}

.schedule {
    width: 55%;
    padding: 1em 2em;
}

    .schedule .button {
        width: auto;
        height: 2em;
        font-size: 1em;
        line-height: 2em;
        margin: 0.2em;
        padding: 0 0.25em;
    }

.h-fecha {
    text-align: left;
}

.day {
    background: #8d96b2;
    border: solid 2px #8d96b2;
    border-radius: 10px;
    width: 20%;
    text-align: center;
    color: white;
    line-height: 1.75em;
    font-size: 1.75em;
    float: left;
    margin-right: 0.25em;
}

.form {
    width: 50%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

    .form input {
        border: 3px solid #8d96b2;
        float: left;
        width: 25em;
        margin: 0.25em 0.25em 0.25em 0;
        color: #8d96b2;
    }

   .form input::placeholder {
       color: #8d96b2;
       font-size: 0.75em;
   }

    .form .half {
        width: 12.25em;
    }

    .form input[type="date"] {
        color: #8d96b2;
    }

        .form input[type="date"]:focus:before,
        .form input[type="date"]:valid:before {
            content: "";
        }

    .form .custom-select {
        padding: 0;
        width: 16.5em;
        margin: 0.5em 0;
    }

    .form .nacimiento {
    }

        .form .nacimiento p {
            color: #8d96b2;
        }

    .form .custom-select select {
        background: white;
        color: #8d96b2;
        border: 3px solid #8d96b2;
        padding: 0.5em 1em;
    }

    .input-validation-error {
        border: 1px solid #b94a48;
    }

    .left .myBtn {
        margin: 0;
    }

.box {
    background: #0681B2;
    margin: 0.5em 0;
    padding: 1em;
    display: flex;
    flex-direction: row;
    width: 91%;
}

    .box h2 {
        color: white;
        line-height: 1.5em;
    }

    .box input {
        border: 3px solid white;
        border-left: 20px solid white;
        color: white;
        width: 50%;
        margin: 0 1em;
    }

footer {
    margin-top: 2em;
    border-top: 3px solid #8d96b2;
    width: 100%;
    color: #8d96b2;
    display: flex;
    display: -webkit-flex;
    flex-flow: nowrap;
    -webkit-flex-flow: nowrap;
    justify-content: space-between;
    -webkit-justify-content: space-between;
}

    footer ul {
        margin: 1em auto;
        display: flex;
        flex-direction: row;
    }

    footer li {
        text-align: center;
        list-style: none;
        padding: 0 1em;
    }

.masterkey {
    /*float: right;*/
    margin: 0em;
}

    /*.masterkey img {
        width: 10em;
    }*/

/* box special activado cuando exista una opción de busqueda */

.special .perfil {
    border-bottom: none;
}

.special .avatar img {
    border: solid 3px #8d96b2;
    width: 9em;
    height: 12em;
    object-fit: cover;
}

.special .horario {
    font-size: 1em;
    padding: 0.5em;
}

.special .button {
    width: 47%;
    padding: 0.5em 0;
}

.special .convenios li {
    font-size: 1em;
}

/* ------------------ */
/*  TABLETS  1000 PX  */
/* ------------------ */
@media screen and (max-width:1000px) {
    .search {
        width: 50px;
        height: 35px;
        padding: 5px;
        margin: 8px;
        font-size: 0px;
    }

    header .brand img {
        padding: 0.5em 3em;
        width: 13em;
    }

    nav {
        width: 100%;
        top: 1em;
    }

        nav ul {
            line-height: 2.5em;
            margin-top: 0em;
        }

        nav li {
            background: white;
            text-align: center;
            border: solid 3px #8d96b2;
            color: #8d96b2;
            list-style: none;
            width: 10em;
            font-size: 10pt;
            width:20%;
        }

    li.active {
        background: #8d96b2;
        color: white;
    }

    .headline h2 {
        padding: 0 0 0.25em 2em;
    }

    .left, .left-special {
        width: 90%;
        padding-left: 3.5em;
        flex-wrap: wrap;
    }

    .custom {
        padding-left: 0;
    }

    .sidenav-box {
        padding: 0em;
        margin: 0 0 1em -1em;
        flex-direction: row;
        -webkit-flex-direction: row;
        width: 90%;
    }

    .custom-select {
        padding: 1em 0.5em;
        width: 40%;
    }

    .right {
        width: 97%;
        padding-left: 0%;
        margin: 2em 0;
    }

    .abort-box-inner {
        width: 100%;
        flex-direction: row;
        -webkit-flex-direction: row;
    }

    .abort-box input {
        width: 50%;
        margin: 0.5em 0;
        float: left;
    }

    .myBtn {
        float: left;
        margin: 0.5em 0;
    }

    .sidenav-box {
        padding: 1em 1em 0 1em;
    }

    .perfil {
        max-width: 100%;
        min-width: 0%;
        flex-wrap: wrap;
    }

    .avatar img {
        width: 6em;
        height: 7em;
    }

    .base {
        width: 35%;
    }

    .horario {
        margin: 0.5em 0;
        font-size: 0.9em;
    }

    .container {
        width: 100%;
    }

    .container2 {
        width: 100%;
    }

        .container2 img {
            width: 50%;
        }

    #calendar {
        width: 75%;
    }

    .schedule {
        width: 75%;
        margin-left: 1em;
    }

    .button {
        width: 45%;
    }

    .solicitude {
        width: 100%;
    }

        .solicitude .base {
            width: 32%;
        }

    .solicitude-special {
        width: 90%;
        margin: 0;
    }

    .convenios {
        width: 45%;
        border-left: 3px solid #8d96b2;
        text-align: left;
    }

        .convenios li {
            font-size: 0.85em;
        }

    .form {
        width: 50%;
    }

        .form input {
            width: 90%;
        }

        .form .half {
            width: 11.5em;
        }

        .form .custom-select {
            padding: 0;
            width: 15.5em;
            margin: 0.5em 0;
        }

    footer ul {
        margin: 1em 0;
        display: flex;
        flex-direction: column;
    }

    footer li {
        text-align: left;
        list-style: none;
        padding: 0 1em;
    }

    /* box special activado cuando exista una opción de busqueda */

    .special .perfil {
        border-bottom: none;
    }

    .special .base {
        width: 35%;
        padding: 0;
        margin: 0 0.25em;
    }

    .special .avatar img {
        border: solid 3px #8d96b2;
        width: 7.5em;
        height: 11em;
        object-fit: cover;
    }

    .special .horario {
        font-size: 1em;
        padding: 0.25em 0.75em;
    }

    .special .button {
        width: 46%;
        padding: 0.5em 0;
    }

    .special .convenios {
        margin: 0em;
        width: 40%;
    }

        .special .convenios li {
            font-size: 0.95em;
            line-height: 1.25em;
        }
}

/* ------------------ */
/*  TABLETS  768 PX   */
/* ------------------ */
@media screen and (max-width:768px) {

    header {
        background-attachment: inherit !important;
        height: 18em;
        background-position: center top;
    }

    .tiroexse{
        margin-top:30px;
    }

    .menu {
            width: 100%;
            margin: 0;
        }

    .call {
        display: none;
    }

    .call, .brand, .social {
        width: 50%;
    }

    .search {
        width: 60px;
        height: 50px;
        padding: 5px;
        margin: 8px 0px;
    }

        .search img {
            width: 40px;
            padding: 5px;
            float: left;
        }

    /*/*header .brand img {
        padding: 0.5em 2em;
        width: 13em;
    }*/*/

    nav li {
        padding-top: inherit;
        width: 28%;
        font-size: 9pt;
    }

    li.active {
        background: #8d96b2;
        color: white;
    }

    .headline h2 {
        padding: 0 0 0.25em 1.5em;
    }

    .left, .left-special {
        width: 90%;
        padding-left: 2em;
    }

    .custom {
        flex-direction: column;
        -webkit-flex-direction: column;
    }

    .custom-select {
        padding: 0;
        padding: 0.25em;
        width: 90%;
    }

    .right {
        width: 90%;
        padding-left: 5%;
        margin: 1em 0;
    }

    .sidenav-box {
        padding: 1em 1em 1em 2em;
        border-radius: 25px;
        margin: 0;
        flex-direction: row;
        -webkit-flex-direction: row;
    }

    .perfil, .special .perfil {
        max-width: 100%;
        min-width: 0%;
        flex-wrap: wrap;
        padding-bottom: 0em;
    }

    .avatar img {
        border: solid 3px #8d96b2;
        width: 7.5em;
        height: 10em;
        object-fit: cover;
    }

    .solicitude-special {
        width: 100%;
    }

    .base, .special .base {
        width: 70%;
        margin: 0.25em;
    }

    .horario, .special .horario {
        font-size: 1em;
        padding: 0.1em 0.75em;
        margin: 0.25em 0;
    }

    .container {
        width: 100%;
        flex-direction: column;
        -webkit-flex-direction: column;
    }

    .container2 {
        width: 100%;
    }

        .container2 img {
            width: 75%;
            padding: 1em 0;
        }

    .solicitude .base {
        width: 70%;
    }

    #calendar {
        width: 97%;
    }

    .schedule {
        border-top: 2px solid #8d96b2;
        width: 96%;
        margin: 0;
        padding: 1em 0;
    }

    .day {
        width: 15%;
    }

    .buttons {
        margin: 0.25em 0;
    }

    .button {
        width: 46%;
        padding: 0.5em 0;
    }

    .convenios {
        width: 100%;
        border-top: 3px solid #8d96b2;
        border-left: none;
        text-align: left;
        padding: 0.5em 0;
        margin: 1em 0;
    }

    .modal .inner-modal {
       flex-direction: column !important;
       -webkit-flex-direction: column !important; 
    }

    .btn {
       padding: 0.5em 2em !important;
    }

    .modal input {
        width: 75% !important;
        height: 3em;
    }

        .convenios li, .special .convenios li {
            font-size: 0.85em;
            padding-left: 0.5em;
        }

    .form {
        width: 100%;
    }

        .form input {
            width: 70%;
            font-size: 1.1em;
        }

        .form .half {
            width: 11.25em;
        }

        .form .custom-select {
            padding: 0;
            width: 16.5em;
            font-size: 0.9em;
        }

        .form .box {
            width: 92%;
            line-height: 1em;
        }

    footer ul {
        margin: 1em 2em;
    }

    input {
        width: 95%;
    }
}

/* ------------------ */
/*  MOVILES  480 PX   */
/* ------------------ */

@media screen and (max-width:480px) {
    .search {
        margin: 3px 0;
    }

    header {
        /*height: 8em;*/
        height: 18em;
    }

    .tiroexse {
        margin-top: 30px;
    }

    .nav {
        padding-bottom: 65px;
    }
    .main{
        padding: 20px;
    }

    header .brand img {
        padding: 0.5em 1.5em;
        width: 10em;
    }

    header .back {
        width: 3em;
        color: white;
        padding: 0.6em;
    }

    .social {
        display: none;
    }

    .call, .brand, .social {
        width: 100%;
    }

    nav li {
        width: 33%;
        border: 2px solid #8d96b2;
        font-size: 8pt;
        line-height: 2em;
    }

    li.active {
        display: inherit;
        background: #8d96b2;
        color: white;
    }

    .headline h2 {
        padding: 0 0 0.25em 1em;
    }

    .left, .left-special {
        width: 90%;
        padding-left: 5%;
    }

    .sidenav-box {
        padding: 2% 2% 2% 5%;
        margin: 0;
        flex-direction: row;
        -webkit-flex-direction: row;
    }

    .custom {
        flex-direction: column;
        -webkit-flex-direction: column;
    }

    .custom-select {
        padding: 0.25em;
        width: 95%;
    }

    .right {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .abort-box-inner {
        flex-direction: column;
        -webkit-flex-direction: column;
    }

    .abort-box input {
        width: 80%;
    }

    .abort-box .myBtn {
        margin: 1em auto;
    }

    .sidenav-box {
        padding: 1em 1em 1em 1.5em;
    }

    .perfil, .special .perfil {
        width: 95%;
        flex-wrap: wrap;
        font-size: 0.825em;
        padding-bottom: 0em;
    }

    .avatar img, .special .avatar img {
        max-width: 6em;
        height: 9em;
    }

    .base, .special .base {
        max-width: 68%;
        margin: 0 0.25em 0.5em 0.25em;
    }

    .horario, .special .horario {
        width: 100%;
        margin: 0.25em 0;
    }

    #calendar {
        width: 95%;
        margin: 3% 0;
    }

    .schedule {
        border-top: 2px solid #8d96b2;
        width: 95%;
        margin: 3% 0;
    }

    .buttons {
        padding: 0;
    }

    .button {
        width: 45%;
        margin: 0 0.1em;
        font-size: 0.9em;
    }

    .container2 {
        width: 100%;
    }

        .container2 img {
            width: 75%;
            padding: 1em 0;
        }

    .convenios, .special .convenios {
        width: 100%;
        border-top: 3px solid #8d96b2;
        border-left: none;
        text-align: left;
        padding: 0.5em 0;
        margin: 1em 0;
    }

    .form {
        width: 90%;
        margin: 1em 0 0 2em;
    }

        .form .box {
            width: 100%;
            padding: 0.5em;
        }

    .box input {
        margin: 0;
        width: 100%;
    }

    .box h2 {
        color: white;
        font-size: 1em;
        line-height: 1.25em;
        padding: 0 0.25em;
    }

    .form {
        margin: 0.5em 0;
    }

        .form .custom-select {
            padding: 0;
            width: 100%;
        }

        .form input {
            width: 90%;
            font-size: 1em;
        }

        .form .half {
            width: 9em;
        }

    .nacimiento p {
        font-size: 0.8em;
        line-height: 1em;
    }

    .myBtn {
        float: left;
        margin: 0.5em 0;
    }

    footer ul {
        margin: 0;
        padding: 0.5em;
        font-size: 0.8em;
    }

    .masterkey {
        padding: 0;
        margin: 0;
    }

        .masterkey img {
            width: 8em;
            padding: 0em 0;
            margin: 0;
        }

    input {
        width: 80%;
    }
}

/* --------------------------- */
/*     	MODAL POP UP	       */
/* --------------------------- */

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 10%; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.85); /* Black w/ opacity */
    font-size: 1em;
}

/* Modal Content */
.modal-content {
    position: relative;
    background: white;
    margin: auto;
    padding: 0;
    border: 3px solid tomato;
    width: 80%;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* The Close Button */
.close {
    display: block;
    float: right;
    background: #141414;
    border: solid 3px white;
    font-size: 2em;
    padding: 0 0.35em;
    color: white;
}

    .close:hover,
    .close:focus {
        background: tomato;
        text-decoration: none;
        cursor: pointer;
        transition: 0.25s;
    }

.modal-header {
    padding: 0.5em;
    color: white;
    background: tomato;
}

.modal .inner-modal {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    width: 100%;
}

.modal-body {
    padding: 0.25em;
}

.modal input {
    width: 25%;
    border: 3px solid tomato;
    border-left: 20px solid tomato;
    margin: 1% 5%;
    color: tomato;
    font-size: 0.8em;
    line-height: 0em;
}

    .modal input::placeholder {
        color: tomato;
    }

.modal table {
    border-collapse: collapse;
    width: 90%;
    margin: 0 auto;
}

td, th {
    /*border-bottom: 1px solid tomato;*/
    text-align: left;
    padding: 8px;
}

.tableModalError tr td {
    border-bottom: 0;
    text-align: center;
}

    .tableModalError tr td label {
        font-size: 22px;
        padding-top: 100px;
    }

.btn {
    border: 2px solid tomato;
    background: #141414;
    margin: 0.5em auto;
    text-align: center;
    padding: 1em 2em;
    color: white;
    max-width: 12em;
}

.btn-aux {
    background: #141414;
    margin: 0.5em auto;
    text-align: center;
    padding: 1em 2em;
    color: white;
    max-width: 12em;
}

    .btn:hover {
        background: tomato;
        color: white;
    }

.modal-footer {
    padding: 0.5em;
    border-top: 3px solid tomato;
    color: white;
}

.waiting h3 {
    position: relative;
    font-size: 2em;
    color: white;
    text-align: center;
}

/*-----------------------*/
/*      CAMBIO DE HEADER  */
/*-----------------------*/
.linearriba {
    background: rgba(38,153,151,1);
    background: -moz-linear-gradient(left, rgba(38,153,151,1) 0%, rgba(38,153,151,1) 16%, rgba(27,122,185,1) 16%, rgba(27,122,185,1) 33%, rgba(141,149,179,1) 33%, rgba(141,149,179,1) 50%, rgba(27,122,185,1) 50%, rgba(27,122,185,1) 69%, rgba(38,153,151,1) 69%, rgba(38,153,151,1) 85%, rgba(141,149,179,1) 85%, rgba(141,149,179,1) 99%, rgba(141,149,179,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(38,153,151,1)), color-stop(16%, rgba(38,153,151,1)), color-stop(16%, rgba(27,122,185,1)), color-stop(33%, rgba(27,122,185,1)), color-stop(33%, rgba(141,149,179,1)), color-stop(50%, rgba(141,149,179,1)), color-stop(50%, rgba(27,122,185,1)), color-stop(69%, rgba(27,122,185,1)), color-stop(69%, rgba(38,153,151,1)), color-stop(85%, rgba(38,153,151,1)), color-stop(85%, rgba(141,149,179,1)), color-stop(99%, rgba(141,149,179,1)), color-stop(100%, rgba(141,149,179,1)));
    background: -webkit-linear-gradient(left, rgba(38,153,151,1) 0%, rgba(38,153,151,1) 16%, rgba(27,122,185,1) 16%, rgba(27,122,185,1) 33%, rgba(141,149,179,1) 33%, rgba(141,149,179,1) 50%, rgba(27,122,185,1) 50%, rgba(27,122,185,1) 69%, rgba(38,153,151,1) 69%, rgba(38,153,151,1) 85%, rgba(141,149,179,1) 85%, rgba(141,149,179,1) 99%, rgba(141,149,179,1) 100%);
    background: -o-linear-gradient(left, rgba(38,153,151,1) 0%, rgba(38,153,151,1) 16%, rgba(27,122,185,1) 16%, rgba(27,122,185,1) 33%, rgba(141,149,179,1) 33%, rgba(141,149,179,1) 50%, rgba(27,122,185,1) 50%, rgba(27,122,185,1) 69%, rgba(38,153,151,1) 69%, rgba(38,153,151,1) 85%, rgba(141,149,179,1) 85%, rgba(141,149,179,1) 99%, rgba(141,149,179,1) 100%);
    background: -ms-linear-gradient(left, rgba(38,153,151,1) 0%, rgba(38,153,151,1) 16%, rgba(27,122,185,1) 16%, rgba(27,122,185,1) 33%, rgba(141,149,179,1) 33%, rgba(141,149,179,1) 50%, rgba(27,122,185,1) 50%, rgba(27,122,185,1) 69%, rgba(38,153,151,1) 69%, rgba(38,153,151,1) 85%, rgba(141,149,179,1) 85%, rgba(141,149,179,1) 99%, rgba(141,149,179,1) 100%);
    background: linear-gradient(to right, rgba(38,153,151,1) 0%, rgba(38,153,151,1) 16%, rgba(27,122,185,1) 16%, rgba(27,122,185,1) 33%, rgba(141,149,179,1) 33%, rgba(141,149,179,1) 50%, rgba(27,122,185,1) 50%, rgba(27,122,185,1) 69%, rgba(38,153,151,1) 69%, rgba(38,153,151,1) 85%, rgba(141,149,179,1) 85%, rgba(141,149,179,1) 99%, rgba(141,149,179,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#269997', endColorstr='#8d95b3', GradientType=1 );
    height: 7px;
}

.call-nuevo, .brand-nuevo, .social-nuevo {
    width: 33%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.menu-nuevo {
    display: flex;
    flex-direction: row;
    width: 100%;
    left: 0;
    background-color: #3e517c !important;
    padding-top: 12px;
    padding-bottom: 19px;
}




.tiroexse {
    text-align: center;
    font-weight: 100;
    font-size: 29px;
    font-family: 'Roboto', sans-serif;
    color: #3f517c;
    line-height: 28px;
    margin-top: 90px;
    margin-bottom: 0px;
}

p.tiroexse img {
    width: 27px;
    margin-right: 10px;
}

.formexacmm {
    width: 600px;
    margin: auto;
    text-align: center;
}

.allado2 {
    float: left;
}

.atente {
    position: absolute;
    right: 15px;
    top: 11px;
    border-radius: 6px;
    padding: 17px 16px;
}

.ataten {
    color: white;
    text-align: center;
    letter-spacing: 0px;
    font-weight: 200;
    font-size: 15px;
    font-family: arial;
}

.atentelfo {
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    color: white;
    line-height: 14px;
    padding-bottom: 6px;
    margin-top: 4px;
}

    .atentelfo a {
        color: white;
        font-family: arial;
        font-size: 23px;
        text-decoration: none;
    }


@media (max-width: 768px){
    .menu-nuevo {
        display: inherit;
    }

    .call-nuevo {
        display: none;
    }

    .call-nuevo, .brand-nuevo, .social-nuevo {
        width: auto;
        display: inherit;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .formexacmm {
        width: 84%;
        margin: auto;
        text-align: center;
    }

    .tiroexse {
        text-align: center;
        font-weight: 100;
        font-size: 24px;
        font-family: 'Roboto', sans-serif;
        color: #3f517c;
        line-height: 28px;
        margin-top: 30px;
        margin-bottom: 0px;
    }

    .allado2 {
        float: none;
    }

    .atente {
        position: relative;
        right: 0;
        top: 0;
        border-radius: 6px;
        padding: 17px 16px;
        text-align: center;
    }
}

/* --------------------------- */
/*     	LOADING PAGE 	       */
/* --------------------------- */

.loader {
    font-size: 24px;
    margin: 5em auto;
    width: 1em;
    height: 1em;
    border-radius: 0%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load4 1.3s infinite linear;
    animation: load4 1.3s infinite linear;
}

@-webkit-keyframes load4 {
    0%, 100% {
        box-shadow: 0em -3em 0em 0.2em #ffffff, 2em -2em 0 0em #ffffff, 3em 0em 0 -0.5em #ffffff, 2em 2em 0 -0.5em #ffffff, 0em 3em 0 -0.5em #ffffff, -2em 2em 0 -0.5em #ffffff, -3em 0em 0 -0.5em #ffffff, -2em -2em 0 0em #ffffff;
    }

    12.5% {
        box-shadow: 0em -3em 0em 0em #ffffff, 2em -2em 0 0.2em #ffffff, 3em 0em 0 0em #ffffff, 2em 2em 0 -0.5em #ffffff, 0em 3em 0 -0.5em #ffffff, -2em 2em 0 -0.5em #ffffff, -3em 0em 0 -0.5em #ffffff, -2em -2em 0 -0.5em #ffffff;
    }

    25% {
        box-shadow: 0em -3em 0em -0.5em #ffffff, 2em -2em 0 0em #ffffff, 3em 0em 0 0.2em #ffffff, 2em 2em 0 0em #ffffff, 0em 3em 0 -0.5em #ffffff, -2em 2em 0 -0.5em #ffffff, -3em 0em 0 -0.5em #ffffff, -2em -2em 0 -0.5em #ffffff;
    }

    37.5% {
        box-shadow: 0em -3em 0em -0.5em #ffffff, 2em -2em 0 -0.5em #ffffff, 3em 0em 0 0em #ffffff, 2em 2em 0 0.2em #ffffff, 0em 3em 0 0em #ffffff, -2em 2em 0 -0.5em #ffffff, -3em 0em 0 -0.5em #ffffff, -2em -2em 0 -0.5em #ffffff;
    }

    50% {
        box-shadow: 0em -3em 0em -0.5em #ffffff, 2em -2em 0 -0.5em #ffffff, 3em 0em 0 -0.5em #ffffff, 2em 2em 0 0em #ffffff, 0em 3em 0 0.2em #ffffff, -2em 2em 0 0em #ffffff, -3em 0em 0 -0.5em #ffffff, -2em -2em 0 -0.5em #ffffff;
    }

    62.5% {
        box-shadow: 0em -3em 0em -0.5em #ffffff, 2em -2em 0 -0.5em #ffffff, 3em 0em 0 -0.5em #ffffff, 2em 2em 0 -0.5em #ffffff, 0em 3em 0 0em #ffffff, -2em 2em 0 0.2em #ffffff, -3em 0em 0 0em #ffffff, -2em -2em 0 -0.5em #ffffff;
    }

    75% {
        box-shadow: 0em -3em 0em -0.5em #ffffff, 2em -2em 0 -0.5em #ffffff, 3em 0em 0 -0.5em #ffffff, 2em 2em 0 -0.5em #ffffff, 0em 3em 0 -0.5em #ffffff, -2em 2em 0 0em #ffffff, -3em 0em 0 0.2em #ffffff, -2em -2em 0 0em #ffffff;
    }

    87.5% {
        box-shadow: 0em -3em 0em 0em #ffffff, 2em -2em 0 -0.5em #ffffff, 3em 0em 0 -0.5em #ffffff, 2em 2em 0 -0.5em #ffffff, 0em 3em 0 -0.5em #ffffff, -2em 2em 0 0em #ffffff, -3em 0em 0 0em #ffffff, -2em -2em 0 0.2em #ffffff;
    }
}

@keyframes load4 {
    0%, 100% {
        box-shadow: 0em -3em 0em 0.2em #ffffff, 2em -2em 0 0em #ffffff, 3em 0em 0 -0.5em #ffffff, 2em 2em 0 -0.5em #ffffff, 0em 3em 0 -0.5em #ffffff, -2em 2em 0 -0.5em #ffffff, -3em 0em 0 -0.5em #ffffff, -2em -2em 0 0em #ffffff;
    }

    12.5% {
        box-shadow: 0em -3em 0em 0em #ffffff, 2em -2em 0 0.2em #ffffff, 3em 0em 0 0em #ffffff, 2em 2em 0 -0.5em #ffffff, 0em 3em 0 -0.5em #ffffff, -2em 2em 0 -0.5em #ffffff, -3em 0em 0 -0.5em #ffffff, -2em -2em 0 -0.5em #ffffff;
    }

    25% {
        box-shadow: 0em -3em 0em -0.5em #ffffff, 2em -2em 0 0em #ffffff, 3em 0em 0 0.2em #ffffff, 2em 2em 0 0em #ffffff, 0em 3em 0 -0.5em #ffffff, -2em 2em 0 -0.5em #ffffff, -3em 0em 0 -0.5em #ffffff, -2em -2em 0 -0.5em #ffffff;
    }

    37.5% {
        box-shadow: 0em -3em 0em -0.5em #ffffff, 2em -2em 0 -0.5em #ffffff, 3em 0em 0 0em #ffffff, 2em 2em 0 0.2em #ffffff, 0em 3em 0 0em #ffffff, -2em 2em 0 -0.5em #ffffff, -3em 0em 0 -0.5em #ffffff, -2em -2em 0 -0.5em #ffffff;
    }

    50% {
        box-shadow: 0em -3em 0em -0.5em #ffffff, 2em -2em 0 -0.5em #ffffff, 3em 0em 0 -0.5em #ffffff, 2em 2em 0 0em #ffffff, 0em 3em 0 0.2em #ffffff, -2em 2em 0 0em #ffffff, -3em 0em 0 -0.5em #ffffff, -2em -2em 0 -0.5em #ffffff;
    }

    62.5% {
        box-shadow: 0em -3em 0em -0.5em #ffffff, 2em -2em 0 -0.5em #ffffff, 3em 0em 0 -0.5em #ffffff, 2em 2em 0 -0.5em #ffffff, 0em 3em 0 0em #ffffff, -2em 2em 0 0.2em #ffffff, -3em 0em 0 0em #ffffff, -2em -2em 0 -0.5em #ffffff;
    }

    75% {
        box-shadow: 0em -3em 0em -0.5em #ffffff, 2em -2em 0 -0.5em #ffffff, 3em 0em 0 -0.5em #ffffff, 2em 2em 0 -0.5em #ffffff, 0em 3em 0 -0.5em #ffffff, -2em 2em 0 0em #ffffff, -3em 0em 0 0.2em #ffffff, -2em -2em 0 0em #ffffff;
    }

    87.5% {
        box-shadow: 0em -3em 0em 0em #ffffff, 2em -2em 0 -0.5em #ffffff, 3em 0em 0 -0.5em #ffffff, 2em 2em 0 -0.5em #ffffff, 0em 3em 0 -0.5em #ffffff, -2em 2em 0 0em #ffffff, -3em 0em 0 0em #ffffff, -2em -2em 0 0.2em #ffffff;
    }
}
