/* pink is not contrast-valid; ratio = 2 - #DC7869 has contrast ratio 3*/

html.pharmalaw {
    background-color: #ff9b8c;
}

body.pharmalaw {
    background-color: white;
    color: #006473;
    font-size: 20px;
    line-height: 28px;
    min-height: 100vh;
}

.pharmalaw ::selection {
    background: #ff9b8c;
    color: white;
}

.screen-reader-text {
    position: absolute;
    clip: rect(1px 1px 1px 1px); /* for Internet Explorer */
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0;
    border: 0;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.pharmalaw__content {
    padding-bottom: 200px;
    position: relative;
}

.single .pharmalaw__content {
    padding-bottom: 90px;
}

.pharmalaw__header {
    color: #006473;
    height: 84px;
    padding: 12px 0;
    position: fixed;
    -webkit-transition: background-color .4s ease-in-out;
    -moz-transition: background-color .4s ease-in-out;
    -o-transition: background-color .4s ease-in-out;
    transition: background-color .4s ease-in-out;
    width: 100%;
}

.pharmalaw__header.solid,
.pharmalaw__header.menu-open {
    background-color: rgba(0,100,115,.75);
    color: white;

}

.pharmalaw__content .header__content {
    height: 60px;
    margin: auto;
    max-width: 90%;
    position: relative;
    width: 810px;
}

.pharmalaw__content .header__logo {
    color: currentColor;
    float: left;
    height: 60px;
    object-fit: contain;
    width: 230px;
}

.pharmalaw__content .header__logo a {
    color: currentColor;
    border: none;
}

.pharmalaw__content .header__logo a path#blood,
.pharmalaw__content .header__logo a path#measure_line_01,
.pharmalaw__content .header__logo a path#measure_line_02 {
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.pharmalaw__content .header__logo a path#blood {
    fill: #ff9b8c;
    stroke: #ff9b8c;
}

.pharmalaw__content .header__logo a:focus path#blood,
.pharmalaw__content .header__logo a:hover path#blood {
    fill: #006473;
    stroke: #006473;
}

.pharmalaw__content .header__logo a:focus path#measure_line_01,
.pharmalaw__content .header__logo a:focus path#measure_line_02,
.pharmalaw__content .header__logo a:hover path#measure_line_01,
.pharmalaw__content .header__logo a:hover path#measure_line_02 {
    fill: #fff;
    stroke: #006473;
}

.pharmalaw__content .header__nav {
    position: absolute;
    right: 0;
    bottom: 15px;
}

.pharmalaw__nav {
    margin-bottom: 0;
}

.pharmalaw__nav .menu-item {
    border-right: 1px solid #ff9b8c;
    display: inline-block;
    margin: 0;
    padding: 0 15px;
    width: fit-content;
}

