/*-----------------------------------------------------------  MASS INTENTIONS   ---------------*/
.new_mass_intentions {
	margin: 0 30px 35px 30px;
}

@media screen and (max-width: 499px) {
    .new_mass_intentions {
        margin: 30px 0;
    }
    
}

.new_mass_intentions .title {
    float: left;
    width: 100px;
    text-align: center;
}

.new_mass_intentions .title h2 {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 3px;
}

.new_mass_intentions .title p {
    font-size: 14px;
    font-style: italic;
}

.new_mass_intentions div.intentions {
	width: calc(100% - 100px);
    padding-left: 10px;
    border-left: 1px solid;
	min-height: 90px;
    float: right;
}

.new_mass_intentions .clear {
    padding-top: 30px;
}
    
.new_mass_intentions div.intentions p { margin-bottom: 0; }

.new_mass_intentions .title p + h1 { margin-top: 20px; }


/*-----------------------------------------------------------  MASS INTENTIONS   ---------------*/

.new_mass_intentions .title h2 {
	font-size: 16px;
	font-weight: 300;
}

.new_mass_intentions .title p {
	text-transform: uppercase;
	font-style: normal;
	font-size: 12px;
	font-weight: lighter;
	padding: 3px;
}

.new_mass_intentions div.intentions h2 {
	font-size: 16px;
    margin: 10px 0 0;
}





.new_mass_intentions .title h2 {
    color: var(--color_a);
}

.new_mass_intentions .title p {
    background: var(--color_a);
    color: white;
}

.new_mass_intentions div.intentions {
    border-left-color: var(--color_a);
}

.new_mass_intentions div.intentions h2 {
    color: var(--color_p);
}

#intention_navigation a {
    transition: 300ms;
}

#intention_navigation a.selected, #intention_navigation a:hover {
    background-color: var(--color_a);
    border-color: var(--color_a);
    color: white;
}


/*  */

@media screen and (min-width: 600px) and (max-width:1179px) {
    #mass_intentions .intentions-container .mass-indicator {
        bottom: 50px;
        right: 1px;
        left: unset;
        position: absolute;
        display: flex;
    }
}

#mass_intentions {
   font-family: 'Aileron', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

#mass_intentions .intentions-container:nth-child(2) {
    padding: 20px;
}

#mass_intentions .month-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #828282;
    font-weight: 600;
}

#mass_intentions .navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

#mass_intentions .nav-button {
    background: var(--color_a);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: 0.5s;
}

#mass_intentions .nav-button.disabled {
    background: none;
    cursor: not-allowed;
    color: #c3c3c3;
    border-color: #c3c3c3;
    border: 1px solid #c3c3c3;
}

#mass_intentions .nav-button.disabled:hover {
    background: var(--gray0);
}

#mass_intentions .nav-button:hover:not(.disabled) {
    background: var(--color_pl);
    transition: 0.5s;
}

#mass_intentions .date-container {
    margin-bottom: 20px;
}

#mass_intentions .date-title {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

#mass_intentions .intentions {
    margin-bottom: 30px;
}

#mass_intentions .intentions h2 {
    font-size: 22px;
    margin-bottom: 5px;
    color: #232323;
    font-weight: 900;
}

.translate {
    margin-left: 10px;
    color: #777;
}

h2.month-title {
    text-align: center;
    text-transform: uppercase;
    color: #c2c2c2;
    font-weight: normal;
}

h2.month-title span {
    font-weight: 800;
    color: #1e2a5c;
}

#mass_intentions .days-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

#mass_intentions .day-box {
    padding: 7px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
    border: 1px solid #1e2a5c;
    color: #1e2a5c;
    width: 114px;
    display: flex;
    justify-content: center;
}

#mass_intentions .day-box.selected {
    background: #1e2a5c;
    color: white;
}
#mass_intentions .day-box.selected:hover {
    background: #1e2a5c;
}

#mass_intentions .day-box:hover {
    background: #d2d0d0;
}

#mass_intentions .day-title {
    margin: 0;
    color: inherit;
    font-weight: 500;
    text-transform: uppercase;
    word-spacing: 6px;
}

#mass_intentions .intentions-details {
    margin-top: 20px;
    background-color: var(--gray0);
    padding: 40px;
    border-radius: 8px;
    height: 500px;
    overflow-y: auto;
    border: none;
}

#mass_intentions .intention-day h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

#mass_intentions .intentions-list {
    margin-top: 10px;
}

#mass_intentions .intention-item {
    margin-bottom: 10px;
}

#mass_intentions .intention-time {
    font-weight: bold;
    color: #555;
}

#mass_intentions .info_intention {
    color: #2d2d2d;
    margin: 3px 5px 0!important;
}

#mass_intentions .intentions p{
	font-size: 16px;
	
}

#mass_intentions .intentions-container .mass-indicator {
    bottom: -6px;
    left: 12%;
    position: relative;
    display: flex;
}

#mass_intentions .intentions-container a.nav-arrow{
    display: flex;
    color: #c2c2c2;
    align-items: center;
    font-size: 35px;
    cursor: pointer;
    transition: 0.5s;
}

