/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

.tax-this-day-in-history .site-content .ast-container {
    flex-direction: column;
}

.tdih-container {
    margin: 60px 0px;
}

.tdih-header-area {
    align-items: flex-start;
    column-gap: 38px;
    display: grid;
    grid-column-end: columns;
    grid-column-start: columns;
    margin-top: 48px;
    row-gap: 56px;
    text-size-adjust: 100%;
    -webkit-font-smoothing: subpixel-antialiased;
}

.tdih-container p {
    margin: 0;
}

.featured-event a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.featured-event-img-container {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

.featured-event-img {
    display: grid;
    grid-template-columns: 20px 1fr 20px;
    grid-template-rows: 20px 20px 1fr 20px auto;
    overflow: visible;
}

.featured-event-img img {
    border-radius: 8px;
    grid-column: 1 / 4;
    grid-row: 1 / 5;
    width: 100%;
    max-height: 374px;
    object-fit: cover;
}

.featured-event-img span {
    grid-column: 2 / 6;
    grid-row: 4 / 6;
    min-width: 64px;
    width: -moz-fit-content;
    width: fit-content;
    padding-inline: 8px;
    padding-inline: 8px;
    background: #000;
    color: #fff;
    text-align: center;
    border-radius: 5px;
}

.featured-event-img-container h1 {
	font-size:32px;
}

.featured-events-list-inner {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

.tdih-border-top-heading {
    margin-bottom: 16px;
}

.tdih-border-top-heading div {
    padding-top: 2px;
    letter-spacing: -.01em;
    line-height: 120%;
    border-top: 1.5px solid;
    border-color: var(--ast-global-color-0);
    text-transform: uppercase;
    display: inline-block;
    color: #000;
}

.featured-events-list-content {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

.featured-events-list-item {
    display: grid;
    grid-template-columns: fit-content(10%) 1fr;
    grid-template-rows: min-content 1fr;
    grid-row-gap: 8px;
    row-gap: 8px;
    grid-column-gap: 20px;
    column-gap: 20px;
    grid-template-areas:
        "image title"
        "image description";
    text-decoration: unset;
}

.featured-events-list-item-img {
    width: 80px;
    height: 80px;
    display: flex;
    grid-area: image;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 16px 32px -8px #0C0D0D66;
}

.featured-events-list-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-events-list-item-content {
    row-gap: 4px;
    flex-direction: column;
    display: flex;
}

.featured-events-list-item-content h3 {
    font-size: 18px;
    line-height: 120%;
    font-weight: 700;
    color: #1E1E1E;
    margin: 0;
}

.featured-events-list-item-content span {
    font-size: 14px;
    line-height: 120%;
    font-weight: 400;
    color: #6E6E6E;
}

.featured-events-list-item-content div {
    margin-top: 8px;
    font-size: 15px;
    line-height: 120%;
    letter-spacing: -.02em;
}

.featured-events-list-item-separator {
    border-bottom: 1px solid #e5e5e5;
    margin-block: 16px;
    width: 100%;
}

.taxonomy-description {
    text-align: center;
    margin: 80px auto 0px;
    max-width: 834px;
    padding: 0 16px;
}

.timeline-main-container {
    margin: 80px 0px;
}

.timeline-main-container .timeline-item {
    grid-row: var(--rowIndex) / span 2;
}

.timeline-main-container .timeline-item a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: grid;
    align-items: flex-start;
    grid-gap: 20px;
    gap: 20px;
    grid-template-columns: fit-content(100%) auto;
    -webkit-padding-after: 40px;
    padding-block-end: 40px;
    box-shadow: -1px 0 0 0 #000;
}

.timeline-main-container .timeline-item:nth-child(odd) {
    grid-column: 2;
}

.timeline-main-container .timeline-item:nth-child(even) {
    grid-column: 1;
}

.timeline-item:first-child a {
    -webkit-padding-before: 40px;
    padding-block-start: 40px;
    -webkit-padding-after: 80px;
    padding-block-end: 80px;
}

.timeline-item-year {
    display: flex;
    align-items: center;
    column-gap: 8px;
}

.timeline-item-year div {
    height: 1px;
    width: 4px;
    background: #000;
}

.timeline-item-year span {
    min-width: 44px;
    line-height: 1;
    letter-spacing: -1%;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    background: #000;
    border-radius: 5px;
    padding: 5px;
    text-align: center;
}

.timeline-item-content div {
    font-size: 18px;
    line-height: 120%;
    letter-spacing: -.02em;
    overflow-y: clip;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    direction: ltr;
    -webkit-line-clamp: 3;
}

.timeline-item-img {
    grid-column-start: none;
}

.timeline-item-img img {
    border-radius: 8px;
    max-height: 140px;
    width: auto;
}

@media screen and (min-width: 834px) {
    .tdih-header-area {
        grid-template-columns: repeat(1, 1fr);
    }

    .featured-event {
        grid-column-end: span 5;
    }

    .featured-events-list {
        grid-column-end: span 3;
    }

    .taxonomy-description .description-content {
        grid-column-end: span 4;
        grid-column-start: 4;
    }

    .timeline-main-container .timeline {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }


}

@media screen and (min-width: 1280px) {
    .featured-event {
        grid-column-start: 1;
        grid-column-end: span 6;
    }

    .featured-events-list {
        grid-column-end: span 4;
    }

    .taxonomy-description .description-content {
        grid-column-end: span 6;
    }

    .tdih-header-area {
        grid-template-columns: 80px 80px 80px 80px 80px 80px 80px 80px 80px 80px 80px 80px;
    }

    .timeline-main-container .timeline-item:nth-child(even) a {
        direction: rtl;
        transform: translateX(-1px);
        box-shadow: 1px 0 0 0 #000;
    }
}

.ff-t-container.newsletter-form {
    border: 1px solid #ccc;
    border-radius: 10px;
}

.ff-t-container.newsletter-form .ff-t-column-1 {
    padding: 30px !important;
}

.tdih-container-calendar {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid;
    border-color: #979797;
}

.ff-t-container.newsletter-form .ff-t-column-2 {
    background: url('https://herwiki.org/wp-content/uploads/This-Day-In-Womens-History-HerWiki-Wikipedia-for-Women.png') no-repeat center;
    border-radius: 0px 10px 10px 0px;
    background-size: cover;
}

.share-box {
    width: 150px;
    left: calc(50% - 60px);
    z-index: 9999;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    margin-top: 10px;
    display: none;
}

.share-box h5 {
    margin: 0px 0px 5px;
    text-align: left;

}

.share-box.active {
    display: block;
}

.share-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.share-box ul li {
    margin: 0;
    text-align: left;
}

.share-box ul li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.share-box ul li a .fa,
.share-box ul li a .fa-brands {
    margin-right: 8px;
}

.share-box ul li a svg {
    width: 14px;
    margin-right: 8px;
}

.tdih-container-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

@media screen and (min-width: 250px) {
    .tdih-container-heading {
        max-width: calc(100% - 85px);
    }
}

@media screen and (min-width: 500px) {
    .tdih-container-heading {
        max-width: 100%;
    }
}

.tdih-calendar {
    min-width: 90px;
    position: relative;
}

.calendar-container {
    font-family: DM Sans;
    width: 360px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    position: absolute;
    z-index: 999;
    background: #fff;
    right: -10px;
    top: -1px;
    display: none;
}

.calendar-container header {
    align-items: center;
    padding: 0px 20px;
    justify-content: space-between;
}

.calendar-container header nav {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

header .calendar-navigation {
    display: flex;
}

.calendar-body {
    padding: 10px;
}

.calendar-body ul {
    list-style: none;
    flex-wrap: wrap;
    display: flex;
    text-align: center;
    margin: 0px;
}

.calendar-body .calendar-dates {
    margin-bottom: 10px;
    width: 100%;
}

.calendar-body li {
    width: calc(100% / 7);
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    position: relative;
    z-index: 1;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.calendar-body .calendar-weekdays li {
    cursor: default;
    font-weight: 500;
    font-size: 0.85rem;
}

.calendar-dates li.inactive {
    color: #aaa;
    cursor: default;
}

.calendar-dates li.active {
    color: #fff;
}

.calendar-dates li::before {
    position: absolute;
    content: "";
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.calendar-dates li.active::before {
    background: #EB31B3;
}

.calendar-dates li:not(.active):not(.highlight):not(.inactive):hover {
    color: #fff;
    cursor: pointer;
}

.calendar-dates li:not(.active):not(.highlight):not(.inactive):hover::before {
    background: #EB31B3;
}

/* .calendar-dates li.highlight {
    background: transparent !important;
    border: 2px dotted #EB31B3 !important;
    border-radius: 50%;
    position: relative;
    z-index: 10;
    height: 30px;
    line-height: 30px;
    text-align: center;
    width: calc(100% / 7);
} */

.tdih-calendar-btn-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.tdih-container-heading button {
    padding: 0px;
    background: unset;
    color: #1E1E1E;
    box-shadow: none;
}

.tdih-calendar-btn-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: -moz-fit-content;
    width: fit-content;
}

.tdih-calendar-btn-icon svg {
    color: #757575;
    width: auto;
    height: 16px;
}

.tdih-container-heading button.tdih-calendar-btn-date {
    width: 64px;
    height: 64px;
    padding-block: 8px;
    padding-inline: 12px;
    border: 1px solid #1E1E1E;
    color: #1E1E1E;
    border-radius: 8px;
}

.tdih-container-heading button.tdih-calendar-btn-date:hover {
    border: 1px solid #1E1E1E;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, .24);
    border-color: #757575;
}

.calendar-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 10px;
}

.calendar-header-top button.tdih-calendar-btn-date {
    border: none;
}

.calendar-header-top .calendar-close {
    font-size: 12px;
    padding-left: 15px;
    margin-top: -20px;
    cursor: pointer;
}

.calendar-container svg {
    width: auto;
    height: 12px;
    color: #1E1E1E;
}

.calendar-container svg:hover {
    color: #979797;
}

.calendar-close svg {
    color: #757575;
}

.calendar-header-top button.tdih-calendar-btn-date:hover {
    border: none;
    box-shadow: none;
}

.tdih-calendar-btn-date-div {
    display: flex;
    row-gap: 4px;
    flex-direction: column;
}

.tdih-calendar-btn-date-month {
    font-family: DM Sans;
    line-height: 1;
    letter-spacing: -1%;
    font-size: 10px;
    font-weight: 900;
    font-variation-settings: wght 900;
}

.tdih-calendar-btn-date-day {
    font-family: DM Sans;
    line-height: 1;
    letter-spacing: -1%;
    font-size: 27px;
    font-weight: 200;
    font-variation-settings: wght 200;
    border-top: 1px solid;
    border-color: #979797;
    padding-top: 4px;
}