/* Variables */
:root {
  --mbl-red: #BE1522;
}

/* Standard styles */
html {
    scroll-padding-top: 80px;
}
.dp .video-overlay {
    bottom: 0;
}
.dp .main-button a { 
    background-color: var(--mbl-red) !important;
}

.dp .main-button a:hover { 
    text-decoration: underline !important;
}

p.justify {
    text-align: justify;
}

p.justify + p.justify {
    padding-top: 1.5em;
}

.dp .section-heading h2 em {
    color: var(--mbl-red);
}

.dp .cta-content h2 em {
    color: var(--mbl-red);
}

.dp .relative {
    position: relative;
}

.dp .darken-bg {
    position: absolute;
    background-color: rgba(35,45,57,0.8);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dp img[alt=waves] {
    display: none;
}

.dp .section-heading h2 {
    margin-bottom: 1em;
}

/* Header and nav */
.dp .logo img {
    height: 70px;
	margin: 10px 0px 10px 0px;
}
.dp header.header-area.header-sticky {
    background: white;
}
.dp .header-area .main-nav .nav li a {
    color: black;
}
.dp .header-area.header-sticky .nav li a.active {
    color: var(--mbl-red) !important;
}
.dp .header-area .main-nav .nav li a.active {
    color: var(--mbl-red) !important;
}
.dp .header-area .main-nav .nav li:hover a {
    color: var(--mbl-red) !important;
    text-decoration: underline;
}
.dp .header-area .main-nav .nav li.main-button:hover a {
  color: white !important;
    text-decoration: underline !important;
}
.dp .header-area .main-nav .nav li:last-child a {
    background: var(--mbl-red) !important; 
}
.dp .main-banner .caption h2 em {
	color: var(--mbl-red);
}

.dp .main-banner .caption h6 {
    font-size: 2em;
}

.dp .main-banner .caption h2 {
    font-size: 85px;
}

.dp .main-banner .caption h6.small {
    font-size: 1em;
    margin: 1em 0;
    text-transform: capitalize;
    font-weight: 400;
}

/* About us */

.dp .left-icon {
    width: 7em;
    float: left;
}

.dp .left-icon i {
    font-size: 5em;
    width: 1em;
    background-color: var(--mbl-red);
    border-radius: 7px;
    color: white;
    padding: 10px;
    position: relative;
    top: 12px;
}

.dp .left-icon.image-based i {
    font-size: 1em;
    width: 1em;
    background-color: var(--mbl-red);
    border-radius: 7px;
    color: white;
    padding: 40px 10px;
    position: relative;
    top: 25px;
}

.dp .feature-item .left-icon img {
    float: none;
    width: 5em;
    margin-right: 0;
}

.dp .about-organiser {
    float: right;
    width: 240px;
    display: flex;
    align-content: flex-start;
    justify-content: left;
    flex-wrap: wrap;
    padding: 0 1em;
    border-left: 1px solid lightgrey;
    margin-left: 1.5em;
}

.dp .about-organiser img {
    width: 100%;
}

.dp .about-organiser p {
    font-weight: 500;
}

/* Exhibitors */

.dp .filters a {
    color: black;
}

.dp .filters a:hover {
    text-decoration: underline !important;
}

.dp .trainer-item.exhibitor {
    min-height: 330px;
}

.dp .trainer-item .image-thumb {
    height: 100px;
    text-align: center;
}

.dp .trainer-item .image-thumb img {
    height: 100%;
    width: auto !important;
}
.dp .trainer-item h4 {
    margin-top: 2em;
}

.dp .trainer-item {
    margin-bottom: 2em;
}

.dp .exhibitor h4, 
.dp .exhibitor h5 {
    text-align: center;
    margin-top: 0.5em;
}

.dp .exhibitor .main-button {
    display: flex;
    justify-content: space-around;
}

.dp .filters {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-bottom: 1em;
}

.dp .filters .alpha {
    border: 1px solid lightgrey;
    width: 2em;
    text-align: center;
    background: white;
    text-transform: uppercase;
}

/* Schedule */

.dp section#schedule {
    padding-bottom: inherit;
    margin-bottom: 2em;
}

.dp #our-classes i.icofont-hat-alt {
    font-size: 3em;
    margin: 0 20px 0 0;
}

.dp #our-classes li {
    position: relative;
}

.dp span.session-title {
    position: absolute;
    background: none !important;
    top: 0.4em;
    left: 6em;
}

.dp span.session-time {
    position: absolute;
    background: none !important;
    font-weight: 200;
    top: 2em;
    left: 6em;
}

.dp #our-classes #tabs ul span {
    line-height: 90px; 
}

/* New schedule (table) */
.dp .down-content ul {
    font-size: 14px;
    font-family: inherit;
    color: #7a7a7a;
    margin-bottom: 1em;
    line-height: 2em;
    text-indent: 0em;
}

.dp .down-content ul li {
    list-style-type: circle;
    margin-left: 2em;
}

.dp .schedule {
    width: 100%;
}

.dp .schedule th,
.dp .schedule td
{
    padding: .5em;
}

.dp .schedule th {
    background: grey;
    color: white;
    border: 1px solid grey;
}

.dp .schedule td
{
    background: white;
    border: 1px solid lightgrey;
}

.dp .schedule .main-button a {
    padding: 0.5em .8em;
    text-transform: uppercase;
    font-size: 0.8em;
}

/* Contact Form */

