/*
Theme Name: Direction
Author: Worcester Web Studio
Author URI: https://www.worcesterwebstudio.com
Theme URI: https://www.worcesterwebstudio.com
Description: Add a nice description
Version: 1.0.0
*/
/* General stuff */
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-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

html {
    scroll-behavior: smooth;
	margin-top:0 !important;
}

body {
    overflow-x: hidden !important;
}

body {
    line-height: 1;
    word-wrap: break-word;
    font-size: 100%;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.02rem;
}

body.logged-in.admin-bar {
	margin-top: 32px;
}

blockquote, q {
    quotes: none;
}

blockquote::before, blockquote::after, q::before, q::after {
    content: "";
    content: none;
}

button {
    outline: 0;
}

q {
    display: inline;
    font-style: italic;
}

q:before {
    content: '"';
    font-style: normal;
}

q:after {
    content: '"';
    font-style: normal;
}

textarea, input[type=text], input[type=button], input[type=submit], input[type=reset], input[type=search], input[type=password] {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

th, td {
    padding: 2px;
}

big {
    font-size: 120%;
}

small, sup, sub {
    font-size: 80%;
}

sup {
    vertical-align: super;
}

sub {
    vertical-align: sub;
}

dd {
    margin-left: 20px;
}

kbd, tt {
    font-family: courier;
    font-size: 12px;
}

ins {
    text-decoration: underline;
}

del, strike, s {
    text-decoration: line-through;
}

dt {
    font-weight: bold;
}

address, cite, var {
    font-style: italic;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

.alignright {
    float: right;
}

.alignleft {
    float: left;
}

.aligncenter {
    margin: 0 auto;
    display: block;
}

.gform_wrapper ul.gfield_checkbox li input[type=checkbox]:checked + label, .gform_wrapper ul.gfield_radio li input[type=radio]:checked + label {
    font-weight: 400 !important;
}

.gform_wrapper ul.gfield_checkbox li input[type=checkbox]:checked + label a, .gform_wrapper ul.gfield_radio li input[type=radio]:checked + label a {
    font-weight: 600 !important;
}

.gform_wrapper.gf_browser_chrome .gfield_checkbox li input[type=checkbox], .gform_wrapper.gf_browser_chrome .gfield_radio li input[type=radio] {
    margin-top: 0 !important;
}

p, h1, h2, h3, h4, h5, h6, li, td, i, br, a, span {
    line-height: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    font-family: 'Kanit', sans-serif;
}

a {
    font-weight: 700;
    text-decoration-skip-ink: auto;
    color: inherit;
}

a:hover, a:focus, a:active, a:visited {
    text-decoration: none;
    color: inherit;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5em;
    padding-bottom: 5px;
}

h4 {
    font-size: 1.4em;
}

h5 {
    font-size: 1.2em;
}

h6 {
    font-size: 1.1em;
}

p {
    letter-spacing: 0.03em;
    font-weight: 400;
}

.entry-content p {
    padding-bottom: 15px;
    line-height: 1.5em;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

#tribe-events-pg-template, .tribe-events-pg-template {
    max-width: 1920px;
}

.fourteenForty {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.twelveHundred {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.tenEighty {
    position: relative;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.nineSixty {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.fullWidth {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.clear {
    clear: both;
    width: 0 !important;
    height: 0 !important;
}

.newsImage img {
    width: 100%;
    height: auto;
}

.imgHolder img, .wp-block-media-text__media img {
    width: 100%;
    height: auto;
}

.slimPad {
    padding-left: 8px;
    padding-right: 8px;
}

.noPad, .newsPad {
    padding-left: 0;
    padding-right: 0;
}

.newsPad {
    margin-bottom: 10px;
}

.extraPad {
    padding-left: 45px;
    padding-right: 45px;
}

.button {
    display: block;
    text-align: center;
}

.button a, body .gform_footer input, .single-tribe_events a.tribe-events-gcal, .single-tribe_events a.tribe-events-gcal:hover, .single-tribe_events a.tribe-events-ical, .single-tribe_events a.tribe-events-ical:hover, input.button {
    display: inline-block;
    text-align: center;
    padding: 10px 25px;
    text-decoration: none;
    background: rgb(112, 111, 111);
    border: 0;
    color: white;
    transition: 0.3s ease all;
}

.button a:hover {
    background: rgb(60, 60, 59);
}

body.home section[role=main], section[role=main] {
    margin: 0;
}

dd.tribe-events-event-categories, dd.tribe-venue, dd.tribe-venue-location {
    margin-left: 0;
}

dd address {
    font-style: initial;
}

.tribe-address span {
    line-height: 24px;
}

dd.tribe-venue {
    font-weight: 600;
    padding-bottom: 10px;
}

.eventDetails p {
    padding-bottom: 10px;
}

.button.bookNow {
    text-align: left;
    margin-top: 30px;
}

.button.bookNow a {
    padding: 10px 35px;
}

/* End general */

/* HEADER */

header.mainHeader {
    position: fixed;
    width: 100%;
    z-index: 999;
}

div#container {
    padding-top: 179px;
}

.topHeader {
    padding: 15px 0;
    background-color: white
}

.topHeader .fourteenForty {
    display: flex;
    flex-wrap: wrap;
}

.topHeader .fourteenForty .col-xs-12 {
    display: flex;
    align-items: center;
}

.headerContact p {
    color: #6F1009;
    font-weight: 600;
}

.headerContact p.socialIcons {
    font-size: 1.25em
}

.logoHolder {
    margin: 0 auto;
	text-align: center;
}

.logoHolder img {
	max-width: 180px;
    margin: 0 auto;
}

.header-tagline {
    margin-top: 10px;
    font-weight: bold;
    font-size: 14px;
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
	color: #706f6f;
}

.headerButtons {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
}

.headerButtons a {
    color: white;
    background-color: #2B8CC8;
    border: 1px solid #2B8CC8;
    padding: 8px 25px;
    font-weight: 600;
    display: inline-block;
    font-family: 'Kanit', sans-serif;
    transition: 0.3s ease all;
}

.headerButtons a:hover {
    background-color: white;
    color: #2B8CC8;
}

.desktopMenu {
    background-color: #282662;
    text-align: center;
}

ul#menu-main-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}

ul#menu-main-menu i.fas {
    font-size: 1.5em !important;
}

.desktopMenu ul li a {
    display: flex;
    align-items: center;
    min-height: 62px;
    padding: 15px 20px;
    color: white;
    font-weight: 600;
    font-family: 'Kanit', sans-serif;
    line-height: 1;
}

.desktopMenu ul li {
    position: relative;
    font-size: 1.1em;
}

.desktopMenu ul li:hover {
    background-color: #161538;
}

.desktopMenu ul li a svg {
    font-size: 1.2em;
}

.desktopMenu ul li ul.sub-menu {
    display: none;
    position: absolute;
    z-index: 1001;
    background-color: #282662;
    left: 0;
    padding: 0 0 15px 0;
}

.desktopMenu ul li ul.sub-menu li {
    position: relative;
    white-space: nowrap;
    font-size: 0.9em;
}

.desktopMenu ul li ul.sub-menu li a {
    padding: 10px 20px;
    min-height: initial;
    font-weight: 400;
}

.desktopMenu ul li:hover ul.sub-menu {
    display: block;
}

.desktopMenu ul li ul.sub-menu ul.sub-menu {
    display: none;
    position: absolute;
    z-index: 999;
    background-color: #282662;
    left: 100%;
    top: 0;
    padding: 0;
}

.desktopMenu ul li ul.sub-menu li:hover ul.sub-menu {
    display: block;
}

.floatingButtons {
    position: fixed;
    transform: rotate(270deg);
    right: -86px;
    top: 436px;
    z-index: 990;
}

.floatingButtons a {
    padding: 15px 25px;
    color: white;
    display: block;
}

.bottomButton, .topButton {
    display: inline-block;
}

.bottomButton {
    background-color: #920a05;
    margin-right: -5px;
}

.topButton {
    background-color: #E60000;
}

/* END HEADER */

/* NAV */

/* Desktop menu */

/* Mobile Menu */
.mm-listview .mm-next {
    background: #2C2C2C;
}

.mm-menu .mm-listview > li .mm-next:after, .mm-menu .mm-btn:after, .mm-menu .mm-btn:before {
    border-color: white;
}

.mobileMenu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 72px;
    color: #fff;
    background-color: #2c2c2c;
    z-index: 9999;
    padding: 0;
    display: none;
}

.mobileMenu .navButton {
    text-align: center;
    font-size: 11px;
    padding-top: 11px;
    padding-bottom: 11px;
}

.mobileMenu .navButton i {
    font-size: 28px;
}

.mobileMenu .navButton a {
    color: #fff;
}

.mobileMenu .navButton a:hover {
    text-decoration: none;
}

.mobileMenu p {
    padding: 5px 0;
}

.mm-menu {
    background: #2c2c2c !important;
    color: white !important;
}

.mm-listview li {
    font-size: 16px;
    padding-bottom: 0;
}

a.mm-title {
    display: none;
}

.mm-panels > .mm-panel.mm-hasnavbar {
    padding-top: 145px;
}

.mm-listview > li:not(.mm-divider):after, .mm-navbar {
    border-bottom: 0 !important;
}

#my-menu img {
    margin-top: 40px;
    margin-left: 15px;
    position: relative;
    z-index: 999;
}

#wpadminbar.mobile {
    display: none;
}

li.closeMenu {
    font-weight: 600;
    padding-top: 25px;
    font-style: italic;
}

li.closeMenu a {
    font-size: 14px;
}

nav ul, nav li, .desktopMenu ul, .desktopMenu li {
    list-style-type: none;
}

/* END NAV */

/* BODY */

/* Homepage */
body.home section.splash {
    height: 500px;
    background-color: #EEE;
    position: relative;
    margin: 0;
    background-size: cover !important;
}

.splashBar {
    background-color: rgba(146, 10, 5, 0.8);
    text-align: center;
    color: white;
    padding: 30px 15px;
    position: absolute;
    width: 100%;
    top: 30px;
    z-index: 990;
    font-weight: 1000;
}

.splashBar h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

.splashText {
    max-width: 700px;
    text-align: center;
    color: white;
    padding: 15px 30px;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.splashText p {
    font-weight: 700;
    font-size: 1.125em;
    line-height: 1.4em;
}

.splashText a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slideHolder {
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.topContent {
    background-color: rgba(0, 0, 0, 0.45);
    width: 100%;
    height: 100%;
}

body.home section .splashText h2 {
    text-transform: uppercase;
    margin-bottom: 5px;
    line-height: 1.3em;
}

.splashImg {
    position: absolute;
    width: 90%;
    bottom: -9px;
    left: -14px;
    pointer-events: none;
}

.splashText .button a {
    background: white;
    color: #3C3C3B;
}

.splashText .button a:hover {
    background: #3C3C3B;
    color: white;
}

.sliderWhiteout {
    position: absolute;
    bottom: 5%;
    right: 2%;
    width: 18%;
    max-width: 260px;
}

body.home section, .pageNews {
    margin: 60px 0;
}

body.home h1 {
    text-align: center;
    line-height: 2rem;
}

body.home hr {
    width: 80px;
    margin: 0 auto 20px;
    height: 10px;
    background-color: #706F6F;
}

body.home section h2, body.page-template-about section h2, body.single section h2, body.page-template-course section h2 {
    margin-bottom: 25px;
    text-align: center;
}

.welcome h1, .welcome h2 {
    color: #920A05;
}

.welcome h3 {
    margin-bottom: 25px;
}

.welcome .nineSixty {
    text-align: center;
}

.homepageMenu .fourteenForty {
    display: flex;
    flex-wrap: wrap;
}

body.home section .homepageMenuItem h2 {
    margin-bottom: 0;
}

.homepageMenuItem h2 {
    color: white;
    font-weight: 600;
    font-size: 1.2em;
    line-height: 22px;
    z-index: 10;
    position: relative;
    padding: 10px 20px;
}

.homepageMenuItem h2 span {
    min-height: 68px;
    background: rgb(40, 38, 98);
    background: linear-gradient(0deg, rgba(40, 38, 98, 1) 0%, rgba(43, 140, 200, 1) 100%);
    padding: 10px 15px;
    border-left: solid #920A05 10px;
    margin-top: -5px;
    transition: .3s ease all;
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    z-index: -1;
}

.homepageMenuItem h2 span:before {
    background: linear-gradient(0deg, rgba(40, 38, 98, 1) 0%, rgba(40, 38, 98, 1) 100%);
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .3s linear;
}

.homepageMenuItem h2:hover span::before, .homepageMenuItem img:hover + h2 span::before {
    opacity: 1;
}

.memberships {
    padding: 60px 0;
    text-align: center;
    margin-bottom: 0px !important
}

.memberships .entry-content p:last-of-type {
    margin-bottom: 15px;
}

.newsHolder {
    margin-bottom: 25px;
}

.pageNews h2 {
    padding-bottom: 25px;
}

.blogItems article {
    padding-bottom: 25px;
}

.entry-date {
    font-weight: 600;
    display: block;
    padding-bottom: 15px;
}

.newsItem .imgHolder {
    margin-bottom: -5px;
}

.newsItem .date {
    background-color: #920A05;
    color: white;
    padding: 5px 15px 5px;
    font-weight: 600;
    font-family: 'Kanit', sans-serif;
}

.newsItem h4 {
    background: rgb(40, 38, 98);
    background: linear-gradient(0deg, rgba(40, 38, 98, 1) 0%, rgba(43, 140, 200, 1) 100%);
    color: white;
    letter-spacing: 0.05em;
    padding: 10px 15px 15px;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
}

body.single .featuredImage {
    float: right;
    margin-bottom: 10px;
}

.newsItem .newsText {
    padding: 0 10px;
}

.newsSpacer hr {
    border: 5px solid #EEEDED;
    background-color: initial !important;
    height: 0 !important;
    width: 100% !important;
}

.membershipLogos img {
    max-width: 300px;
    width: auto;
    margin: 0 auto;
}

.pageBody {
    min-height: 400px;
}

.pageBody i {
    color: #282662;
}

.pageEvents {
    background-color: #EEEEEE;
    padding: 45px 0 70px;
}

.pageEvents h2, .whyWorkWithUs h2 {
    padding-bottom: 50px;
}

.iconHolder {
    text-align: center;
    max-width: 200px;
    margin: 0 auto;
    padding: 42px 0;
    border: 10px solid #920A05;
    border-radius: 50%;
}

.pageEvents .iconHolder svg, .pageEvents .iconHolder i, .whyWorkWithUs .iconHolder svg, .whyWorkWithUs .iconHolder i {
    font-size: 6em;
    background: -webkit-linear-gradient(270deg, rgba(35, 139, 203, 1) 0%, rgba(39, 39, 103, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pageEvents h3, .whyWorkWithUs h3 {
    padding: 35px 0;
    text-align: center;
}

.trainingViewAll {
    margin-top: 35px;
}

.testimonials {
    background: #eee;
    padding: 60px 0;
}

.testimonialSlideHolder {
    padding: 25px 15px;
}

.testimonialSlideHolder p {
    font-size: 1.25em;
    text-align: center;
}

.slick-prev:before, .slick-next:before {
    color: #333;
}

/* Subpage */

.upcomingCourses {
    padding-top: 25px;
}

.certSearch {
    background-color: #6F1009;
    color: white;
	text-align: center;
    max-width: 480px;
    padding: 10px 20px 15px;
}

.certSearch p {
    color: white;
}

.certSearch .wp-block-search__input{
	color:#282662;
}

.certSearch .wp-block-search__button {
    color: white;
    padding: 8px;
    background-color: #2B8CC8;
    border: 0;
    font-weight: 600;
}

.certSearch .search-submit {
    color: white;
    padding: 8px;
    background-color: #2B8CC8;
    border: 0;
    font-weight: 600;
}

.certificate_numbers-template-default .entry-content h3 {
    font-size: 1.25em;
    color: #282662;
}

input.search-field {
    border: 0;
    padding: 5px;
    color: black;
}

input#wp-block-search__input-1 {
	color: black;
	outline: none;
}

.page-template-default main#content, .error404 main#content {
    min-height: 70vh;
    padding: 60px 0;
}

.error404 main#content input.search-field {
    background-color: #eee;
}

.error404 main#content input.search-submit {
    color: white;
    background-color: #2B8CC8;
    border: 1px solid #2B8CC8;
    transition: .3s ease all;
    padding: 7px 15px;
    font-weight:700;
    text-transform: uppercase;
}

.page-template-default main#content .col-xs-4 {
    background-color: #eee;
    height: 450px;
}

.subSplash {
    position: relative;
    padding-bottom: 225px;
}

.pageMain {
    padding: 60px 0 80px;
}

.quickLinks, .newContent {
    border-left: 10px solid #920A05;
    background: -webkit-linear-gradient(270deg, rgba(43, 140, 200, 1) 0%, rgba(40, 38, 98, 1) 100%);
    padding: 20px 15px 30px;
    text-align: center;
}

.quickLinks {
    margin-bottom: 20px;
}

.quickLinks h5 {
    font-size: 1.5em;
}

.quickLinks h5, .quickLinks a {
    color: white;
}

.quickLinks hr {
    margin: 10px auto 25px;
    border-bottom: 7px solid white;
    width: 45%;
}

.quickLinks a {
    display: block;
    padding-bottom: 20px;
}

.pageTitle h1, .sidebar .pageTitle h2, .courseCategory h1  {
    font-size: 1.875em;
    color: #920A05;
}

.pageTitle hr, .courseCategory hr {
    max-width: 78px;
    border-bottom: 10px solid #282662;
    margin: 15px 0 20px;
}

.quote.button a {
    border-radius: 0;
    position: relative;
    margin-bottom: 20px;
}

.quote.button a:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-top: 0px solid transparent;
    border-bottom: 32px solid transparent;
    border-right: 30px solid white;
}

.quote.button a:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom: 0px solid transparent;
    border-top: 32px solid transparent;
    border-right: 30px solid white;
}