.pharmalaw__nav .menu-item a {
    border: none;
    color: currentColor;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.pharmalaw__nav .menu-item a::after {
    content: '';
    background-color: transparent;
    display: block;
    height: 1px;
    margin: auto;
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    width: 50%;
}

.pharmalaw__nav .menu-item.current-menu-item {
    font-weight: bold;
}

.pharmalaw__nav .menu-item a:focus,
.pharmalaw__nav .menu-item a:hover {
    font-weight: bold;
}

.pharmalaw__nav .menu-item a:focus::after,
.pharmalaw__nav .menu-item a:hover::after {
    background-color: #ff9b8c;
}

.pharmalaw__nav .menu-item:last-of-type {
    border: none;
    padding-right: 0;
}

.pharmalaw__content .header__mobile {
    border: transparent;
    color: inherit;
    display: none;
    float: right;
    font-size: 18px;
    line-height: 18px;
    padding: 10px;
    text-align: right;
}

@media screen and (max-width: 600px) {
    .pharmalaw__header .header__nav--mobile .header__mobile {
        display: block;
    }

    .pharmalaw__header .header__nav--mobile .pharmalaw__nav {
        display: none;
        position: fixed;
        height: 0;
        left: 0;
        margin: 84px 0 0 0;
        max-height: 0;
        overflow: hidden;
        padding: 10px;
        padding-right: 20px;
        right: 0;
        top: 0;
        -webkit-transition: max-height 1s ease-in;
        -moz-transition: max-height 1s ease-in;
        -o-transition: max-height 1s ease-in;
        transition: max-height 1s ease-out;
        width: 100vw;
    }

    .pharmalaw__header.menu-open .header__nav--mobile .pharmalaw__nav {
        background-color: rgb(0, 100, 115,);
        background-color: rgba(0, 100, 115, .75);
        color: white;
        display: block;
        height: fit-content;
        max-height: 800px;
        bottom: 0;
        -webkit-transition: max-height 1s ease-in;
        -moz-transition: max-height 1s ease-in;
        -o-transition: max-height 1s ease-in;
        transition: max-height 1s ease-in;
    }

    .pharmalaw__header.menu-open .header__nav--mobile .pharmalaw__nav .menu-item {
        display: block;
        margin: 1rem auto;
        padding: 0;
        border: 0;
    }
}

.pharmalaw__content main {
    margin: auto;
    max-width: 90%;
    padding-top: 84px;
    width: 810px;
}

.pharmalaw__item {
    clear: both;
    height: fit-content;
    margin: 0 0 75px 0;
    padding: 30px 0 0 0;
}

.pharmalaw__item--intro {
    margin-bottom: 25px;
}

.pharmalaw__item .item__header,
.pharmalaw__item .item__footer {
    height: fit-content;
    text-align: center;
}

.pharmalaw__item .item__header,
.pharmalaw__item .item__intro,
.pharmalaw__item .item__content {
    height: fit-content;
    margin: auto;
    max-width: 90%;
    padding: 0;
    width: 640px;
}

.pharmalaw__item .item__content p:last-of-type {
    margin-bottom: 70px;
}

.pharmalaw__item .item__category {
    color: #ff9b8c;
    display: block;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 18px;
    margin-bottom: 25px;
    text-decoration: none;
    text-transform: uppercase;
}

.pharmalaw__item .item__category a {
    border: none;
    color: currentColor;
}

.pharmalaw__item .item__category a:hover,
.pharmalaw__item .item__category a:focus {
    color: #006473;
}

.pharmalaw__item .item__title {
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 25px;
}

.pharmalaw__item .item__break {
    background-color: #ff9b8c;
    border: none;
    display: block;
    height: 1px;
    margin: 10px auto;
    max-width: 140px;
    width: 100%;
}

.pharmalaw__item .item__image {
    background-color: #ff9b8c;
    display: block;
    margin: 36px auto;
    width: 100%;

}

.pharmalaw__item .item__intro,
.pharmalaw__item .item__content {
    margin-top: 12px;
    /* @TODO */
}

.pharmalaw__item .item__intro h1,
.pharmalaw__item .item__intro h2,
.pharmalaw__item .item__intro h3,
.pharmalaw__item .item__intro h4,
.pharmalaw__item .item__intro h5,
.pharmalaw__item .item__intro h6,
.pharmalaw__item .item__content h1,
.pharmalaw__item .item__content h2,
.pharmalaw__item .item__content h3,
.pharmalaw__item .item__content h4,
.pharmalaw__item .item__content h5,
.pharmalaw__item .item__content h6 {
    color: #ff9b8c;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 0;
}

.pharmalaw__item .item__intro p,
.pharmalaw__item .item__content p {
    height: fit-content;
}

.pharmalaw__item .item__intro blockquote p,
.pharmalaw__item .item__content blockquote p,
.pharmalaw__item .item__content blockquote p:last-of-type {
    margin: 0;
}

.pharmalaw__item .item__intro blockquote,
.pharmalaw__item .item__content blockquote{
    background-color: transparent;
    border-left: 1px solid #ff9b8c;
    clear: both;
    color: #006473;
    font-size: 17px;
    font-style: normal;
    height: fit-content;
    line-height: 26px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 12px;
    padding: 0 25px;
    text-align: left;
}

.pharmalaw__item.item--noimage .item__intro,
.pharmalaw__item.item--noimage .item__content {
    margin-top: 42px;
}

.pharmalaw__item .item__readmorelink {
    clear: both;
    display: block;
    height: fit-content;
    padding-top: 36px;
    text-align: center;
    width: 100%;
}

.pharmalaw__content a.item__readmore:hover,
.pharmalaw__content a.item__readmore:focus,
.pharmalaw__content .pharmalaw__navlink a:hover,
.pharmalaw__content .pharmalaw__navlink a:focus {
    background-color: #ff9b8c;
    color: white;
}

.pharmalaw__content a.item__readmore,
.pharmalaw__content .pharmalaw__navlink a {
    border: solid 1px #ff9b8c;
    display: inline-block;
    font-size: 14px;
    line-height: 22px;
    margin: auto;
    padding: 10px 20px;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: all .6s ease-in-out;
    -moz-transition: all .6s ease-in-out;
    -o-transition: all .6s ease-in-out;
    transition: all .6s ease-in-out;
    width: max-content;
}

.pharmalaw__item .item__line {
    background-color: currentColor;
    border: none;
    display: block;
    height: 1px;
    margin: 10px auto;
    width: 100%;
}

.pharmalaw__item .item__info {
    margin: 0 auto;
}

.pharmalaw__item .item__info .item__date,
.pharmalaw__item .item__info .item__comments,
.pharmalaw__item .item__info .item__author {
    border: none;
    border-bottom: 1px solid transparent;
    color: #ff9b8c;
    display: inline-block;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 18px;
    margin: 10px;
    min-height: 20px;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: color .6s ease-in-out, border-bottom-color .6s ease-in-out;
    -moz-transition: color .6s ease-in-out, border-bottom-color .6s ease-in-out;
    -o-transition: color .6s ease-in-out, border-bottom-color .6s ease-in-out;
    transition: color .6s ease-in-out, border-bottom-color .6s ease-in-out;
}

.pharmalaw__item .item__info .item__author:focus,
.pharmalaw__item .item__info .item__author:hover {
    border-bottom-color: currentColor;
    color: #006473;
}

.pharmalaw__item .item__info .seperator {
    background-color: #006473;
    display: inline-block;
    height: 20px;
    margin: 0 15px;
    vertical-align: middle;
    width: 1px;
}

@media only screen and (max-width: 800px) {
    .pharmalaw__item .item__info .seperator {
        margin: 0 10px;
    }
}

@media only screen and (max-width: 700px) {
    .pharmalaw__item .item__info > .seperator:last-of-type {
        display: none;
    }
    .pharmalaw__item .item__info .item__author {
        display: block;
    }
}

.pharmalaw__nav {
    clear: both;
    display: block;
    height: fit-content;
    margin-top: -25px;
}

.pharmalaw__nav ul {
    display: table-row;
    padding: 0;
    width: 100%;
}

.pharmalaw__nav .pharmalaw__navlink--prev,
.pharmalaw__nav .pharmalaw__navlink--next {
    display: table-cell;
    width: fit-content;
}

.pharmalaw__nav .pharmalaw__navlink--prev a::before,
.pharmalaw__nav .pharmalaw__navlink--next a::before {
    content: "";
}

.pharmalaw__nav .pharmalaw__navlink--numbers {
    display: table-cell;
    margin: auto;
    max-width: 50%;
    width: inherit;
}

.pharmalaw__navlink--numbers .navlink__list {
    display: block;
    margin: auto;
    width: fit-content;
}

.pharmalaw__navlink--numbers .navlink__list .page-numbers {
    border-color: transparent;
    -webkit-transition: all .6s ease-in-out;
    -moz-transition: all .6s ease-in-out;
    -o-transition: all .6s ease-in-out;
    transition: all .6s ease-in-out;
}

.pharmalaw__navlink--numbers .navlink__list .page-numbers.current {
    padding: 10px;
}

.pharmalaw__navlink--numbers .navlink__list .page-numbers:focus,
.pharmalaw__navlink--numbers .navlink__list .page-numbers:hover {
    background-color: transparent;
    border-color: #ff9b8c;
    color: currentColor;
}

@media only screen and (max-width: 600px) {
    .pharmalaw__nav .pharmalaw__navlink a span {
        display: none;
    }
}

.pharmalaw__footer {
    bottom: 0;
    clear: both;
    color: #ff9b8c;
    font-size: 12px;
    left: 50%;
    letter-spacing: .8px;
    line-height: 18px;
    margin: 35px auto;
    max-width: 90%;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    transform: translateX(-50%);
    width: 810px;
}
