/**
 * Place your custom styles here.
 */

body {
    margin-top: 0;
    font-family: 'AvenirLTStd-Roman';
    font-size: 20px;
    color: #4d4e50;
    line-height: 28px;
    padding-top: 94px;
}

@media (max-width: 992px) {
    body {
        font-size: 18px;
    }
}

@media (max-width: 640px) {
    body {
        padding-top: 113px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 148px;
    }
}

b,
strong {
    font-family: 'AvenirLTStd-Black';
    font-weight: normal;
}

hr {
    border-top: 3px solid #d8d8d8;
}

p.blue-grey {
    color: #767da2;
}

a.charcoal-grey {
    color: #4d4e50 !important;
}

.font-avenir-medium {
    font-family: 'AvenirLTStd-Medium';
}

.hide-all {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}


/*
 *
 * 
 * * * * * * * * * HOME PAGE * * * * * * * * *
 *
 *
 */


/********** HOME PAGE HERO **********/

#home-hero {
    position: relative;
}

#home-hero .hero-image {
    width: 100%;
    max-width: 1440px;
    display: flex;
    margin: 0 auto;
}


/* Removed for full hero */


/*#home-hero .hero-image a {
    width: 25%;
}*/

#home-hero .hero-image a img {
    width: 100%;
}

#home-hero .hero-image.desktop-hero {
    display: none;
}

#home-hero .col-xs-12>h2 {
    font-family: AvenirLTStd-Black;
    font-size: 30px;
    line-height: 38px;
    color: #1f4388;
    text-align: center;
    margin: 20px 0;
}


/********** HOME PAGE AMYLOIDOSIS ALLIANCE SECTION **********/

#alliance>div {
    display: flex;
}

.module-btns .btn-module {
    width: 100%;
    font-size: 26px;
    font-family: AvenirLTStd-Black;
    line-height: 34px;
    padding: 11px 0px;
    border-radius: 4px;
    position: relative;
    bottom: -8px;
    outline: none !important;
    background-color: #f5a81c;
    color: #fff;
    border: 0;
    transition: all 500ms ease;
    z-index: 1;
}
@media(min-width:992px) and (max-width:1200px){
	.module-btns .btn-module {
	    font-size: 20px;
	}
}
.module-btns .btn-module::after {
    border: 36px solid #f5a81c;
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-right-color: transparent;
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, 100%);
}

.module-btns .btn-module.collapsed {
    color: #1f4388;
    background-color: #fff;
    border: 2px solid #26cad3;
    bottom: 0;
}

.module-btns .btn-module.collapsed::after {
    display: none;
}

.module {
    border-top: 6px solid #f5a81c;
    padding-top: 60px;
}

