/* ==========================================================================
   Norfolk Festevents — the old site's look, rebuilt
   Loaded after css/festevents.css (elements/header_top.php). Values are the
   old concrete5 theme's (themes/festevents/css/custom.css and festevents.css),
   measured on the live site in November 2026.
   ========================================================================== */

/* ---- Page and grid ---------------------------------------------------- */

/* Interior pages sit on charcoal; the content bands are white. */
body.festevents-body,
.theme-festevents {
    background-color: #2c2c2c;
    color: #fff;
    font-family: Rokkitt, Georgia, serif;
    font-size: 20px;
    line-height: 1.428571;
}

/* The old site was Bootstrap 3: 30px gutters and 750/970/1170px containers.
   Content was laid out for those widths, so keep them. */
.theme-festevents {
    --bs-gutter-x: 30px;
}

.theme-festevents .container {
    --bs-gutter-x: 30px;
}

@media (min-width: 576px) {
    .theme-festevents .container { max-width: none; }
}

@media (min-width: 768px) {
    .theme-festevents .container { max-width: 750px; }
}

@media (min-width: 992px) {
    .theme-festevents .container { max-width: 970px; }
}

@media (min-width: 1200px) {
    .theme-festevents .container { max-width: 1170px; }
}

.theme-festevents .row {
    --bs-gutter-x: 30px;
}

.theme-festevents img {
    max-width: 100%;
    height: auto;
}

.theme-festevents p {
    font-size: 20px;
}

.theme-festevents h1,
.theme-festevents h2,
.theme-festevents h3,
.theme-festevents h4,
.theme-festevents h5 {
    font-family: Rokkitt, Georgia, serif;
    font-weight: 500;
    line-height: 1.1;
    margin-top: 20px;
    margin-bottom: 10px;
}

.theme-festevents h4 {
    font-size: 20px;
}

.theme-festevents h5 {
    font-size: 14px;
}

/* Old content links weren't underlined (overrides the base theme's rule). */
.theme-festevents :is(main, footer) :is(p, li, td, dd, blockquote, figcaption) a:not(.btn) {
    text-decoration: none;
}

.theme-festevents a:hover {
    text-decoration: underline;
}

.theme-festevents .festevents-main {
    display: block;
}

/* ---- Bootstrap 3 classes used in the moved content -------------------- */

.theme-festevents .img-responsive { display: block; max-width: 100%; height: auto; }
.theme-festevents .pull-left { float: left !important; }
.theme-festevents .pull-right { float: right !important; }
.theme-festevents .center-block { display: block; margin-left: auto; margin-right: auto; }
.theme-festevents .hidden-xs { }
.theme-festevents .clearfix::after { content: ""; display: table; clear: both; }
.theme-festevents .btn-default { color: #333; background: #fff; border-color: #ccc; }
.theme-festevents .btn-warning { color: #fff; background-color: #f0ad4e; border-color: #eea236; }

@media (max-width: 767px) {
    .theme-festevents .hidden-xs { display: none !important; }
    /* The old theme stacked table cells on phones. */
    .theme-festevents .festevents-band table { width: auto !important; }
    .theme-festevents .festevents-band td { display: block; }
}

/* ---- Hello Bar (site-wide alert) -------------------------------------- */

.theme-festevents .festevents-hello-bar {
    background: #9e0b0f;
    color: #fff;
    font-size: 21px;
    font-weight: 400;
    text-align: center;
    position: relative;
    z-index: 1031;
}

.theme-festevents .festevents-hello-bar.is-hidden {
    display: none;
}

.theme-festevents .festevents-hello-bar__inner {
    position: relative;
    padding: 15px 40px;
}

.theme-festevents .festevents-hello-bar p {
    font-size: inherit;
    margin: 0;
}

.theme-festevents .festevents-hello-bar a {
    color: #fff;
    text-decoration: none;
}

.festevents-hello-bar__close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    padding: 0 5px;
    cursor: pointer;
}

/* ---- Interior header: menu bar over the header photo ------------------- */

.theme-festevents .festevents-header {
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    z-index: 1030;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    transition: background-color 0.2s ease;
}

/* Fixed once the page scrolls, solid grey (the old "scrollNav"). */
.theme-festevents .festevents-header.is-scrolled {
    position: fixed;
    top: 0;
    background: #414141;
    box-shadow: none;
}

.theme-festevents .festevents-header--editing {
    position: relative;
    background: #414141;
}

.theme-festevents .festevents-header__inner {
    flex-wrap: nowrap;
    align-items: flex-start;
}

.theme-festevents .festevents-header__brand {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 0 0 0;
}

.theme-festevents .festevents-header__brand p {
    margin: 0;
}

.theme-festevents .festevents-header__brand img {
    display: block;
    width: 192px;
    max-width: 100%;
    max-height: none;
    height: auto;
}

.theme-festevents .festevents-header__nav-collapse {
    flex: 1 1 auto;
    padding-left: 15px;
}

/* Menu: white uppercase items, purple behind the hovered and current section,
   grey drop-downs that open on hover. */
.theme-festevents .festevents-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.theme-festevents .festevents-menu .festevents-dropdown-nav,
.theme-festevents .festevents-menu > ul {
    display: flex;
    flex-wrap: nowrap;
}

.theme-festevents .festevents-menu li {
    position: relative;
}

.theme-festevents .festevents-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.theme-festevents .festevents-menu .festevents-dropdown-nav > li > a,
.theme-festevents .festevents-menu > ul > li > a {
    padding: 10px 15px;
    font-size: 20px;
    line-height: 28px;
    text-transform: none;
}

.theme-festevents .festevents-menu .festevents-dropdown-nav > li:hover,
.theme-festevents .festevents-menu .festevents-dropdown-nav > li.nav-path-selected,
.theme-festevents .festevents-menu > ul > li:hover,
.theme-festevents .festevents-menu > ul > li.nav-path-selected {
    background: #655c77;
}

.theme-festevents .festevents-menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    min-width: 160px;
    background: #414141;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 14px;
    line-height: 20px;
}

