/*
	###################################
	GENERAL
	###################################
*/

/* colours / weights

		red:		 #8B302E
		beige:	 	 #F7EEE4
		body: 		 #282828
		gold:		 #8A7336
		light gold:	 #A29061
        vlight gold: #D6C496

		Alegreya Sans 500 & 800
		Gentium Book Plus 700

		Thin 100
		ExtraLight 200
		Light 300
		Regular 400
		Medium 500
		SemiBold 600
		Bold 700
		ExtraBold 800
		Black 900

        Font Sizes

        14px -> 0.875rem
        16px -> 1rem
        18px -> 1.125rem
        20px -> 1.25rem
        22px -> 1.375rem
        24px -> 1.5rem
        26px -> 1.625rem
        28px -> 1.75rem
        32px -> 2rem
        36px -> 2.25rem
        44px -> 2.75rem
        50px -> 3.125rem

	*/

/* 	*, ::after, ::before {
	  box-sizing: border-box;
	  outline: 1px solid limegreen !important;
	} */


/* html {
    overflow-x: hidden;
} */

:root {
    --red:      #8B302E;
    --beige:    #F7EEE4;
    --body:     #282828;
    /* --gold:     #8A7336; */
    --gold:     #997100;
    --lt-gold:  #b09b64;
    --vlt-gold: #D6C496;
    --dk-gold:  #8A7336;
    --transition-normal: 0.25s;
    --transition-medium: 0.5s;
    --transition-slow: 0.75s;
}

body {
    font-family: 'Alegreya Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--body);
}

header {
    position: relative;
}

main {
    margin: 0 auto;
}

.bg-gold   { background-color: var(--lt-gold); }
.bg-red    { background: url('../images/bg-red.png') repeat ; }
.bg-beige  { background: url('../images/bg-emblem-beige.png') no-repeat top right var(--beige); }
.bg-emblem { background: url('../images/bg-emblem.png') no-repeat top right white; }
.bg-no-emblem { background-image: none; }

.bg-overlay,
.bg-beige-grad-emblem { position: relative; z-index: 1; }

.bg-overlay::before,
.bg-beige-grad-emblem::before {
    display: block;
    position: absolute;
    content: '';
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.4) 100%);
    z-index: -1;
}

.bg-beige-grad-emblem::before {
    height: 800px;
    background: url('../images/bg-emblem.png') no-repeat top right, linear-gradient(180deg, var(--beige), transparent 50%);
    background-blend-mode: multiply;
}


.text-red { color: var(--red); }
.text-gold { color: var(--gold); }
.text-lt-gold { color: var(--lt-gold); }

.text-shadow-none {text-shadow: none !important ;}

.border-gold        { border: 2px solid var(--vlt-gold); }
.border-top-gold    { border-top: 6px solid var(--lt-gold); }
.border-bottom-gold { border-bottom: 6px solid var(--lt-gold); }

.border-sm-top-gold    { border-top: 4px solid var(--vlt-gold); }
.border-sm-bottom-gold { border-bottom: 4px solid var(--vlt-gold); }

.border-round       { border-radius: 180px; }
.border-rounded     { border-radius: 6px; }
.border-double		{ border: 2px solid var(--vlt-gold); outline: 5px solid var(--vlt-gold); outline-offset: -10px; }

.h-55   { height: 55% !important; }
.h-60   { height: 60% !important; }
.h-65   { height: 65% !important; }

.pt-250 { padding-top: 250px; }
.pt-200 { padding-top: 200px; }
.pt-150 { padding-top: 150px; }
.pt-120 { padding-top: 120px; }
.pt-100 { padding-top: 100px; }
.pt-80  { padding-top: 80px; }
.pt-50  { padding-top: 50px; }

.pb-250 { padding-bottom: 250px; }
.pb-200 { padding-bottom: 200px; }
.pb-150 { padding-bottom: 150px; }
.pb-120 { padding-bottom: 120px; }
.pb-100 { padding-bottom: 100px; }
.pb-80  { padding-bottom: 80px; }
.pb-50  { padding-bottom: 50px; }

.mt-250 { margin-top: 250px; }
.mt-200 { margin-top: 200px; }
.mt-150 { margin-top: 150px; }
.mt-120 { margin-top: 120px; }
.mt-100 { margin-top: 100px; }
.mt-80  { margin-top: 80px; }
.mt-50  { margin-top: 50px; }

