﻿html,
body {
    height: auto;
    margin: 0 auto;
}

body {
    position: relative;
}

a {
    cursor: pointer;
    text-decoration: none !important;
}

.tabSpan p {
    padding-left: 10px;
}

.section-1 {
    border-bottom: solid #0F6AB4 2px;
}

    .section-1 h1 {
        color: #0F6AB4;
    }

.section-2 {
    margin-top: 15px;
}

.section-3 {
    border-bottom: solid #0F6AB4 2px;
}

.section-4 {
    margin-top: 15px;
    border: solid #0F6AB4 2px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.section-5 {
    border-top: solid #0F6AB4 2px;
    border-bottom: solid #0F6AB4 2px;
}

    .section-5.container {
        padding: -15px !important;
    }

.drug-title {
    padding: 0px 15px 0px 30px;
    color: #0F6AB4;
    border-left: solid #0F6AB4 2px;
}

.drug-dose h5 {
    padding: 30px 15px 15px 15px;
    border-bottom: solid grey 1px;
}

.drug-details {
    font-weight: 500;
    text-decoration: underline;
}

.drug-dose p {
    padding: 0px 15px 0 15px;
}

.mb15 {
    margin-bottom: 15px;
}

.mb30 {
    margin-bottom: 30px;
}

.mb60 {
    margin-bottom: 60px;
}

.mt30 {
    margin-top: 30px;
}

.mt15 {
    margin-top: 15px;
}

.button_01 {
    width: auto;
    color: white !important;
    background-color: #0F6AB4;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 100;
    font-size: 18px;
    line-height: 60px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
}

    .button_01:focus,
    .button_01:hover,
    .button_01:active {
        background-color: #7b9eb6 !important;
        color: white !important;
        text-decoration: none;
    }

.button_03,
.button_02 {
    width: auto;
    color: white !important;
    background-color: #0F6AB4;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 100;
    font-size: 18px;
    line-height: 60px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
    transition: background-color 0.5s ease, color 0.5s ease;
}

    .button_03:focus,
    .button_03:hover,
    .button_03:active,
    .button_02:focus,
    .button_02:hover,
    .button_02:active {
        background-color: #88b04b !important;
        color: white !important;
        text-decoration: none;
        transition: background-color 0.5s ease, color 0.5s ease;
    }

    .button_02 img {
        width: 100%;
        max-width: 150px;
        height: auto;
        margin-bottom: 5%;
    }

