@import "fonts.css";
@import "alidev-submenu.css";

:root {
    --black-color: #000101;
    --white-color: #FFFFFF;
    --p-color: #FF6700;
    --darkgray-color: #D9D9D9;
    --gray-color: #F1F1F1;
    --border-radius: 10px;
    --fze-family: "Work Sans";
    --fze-giant: 3rem;
    --fze-almost-giant: 2.5rem;
    --fze-title: 2rem;
    --fze-subtitle: 1.7rem;
    --fze-big: 1.3rem;
    --fze-normal: 16px;
    --fze-short: 0.8rem;
    --g-time: .3s;
    --nav-time: .5s;
    --content-margin: 40px;
    --cta-padding: .7em 1.5em;
    --cta-border-radius: 50px;
    --section-padding: 80px;
}

* {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: all var(--g-time) ease;
}

html {
    font-size: var(--fze-normal);
    font-family: var(--fze-family);
    color: var(--black-color);
    line-height: 1.5;
}
input, label, textarea, button {
    font-family: inherit;
    font-size: inherit;
}
button {
    cursor: pointer;
}
.flex-wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
}
.general-margin {
    width: 80%;
    margin: 0 auto;
}
main {
    margin-top: 170px;
}
img {
    display: block;
}
/* CALL TO ACTION BUTTONS CHARACTERISTICS */
.cta-filled,
.cta-nofilled { /* CALL TO ACTION */
    border-width: 3px;
    border-style: solid;
    border-radius: var(--cta-border-radius);
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: var(--cta-padding);
    text-decoration: none;
    -webkit-transition: all var(--g-time) ease;
    -o-transition: all var(--g-time) ease;
    transition: all var(--g-time) ease;
}
.cta-filled {
    background-color: var(--p-color);
    border-color: var(--p-color);
    color: var(--white-color);
}
.cta-filled:hover {
    background-color: var(--white-color);
    border-color: var(--white-color);
    color: var(--p-color);
}
.cta-nofilled {
    border-color: var(--white-color);
    color: var(--white-color);
}
.cta-nofilled:hover {
    background-color: var(--white-color);
    color: var(--p-color);
}
.ctk { /* CALL TO KEEPING */
    border-bottom: 2px solid var(--gray-color);
    color: var(--black-color);
    display: inline-block;
    padding-bottom: 5px;
    text-decoration: none;
    -webkit-transition: all var(--g-time) ease;
    -o-transition: all var(--g-time) ease;
    transition: all var(--g-time) ease;
}
/* SOCIAL MEDIA CHARACTERISTICS */
.list-icon-wrapper {
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    border-radius: 50%;
    background-color: var(--gray-color);
    height: 55px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-right: 10px;
    width: 55px;
}
.list-icon-wrapper i {
    color: var(--p-color);
    font-size: var(--fze-subtitle);
}
.list-text-wrapper h6 {
    color: var(--p-color);
    font-size: var(--fze-normal);
    margin-bottom: 5px;
}
.list-text-wrapper a,
.list-text-wrapper p {
    font-size: var(--fze-short);
}
.list-text-wrapper a {
    color: inherit;
    display: block;
}
/* SECTION CHARACTERISTICS */
section .general-margin,
.section .general-margin {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}
.image-background,
.image-background .bg-image,
.image-background .bg-cover {
    height: 100%;
    width: 100%;    
}
.image-background {
    background-color: rgba(255, 103, 0, 1);
    left: 0;
    position: absolute;
    top: 0;
    z-index: 1;
}
.image-background .bg-image {
    background-color: var(--white-color);
    background-position: center;
    background-size: 100% auto;
    opacity: .8;
}
.image-background .bg-cover {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.6);
}
section,
.section {
    position: relative;
}
section hgroup,
.section hgroup {
    margin-bottom: calc(var(--section-padding) / 2);
}
section hgroup h3,
.section hgroup h3 {
    color: var(--p-color);
    font-size: var(--fze-subtitle);
    margin-bottom: 5px;
}
section hgroup h2,
.section hgroup h2 {
    font-size: var(--fze-almost-giant);
}
section hgroup.center h3,
section hgroup.center h2,
.section hgroup.center h3,
.section hgroup.center h2 {
    text-align: center;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3 !important;
    text-wrap: balance;
}