.inTouch.button a {
    border-radius: 0;
    background: #706F6F;
    width: 100%;
    margin-bottom: 20px;
}

.newToCert a {
    display: grid;
}

.newToCert h6 {
    letter-spacing: 0.05em;
}

.newToCert h6, .newToCert p {
    color: white;
    padding-bottom: 10px;
}

.newToCert {
    margin-bottom: 20px;
}

.newContent {
    text-align: left;
    padding: 15px;
    margin-top: -2px;
}

.newContent ul {
    padding: 5px 0;
}

.entry-content ul, .entry-content ol {
    margin-left: 30px;
    padding-bottom: 25px;
}

.entry-content ul li, .entry-content ol li {
    padding-bottom: 5px;
}

.newContent li {
    padding-bottom: 10px;
    color: white;
}

.entry-content h2 {
    padding-bottom: 10px;
    font-size: 1.75em;
}

.page-template-about .entry-content h4 {
    font-size: 1.063em;
    color: #3C3C3B;
    font-family: 'Open Sans', sans-serif;
}

.gform_wrapper .top_label .gfield_label, .gform_wrapper legend.gfield_label {
    font-size: 0.875em;
}

.gform_confirmation_wrapper {
    line-height: 25px;
}

body .entry-content .gform_wrapper .top_label div.ginput_container {
    margin-top: 3px;
}