.divCenter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.divCenterVer {
    position: relative;
    min-height: 150px;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.imgDrug {
    max-height: auto;
    max-width: 120px;
}

@media (max-width: 768px) {
    .drug-title {
        border-left: none;
    }

    .imgDrug {
        max-width: 200px;
    }

    .divCenterVer {
        min-height: none;
    }

    .vertical-center {
        margin: none;
        position: none;
        top: none;
    }
}

@media (min-width: 768px) {
    .long {
        height: auto;
        width: 100%;
        object-fit: contain;
    }

    .short {
        display: none;
    }
}

@media (max-width: 768px) {
    .long {
        display: none;
    }

    .short {
        height: auto;
        width: 100%;
        object-fit: contain;
    }
}

iframe {
    width: 100% !important;
    /* height: 100% !important; */
    border: none;
    overflow: hidden !important;
}

.baner {
    margin-right: auto;
    margin-left: auto;
    max-width: 1140px;
}

.post_img_mr > figure > img {
    margin: 10px;
    padding: 10px;
}

#view {
    position: relative;
    width: 100%;
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.rxCodeDiv {
    border-radius: 10px;
    border: 2px solid #0F6AB4;
    display: flex;
    align-items: center;
    color: #0F6AB4;
}

.rxCode img {
    height: auto;
    width: 100%;
    padding: 10px;
    max-width: 200px;
}

@media (max-width: 768px) {
    .rxCodeDiv h4 {
        font-size: 22px !important;
    }
}

@media (max-width: 415px) {
    .rxCodeDiv h4 {
        font-size: 18px !important;
    }
}

@media (max-width: 325px) {
    .rxCodeDiv h4 {
        font-size: 16px !important;
    }
}

.errorPageText {
    color: #0F6AB4;
    text-align: center;
}

.ereceptaText {
    text-align: center;
    width: 100%;
}

.MainLogo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

    .MainLogo img {
        width: 100%;
        height: auto;
        display: block;
        max-width: 200px;
    }

.drDrug {
    text-align: center;
}

/* JJedynak 2023-07-21 */
/* NADPISANE */
.button_02 {
    padding-left: 20px;
    padding-right: 20px;
}

/* DOSAGE */
[hidden] {
    display: none !important;
}

.dosage h1 {
    font-weight: 700;
    font-size: 1.75rem;
}

.dosage p {
    margin-bottom: 0.5rem;
}

.dosage-metric {
    column-gap: 1rem;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.85rem;
    padding: 0 0.75rem;
}

    .dosage-metric dl {
        display: flex;
        column-gap: 8px;
        flex-direction: column;
        margin: 0;
    }

    .dosage-metric dt,
    .dosage-metric dd {
        line-height: 1.3;
        margin: 0;
    }

    .dosage-metric dt {
        font-weight: 400;
    }

    .dosage-metric dd {
        font-weight: 700;
    }

.dosage-drug {
    margin-top: 15px;
    border: solid #0F6AB4 2px;
    border-radius: 10px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.dosage-drug-header,
.dosage-drug-main,
.dosage-drug-footer {
    padding-right: .75rem;
    padding-left: .75rem;
}

.dosage-drug-header {
    border-bottom: 2px solid #0F6AB4;
    display: flex;
    flex-direction: column-reverse;
    margin: 0;
    padding: 0.25rem .75rem .25rem;
}

.dosage-drug-name h2 {
    color: #0F6AB4;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.dosage-drug-name p {
    color: #0F6AB4;
    font-size: 1rem;
    line-height: 1;
}

.dosage-drug-image {
    display: none;
}

.dosage-drug-main {
    padding-bottom: 0.25rem;
}

    .dosage-drug-main h3 {
        font-size: 1.25rem;
        padding: 0.5rem;
        border-bottom: solid grey 1px;
    }

    .dosage-drug-main p {
        padding: 0 0.5rem;
    }

    .dosage-drug-main button {
        background-color: transparent;
        display: inline-block;
        border: 0;
        margin: 0;
        padding: 0;
    }

.details-button {
    font-weight: 700;
    color: #0F6AB4;
}

    .details-button .chevron {
        display: inline-block;
        margin: 5px 0;
        font-weight: 700;
        transform: rotate(225deg) translate(0px, -4px);
    }

    .details-button[aria-expanded="true"] .chevron {
        transform: rotate(315deg) translate(1px, -3px);
    }

.warning {
    border-radius: 50%;
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 19px;
    font-weight: 700;
    background-color: #c00;
    color: #fff;
    margin-right: 5px;
}

.dosage-footer {
    border-top: 2px solid #0F6AB4;
    line-height: 1.3;
    padding: 0.5rem 0;
}

.dosage-interactions-box {
    margin: 1rem 0 0;
}

.dosage-interactions-image {
    display: none;
}

.dosage-interactions .interaction {
    margin: 0 1rem;
}

    .dosage-interactions .interaction p {
        padding: 0;
    }

    .dosage-interactions .interaction h4 {
        font-size: 18px;
        font-weight: 700;
        font-style: italic;
        padding: 0;
        text-align: center;
        position: relative;
        display: flex;
        width: 100%;
        align-items: center;
        column-gap: 1rem;
    }

        .dosage-interactions .interaction h4:before,
        .dosage-interactions .interaction h4:after {
            border-top: 1px dotted grey;
            content: "";
            display: block;
            flex-grow: 1;
        }

.dosage-interactions-box + .dosage-interactions-box {
    border-top: 1px solid grey;
    padding-top: 1rem;
}

.dosage-interactions-box .innerDiv strong,
.dosage-interactions-box .innerDiv br {
    display: none;
}

@media screen and (min-width: 768px) {
    .dosage-metric {
        display: block;
        font-size: 1rem;
    }

        .dosage-metric dl {
            flex-direction: row;
        }

        .dosage-metric dt {
            flex-direction: row;
            flex-basis: 5.5rem;
            text-align: right;
        }

    .dosage-drug-header {
        align-items: center;
        flex-direction: row;
    }

        .dosage-drug-header .dosage-drug-image {
            width: 25%;
        }

    .dosage-drug-image {
        display: block;
    }

    .dosage-drug-name {
        border-left: 2px solid #0F6AB4;
        padding: 0px 15px 0px 30px;
        flex-grow: 1;
    }

    .dosage-drug-tips {
        display: flex;
        column-gap: 1rem;
    }

        .dosage-drug-tips > div {
            flex-grow: 1;
        }

    .dosage-interactions-image {
        display: block;
        min-width: 180px;
    }

    .dosage-interactions-box {
        display: flex;
        align-items: center;
    }

    .dosage-drug-main h3 {
        padding: 1rem 0.5rem 1rem;
    }

    .dosage-drug-header .dosage-drug-image {
        width: 18%;
    }
}

svg {
    fill: hsl(0, 0%, calc((var(--perceived-lightness) - var(--threshold)) * -10000000%)) !important;
}

.button_02,
.button_01 {
    /* ustawia g³owny kolor t³a */
    background: rgb(var(--red), var(--green), var(--blue));
    /* pokazuje bia³y lub czarny napis w zale¿noœci od jasnoœci t³a */
    color: hsl(0, 0%, calc((var(--perceived-lightness) - var(--threshold)) * -10000000%)) !important;
    /* dodaje ciemniejsz¹ ramkê */
    /* border: 1px solid rgba(0,0,0,0.2); */
}

.details-button,
.dosage-drug-name h2,
.section-1 h1 {
    color: rgb(var(--red), var(--green), var(--blue));
}

.dosage-drug {
    border-color: rgb(var(--red), var(--green), var(--blue));
}

.dosage-footer {
    border-top-color: rgb(var(--red), var(--green), var(--blue));
}

.dosage-drug-header,
.section-1 {
    border-bottom-color: rgb(var(--red), var(--green), var(--blue));
}

.dosage-drug-name {
    border-left-color: rgb(var(--red), var(--green), var(--blue));
}

.button_02 svg {
    margin-bottom: 5%;
}

.ereceptaText {
    color: rgb(var(--red), var(--green), var(--blue));
}
