/* Custom styles */

/* Header white skin class styles */
.header-white-skin {
    background-color: #FFFFFF !important;
}

/* Header transition speed (made faster) */
#header-section {
    -webkit-transition: all 250ms cubic-bezier(0.445, 0.050, 0.550, 0.950);
    -moz-transition: all 250ms cubic-bezier(0.445, 0.050, 0.550, 0.950);
    -o-transition: all 250ms cubic-bezier(0.445, 0.050, 0.550, 0.950);
    transition: all 250ms cubic-bezier(0.445, 0.050, 0.550, 0.950);
    -webkit-transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950);
    -moz-transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950);
    -o-transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950);
    transition-timing-function: cubic-bezier(0.445, 0.050, 0.550, 0.950);
}

/* Home page - Upcoming ceremonies section. Text vertical alignment */
.postImgHorizontal .postContent {
    top: 50% !important;
    transform: translateY(-50%);
}

.postImgHorizontal .postContent h5.posttitle, 
.postImgHorizontal .postContent p {
    margin: 0;
}

.postImgHorizontal .postContent p {
    margin-top: 30px;
    margin-bottom: -10px;
}

/* Honoree stars block */
.honoree-stars-wrapper {

}

.honoree-stars {
    margin: 0;
    padding: 0;
    list-style: none;
}

.honoree-stars li {
    background: #f5f5f5;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.honoree-stars li:last-child {
    margin-bottom: 0;
}

.honoree-star-image {
    display: block;
}

.honoree-star-image img {
    width: 100%;
    height: auto;
    margin-bottom: 15px !important;
}

.honoree-stars li p {
    display: flex;
    flex-direction: column;
    line-height: 1.8;
    margin-bottom: 10px;
}

.honoree-stars li p:last-child {
    margin-bottom: 5px;
}

.honoree-stars li p strong {
    font-size: 14px;
}

.honoree-stars-image-modal {
    display: none;

    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;

    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    padding: 120px 20px;
}

@media(max-width: 480px) {
    .honoree-stars-image-modal {
        display: none !important;
    }
}

.honoree-stars-image-modal.active {
    display: flex;
}

.honoree-stars-image-modal > div:not(.overlay) {
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 9;
}

.honoree-stars-image-modal img {
    width: 100%;
}

.honoree-stars-image-modal .overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, 0.5);
}

.close-star-modal {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #fff;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.close-star-modal:before,
.close-star-modal:after {
    content: '';
    width: 17px;
    height: 2px;
    background: #000;
    position: absolute;
    top: 14px;
    left: 7px;
}

.close-star-modal:before  {
    transform: rotate(45deg);
}

.close-star-modal:after {
    transform: rotate(-45deg);
}


/* Footer link color inside h3 tag (takes color of the h3 tag) */
#ut-sitebody .footer-content h3 a {
    color: inherit;
}


/* Home Recent Ceremonies section */
.home-latest-ceremonies {
    width: 100%;
    max-width: 1680px;
    padding: 0 15px;
    margin: 0 auto;
}

.home-latest-ceremonies .row {
    display: flex;
    margin: 0 -7.5px;
}

@media(max-width: 997px) {
    .home-latest-ceremonies .row {
        flex-direction: column;
    }
}

.home-latest-ceremonies .row .col {
    padding: 0 7.5px;
}

@media(min-width: 998px) {
    .home-latest-ceremonies .row .col {
        flex: 0 0 33.3333333%;
        width: 33.3333333%;
        min-width: 33.3333333%;
    }
}

.home-latest-ceremonies .row .row {
    flex-direction: column;
}

.home-latest-ceremonies .row .row .col {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
}

.home-latest-ceremony {
    position: relative;
    display: flex;
    margin-bottom: 15px;
}

.home-latest-ceremony__caption {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: white;
}

.home-latest-ceremony__caption h5 {
    text-transform: uppercase;
    font-size: 32px;
    letter-spacing: 3px;
    margin-bottom: 30px;
    color: white;
}

@media(max-width: 1199px) {
    .home-latest-ceremony__caption h5 {
        font-size: 22px;
        margin-bottom: 15px;
    }
}

.home-latest-ceremony__caption p {
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0px;
    font-family: sans-serif;
    margin-bottom: 0;
}

.home-latest-ceremony img {
    width: 100%;
    object-fit: cover;
}

@media(min-width: 998px) {
    .home-latest-ceremony img {
        height: 547px;
    }

    .home-latest-ceremonies .row .row .col img {
        height: 266px;
    }
}

@media(max-width: 997px) {
    .home-latest-ceremony img {
        height: 300px;
    }
}

/* Home Upcoming Ceremonies section */

.home-upcoming-ceremonies {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 15px;
}

@media (max-width: 997px) {
    .home-upcoming-ceremonies {
        flex-direction: column;
    }
}

.huc__left {
    position: relative;
}

@media (min-width: 998px) {
    .huc__left {
        flex: 0 0 52%;
        width: 52%;
        min-width: 52%;
    }
}

.huc__image {
    display: block;
    width: 365px;
    height: 365px;
    object-fit: cover;
    border: 2px solid #FFF;
    border-radius: 50%;
}

@media(max-width: 480px) {
    .huc__image {
        width: 275px;
        height: 275px;
    }
}

.huc__stamp {
    width: 210px;
    height: 210px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 270px;
    margin-top: -90px;
    background-color: #000;
    border: 30px solid #FFF;
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.5);
}

@media (max-width: 997px) {
    .huc__stamp {
        width: 120px;
        height: 120px;
        top: 60%;
        left: inherit;
        right: 0;
        margin-top: 0;
        border: 15px solid #FFF;
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0.5);
    }
}

@media (min-width: 998px) {
    .huc__right {
        flex: 0 0 48%;
        width: 48%;
        min-width: 48%;
        padding: 0 0 0 25px;
    }
}

@media (max-width: 997px) {
    .huc__right {
        padding: 25px 0 0 0;
        text-align: center;
    }
}

.huc__right h5 {
    color: #fff;
    font-size: 40px;
    text-transform: uppercase;
}

.huc__right p {
    color: #fff;
    margin-bottom: 40px;
}


.huc__right a {
    display: inline-block;
    padding: 15px 30px;
    color: #FFF;
    font-size: 14px;
    text-transform: uppercase;
    background-color: rgba(212, 162, 163, 1);
}

table.dataTable.wpgmza_table thead th, 
table.dataTable.wpgmza_table thead td {
	padding: 8px 10px;
}