.module .field--name-field-page-title {
    margin: 0 auto;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .module .field--name-field-page-title {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .module .field--name-field-page-title {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .module .field--name-field-page-title {
        width: 1170px;
    }
}

.module .field--name-field-page-title h2 {
    font-family: 'AvenirLTStd-Black';
    color: #1f4388;
    font-size: 45px;
    line-height: 53px;
    margin-bottom: 30px;
}


/*Text Quotes*/

.paragraph--type--quote {
    position: relative;
}

.paragraph--type--quote .field--type-image img {
    margin-left: auto;
    margin-right: auto;
}

.paragraph--type--quote .field--type-image.desktop-img {
    display: none;
}

@media(min-width: 992px) {
    .paragraph--type--quote .field--type-image.desktop-img {
        display: block;
    }
    .paragraph--type--quote .field--type-image.mobile-img {
        display: none;
    }
}

.visible-max-991 {
    display: none;
}

@media (max-width: 991px) {
    .hidden-max-991 {
        display: none;
    }
    .visible-max-991 {
        display: block;
    }
}

.quote-wrapper p {
    font-family: 'AvenirLTStd-Black';
    font-size: 23px;
    line-height: 31px;
    margin-bottom: 0;
}

.quote-wrapper p::after {
    content: '';
    display: block;
    height: 0;
    width: 74px;
    border-bottom: 2px solid #f5a81c;
    margin-top: 9px;
    margin-bottom: 13px;
}

@media (min-width: 992px) {
    .quote-wrapper {
        position: absolute;
        margin: 0 auto;
        left: 0;
        right: 0;
        top: 50%;
        transform: translate(0, -40%);
        max-width: 100%;
    }
    .quote-wrapper p {
        font-size: 26px;
        line-height: 34px;
    }
    .quote-wrapper>div {
        color: #fff;
        max-width: 290px;
        margin-left: auto;
        margin-right: 0;
    }
    .wide-quote-text .quote-wrapper>div {
        max-width: 407px;
    }
    .wide-quote-text.wide-quote-460 .quote-wrapper>div {
        max-width: 460px;
    }
    .inverse-quote.wide-quote-text.wide-quote-475 .quote-wrapper>div {
        max-width: 475px;
        margin-left: 15px;
    }
    .inverse-quote.wide-quote-text .quote-wrapper>div {
        margin-left: 50px;
    }
    .inverse-quote .quote-wrapper>div {
        margin-left: 0;
    }
    .path-frontpage .quote-wrapper>div {
        max-width: 570px;
    }
    #caregiver .quote-wrapper>div {
        max-width: 377px;
        display: none;
        /* hide this because the quote is part of the picture now, not overlaid with text, and the orange line needs to be hidden */
    }
    .flex-block-title {
        max-width: 420px;
        /* set the title to have the same max width as the body copy beneath it, otherwise the flex blocks are different widths depending on the copy in the title and are not centered on the page */
    }
    #caregiver .watch-now-cta .flex-block {
        margin: 0 auto;
        /* this is to center the WATCH NOW CTA for Roland & Nicky's video because it is the only flex item on the line and automatically aligns to the left */
        padding-top: 56px;
    }
    .path-frontpage .quote-wrapper p::after {
        width: 166px;
        margin-top: 13px;
        margin-bottom: 15px;
    }
    .quote-wrapper .field--name-field-quote-author {
        font-family: 'AvenirLTStd-MediumOblique';
        font-size: 14px;
    }
    .path-frontpage .quote-wrapper .field--name-field-quote-author {
        font-size: 20px;
        line-height: 28px;
    }
    .quote-wrapper .field--name-field-quote-author strong {
        font-family: 'AvenirLTStd-Black';
    }
}

@media (max-width: 991px) {
    .paragraph--type--quote .field--type-image.mobile-img img {
        width: 100%;
    }
    .module .field--name-field-page-title h2 {
        font-size: 30px;
        line-height: 38px;
        margin-bottom: 17px;
    }
    .field--name-field-quote-text {
        color: #1f4388;
        font-size: 23px;
        line-height: 31px;
        font-family: AvenirLTStd-Black;
        margin-top: 7px;
        /* margin-left: 15px;*/
        /* max-width: 344px; */
    }
    .field--name-field-quote-text p::after {
        content: '';
        width: 134px;
        height: 1px;
        background-color: #f5a81c;
    }
    .field--name-field-quote-author {
        font-size: 14px;
        color: #1f4388;
        font-family: 'AvenirLTStd-MediumOblique';
        font-weight: normal;
    }
}


/*Flex*/

.d-flex {
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
}

.d-flex.center-items {
    align-items: center;
}


/*flex block*/

.flex-block {
    padding-right: 15px;
    padding-left: 15px;
}

#home-flex-box .flex-block {
    flex: 1;
}

.flex-block-icon {
    margin-bottom: 25px;
}

.flex-block-center {
    justify-content: center;
}

.flex-block-margin-auto {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .flex-block-icon {
        margin-bottom: 20px;
    }
}

section.resource-type .flex-block-icon {
    height: 170px;
    overflow: hidden;
}

.flex-block-icon img {
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    width: auto;
}

.flex-block-icon img {
    margin-left: auto;
    margin-right: auto;
}

.flex-block-title,
.flex-block-title a,
.flex-block-title h4 {
    font-family: 'AvenirLTStd-Black';
    font-size: 23px;
    line-height: 31px;
    color: #1f4388;
    text-align: center;
}

.flex-block-title h2 {
    margin: 0;
}

@media (min-width: 992px) {
    .flex-block-title,
    .flex-block-title a,
    .flex-block-title h4 {
        font-size: 27px;
        line-height: 34px;
    }
}

.flex-block-title a:hover,
.flex-block-title a:focus {
    color: #1f4388;
}

@media (min-width: 992px) {
    #home-flex-box .flex-block .flex-block-icon img {
        width: 114px;
    }
}


/* Align button to bottom of CTA */

.d-flex .flex-block {
    display: flex;
}

.d-flex .flex-block .paragraph--type--flex-block {
    display: flex;
    flex-direction: column;
}

