/*
Theme Name: Downtown Dothan
Author: Push Crank Press
Description: Your description goes here
Version: 1.0
Template: blankslate

This is the child theme for BlankSlate theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

@font-face {
    font-family: 'arial-hebrew';
    src: url('fonts/arial-hebrew-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'arial-hebrew';
    src: url('fonts/arial-hebrew-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'tc-volume';
    src: url('fonts/tcvolume-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'tc-volume-sans';
    src: url('fonts/tcvolumesans-regular.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'tc-volume-italic';
    src: url('fonts/tcvolume-italic.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors */
    --parchment: #EFE7D0;
    --graphite: #555E6C;
    --regent: #8A96A8;
    --catskill: #EDF1F7;
    /* Fonts */
    --font-family-primary: 'tc-volume-sans', sans-serif;
    --font-family-secondary: 'espiritu-script', sans-serif;
    /* Padding */
    --pad-0: 15px;
    --pad-1: 45px;
    --pad-2: 75px;
    --pad-3: 135px;
    --pad-4: 250px;
}

html {
    overflow-x: hidden !important;
    font-family: var(--font-family-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--graphite);
    background-color: var(--graphite);
}

html * {
    font-variant-numeric: lining-nums tabular-nums;
}

hero {
    display: block;
    width: 100%;
}

hero * {
    color: var(--parchment) !important;
}

main {
    background-color: white;
}

main section {
    background-color: white;
}

h1 {
    font-size: 48px;
    line-height: 1.4;
    font-family: "tc-volume-italic", serif;
}

h2 {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--graphite);
}
h2.alternate {
    font-family: var(--font-family-secondary);
    font-size: 40px;
    font-style: italic;
    font-weight: 500;
}
p {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--graphite);
}

main a {
    font-size: 20px;
    font-weight: 100;
    line-height: 1.55;
    color: var(--graphite) !important;
}

nav.main-menu ul {
    display: flex;
    column-gap: 10%;
    align-items: center;
    justify-content: center;
}

nav.main-menu ul li a {
    text-transform: uppercase;
    color: #8A96A8 !important;
    font-size: 20px !important;
}
.postcard .border-wrapper {
    border: 0.5px solid var(--graphite);
}

.postcard .post-title {
    font-family: 'tc-volume-italic', serif;
    letter-spacing: 1px !important;
}

.postcard .info-box {
    border: 0.5px solid var(--graphite);
    letter-spacing: 1px !important;
}

.postcard .info-labels {
    display: flex;
    flex-wrap: wrap;
}

.postcard .info-label {
    flex: 1 0 260px;
    padding: 0.5rem;
    border: 0.5px solid var(--graphite);
    font-family: 'tc-volume', serif;
    text-transform: uppercase;
}

.postcard .info-label a,
.postcard .info-label p {
    display: flex;
    align-items: center;
    font-size: 16px !important;
    font-weight: 500;
    font-family: 'tc-volume', serif;
    letter-spacing: 1px !important;
}

.postcard .post-address::before {
    content: url('https://visitdothan.com/wp-content/uploads/2023/12/post_marker.svg');
    display: flex;
    align-items: center;
    height: 2.5rem;
    margin-right: 1rem;
}

.postcard .post-phone::before {
    content: url('https://visitdothan.com/wp-content/uploads/2023/12/post_phone.svg');
    display: flex;
    align-items: center;
    height: 2.5rem;
    margin-right: 1rem;
}

.postcard .post-website::before {
    content: url('https://visitdothan.com/wp-content/uploads/2023/12/post_cursor.svg');
    display: flex;
    align-items: center;
    height: 2.5rem;
    margin-right: 1rem;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 48px;
    }
    h2 {
        font-size: 36px;
    }
    p, a {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 24px;
    }
    p, a {
        font-size: 20px;
    }
    .left-mobile {
        text-align: left !important;
        float: none !important;
    }
    .scale-mobile-0875 {
        transform: scale(0.875) !important;
    }
}

.bg-parchment {
    background-color: var(--parchment);
}

.bg-catskill {
    background-color: var(--catskill);
}

.bg-regent {
    background-color: var(--regent);
}

.bg-graphite {
    background-color: var(--graphite);
}

.footer-logo.mobile {
    display: none;
}

.button {
    display: inline-block;
    border: 3px solid var(--regent);
    border-radius: 50px;
    font-size: 20px;
    font-weight: 400;
    padding: 12px 24px;
}

nav.main-menu.mobile {
    display: none;
}

.burger-icon {
    position: relative;
    width: 40px;
    height: 24px;
}

.burger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--graphite);
    cursor: pointer;
}

.burger-line.top-bun {
    top: 0;
}

.burger-line.patty.top {
    top: 10px;
}

.burger-line.patty.bottom {
    top: 10px;
}

.burger-line.bottom-bun {   
    position: absolute;
    top: 20px;
}

