.govuk-width-container {
    max-width: 1160px;
}

.aside-container {
    margin-top: 210px !important;
}

.calendar-container {
    display: flex;
    flex-direction: row;
}

.calendar-container-sub {
    flex: 0.3;
    display: flex;
    flex-direction: column;
}

.month-view {
    flex: 0.8;
}

.time-grid {
    margin-top: 2px;
    margin-left: 10px;
}

.calendar-allday {
    margin-left: 10px;
}

@media (max-width: 860px) {
    .aside-container {
        margin-top: 10px !important;
    }

    .calendar-container {
    display: flex;
    flex-direction: column;
    }

    .time-grid {
    margin-top: 10px;
    margin-left: 0;
    }

    .calendar-allday {
        margin-left: 0px;
    }
}

.dimmed {
    position: relative;
}

.dimmed:after {
    content: " ";
    z-index: 999;
    display: block;
    position: absolute;
    top: 0;
    height: 100%;
    left: 0;
    right: 0;
    outline: 3px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.7)
}

.fc-toolbar,
.fc-left,
.fc-day-header,
.fc-day-number,
.fc-time,
.fc-right,
.fc-widget-content,
.fc-center {
    font-family: "GDS Transport", Arial, sans-serif !important;
}

.selected {
    background-color: #c7f0ff !important;
}

.fc-event {
    cursor: pointer;
}
/* 
.calendar-container {
    display: flex;
}
.month-view {
    flex: 0.7;
}
.time-grid {
    flex: 0.3;
    margin-top: 2px;
    margin-left: 10px;
} */

.disabled-date {
    background-color: #e8e8e8;
    color: #999999;
    cursor: default;
}
.enabled-date {
    cursor: pointer;
}

.disabled-timeslot {
    background-color: #e8e8e8; /* Change the background color to a grayish tone */
    color: #999999; /* Change the text color to a lighter gray */
    cursor: default;
}
.enabled-timeslot {
    cursor: pointer;
}
.enabled-timeslot-grey {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cline x1='0' y1='0' x2='4' y2='4' stroke='grey' stroke-width='0.5' /%3E%3C/svg%3E");
    background-repeat: repeat;
    cursor: pointer !important;
}

.basketTimeSlot {
    background-clip: padding-box;
    border-radius: 3px;
    color: #fff;
    padding: 2px;
    margin: -6px;
    width: 110px;
    text-align: center;
}

.basketMoreTimeSlot {
    width: 110px;
}

.container {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.basketTimeSlotKey {
    display: inline-block !important;
    border-radius: 3px;
    width: 20px;
    height: 20px;
    margin-right: 8px; /* Add some spacing between the icon and text */
}

.centered-text {
    margin-bottom: unset !important;
    /* margin-left: 8px; Add some spacing between the icon and text */
}

.reserved {
    background-color: #3a87ad;
    border: 2px solid #3a87ad;
}

.booked {
    background-color: #008844;
    border: 2px solid #008844;
}

.unbooked {
    background-color: #AF122A;
    border: 2px solid #AF122A;
}

.buffer {
    /* background-color: #f6f6f6; */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Cline x1='0' y1='0' x2='4' y2='4' stroke='grey' stroke-width='0.5' /%3E%3C/svg%3E");
    background-repeat: repeat;
    border: 2px solid #dbdbdb;
}

.basketShowMore {
    color: black;
    /* background-color: #f6f6f6; */
    /* border: 2px solid #dbdbdb; */
}

.basketShowMore:hover {
    text-decoration: underline;
    cursor: pointer;
}

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 3000;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}

.govuk-checkboxes--small .govuk-checkboxes__item {
    min-height: 0;
    margin-bottom: 0;
    padding-left: 34px;
    float: left
}

.govuk-checkboxes--small .govuk-checkboxes__item:after {
    content: "";
    display: block;
    clear: both
}

.govuk-checkboxes--small .govuk-checkboxes__input {
    left: -10px
}

.govuk-checkboxes--small .govuk-checkboxes__label {
    margin-top: -2px;
    padding: 13px 15px 13px 1px;
    float: left
}

@media(min-width: 40.0625em) {
    .govuk-checkboxes--small .govuk-checkboxes__label {
        padding:11px 15px 10px 1px
    }
}

.govuk-checkboxes--small .govuk-checkboxes__label:before {
    top: 8px;
    width: 24px;
    height: 24px
}

.govuk-checkboxes--small .govuk-checkboxes__label:after {
    top: 15px;
    left: 6px;
    width: 12px;
    height: 6.5px;
    border-width: 0 0 3px 3px
}

.govuk-checkboxes--small .govuk-checkboxes__hint {
    padding: 0;
    clear: both
}

.govuk-checkboxes--small .govuk-checkboxes__conditional {
    margin-left: 10px;
    padding-left: 20px;
    clear: both
}

.govuk-checkboxes--small .govuk-checkboxes__item:hover .govuk-checkboxes__input:not(:disabled)+.govuk-checkboxes__label:before {
    box-shadow: 0 0 0 10px #b1b4b6
}

.govuk-checkboxes--small .govuk-checkboxes__item:hover .govuk-checkboxes__input:focus+.govuk-checkboxes__label:before {
    box-shadow: 0 0 0 3px #fd0,0 0 0 10px #b1b4b6
}

@media(hover: none),(pointer: coarse) {
    .govuk-checkboxes--small .govuk-checkboxes__item:hover .govuk-checkboxes__input:not(:disabled)+.govuk-checkboxes__label:before {
        box-shadow:initial
    }

    .govuk-checkboxes--small .govuk-checkboxes__item:hover .govuk-checkboxes__input:focus+.govuk-checkboxes__label:before {
        box-shadow: 0 0 0 3px #fd0
    }
}

.messageBox .govuk-button {
    padding-left: 1em;
    padding-right: 1em;
}

/* Make the header fixed */
.messageBoxHeader {
    position: sticky;
    top: 0;
    background-color: #dee0e2; /* Adjust the background color as needed */
    z-index: 1;
}

/* Add a padding to the content to ensure it doesn't overlap with the fixed header */
/* .messageBoxContent {
    margin-top: 15px; 
    padding-top: 15px;
} */

.messageBoxContentScroll {
    margin-top: 15px; 
    padding-top: 15px;
    max-height: 500px;
    overflow: auto;
}

.scrollButton {
    /* position: fixed; */
    /* bottom: 20px; */
    /* right: 20px; */
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 45px;
    height: 45px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    /* display: none; */
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 1000;
}
.scrollButton i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 13px;
    top: 11px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.scrollButton:hover {
    background: rgba(0, 0, 0, 0.9);
}
.scrollButton:hover i {
    color: #fff;
    top: 5px;
}

.scrollableContainer {
    width: 100%; 
    max-height: 400px; 
    margin-bottom: 10px;
    position: relative;
}

.minHeight300 {
    min-height: 300px !important;
}

.scrollableContainer .scrollableContent {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
}

.scrollableContainer .scrollUp{
    position: absolute;
    /* right: 30px; */
    left: 106%;
    top: 20px;
}

.scrollableContainer .scrollDown{
    position: absolute;
    /* right: 30px; */
    left: 106%;
    bottom: 20px;
}

#scrollUp-basketSummary, #scrollDown-basketSummary {
    left: 90%;
}

@media (max-width: 40.0625em) {
    .scrollableContainer .scrollButton {
        display: block;
        left: unset !important;
        right: 10px !important;
    }
    .scrollableContainer {
        min-height: unset !important;
    }
}