#mini-events {
    font-family: 'Niramit', sans-serif;
}

#mini-events .calendar-wrap {
    display: flex;
    justify-content: space-between;
    margin-top: 24px
}

#mini-events .fc-scroller.fc-day-grid-container {
    height: 100%!important;
    padding: 0 0;
}

#mini-events .fc-unthemed td.fc-today {
    background: transparent;
    border-radius: 10px;
}

#mini-events .fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number {
    float: none;
    font-size: 24px;
    font-weight: 600;
    color: #123d55
}

#mini-events .fc-day-top.fc-other-month {
    opacity: 1
}

#mini-events .fc-day-top.fc-other-month a {
    color: #CCC !important
}

#mini-events .fc-dayGrid-view .fc-body .fc-row {
    min-height: 48px;
    height: auto !important
}

#mini-events .fc-day-number {
    pointer-events: none;
    font-family: 'Niramit', sans-serif;
    text-decoration: none
}

#mini-events .fc-day-top.day-has-event {
    border-radius: 10px;
    background: transparent;
}

#mini-events .fc-day-top.day-has-event a {
    pointer-events: all;
    color: #fff !important;
    background: #170f42;
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
}

#mini-events .fc-dayGridMonth-view .fc-day-grid-event {
    display: none
}

#mini-events .fc-today {
    position: relative
}

#mini-events .fc-today:not(.fc-day-header):after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: #b2d1ed;
    border-radius: 50%;
    z-index: -1;
    height: 40px;
    width: 40px;
    transform: translateX(-50%) translateY(-50%);
}

#mini-events .fc-today .fc-day-number {
    color: #1B1B1B !important;
}

#mini-events .fc-content-skeleton, #mini-events .fc-content-skeleton>table, #mini-events .fc-content-skeleton>table>thead, #mini-events .fc-content-skeleton>table>thead>tr {
    height: 100%;
    padding: 0 18px;
}

#mini-events .fc-content-skeleton>table>thead td {
    vertical-align: middle;
    text-align: center;
}

#mini-events .fc-icon-chevron-right:before {
    content: ">";
    font-family: 'Niramit', sans-serif;
    position: absolute;
    top: 50%;
    font-weight: 700;
    color: #b3d2ee;
    font-size: 40px;
    left: 50%;
    transform: translate(-50%,-50%);
    line-height: 1;
}

#mini-events .fc-icon-chevron-left:before {
    content: "<";
    font-family: 'Niramit', sans-serif;
    position: absolute;
    top: 50%;
    font-weight: 700;
    color: #b3d2ee;
    font-size: 40px;
    left: 50%;
    transform: translate(-50%,-50%);
    line-height: 1;
}

#mini-events {
    display: block
}

#mini-events .fc-widget-header {
    font-size: 0
}

#mini-events .fc-widget-header.fc-sun:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    content: 'Sun';
    font-size: 18px;
    font-weight: 700;
    font-family: 'Niramit', sans-serif;
    color: #170f42;
    text-transform: uppercase;
}

#mini-events .fc-widget-header.fc-mon:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    content: 'Mon';
    font-size: 18px;
    font-weight: 700;
    font-family: 'Niramit', sans-serif;
    color: #170f42;
    text-transform: uppercase;
}

#mini-events .fc-widget-header.fc-tue:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    content: 'Tue';
    font-size: 18px;
    font-weight: 700;
    font-family: 'Niramit', sans-serif;
    color: #170f42;
    text-transform: uppercase;
}

#mini-events .fc-widget-header.fc-wed:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    content: 'Wed';
    font-size: 18px;
    font-weight: 700;
    font-family: 'Niramit', sans-serif;
    color: #170f42;
    text-transform: uppercase;
}

#mini-events .fc-widget-header.fc-thu:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    content: 'Thu';
    font-size: 18px;
    font-weight: 700;
    font-family: 'Niramit', sans-serif;
    color: #170f42;
    text-transform: uppercase;
}

#mini-events .fc-widget-header.fc-fri:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    content: 'Fri';
    font-size: 18px;
    font-weight: 700;
    font-family: 'Niramit', sans-serif;
    color: #170f42;
    text-transform: uppercase;
}

#mini-events .fc-widget-header.fc-sat:not(.fc-future):not(.fc-today):not(.fc-past) span:after {
    content: 'Sat';
    font-size: 18px;
    font-weight: 700;
    font-family: 'Niramit', sans-serif;
    color: #170f42;
    text-transform: uppercase;
}

#mini-events .fc-widget-header.fc-future span, #mini-events .fc-widget-header.fc-today span, #mini-events .fc-widget-header.fc-past span {
    font-size: 14px
}