body .gform_body input, body .gform_body textarea {
    border: 0;
    background-color: #eee;
    color: #282662;
}

body .gform_body input[type=file] {
    background-color: initial;
}

/* body .gform_body ul.gfield_checkbox li {
    display: inline-block;
    float: left;
    width: 25%;
} */

body .entry-content .gform_wrapper .field_sublabel_below .ginput_complex.ginput_container span label {
    display: none;
}

body.single-tribe_events .entry-content .gform_wrapper .field_sublabel_below .ginput_complex.ginput_container span label,
body .entry-content .gform_wrapper .field_sublabel_below .ginput_complex.ginput_container.ginput_container_address span label {
    display: block;
}

body .entry-content .gform_wrapper ul li.gfield {
    margin-top: 5px;
}

body .gform_wrapper {
    margin-top: 10px;
}

body .gform_wrapper .gform_footer {
    margin-top: 0;
}

body #tribe-events-pg-template .tribe-events-content ul li {
    margin: 0;
}

.tribe-events-schedule p {
    padding: 10px 25px;
    color: white;
    font-size: 1.25em;
    font-weight: 600;
    display: inline-block;
    background-color: #6F1009;
}

a.tribe-events-button {
    margin-right: 10px;
}

.eventInner {
    background-color: #FAFAFA;
    margin-bottom: 25px;
}

