/* RESET */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font: 100%; font: inherit; vertical-align: baseline; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* VARIABLES */
:root { 
--default-font: Rubik, sans-serif;
--secondary-font: Georgia, serif; 
--dark-primary-color: #31588A;
--default-primary-color: #638CCC;
--light-primary-color: #90B2E4;
--text-primary-color:  #FFFFFF;
--accent-color: #FF9800; 
--primary-text-color: #212121; 
--secondary-text-color: #757575;
--light-text-color: #FFFFFF;
--divider-color: #D7D7D7;
--bg-white: #FFFFFF;

--max-global-width: 1112px;
--global-padding: 12px;
--global-padding-large: 24px;
--global-padding-small: 18px;
--global-font-size: 15px;
--global-large-font-size: 18px;
--global-medium-font-size: 16px;
--global-small-font-size: 15px; 

--bg-menu: #cc0080; /* pink buttons */
--bg-menu-highlight: #ff0080; /* bright pink button hover  */
--bg-primary-button: #cc0080; /* pink buttons */
--bg-primary-button-highlight: #ff0080; /* bright pink button hover  */
--bg-secondary-button: #808080; /* Mid grey - for secondary buttons colours */
--bg-burgundy: #7a0039; /* burgunday */
--bg-pale-blue: #92D1EE; /*Pale blue - background colour 1 for hexagons and news stories */
--bg-purple: #920080; /* Purple - background colour 2 for hexagons and news stories */
--bg-apple-green: #B7C020; /* Apple green - background colour 3 for hexagons and news stories */
--bg-light-grey: #E0E0E0; /* Light grey - background page colour and for hexagon outlines on accreditations logos */
--bg-dark-grey: #515254; /* Dark grey - headline colour */
}

@media screen and (min-width: 768px) {
:root {
--global-padding: 20px;
--global-padding-large: 28px;
--global-padding-small: 24px;
--global-font-size: 15px;
--global-large-font-size: 24px;
--global-medium-font-size: 20px;
--global-small-font-size: 15px;
}
}

@media screen and (min-width: 1024px) {
:root {
--global-padding: 44px;
--global-padding-large: 44px;
--global-padding-small: 22px;
--global-font-size: 15px;
--global-large-font-size: 24px;
--global-medium-font-size: 20px;
--global-small-font-size: 15px;
}
}


