/*

DO NOT delete unused css here
some of the unused code is used as standin for elements
in development or storage

*/

@media only screen and (max-width: 1623px) {

    #leftSection {
        display: none !important;
    }

    #rightSection {
        width: 100% !important;
    }

    .rightSectionArticleRightContent {
        width: 100% !important;
    }

    .rightSectionArticle {
        max-width: 800px !important;
    }

    #rightSectionSortingDrop {
        margin: auto 0px auto 0px !important;
        width: 130px;
    }

    #rightPanel {
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        border: 1px solid rgb(196, 196, 196);
        border-radius: 4px;
        padding-bottom: 18px;
        flex-grow: 0;
        align-self: flex-start;
    }

    #rightPanelTitle {
        display: block;
        margin: 18px auto 0px 18px;
        font-size: 1.1rem;
        font-family: 'Ubuntu', sans-serif;
        color: rgb(133, 133, 133);
    }

    #newOpinionsInsert {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 32px;
        padding: 18px 36px 12px 36px;
    }

    .newOpinionTitle {
        display: block;
        color: black;
        font-family: 'PT Serif', sans-serif;
        font-weight: bold;
        font-size: 18px;
        margin: auto auto 0px 0px;
        text-decoration: none;
    }

    .newOpinionTitle:hover {
        cursor: pointer;
        text-decoration: underline;
    }

    .newOpinionStats {
        display: flex;
        flex-direction: row;
        gap: 12px;
        margin: 8px auto auto 0px;
        position: relative;
        right: 4px;
    }

    .newOpinionDateContainer, .newOpinionViewsContainer {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 8px;
    }

    .previewDateImage, .previewViewsImage {
        filter: brightness(0%) invert(77%) sepia(7%) saturate(0%) hue-rotate(189deg) brightness(87%) contrast(89%);
    }
    
    .newOpinionDate, .newOpinionViews {
        margin: auto auto auto 0px;
        font-size: 13px;
        color: #a9a9a9;
        position: relative;
        bottom: 1px;
    }

}

@media only screen and (max-width: 1056px) {

    #rightPanel {
        display: none !important;
    }

}

@media only screen and (max-width: 700px) {

    #rightSectionSortingDrop {
        display: none !important;
    }

    #moreFilters {
        display: none !important;
    }

    #rightSectionTopicSelect {
        width: 100% !important;
        margin: auto !important;
    }

    #rightSectionTopic {
        width: 100% !important;
        margin: auto !important;
    }

    .rightSectionTopicTitle {
        min-width: 135px !important;
    }

    ::-webkit-scrollbar:horizontal { 
        display: none !important;
    }
    
    #sectionTags {
        width: 100% !important;
        overflow-x: scroll;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    #sectionTags::-webkit-scrollbar {
        height: 0px;
    }



}

@media only screen and (max-width: 670px) {

    .rightArticleImageWrapper {
        display: none !important;
    }

}

@media only screen and (max-width: 600px) {

    .mainArticle {
        width: 100% !important;
        margin: auto 12px auto 12px !important;
        min-width: 0px !important;
    }

    #rightSectionTopicSelect {
        min-width: 0px !important;
    }

    #rightSectionSortingDrop {
        display: none !important;
    }

    #leftHeader {
        margin-left: 0px !important;
    }

    .mainArticleTitle {
        font-size: 32px !important;
        line-height: 38px !important;
    }

}

:root {
    --primary: white;
    --secondary: black;
    --tertiary: #0E6BA8;
    --quaternary: rgb(255, 0, 55);
}

html {
    color: #2B50AA;
    color: #1446A0;
    color: #0E6BA8;
    color: #255C99;
}

@font-face {
    font-family: 'Helvetica';
    src: url('/fonts/HelveticaNeueBold.otf');
}

body {
    margin: 0px !important;
    height: 100% !important;
    width: 100% !important;
}

#bodyContainer {
    margin: 0px !important;
    width: 100%;
    height: 472.2px;
}

.swiper {
    object-fit: cover;
    position: absolute !important;
    top: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 472.2px;
    z-index: -100;
}

.bodyContainerImage {
    object-fit: cover;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    z-index: -100;
}

.swiper-slide {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
}

.mainArticle {
    margin: auto auto auto 4%;
    padding-top: 24px;
    width: 45%;
    min-width: 590px;
}

.mainArticleAuthor {
    text-decoration: none;
    display: block;
    color: white;
    text-transform: uppercase;
    margin: auto auto 4px 0px;
    font-family: 'Open Sans', sans-serif;
}

.darken {
    filter: brightness(50%);
}