.theme-festevents .festevents-menu li ul ul {
    top: 0;
    left: 100%;
}

.theme-festevents .festevents-menu li:hover > ul,
.theme-festevents .festevents-menu li:focus-within > ul {
    display: block;
}

.theme-festevents .festevents-menu li ul li {
    border: 1px solid #3c3c3c;
}

.theme-festevents .festevents-menu li ul a {
    padding: 8px;
}

.theme-festevents .festevents-menu li ul ul a {
    padding: 2px 8px;
}

.theme-festevents .festevents-menu li ul a:hover {
    background: #655c77;
    text-decoration: none;
}

.theme-festevents .festevents-header__toggle {
    color: #fff;
    margin: 12px 0 12px auto;
}

/* The header photo (or slider) runs edge to edge under the menu bar. */
.theme-festevents .festevents-head-slide img {
    display: block;
    width: 100%;
    height: auto;
}

.theme-festevents .festevents-head-slide .carousel,
.theme-festevents .festevents-head-slide .ccm-image-slider-container {
    margin: 0;
}

@media (max-width: 767.98px) {
    .theme-festevents .festevents-header,
    .theme-festevents .festevents-header.is-scrolled {
        position: relative;
        background: #414141;
    }

    .theme-festevents .festevents-header__inner {
        flex-wrap: wrap;
        align-items: center;
    }

    .theme-festevents .festevents-header__brand {
        flex: 1 1 auto;
        max-width: 70%;
    }

    .theme-festevents .festevents-header__nav-collapse {
        flex-basis: 100%;
        padding: 0;
    }

    .theme-festevents .festevents-menu .festevents-dropdown-nav,
    .theme-festevents .festevents-menu > ul {
        display: block;
        background: #414141;
    }

    .theme-festevents .festevents-menu li ul,
    .theme-festevents .festevents-menu li ul ul {
        position: static;
        width: 100%;
        border: 0;
    }

    .theme-festevents .festevents-menu li ul a {
        padding: 8px 8px 8px 30px;
    }
}

/* ---- Content bands ---------------------------------------------------- */

.theme-festevents .festevents-band {
    background: #fff;
    color: #000;
    background-size: cover;
    background-position: center;
}

.theme-festevents .festevents-band--banner-main,
.theme-festevents .festevents-band--banner-second {
    background-color: transparent;
    color: #fff;
}

.theme-festevents .festevents-band h1,
.theme-festevents .festevents-band h2 {
    font-size: 60.11px;
    color: #989da0;
    text-transform: uppercase;
}

