/* - - - - - - - - MAIN STYLES - - - - - - - - */
.show-mobile
{
    display: none;
}

#hero-wrapper
{
    background-color: #303030;
}
#hero-container, #main-container
{
    max-width: 1600px;
    margin: 0px auto;
}
#main-container
{
    padding: 0px 12px
}
    #main-container .row:first-of-type
    {
        margin: 0px;
    }
    #main-container section
    {
        margin: 40px auto;
    }
#hero-image
{
    background-image: url("../../img/2022/reunion-hero.jpg");
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 569px;
}

.crest-container
{
    justify-content: center;
    margin-bottom: .5rem !important;
}
.crest
{
    text-align: center;
    width: auto;
}
    .crest img
    {
        max-width: 208px;
        width: 100%;
        height: auto;
    }
#gryffindor-points, #ravenclaw-points, #hufflepuff-points, #slytherin-points
{
    text-align: center;
}

/* - - - - - - - - OVERRIDES - - - - - - - - */
.tabs .tab a
{
    font-size: 18px;
}

.datatable tbody tr:last-child
{
    height: unset;
}

figure.figure
{
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#activities figure.d-inline-flex
{
    vertical-align: middle;
}
    #activities figure.d-inline-flex img
    {
        max-height: 150px;
    }
#activities div.d-inline-flex
{
    max-width: calc(100% - 155px);
    align-items: center;
    vertical-align: middle;
}
    #activities div.d-inline-flex p
    {
        margin: 0px;
    }

/* - - - - - - - - RESPONSIVE STYLES - - - - - - - - */
@media screen and (max-width: 1600px)
{
    #main-container
    {
        padding: 0px 24px
    }
}

@media screen and (max-width: 1400px)
{
    #hero-image
    {
        min-height: 450px;
    }
}

@media screen and (max-width: 992px)
{
    #hero-image
    {
        min-height: 375px;
    }
    /* OVERRIDE */
    .tabs .tab a
    {
        font-size: 17px;
    }
}

@media screen and (max-width: 658px)
{
    .tabs .tab a
    {
        font-size: 0px;
    }
    .tabs .tab a::after
    {
        font-size: 17px;
    }

    .tabs .tab:nth-of-type(1) a::after
    {
        content: "Dinner / Dessert";
    }
    .tabs .tab:nth-of-type(2) a::after
    {
        content: "Activites";
    }
}

@media screen and (max-width: 576px)
{
    #hero-image
    {
        background-image: url("../../img/2022/reunion-logo-sm.jpg");
        background-position: center;
    }

    .hide-mobile, #carousel-wrapper, #activities figure.d-inline-flex
    {
        display: none !important;
    }

    .show-mobile
    {
        display: block;
    }

    #activities div.d-inline-flex
    {
        max-width: 100% !important;
        padding: 0px !important;
    }

    /* OVERRIDE */
    .tabs .tab a::after
    {
        font-size: 16px;
    }
}

@media screen and (max-width: 515px)
{
    #hero-image
    {
        min-height: 315px;
    }
}

@media screen and (max-width: 470px)
{
    #hero-image
    {
        min-height: 275px;
        background-position-y: 43%;
    }
}

@media screen and (max-width: 400px)
{
    #hero-image
    {
        min-height: 225px;
        background-position-y: 43%;
    }
}