.ctv-graphic { font-family: "ÐÇ¿Õ´«Ã½Sans-Regular", sans-serif; font-weight: normal; line-height: 1.25; max-width: 750px; margin: 25px auto; } .ctv-graphic .bold { font-family: "ÐÇ¿Õ´«Ã½Sans-Bold", sans-serif; font-weight: normal; } .ctv-graphic .black { font-family: "ÐÇ¿Õ´«Ã½Sans-black", sans-serif; } .ctv-graphic .graphic-title { font-size: 28px; text-align: center; } .ctv-graphic .graphic-container { position: relative; display: flex; flex-direction: column; gap: 0px; overflow: hidden; } .row { display: flex; /* justify-content: space-evenly; */ padding: 0 24px 0 24px; height: 5px; padding-bottom: 1px; overflow: visible; background-color: rgb(252, 252, 252); box-sizing: border-box; height: 6px; } .ctv-graphic .padding { height: 125px; width: 100%; } .row.even { background-color: rgb(240, 240, 240); } .point { width: 2px; height: calc(100% - 2px); background-color: #d0eefd; border: 0.5px solid rgb(38, 41, 43); border-left: none; pointer-events: none; z-index: 1; } .p-point { display: inline-block; width: 3px; height: 6px; background-color: #d0eefd; border: 0.5px solid rgb(38, 41, 43); pointer-events: none; margin: 0 6px; } .intro { text-align: center; width: 100%; padding: 10px; box-sizing: border-box; } .intro > p { margin-bottom: 18px; } .intro > p:last-child { margin-bottom: 8px; } .point:first-child { border: 0.5px solid rgb(38, 41, 43); } .label { pointer-events: none; color: #222; display: none; position: absolute; font-size: 14px; opacity: 0.8; } .label.visible { display: block; text-align: center; -moz-transform: rotate(-90deg) translate(-90px, 0); -webkit-transform: rotate(-90deg) translate(-90px, 0); transform: rotate(-90deg) translate(-90px, 0); } .label.date { left: -28px; width: 80px; } .label.deaths { right: -8px; width: 40px; } .label.first { } .number { position: absolute; right: 4px; display: flex; align-items: center; justify-content: center; pointer-events: none; font-size: 16px; z-index: 1; margin-left: 8px; margin-top: -10px; background-color: #fff; padding: 2px 6px; border: 1px solid rgb(102, 102, 102); border-radius: 2px; height: 18px; } .number span { font-family: "ÐÇ¿Õ´«Ã½Sans-Regular", sans-serif; font-size: 10px; margin-left: 4px; } .number::before { content: ""; padding: 4px; border-radius: 2px; transform: rotate(45deg); -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg); background-color: white; position: absolute; left: -5px; border-left: 1px solid rgb(102, 102, 102); border-bottom: 1px solid rgb(102, 102, 102); z-index: 2; } .number::after { content: ""; width: 700px; position: absolute; bottom: 10px; left: -700px; border-bottom: 1px dotted rgb(102, 102, 102); z-index: 0; } @media only screen and (max-width: 750px) { .point { width: 1px; } }