.path-frontpage .d-flex .flex-block .paragraph--type--flex-block,
.node-5 .d-flex .flex-block .paragraph--type--flex-block,
.node-7 .d-flex .flex-block .paragraph--type--flex-block {
    width: 100%;
}

.d-flex .flex-block .paragraph--type--flex-block .flex-block-btn {
    display: flex;
    flex: 1 0 auto;
    align-items: flex-end;
    align-self: center;
}


/* End align button to bottom of CTA */

.flex-block-btn {
    text-align: center;
    margin-top: 15px;
}

.flex-block-btn a {
    display: inline-block;
    font-family: 'AvenirLTStd-Black';
    font-size: 20px;
    text-align: center;
    line-height: 28px;
    min-width: 260px;
    padding: 12px 30px;
    border-radius: 4px;
    background-color: #f5a81c;
    color: #fff;
    text-transform: uppercase;
}


/* Fix flex block items so the paragraphs wrap and don't go off the edge of the page in IE 11 */

@media only screen and (min-width: 992px) {
    .icon-105 .flex-block:first-of-type,
    .icon-115 .flex-block:first-of-type,
    .icon-150 .flex-block:first-of-type {
        width: 17%;
    }
    .icon-105 .flex-block:last-of-type,
    .icon-115 .flex-block:last-of-type,
    .icon-150 .flex-block:last-of-type {
        width: 83%;
    }
    .d-flex.icon-105 .flex-block .paragraph--type--flex-block,
    .d-flex.icon-115 .flex-block .paragraph--type--flex-block,
    .d-flex.icon-150 .flex-block .paragraph--type--flex-block {
        display: block;
        /* otherwise the text won't wrap and it breaks out of its container */
    }
}


/*Flex block sep*/

.flex-sep.d-flex {
    justify-content: space-around;
    /* justify-content: center; /* space-around is not as well-supported as center for cross-browser compatibility */
}

.flex-sep .sep {
    background-color: #e1e8ef;
    width: 3px;
    border-radius: 4px;
    /* margin-left: 55px;
    margin-right: 55px; */
}

.path-frontpage .flex-sep .sep {
    width: 6px;
    /* margin-left: 80px;
    margin-right: 80px; */
}

.flex-sep .sep:last-child {
    display: none;
}


/* show the last separator of the section with show-last-sep class */

.flex-sep.show-last-sep .sep:last-child {
    display: block;
}


/*page headers */

.page-title {
    font-size: 30px;
    margin-bottom: 15px;
    color: #1f4388;
    font-family: AvenirLTStd-Black;
    margin-top: 34px;
    margin-bottom: 41px;
}

.page-title h1 {
    font-size: 30px;
    margin-bottom: 15px;
    color: #1f4388;
    font-family: AvenirLTStd-Black;
    margin-top: 34px;
    margin-bottom: 41px;
}

.page-h2 h2 {
    font-size: 23px;
    line-height: 31px;
    margin-bottom: 11px;
    color: #1f4388;
    font-family: AvenirLTStd-Black;
    margin-bottom: 0px;
}

@media (min-width: 992px) {
    .page-title {
        font-size: 45px;
        line-height: 53px;
    }
    .page-title h1 {
        font-size: 45px;
        line-height: 53px;
    }
    .page-h2 h2 {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 30px;
    }
}


/*Video quotes*/

.paragraph--type-video-block {
    display: flex;
    flex-direction: column-reverse;
}