.mobile-menu {
    display: none;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: var(--graphite);
}

.mobile-menu ul {
    flex-direction: column;
    row-gap: 1.5rem;
    padding: 2rem 0 0 0 !important;
    margin: 0 !important;
}

.mobile-menu ul li {
    list-style: none !important;
}

.mobile-menu ul li a{
    font-size: 25px !important;
}

.mobile-menu .menu-item-26 {
    display: none;
}

@media (max-width: 1024px) {
    nav.main-menu.desktop {
        display: none;
    }
    nav.main-menu.mobile {
        display: block;
    }
}

@media (max-width: 768px) {
    #footer .flex-wrapper {
        margin-top: 1rem;
    }
    .footer-logo.mobile {
        display: block;
    }
    .footer-logo.desktop {
        display: none;
    }
}

@media (max-width: 480px) {
    #footer .flex-wrapper {
        margin-top: 2rem !important;
    }
}

.modalDialog {
    display: none;
}

.modalDialog {
    position: fixed;
    font-family: inherit;
    font-size: 1em;
    color: inherit;
    top: 9999px;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9000000;
    opacity: 1;
    visibility: hidden;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
}

.modalDialog > div { 
    width: 90%;
    max-width: 767px;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    margin: 5% auto;
}

.modalDialog > div p {
    color: white !important;
}

.modalDialog > div p {
    font-size: 1.2em;
    line-height: 1.4;
}

.modalDialog .home-events-content a {
    color: white !important;
}

.home-events-modal {
    max-height: 80vh !important;
    overflow-y: scroll !important;
}

.home-events-top {
    display: flex;
}

.home-events-top .home-events-date {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: white;
    flex: 1 0 25%;
    font-size: 14px;
    border-right: 1px solid var(--graphite);
}

.home-events-top .home-events-title {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: white;
    flex: 1 0 75%;
    font-size: 14px;
}

.home-events-content address a:before {
    content: '\f5a0';
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Font Awesome 5 Free';
    font-size: 1.5em;
    font-weight: 600;
    color: #fff;
    background: var(--olive);
    min-width: 1.8em;
    min-height: 1.8em;
    max-width: 1.8em;
    max-height: 1.8em;
    margin-right: 10px;
}

.close {
    float: right;
    color: white !important;
}

.filter-container {
    justify-content: center;
    column-gap: 2rem;
    row-gap: 2rem;
}

.filter-container .dropback {
    margin-left: 0;
    margin-right: 0;
}

.dropback {
    height: 65px;
    width: 300px;
    max-width: 100%;
}

.font-family-volume {
    font-family: 'tc-volume', serif !important;
}

.letter-spacing-1px {
    letter-spacing: 1px !important;
}

select#cpt-selector,
select#event-type-selector {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#cpt-selector,
#event-type-selector {
    height: 65px;
    width: 100%;
    display: block;
    margin: 0 auto 15px auto;
    text-align: center;
    border: none;
    color: white;
    font-family: 'Bebas', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px;
    border-top-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
    background-color: var(--regent);
    border: 1px solid var(--regent);
}

[hidden] {
    display: none !important;
}

.events-date-range-container {
    display: none;
    margin: 2rem auto 45px auto;
    text-align: center;
}

.events-form-inputs {
    margin-bottom: 15px;
}

.events-form-inputs input {
    padding: 5px;
    border: 1px solid #333;
    margin: 0 7px;
}

.events-form-inputs input {
    padding: 5px;
    border: 1px solid #333;
    margin: 0 7px;
}

.events-date-range-container button {
    background: var(--regent);
    padding: 5px 20px;
    font-size: 1.3em;
    color: white;
    border: none;
}

.events-key {
    background-color: #e1e9f5;
    padding: 2rem;
}

.events-key .flex-wrapper {
    justify-content: center;
    column-gap: 3rem;
}

.events-key .flex-item {
    display: flex;
    flex-direction: column;
}

.events-key label {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #35597c;
}

.events-key img {
    height: 2.5rem;
}

.info-label.home-events-title,
.info-label.home-events-title h5 {
    width: 100%;
    overflow: hidden;
}

.info-label.home-events-title h5 strong {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-events-icons {
    padding: 1rem;
    background-color: #e1e9f5;
    min-height: 72px;
}

.home-events-icons img {
    height: 2.5rem;
    margin-right: 1rem;
}

.event-entry {
    cursor: pointer !important;
}

.home-events-content address {
    font-style: normal !important;
}

.home-events-content address p,
.home-events-content address a {
    display: flex;
    align-items: center;
}

.home-events-content address p:before,
.home-events-content address a:before {
    content: '\f5a0';
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Font Awesome 5 Free';
    font-size: 1.5em;
    font-weight: 600;
    color: #fff;
    background: var(--graphite);
    min-width: 1.8em;
    min-height: 1.8em;
    max-width: 1.8em;
    max-height: 1.8em;
    margin-right: 10px;
}