/* custom colors */
.background-color-white-10,
.frame-background-color-white-10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.frame-fullwidth-white {
    max-width: unset !important;
    background-color: #fff !important;
    margin: 0 auto !important;
}

/* container default styles and config */
.frame-type-ce_columns2 .row,
.frame-type-ce_columns3 .row {
    display: flex;
    flex-direction: row;
    -ms-flex-direction: row;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;

    .ce-col.col-md-8 {
        -ms-flex: 0 0 66.6667%;
        flex: 0 0 66.6667%;
        max-width: 66.6667%;
    }

    .ce-col.col-md-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .ce-col.col-md-4 {
        -ms-flex: 0 0 33.3333%;
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }

    .ce-col.col-md-2 {
        -ms-flex: 0 0 16.6667%;
        flex: 0 0 16.6667%;
        max-width: 16.6667%;
    }
}

.frame-type-ce_columns2 .ce-col {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 .5rem;
}

.frame-type-ce_columns3 .row .ce-col {
    -ms-flex: 0 0 33.3333%;
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding: 0 .5rem;
}

.frame-type-ce_columns3 .row .ce-col .ce-row {
    display: flex;
    flex-direction: row;
    -ms-flex-direction: row;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
}

.grid {
    margin: unset !important;
}

.grid__item {
    margin-bottom: unset !important;
    padding-left: unset !important;
}

.grid--middle {
    gap: 2%;
}

.grid__item.two-thirds {
    width: 65%;

    @media screen and (max-width: 480px) {
        width: 100% !important;
    }
}

@media only screen and (max-width: 480px) {
    .palm--one-whole {
        width: 100% !important;
    }
}

.grid__item.one-third {
    width: 33%;
}

nav.quick-navigation {
    z-index: 4000;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 5px;
    background-color: #00000080;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.back-to-top svg {
    width: 30px;
    height: 30px;
    pointer-events: none;
}

/*
    frame default is the new page-centered - max width and centered
*/
.frame,
.frame-default,
.frame-fullwidth-white>div {
    padding: 1.5rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.content-main>.frame-type-ce_columns2 {
    max-width: unset;

    >div {
        max-width: 1000px;
        margin: 0 auto;
    }
}

.content-main>.frame-type-ce_container {
    max-width: unset;
}

/* responsive */
@media screen and (min-width: 550px) {
    .frame-indent-left {
        padding-left: 33% !important;
    }

    .frame-indent-right {
        padding-right: 33% !important;
    }
}

@media screen and (max-width: 550px) {

    .frame-type-ce_columns2 .row .ce-col,
    .frame-type-ce_columns3 .row .ce-col,
    .frame-type-ce_columns4 .row .ce-col {
        -ms-flex: 0 0 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
}

@media screen and (min-width: 1114px) {

    .frame,
    .frame-default,
    .content_main>.frame-type-ce_container>div,
    .content-main>.frame-type-ce_columns2>div {
        max-width: 1114px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1023px) {

    .frame-default,
    .content-main>.frame-type-ce_container>div,
    .content-main>.frame-type-ce_columns2>div {
        max-width: 90%;
    }
}

@media only screen and (min-width: 481px) and (max-width: 768px) {

    .frame-default,
    .content-main>.frame-type-ce_container>div,
    .content-main>.frame-type-ce_columns2>div {
        max-width: 94%;
    }
}

@media screen and (max-width: 480px) {
    .frame-default,
    .content-main>.frame-type-ce_container>div,
    .content-main>.frame-type-ce_columns2>div {
        max-width: 100%;
    }

    .content-main>div {
        padding: 1rem;
    }

    .content-main>div.frame-type-reference {
        padding: 0;
    }

    .grid__item.one-third {
        width: 100%;
    }
}

/* container */
.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.col-md-9 {
    flex: 1 1 auto;
    flex-basis: 75%;
}

.col-md-8 {
    flex: 1 1 auto;
    flex-basis: 66%;
}

.col-md-7 {
    flex: 1 1 auto;
    flex-basis: 58.3333%;
}

.col-md-6 {
    flex: 1 1 auto;
    flex-basis: 50%;
}

.col-md-5 {
    flex: 1 1 auto;
    flex-basis: 41.6667%;
}

.col-md-4 {
    flex: 1 1 auto;
    flex-basis: 33%;
}

.col-md-3 {
    flex: 1 1 auto;
    flex-basis: 25%;
}

.col-md-2 {
    flex: 1 1 auto;
    flex-basis: 16.6667%;
}

.beer-reveal>img:first-child {
    height:100% !important;
}

/* textmedia images */
.frame-type-textmedia .grid .grid__item {
    flex: 1 1 auto;
    flex-basis: 1%;

    @media screen and (max-width: 550px) {
        flex-basis: 100%;
        padding-bottom: 1rem;
    }
}

.frame-type-textmedia .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.beer-slider img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
}

#c312 img {
  aspect-ratio: 16 / 9;
  height: auto;
  width: 100%;
}

.hni__wrapper {
  padding: 0 !important;
}