.mainArticleTitle {
    font-family: 'PT Serif', serif;
    color: white;
    font-weight: bold;
    font-size: 38px;
    text-decoration: none;
    background:
    linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
    linear-gradient(to right, rgb(255, 255, 255), rgb(255, 255, 255), rgb(255, 255, 255));
    background-size: 100% 0.1em, 0 0.1em;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 400ms;
    line-height: 52px;
}

.mainArticleTitle:hover, .mainArticleTitle:focus {
    background-size: 0 0.1em, 100% 0.1em;
}

.mainArticleBottomStats {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 12px auto auto 0px;
    max-width: 325px;
    font-family: 'Open Sans', sans-serif;
}

.mainArticleOpinions, .mainArticleViewers {
    text-align: left;
    margin: auto auto auto 0px;
    color: white;
}

.mainArticleViewers {
    margin-left: 6px;
}

#secondSection {
    width: 92%;
    margin: 32px auto auto auto;
    padding: 0px !important;
}

#secondSectionFlex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: auto;
    gap: 48px;
}

#bigArticlesContainer {
    display: flex;
    flex-direction: row;
    gap: 36px;
}

.bigArticleImage {
    width: 100%;
    object-fit: cover;
    margin: auto;
    height: 342px;
    border-radius: 4px;
}

.bigArticleTitle {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    margin-top: 12px;
}

.bigArticleSummary {
    font-family: 'Open Sans', sans-serif;
    color: rgb(145, 145, 145);
    font-size: 14px;
    margin-top: 12px;
}

.bigArticleAuthorContainer {
    margin-top: 12px;
}

#leftSection {
    width: 55%;
}

#rightSection {
    width: 45%;
}

#rightSectionHeader {
    display: flex;
    flex-direction: column;
    margin: auto;
}

#rightSectionHeaderTop {
    display: flex;
    flex-direction: row;
    margin: auto;
    width: 100%;
    gap: 24px;
}

#rightSectionTopicSelect {
    margin: auto 0px auto 0px;
    height: 100%;
    width: 80%;
    min-width: 500px;
    max-width: 620px;
}

#rightPanel {
    display: none;
}

#rightSectionTopic {
    display: flex;
    justify-content: space-between;
}

#sectionTags {
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: row;
}

#rightSectionTopicBar {
    margin: auto;
    background-color: rgb(223, 223, 223);
    height: 1px;
    position: relative;
    top: 8px;
    width: 100%;
}

.topMarginSmall {
    margin-top: 120px !important;
}

#selectedTopicBar {
    background-color: rgb(87, 87, 87);
    height: 2px;
    position: relative;
    bottom: 1px;
    width: 125px;
    left: 24px;
}

.rightSectionTopicTitle {
    display: block;
    color: rgb(108, 108, 108);
    margin: auto;
    text-align: center;
    background: none;
    border: none;
}

#rightSectionSortingDrop {
    margin: auto auto auto 0px;
    width: 130px;
}

#rightSectionSortingDropTitle {
    margin: auto auto auto 0px;
}

#rightSectionArticleFlex {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 16px;
    padding-top: 12px;
    margin-top: 24px;
}

.rightSectionArticle {
    display: flex;
    flex-direction: row;
    gap: 22px;
    height: 220px;
    max-width: 800px;
}

.mainSectionArticle {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rightSectionArticleTitle {
    height: 40px;
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: black;
    display: block;
    font-size: 20px;
    line-height: 24px;
    margin: 10px auto 8px 0px;
    word-break: break-word;
    font-family: 'Helvetica' !important;
}

.rightSectionArticleTitle:hover {
    text-decoration: underline;
}

.rightSectionArticleRightContent {
    margin: 0px;
    height: 100%;
    width: 70%;
}

.mainSectionArticleRightContent {
    margin: 0px;
    height: 100%;
}

.rightSectionArticleSummary {
    font-size: 14px;
    color: rgb(148, 148, 148);
    margin: auto auto 8px 0px;
    height: 64px;
    overflow: hidden;
}

#suggestedArticlesTag {
    color: rgb(168, 168, 168);
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    margin: auto auto auto 0px;
}

.suggestedArticle {
    width: 100%;
}

.rightArticleImage {
    object-fit: cover;
    border-radius: 4px;
    height: 200px;
    width: 280px;
    margin: auto 0px auto auto;
    position: relative;
}

.rightArticleImageWrapper {
    display: block;
    object-fit: cover;
    border-radius: 4px;
    height: 200px;
    width: 280px;
    margin: auto 0px auto auto;
}

.mainArticleImage {
    object-fit: cover;
    border-radius: 4px;
    max-width: 400px;
}

.rightSectionArticleControls {
    display: flex;
    flex-direction: row;
    position: relative;
    margin-right: 28px;
}

.interactiveArticleControls {
    display: flex;
    flex-direction: row;
}

.interactiveControl {
    background: none;
    border: none;
}