.theme-festevents .festevents-band h3 {
    color: #989da0;
    text-transform: uppercase;
    font-size: 41.73px;
}

.theme-festevents .festevents-band--white-second h1,
.theme-festevents .festevents-band--white-second h2,
.theme-festevents .festevents-band--white-second h3 {
    color: #655c77;
}

.theme-festevents .festevents-band.festevents-band--white-second a {
    color: #655c77;
}

.theme-festevents .festevents-band--banner-main h2,
.theme-festevents .festevents-band--banner-main h3,
.theme-festevents .festevents-band--banner-second h2,
.theme-festevents .festevents-band--banner-second h3 {
    color: #fff;
    font-size: 43px;
    text-transform: uppercase;
}

.theme-festevents .festevents-band a {
    color: #337ab7;
}

.theme-festevents .festevents-band.festevents-band--banner-main a,
.theme-festevents .festevents-band.festevents-band--banner-second a {
    color: #fff;
}

/* On the old site blocks sat in a Bootstrap 3 .row (container padding cancelled
   out), so content runs the full container width (970px / 1170px). */
.theme-festevents .festevents-band > .container,
.theme-festevents .festevents-band__full {
    padding-left: 0;
    padding-right: 0;
}

/* Bands contain their content's margins (Bootstrap 3 rows were clearfixed),
   so no charcoal shows between two bands. */
.theme-festevents .festevents-band > .container,
.theme-festevents .festevents-band > .festevents-band__full {
    display: flow-root;
}

/* The templates' own column rows sat directly in the container there. */
.theme-festevents .festevents-band > .container > .row {
    margin-left: 0;
    margin-right: 0;
}

/* Imported area layouts keep the old space between their cells
   (festevents-gap-N, N = pixels, set on the layout by the import). */
.festevents-gap-0 > .row { --bs-gutter-x: 0px; }
.festevents-gap-10 > .row { --bs-gutter-x: 10px; }
.festevents-gap-20 > .row { --bs-gutter-x: 20px; }
.festevents-gap-30 > .row { --bs-gutter-x: 30px; }
.festevents-gap-40 > .row { --bs-gutter-x: 40px; }
.festevents-gap-50 > .row { --bs-gutter-x: 50px; }
.festevents-gap-60 > .row { --bs-gutter-x: 60px; }
.festevents-gap-70 > .row { --bs-gutter-x: 70px; }
.festevents-gap-80 > .row { --bs-gutter-x: 80px; }
.festevents-gap-90 > .row { --bs-gutter-x: 90px; }
.festevents-gap-100 > .row { --bs-gutter-x: 100px; }

/* Imported layouts keep the old cell widths exactly (the import puts them in
   --fe-w1, --fe-w2...); on phones the cells stack, as they did. */
@media (min-width: 768px) {
.festevents-widths > .row > :nth-child(1) { flex: 0 0 var(--fe-w1, auto); width: var(--fe-w1, auto); max-width: var(--fe-w1, none); }
.festevents-widths > .row > :nth-child(2) { flex: 0 0 var(--fe-w2, auto); width: var(--fe-w2, auto); max-width: var(--fe-w2, none); }
.festevents-widths > .row > :nth-child(3) { flex: 0 0 var(--fe-w3, auto); width: var(--fe-w3, auto); max-width: var(--fe-w3, none); }
.festevents-widths > .row > :nth-child(4) { flex: 0 0 var(--fe-w4, auto); width: var(--fe-w4, auto); max-width: var(--fe-w4, none); }
.festevents-widths > .row > :nth-child(5) { flex: 0 0 var(--fe-w5, auto); width: var(--fe-w5, auto); max-width: var(--fe-w5, none); }
.festevents-widths > .row > :nth-child(6) { flex: 0 0 var(--fe-w6, auto); width: var(--fe-w6, auto); max-width: var(--fe-w6, none); }
.festevents-widths > .row > :nth-child(7) { flex: 0 0 var(--fe-w7, auto); width: var(--fe-w7, auto); max-width: var(--fe-w7, none); }
.festevents-widths > .row > :nth-child(8) { flex: 0 0 var(--fe-w8, auto); width: var(--fe-w8, auto); max-width: var(--fe-w8, none); }
.festevents-widths > .row > :nth-child(9) { flex: 0 0 var(--fe-w9, auto); width: var(--fe-w9, auto); max-width: var(--fe-w9, none); }
.festevents-widths > .row > :nth-child(10) { flex: 0 0 var(--fe-w10, auto); width: var(--fe-w10, auto); max-width: var(--fe-w10, none); }
.festevents-widths > .row > :nth-child(11) { flex: 0 0 var(--fe-w11, auto); width: var(--fe-w11, auto); max-width: var(--fe-w11, none); }
.festevents-widths > .row > :nth-child(12) { flex: 0 0 var(--fe-w12, auto); width: var(--fe-w12, auto); max-width: var(--fe-w12, none); }
}