.eventInner .tribe-events-meta-group {
    padding: 0 10px;
}

h2.tribe-events-single-section-title {
    font-size: 1.063em;
    font-family: 'Open Sans', sans-serif;
    padding-bottom: 15px;
}

.tribe-events-single-section-title {
    padding-top: 30px;
}

body .tribe-events-meta-group .tribe-events-single-section-title {
    margin-top: 0;
}

body.single-tribe_events #enquireForm #field_3_20 .gfield_label, body.single-tribe_events #enquireForm .gform_body #field_3_20 li input  {
    display: none;
}

body.single-tribe_events #enquireForm .gform_body #field_3_20 li label {
    font-size: 16px;
    font-weight: 600;
    background: #282662;
    color: white;
    padding: 10px;
}

body.admin-bar.single .datepicker {
    margin-top: 0;
}

.coursesMain {
    padding: 35px 0;
}

.singleCourse {
    padding-bottom: 35px;
}

.singleCourse .button {
    text-align: left;
    margin-top: 15px;
}

li.filterList {
    padding-bottom: 10px;
}

li.filterList:hover, li.goAway2:hover {
    cursor: pointer;
}

li.filterList.active {
    color: #920A05;
    font-weight: 600;
}

li.goAway2 {
    list-style-type: none;
    font-size: 1.2em;
}