#mass_intentions .intentions-container a.nav-arrow:hover{
    color: #9a9a9a;
	transition: 0.5s;
}

#mass_intentions .intentions-container a.nav-arrow.next{
    margin-left: 5px;
}
#mass_intentions .intentions-container a.nav-arrow.prev{
    margin-right: 5px;
}

/* Scroll  */


#mass_intentions .intentions-details::-webkit-scrollbar {
    width: 6px;
}

#mass_intentions .intentions-details::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

#mass_intentions .intentions-details::-webkit-scrollbar-thumb {
    background: #d8d8d8;
    border-radius: 3px;
}

#mass_intentions .intentions-details::-webkit-scrollbar-thumb:hover {
    background: #b8b8b8;
}

#mass_intentions .intentions-details::-webkit-scrollbar-thumb:active {
    background: #999;
}


#mass_intentions .intentions-details {
    scrollbar-width: thin;
    scrollbar-color: #d8d8d8 transparent;
}


#mass_intentions .intentions-details {
    scroll-behavior: smooth;
    padding-right: 12px;
}


#mass_intentions .intentions {
    margin-bottom: 20px;
    padding-bottom: 12px;
}

#mass_intentions .intentions:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

/*  */


/*-----------------------------------------------------------  VIEW TABS   ---------------------*/

#mass_intentions .view-tabs {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 20px;
}

#mass_intentions .view-tab {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color_a);
    background: white;
    border: 1px solid var(--color_a);
    border-radius: 5px;
    padding: 6px 18px;
    cursor: pointer;
    transition: 0.3s;
}

#mass_intentions .view-tab.selected,
#mass_intentions .view-tab:hover {
    color: white;
    background: var(--color_a);
}

#mass_intentions.loading {
    opacity: 0.5;
    pointer-events: none;
}

/*-----------------------------------------------------------  MONTH NAV / TITLE  --------------*/

#mass_intentions .navigation_calendar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

#mass_intentions .navigation_calendar .month-title {
    margin-bottom: 0;
}

/*-----------------------------------------------------------  MONTH GRID  ---------------------*/

#mass_intentions .month-grid-head {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 6px;
}

#mass_intentions .month-grid-head span {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    color: #9a9a9a;
    font-weight: 600;
}

#mass_intentions .month-grid-body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

#mass_intentions .month-cell {
    min-height: 90px;
    min-width: 0;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    padding: 6px;
    position: relative;
    overflow: hidden;
}

#mass_intentions .month-cell.has-mass {
    cursor: pointer;
}

#mass_intentions .month-cell.has-mass:hover {
    background: var(--gray1);
}

#mass_intentions .month-cell.other-month {
    background: #fafafa;
    border-color: #f0f0f0;
}

#mass_intentions .month-cell.other-month .cell-date {
    color: #c2c2c2;
}

#mass_intentions .month-cell.today .cell-date {
    background: #1e2a5c;
    color: white;
    border-radius: 50%;
}

#mass_intentions .cell-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 13px;
    font-weight: 600;
    color: #1e2a5c;
}

#mass_intentions .cell-intentions {
    margin-top: 4px;
}

#mass_intentions .cell-intention-line {
    font-size: 11px;
    margin: 0 0 2px !important;
    padding: 1px 4px;
    background: var(--gray1);
    border-left: 2px solid var(--color_a);
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#mass_intentions .month-cell .more-link {
    display: inline-block;
    font-size: 11px;
    color: var(--color_a);
    cursor: pointer;
}

#mass_intentions .month-cell .mass-indicator {
    display: none;
}

@media screen and (max-width: 599px) {
    #mass_intentions .month-cell {
        min-height: 40px;
        text-align: center;
    }

    #mass_intentions .cell-intentions {
        display: none;
    }

    #mass_intentions .month-cell.has-mass .mass-indicator {
        display: block;
        position: static;
        margin: 3px auto 0;
    }
}

/*-----------------------------------------------------------  DAY POPOVER  --------------------*/

#day-popover {
    display: none;
    position: fixed;
    width: 260px;
    max-height: 320px;
    overflow-y: auto;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    padding: 14px 16px;
    z-index: 100;
}

#day-popover.open {
    display: block;
}

#day-popover .day-popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
}

#day-popover .day-popover-title {
    font-weight: 700;
    color: var(--color_p);
    text-transform: capitalize;
}

#day-popover .day-popover-close {
    cursor: pointer;
    color: #9a9a9a;
    font-size: 18px;
    line-height: 1;
}

#day-popover .day-popover-close:hover {
    color: #333;
}

/*-----------------------------------------------------------  SCHEDULE VIEW  ------------------*/

#mass_intentions .schedule-list {
    background-color: var(--gray1);
    padding: 30px 40px;
    border-radius: 8px;
}

#mass_intentions .schedule-day {
    margin-bottom: 25px;
}

#mass_intentions .schedule-day:not(:last-child) {
    padding-bottom: 15px;
    border-bottom: 1px solid #e6e6e6;
}

#mass_intentions .schedule-day-heading {
    font-size: 16px;
    color: #1e2a5c;
    text-transform: capitalize;
    margin-bottom: 8px;
}

/*  */


