@import url("https://use.typekit.net/wmx1bfa.css");

body {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: black;
}

body, html {
    margin: 0;
    padding: 0;
}

.responsive-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.c-article__callout, .c-article__author-information {   
    min-height: 20px;   
    padding: 16px;
    margin-bottom: 20px;  
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 2px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
} /* For grey box surrounding sections --Callie Houlihan*/

.c-article__figure, .thumbnail {
    display: block;   
    padding: 4px;    
    margin-bottom: 20px;   
    background-color: #faf9f9;   
    border: 1px solid #e3e3e3;   
    border-radius: 2px;  
    transition: border .2s ease-in-out;
} /* For outline border of some images --Callie Houlihan*/
.img-fluid {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4px;
}

/* For table formatting and right justify in author pictures --Callie Houlihan */
table {
   width: 100%;
   border-top: 1px solid #ddd;
   padding: 8px;
   line-height: 1.42857143;
   border-spacing: 0;
   border-collapse: collapse;
   margin-bottom: 1rem;
  }
caption {
    text-align: left;
    }
.c-article__table--striped>tbody>tr:nth-of-type(odd), .table-striped>tbody>tr:nth-of-type(odd){
    background-color: hsla(0,0%,86%,.1);
    border-top: 1px solid #ddd;
    }
.s-cms table>tbody>tr>td, .s-cms table>tbody>tr>th, .s-cms table>tfoot>tr>td, .s-cms table>tfoot>tr>th, .s-cms table>thead>tr>td, .s-cms table>thead>tr>th{
	 border-top: 1px solid #ddd;
}
tr {
    border-top: 1px solid #ddd;
}
/* For related content box in retinal physician */
/*
.c-article__relatedContent {
    min-height: 20px;
    padding: 8px;
    background-color: #f5f5f5;
    border-radius: 2px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 1px;
    padding-bottom: 5px;
    border: 0;
    box-shadow: none;
    list-style: none;
    width: 300px;
}
*/


.c-article__relatedContent {
  min-height: 20px;
  padding: 1.5rem;
  background-color: #f5f5f5;
  border-radius: 2px;
  margin: 0 0 .25rem 1rem;
  border: 0;
  box-shadow: none;
  list-style: none;
  width: 300px;
  float: right;
}

.c-article__relatedContent h2:first-child{
    margin-top: 0;
}

.c-article__relatedContent .c-aside__list li{
    line-height: 1.3;
    margin-bottom: .5rem;
}

.c-article__relatedContent .c-aside__list li:last-of-type, .c-article__relatedContent .c-aside__list:last-of-type{
    margin-bottom: 0;
}


.frame {
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    border: none;
}

.row2 .frame, .row3 .frame, .row4 .frame {
    padding-top: 25px;
    padding-bottom: 25px;
}

.row1, .row5 {
    background-color: black;
    color: #fff;
}

.row2, .row3, .row4 {
    margin-bottom: 50px;
}

.row1 {
    height: 85px;
    margin-bottom: 50px;
}

.row3 {
    background-color: #1A1A1A;
    color: #fff;
}

.left, .right {
    display: flex;
    align-items: center;
}

.left .logo {
    width: 175px;
}

.right .menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.menu li {
    font-size: 0.875em;
    text-transform: uppercase;
    color: white;
    padding: 5px 10px;
    background: none;
    border-radius: 5px;
}

.menu li:hover {
    text-decoration: underline;
}

.menu li {
    position: relative;
}

.menu li .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    color: black;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px;
    margin: 0;
}

.menu li .dropdown-menu li {
    padding: 10px;
    text-transform: none;
}

.menu li .dropdown-menu li:hover {
    background: #f0f0f0;
}

.menu li:hover .dropdown-menu {
    display: block;
}

.menu li .dropdown-menu a {
    color: black;
}

.menu li .dropdown-menu a:hover {
    text-decoration: none;
}


.hamburger {
    color: white;
    background-color: black;
    border: none;
    display: none;
}

.headline1 {
    padding: 0;
    margin: 0;
}

.headlineimg {
    width: 800px;
}

.responsive-row.row2 .frame {
    justify-content: space-between;
}

.responsive-row.row2 .frame .left-div {
    flex-grow: 1;
    margin-right: 50px;
}

.left-div {
    display: flex;
    align-items: flex-start;
}