/* The old YouTube blocks were 67.5% as tall as wide. */
.theme-festevents .festevents-band .youtubeBlockResponsive16by9 {
    padding-bottom: 67.5%;
}

@media (max-width: 767px) {
    .theme-festevents .festevents-band h1,
    .theme-festevents .festevents-band h2 {
        font-size: 44.11px;
    }

    .theme-festevents .festevents-band--banner-main h2,
    .theme-festevents .festevents-band--banner-main h3,
    .theme-festevents .festevents-band--banner-second h2,
    .theme-festevents .festevents-band--banner-second h3 {
        font-size: 32px;
    }
}

/* Old area layouts that were tables of cells collapse on phones. */
@media (max-width: 767px) {
    .theme-festevents .ccm-layout-column {
        width: 100% !important;
    }
}

/* Image sliders (the old Nivo sliders): grey frame, round purple dots. */
.theme-festevents .carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #82808e;
    border: 0;
    opacity: 1;
}

.theme-festevents .carousel-indicators .active {
    background-color: #655c77;
}

/* ---- Interior footer -------------------------------------------------- */

.theme-festevents .festevents-footer {
    background: transparent;
    color: #fff;
    margin: 0;
    padding: 0;
}

.theme-festevents .festevents-footer__top {
    background: #3d3d3d;
    padding: 50px 0;
}

.theme-festevents .festevents-footer a {
    color: #f9f9f9;
}

.theme-festevents .festevents-footer h3 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.theme-festevents .festevents-footer__col {
    border-right: 1px solid #555;
}

.theme-festevents .festevents-footer__col:last-child {
    border: 0;
}

.theme-festevents .festevents-footer__legal {
    background: transparent;
    padding: 20px;
    margin: 0;
    font-size: 20px;
    text-align: center;
}

.theme-festevents .festevents-footer__legal p {
    font-size: 20px;
}

/* Footer search, as the old 5.6 search block: heading, box, small plain button below. */
.theme-festevents .festevents-footer .ccm-search-block-form {
    display: block;
    margin-bottom: 18px;
}

.theme-festevents .festevents-footer .ccm-search-block-form h3 {
    font-size: 18px;
    margin: 0;
}

.theme-festevents .festevents-footer .ccm-search-block-form .ccm-search-block-text {
    display: block;
    width: 100%;
    max-width: 245px;
    height: 34px;
    padding: 1px 2px;
    border: 0;
    border-radius: 0;
    color: #000;
    font-size: 20px;
    line-height: 1.4;
}

.theme-festevents .festevents-footer .ccm-search-block-form .ccm-search-block-submit {
    display: inline-block;
    margin-top: 4px;
    padding: 1px 6px;
    border: 0;
    border-radius: 0;
    background: #efefef;
    color: #000;
    font-family: Rokkitt, Georgia, serif;
    font-size: 20px;
    text-transform: none;
}

/* Header photos: no pager strip under the image (the old Nivo sliders hid theirs). */
.theme-festevents .festevents-head-slide .ccm-image-slider-container,
.theme-festevents .festevents-head-slide .ccm-image-slider {
    background: none;
    padding: 0;
    margin: 0;
}

.theme-festevents .festevents-head-slide .rslides_tabs,
.theme-festevents .festevents-head-slide .rslides_nav {
    display: none;
}

@media (max-width: 575.98px) {
    .theme-festevents .festevents-footer__col {
        border-right: 0;
    }
}

/* ==========================================================================
   Home page (home.php): Raleway, navy menu bar, teal and light blue bands
   ========================================================================== */