.courseCategory {
    padding: 60px 0 80px;
}

.courseCategory h4 {
    padding-bottom: 20px;
}

.courseTitle {
    background-color: #282662;
    padding: 15px;
}

.courseTitle h3 {
    padding-bottom: 0;
    color: white;
}

.courseTitle p {
    color: white;
}

.courseContent {
    padding: 10px 15px 25px;
    background-color: #eee;
}

.courseContent p {
    padding-bottom: 10px;
}

.sidebar .categoryList ul, .sidebar .categoryList ul li {
    margin-left: 0;
}

.categoryList li, .sidebar .categoryList ul li li {
    list-style-type: none;
    margin-left: 30px;
    padding-bottom: 10px;
}

.categoryList h4 {
    padding-top: 40px;
}

.categoryList > ul > li > a {
    color: #920A05;
}

#sidebar li {
    list-style-type: none;
}

.testImage {
    max-width: 300px;
    margin-bottom: 25px;
}

/* Sidebar */

/* END BODY */

/* Certificate Check */

.certResults {
    margin-top: 40px;
}

.certHolder {
    margin-bottom: 20px;
}

.certHeading {
    padding: 15px;
    text-align: center;
    border-left: 10px solid #920A05;
    background: -webkit-linear-gradient(270deg, rgba(43, 140, 200, 1) 0%, rgba(40, 38, 98, 1) 100%);
    color: white;
}