/* NEW */
#mini-events .fc-left .fc-button-group:nth-of-type(1) {
    position: absolute;
    right: 33px;
    top: 28px;
    display: flex;
    justify-content: space-between;
    left: auto;
    column-gap: 20px;
}

#mini-events .fc-left .fc-button-group:nth-of-type(1) button {
    flex-grow: 0;
    position: relative;
    z-index: 51;
    background: none !important;
    color: #000 !important;
    padding: 0;
    line-height: 1;
    border-radius: 8px;
    line-height: 30px;
    width: 30px;
}

#mini-events .fc-left .fc-button-group:nth-of-type(1) button:focus {
    box-shadow: none;
}

#mini-events .fc-left .fc-button-group:nth-of-type(2) {
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0;
    margin-top: 0;
    left: 0;
    text-align: center;
} 

#mini-events .fc-left .fc-button-group:nth-of-type(2) button {
    font-size: 12px;
    border-radius: 0
}

#mini-events .fc-left .fc-button-group:nth-of-type(2) button:focus {
    box-shadow: none;
}

#mini-events .fc-right {
    margin-top: 0;
    /*! text-align: center; */
}

#mini-events .fc-head-container {
    border-top: 1px solid #b3b3b3;
    border-bottom: 1px solid #b3b3b3;
    padding: 12px 13px 11px 21px;
}

#mini-events {
    display: flex;
    justify-content: space-between
}

#mini-events .fc-header-toolbar {
    display: block;
    margin-bottom: 0;
}

#mini-events h2 {
    font-family: 'Niramit', sans-serif;
    font-size: 42px;
    color: rgb(23, 15, 66);
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    /* position: relative; */
    /* top: -15px; */
    /* left: 27px; */
    padding: 22px 42px 16px;
}

#mini-events .calendar-wrap {
    display: flex;
    justify-content: space-between
}

#mini-events * {
    border: 0;
    /*! text-align:center; */
}

#mini-events .mini-calendar {
    margin-left: 100px;
    width: 600px;
    background: #fff;
    position: relative;
    padding: 0;
    max-width: 100%;
    border-radius: 0;
    display: block !important;
}

#mini-events .mini-events-list {
    flex-grow: 1
}

#mini-events .mini-list-loaded {
    display: block!important;
}

#mini-events .cal-content {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}


#mini-events .cal-content::after {
    content: ">";
    font-family: 'Niramit', sans-serif;
    position: absolute;
    top: 50%;
    font-weight: 700;
    color: #170f42;
    font-size: 40px;
    transform: translate(-50%, -50%);
    line-height: 1;
    right: 20px;
}


#mini-events .cal-event {
    padding: 0;
    cursor: pointer;
    background: #fff;
    margin-bottom: 30px;
    border-radius: 0;
    display: flex;
    align-items: center;
    min-height: 125px;
    width: 475px;
    max-width: 100%;
}

#mini-events .cal-event:hover .cal-title{color: #4a93cc}

/*#mini-events .cal-event:hover{background:#003159}
#mini-events .cal-event:hover time{background:#005CA8}
#mini-events .cal-event:hover .cal-event-name{color:#fff}*/
#mini-events .cal-event-name {
    font-size: 18px;
    line-height: 27px;
    color: #003159;
    font-weight: 700
}

#mini-events .cal-event time {
    display: block;
    height: 125px;
    width: 100px;
    background: #170f42;
    text-align: center;
    margin-right: 33px;
    line-height: 1;
    padding: 30px 0 0;
    border-radius: 0;
    font-size: 22px;
    font-family: 'Niramit', sans-serif;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 2.5px;
}

#mini-events .cal-event time span {
    display: block;
    font-size: 42px;
    margin-top: 3px;
    font-weight: 700;
}

#mini-events .cal-event:first-of-type {
}

#mini-events .cal-event:last-of-type {
    margin-bottom: 0;
}


@media (min-width: 992px) and (max-width: 1199px) {
        #mini-events .mini-calendar{margin-left: 20px;}
}

@media only screen and (max-width: 991px) {
    #mini-events .fc-left .fc-button-group:nth-of-type(1) {right: 10px;}
        #mini-events .mini-calendar {margin: 0 0 50px;width: 100%;}
    #mini-events .cal-event{width: 100%;}
    #mini-events .mini-list-loaded {margin-bottom: 40px;}
     #mini-events {display:block;}
}

@media only screen and (max-width: 767px) {}

@media only screen and (max-width: 479px) {
    #mini-events h2 {font-size: 28px;padding: 20px 30px;}
    #mini-events .fc-left .fc-button-group:nth-of-type(1) {top: 20px;}
    .cal-title {font-size: 18px;padding-right: 15px;}
    #mini-events .cal-event time {margin-right: 15px;}
    #mini-events .fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number {font-size: 18px;line-height: 40px;}
}