body.festevents-body.festevents-body--home,
.festevents-body--home .theme-festevents {
    background-color: #fff;
    font-family: Raleway, sans-serif;
    font-size: 23px;
}

.festevents-body--home .theme-festevents p,
.festevents-body--home .theme-festevents h1,
.festevents-body--home .theme-festevents h2,
.festevents-body--home .theme-festevents h3,
.festevents-body--home .theme-festevents h4,
.festevents-body--home .theme-festevents h5 {
    font-family: Raleway, sans-serif;
}

.festevents-body--home .theme-festevents h1,
.festevents-body--home .theme-festevents h2,
.festevents-body--home .theme-festevents h3,
.festevents-body--home .theme-festevents h4,
.festevents-body--home .theme-festevents h5 {
    text-transform: uppercase;
}

.festevents-body--home .theme-festevents h2,
.festevents-body--home .theme-festevents h3 {
    color: #1d4871;
}

.festevents-body--home .theme-festevents h1 {
    font-size: 55px;
}

.festevents-body--home .theme-festevents h2 {
    font-size: 27px;
    line-height: 1;
    margin: 10px 0;
    font-weight: 800;
}

.festevents-body--home .theme-festevents .btn {
    border-radius: 10px;
    padding: 2px 6px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.festevents-body--home .theme-festevents .btn.btn-warning {
    color: #fff;
    background-color: #e88024;
    border-color: #e88024;
}

.festevents-body--home .theme-festevents .btn.btn-primary {
    color: #fff;
    background-color: #1c4871;
    border-color: #1c4871;
}

/* Video band: the video runs edge to edge, cropped 10% top and bottom, with a
   teal fade at the bottom. */
.festevents-home-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(360deg, rgba(102, 185, 191, 1) 0%, rgba(56, 197, 220, 0) 50%, rgba(0, 212, 255, 0) 100%);
}

.festevents-home-hero video,
.festevents-home-hero img {
    display: block;
    position: relative;
    z-index: 0;
    width: 100%;
    height: auto;
    margin-top: -10%;
    margin-bottom: -10%;
}

.festevents-home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(360deg, rgba(102, 185, 191, 1) 0%, rgba(56, 197, 220, 0) 50%, rgba(0, 212, 255, 0) 100%);
    pointer-events: none;
}

.festevents-home-hero .ccm-block-video,
.festevents-home-hero .ccm-block-video video {
    max-width: none;
}

/* Navy menu bar; the big logo hangs up into the video band. */
.theme-festevents .festevents-home-nav {
    position: relative;
    z-index: 2;
    background-color: #17293a;
    padding: 0;
    min-height: 50px;
}

.theme-festevents .festevents-home-nav__inner {
    position: relative;
    align-items: flex-start;
}

.theme-festevents .festevents-home-nav__logo {
    position: absolute;
    bottom: 25px;
    left: 15px;
}

.theme-festevents .festevents-home-nav__logo img {
    max-width: 300px;
    height: auto;
}

.theme-festevents .festevents-home-nav__collapse {
    justify-content: flex-end;
    align-items: center;
    padding-left: 300px;
}

/* Social icons sit right of the menu, as on the old site. */
.theme-festevents .festevents-home-nav__collapse .festevents-social-icons {
    order: 2;
}

.festevents-social-icons {
    margin: 8px 10px;
    white-space: nowrap;
}

.festevents-social-icons a {
    margin: 0 10px;
}

.festevents-social-icons img {
    width: 25px;
    height: auto;
}

.theme-festevents .festevents-home-nav .festevents-menu .festevents-dropdown-nav > li > a,
.theme-festevents .festevents-home-nav .festevents-menu > ul > li > a {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 20px;
    padding: 14px 8px;
}

.theme-festevents .festevents-home-nav .festevents-menu .festevents-dropdown-nav > li:hover,
.theme-festevents .festevents-home-nav .festevents-menu .festevents-dropdown-nav > li.nav-path-selected,
.theme-festevents .festevents-home-nav .festevents-menu > ul > li:hover {
    background: transparent;
}

.theme-festevents .festevents-home-nav .festevents-menu .festevents-dropdown-nav > li > a:hover {
    color: #e98024;
    text-decoration: none;
}

.theme-festevents .festevents-home-nav .festevents-header__toggle {
    margin: 8px 0 8px auto;
}

