/*menu responsivo*/

.dl-menuwrapper {
    width: 100%;
    float: left;
    position: relative;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    -webkit-perspective-origin: 50% 200%;
    perspective-origin: 50% 200%;
    display: none;
}

.dl-menuwrapper:first-child {
    margin-right: 100px;
}

.dl-menuwrapper button {
    background: #DABC99;
    border: none;
    width: 48px;
    height: 45px;
    text-indent: -900em;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    outline: none;
}

.dl-menuwrapper button:hover,
.dl-menuwrapper button.dl-active,
.dl-menuwrapper ul {
    background: #DABC99;
}

.dl-menuwrapper button:after {
    content: '';
    position: absolute;
    width: 68%;
    height: 5px;
    background: #fff;
    top: 10px;
    left: 16%;
    box-shadow:
        0 10px 0 #fff,
        0 20px 0 #fff;
}

.dl-menuwrapper ul {
    padding: 0;
    list-style: none;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.dl-menuwrapper li {
    position: relative;
}

.dl-menuwrapper .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.1);
}

.dl-menuwrapper li a {
    display: block;
    position: relative;
    padding: 15px 35px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 900;
    color: #fff;
    outline: none;
    transition: 0.2 ease-in-out;
}

.dl-menuwrapper li a:hover{
    background-color: rgba(0, 0, 0, 0.1);
}

.no-touch .dl-menuwrapper li a:hover {
    background: rgba(255, 248, 213, 0.1);
}

.dl-menuwrapper li.dl-back>a {
    padding-left: 30px;
    background: rgba(0, 0, 0, 0.1);
    height: 45px;
}

.dl-menuwrapper li.dl-back:after,
.dl-menuwrapper li>a:not(:only-child):after {
    position: absolute;
    top: 0;
    line-height: 47px;
    font-family: 'FontAwesome';
    color: white;
    speak: none;
    -webkit-font-smoothing: antialiased;
    content: "\f105";
    font-size: x-large;
}

