@import "../../styles/global.module.scss";

.card {
    background-color: white;
    box-shadow: 0px 6px 5px #00000080;
    border-radius: 15px;
    padding: 1em;
    min-height: 70vh;
}

.cardTitle {
    border-bottom: 2px solid #0b3954;
    color: #bf372c;
    font-weight: 700;
    font-size: 1.5rem;
}

.tag {
    border-radius: 10px;
    width: fit-content;
    padding: 0.1em 0.8em 0.2em 0.8em;
    color: white;
    margin: 0.2em 0em 0.1em 0em;
}

.option {
    color: #0b3954;
    font-weight: 500;
    margin: 0.3em 0em;
    font-size: 1.2rem;
    cursor: pointer;
}

.logoutOption {
    font-weight: 600;
}

.option:hover {
    color: #bf372c;
}

.activeOption {
    color: #bf372c;
    text-decoration: underline;
}

.listOfPosts {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 30em;
}

.underline {
    border-bottom: 1px solid #a5b5bb;
    text-align: left;
    font: normal normal medium 18px/17px Poppins;
    letter-spacing: 0px;
    line-height: 17px;
    color: #000000;
    opacity: 1;
    padding-bottom: 0px;
    padding-top: 19px;
    padding-left: 10px;
    width: 100%;
    display: block;
    justify-content: space-around;
}

.underline:hover {
    background-color: rgba(194, 191, 191, 0.6);
    transition: 0.4s;
}

.radio {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    /* Remove most all native input styles */
    appearance: none;
    /* For iOS < 15 */
    // background-color: #0B3954;
    /* Not removed via appearance */
    margin: 0;
    font: inherit;
    color: #0B3954;
    min-width: 16px;
    max-width: 16px;
    min-height: 16px;
    max-height: 16px;
    border: 0.1em solid #0B3954;
    border-radius: 50%;
    vertical-align: middle;
    transform: translateY(-0.075em);
    display: grid;
    place-self: center;
    place-content: center;
    cursor: pointer;
}

.radio::before {
    content: "";
    width: 1em;
    height: 1em;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #0B3954;
    /* Windows High Contrast Mode */
    //background-color: #0B3954;
}

.radio:checked::before {
    transform: scale(1);
}

.postDisplay {
    padding-bottom: 0.9em;
    margin-left: 25px;
}

.threadHeader {
    font-family: $fontFamily;
    font-size: 20px;
    font-weight: bold;
    color: #000000;
}

.threadHeader:hover {
    // adds underline when hover over threadHeader
    text-decoration: underline;
}

.threadDate {
    font-family: $fontFamily;
    font-weight: 500;
    font-size: 12px;
    // color: #000000; // previous color before addition below
    color: #808080;
    line-height: 12px;
    margin-left: 2px;
}


.container {
    min-height: 80vh;
}