@media (max-width: 1198px) {
    .theme-festevents .festevents-home-nav .festevents-menu .festevents-dropdown-nav > li > a {
        font-size: 14px;
        padding: 14px 5px;
    }

    .festevents-social-icons { margin: 8px 5px; }
    .festevents-social-icons a { margin: 0 5px; }
}

@media (max-width: 991.98px) {
    .theme-festevents .festevents-home-nav__collapse {
        padding-left: 200px;
    }

    .theme-festevents .festevents-home-nav__logo img {
        max-width: 190px;
    }
}

@media (max-width: 767.98px) {
    .theme-festevents .festevents-home-nav__collapse {
        padding-left: 0;
    }

    /* The logo still hangs over the video on phones. */
    .theme-festevents .festevents-home-nav__logo {
        bottom: 8px;
    }

    .theme-festevents .festevents-home-nav__logo img {
        max-width: 160px;
    }

    .theme-festevents .festevents-home-nav__collapse {
        text-align: center;
    }

    .theme-festevents .festevents-home-nav .festevents-menu .festevents-dropdown-nav {
        display: block;
        background: #17293a;
    }
}

/* Upcoming events on the teal gradient. */
.festevents-home-events {
    position: relative;
    padding: 50px 0;
    color: #fff;
    background: linear-gradient(180deg, rgba(61, 115, 141, 1) 0%, rgba(102, 185, 191, 1) 50%, rgba(102, 185, 191, 1) 100%);
}

.festevents-home-events .container {
    position: relative;
}

.festevents-body--home .festevents-home-events :is(h1, h2, h3, h4, h5) {
    color: #fff;
}

.festevents-home-events__header {
    padding: 0 10px;
}

.festevents-home-events__more {
    position: absolute;
    right: 15px;
    bottom: -61px;
}

.festevents-home-events__more p {
    margin: 0;
}

/* Pill labels under the section headings (old content: <span class="btn ...">). */
.festevents-body--home .theme-festevents p .btn {
    cursor: default;
}

/* Home sections: Bootstrap 3 rows cancelled the container padding there too. */
.theme-festevents .festevents-home-dedicated > .container,
.theme-festevents .festevents-home-social > .container {
    padding-left: 0;
    padding-right: 0;
}

/* Video and "We're dedicated" copy. */
.festevents-home-dedicated {
    padding: 50px 10px;
    color: #000;
}

.festevents-home-dedicated .row,
.festevents-home-dedicated__copy {
    padding: 10px 0;
}

.festevents-home-dedicated__video {
    padding-top: 50px;
    padding-bottom: 50px;
}

.festevents-home-dedicated > .container > .row:first-child {
    background: url("../images/video-band-bg.jpg") center center / contain no-repeat;
}

.festevents-home-dedicated iframe,
.festevents-home-dedicated .ccm-block-youtube-video iframe {
    box-shadow: 5px 5px 23px 0 rgba(115, 115, 115, 1);
    border-radius: 10px;
}

.festevents-body--home .festevents-home-dedicated h4 {
    color: #e98024;
}

.festevents-home-dedicated a {
    color: #035494;
}

/* Social photo grid and sponsor wall on light blue. */
.festevents-home-social {
    padding: 50px 10px;
    color: #fff;
    background: linear-gradient(180deg, rgba(215, 234, 247, 1) 0%, rgba(215, 234, 247, 1) 50%, rgba(102, 185, 191, 0) 100%);
}

.festevents-home-social__header,
.festevents-home-social__gallery {
    padding: 10px 0;
}

.festevents-home-social__gallery {
    text-align: center;
}

.festevents-home-social__gallery .ccm-image-block,
.festevents-home-social__gallery picture,
.festevents-home-social__gallery a {
    display: inline-block;
}

.festevents-home-social__gallery img {
    height: 255px;
    width: auto;
}

.festevents-sponsor-wall {
    text-align: center;
    padding: 10px 0;
}

.festevents-sponsor-wall__item {
    padding: 10px 20px;
    min-height: 150px;
}

.festevents-sponsor-wall img {
    box-shadow: 5px 5px 23px 0 rgba(115, 115, 115, 1);
    border-radius: 10px;
    background-color: #fff;
}