@media(min-width: 992px) {
    .paragraph--type-video-block {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.inverse .paragraph--type-video-block .group-left {
    float: right;
    order: 1;
    justify-self: flex-end;
    margin-left: 117px;
    margin-right: auto;
}

.inverse .paragraph--type-video-block .group-right {
    float: left;
    order: 0;
}

@media(max-width: 991px) {
    .group-left,
    .group-right {
        width: 100% !important;
        float: none !important;
    }
}

.paragraph--type-video-block .page-h2 {
    margin-top: 0;
}

.paragraph--type-video-block .field--name-field-video-image img {
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
}

.paragraph--type-video-block .group-right {
    position: relative;
}

.paragraph--type-video-block .field--name-field-video-quote h2 {
    font-family: 'AvenirLTStd-Black';
    font-size: 23px;
    line-height: 31px;
    color: #1f4388;
}

@media (min-width: 992px) {
    .paragraph--type-video-block .field--name-field-video-quote h2 {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 25px;
    }
}

.paragraph--type-video-block .field--name-field-video-quote::after,
.events-block .group-right .field--name-field-location::after {
    content: '';
    display: block;
    width: 72px;
    height: 0;
    border-top: 2px solid #f5a81c;
    margin-top: 9px;
    margin-bottom: 20px;
}

.paragraph--type-video-block .field--name-field-video-quote-author {
    color: #1f4388;
    font-size: 14px;
    font-family: 'AvenirLTStd-MediumOblique';
}

.paragraph--type-video-block .field--name-field-video-quote-author strong {
    font-family: 'AvenirLTStd-Heavy';
}


/***************************** end common styles ************************/


/******************* video popup ************************/

.video-popup .mfp-video-embed-popup {
    position: relative;
    cursor: pointer;
}

.video-popup .mfp-video-embed-popup::after {
    cursor: pointer;
    content: '';
    display: block;
    width: 100px;
    height: 100px;
    background-image: url(../images/playbutton.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (min-width: 992px) {
    .video-popup .mfp-video-embed-popup::after {
        width: 100px;
        height: 100px;
    }
}


/* events block */

.events-block .view-content .views-row {
    padding-bottom: 33px;
    margin-bottom: 33px;
    border-bottom: 2px solid #d8d8dd;
}

.events-block .view-content .views-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

@media (min-width: 992px) {
    .events-block .view-content .views-row .node {
        display: flex;
    }
}

.events-block .view-content .views-row .group-left {
    background-color: #f4f3f3;
    padding: 12px 25px;
    text-align: center;
}

@media (min-width: 992px) {
    .events-block .view-content .views-row .group-left {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        max-width: 265px;
        width: 100%;
        flex: 1;
        margin-right: 30px;
    }
    .events-block .view-content .views-row .group-right {
        width: 100%;
        flex: 1;
    }
}

.events-block .view-content .views-row .group-left .date-group::before {
    content: '';
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 112px;
    height: 112px;
    background-image: url(../images/calendar.svg);
    background-position: center center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    margin-bottom: 7px;
}

@media (min-width: 992px) {
    .events-block .view-content .views-row .group-left .date-group::before {
        margin-bottom: 12px;
    }
}

.events-block .group-left .date-group {
    font-family: 'AvenirLTStd-Black';
    font-size: 18px;
    line-height: 25px;
    color: #767da2;
}

.events-block .group-left .date-group span {
    font-size: 15px;
}

@media (max-width: 767px) {
    .events-block .group-left .date-group span {
        text-transform: uppercase;
    }
}

@media(min-width: 992px) {
    .events-block .group-left .date-group {
        font-size: 20px;
        line-height: 28px;
    }
    .events-block .group-left .date-group span {
        font-size: 17px;
    }
}

.events-block .group-right .field--name-node-title h2 {
    font-family: 'AvenirLTStd-Black';
    font-size: 23px;
    line-height: 31px;
    color: #1f4388;
    margin-top: 15px;
}

@media (min-width: 992px) {
    .events-block .group-right .field--name-node-title h2 {
        font-size: 26px;
        line-height: 34px;
        margin-top: 40px;
    }
}

.events-block .group-right .field--name-field-location {
    font-family: 'AvenirLTStd-Black';
    color: #767da2;
    font-size: 18px;
    line-height: 25px;
}

@media (min-width: 992px) {
    .events-block .group-right .field--name-field-location {
        font-size: 20px;
        line-height: 28px;
    }
}

.events-block .group-left .field--name-field-location::after {
    margin-top: 12px;
    margin-bottom: 24px;
}

@media (min-width: 992px) {
    .events-block .group-right .field--name-field-location::after {
        margin-top: 20px;
        margin-bottom: 16px;
    }
}

.events-block .group-right .field--name-body {
    margin-bottom: 15px;
}

@media (min-width: 992px) {
    .events-block .group-right .field--name-field-register {
        margin-bottom: 15px;
    }
}

.events-block .group-right .field--name-field-register a,
.events-block .group-right .field--name-field-register a:hover,
.events-block .group-right .field--name-field-register a:focus,
.events-block .group-right .field--name-field-register a:active {
    color: #fff;
}

.events-block .group-right .field--name-field-register {
    text-align: center;
}

@media (min-width: 992px) {
    .events-block .group-right .field--name-field-register {
        text-align: left;
    }
}

.events-block .group-right .field--name-field-register a {
    font-family: 'AvenirLTStd-Black';
    font-size: 20px;
    text-align: center;
    line-height: 28px;
    min-width: 260px;
    padding: 12px 30px;
    border-radius: 4px;
    background-color: #f5a81c;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
}


/*Collapseable content (Seeking a Diagnosis)*/

.collapse-parent {
    border-radius: 4px;
    border: 2px solid #26cad3;
    padding: 12px 15px;
    margin-bottom: 5px;
}

.collapse-handler {
    align-items: center;
    cursor: pointer;
}

.collapse-handler .flex-block:last-child {
    margin-left: auto;
    margin-right: 0;
}

.collapse-handler .flex-block .flex-block-icon {
    margin-bottom: 0;
    max-width: 60px;
    min-width: 44px;
}

.collapse-parent .paragraph--type--full-content {
    display: none;
}

.collapse-parent .flex-block-content {
    color: #767da2;
    font-size: 18px;
    line-height: 25px;
    font-family: 'AvenirLTStd-Black';
}

@media (min-width: 992px) {
    .collapse-parent .flex-block-content {
        font-size: 20px;
        line-height: 28px;
    }
}

.expand-all .expand {
    font-family: 'AvenirLTStd-Roman';
    font-size: 14px;
    line-height: 22px;
    cursor: pointer;
    text-decoration: underline;
}

.expand-all .expand.not-expanded {
    opacity: 0.41;
    text-decoration: none;
}

@media (min-width: 992px) {
    .expand-all .expand {
        font-size: 16px;
    }
}


/********************************************************************/

.path-frontpage section#learn section.inverse .group-left p::after {
    display: none;
}


/*No connectio styles*/

@media(min-width: 992px) {
    .sidebar-section .flex-block-btn {
        text-align: left;
    }
}

.sep-arrow {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 15px;
    margin-bottom: 15px;
}

.sep-arrow img {
    display: block;
}

.sep-arrow::after,
.sep-arrow::before {
    content: '';
    display: block;
    height: 0;
    border-top: 2px solid #d8d8d8;
    width: 43%;
}

.sep-arrow::after {
    margin-left: auto;
    margin-right: 0;
}

.sep-arrow::before {
    margin-right: auto;
    margin-left: 0;
}

p.strip {
    margin-left: -15px;
    margin-right: -15px;
    padding: 7px 15px 6px 15px;
    background: #f6f6f6;
}

.orange-block {
    border-radius: 4px;
    background-color: #fa7b36;
    padding: 12px 18px 8px 18px;
    color: #fff;
    font-family: 'AvenirLTStd-Black';
    margin-top: 20px;
    margin-bottom: 20px;
}

@media(min-width: 992px) {
    .orange-block {
        background-image: url(../images/discuss.png);
        background-repeat: no-repeat;
        background-position: 99% bottom;
        margin-top: 35px;
        margin-bottom: 35px;
        padding: 24px 177px 27px 23px;
    }
}

.col-equal .flex-block {
    flex: 1;
}

.v-center {
    align-items: center;
}

.sidebar-section .paragraph--type-video-block {
    flex-direction: column-reverse;
    background-color: #e9eff5;
    padding-top: 45px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 35px;
    margin-bottom: 15px;
}

.sidebar-section .paragraph--type-video-block .group-left,
.sidebar-section .paragraph--type-video-block .group-right {
    width: 100%;
    float: none;
}

.sidebar-section .paragraph--type-video-block .field--name-field-video-quote::after {
    display: none;
}

.sidebar-section .paragraph--type-video-block img {
    margin: 0 !important;
}

.sidebar-section .paragraph--type-video-block .field--name-field-video-label h4::before,
.sidebar-section .paragraph--type-video-block .field--name-field-video-label a::before {
    width: 48px;
    height: 48px;
    min-width: 0;
    min-height: 0;
}

.sidebar-section .paragraph--type-video-block .field--name-field-video-label a::before {
    min-width: 48px;
}

.sidebar-section .paragraph--type-video-block .field--name-field-video-label {
    padding-top: 7px;
    padding-bottom: 7px;
}

.sidebar-section .paragraph--type-video-block .field--name-field-video-quote h2 {
    font-size: 20px;
    line-height: 28px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.link-sup-underline {
    display: inline-block;
    text-decoration: none;
    height: 13px;
    border-bottom: 1px solid #1f4388;
}

.cerise-sup {
    color: #e22c95;
}

@media (min-width: 768px) {
    .link-sup-underline {
        height: 14px;
    }
}

@media(min-width: 992px) {
    .node-16 .events-block .group-left .date-group span {
        font-size: 16px;
    }
}

.cobalt {
    color: #1f4388;
}

body.path-search #search-form {
    margin-top: 30px;
    margin-bottom: 35px;
}

body.path-search #edit-help-link {
    display: none;
}

body.path-search .highlighted {
    display: none;
}

@media (min-width: 992px) {
    body.path-search #search-form {
        margin-bottom: 46px;
    }
    /* hide the separator in desktop view */
    .flex-sep.show-last-sep .sep:last-child {
        display: none;
    }
    /********** HOME PAGE HERO **********/
    #home-hero .hero-image.desktop-hero {
        display: flex;
    }
    #home-hero .hero-image.mobile-hero {
        display: none;
    }
    #home-hero h1,
    #home-hero h2 {
        font-size: 45px;
        line-height: 53px;
        margin-bottom: 9px;
    }
    #home-hero h2 {
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 19px;
    }
}


