/*
Theme Name: Dwight IL Attractions Astra Child
Description: PHP restoration of the archived Dwight, IL Attractions website.
Template: astra
Version: 1.0.07
Text Domain: dwight
*/
div#ast-scroll-top {
    display: none!important;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; color: #444; background: #7b6a7c; font-family: Ubuntu, Arial, sans-serif; font-size: 15px; line-height: 1.7; }
body .site, body .site-content, body .ast-container, body #primary, body .content-area, body .entry-content { width: 100%; max-width: none; margin: 0; padding: 0; }
a { color: #1693a5; text-decoration: none; }
a:hover { color: #d6341d; text-decoration: none; }

a:hover .column-header-image {
    color: #d6341d;
}
img { max-width: 100%; height: auto; }
.clear { clear: both; }

#wrapper { width: 100%; margin: 0 auto; }
#topbar { position: relative; min-height: 28px; background: #404040; border-bottom: 1px solid #686868; box-shadow: 3px 0 3px #181818; }
.text-lbl { width: 100%; color: #fff; text-align: center; position: relative; top: 4px; font-size: 13px; font-weight: 700; }
#header-full { background: transparent; }
#header { max-width: 1150px; margin: 0 auto; background: transparent; }
#masthead { background: transparent; }
#branding { position: relative; height: 138px; overflow: hidden; background: transparent; margin: 0 0 0; }
#bg_image { display: block; width: 100%; height: 138px; object-fit: cover; }
.download-link { position: absolute; bottom: 45px; left: 83px; color: #fff; font-size: 14px; }
.download-link a, .download-link a:visited { color: #fff; }

#access { max-width: 1150px; min-height: 44px; margin: 0 auto; background: #eaeaea; }
#access ul { margin: 0; padding: 0; list-style: none; }
#access > .menu > ul { display: flex; flex-wrap: wrap; }
#access li { position: relative; }
#access > .menu > ul > li { flex: 0 0 auto; }
#access a { display: block; color: #333 !important; font-family: "Droid Sans", Arial, sans-serif; font-size: 14px; line-height: 1.2; text-decoration: none; }
#access > .menu > ul > li > a > span { display: block; padding: 15px 18px; border-right: 1px solid #ccc; box-shadow: 1px 0 0 #fff; }
#access a:hover, #access li.current-menu-item > a { background: #f7f7f7; }
#access .sub-menu { position: absolute; z-index: 20; top: 100%; left: 0; display: none; width: 265px; background: #2d2d2d; }
#access li:hover > .sub-menu { display: block; }
#access .sub-menu a { color: #bbb !important; border-top: 1px solid #3b3b3b; border-bottom: 1px solid #222; background: #2d2d2d; }
#access .sub-menu a span { display: block; padding: 11px 14px; }
#access .sub-menu a:hover, #access .sub-menu li.current-menu-item > a { background: #3b3b3b; }

#main { max-width: 1150px; margin: 20px auto 0; background: #fff; }
#forbottom { margin: 0; padding: 1px 40px 45px; }
#frontpage { padding: 0 0 30px; }
#pp-afterslider { padding-top: 58px; }
#front-text1 h1 { margin: 0 0 36px; color: #555; font-family: "Droid Sans", Arial, sans-serif; font-size: 36px; font-weight: 400; line-height: 50px; text-align: center; }
#front-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 52px; padding-bottom: 35px; }
.column { min-width: 0; }
.column-header-image { margin: 0 0 6px; padding: 0; background: transparent; color: #1693a5; font-family: "Droid Sans", Arial, sans-serif; font-size: 25px; font-weight: 400; line-height: 1.25; }
.column-image { position: relative; max-width: none; margin: 0; overflow: hidden; background: transparent; box-shadow: none; }
.column-image img { display: block; width: 100%; height: 201px; object-fit: cover; }
.column-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 34px 25px 28px; background: rgba(0,0,0,.72); color: #fff !important; opacity: 0; text-decoration: none !important; transition: opacity .18s ease; }
.column-image:hover .column-overlay, .column-image:focus-within .column-overlay { opacity: 1; }
.column-text { display: block;   color: #f4f4f4; font-family: "Droid Sans", Arial, sans-serif; font-size: 14px; width: 100%; font-weight: 700; line-height: 1.55; }
.columnmore { display: inline-block; align-self: center; margin-top: 24px; padding: 8px 25px; border-radius: 12px; background: #e83a22; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.2; }
.columnmore:hover {
    background: #1693a5;
    transition: all 0.3s linear;
}
#container { padding: 0 0 45px; }
#content { width: 100%; padding: 32px 0 20px; }
.breadcrumbs { margin: 0 0 22px; color: #222; font-size: 12px; }
.breadcrumbs span { margin: 0 6px; color: #aaa; }
.entry-title { margin: 0 0 28px; color: #444; font-family: "Droid Sans", Arial, sans-serif; font-size: 34px; font-weight: 400; line-height: 1.25; }
.dwight-page p, .dwight-single p, .dwight-wp-post p { margin: 0 0 1em; }
.dwight-page--article .entry-title { font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 700; }
.dwight-page--article p { color: #222; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.7; }
.dwight-featured-image { margin-top: 34px !important; text-align: center; }
.dwight-featured-image img { display: block; width: auto; max-width: 600px; margin: 0 auto 24px; }
.dwight-card-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dwight-list-card { padding-bottom: 20px; border-bottom: 1px solid #eee; }
.dwight-list-card img { display: block; width: 100%; height: 180px; object-fit: cover; }
.dwight-list-card h2 { margin: 14px 0 8px; font-size: 21px; font-weight: 400; line-height: 1.3; }
.continue-reading-link { display: inline-block; padding: 8px 11px; border-bottom: 3px solid #1693a5; background: #eaeaea; color: #333 !important; }
.dwight-gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; padding-top: 20px; text-align: center; }
.dwight-gallery img { width: auto; max-width: 300px; max-height: 455px; object-fit: contain; }
.small-date { font-size: 12px; }
.dwight-sponsors { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 36px; }
.sponsor-link-container { width: 300px; min-height: 200px; margin: 10px 0; text-align: center; }
.sponsor-link-container img { display: block; width: auto; max-width: 300px; max-height: 188px; margin: 0 auto 8px; object-fit: contain; }
.dwight-map { width: 100%; max-width: 1100px; min-height: 650px; border: 0; }
.dwight-links { margin: 0 0 0 22px; }
.dwight-wp-post { margin-bottom: 35px; padding-bottom: 30px; border-bottom: 1px solid #eee; }
.post-navigation { display: flex; justify-content: space-between; gap: 20px; margin-top: 35px; }

#footer { color: #aaa; }
#footer2 { min-height: 34px; padding: 0; background: #7b6a7c; color: #aaa; }
#site-copyright { padding: 7px 20px; font-size: 13px; }
.dwight-footer-menu { padding: 8px 20px 0; text-align: center; }
.dwight-footer-menu ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.dwight-footer-menu a { color: #fff; font-size: 13px; }

@media (max-width: 900px) {
    #forbottom { margin-right: 18px; margin-left: 18px; }
    #front-columns, .dwight-card-list { grid-template-columns: repeat(2, 1fr); }
    #access > .menu > ul { display: block; }
    #access .sub-menu { position: static; display: block; width: auto; }
}

@media (max-width: 640px) {
    #branding { height: 98px; }
    #bg_image { height: 98px; }
    .download-link { bottom: 20px; left: 12px; right: 12px; text-align: center; font-size: 12px; }
    .text-lbl { font-size: 11px; line-height: 1.3; }
    #slider { grid-template-columns: 1fr; }
    #slider img { height: 160px; }
    #front-columns, .dwight-card-list { grid-template-columns: 1fr; }
    .entry-title { font-size: 28px; }
}