@media (max-width: 1198px) {
    .festevents-home-social__gallery img {
        width: 32.5%;
        height: auto;
    }

    .festevents-home-social__gallery > :last-child img {
        width: 100%;
        padding: 5px;
    }
}

@media (max-width: 767px) {
    .festevents-sponsor-wall__item { min-height: 215px; }
}

@media (max-width: 650px) {
    .festevents-sponsor-wall__item { min-height: 175px; }
}

@media (max-width: 550px) {
    .festevents-sponsor-wall__item { min-height: 145px; }
}

/* Light footer on the home page. */
.theme-festevents .festevents-home-footer {
    padding: 50px 10px;
    background-color: #d7eaf7;
    color: #232426;
    font-family: Raleway, sans-serif;
    font-weight: 600;
    font-size: 16px;
}

.theme-festevents .festevents-home-footer p {
    font-size: 16px;
}

.theme-festevents .festevents-home-footer a {
    color: #232426;
}

.festevents-home-footer__links,
.festevents-home-footer__legal {
    padding-top: 20px;
    padding-bottom: 20px;
}

.festevents-home-footer__logo img {
    max-width: 100%;
    height: auto;
}

/* ---- Carousels (image_slider festevents_carousel, page_list festevents_events_carousel) */

.festevents-carousel,
.festevents-events-carousel {
    position: relative;
    padding: 0 30px;
}

.festevents-carousel__track {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.festevents-carousel__track::-webkit-scrollbar {
    display: none;
}

.festevents-carousel__item {
    flex: 0 0 16.6667%;
    scroll-snap-align: start;
    padding: 10px 15px;
    text-align: center;
    align-self: center;
}

.festevents-carousel__item img {
    max-height: 100px;
    width: auto;
    max-width: min(100%, 130px);
}

.festevents-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: none;
    border: 0;
    color: inherit;
    font-size: 40px;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
    opacity: 0.75;
}

.festevents-carousel__arrow:hover,
.festevents-carousel__arrow:focus-visible {
    opacity: 1;
}

.festevents-carousel__arrow--prev { left: -4px; }
.festevents-carousel__arrow--next { right: -4px; }

.is-static > .festevents-carousel__arrow {
    display: none;
}

@media (max-width: 767px) {
    .festevents-carousel__item { flex-basis: 33.3333%; padding: 10px; }
}

/* Event cards on the home page: white rounded cards, the logo overlapping the top. */
.festevents-events-carousel {
    padding: 20px 0 0;
    min-height: 295px;
}

.festevents-events-carousel .festevents-carousel__track {
    padding-bottom: 30px;
}

.festevents-events-carousel .festevents-carousel__item {
    flex: 0 0 33.3333%;
    padding: 80px 10px 0;
    text-align: left;
}

.festevents-events-carousel .festevents-carousel__arrow {
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    color: #3d738d;
    font-size: 28px;
    line-height: 26px;
    font-weight: bold;
    opacity: 0.75;
}

.festevents-events-carousel .festevents-carousel__arrow--prev { left: -45px; }
.festevents-events-carousel .festevents-carousel__arrow--next { right: -25px; }

.festevents-event-card {
    width: 250px;
    max-width: 100%;
    min-height: 187px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 5px 5px 23px 0 rgba(115, 115, 115, 1);
    color: #000;
}

.festevents-event-card__logo {
    display: block;
    max-width: 100%;
    max-height: 159px;
    padding: 0 5px;
    margin: -30% auto 0;
    border-radius: 10px;
}

.festevents-events-carousel .festevents-carousel__item img.festevents-event-card__logo {
    max-height: 159px;
    max-width: 100%;
}

.festevents-event-card__body {
    font-weight: bold;
    font-size: 12px;
    padding: 10px 15px;
    min-height: 95px;
}

.festevents-body--home .theme-festevents .festevents-event-card h4 {
    color: #1d4871;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    margin: 0;
}

.festevents-event-card h4 a {
    color: inherit;
    text-decoration: none;
}

.festevents-body--home .theme-festevents .festevents-event-card__body p {
    font-size: 14px;
    margin: 0 0 10px;
}

.festevents-event-card__more {
    text-align: right;
    padding: 0 10px 10px;
    margin: 0;
}

.festevents-event-card__more img {
    width: 115px;
    height: auto;
    max-height: none !important;
}