/* Patient story styles */

.story-title,
.story-subtitle {
    font-family: AvenirLTStd-Black;
    color: #1f4388;
}

.story-title {
    font-size: 24px;
}

.story-subtitle {
    font-size: 18px;
}

.story-flex-wrapper p {
    font-size: 16px;
    margin-bottom: 25px;
}

.story-flex-wrapper p:last-child {
    margin-bottom: 0;
}

.story-flex-wrapper {
    margin-top: 10px;
}

.story-flex-wrapper .field--name-field-story-image {
    margin-bottom: 25px;
    max-width: 256px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .story-title {
        font-size: 32px;
    }
    .story-subtitle {
        font-size: 20px;
    }
    .story-flex-wrapper p {
        font-size: 18px;
    }
    .story-flex-wrapper {
        display: flex;
        flex-wrap: wrap;
        margin-top: 40px;
    }
    .story-flex-wrapper .field--name-field-story-image {
        order: 1;
        max-width: 385px;
        flex: 1;
        margin-right: 30px;
        margin-left: 0;
    }
    .story-flex-wrapper .field--name-field-story-intro {
        order: 0;
        flex: 1 1 auto;
        margin-bottom: 50px;
    }
    .story-flex-wrapper .field--name-body {
        order: 2;
        flex: 1;
    }
    .scrollmagic-pin-spacer {
        order: 1;
        max-width: 385px;
        flex: 1;
    }
    .unpin {
        width: 100%;
        order: 3;
        display: none;
    }
}