.certInfo th, .certInfo td {
    padding: 7px 15px;
    font-size: 0.875rem;
}

.certInfo th {
    width: 150px;
    font-weight: 600;
}

.certInfo tr:nth-of-type(even) {
    background-color: #EEE;
}

.certInfo td {
    width: 100%;
}

/* Events */

body .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-breadcrumbs__list {
    font-size: 1.3em;
}

body .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-breadcrumbs {
    margin-bottom: 25px;
}

body .tribe-common--breakpoint-medium.tribe-common .tribe-common-h3 {
    font-size: 1.25em;
}

body .tribe-common .tribe-common-anchor-thin {
    border-bottom: 0;
}

body .tribe-common .tribe-common-anchor-thin:active, body .tribe-common .tribe-common-anchor-thin:focus, body .tribe-common .tribe-common-anchor-thin:hover {
    border-bottom: 0;
    color: #282662;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding: 30px 0px;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-row {
    margin: 60px 0px 30px;
    padding-bottom: 40px;
    border-bottom: 5px solid #920A05
}

.tribe-events .tribe-events-c-small-cta > :first-child {
    font-size: 1.8em;
    font-weight: 700;
    color: #282662
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-cost {
    margin-top: 0px;
}

.tribe-events .tribe-events-c-ical__link {
    border-radius: 0px;
    border: 1px solid #920A05;
    color: #920A05;
    transition: 0.3s;
}

.tribe-events .tribe-events-c-ical__link:hover {
    border-radius: 0px;
    border: 1px solid #920A05;
    color: #ffffff;
    background-color: #920A05
}

.tribe-events .tribe-events-c-ical__link:before {
    display: none !important
}

.events-list #tribe-events-footer, .single-tribe_events #tribe-events-footer, .tribe-events-day #tribe-events-footer, .tribe-events-map #tribe-events-footer, .tribe-events-photo #tribe-events-footer {
    border-top: 0px !important
}

.consultantSearch {
    padding-bottom: 25px;
}

.consultantSearch .button {
    display: inline-block;
}

.consultant {
    background-color: #eee;
    padding: 25px 15px;
    margin-bottom: 35px;
}

.consultantContent h3 {
    color: #282662;
}

.consultantContent h4 {
    color: #920a05
}

.consultantContent .button {
    text-align: right;
}

.consultantLogo {
	max-width: 250px;
	margin: 0 0 0 auto;
}

.consultant p span:last-of-type {
	display: none;
}

/* FOOTER */

.mainFooter {
    background-color: #6F1009;
    padding: 35px 0;
}