.dl-menuwrapper li.dl-back:after {
    left: 10px;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.dl-menuwrapper li>a:after {
    right: 10px;
    color: rgba(0, 0, 0, 0.15);
}

.dl-menuwrapper .dl-menu {
    margin: 60px 0 0 0;
    position: absolute;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.dl-menuwrapper .dl-menu.dl-menu-toggle {
    transition: all 0.3s ease;
}

.dl-menuwrapper .dl-menu.dl-menuopen {
    opacity: 1;
    pointer-events: auto;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
}

/* Hide the inner submenus */
.dl-menuwrapper li .dl-submenu {
    display: none;
}

/*
When a submenu is openend, we will hide all li siblings.
For that we give a class to the parent menu called "dl-subview".
We also hide the submenu link.
The opened submenu will get the class "dl-subviewopen".
All this is done for any sub-level being entered.
*/
.dl-menu.dl-subview li,
.dl-menu.dl-subview li.dl-subviewopen>a,
.dl-menu.dl-subview li.dl-subview>a {
    display: none;
}

.dl-menu.dl-subview li.dl-subview,
.dl-menu.dl-subview li.dl-subview .dl-submenu,
.dl-menu.dl-subview li.dl-subviewopen,
.dl-menu.dl-subview li.dl-subviewopen>.dl-submenu,
.dl-menu.dl-subview li.dl-subviewopen>.dl-submenu>li {
    display: block;
}

.dl-menuwrapper>.dl-submenu {
    position: absolute;
    width: 100%;
    top: 50px;
    left: 0;
    margin: 0;
}

.dl-menu.dl-animate-out-1 {
    animation: MenuAnimOut1 0.4s linear forwards;
}

@keyframes MenuAnimOut1 {
    50% {
        transform: translateZ(-250px) rotateY(30deg);
    }

    75% {
        transform: translateZ(-372.5px) rotateY(15deg);
        opacity: .5;
    }

    100% {
        transform: translateZ(-500px) rotateY(0deg);
        opacity: 0;
    }
}

.dl-menu.dl-animate-in-1 {
    animation: MenuAnimIn1 0.3s linear forwards;
}

@keyframes MenuAnimIn1 {
    0% {
        transform: translateZ(-500px) rotateY(0deg);
        opacity: 0;
    }

    20% {
        transform: translateZ(-250px) rotateY(30deg);
        opacity: 0.5;
    }

    100% {
        transform: translateZ(0px) rotateY(0deg);
        opacity: 1;
    }
}

.dl-menuwrapper>.dl-submenu.dl-animate-in-1 {
    -webkit-animation: SubMenuAnimIn1 0.4s ease;
    animation: SubMenuAnimIn1 0.4s ease;
}

@-webkit-keyframes SubMenuAnimIn1 {
    0% {
        -webkit-transform: translateX(50%);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes SubMenuAnimIn1 {
    0% {
        -webkit-transform: translateX(50%);
        transform: translateX(50%);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
        opacity: 1;
    }
}

.dl-menuwrapper>.dl-submenu.dl-animate-out-1 {
    -webkit-animation: SubMenuAnimOut1 0.4s ease;
    animation: SubMenuAnimOut1 0.4s ease;
}

@-webkit-keyframes SubMenuAnimOut1 {
    0% {
        -webkit-transform: translateX(0%);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateX(50%);
        opacity: 0;
    }
}

@keyframes SubMenuAnimOut1 {
    0% {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateX(50%);
        transform: translateX(50%);
        opacity: 0;
    }
}



@media (max-width: 992px) { .rellax { transform: translate3d(0,0,0) !important; } }




@media (min-width: 992px) and (max-width: 1199.98px) {
    section.equipa {
        height: 100vh;
    }

    section.equipa p {
        width: 75% !important;
    }

    .end-footer p {
        font-size: 14px;
    }

    .main-menu li {
        padding-left: 0rem !important;
    }

    .header-section {
        padding-right: 2rem !important;
        padding-left: 2rem !important;
    }

    section.equipa {
        height: 100vh;
    }

    .main-menu {
        padding: 10px 0;
    }

    .owl-carousel:not(.hero-slider) .owl-nav button.owl-prev:hover,
    .owl-carousel:not(.hero-slider) .owl-nav button.owl-next:hover {
        display: inline-block;
    }

    .content {
        padding-top: 85px !important;
    }

    .background-image-gallery-text {
        height: 140vh !important;
    }

    .logo-carousel .owl-logo {
        position: relative;
    }

    .logo-carousel .owl-nav {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 2%;
        position: absolute;
        top: -15px;
    }

}

@media (min-width: 991px) and (max-width: 1335px) {
    .main-menu {
        display: none;
    }
    .dl-menuwrapper {
        display: block;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .main-menu {
        display: none;
    }

    .dl-menuwrapper {
        display: block;
    }

    #menu li {
        text-align: right;
    }

    .header-section {
        padding: 30px;
    }

    .end-footer p {
        text-align: center !important;
    }

    .end-footer .row>.justify-content-end {
        justify-content: center !important;
    }

    /*section.equipa {*/
    /*    height: 110vh;*/
    /*}*/

    /*section.equipa p {*/
    /*    width: 75% !important;*/
    /*}*/

    .owl-carousel:not(.hero-slider) .owl-nav button.owl-prev:hover,
    .owl-carousel:not(.hero-slider) .owl-nav button.owl-next:hover {
        display: inline-block;
    }

    /*.header-section .site-logo img.light {*/
    /*    width: 90%;*/
    /*}*/

    /*.header-section.sticky-header .site-logo img.dark {*/
    /*    width: 90%;*/
    /*}*/

    /*.content {*/
    /*    padding-top: 100px !important;*/
    /*}*/

    /*.background-image-gallery-text {*/
    /*    height: auto !important;*/
    /*}*/


    .social-hero .social-hero-container {
        display: none;
    }

    .vision>.col-md-6 {
        margin-left: 0 !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    section.text-gallery img.img-back {
        width: 100%;
    }

    /*section.text-gallery.home {*/
    /*    padding-top: 90vh;*/
    /*}*/

    .vision {
        margin-top: 500px;
    }

    .imagens-espaco {
        right: 5% !important;
        max-width: 90vw !important;
        top: 35% !important;
    }

    .logo-carousel .owl-logo {
        position: relative;
    }

    .logo-carousel .owl-nav {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 2%;
        position: absolute;
        top: -15px;
    }

    .img-not-fixed {
        background-attachment: scroll !important;
    }

}

@media (min-width: 576px) and (max-width: 767.98px) {
    .main-menu {
        display: none;
    }

    .dl-menuwrapper {
        display: block;
    }

    #menu li {
        text-align: right;
    }

    .header-section {
        padding: 30px;
    }

    .end-footer p {
        text-align: center !important;
    }

    .end-footer .row>.justify-content-end {
        justify-content: center !important;
    }

    section.text-gallery .text span {
        bottom: -15px;
    }

    .number-section .row img.number {
        max-width: 65%;
        padding: 50px;
        float: none !important;
    }

    .number-section {
        text-align: center;
    }

    section.equipa {
        height: 115vh;
    }

    section.equipa p {
        width: 100% !important;
    }

    .owl-carousel:not(.hero-slider) .owl-nav button.owl-prev:hover,
    .owl-carousel:not(.hero-slider) .owl-nav button.owl-next:hover {
        display: inline-block;
    }

    /*.header-section .site-logo img.light {*/
    /*    width: 90%;*/
    /*}*/

    /*.header-section.sticky-header .site-logo img.dark {*/
    /*    width: 90%;*/
    /*}*/

    .header-section .site-logo img {
        margin: 0;
    }

    /*.content {*/
    /*    padding-top: 85px !important;*/
    /*}*/

    /*.background-image-gallery-text {*/
    /*    height: auto !important;*/
    /*}*/

    section.text-gallery img.img-back {
        width: 100%;
    }

    .social-hero .social-hero-container {
        display: none;
    }

    .vision>.col-md-6 {
        margin-left: 0 !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    section.text-gallery .text {
        margin-top: 0px;
    }

    /*section.text-gallery.home {*/
    /*    padding-top: 90vh;*/
    /*}*/

    .vision {
        margin-top: 500px;
    }

    .imagens-espaco {
        right: 5% !important;
        max-width: 90vw !important;
        top: 35% !important;
    }

    .logo-carousel .owl-logo {
        position: relative;
    }

    .logo-carousel .owl-nav {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 2%;
        position: absolute;
        top: -10px;
    }

    .img-not-fixed {
        background-attachment: scroll !important;
    }

    /*section.text-image-gallery .container-gallery {*/
    /*    bottom: 0;*/
    /*    top: 50px;*/
    /*    left: 0;*/
    /*    max-width: 100vw;*/
    /*    position: relative;*/
    /*}*/

}

@media (max-width: 575.98px) {
    .main-menu {
        display: none;
    }

    .dl-menuwrapper {
        display: block;
    }

    #menu li {
        text-align: right;
    }

    .header-section {
        padding: 30px 0;
    }

    .hero-slider .owl-nav {
        right: 13px;
    }

    .end-footer p {
        text-align: center !important;
    }

    .end-footer .row>.justify-content-end {
        justify-content: center !important;
    }

    section.text-gallery .text span {
        bottom: -15px;
    }

    .number-section .row img.number {
        max-width: 65%;
        padding: 50px;
        float: none !important;
    }

    .number-section {
        text-align: center;
    }



    section.text-gallery .text {
        margin-top: 0;

    }

    section.equipa {
        height: 100vh;
    }

    section.equipa p {
        width: 100% !important;
    }

    .owl-carousel:not(.hero-slider) .owl-nav button.owl-prev:hover,
    .owl-carousel:not(.hero-slider) .owl-nav button.owl-next:hover {
        display: inline-block;
    }

    footer p {
        font-size: 14px;
    }


    .header-section .site-logo img {
        margin: 0;
    }

    /*.content {*/
    /*    padding-top: 85px !important;*/
    /*}*/

    /*section.text-gallery.home {*/
    /*    padding-top: 70vh;*/
    /*}*/

    /*.background-image-gallery-text {*/
    /*    height: auto !important;*/
    /*}*/

    section.text-gallery img.img-back {
        width: 100%;
        height: auto!important;
    }
    section.text-gallery.home img.img-back{
        padding-bottom: 0;
    }

    .social-hero .social-hero-container {
        display: none;
    }

    .vision>.col-md-6 {
        margin-left: 0 !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .vision {
        margin-top: 315px;
    }

    .imagens-espaco {
        right: 5% !important;
        max-width: 90vw !important;
        top: 33% !important;
    }

    .clinica {
        background-size: contain !important;
    }

    .logo-carousel .owl-logo {
        position: relative;
    }

    .logo-carousel .owl-nav {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 2%;
        position: absolute;
        top: -5px;
    }

    .img-not-fixed {
        background-attachment: scroll !important;
    }


    section.text-image-gallery .container-gallery {
        bottom: 0;
        top: 50px;
        left: 0;
        max-width: 100vw;
        position: relative;
    }

}