.page-node-type-patient-story .patient-stories-wrapper {
    background-color: #f6f6f6;
    margin-top: 95px;
}

.page-node-type-patient-story .patient-stories-wrapper .block-title {
    margin-top: 35px;
    text-align: center;
    margin-bottom: 0;
    font-size: 32px;
    font-family: 'AvenirLTStd-Roman';
}

.page-node-type-patient-story .patient-stories-wrapper .slide__caption {
    padding-top: 0;
    padding-bottom: 38px;
    margin-left: 7px;
}

.page-node-type-patient-story .slide__caption .field-content a:nth-child(2) {
    color: #234c93 !important;
    text-decoration: none;
    font-size: 20px;
    font-family: 'AvenirLTStd-Black';
    display: inline-block;
    text-align: left;
}

.page-node-type-patient-story .slide__caption .field-content img {
    margin-left: -17px;
}

.page-node-type-patient-story .patient-stories-wrapper .country-video {
    display: block;
    color: #234c93;
    font-family: 'AvenirLTStd-Roman';
}

.page-node-type-patient-story .slick-next.slick-arrow::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    width: 22px;
    height: 22px;
    border: solid #f5a81c;
    border-top-width: medium;
    border-right-width: medium;
    border-bottom-width: medium;
    border-left-width: medium;
    border-width: 0 3px 3px 0;
    transform: rotate(-45deg);
    z-index: 999;
}

@media (min-width:768px) {
    .page-node-type-patient-story .slick-list.draggable {
        margin-left: 30px;
        margin-right: 30px;
    }
}

.page-node-type-patient-story .slick-prev.slick-arrow::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 8px;
    width: 22px;
    height: 22px;
    border: solid #f5a81c;
    border-top-width: medium;
    border-right-width: medium;
    border-bottom-width: medium;
    border-left-width: medium;
    border-width: 0 3px 3px 0;
    transform: rotate(135deg);
    z-index: 99999;
}