.mb-250 { margin-bottom: 250px; }
.mb-200 { margin-bottom: 200px; }
.mb-150 { margin-bottom: 150px; }
.mb-120 { margin-bottom: 120px; }
.mb-100 { margin-bottom: 100px; }
.mb-80  { margin-bottom: 80px; }
.mb-50  { margin-bottom: 50px; }

.pu-250 { margin-top: -250px; }
.pu-200 { margin-top: -200px; }
.pu-150 { margin-top: -150px; }
.pu-120 { margin-top: -120px; }
.pu-100 { margin-top: -100px; }
.pu-80  { margin-top: -80px; }
.pu-50  { margin-top: -50px; }

.ml-n50,
.mx-n50 { margin-left: -50%; }

@media (max-width: 767px) {
    .pt-sm-160 { padding-top: 160px !important; }
    .pt-sm-80 { padding-top: 80px !important; }
    .pt-sm-60 { padding-top: 60px !important; }
    .pt-sm-40 { padding-top: 40px !important; }

    .pb-sm-80 { padding-bottom: 80px !important; }
    .pb-sm-60 { padding-bottom: 60px !important; }
    .pb-sm-40 { padding-bottom: 40px !important; }
    .pb-sm-00 { padding-bottom: 0px !important; }

    .mt-sm-100 { margin-top: 100px !important; }
    .mt-sm-80 { margin-top: 80px !important; }
    .mt-sm-60 { margin-top: 60px !important; }
    .mt-sm-40 { margin-top: 40px !important; }
    .mt-sm-20 { margin-top: 20px !important; }
}

@media (max-width: 991px) {

    .pt-md-00 { padding-top: 0; }
    .pb-md-20 { padding-bottom: 20px; }
    .mt-md-00 { margin-top: 0; }
    .pu-md-00 { margin-top: 0; }
    .w-md-100 { width: 100% !important; }
    .vert-line-white-bottom { display: none; }
}

    .crop-md-360 img,
    img.crop-md-360,
    .crop-md-250 img,
    img.crop-md-250 {
        object-fit: cover;
        /* Do not scale the image */
        object-position: center;
        /* Center the image within the element */
        width: 100%;
        max-height: 360px;
    }


@media (max-width: 991px) {

    .crop-md-360 img,
    img.crop-md-360,
    .crop-md-250 img,
    img.crop-md-250 {
        object-fit: cover;
        /* Do not scale the image */
        object-position: center;
        /* Center the image within the element */
        width: 100%;
        max-height: 360px;
    }

    .crop-md-250 img,
    img.crop-md-250 {
        max-height: 250px;
    }

}

hr {
    margin-top: 40px;
    margin-bottom: 40px;
    border-top: 1px var(--vlt-gold) solid;
    opacity: 1;
}

hr.tall {
    margin-top: 80px;
    margin-bottom: 80px;
}

.divider {
    width: 100%;
    height: 50px;
    margin-top: 80px;
    margin-bottom: 80px;
    background: url('../images/divider.svg') no-repeat center center;
}

.border-left {
    border-left: 3px solid var(--lt-gold);
    padding-left: 1.25rem;
}




/*
    ###################################
    LINKS / BUTTONS
    ###################################
*/



a {
    color: var(--body);
    text-decoration: none;
    transition: all var(--transition-normal) ease-in-out;
}

a:hover {
    text-decoration: none;
}

.card-link {
    display: inline-block;
    height: 100%;
    border-left: 3px solid var(--lt-gold);
    padding-left: 1.25rem;
}

.card-link:hover {
    border-left: 3px solid var(--lt-gold);
}

.card-link.no-border {
    border-left: none;
    padding-left: 0;
}

.card-link * {
    transition: all var(--transition-normal) ease-in-out;
}

.card-link:hover * {
    color: var(--red);
}

.card-link:hover img {
    opacity: 0.7;
}

.more-link {
    font-size: 0.875em;
    font-weight: 600;
    text-decoration: none;
    color: var(--body);
    border-bottom: var(--vlt-gold) 0em solid;
    transition: all var(--transition-normal) ease-in-out;
}

.more-link:hover {
/*     color: var(--gold); */
    text-decoration: none;
    border-bottom: var(--vlt-gold) 0.125em solid;
}


.inline-link {
    display: inline-block;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.25rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    border-bottom: none;
    padding: 15px 30px;
    transition: all var(--transition-normal) ease-in-out;
}

.inline-link::before {
    display: inline-block;
    position: absolute;
    left: 2px;
    width: 40px;
    height: 40px;
    content: '—';
    color: var(--vlt-gold);
    transition: all var(--transition-normal) ease-in-out;
}