.row1 .left-div {
    display: flex;
    align-items: flex-start;
    margin-top: 0;
    padding-top: 0;
}

.responsive-row.row2 .frame .right-div {
    width: 300px;
    align-items: flex-start;
    align-self: flex-start;
    order: 1;
}

.responsive-row.row3 .frame {
    flex-wrap: wrap;
    justify-content: space-between;
}

.responsive-row.row3 .frame .row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 15px 0;
}

.responsive-row.row3 .frame .row:first-child {
    margin-bottom: 30px;
}

.responsive-row.row3 .frame .row .publication-item {
    max-width: 160px;
    max-height: 215px;
    width: 100%;
    border: 1px solid #ccc;
    box-sizing: border-box;
    transition: transform 0.2s; /* add this line */
}

.responsive-row.row3 .frame .row .publication:hover {
    transform: scale(1.05);
}


.row5 {
    background-color: black;
    color: #fff;
}

.responsive-row.row5 .frame .advertisement {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.responsive-row.row5 .frame .row {
    padding: 30px 0;
}

.sectiontitle {
    font-size: 1.5em;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0;
    margin: 0;
}

.sectiontitle-white {
    color: white;
    padding: 15px 0;
}
.articlelist {
    width: 300px;
    display: flex;
    flex-wrap: wrap;
}

.articlelist-title {
    margin-bottom: 0px;
    padding-bottom: 5px;
}

.articlelist-teaser {
    margin-top: 0px;
}

.articlelist-title, .articlelist-teaser {
    flex: 1 1 100%;
    word-break: break-word;
}

h1 {
    font-weight: 300;
    font-size: 2em;
}

.headline1 h1 {
    margin-top: 8px;
    margin-bottom: 8px;
}

h2 {
    font-weight: 300;
    font-size: 1.5em;
}

h3 {
    font-size: 1.25em;
    font-weight: 500;
}

h3.secondary {
    font-size: 1.5em;
    font-weight: 400;
}

h4 {
    font-size: 0.8125em;
    font-weight: 400;
}

h4.subtitle {
    font-size: 1.125em;
    margin: 0;
}

.articlelist-title h3 {
    margin: 20px 0 0 0;
    padding: 0;
}

.articlelist-teaser h4 {
    margin: 0 0 25px 0;
    padding: 0;
}

.label {
    text-transform: uppercase;
    color: white;
    padding: 0.375rem;
    background-color: black;
    font-size: 0.6875em;
}

.event-btn {
    color: white;
    text-transform: uppercase;
    background-color: #0072BC;
    padding: 0.625rem;
}

.menu {
    font-size: 0.875em;
    text-transform: uppercase;
    color: white;
}

.menu a:hover {
    text-decoration: underline;
}

.menu.publication {
    color: black;
}

.publication-link {
    color: #0072BC;
    font-size: 0.875em;
    font-weight: 400;
}

.publication-link:hover {
    text-decoration: underline;
}

.publication {
    background-color: #1A1A1A;
}

.frame .sectiontitle {
    display: block;
    width: 100%;
    text-align: left;
}

.frame .sectiontitle {
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 25px; /* Added margin to create space between title and items */
}

.frame .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px; /* Added margin to create space between rows */
}

.frame .item {
    width: 15%; /* Adjusted width to fit 6 items in a row */
}
.article {
    font-size: 1em;
    font-family: neue-haas-grotesk-text, sans-serif;
}

.byline {
    color: black;
    font-size: 0.875em;
    font-family: neue-haas-grotesk-text, sans-serif;
}

.byline a {
    color: #0072BC;
}

.byline a:hover {
    text-decoration: underline;
}

.footer {
    background-color: black;
    color: white;
    font-size: 0.75em;
}

.footer a:hover {
    text-decoration: underline;
}

.footer.publication {
    background-color: #1a1a1a;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 0.875em;
}

.podcast-container {
    display: flex;
    justify-content: space-between;
    gap: 45px;
    flex-direction: row;
    width:800px;
    justify-content: flex-start;
    align-items: flex-start;
}