.page-node-type-patient-story .slick-arrow {
    transform: translateY(-120%) !important;
}


/********** RESOURCES PAGE **********/

.flex-block-subtext {
    font-size: 12px;
    line-height: 26px;
}

.star-disclaimer {
    font-size: 11px;
    line-height: 13px;
}


/********** STAR TRACKER PAGE **********/

.full-quote {
    color: #1f4388;
    font-family: AvenirLTStd-Black;
    font-size: 26px;
    line-height: 31px;
    margin-bottom: 25px;
}

.full-quote-author {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 20px !important;
}

@media (max-width:992px) {
    .full-quote {
        font-size: 23px;
        margin-bottom: 25px;
        padding: 0;
    }
}

@media (max-width:768px) {}


/*html:lang(de) .menu .menu--main .nav .navbar-nav li:nth-of-type(4) {
  display: none !important;
}*/

.remove-2nd .flex-block:nth-of-type(2) {
    display: none !important;
}


/**** German user Geo-location hidden rules (disabled) ****/


/* .in-germany #navbar #navbar-collapse ul.menu--main > li.last, */


/*.in-germany #home-hero .hero-image.mobile-hero,
.in-germany #home-hero .hero-image.desktop-hero{
  display:none !important;
}*/


/*.in-germany .resource-type .field--item>.flex-box.remove-ts-de>.flex-block:first-child {
    display: none !important;
}*/


/*.in-germany #navbar #navbar-collapse ul.menu--main>li:div[data-quickedit-entity-id="paragraph/187"] {
    display: none !important;
}

.in-germany #navbar #navbar-collapse ul.menu--main>li:nth-child(4) {
    display: none !important;
}

.in-germany #navbar #navbar-collapse ul.menu--main {
    justify-content: end;
}*/


/* [lang="de"] .node-5 .sidebar-section .field--item:nth-child(2), */

#section-hide .sep,
.d-none,
[lang="de"] .node-6 .sidebar-section .field--item:nth-child(2),
[lang="de"] .node-7 .sidebar-section .field--item:nth-child(2),
[lang="de"] .node-13 .sidebar-section .field--item:nth-child(2),
[lang="de"] .node-43 .cards-hide,
[lang="de"] .node-53 .sidebar-section .field--item,
#section-hide .sep+.flex-block,
#section-hide .sep,
#section-hide .sep+.flex-block {
    display: none !important;
}


/*maggi code*/

#home-hero .hero-image a img {
    height: auto;
}


/* @media (min-width:992px){
  .tooltip {
  right: 40%;
  left: unset;
}
} */

@media (max-width:992px) {
    body {
        padding-top: 68px;
    }
    #learn .paragraph--type--page-title .field--name-field-page-title {
        margin-bottom: 17px;
    }
}

@media (max-width:683px) {
    body {
        padding-top: 85px;
    }
}

@media (max-width:522px) {
    body {
        padding-top: 104px;
    }
}

@media (max-width:425px) {
    body {
        padding-top: 121px;
    }
}

@media (max-width:376px) {
    body {
        padding-top: 138px;
    }
}

#learn .paragraph--type--page-title .field--name-field-page-title {
    margin-bottom: 30px;
}

@media (max-width:991px) {
    #learn .paragraph--type--page-title .field--name-field-page-title {
        margin-bottom: 17px;
    }
}

@media (max-width:767px) {
    html:lang(de) .collapse-handler.plus-position-absolute>.flex-block:nth-child(2) {
        flex: 0 1 65%;
    }
    html:lang(de) .collapse-handler.plus-position-absolute>.flex-block:nth-child(3) {
        position: absolute;
        right: 0;
    }
    .node-9 .collapse-handler>.flex-block:nth-child(2) {
        flex: 0 1 65%;
    }
    .node-9 .collapse-handler>.flex-block:nth-child(3) {
        position: absolute;
        right: 0;
    }
    #alliance .field--name-field-full-html-content {
        display: flex;
        flex-direction: column;
    }
    #alliance-es .field--name-field-full-html-content {
        display: flex;
        flex-direction: column;
    }
    #alliance-resources .field--name-field-full-html-content {
        display: flex;
        flex-direction: column;
    }
    html:lang(de) #edit-keys::placeholder,
    html:lang(es) #edit-keys::placeholder {
        font-size: 16px;
    }
    html:lang(de) .path-search .region-content form .input-group input#edit-keys,
    html:lang(es) .path-search .region-content form .input-group input#edit-keys {
        padding: 16px 0 16px 12px;
    }
}

