/*
Theme Name: City of Ashford
Description: Theme converted from the City of Ashford static website.
Version: 1.0
Text Domain: ashford
*/

@media (min-width: 979px) {
	ul.nav li.dropdown:hover > ul.dropdown-menu { display: block; }
	.navbar .dropdown-menu { margin-top: 0; }
}
.hdr-main-nav .dropdown-menu { z-index: 1000; }
.ashford-content, #skipContent > .container { max-width: 1170px; margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px; }
.ashford-content { padding-top: 20px; padding-bottom: 40px; min-height: 400px; }
.ashford-content table { max-width: 100%; }
.ashford-content img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; left: -9999px; }
.ribbon_container img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.pmd_menu, .pmd_menu ul { list-style: none; margin: 0; padding: 0; }
body.pmd-open #pmd_navigation { left: 0 !important; }

:root { --ash-green: #225635; --ash-green-dark: #163a24; --ash-gold: #c4900f; --ash-cream: #f7f4ec; }
body { background: var(--ash-cream); }
.site-wrap { background: var(--ash-cream); }
header.pr { background: #fff; border-bottom: 4px solid var(--ash-gold); }
.hdr-main-nav-wrap { box-shadow: 0 3px 8px rgba(0,0,0,.25); }
.hdr-main-nav a { transition: background .2s, color .2s; }
.hdr-main-nav .dropdown-menu { border-top: 3px solid var(--ash-gold); box-shadow: 0 8px 18px rgba(0,0,0,.25); }

/* Home */
.ash-hero { position: relative; min-height: 480px; background-size: cover; background-position: center 35%; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.ash-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,58,36,.55), rgba(22,58,36,.8)); }
.ash-hero { overflow: hidden; background-color: #163a24; }
.ash-hero::before { z-index: 1; background: linear-gradient(180deg, rgba(22,58,36,.35), rgba(22,58,36,.65)); }
.ash-slides { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.ash-slides li { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: 0; animation: ashfade 36s infinite; }
@keyframes ashfade { 0% { opacity: 0; } 2% { opacity: 1; } 8.33% { opacity: 1; } 11% { opacity: 0; } 100% { opacity: 0; } }
.ash-hero-inner { z-index: 2; }
.ash-hero-inner { position: relative; padding: 40px 20px; max-width: 800px; }
.ash-hero h1 { color: #fff; font-size: 52px; line-height: 1.1; margin: 0 0 10px; text-transform: none; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.ash-hero p { font-size: 20px; margin: 0 0 28px; color: #f0e6c8; letter-spacing: .12em; text-transform: uppercase; }
.ash-btn { display: inline-block; margin: 5px 6px; padding: 13px 28px; border-radius: 4px; font-weight: bold; text-transform: uppercase; font-size: 14px; letter-spacing: .06em; text-decoration: none; transition: transform .15s, background .2s; }
.ash-btn:hover { transform: translateY(-2px); text-decoration: none; }
.ash-btn-gold { background: var(--ash-gold); color: #fff; }
.ash-btn-gold:hover { background: #a87a0a; color: #fff; }
.ash-btn-light { background: rgba(255,255,255,.15); color: #fff; border: 2px solid #fff; }
.ash-btn-light:hover { background: #fff; color: var(--ash-green); }
.ash-section { max-width: 1170px; margin: 0 auto; padding: 50px 15px; }
.ash-section h2 { text-align: center; color: var(--ash-green); font-size: 32px; margin: 0 0 8px; text-transform: none; }
.ash-section h2::after { content: ""; display: block; width: 70px; height: 4px; background: var(--ash-gold); margin: 12px auto 30px; border-radius: 2px; }
.ash-cards { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.ash-card { flex: 1 1 230px; max-width: 270px; background: #fff; border-radius: 8px; padding: 28px 20px; text-align: center; text-decoration: none; color: #333; border-top: 4px solid var(--ash-gold); box-shadow: 0 2px 10px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s; }
.ash-card:hover { transform: translateY(-5px); box-shadow: 0 10px 22px rgba(0,0,0,.15); text-decoration: none; color: #333; }
.ash-card .ico { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: var(--ash-green); color: #fff; font-size: 24px; font-weight: bold; font-family: Georgia, serif; }
.ash-hero-inner, .ash-banner, .ash-info .ash-section > div { text-align: center !important; }
.ash-hero-inner h1, .ash-banner h1 { text-align: center !important; }
.ash-card strong { display: block; color: var(--ash-green); font-size: 18px; margin-bottom: 4px; }
.ash-card span.d { font-size: 14px; color: #666; }
.ash-info { background: var(--ash-green); color: #fff; }
.ash-info .ash-section { padding: 36px 15px; display: flex; flex-wrap: wrap; justify-content: space-around; gap: 24px; text-align: center; }
.ash-info h3 { color: var(--ash-gold); font-size: 16px; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 8px; }
.ash-info a, .ash-info p { color: #fff; font-size: 17px; margin: 0; }

/* Inner pages */
.ash-banner { background: linear-gradient(135deg, var(--ash-green-dark), var(--ash-green)); border-bottom: 4px solid var(--ash-gold); padding: 34px 15px; text-align: center; }
.ash-banner h1 { color: #fff !important; margin: 0; font-size: 38px; text-transform: none; }
.ashford-content { background: #fff; margin-top: -1px; border-radius: 0 0 8px 8px; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.ash-page-wrap { max-width: 1170px; margin: 30px auto 50px; padding: 0 15px; }
.ash-page-wrap .ashford-content { padding: 30px; border-radius: 8px; margin: 0; }
.ashford-content a { color: var(--ash-green); }
.ashford-content a:hover { color: var(--ash-gold); }

/* Footer */
footer.ash-footer { padding: 0 !important; margin: 0; }
footer.ash-footer .ash-info .ash-section { max-width: 900px; margin: 0 auto; }
footer.row { background: var(--ash-green-dark) !important; border-top: 5px solid var(--ash-gold); }
footer a, footer address, footer p { color: #fff !important; }
footer a:hover { color: var(--ash-gold) !important; }
@media (max-width: 767px) { .ash-hero h1 { font-size: 34px; } .ash-hero { min-height: 380px; } .ash-banner h1 { font-size: 28px; } }


/* nav centering and edge fixes */
html, body { overflow-x: hidden; }
.site-wrap { width: 100%; max-width: none; }
.site-wrap .row, footer.row { margin-left: 0 !important; margin-right: 0 !important; }
@media (min-width: 992px) {
	.hdr-main-nav .container { width: 100% !important; max-width: none; }
	#menu-main-menu { display: flex !important; flex-direction: row-reverse; justify-content: center; float: none !important; margin: 0 !important; }
	#menu-main-menu > li { float: none !important; }
}
.ash-hero, .ash-slides { margin-left: 0; margin-right: 0; left: 0; right: 0; }
.ash-slides li { margin: 0 !important; padding: 0 !important; left: 0 !important; right: 0 !important; width: auto !important; }
@media (min-width: 992px) {
	#menu-main-menu > li { width: auto !important; flex: 0 0 auto; }
	#menu-main-menu > li > a { white-space: nowrap; padding-left: 14px !important; padding-right: 14px !important; }
}
@media (min-width: 992px) { #menu-main-menu > li > a { padding-left: 9px !important; padding-right: 9px !important; } }
@media (min-width: 992px) { #menu-main-menu { padding: 0 !important; width: 100%; } .hdr-main-nav .menu-main-menu-container { width: 100%; } }
@media (min-width: 992px) { .hdr-main-nav .container, .hdr-main-nav .menu-main-menu-container { margin: 0 !important; padding: 0 !important; width: 100% !important; } }
@media (min-width: 992px) { #menu-main-menu > li { margin: 0 !important; } }
@media (min-width: 992px) { .hdr-main-nav .menu-main-menu-container { left: 0 !important; } .hdr-main-nav .container { position: static !important; } }
@media (min-width: 992px) { #menu-main-menu > li > a { padding-left: 14px !important; padding-right: 14px !important; } }