.inline-link:hover {
    background-color: var(--red);
    color: white;
    border-bottom: none;
}

.inline-link:hover::before {
    color: var(--red);
}


.btn-gold {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    /* color: var(--dk-gold); */
    letter-spacing: 0.5px;
    /* text-shadow: 0px 1px 1px rgba(161, 126, 29, 1); */
    background-color: var(--gold);
    border: none;
    /* border-color: var(--lt-gold); */
    padding: 0.75rem 1.35rem;
    transition: all var(--transition-normal) ease-in-out;
    box-shadow: 0px 2px 0px var(--gold);
}

.btn-gold {
    transition: all 0.5s ease-out;
    /* background: linear-gradient(90deg, #D5BA80, #D5BA80, #E5D4A6, #E5D4A6); */
    background: linear-gradient(125deg, var(--lt-gold) 0%, var(--lt-gold) 35%, var(--beige) 75%, var(--vlt-gold) 100% );
    background-color: rgba(0, 0, 0, 0);
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto;
    background-position: 30% 80%;
    background-size: 300% 300%;
}

.btn-gold:hover {
    background-position: 99% 50%;
    /* box-shadow: 0px 3px 0px var(--vlt-gold); */
    color: var(--gold);
    /* color: white; */
    /* background-color: var(--gold); */
    /* border-color: var(--gold); */
}






/*
    ###################################
    ICS-CALENDAR RELATED
    ###################################
*/


/* DAILY VIEW */

.ics-calendar-basic-wrapper ul.events li {
    padding-left: 0;
}

.ics-calendar .event .date {
    margin-bottom: 2rem;
}

.ics-calendar .event-info {
    margin-left: 20px;
    width: 80%;
}

.ics-calendar .event-info .title {
    font-size: 150%;
    font-weight: 700;
    color: #8B302E;
}

.ics-calendar .ics-calendar-basic-wrapper .event .descloc {
    display: flex !important;
    flex-direction: row;
    
}

.ics-calendar:not(.nostyle) .ics-calendar-basic-wrapper .date {
    background: var(--beige) !important;
    border: 2px solid var(--vlt-gold) !important;
}

.ics-calendar .event .descloc p {
    font-size: 1.125rem !important;
    line-height: 1.5rem !important;
    /*font-weight: 500 !important;*/
}

.ics-calendar .event .descloc .eventdesc >p:last-of-type,
.ics-calendar .event .descloc .eventdesc #extra >p:last-of-type{
    margin-bottom: 0;
}

.ics-calendar .event .descloc .eventdesc #extra {
    margin: 0 0 0em;
}

.ics-calendar .event .descloc .eventdesc #toggleBtn {
    margin-top: 1rem;
}


.ics-calendar .event .descloc .ics-calendar-event-image {
    width: 20%;
    margin-right: 2rem !important;
}

.ics-calendar .event .descloc .ics-calendar-event-image img {
    aspect-ratio: 1;
    object-position: center;
}





/*  TABLE HEADER  */

.ics-calendar .ics-calendar-title,
.ics-calendar .ics-calendar-label,
.ics-calendar .ics-calendar-date {
    text-align: center;
    padding: 2rem;
}

.ics-calendar-controls-wrapper {
    justify-content: end !important;
}

.ics-calendar-arrow-nav {
    clear: both;
    display: block;
    margin: 0;
    padding: 0 1rem;
    background: var(--beige);
    border-top: 1px solid var(--vlt-gold);
    border-bottom: 1px solid var(--vlt-gold);
}


/*  GRID VIEW  */


.ics-calendar-month-grid td {
    height: 18em !important;
    padding: 0 !important;
}

.ics-calendar-month-grid th {
    font-size: 90% !important;
    color: white !important;
}

.ics-calendar-month-grid .day {
    font-size: 150% !important;
    color: var(--gold) !important;
}


.ics-calendar-month-grid .events .title {
    position: relative;
    line-height: 1.25em !important;
    transition: color 0.35s ease !important;
}


.ics-calendar-month-grid .events .title:hover {
    color: var(--red);
}

.ics-calendar-month-grid .events .title::after {
    display: inline-block;
    position: relative;
    content: url('../images/icon-chevrons.svg');
    margin-left: 5px;
}

/*  LIST VIEW  */


.ics-calendar[data-month-table-list-toggle=list] .ics-calendar-month-grid .day {
    font-size: 100% !important;
    padding: .5em .8em;
}