.mainFooter p {
    display: inline-block;
    color: white;
    padding-bottom: 10px;
}

.mainFooter svg, .mainFooter i {
    color: white;
    display: inline-block;
    margin-right: 6px;
}

.footerAddress {
    display: flex;
    flex-wrap: wrap;
}

.mainFooter .addressLineTwo {
    margin-left: 20px;
}

.footerButton {
    display: flex;
    flex-direction: row-reverse;
}

.footerButton a {
    padding: 13px 38px;
    background-color: white;
    color: #238BCB;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    transition: .3s ease all;
}

.footerButton a:hover {
    color: white;
    background-color: #238bcb;
}

.subFooter {
    background-color: #2C2C2C;
}

.subFooter p {
    color: white;
    padding: 10px 0;
}

.subFooter p.right {
    text-align: right;
}

.mainFooter p.socialIcons a {
    font-weight: 400;
    font-size: 1.5em;
    margin-right: 10px;
}

nav.footerMenu ul {
    list-style: none;
    display: block;
    padding: 10px 0px;
}

nav.footerMenu ul li {
    display: inline-block;
    margin-right: 8px;
}

nav.footerMenu ul li a {
    color: #ffffff;
    font-size: 16px;
}

.searchResults h2 {
    padding-bottom: 25px;
    color: #282662;
}

/* END FOOTER */



/* Media Queries */

@media screen and (max-width: 1440px) {
    #sidebar {
        padding-right: 15px;
    }
}

@media screen and (max-width: 1199px) {
    .pageMain .fourteenForty {
        display: flex;
        flex-flow: wrap;
    }

    .orderOne {
        order: 1;
    }

    .orderTwo {
        order: 2;
    }

    .pageMain {
        padding: 25px 0;
    }

    .pageMain .extraPad, .pageMain .noPad {
        padding: 0 15px;
    }

    .aboutContent {
        padding-bottom: 25px;
    }
	.splashBar {
		top: 45px;
	}
}

@media screen and (max-width: 990px) {

    .mobileMenu {
        display: block;
    }

    .headerContact, .headerButtons, .desktopMenu, .memberships, body.home hr, .floatingButtons {
        display: none;
    }

    h1, .entry-content h1, .pageTitle h1, .courseCategory h1 {
        font-size: 1.5em;
    }

    h2, .entry-content h2, .sidebar .pageTitle h2 {
        font-size: 1.375em;
    }

    h3, .entry-content h3 {
        font-size: 1.25em;
    }

    h4, .entry-content h4 {
        font-size: 1.125em;
    }

    body.home section h2 {
        margin-bottom: 0;
    }

    .splashText p {
        font-size: 1em;
    }

    .trainingService {
        margin-bottom: 25px;
    }

    body.home section {
        margin: 35px 0
    }

    .homepageMenu h2, .pageEvents h2 {
        padding-bottom: 15px;
    }

    .homepageMenuItem {
        width: 50%;
    }

    .homepageMenuItem .title {
        min-height: 86px;
    }

    .newsHolder {
        padding: 0 15px;
    }

    .newsItem {
        margin-bottom: 35px;
    }

    nav ul li:hover > a {
        border-bottom: 0;
    }

    nav ul li.current-menu-item {
        border: 0;
    }

    .footerButton {
        flex-direction: initial;
    }

    footer {
        margin-bottom: 72px;
    }

    .subFooter p.right {
        text-align: left;
    }

    .trainingViewAll {
        margin-top: 0;
    }

    body.home h1 {
        font-size: 1.5em;
        text-align: left;
        line-height: normal;
        padding: 0 15px;
    }

    body.page-template-about section h2, body.single section h2 {
        text-align: left;
        line-height: normal;
        padding: 0 15px;
    }

    .welcome .nineSixty {
        text-align: left;
    }

    body.single section h2.tribe-events-single-section-title {
        padding: 15px 0 10px;
        font-size: 1.063em;
        margin-bottom: 0;
    }

    .eventInner .tribe-events-meta-group {
        padding: 0;
    }

    dd address {
        padding-bottom: 15px;
    }

    header.mainHeader {
        position: relative;
    }

    div#container {
        padding-top: 0px;
    }
}

@media screen and (max-width: 767px) {

    .homepageMenuItem {
        width: 100%;
    }

    .homepageMenuItem .title {
        min-height: initial;
    }

    .newsHolder {
        display: block;
    }
}

html {
	margin-top: 0 !important;
}
