.portlet-calendar-viewer {
}

.portlet-calendar-viewer .header {
    display: flex;
}

.portlet-calendar-viewer .header h3 {
    flex-grow: 1;
    font-weight: bold;
    color: black;
}

.portlet-calendar-viewer .header a{
    color: #0065b3;
    font-size: 1.25rem;
}

.portlet-calendar-viewer .event-list {
    display: flex;
    gap: 30px;
}

.portlet-calendar-viewer .event-column {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-basis: 0;
}

.portlet-calendar-viewer .event-info {
    display: flex;
    border: 2px solid #E7E7E7;
    height: 90px;
    box-sizing: content-box;
}

.portlet-calendar-viewer .event-item {
    width: 100%;
    flex-direction: row;
}

.portlet-calendar-viewer .event-date {
    display: flex;
    flex-direction: column;
    background-color: #E7E7E7;
    flex-basis: 90px;
    width: 90px;
    height: 90px;
    min-width: 90px;
}

.portlet-calendar-viewer .event-day {
    color: #0065b3;
    font-weight: bold;
    text-align: center;
    font-size: 2.42rem;
    margin-top: auto;
    line-height: 1;
}

.portlet-calendar-viewer .event-month {
    font-size: 0.89rem;
    text-align: center;
    color: #626A6E;
    text-transform: lowercase;
    margin-bottom: auto;
}

.portlet-calendar-viewer .event-name {
    display: flex;
    flex-direction: column;
    padding-left: 15px;
    padding-right: 15px;
}

.portlet-calendar-viewer .event-location {
    margin-top: auto;
    display: inline-block;
    overflow: hidden;
    max-height: 20px;
    color: #626A6E;
    font-size: 0.89rem;
}

.portlet-calendar-viewer .event-title {
    margin-bottom: auto;
    color: black;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    font-size: 1.17rem;
    line-height: 1.25;

}

.portlet-calendar-viewer .text{
    margin-top: 15px;
}

.portlet-calendar-viewer-list .header{
    flex-direction: column;
}


.portlet-calendar-viewer-list .header .fieldset > div{
    display: flex;
    gap: 15px;
}

.portlet-calendar-viewer-list .header .govuk-button{
    max-height: 40px;
    margin-top: auto;
}


[id^=portlet_sk_mzv_portal_CalendarViewerPortlet] .portlet-content{
    padding: 0 !important;
}

section.portlet[id^=portlet_sk_mzv_portal] {
    margin-top: 0;
    margin-bottom: 0;
}

.page-editor section.portlet[id^=portlet_sk_mzv_portal] {
    min-height: 80px;
}
@media (max-width: 768px) {
	.portlet-calendar-viewer .event-list {
		display: block;
	}
}