.interactiveControlIcon {
    height: 18px;
    width: 18px;
    margin: auto auto auto 0px;
    position: relative;
    right: 4px;
}

.likeButton:active {
    transform: scale(0.9);
}

.save {
    height: 16px;
    width: 16px;
}

.rightSectionArticleStats {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: auto 0px auto auto;
    gap: 24px;
}

.rightSectionArticleStat {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.rightSectionArticleStatCount {
    position: relative;
    left: 4px;
    margin: auto auto auto 0px;
    text-align: left;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    color: rgb(178,178,178);
}

.comments {
    left: 6px !important;
}

.shares {
    left: 2px !important;
}

.categoryWrap {
    margin-right: 6px;
    background-color: rgb(236, 236, 236);
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
}

.category {
    color: rgb(43, 43, 43) !important;
    left: 0px !important;
    font-weight: 600;
    min-width: 0px;
    position: relative;
    top: 1px;
    font-size: 11px;
}

.articleStatIcon {
    height: 22px;
    width: 22px;
    filter: brightness(0%) invert(70%);
}

.sectionSortIcon {
    position: relative;
    right: 4px;
    filter: brightness(0%) invert(50%);
}

.sectionDropdownText {
    position: relative;
    left: 4px;
}

.dropdown-toggle {
    background: none !important;
    border: none !important;
    width: 130px !important;
}

#dropdownText {
    color: rgb(108, 108, 108);
}

.dropdown-toggle::after {
    position: relative !important;
    left: 3px !important;
    top: 1px !important;
    border-top-color: rgb(108, 108, 108) !important;
}

.dropdownText {
    position: relative !important;
    top: 8px !important;
}

.sectionSortIcon {
    filter: brightness(0%) invert(50%);
}

#moreFilters {
    display: none; /* TEMPORARY */
    background: none;
    border: none;
    margin: auto 0px auto 0px;
}

#rightFilterArrow {
    height: 13px !important;
    margin: auto;
    position: relative;
    bottom: 1px;
    filter: brightness(0%) invert(50%);
}

#leftSectionTopContent {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#leftSettingsTopBarBottomBorder {
    height: 1px;
    width: 100%;
    margin-top: 8px;
    background-color: rgb(223, 223, 223);
}

#leftSectionTopBarIcons {
    display: flex;
    flex-direction: row;
    margin: auto 12px 2px auto;
}

.leftSectionTopBarIcon {
    background: none;
    border: none;
    position: relative;
}

.topIcon {
    filter: brightness(0%) invert(64%);
    height: 20px;
    width: 20px;
}

#notificationsBlurb {
    position: absolute;
    background-color: rgb(255, 0, 55);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    bottom: 10px;
    left: 14px;
}

#notificationsText {
    font-weight: bold;
    text-align: center;
    margin: auto;
    color: white;
    font-size: 11px;
    position: relative;
    top: 2px;
}

.autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.autoplay-progress svg {
    stroke-linecap: round;
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 6px;
    stroke: white;
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

#personalSummary {
    margin: 12px 12px auto 12px;
}

#newTag {
    font-size: 14px;
    color: rgb(168, 168, 168);
}

#suggestDisagreement {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.suggestedArticleContent {
    margin: 0px;
    height: 100%;
}

#writeOpinion {
    background: none;
    border-radius: 50px;
    padding: 2px 8px 2px 8px;
    border: none;
    color: var(--tertiary);
    border: 2px solid var(--tertiary);
    width: 150px;
    font-size: 14px;
    margin-right: 6px;
    transition-duration: 0.2s;
}

#writeOpinion:hover {
    background: var(--tertiary);
    color: #ffffff;
}

#writeOpinionText {
    display: block;
    margin-bottom: 2px;
}

.infiniteScrollWindow {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 30px;
}

.inputContainer {
    width: 90% !important;
}

#rememberCont {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

#leftSectionButtonCont {
    position: relative;
}

#notificationsPanel {
    position: absolute;
    height: 300px;
    width: 275px;
    background-color: white;
    border: 1px solid rgb(206, 206, 206);
    border-radius: 12px;
    z-index: 10;
    top: 30px;
    right: 0px;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 14px;
}

.notificationSlot {
    display: block;
    width: 100%;
    height: 60px;
    background-color: rgb(207, 228, 241);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    text-decoration: none;
    color: black;
}

.notificationSlot:active {
    background-color: rgb(218, 232, 240);
}

.notificationText {
    margin: auto auto auto 12px;
    width: 60%;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
}

.notificationImage {
    display: block;
    filter: brightness(0%) invert(60%);
    height: 40px;
    width: 40px;
    margin: auto 0px auto 12px;
}

#opinionSection {
    width: 100%;
}