.dp .contact-form button {
    background-color: var(--mbl-red);
    margin: 1em 0;
}

.dp #contact-us .contact-form {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto;
    height: 100%;
    min-height: 607px;
}

.dp #contact-us .contact-form #contact {
    position: absolute;
    width: calc(100% - 160px);
}

.dp #tabs ul .ui-tabs-active a {
    color: var(--mbl-red);
}

/* Mobile */

.dp .header-area .main-nav .nav li:last-child {
    background-color: var(--mbl-red);
}

/* Blog/RSS/news malarky */

.dp .blog-date {
    font-size: 1em;
    font-weight: 400;
    padding: 0;
    margin: 0 0 1em;
}

.dp .trainer-item.rss {
    display: flex;
}

.dp .trainer-item.rss .image-thumb {
    height: 200px;
    margin-right: 2em;
}

.dp .trainer-item.rss h4 {
    margin-top: 0;
}

.dp .rss .main-button {
    float: right;
}

.dp .trainer-item.rss p {
    text-align: justify;
}

/* Carousels of logos */

.dp section .slider {
    width: 2179px;
    margin: auto;
    overflow: visible;
}
.dp section .slider ul {
    display: flex;
    padding: 0;
    animation: logos 50s infinite linear;
}
.dp section .slider li {
    padding:0 10px;
    list-style: none;
}
.dp section .slider img {
    max-width: fit-content !important;
    height: auto !important;
}
@keyframes logos {
    from {margin-left: 0%}
    to {margin-left: -100%}
}

.dp .container {
    overflow: hidden;
}

/* Footer */

.dp footer {
    background: black;
    margin-top: 0em;
    color: white;
}

.dp footer .footer-col {
    text-align: left;
}

.dp footer .footer-col * {
    color: white;
}

.dp footer .footer-col h6 {
    border-bottom: 1px solid white;
    padding-bottom: 0.3em;
    margin-bottom: 0.5em;
} 

.dp footer ul.nav li {
    display: block;
    width: 100%;
    font-size: 0.8em;
    margin-bottom: 0.7em;
}

.dp footer ul.nav {
    margin-top: 0.8em;
}

.dp footer .copyright {
    font-size: 0.8em;
    margin: 2em 0;
}

/* Venue */

.dp .col-lg-6 img {
  max-width: 100%;
}

.dp #venue h5 {
  margin: 1em 0;
}

.dp #venue h6 {
  margin: 1em 0;
}

.dp img.nmmpic {
  margin: 1em 0;
  border: 3px solid black;
}

/* Responsive */

@media screen and (min-width: 1201px) {
  .dp .header-area .main-nav .nav {
    display: flex;
  }
}
@media screen and (max-width: 1200px) {
  .dp .header-area .main-nav .nav {
    display: none;
  }
}
@media screen and (max-width: 991px) {
	.dp a.logo img {
	    max-width: 290px;
	    height: auto !important;
	}
	.dp #contact-us .contact-form #contact {
	    position: absolute;
	    width: calc(100% - 60px);
	}
	.dp .header-area .main-nav .nav li:last-child a {
	    background-color: var(--mbl-red) !important;
	}
  .dp .main-banner .caption h2 {
      font-size: 3em;
  }
  .dp .contact-form-outer {
      min-height: 550px;
  }
  .dp .contact-form-outer .contact-form {
      min-height: 550px;
  }
}

@media screen and (max-width: 500px) {
       .main-banner video {
           display: none;
       }
    .main-banner img {
        display: block;
    }
}
@media screen and (min-width: 501px) {
    .main-banner video {
        display: block;
    }
    .main-banner img {
        display: none;
    }
}

.dp .about-organiser {
    float: unset;
    width: 500px;
    justify-content: center;
    border-left: none;
    margin-left: 0;
    margin: auto;
}

.dp #contact-us .contact-form #contact {
    position: relative;
    width: calc(100% - 0px);
}

#exhibit-mobile {
    display: none;
}

@media screen and (max-width: 767px){
    .dp .trainer-item.rss {
        flex-direction: column;
    }
    .trainer-item.rss .image-thumb {
        text-align: left;
    }
}
.forceflex {
    display: flex !important;
}
.forcehide {display: none !important;}

@media screen and (max-width: 767px){
    .news-item {
        min-width: 45%;
    }
    .news-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .pushdown-container {
        font-size: unset !important;
    }
    #pushdown-container a {
        font-size: 20px !important;
    }
    .pushdown-close {
        top: unset;
        font-size: 20px;
    }
}
@media screen and (max-width: 550px){
    #pushdown-container a {
        font-size: 14px;
    }
}
@media screen and (max-width: 450px){
    .container.header-container {
        padding: 0px 0px !important;
    }
    .header-area {
        padding: 0px 0px !important;
    }
}
@media screen and (max-width: 400px){
    .dp a.logo img {
        max-width: 240px;
    }
}
@media screen and (max-width: 1380px) {
    .header-area .main-nav .nav li {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

.modal-body-description {
    text-align: left;
}

.modal-body-description p:first-child {
    margin-bottom: 10px;
	margin-top:10px;
	text-transform: none;
}

.new-banner {
	display: flex;
	justify-content: center;
	margin: auto;
	margin-bottom: 10px;
}
.dp .header-area .main-nav .nav li:last-child a {
    color: white !important;
}
@media screen and (max-width: 767px){
    .new-banner img {
        width: 100%;
    }
}