﻿html {
    scroll-padding-top: 90px;
}

.brand .h1-rm {
    font-size: 2.5em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 20px 20px;
    border: 3px solid #808080;
    /*border-right: 3px solid #d9f263;*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-position: 0 0, 0 100%;
    background-repeat: no-repeat;
    -webkit-background-size: 100% 3px;
    -moz-background-size: 100% 3px;
    background-size: 100% 3px;
    background-color: rgba(0,0,0,0.5);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.text-gradient {
    color: #ffffff;
}

.brand .h3-rm {
    font-size: 2.1em;
    font-weight: 400;
    width: 68%;
    margin-left: auto;
    margin-right: auto;

    opacity: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.72);
}

.brand .d-logo {
    max-width: 100px;
    
}

.d-logo-none {
    display: none;
}

.index-page .page-header .drx-text {
    position: absolute;
    top: auto;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px) + var(--hero-viewport-offset, 0px));
    margin-top: 0;
    padding: 0 15px;
    width: 100%;
    color: rgba(0, 0, 0, 0.4);
}

.index-page .wrapper > .page-header {
    height: 100vh;
    min-height: 100vh;
    max-height: none;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

@supports (height: 100svh) {
    .index-page .wrapper > .page-header {
        height: 100svh;
        min-height: 100svh;
    }
}

@supports (height: 100dvh) {
    .index-page .wrapper > .page-header {
        height: 100dvh;
        min-height: 100dvh;
    }
}

.drx-logo {
    max-width: 70px;
    top: -2px;
    position: relative;
}

.nav-text {
    color: #001e44;
}

.navbar.bg-white.nav-text:not(.navbar-transparent) a:not(.dropdown-item) {
    color: #001e44;
}

.shadow {
    text-shadow: black 0.1em 0.1em 0.2em
}

.navbar .navbar-toggler .navbar-toggler-bar.bar2 {
    width: 22px;
}

.center-cont {
    max-width: 280px !important;
    font-size: 10px;
}

.index-page .description {
    color: #767676;
}

.index-page .form-control::-moz-placeholder {
    color: #858585;
}

.index-page .form-control:-moz-placeholder {
    color: #858585;
}

.index-page .form-control::-webkit-input-placeholder {
    color: #858585;
}

.index-page .form-control:-ms-input-placeholder {
    color: #858585;
}

.index-page .form-control::placeholder {
    color: #858585;
    opacity: 1;
}

.index-page .section-contact-us .textarea-container {
    margin-bottom: 1.5rem;
}

.index-page .section-contact-us .textarea-container textarea.form-control {
    min-height: 140px;
    padding: 15px 19px;
    line-height: 1.5;
    background-color: rgba(222, 222, 222, 0.3);
    border: none;
    border-radius: 1rem;
    resize: vertical;
}

.index-page .section-contact-us .textarea-container textarea.form-control:focus,
.index-page .section-contact-us .textarea-container textarea.form-control:active {
    background-color: rgba(222, 222, 222, 0.5);
    border: none;
}

.contact-comercial {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.index-page .section-contact-us .contact-status {
    max-width: 100%;
    margin: 1rem auto 0;
    padding: 0.65rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.index-page .section-contact-us .contact-status.alert-success {
    color: #39713a;
    background-color: #edf7ed;
    border-color: #cde7ce;
}

.index-page .section-contact-us .contact-status.alert-warning {
    color: #7a641f;
    background-color: #fff9e8;
    border-color: #eee0ae;
}

.index-page .section-contact-us .contact-status.alert-danger {
    color: #8a3b3b;
    background-color: #fbeeee;
    border-color: #efcccc;
}

@media screen and (min-width: 992px) {
    .center-cont {
        max-width: 790px !important;
        font-size: 13px;
    }

    .navbar.navbar-toggleable-md .navbar-nav .nav-link {
        font-size: 0.82rem;
        font-weight: 500;
        padding-right: 0.9rem;
        padding-left: 0.9rem;
    }

    .navbar.navbar-toggleable-md.navbar-transparent .navbar-nav .nav-link,
    .navbar.navbar-toggleable-md.navbar-transparent .navbar-nav .nav-link:hover,
    .navbar.navbar-toggleable-md.navbar-transparent .navbar-nav .nav-link:focus,
    .navbar.navbar-toggleable-md.navbar-transparent .navbar-nav .nav-link:active,
    .navbar.navbar-toggleable-md.navbar-transparent .navbar-nav .nav-item.active .nav-link {
        color: #FFFFFF;
        opacity: 1;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
    }

    .navbar.navbar-toggleable-md.bg-white:not(.navbar-transparent) .navbar-nav .nav-link,
    .navbar.navbar-toggleable-md.bg-white:not(.navbar-transparent) .navbar-nav .nav-link:hover,
    .navbar.navbar-toggleable-md.bg-white:not(.navbar-transparent) .navbar-nav .nav-link:focus,
    .navbar.navbar-toggleable-md.bg-white:not(.navbar-transparent) .navbar-nav .nav-link:active,
    .navbar.navbar-toggleable-md.bg-white:not(.navbar-transparent) .navbar-nav .nav-item.active .nav-link {
        color: #001e44;
        opacity: 1;
        text-shadow: none;
    }

    .index-page .section-story-overview > .row > .col-md-6 > .image-container:nth-child(2) img {
        width: 85%;
        max-width: 85%;
        left: 90px;
    }

    .index-page .section-story-overview .image-container.image-left p.blockquote {
        top: calc(100% + 3rem);
        right: 185px;
    }

    .index-page .section-contact-us .title {
        margin-bottom: 0.75rem;
    }
}

@media screen and (max-width: 991px) {
    :root {
        --mobile-menu-width: min(78vw, 260px);
        --hero-viewport-offset: 0px;
    }

    @supports (height: 100lvh) and (height: 100dvh) {
        :root {
            --hero-viewport-offset: calc(100lvh - 100dvh);
        }

        .index-page .wrapper > .page-header {
            height: 100lvh;
            min-height: 100lvh;
        }
    }

    .navbar.navbar-toggleable-md .navbar-collapse {
        width: 78vw;
        max-width: 260px;
        transform: translate3d(100%, 0, 0);
    }

    .nav-open .navbar.navbar-toggleable-md .navbar-collapse {
        transform: translate3d(0, 0, 0);
    }

    .nav-open .navbar .navbar-translate {
        transform: translate3d(calc(0px - var(--mobile-menu-width)), 0, 0);
    }

    body #bodyClick {
        right: var(--mobile-menu-width);
    }

    html.nav-open,
    html.nav-open body {
        overflow: hidden;
    }

    .navbar.bg-white.nav-text .navbar-collapse .navbar-nav .nav-link,
    .navbar.bg-white.nav-text .navbar-collapse .navbar-nav .nav-link:hover,
    .navbar.bg-white.nav-text .navbar-collapse .navbar-nav .nav-link:focus,
    .navbar.bg-white.nav-text .navbar-collapse .navbar-nav .nav-link:active,
    .navbar.bg-white.nav-text .navbar-collapse .navbar-nav .nav-item.active .nav-link {
        color: #FFFFFF;
        font-weight: 500;
        opacity: 1;
        letter-spacing: normal;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
    }

    .navbar.navbar-toggleable-md .navbar-toggler .navbar-toggler-bar {
        height: 2px;
    }

    .navbar.navbar-toggleable-md.navbar-transparent .navbar-toggler .navbar-toggler-bar {
        background: #FFFFFF;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
    }

    .navbar.navbar-toggleable-md.bg-white:not(.navbar-transparent) .navbar-toggler .navbar-toggler-bar {
        background: #5f6b78;
        filter: none;
    }

    .navbar.navbar-toggleable-md .navbar-toggler.toggled .bar2 {
        opacity: 0;
        visibility: hidden;
    }

    .navbar.navbar-toggleable-md .navbar-toggler.toggled .bar1,
    .navbar.navbar-toggleable-md .navbar-toggler.toggled .bar3 {
        opacity: 1;
        visibility: visible;
    }
}

@media screen and (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
    .index-page .section-story-overview > .row > .col-md-6 > .image-container:nth-child(2) img {
        width: 90%;
        max-width: 430px;
        left: 11%;
        margin-right: auto;
        margin-left: auto;
        transform: translateX(2rem);
    }
}

@media screen and (min-width: 577px) and (max-width: 991px) and (orientation: portrait) {
    .index-page .section-story-overview > .row > .col-md-6 > .image-container:nth-child(2) img[src$="webg2.jpg"] {
        width: min(calc(100vw - 4rem), 510px);
        max-width: none;
        height: auto;
        left: auto;
        margin-right: 0;
        margin-left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 767px) and (orientation: landscape) {
    .index-page .section-story-overview > .row > .col-md-6 > .image-container:nth-child(2) img {
        width: min(calc(100vw - 2rem), 520px);
        max-width: none;
        margin-right: 0;
        margin-left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 576px) and (orientation: portrait) {
    .index-page .wrapper > .page-header .container > .content-center {
        top: 50%;
        width: calc(100% - 2rem);
        max-width: calc(100% - 2rem) !important;
    }

    .index-page .page-header .brand .h1-rm {
        font-size: 2.25em;
        line-height: 1.2;
        margin-bottom: 1rem;
        padding: 1rem;
    }

    .index-page .page-header .brand .h3-rm {
        width: 90%;
        font-size: 1.8em;
        line-height: 1.35;
        margin-bottom: 0;
    }

    .navbar .brand .d-logo {
        max-width: 88px;
    }

    .index-page .page-header .drx-text {
        bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px) + var(--hero-viewport-offset));
    }
}

@media screen and (min-width: 577px) and (max-width: 991px),
       screen and (min-width: 768px) and (max-width: 1366px) and (hover: none) and (pointer: coarse) {
    .index-page .wrapper > .page-header .container > .content-center {
        top: 45%;
        width: 78vw;
        max-width: 760px !important;
        font-size: 12px;
    }

    .index-page .page-header .brand .h1-rm {
        padding: 1.5rem;
    }

    .index-page .page-header .brand .h3-rm {
        width: 78%;
    }
}

@media screen and (max-width: 991px) and (max-height: 500px) and (orientation: landscape) {
    .index-page .wrapper > .page-header .container > .content-center {
        top: 54%;
        width: 76vw;
        max-width: 560px !important;
        font-size: 10px;
    }

    .index-page .page-header .brand .h1-rm {
        font-size: 2em;
        line-height: 1.15;
        margin-bottom: 0.5rem;
        padding: 0.65rem 1rem;
    }

    .index-page .page-header .brand .h3-rm {
        width: 95%;
        font-size: 1.55em;
        line-height: 1.25;
        margin-bottom: 0;
    }

    .navbar .brand .d-logo {
        max-width: 72px;
    }

    .navbar .navbar-toggler {
        z-index: 1033;
    }

    .index-page .page-header .drx-text {
        bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px) + var(--hero-viewport-offset));
        font-size: 0.65rem;
    }

    .index-page .page-header .drx-logo {
        max-width: 55px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .section-story-overview > .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 0;
        margin-left: 0;
    }

    .section-story-overview > .row > .col-md-6,
    .section-story-overview > .row > .col-md-5,
    .section-story-overview .image-container.image-left {
        display: contents;
    }

    .section-story-overview .image-container,
    .section-story-overview .image-container.image-left,
    .section-story-overview .image-container.image-right,
    .section-story-overview .image-container:nth-child(2) {
        position: static;
        width: 100%;
        max-width: 480px;
        height: auto;
        margin: 0 auto 2rem;
        transform: none;
    }

    .section-story-overview .image-container img {
        position: static;
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        transform: none;
    }

    .section-story-overview .image-container.image-left > img {
        order: 1;
        max-width: 480px;
        margin-bottom: 1.5rem;
    }

    .section-story-overview .image-container:nth-child(2) {
        order: 2;
    }

    .section-story-overview .image-container.image-left p.blockquote {
        order: 3;
        position: static;
        width: calc(100% - 2rem);
        max-width: 480px;
        min-height: 0;
        margin: 0 auto 2.5rem;
        transform: none;
    }

    .section-story-overview > .row > .col-md-5 > h3 {
        order: 4;
        width: 100%;
        max-width: 480px;
        margin: 0 auto 1rem;
    }

    .section-story-overview > .row > .col-md-5 > p {
        order: 5;
        width: 100%;
        max-width: 480px;
        margin-right: auto;
        margin-left: auto;
    }

    .section-story-overview .image-container.image-right {
        order: 6;
        margin-top: 1rem;
        margin-bottom: 2.5rem;
    }

    .index-page .section-story-overview > .row > .col-md-6 > .image-container:nth-child(2) img {
        width: 82%;
        max-width: 390px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media screen and (max-width: 767px) {
    .section-story-overview {
        padding-bottom: 1rem;
    }

    .section-story-overview > .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 0;
        margin-left: 0;
    }

    .section-story-overview > .row > .col-md-6,
    .section-story-overview > .row > .col-md-5,
    .section-story-overview .image-container.image-left {
        display: contents;
    }

    .section-story-overview .image-container,
    .section-story-overview .image-container.image-left,
    .section-story-overview .image-container.image-right,
    .section-story-overview .image-container:nth-child(2) {
        width: 100%;
        max-width: 360px;
        height: auto;
        top: auto;
        margin: 0 auto 2rem;
    }

    .section-story-overview .image-container img {
        position: static;
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        top: auto;
        left: auto;
        margin: 0 auto;
        transform: none;
    }

    .section-story-overview .image-container.image-left > img {
        order: 1;
        width: min(100%, 360px);
        margin-bottom: 1.25rem;
    }

    .section-story-overview .image-container:nth-child(2) {
        order: 2;
    }

    .section-story-overview .image-container.image-left p.blockquote {
        order: 3;
        position: static;
        width: calc(100% - 1rem);
        max-width: 360px;
        min-height: 0;
        top: auto;
        right: auto;
        margin: 0 auto 2rem;
        transform: none;
    }

    .section-story-overview > .row > .col-md-5 > h3 {
        order: 4;
        width: 100%;
        max-width: 360px;
        margin: 0 auto 1rem;
    }

    .section-story-overview > .row > .col-md-5 > p {
        order: 5;
        width: 100%;
        max-width: 360px;
        margin-right: auto;
        margin-left: auto;
    }

    .section-story-overview .image-container.image-right {
        order: 6;
        margin-top: 1rem;
        margin-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    }
}

@media screen and (max-width: 991px) {
    .index-page .section-about-us {
        padding-bottom: 0;
    }

    .index-page #prodt {
        padding-top: 2rem;
    }

    .index-page .section-story-overview .image-container {
        position: static;
        height: auto;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
    }

    .index-page .section-story-overview .image-container img {
        position: static;
        width: 100%;
        max-width: 100%;
        height: auto;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
    }

    .index-page .section-story-overview .image-container.image-left {
        margin-right: auto;
    }

    .index-page .section-story-overview .image-container.image-right {
        top: auto;
        margin-left: auto;
    }

    .index-page .section-story-overview > .row .image-container:nth-child(2) {
        margin-top: 0;
        margin-right: auto;
        margin-left: auto;
    }

    .index-page .section-story-overview .image-container.image-left p.blockquote {
        position: static;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        transform: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) and (max-height: 500px) and (orientation: landscape) {
    .index-page .section-story-overview img[src$="webg2.jpg"] {
        width: calc(100vw - 2rem);
        max-width: 480px;
        height: auto;
        left: auto;
        margin-right: auto;
        margin-left: auto;
        transform: none;
    }
}

@media screen and (max-width: 1024px) and (max-height: 500px) and (orientation: landscape) {
    .index-page .section-story-overview img[src$="webg1.jpg"],
    .index-page .section-story-overview img[src$="webg2.jpg"] {
        width: min(calc(100vw - 4rem), 480px);
        max-width: none;
        height: auto;
    }

    .index-page .section-story-overview img[src$="webg1.jpg"] {
        margin-right: auto;
        margin-left: auto;
    }

    .index-page .section-story-overview > .row > .col-md-6 > .image-container:nth-child(2) img[src$="webg2.jpg"] {
        width: min(calc(100vw - 4rem), 480px);
        max-width: none;
        height: auto;
        left: auto;
        margin-right: 0;
        margin-left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-height: 500px) {
    .section-contact-us {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
    .index-page #prodt {
        padding-top: 0;
    }
}