html:lang(es) .resource-type .single-resource.single-pdf .flex-block:nth-child(2) {
    display: none;
}

#block-languageswitcher {
    color: #fff;
    font-family: 'AvenirLTStd-Heavy';
    font-size: 16px;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    padding: 0;
    height: 46px;
    background-color: transparent;
    border: 0;
    position: relative;
    width: 79px;
}

#block-languageswitcher::after {
    background-image: url("/themes/effvision/images/white-arrow-down.svg") !important;
    width: 16px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    content: "";
    display: block;
    position: absolute;
    top: 20px;
    right: 0;
}

#block-languageswitcher .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    margin-top: 0;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    border-radius: 0;
    width: 200px;
}

#block-languageswitcher ul a {
    font-family: 'AvenirLTStd-Roman';
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    white-space: nowrap;
    font-size: 14px;
    line-height: 25px;
    color: #767da2;
}

#block-languageswitcher ul a.is-active {
    font-family: 'AvenirLTStd-Black';
}

@media(max-width:991px) {
    #block-languageswitcher {
        height: 28px;
        font-size: 12px;
        width: 55.5px;
        margin-bottom: 0;
    }
    #block-languageswitcher::after {
        width: 10px;
        height: 5px;
        top: 12px;
        right: 0;
    }
}


/* html:lang(sv) .star-disclaimer, */

html:lang(fr) .star-disclaimer,
html:lang(it) .star-disclaimer {
    display: none;
}

html:lang(fr) .one-pdf .flex-block:nth-child(2) {
    display: none;
}

.note.resource-p {
    left: 15px;
    /*   bottom:-180px; */
    bottom: -36px;
}

@media(min-width:992px) {
    .node-13 .paragraph--type-video-block:nth-child(2) {
        margin-top: 50px;
    }
    .note.resource-p {
        left: 29px;
    }
}


/* @media(min-width:423px){
.note.resource-p{
  left:0px;
  bottom:-200px;
}
} */


/* @media(min-width:523px){
.note.resource-p{
  left:0px;
  bottom:-190px;
}
} */


/* @media(min-width:623px){
.note.resource-p{
  left:0px;
  bottom:-150px;
}
} */

.video-blocks-star-page .paragraph--type-video-block {
    margin-bottom: 0px;
}

@media (min-width:1001px) {
    .video-blocks-star-page .paragraph--type-video-block {
        margin-bottom: 50px;
    }
}

.video-blocks-star-page .paragraph--type-video-block::before,
.video-blocks-star-page .paragraph--type-video-block::after {
    display: none;
}

.video-blocks-star-page .paragraph--type-video-block {
    gap: 20px;
}
@media (max-width:767px) {
  .group-footer .btn-orange {
    font-size: 16px;
    min-width: 100%;
    margin: auto;
    padding: 12px;
  }
}
@media (max-width:767px) {
  .section.clearfix.note-code {
    padding: 0 15px;
  }
}
@media (min-width:768px)  and  (max-width:991px) {
  .section.clearfix.note-code {
    padding: 0;
    margin: 0 -15px;
  }
}

 html[lang="pt-pt"] #block-languageswitcher {
    width: 110px !important;
  }
@media (max-width:991px) {
  html[lang="sv"] #block-languageswitcher ,
  html[lang="de"] #block-languageswitcher ,
  html[lang="es"] #block-languageswitcher ,
  html[lang="fr"] #block-languageswitcher {
    width: 60px !important;
  }
    html[lang="pt-pt"] #block-languageswitcher {
    width: 80px !important;
  }
}
#block-languageswitcher .dropdown-menu li:last-child{
display:none;
}
.show-de{
display:none !important;
}
html[lang="de"] .show-de{
display:block !important;
}
/*pt-pt edits*/
.hide-sec-column .sep{
display:none;
}
.hide-sec-column .sep,
.hide-sec-column .sep + .flex-block
{
display:none;
}
html:lang(pt) .node-5 .sidebar-section > .field--item:nth-child(1) + .field--item{
display:none;
}
html:lang(pt) .video-blocks-star-page .field--name-field-paragraphs > .field--item:nth-child(1){
display:none;
}