/* SECTION: PRESENTATION */
.presentation {
    height: 300px;
}
.presentation .general-margin {
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    height: 100%;
    position: relative;
    z-index: 2;
}
.presentation h1 {
    color: var(--white-color);
    font-size: var(--fze-giant);
    z-index: 2;
    width: 100%;
}
/* HEADER */
header {
    background-color: var(--white-color);
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 20;
}
    /* Topper Content */
    .header-topper .general-margin {
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
        height: 106px;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
            -ms-flex-pack: justify;
                justify-content: space-between;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .logo-wrapper {
        width: 130px;
        align-items: center;
    }
    .logo-wrapper img {
        display: block;
        width: 100%;
    }
    .header-topper .header-info {
        width: calc(100% - 30px - 130px);
    }
    .header-topper ul {
        -webkit-box-pack: end;
        -webkit-justify-content: flex-end;
            -ms-flex-pack: end;
                justify-content: flex-end;
    }
    .header-topper ul li {
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
            -ms-flex-pack: justify;
                justify-content: space-between;
        list-style: none;
    }
    .header-topper ul li:not(:first-child) {
        margin-left: 20px;
    }
    .header-topper li:nth-child(3) .list-text-wrapper,
    .header-topper li:nth-child(4) .list-text-wrapper{
        max-width: 95px;
    }
    .header-topper .open-page-menu-btn-wrapper {
        display: none;
    }
    .header-topper .open-page-menu-btn {
        background-color: transparent;
        border: none;
        height: 25px;
        position: relative;
        width: 35px;
    }
    .header-topper .open-page-menu-btn div {
        border-radius: 10px;
        height: 5px;
        position: absolute;
        width: 100%;
        -webkit-transition: all var(--g-time) ease;
        -o-transition: all var(--g-time) ease;
        transition: all var(--g-time) ease;
    }
    .header-topper .open-page-menu-btn .line-1 {
        background-color: var(--black-color);
        top: 6px;
    }
    .header-topper .open-page-menu-btn .line-2 {
        background-color: var(--p-color);
        opacity: 0;
        top: 50%;
        left: 50%;
        width: 70%;
        -webkit-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);
    }
    .header-topper .open-page-menu-btn .line-3 {
        background-color: var(--black-color);
        bottom: 6px;
    }
    .header-topper .open-page-menu-btn.active .line-1,
    .header-topper .open-page-menu-btn:hover .line-1 {
        top: 0;
    }
    .header-topper .open-page-menu-btn.active .line-2,
    .header-topper .open-page-menu-btn:hover .line-2 {
        opacity: 1;
    }
    .header-topper .open-page-menu-btn.active .line-3,
    .header-topper .open-page-menu-btn:hover .line-3 {
        bottom: 0;
    }
    /* Page menu */
    .page-menu {
        width: 100%;
        background-color: var(--gray-color);
    }
    .page-menu .general-margin {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .page-menu .header-info {
        display: none;
    }
    .page-menu .menu li {
        list-style: none;
        position: relative;
    }
    .page-menu .menu > li:not(:first-child) {
        margin-left: 40px;
    }
    .page-menu .submenu-type > a {
        display: none;
    }
    .page-menu a {
        color: inherit;
        font-weight: 600;
        text-decoration: none;
        -webkit-transition: all var(--g-time) ease;
        -o-transition: all var(--g-time) ease;
        transition: all var(--g-time) ease;
    }
    .page-menu nav ul li a:hover,
    .page-menu nav ul li a.current {
        color: var(--p-color);
    }
    .page-menu nav ul li a.current i {
        color: var(--black-color);
    }
    .page-menu a i {
        font-size: 0.9em;
        margin-left: 5px;
    }
    

/* FOOTER */
    /* Nav links */
    footer .general-margin {
        padding-bottom: var(--content-margin);
        padding-top: var(--content-margin);
    }
    .nav-links {
        border-bottom: 1px solid var(--darkgray-color);
    }
    .nav-links .general-margin {
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }
    .link-group {
        width: calc(100% / 3 - 15px);
    }
    .nav-links h5 {
        font-size: var(--fze-big);
        margin-bottom: 30px;
    }
    .nav-links ul li {
        list-style: none;
    }
    .nav-links ul li:not(:last-child) {
        margin-bottom: 20px;
    }
    .nav-links ul li a {
        color: inherit;
        text-decoration: none;
    }
    .nav-links ul li a i {
        -webkit-transition: all var(--g-time) ease;
        -o-transition: all var(--g-time) ease;
        transition: all var(--g-time) ease;
    }
    .nav-links ul li a:hover i {
        color: var(--p-color);
    }
    .nav-links ul li a i.fa-angle-right {
        display: inline-block;
        margin-right: 10px;
    }
    .nav-links .map .policlinicabqto-map {
        height: 150px;
        margin-top: 20px;
    }
    footer .resalted {
        color: var(--p-color) !important;
        font-weight: 600;
    }

    /* Copyrights */
    .rights .general-margin {
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
            -ms-flex-pack: justify;
                justify-content: space-between;
        -webkit-box-align: center;
        -webkit-align-items: center;
            -ms-flex-align: center;
                align-items: center;
    }
    .rights p {
        font-size: var(--fze-big);
        font-weight: 700;
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
    }
    .rights p span,
    .rights p a {
        color: var(--p-color);
    }
    .rights p strong {
        font-weight: 600;
    }
    .rights a {
        text-decoration: none;
    }


@media (max-width: 1140px) {
    .header-topper .list-icon-wrapper {
        height: 35px;
        width: 35px;
    }
    .header-topper .list-icon-wrapper i {
        color: var(--p-color);
        font-size: var(--fze-short);
    }
    .header-topper .list-text-wrapper h6 {
        font-size: var(--fze-short);
    }
}
@media (max-width: 1040px) {
    .header-topper .header-info {
        width: calc(100% - 30px - 100px);
    }
    .logo-wrapper {
        width: 100px;
        align-items: center;
    }
}
@media (max-width: 1000px) {
    .header-topper .list-icon-wrapper {
        display: none;
    }
    .header-topper .list-text-wrapper h6 {
        font-size: var(--fze-normal);
    }
}
@media (max-width: 900px) {
.image-background .bg-image {
    background-size: cover;
}
/* SECTION: PRESENTATION */
    .presentation h1 {
        text-align: center;
    }
}
@media (max-width: 870px) {
    .nav-links h5,
    .rights p {
        font-size: var(--fze-normal);
    }
    .nav-links ul li,
    .nav-links p {
        font-size: var(--fze-short);
    }
    .nav-links .list-icon-wrapper {
        height: 35px;
        width: 35px;
    }
    .nav-links .list-icon-wrapper i {
        color: var(--p-color);
        font-size: var(--fze-short);
    }
    .nav-links .list-text-wrapper h6 {
        font-size: var(--fze-short);
    }
}
@media (max-width: 1000px) {
    main {
        margin-top: 106px;
    }

    .header-topper .header-info {
        display: none;
    }
    .header-topper .open-page-menu-btn-wrapper {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }
    /* Page menu */
    .page-menu {
        display: none;
        height: calc(100dvh - 96px);
        opacity: 0;
        overflow: auto;
        position: fixed;
        -webkit-transition: all var(--nav-time) ease;
        -o-transition: all var(--nav-time) ease;
        transition: all var(--nav-time) ease;
    }
    .page-menu.show {
        opacity: 1;
    }
    .page-menu.display {
        display: block;
    }
    .page-menu .general-margin {
        padding-top: 30px;
        padding-bottom: 30px;
        min-height: calc(100dvh - 96px);
    }
    .page-menu .menu {
        min-height: calc(100dvh - 96px - 30px * 3 - 92px);
        -webkit-align-content: center;
            -ms-flex-line-pack: center;
                align-content: center;
    }
    .page-menu .menu li {
        text-align: center;
        width: 100%;
    }
    .page-menu .menu li:not(:first-child) {
        margin-top: 20px;
        margin-left: 0;
    }
    .page-menu button {
        margin: 0 auto;
    }
    .page-menu .header-info {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        margin-top: 30px;
        border-top: 1px solid var(--darkgray-color);
        padding-top: 30px;
    }
    .page-menu .header-info ul {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 15px;
    }
    .page-menu .list-icon-wrapper {
        display: none;
    }
    .page-menu .list-text-wrapper h6 {
        font-size: var(--fze-short);
    }
    .page-menu .submenu-type .list-submenu a i {
        display: none;
    }
    .alidev-submenu .submenu.display,
    .alidev-submenu .submenu.show,
    .alidev-submenu:hover .submenu {
        display: none;
        opacity: 0;
    }

    .nav-links h5 {
        font-size: var(--fze-normal);
        margin-bottom: 30px;
    }
}
@media (max-width: 700px) {
    .nav-links h5,
    .rights p {
        font-size: var(--fze-normal);
    }
    .nav-links ul li,
    .nav-links p {
        font-size: var(--fze-normal);
    }
    .nav-links .list-icon-wrapper {
        height: 55px;
        width: 55px;
    }
    .nav-links .list-icon-wrapper i {
        color: var(--p-color);
        font-size: var(--fze-normal);
    }
    .nav-links .list-text-wrapper h6,
    .nav-links .list-text-wrapper a {
        font-size: var(--fze-normal);
    }
    .link-group {
        width: 100%;
        margin-top: 0;
    }
    .link-group:not(:first-child) {
        margin-top: 30px;
    }
    .link-group h5 {
        text-align: center;
        margin-bottom: 15px;
    }
    .map {
        width: 100%;
        margin-top: 30px;
    }
    .rights p {
        text-align: center;
        width: 100%;
    }
    .rights p:not(:last-child) {
        margin-bottom: 10px;
    }
}
@media (max-width: 600px) {
    section hgroup h3, .section hgroup h3 {
        font-size: var(--fze-big);
    }
    section hgroup h2, .section hgroup h2 {
        font-size: var(--fze-title);
    }
}
@media (max-width: 550px) {
    .page-menu .menu {
        min-height: calc(100dvh - 96px - 30px * 3 - 110px);
    }
}
@media (max-width: 500px) {
    :root {
        --section-padding: 40px;
    }
    section hgroup {
        margin-bottom: var(--section-padding);
    }

    .general-margin {
        width: 100%;
        margin: 0;
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-menu .general-margin {
        padding: 20px;
    }
    .page-menu .header-info ul {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-menu .menu {
        min-height: calc(100dvh - 96px - 20px * 2 - 167px);
    }
}
@media (max-width: 420px) {
    .page-menu .menu {
        min-height: calc(100dvh - 96px - 20px * 2 - 177px);
    }
}
@media (max-width: 390px) {
    .rights p strong {
        display: block;
    }
}
@media (max-width: 340px) {
    .general-margin {
        padding-left: 20px;
        padding-right: 20px;
    }
}