.polopoly_embed { max-width: 100% !important; } .vaccine-div { position: relative; line-height: 1.25; } .trial-div { display: grid; grid-template-columns: 350px 1fr 50px; column-gap: 10px; width: 100%; font-family: 'CTVSans-Regular', 'CTV Sans', sans-serif; max-width: 750px; margin: 0 auto; border: 1px solid #f3f3f3; margin: 8px auto; line-height: 1.5; } .trial-div.header { border: none; background: white; position: sticky; top: 0; } .trial-title { font-size: 15px; font-family: 'CTVSans-Bold', 'CTV Sans', sans-serif; display: flex; text-align: right; justify-content: center; align-content: center; flex-direction: column; margin: 10px; /*font-weight: bold;*/ } .trial-title.header { margin: 0 10px; font-family: 'CTVSans-Regular', 'CTV Sans', sans-serif; font-weight: normal; } .trial-phases { margin: 10px; display: grid; grid-template-columns: repeat(5, 1fr); max-width: 250px; gap: 5px; } .trial-phases.header { margin: 0 10px; } .phase { width: 25px; height: 25px; border-radius: 2px; margin: auto; display: flex; text-align: right; justify-content: center; align-content: center; flex-direction: column; } .p1 { background: #BFBFBF; } .p2 { background: #F8D68C; } .p3 { background: #F6C965; } .p4 { background: #F4BB3F; } .p5 { background: #4A9F63 ; } .phase.header { font-size: 12px; display: flex; text-align: center; justify-content: center; align-content: center; flex-direction: column; white-space: nowrap; margin: 0 auto; overflow: visible; } .trial-button { text-align: center; cursor: pointer; background: #f3f3f3; display: flex; text-align: center; justify-content: center; align-content: center; flex-direction: column; height: 100%; grid-row: 1 / 3; grid-column: 3 / 4; color: #555; font-size: 13px; } .trial-blurb-title { font-family: 'CTVSans-Bold', 'CTV Sans', sans-serif; /*font-weight: bold;*/ } .trial-blurb { overflow: hidden; grid-column: 1 / 3; font-size: 15px; } @media only screen and (max-width: 1000px) { .trial-title { font-size: 10px; } .trial-div { grid-template-columns: 140px 1fr 40px; } .trial-title { margin: 5px; } .trial-phases { margin: 5px; } .phase.header { font-size: 10px; } .phase { width: 20px; height: 20px; } }