.ics-calendar[data-month-table-list-toggle=list] .ics-calendar-month-grid td {
    /*margin-bottom: 5rem;*/
}

.ics-calendar[data-month-table-list-toggle=list] .ics-calendar-month-grid td {
    height: 12rem !important;
}


/*  LIGHTBOX  */

.r34ics_lightbox .r34ics_lightbox_content .date_in_hover_block,
.r34ics_lightbox .r34ics_lightbox_content .time_in_hover_block {
    font-size: 100%;
    font-family: 'EB Garamond', serif;
    font-weight: 700 !important;
    color: var(--gold);
    margin-bottom: 1.5em !important;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--vlt-gold);
}

.r34ics_lightbox_content .eventdesc > p:first-child,
.ics-calendar .event .descloc .eventdesc > p:first-child {
    display: none;
}

.title-saints,
.title-reading,
.title-fasting {
    display: block;
    position: relative;
    font-family: 'EB Garamond', serif;
    font-weight: 700;
    color: var(--gold);
    font-size: 1.375rem !important;
    line-height: 1.5rem !important;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    margin-left: 24px;
}

.title-saints::before,
.title-reading::before {
    display: block;
    position: absolute;
    content: '';
    width: 20px;
    height: 20px;
    margin-left: -24px;
    background: url('../images/icon-readings.png') no-repeat 0 0;
}

.title-saints::before {
    background: url('../images/icon-saints.png') no-repeat 0px 2px;
}

.ics-calendar .event .descloc .title-fasting,
.r34ics_lightbox .title-fasting {
    display: inline-block;
    font-family: 'Alegreya Sans', sans-serif !important;
    font-weight: 700 !important;
    /*color: var(--red) !important;*/
    font-size: 1.2rem !important;
    line-height: 1.5rem !important;
    margin-top: 0.5rem;
    margin-left: 0;
    padding: 0.5rem 1rem;
    border: 1px solid var(--vlt-gold);
    border-radius: 4px;
    background: var(--beige);
}


.ics-calendar .event .descloc br,
.r34ics_lightbox br {
    display: none;
}


 




/*
    ###################################
    PRODUCT CARDS
    ###################################
*/


.product-card .overflow-hidden {
    /* border: 4px solid hsla(36, 79%, 57%, 0); */
    opacity: 1;
    transition: all var(--transition-slow) ease;
}

.product-card:hover .overflow-hidden {
    border-color: var(--lt-gold);
}

.product-card .product-image {
    transition: all var(--transition-slow) ease;
    object-fit: cover;
    height: 200px;
}

.product-card:hover .product-image {
    transform: scale(1.05);
    opacity: 0.7;
}







/*
    ###################################
    CELEBRATION CAROUSEL
    ###################################
*/


.accordion {
    --bs-accordion-border-color: var(--vlt-gold);
    --bs-accordion-btn-color: var(--bs-body-color);
    --bs-accordion-btn-bg: var(--bs-accordion-bg);
    --bs-accordion-btn-icon: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e);
    --bs-accordion-btn-active-icon: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23052c65'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e);
    --bs-accordion-btn-focus-border-color: #86b7fe;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}


.accordion-button {
    position: relative;
    display: flex
;
    align-items: center;
    width: 100%;
    padding: 1.5rem 1.5rem;
    font-size: 1.25rem;
    color: var(--bs-accordion-btn-color);
    text-align: left;
    background-color: var(--bs-accordion-btn-bg);
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
}


.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: var(--vlt-gold);
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}


.wpsr-container {
    margin-right: auto;
    margin-left: auto;
    padding-top: 2.5rem !important;
    padding-right: 0px !important;
    padding-left: 0px !important;
    width: 100%;
}

/* SAME AS H6 */
.wpsr-yt-video .wpsr-yt-video-info h3 {
    font-family: 'Alegreya Sans', sans-serif !important;
    font-size: 1.125rem !important;
    line-height: 1.25rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.75rem !important;
    color: var(--body) !important;
}

.wpsr-yt-video .wpsr-yt-video-info h3 a {
    color: var(--body) !important;
}

.wpsr-yt-video .wpsr-yt-video-info .wpsr-yt-video-statistic-item,
.wpsr-yt-video .wpsr-yt-video-info .wpsr-yt-video-description {
    color: var(--body) !important;
    font-size: 1rem !important;
    /* line-height: 1.25rem !important; */
    /* padding: 0 !important; */
    /* margin-top: 8px !important; */
    /* margin-bottom: 0 !important; */
    /* word-break: break-all !important; */
}