/* DEFAULT HTML */
body { font-family: var(--default-font); color: var(--primary-text-color); font-size: var(--global-font-size); line-height: 1.5; margin: 0; background-color: var(--bg-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } 
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--heading-text); line-height: 1.125; margin: 0 0 1rem 0;  }
h1 { font-size: 22px; color: #515254; }
h2 { font-size: 22px; color: #515254; }
h3 { font-size: 20px }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 15px; }
p { margin: 0 0 1rem 0; }
ol { margin: 0 0 1rem 2rem; }
ul { margin: 0 0 1rem 2rem; }
ul ul { margin-top: 1rem; }
ol li, ul li { margin-bottom: 0.5rem; }
dl { margin: 0 0 1rem 0; }
dt { font-weight: 700; margin-bottom: 0.5rem; }
dd { margin-bottom: 0.5rem; }
figure { text-align: center; margin: 0 0 1rem 0; }
figcaption { font-size: 0.85rem; }
blockquote { font-family: var(--secondary-font); color: var(--secondary-text-color); padding-left: 2rem; border-left: 4px solid var(--divider-color); margin: 0 5% 1rem 5%; }
table { min-width: 280px; font-family: sans-serif; font-size: 0.925rem; margin: 0 0 1rem 0; border-collapse: collapse; }
caption { color: var(--secondary-text-color); }
tr { background: transparent; }
tr:nth-of-type(even) { background: #F7F7F7; }
th { font-weight: 700; text-align: left; padding: 0.5rem; background: #F0F0F0; }
td { padding: 0.5rem; }
hr { width: 33.3%; height: 4px; border: 0; background: var(--divider-color); border-radius: 20px; margin: 3rem auto; } 
img { max-width: 100%; height: auto; }
a { transition: 1s; } 
b,strong { font-weight: 700; }
em,i { font-style: italic; }
time { font-family: sans-serif; color: var(--light-text); }
small { font-size: 0.85rem; }

fieldset { margin: 0 0 1rem 0; }
legend { font-family: var(--default-font); font-size: 1.2rem; font-weight: 700; }
label { display: block; }
input, select, textarea, button { max-width: 100%; font-family: sans-serif; font-size: 1rem; box-sizing: border-box; }
input[type=text],input[type=email],input[type=password],input[type=tel],input[type=search] { width: 100%; height: 42px; text-indent: 0.5rem; border: 1px solid var(--bg-dark-grey); border-radius: 4px;  }
input[type=radio],input[type=checkbox] { width: 1.2rem; height: 1.2rem; }
select { height: 42px; border: 1px solid var(--bg-dark-grey); border-radius: 4px; }
textarea { width: 100%; height: 140px; padding: 0.5rem; border: 1px solid var(--bg-dark-grey); border-radius: 4px; }
button { height: 42px; font-size: 1rem; font-weight: 700; color: #FFF; text-transform: uppercase; letter-spacing: 1px; padding: 0 2rem; background: var(--bg-primary-button); border: 0; transition: 1s; }
button:hover { background-color: var(--bg-primary-button-highlight); }
button[disabled] { opacity: 0.5; }
form ul { list-style: none; }
form dt { font-weight: 400; margin: 0; }
form dd { margin-bottom: 1rem; }
form small { display: block; font-family: sans-serif; }
.form-submit { text-align: right; }
::placeholder { color: #808080; text-transform: uppercase; }

.booking-form { max-width: 640px; }
.contact-form-inline { max-width: 640px; }
.form-filter { margin-top: 1rem; }
.consent-form {}
.consent-message { font-size: var(--global-small-font-size); color: #FFF; margin: 0 0 0.5rem; }
.consent-list { font-size: var(--global-small-font-size); list-style: none; margin: 0; }
.consent-list li { display: inline-block; margin-right: 0.5rem; }
.consent a { color: #FFF; }
.consent button { height: 34px; font-size: var(--global-small-font-size); padding: 0 1rem; background: black; }

.search-form { max-width: 640px; }
.search-form .controls { display: grid; grid-gap: 5px; grid-template-columns: 1fr 140px; }

/* LAYOUT */
.top,.nav,.header,.section,.action,.footer, .consent { max-width: var(--max-global-width); margin: 0 auto; }
.nav { position: relative; z-index: 99999; }
.row { max-width: 100%; margin: 0 auto; }
.row-top { padding-top: 10px; padding-right: var(--global-padding); padding-bottom: 10px; padding-left: var(--global-padding); }
.row-nav { position: relative; background-color: var(--bg-burgundy); z-index: 99999; }
.row-header {  padding-top: var(--global-padding-large); padding-right: var(--global-padding); padding-bottom: var(--global-padding-large); padding-left: var(--global-padding); }
.row-header + .row-section { padding-top: 0; }
.row-section { padding-top: var(--global-padding-large); padding-right: var(--global-padding); padding-bottom: var(--global-padding-large); padding-left: var(--global-padding); }
.row-section + .row-section { padding-top: 0; }
.row-section-alt { padding-top: var(--global-padding-large); padding-right: var(--global-padding); padding-bottom: var(--global-padding-large); padding-left: var(--global-padding); background: var(--bg-light-grey); }
.row-section-alt + .row-section-alt { padding-top: 0; }
.row-section-quote { padding-top: var(--global-padding-small); padding-right: var(--global-padding); padding-bottom: var(--global-padding-small); padding-left: var(--global-padding); background: var(--bg-light-grey); margin-top: 50px; margin-bottom: 40px; }
.row-section-action { padding-top: var(--global-padding-small); padding-right: var(--global-padding); padding-bottom: var(--global-padding-small); padding-left: var(--global-padding); background: var(--bg-burgundy); }
.row-footer { padding-top: var(--global-padding-large); padding-right: var(--global-padding); padding-bottom: var(--global-padding-large); padding-left: var(--global-padding); background-color: var(--bg-burgundy); }
.row-consent { padding-top: var(--global-padding-small); padding-right: var(--global-padding); padding-bottom: var(--global-padding-small); padding-left: var(--global-padding); position: fixed; bottom: 0; width: 100%; background-color: var(--bg-primary-button); z-index: 999; }

/* grids */
.grid { display: grid; grid-row-gap: 1.5rem; grid-column-gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); margin: 0 0 1rem 0; }
.grid1 { display: grid; grid-row-gap: 1rem; grid-template-columns: 1fr; margin: 0 0 1rem 0; }
.grid2 { display: grid; grid-row-gap: var(--global-padding); grid-column-gap: var(--global-padding); grid-template-columns: 1fr; margin: 0 0 1rem 0; }
.grid-contact { display: grid; grid-column-gap: var(--global-padding); grid-template-columns: 1fr; }
.grid-header { display: grid; grid-template-columns: 1fr; }
.grid-header .grid-item { position: relative; }
.grid-header-book { margin: 1rem 0 0 0; }

/* heading sizes */
.h-l { font-size: 27px; }
.h-m { font-size: 24px; }
.h-s { font-size: 21px; }
/* text sizes */
.t-l { font-size: 18px; }
.t-m { font-size: 16px; }
.t-s { font-size: 14px; }

/* cards */
.cards .grid-item { position: relative; overflow: hidden; }
.cards .grid-item:hover .card-thumb img { transform: scale(1.05,1.05); }
.cards .grid-item:nth-of-type(4n+1) { background-color: #92d1ee; }
.cards .grid-item:nth-of-type(4n+2) { background-color: #920080; }
.cards .grid-item:nth-of-type(4n+3) { background-color: #b7c020; }
.cards .grid-item:nth-of-type(4n+4) { background-color: #7a0039; }
.cards .card-body { position: absolute; right: 0; bottom: 0; left: 0; padding: 1rem; background: rgba(0,0,0,0.5); }
.card-link { display: block; text-decoration: none; }
.card-link * { color: #FFF; }
.card-link:hover .card-heading { text-decoration: underline; }
.card-link:hover .card-go svg:first-of-type { fill: var(--bg-primary-button-highlight); }
.card-thumb img { display: block; width: 100%; margin: 0; transition: 0.5s; }
.card-go { position: absolute; top: 6%; right: 4%; width: 40px; height: 40px; }
.card-category-icon { position: absolute; top: 6%; right: 60px; width: 104px; }
.card-summary { display: none; font-size: var(--global-small-font-size); color: #FFF; line-height: 1.35; margin: 0.5rem 0 0 0; }
.card-date { font-size: 0.85rem; color: var(--secondary-text-color); }

/* coloured hexagons */
.hex-grid { }
.hex-grid-item { text-align: center; margin: 0 0 1rem 0; }
.hex-block { width: 40px; height: 40px; background: var(--bg-light-grey); margin: 0 auto 1rem auto; clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%); }
.hex-grid-item:nth-of-type(4n+1) .hex-block { background: var(--bg-pale-blue); }
.hex-grid-item:nth-of-type(4n+2) .hex-block { background: var(--bg-purple); }
.hex-grid-item:nth-of-type(4n+3) .hex-block { background: var(--bg-apple-green); }
.hex-grid-item:nth-of-type(4n+4) .hex-block { background: var(--bg-burgundy); }
.hex-heading { margin: 0; }
.hex-number { font-size: 36px; color: var(--bg-primary-button); }
.hex-summary { font-size: var(--global-small-font-size); line-height: 1.35; margin: 0.5rem 0 0 0; }

/* TOP */
.top { position: relative; }
.logo {  }
.logo img { display: block; width: 215px; height: 60px; }
.top-links { display: none; position: absolute; top: 0; right: 0; height: 40px; list-style: none; margin: 20px 0 0 0; z-index: 9999; }
.top-links li { margin: 0 0 0 0.25rem; }
.top-links li:last-of-type { margin: 0 0 0 0.5rem; }
.top-links a { display: block; }
.top-links svg { display: block; width: 40px; height: 40px; }

.Xicon:hover svg path:first-of-type { fill: var(--bg-primary-button-highlight); }
.icon { transition: 0.5s; }
.icon:hover svg path.thefill { fill: var(--bg-primary-button-highlight); }

/* PRIMARY NAV */
.nav-home-icon { display: none; position: absolute; width: 36px; height: 40px; top: 4px; bottom: 0; left: 12px; z-index: 9999; }
.nav-icon-home svg { position: absolute; top: 0; left: 0; bottom: 0; right: 0; display: block; width: 100%; height: 100%; margin: auto; }

.mobile-menu { height: 50px; list-style: none; text-align: right; background-color: var(--bg-burgundy); margin: 0; z-index: 99999; }
.mobile-menu li { display: inline-block; width: 50px; height: 50px; border-left: 1px solid #FFF; margin: 0; overflow: hidden; }
.mobile-menu li a { display: block; width: 50px; height: 50px; line-height: 50px; }
.mobile-menu li a svg { display: block; width: 50px; height: 50px; }
button.menu-toggle { right: 0; width: 50px; height: 50px; padding: 0; background: transparent; border: 0; margin: 0; }

.menu { display: none; position: absolute; width: 100%; list-style: none; font-weight: 400; line-height: 1.25; padding: 0; background: var(--bg-menu); margin: 0; }
.menu li { position: relative; margin: 0; transition: 1s; }
.menu li:hover { background: var(--bg-menu); }
.menu li a { display: block; color: #FFF; text-decoration: none; padding: 10px 10px; border-bottom: 1px solid #FFF; transition: 1s; }
.menu li a:hover { background: var(--bg-menu-highlight); }
.menu-item-arrow { position: absolute; top: 5px; right: 10px; font-size: 24px; font-weight: 700; color: #FFF; transform: rotate(90deg); }
.menu-item-arrow::before { content: ">"; }
.menu-item-text { font-size: 14px; font-weight: 600; }
.menu-item-note { display: none; font-size: var(--global-small-font-size); }
.menu-sub-toggle {}
.menu li .menu-sub { display: none; }
.menu li:hover .menu-sub { display: block; width: 100%; font-size: 16px; background: var(--bg-menu); }
.menu li .menu-sub ul { list-style: none; border-bottom: 1px solid #FFF; margin: 0; }
.menu li .menu-sub ul li { margin: 0; }
.menu li .menu-sub ul li a { display: block; padding: 10px 20px 10px 10px; border: 0; }
.menu li .menu-sub ul li ul { list-style: none; margin: 0; }
.menu li .menu-sub ul li ul li a { display: block; padding: 10px 20px 10px 20px; border: 0; }

.menu-sub-social { display: flex; list-style: none; margin: 0; }
.menu-sub-social li { margin: 0; }
.menu-sub-social li a { display: block; width: 40px; height: 40px; padding: 0; margin: 0 0 5px 5px; }
.menu-sub-social svg { display: block; width: 40px; height: 40px; }

.crumbs { display: flex; font-size: var(--global-small-font-size); list-style: none; margin: 0 0 1rem 0; }
.crumbs li { padding: 0 0 0 0; margin: 0 5px 0 0; }
.crumbs li::before { content: "/ "; }
.crumbs a { color: var(--bg-burgundy); }

/* HEADER */
.header { position: relative; }
.header-heading { margin-bottom: 0.5rem; }
.header-summary { font-size: var(--global-medium-font-size); line-height: 1.35; }
.header-cta { display: flex; list-style: none; margin-left: 0; }
.header-hex-link { display: block; }
.header-hex-link:hover img { transform: scale(1.05,1.05); }
.header-hex { position: relative; z-index: -2; width: 288px; margin: -70px auto 0 auto; clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%); margin-bottom: 1rem; }
.header-hex img { display: block; width: 288px; height: 288px; transition: 1s; }
.header-go { position: absolute; top: 77%; left: calc(50% - 22px); width: 44px; height: 50px; }
.header-go svg { width: 44px; height: 50px; }

/* slides */
.hero-slides-prev-next { list-style: none; text-align: center; margin: 0; }
.hero-slides-prev-next li { display: inline-block; width: 40px; height: 40px; margin: 0 1rem 0 0; }
.slide-btn a { display: block; width: 40px; height: 40px; font-size: 28px; font-weight: 700; color: #FFF; line-height: 40px; text-align: center; text-decoration: none; padding: 0; background: var(--bg-primary-button); transition: 1s; }
.slide-btn a:hover { background-color: var(--bg-primary-button-highlight); }

/* SECTION */
.section { position: relative; }
.section-downloads { padding-top: var(--global-padding); border-top: 1px solid #7a0039; }
.section-selling-points { padding-top: var(--global-padding); border-top: 1px solid #7a0039; }
.section-heading { color: #515254; margin-bottom: 1.5rem; }
.section-cta { text-align: right; }

/* Fluid field */
.fluid-text { max-width: 780px; }

/* Call to action bar */
.action { position: relative; line-height: 1.25; }
.action-icon { position: absolute; top: -5px; right: 0; width: 44px; }
.action-icon svg { display: block; width: 44px; height: 50px; }
.action-link { display: block; font-size: var(--global-large-font-size); font-weight: 700; color: #FFF; text-decoration: none; padding-right: 48px; }

/* quote */
.quote { font-family: var(--default-font); color: var(--primary-text-color); padding: 0; border: 0; margin: 0; }
.quote-in { width: 50px; height: 50px; margin-bottom: 1rem; }
.quote-tag { font-size: var(--global-small-font-size); margin: 0 0 0.5rem 0; }
.quote-text { font-size: var(--global-medium-font-size); line-height: 1.25; margin: 0; }
.quote-author { display: block; font-size: var(--global-font-size); margin-top: 0.5rem; }
.quote-cta { margin: 1rem 0 0 0; }
.quote-out { width: 50px; height: 50px; margin-left: calc(100% - 50px); }
.quote-hex { position: relative; width: 230px; height: 230px; margin: -40px auto 0 auto; clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%); }
.quote-hex img { display: block; width: 230px; height: 230px; margin: 0 auto; }
.quotes-slides-prev-next { list-style: none; text-align: center; margin: 0; }
.quotes-slides-prev-next li { display: inline-block; margin: 0;  }

/* courses */
.courses { border-top: 1px solid var(--bg-burgundy); padding-top: var(--global-padding-small); padding-bottom: var(--global-padding-small); }
.courses:last-of-type { border-bottom: 1px solid var(--bg-burgundy); }
.courses-icon { width: 120px; }
.courses-body-intro { font-size: var(--global-small-font-size); }
.courses-cta { list-style: none; text-align: right; margin: 1rem 0 0 0; }
.courses-cta li { display: inline-block; margin-left: 1rem; }
.grid-header-course-icon-img { width: 120px; } 

/* accreditations */
.accreditations { display: flex; flex-wrap: wrap; }
.Xaccreditations-item { position: relative; width: 100px; height: 114px; padding: 28px 20px; margin: 0 5px 5px 0; }
.Xaccreditations-item img { display: block; max-width: 60px; max-height: 60px; }

.accreditations-item { position: relative; width: 94px; height: 107px; padding: 28px 20px; margin: 0 4px 4px 0; }
.accreditations-item img { display: block; max-width: 55px; max-height: 54px; }
.accreditations-item svg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; z-index: -1; }


/* downloads */
.downloads { display: grid; grid-template-columns: 60px 1fr; }
.downloads-icon { }
.downloads-icon svg { width: 40px; }
.downloads a { color: #000;}

/* pagination */
.pagination {}
.pagination ul { list-style: none; text-align: center; margin: 2rem 0 0 0; }
.pagination li { display: inline-block; margin: 0 0.25rem; }
.pagination a { display: block; min-width: 34px; height: 34px; line-height: 34px; font-weight: 700; color: #FFF; text-decoration: none; padding: 0 0.5rem; background: var(--bg-primary-button); }
.pagination a:hover { background: var(--bg-primary-button-highlight); } 

/* FOOTER */
.contact-form, .contact-map { max-width: 640px; margin: 0 auto; }
.contact-map { position: relative; }
.contact-map-icon { position: absolute; top: 40%; left: 34.5%; width: 60px; height: 60px; }

.footer { padding-bottom: 10rem; }
.footer-links { font-size: var(--global-small-font-size); font-weight: 600; list-style: none; text-transform: uppercase; letter-spacing: 1px; line-height: 1; margin-left: 0; }
.footer-links li { display: inline-block; padding-right: 0.5rem; margin-right: 0.5rem; border-right: 1px solid #FFF; }
.footer-links li:last-of-type { border: 0; }
.footer-links a { color: #FFF; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { font-size: 14px; color: #FFF; }
.footer-social { list-style: none; text-align: right; margin: 0; }
.footer-social li { display: inline-block; width: 40px; height: 40px; margin-left: 0.25rem; }
.footer-social a:hover svg path:first-of-type { fill: var(--bg-primary-button-highlight); }
.footer-address { display: grid; grid-column-gap: 0.5rem; grid-template-columns: 40px 1fr;align-items: center; height: 40px; margin: 0.5rem 0; }
.footer-credit, .footer-credit a { font-size: var(--global-small-font-size); color: #dbdbdb; text-align: right; text-decoration: none; margin-top: 20px; }

/* links buttonised */
.link { position: relative; display: inline-block; font-weight: 700; color: #FFF; text-align: center; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; transition: 1s; }
.link-l { height: 50px; font-size: 1rem; line-height: 50px; padding: 0 1.5rem; }
.link-m { height: 40px; font-size: 0.925rem; line-height: 40px; padding: 0 1.5rem; }
.link-s { height: 30px; font-size: 0.85rem; line-height: 30px; padding: 0 1.5rem; } 
.link-pri { background-color: var(--bg-primary-button); }
.link-pri:hover { background-color: var(--bg-primary-button-highlight); }
.link-sec { background-color: var(--bg-secondary-button); }
.link-block { display: block; width: 100%; }

/* helpers */
.text-center { text-align: center; }
.offscreen { position: absolute; left: -999em; }
.uppercase { text-transform: uppercase; letter-spacing: 1px; }
.large-viewport-only { position: absolute; left: -999em; }

/* video */
.video { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; margin: 0 0 1rem 0;  }
.video iframe, .video object, .video embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%;  }

/* alerts */
.alert { font-size: 0.925rem; padding: 0.75rem;}
.alert::before { content: "\2691  "; }
.alert-success { background: var(--bg-pale-blue); }
.alert-warning { background: orange; }
.alert-error { color: #FFF; background: red;  }

.consent { color: #FFF; }

/* MEDIA QUERIES */

@media screen and (min-width: 480px) {
.grid2 { display: grid; grid-row-gap: var(--global-padding); grid-column-gap: var(--global-padding); grid-template-columns: 1fr 1fr; margin: 0 0 1rem 0; }
}


@media screen and (min-width: 768px) {
/* default headings */
h1 { font-size: 32px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 15px; }

.logo img { width: 250px; height: 70px; }
.top-links { display: flex; }

.nav-home-icon { width: 46px; height: 52px; left: 20px; }
.mobile-menu { display: none; }
.Xmenu { position: relative; display: block; text-align: right; background: var(--bg-burgundy); margin: 0; }
.Xmenu li { display: inline-block; text-align: left; margin: 0; }
.menu { position: relative; display: flex; justify-content: flex-end; width: auto; max-width: 100%; background: var(--bg-burgundy); margin: 0 0 0 84px; }
.menu li { text-align: left; margin: 0; border-left: 1px solid #FFF; }
.menu li a { border-bottom: 5px solid transparent; border: 0; }
.menu li.active a { border-bottom-color: var(--bg-primary-button); }
.menu-item-arrow { display: none; }
.menu-item-text { font-size: 14px; }
.menu-item-note { display: block; }
.menu li .menu-sub { display: none; min-width: 220px; border: 0; }
.menu li .menu-sub ul { border: 0; }
.menu li:hover .menu-sub { position: absolute; display: block; z-index: 99999;  }
.menu li:last-of-type .menu-sub { right: 0; }
.menu-sub-item-extra { display: none; }
.menu li .menu-sub li { display: block; border: 0; }
.menu li .menu-sub a { display: block; border: 0; }



.grid-header { position: relative; display: grid; grid-column-gap: 0; grid-template-columns: 1fr 464px; }
.grid-header .grid-item:nth-of-type(1) { order: 2; }
.header-hex { position: relative; width: 484px; z-index: -1; margin: -100px 0 0 0; }
.header-hex img { width: 484px; height: 484px; }
.header-go { position: absolute; top: 62%; left: 1.75%; }
.hero-slides-prev-next { position: absolute; left: 0; bottom: 0%; list-style: none; text-align: left; margin: 0; }

.card-category-icon { width: 120px; right: 80px; }
.card-go { position: absolute; top: 6%; right: 4%; width: 48px; height: 48px; }

.grid-quote { display: grid; align-content: center; grid-column-gap: 0; grid-template-columns: 406px 1fr; }
.grid-quote .grid-item { position: relative; }
.quote-hex { position: relative; width: 406px; height: 406px; top: -15px; margin-bottom: -60px; margin-left: -6%; overflow: hidden; }
.quote-hex img { width: 406px; height: 406px; }
.quote-in { width: 50px; height: 50px; }
.quotes-slides-prev-next { position: absolute; left: 406px; bottom: 5%; list-style: none; margin: 0; }

/* heading sizes */
.h-l { font-size: 40px; }
.h-m { font-size: 32px; }
.h-s { font-size: 24px; }
/* text sizes */
.t-l { font-size: 22px; }
.t-m { font-size: 18px; }
.t-s { font-size: 14px; }

.hex-grid { position: relative; margin: 0; }
.hex-grid-item { position: relative; width: 300px; height: 300px; margin-left: -18px; }
.hex-grid-item:nth-of-type(4n+1) { left: 0; }
.hex-grid-item:nth-of-type(4n+2) { position: absolute; top: 0; left: 300px; }
.hex-grid-item:nth-of-type(4n+3) { margin-top: -65px; left: 150px; }
.hex-grid-item:nth-of-type(4n+4) { position: absolute; margin-top: 250px; top: 0; left: 450px; }
.hex-block { position: absolute; width: 100%; height: 100%; clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%); }
.hex-grid-item:nth-of-type(4n+2) .hex-body { color: #FFF; }
.hex-grid-item:nth-of-type(4n+4) .hex-body { color: #FFF; }
.hex-body { position: absolute; top: 0; right: 0; bottom: 0; left: 0; padding: 60px 40px; margin: auto; }
.hex-number { font-size: 48px; color: #FFF; margin-top: 36px; }

.section-cta { position: absolute; top: 0;  right: 0; }

.courses-icon { grid-area: icon; width: 160px; }
.courses-header { grid-area: top; padding-top: 2.4rem; }
.courses-body { grid-area: bottom; padding-top: 2.4rem; }
.courses { display: grid; grid-gap: 1rem; 
	grid-template-areas:
  'icon top top top top top top'
  'icon bottom bottom bottom bottom bottom bottom'; }

.grid-header-course-icon { grid-area: hicon; width: 160px; }
.grid-header-course-icon-img { width: 160px; } 
.grid-header-course-header { grid-area: htop; }
.grid-header-course-body { grid-area: hbottom; }
.grid-header-course { display: grid; grid-gap: 1rem; 
	grid-template-areas:
  'hicon htop htop htop htop'
  'hicon hbottom hbottom hbottom hbottom'; }

.accreditations-item { width: 170px; height: 196px; padding: 43px 30px; margin: 0 10px 10px 0; }
.accreditations-item img { max-width: 110px; max-height: 110px; }

.hero-slides-prev-next li { width: 48px; height: 48px; }
.slide-btn a { width: 48px; height: 48px; font-size: 36px; line-height: 48px; }

.large-viewport-only { position: relative; left: 0; } 
}

@media screen and (min-width: 1024px) {

.logo img { width: 287px; height: 80px; }

.nav-home-icon { width: 46px; height: 52px; left: 44px; }
.menu-item-text { font-size: 18px; }
.grid-contact { display: grid; grid-column-gap: var(--global-padding); grid-template-columns: 1fr 1fr; }
.card-summary { display: block; }

.accreditations-item { width: 170px; height: 196px; padding: 43px 30px; margin: 0 10px 10px 0; }
.accreditations-item img { max-width: 110px; max-height: 110px; }

.courses-icon { grid-area: icon; }
.courses-header { grid-area: top; }
.courses-body { grid-area: bottom; align-self: end; }
.courses { display: grid; grid-gap: 1rem; 
	grid-template-areas: 'icon top bottom'; 
	grid-template-columns: 160px 320px 1fr; 
 }
.grid-header-course { display: grid; grid-gap: 1rem; 
	grid-template-areas: 'hicon htop hbottom'; 
	grid-template-columns: 1fr 4fr 1fr;
}
.grid-header-course-body { align-self: end; }
.grid-header-book a { display: block; }
  


}

@media screen and (min-width: 1200px) {

.nav-home-icon { left: 0; }
.grid-header { position: relative; display: grid; grid-column-gap: 0; grid-template-columns: 1fr 718px; }
.header-hex { position: relative; width: 762px; z-index: -1; margin: -160px 0 0 0; }
.header-hex img { width: 762px; height: 762px; }
.header-go { position: absolute; top: 64.5%; left: 3.5%; }
.hero-slides-prev-next { position: absolute; left: 0; bottom: 50%; list-style: none; text-align: left; margin: 0; }

.grid-quote { display: grid; align-content: center; grid-column-gap: 0; grid-template-columns: 610px 1fr; }
.quote-in { width: 50px; height: 50px; margin-top: 80px; }
.quote-tag { margin-top: 80px; }
.quote-hex { position: relative; width: 610px; height: 610px; top: -15px; margin-bottom: -60px; margin-left: -6%; overflow: hidden; }
.quote-hex img { width: 610px; height: 610px; }
.quotes-slides-prev-next { position: absolute; left: 610px; bottom: 25%; list-style: none; margin: 0; }

.hex-grid { display: grid; grid-row-gap: 1rem; grid-template-columns: 1fr 1fr 1fr 1fr; }
.hex-grid-item { width: 300px; height: 300px; }
.hex-grid-item:nth-of-type(4n+1) { position: relative; left: 0; }
.hex-grid-item:nth-of-type(4n+2) { position: relative; top: 0; left: 0; }
.hex-grid-item:nth-of-type(4n+3) { position: relative; margin-top: 0; left: 0; }
.hex-grid-item:nth-of-type(4n+4) { position: relative; margin-top: 0; top: 0; left: 0; }
}

/* sticky nav */
@media screen and (min-width: 768px) {

	/* The sticky class is added to the navbar with JS when it reaches its scroll position */
	.sticky { position: fixed; top: 0; width: 100%; }
	.sticky .nav-home-icon { display: block; }
	/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
	.sticky + .main { padding-top: 60px; }

}

/* global overrides for bxslider */
.bx-wrapper { width: 100%; max-width: 1200px; box-shadow: 0 0 0 #FFF !important; border: 0 !important; margin: 0 !important; background: transparent !important; }
.slick-prev, .slick-next { display: none; }
.bx-viewport { overflow: visible !important; overflow-x: hidden; }
.bx-wrapper .bx-prev,.bx-wrapper .bx-next { background: none; }