@media (max-width: 1023px) {
    .festevents-events-carousel .festevents-carousel__item { flex-basis: 50%; }
}

@media (max-width: 766px) {
    .festevents-events-carousel .festevents-carousel__item { flex-basis: 100%; }
    .festevents-events-carousel .festevents-carousel__arrow { display: none; }
}

/* Background video (video festevents_background). */
.festevents-bg-video video,
.festevents-bg-video img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---- Edit mode --------------------------------------------------------- */

.ccm-edit-mode .theme-festevents .festevents-header,
.ccm-edit-mode .theme-festevents .festevents-header.is-scrolled {
    position: relative;
}

/* ---- Forms (Express forms from the old site's form add-ons) -----------
   As the old forms looked (measured): bold 20px labels, a red * after required
   ones, 245px boxes, plain checkboxes. */
.theme-festevents .festevents-band .ccm-block-express-form .form-label {
    display: inline-block;
    font-weight: 700;
    font-size: 20px;
    line-height: 28.57px;
    margin: 4px 0 5px;
}

.theme-festevents .festevents-band .ccm-block-express-form .mb-3 > .text-muted.small {
    font-size: 0;
}

.theme-festevents .festevents-band .ccm-block-express-form .mb-3 > .text-muted.small::before {
    content: "*";
    font-size: 20px;
    font-weight: 700;
    color: #ff0000;
    margin-left: 5px;
}

.theme-festevents .festevents-band .ccm-block-express-form .form-control,
.theme-festevents .festevents-band .ccm-block-express-form .form-select {
    display: block;
    width: 245px;
    max-width: 100%;
    height: 35px;
    margin: 2px;
    padding: 1px 2px;
    border: 1px solid #767676;
    border-radius: 2px;
    font-size: 20px;
    line-height: 1.4;
}

.theme-festevents .festevents-band .ccm-block-express-form textarea.form-control {
    width: 241px;
    height: 63px;
}

.theme-festevents .festevents-band .ccm-block-express-form .form-check {
    min-height: 0;
    margin-bottom: 0;
}

.theme-festevents .festevents-band .ccm-block-express-form .form-check-label {
    font-weight: 700;
    font-size: 20px;
}

.theme-festevents .festevents-band .ccm-block-express-form .form-check-input {
    width: 13px;
    height: 13px;
    margin-top: 8px;
    border: 1px solid #767676;
    border-radius: 2px;
}

.theme-festevents .festevents-band .ccm-block-express-form .mb-3 {
    margin-bottom: 10px !important;
}

.theme-festevents .festevents-band .ccm-block-express-form .form-actions .btn,
.theme-festevents .festevents-band .ccm-block-express-form .btn-primary {
    padding: 1px 6px;
    border: 1px solid #767676;
    border-radius: 2px;
    background: #efefef;
    color: #000;
    font-family: Rokkitt, Georgia, serif;
    font-size: 20px;
    text-transform: none;
}

/* Header photos have no captions: hide the slider's empty caption strip. */
.theme-festevents .ccm-image-slider-text:not(:has(h2, h3, p, a)) {
    display: none;
}

/* ---- Plain pages (left_sidebar.php): blocks straight on the page --------- */
.theme-festevents .festevents-plain {
    color: #fff;
    display: flow-root;
}

.theme-festevents .festevents-plain :is(h1, h2, h3, h4, h5, h6) {
    color: #333;
    text-transform: none;
    font-weight: 500;
}

.theme-festevents .festevents-plain h1 { font-size: 36px; }
.theme-festevents .festevents-plain h2 { font-size: 30px; }
.theme-festevents .festevents-plain h3 { font-size: 24px; }
.theme-festevents .festevents-plain h4 { font-size: 20px; }

.theme-festevents .festevents-plain a {
    color: #337ab7;
}

/* Old content blocks were wrapped in a clearfixed div ("content-block-wrap
   clearfix"), which kept their first and last margins inside the block (and
   inside block design panels). */
.theme-festevents .ccm-block-content,
.theme-festevents .ccm-custom-style-container {
    display: flow-root;
}

/* Bootstrap 3 spacing for running text (Bootstrap 5 uses 1rem). */
.theme-festevents p {
    margin: 0 0 10px;
}

.theme-festevents :is(ul, ol) {
    margin-bottom: 10px;
}