.podcast {
    box-sizing: border-box;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.publication-label {
    background-color: #000000;
    padding: 5px 0;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    letter-spacing: 0.11em;
}

.podcast-link {
    text-decoration: none;
    color:#000;
}

.podcast-link:hover {
    text-decoration: none;
    color:#000;
}

.publication-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.publication-item {
    flex: 1;
    padding: 0 10px;
}
.publications-desktop {
        display: block;
    }
    .publications-mobile {
        display: none;
    }

/*start media*/
@media (max-width: 700px) {
    .publications-desktop {
        display: none;
    }
    .publications-mobile {
        display: block;
    }
    .podcast {
        width: 220px;
        text-align: left;
    }
    .podcast-container {
        flex-direction: column;
        align-items: center;
        width:420px;
        margin-top: 25px;
    }
    .podcast h2 {
        font-weight: 500;
    }
    .responsive-row {
        flex-direction: column;
    }
    .publication {
        width: 420px;
        max-width: 100%;
        margin-bottom: 10px;
    }

    .publication img {
        width: 300px;
        max-width: 100%;
    }

    .right .menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .left {
        flex-grow: 1;
        justify-content: space-between;
    }

    .responsive-row.row3 .frame .row {
        flex-direction: column;
        align-items: center;
    }
    .responsive-row.row2 .frame, .responsive-row.row3 .frame, .responsive-row.row4 .frame {
        flex-direction: column;
    }

    .menu.active {
        display: flex;
    }

    .menu:not(.active) {
        display: none;
    }

    .menu {
        list-style-type: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: absolute;
        background: white;
        color: black;
        width: 200px;
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        top: 60px;
        right: 10px;
    }

    .menu li {
        padding: 10px;
    }

    .menu li:hover {
        background-color: #f0f0f0;
    }

    .responsive-row.row1 {
    margin: 0 !important;
    }
    
    .responsive-row.row2 .frame .left-div {
        flex-grow: 1;
        margin: 0;  /* Remove margin */
        padding: 0; /* Remove padding */
        align-items: flex-start;
        order: 0;
    }

    .responsive-row.row2 .frame .right-div {
        width: 420px;
        order: 1;
        margin-top: 30px;
    }

    .responsive-row.row4 .frame .right-div {
        width: 420px;
        order: 0;
        background-color: #F4F4F2;
    }

    .responsive-row.row4 .frame .podcast-div {
        width: 420px;
        margin-bottom: 50px;
        order: 1;
    }

    .responsive-row.row2 .frame .left-div img {
        max-width: 100%;
        height: auto;
    }
    
    .responsive-row.row2 .frame {
        align-items: flex-start;
        padding: 0;
        margin: 0;
    }

    .frame {
        padding: 20px;
    }

    .headlineimg {
        width: 420px;
    }

    .advertisement {
        width: 420px;
    }

    .responsive-row.row2 .frame, .responsive-row.row3 .frame, .responsive-row.row4 .frame {
        padding: 20px;
    }

    .responsive-row.row2, .responsive-row.row3, .responsive-row.row4 {
        margin-bottom: 20px;
    }
        .responsive-row.row4 .frame {
        flex-direction: column-reverse;
        align-items: center;
    }

    .responsive-row.row4 .frame .right-div img {
        display: block;
        margin: 0 auto;
        padding: 25px 0;
    }
    .articlelist-title, .articlelist-teaser {
        flex: 1 1 100%;
        max-width: 380px;
    }
    .right-nav .sectiontitle {
        padding-top: 30px;
    }
    
        .headlineimg {
        width: 100%;
        height: auto;
    }
        .h4.subtitle {
        margin-bottom: 30px;
    }
        .responsive-row.row1 {
        margin: 0;
        padding: 0;
    }
        .responsive-row.row4 .frame {
        padding-top: 0;
        padding-bottom: 0;
    }
        .responsive-row.row3 {
        margin-bottom: 0;

    }
    .row2 .right-div {
    max-width: 100%;
    }


    h4 {
        font-size: 1.125em;
        font-weight:500;
        }
    h3 {
        font-weight: 600;
    }
    h1 {
        font-weight: 600;
    }
    .responsive-row.row3 .frame .sectiontitle {
      margin-left: 0;
      padding-left: 0;
      text-align:left;
    }
    .carousel-container {
    display: flex;
    justify-content: center;
    }
    .sectiontitle {
        text-align: left;
    }
    .publication-label {
        width: 100%;
        text-align: center;
    }
    

.responsive-row.row3 .publication img {
        width: 85%;
        height: auto;
    }
    .responsive-row.row3 .sectiontitle {
        text-align: left;
        padding-bottom: 8px;
    }

    
}