/* fonts */

:root {     --font-reg: inter-variable, sans-serif;    --font-light: inter-variable, sans-serif;     --font-bold: inter-variable, sans-serif; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 800 !important;
    color: #000000;
}

input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=text], select {
    font-family: inter-variable !important;
    padding-top: 0px;
    padding-bottom: 0px;
}


/* logo header */

a.index-module-scss-module__H_atcG__logoLink {
    margin-top: -16px !important;
    margin-left: -16px !important;
}

img.masthead__logo {
    height: unset !important;
    width: 125px !important;
}

.masthead__container.is-align-items-center {
align-items: flex-start !important;
}

@media (max-width: 768px) {
    img.masthead__logo {
        height: unset !important;
        width: 75px !important;
    }
}


/* headers */

.hero__button-wrap {
    display: none;
}


/* personalise */

.personalise label {
    margin-top: 8px;
}

.pillComponent {
    border-radius: 0px !important;
    height: 24px;
    margin: 8px;
}

.pillSelector {
    margin-top: 56px !important;
}

.walled-garden p {
    margin-top: 0px !important;
    margin-bottom: 8px;
}

.personalise .hamburger__bun {
	--hamburger-colour: var(--menu-item-colour);
}

.loginRegister {
    --menu-item-colour: var(--menu-item-colour--mobile);
}

.refresh-notice {
    border-radius: 0px !important;
    background-color: #ffc9c6;
    border: 2px solid #bd0000;
    color: #000!important;
}


/* overview */

.overview .hero {
    height: 50vh !important;
}

.CardComponent__metaTwo {
    max-height: 16px !important;
    font-size: 12px !important;
    margin-bottom: 4px !important;
}

.dropdownCard {
    border-radius: 0px !important;
}


/* home */

button.index-module-scss-module__M9udQq__trigger,
.index-module-scss-module__M9udQq__menu {
    border-radius: 0px;
    font-family: var(--font-reg);
}

.index-module-scss-module__M9udQq__trigger {
    color: #000;
    border: 1px solid #000;
}

.index-module-scss-module__M9udQq__chevron {
    border-bottom: 3px solid #000;
    border-right: 3px solid #000;
}


/* buttons */

.wp-block-button {
    border-radius: 0px !important;
}

.button-black.is-style-fill a:focus-visible, .button-black.is-style-fill a:hover, .button-black a:focus-visible, .button-black a:hover {
    background-color: #424649 !important;
    color: #fff;
    opacity: 1 !important;
}

.button-white.is-style-fill a:focus-visible, .button-white.is-style-fill a:hover, .button-white a:focus-visible, .button-white a:hover {
    background-color: #d3d4d5 !important;
    color: #000;
    opacity: 1 !important;
}

.button-red.is-style-fill a:focus-visible, .button-red.is-style-fill a:hover, .button-red a:focus-visible, .button-red a:hover {
    background-color: #980c2a !important;
    color: #fff;
    opacity: 1 !important;
}


/* misc */

.no-padding {
    padding: 0px !important;
}

.no-margin {
    margin: 0px !important;
}

.cover-square {
    aspect-ratio: 1/1 !important;
    min-height: initial;
    min-width: 256px;
}

.course-icons {
    display: flex;
    align-items: center;
}

.image-margin-inline {
    margin-inline: 0px !important;
}

.image-margin-inline.wp-block-image:not(.alignright):not(.alignleft) {
    margin-inline: 0px !important;
}

input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=text], select {
    border-radius: 0px;
}

.course-testimonial {
    line-height: 1 !important;
}

.wp-block-gallery.accreditations {
    aspect-ratio: 1 / 1;
    width: 776px;
    --gallery-gap: 24px !important;
    margin: 0px;
    align-content: center;
    align-items: center;
    height: 200px;
}

@media (max-width: 768px) {
    .wp-block-gallery.accreditations {
        height: auto !important;
        width: auto !important;
    }
}

.wp-block-gallery.accreditations figure {
    padding: 8px;
}

.wp-block-gallery.accreditations img {
    width: auto;
    max-height: 200px;
    margin: 0 auto;
}


/* course meta */

.course-subject-area:before {
    content: "Study: ";
    font-weight: 800;
}

.course-location:before {
    content: "Location: ";
    font-weight: 800;
}

.course-study-mode:before {
    content: "This course is delivered: ";
    font-weight: 800;
}

.course-award {
    font-weight: bold;
    font-size: 24px;
}


/* Course hero icons */
.course .gutenberg-wrapper .wp-block-cover:first-child .wp-block-image {
    height: 30px;
    width: auto;
}

.course .gutenberg-wrapper .wp-block-cover:first-child  .wp-block-image > div {
	height: 100%;
}

.course .gutenberg-wrapper .wp-block-cover:first-child  .wp-block-image img {
	object-fit: contain;
    height: 100%;
    width: 100% !important;
}