.allTop {
    min-height: 58vh;
    height: 100%;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

.teamImage {
    display: block;
    height: 300px;
    object-fit: cover;
}

.userContainerWrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 24px;
    padding: 16px 0px 16px 0px;
}

.userPartialImage {
    display: block;
    height: 75px;
    width: 75px;
    border-radius: 50%;
    margin: auto 0px auto 0px;
    position: relative;
    top: 3px;
}

.rightUserPartialContent {
    margin: 0px auto auto 0px;
}

.userNameLinkPartial {
    text-decoration: none;
    color: black;
}

.userNamePartial {
    font-size: 1.7rem;
    font-family: 'PT Serif', sans-serif;
    margin: auto auto 0px 0px;
}

.userBio {
    margin: 2px auto auto 0px;
    max-width: 600px;
    font-size: 14px;
}

.tempTopMargin {
    margin-top: 8px !important;
}

.tempBottomMargin {
    top: 0px !important;
}

.shareButton {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    margin-left: 0px;
}

.shareButton:hover {
    opacity: 0.7;
}

.shareButton:active {
    transform: scale(0.95);
}

.shareIcon {
    font-size: 22px !important;
    color: rgb(178, 178, 178);
    filter: brightness(0%) invert(70%); 
    height: 22px;
    width: 22px;
    display: flex; 
    align-items: center;
    justify-content: center;
}

.material-symbols-outlined {
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
}

#settingsPanel {
    display: none;
    opacity: 0;
    position: fixed;
    margin: auto;
    background-color: white;
    border-radius: 24px;
    z-index: 103;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 64px 42px 42px 42px;
    min-width: 550px;
    height: 600px;
    transition-duration: 0.2s;
}

#closeSettingsButton {
    position: absolute;
    background: none;
    border-radius: 50%;
    padding: 6px;
    border: 1px solid transparent;
    width: 50px;
    height: 50px;
    margin: 0px 0px auto auto;
    left: 24px;
    top: 24px;
    transition-duration: 0.2s;
}

#closeSettingsButtonImage {
    filter: brightness(0%) invert(80%);
}

#closeSettingsButton:hover {
    background-color: rgba(228, 228, 228, 0.2);
    border: 1px solid rgb(209, 209, 209);
}

#topSettings {
    margin: 18px auto 0px 0px;
    padding: 0px 0px 12px 14px;
}

#settingsTitle {
    font-family: 'PT Serif', serif;
    font-size: 42px;
    margin: auto auto auto 0px;
}

#settingsContent {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#settingsForm {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 12px auto auto auto;
    width: 100%;
    height: 100%;
    padding: 12px 48px 12px 36px;
}

.tooltipWrapper {
    background: none;
    outline: none;
    border: none;
}

.infoIcon {
    filter: brightness(0%) invert(25%) sepia(61%) saturate(2593%) hue-rotate(185deg) brightness(93%) contrast(89%);
}

.settingsRow {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: auto auto 18px auto;
    width: 100%;
}

.leftLabel {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: auto auto auto 0px;
}

.settingsLabel {
    margin: auto auto auto 0px;
}

#changeSettingsButton {
    margin: 24px auto auto auto;
    width: 100%;
    padding: 6px;
    background-color: var(--tertiary);
    border-radius: 12px;
    border: 1px solid var(--tertiary);
    color: white;
    width: 90%;
    padding-top: 8px;
    padding-bottom: 8px;
}

#subsettings {
    height: 100%;
}

.settingsDropdown {
    width: 120px;
}

#respondPopup {
    display: none;
    position: absolute;
    z-index: 1000;
    padding: 6px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.chip {
    display: inline; /* Make it behave like text */
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 2px 6px;
    margin: 0px 2px 0px 2px;
    cursor: pointer;
    user-select: none;
    white-space: pre-wrap; /* Preserve spaces and handle line breaks */
}

.chip.highlight {
    background-color: #d3e9ff;
    border-color: #3399ff;
}

.linkTip {
    position: absolute;
    background: #333;
    color: white;
    padding: 5px;
    font-size: 12px;
    border-radius: 3px;
    z-index: 10;
    /* display: none; */
}

.quoteChipWrapper {
    display: block;
    width: 100%;
    margin: 8px 0;
}
.quoteChipWrapper::before {
    content: '\200B'; /* zero-width space for caret target */
    display: inline-block;
    width: 0;
}
.quoteChip {
    display: inline-block;
    width: fit-content;
    background: #eef3f8;
    border-left: 4px solid #3a72c2;
    padding: 6px 10px;
    margin: 0px 0px 0px 40px;
    border-radius: 4px;
    color: #333;
    font-style: italic;
    user-select: none;
    position: relative;
    box-sizing: border-box;
    white-space: pre-wrap;
}

.shareHighlight {
    background-color: yellow;;
}