@font-face {
    font-family: MessinaSans-light;
    src: url("../fonts/messina-sans/MessinaSans-Light.otf") format("opentype");
}

@font-face {
    font-family: MessinaSans-book;
    font-weight: 400;
    src: url("../fonts/messina-sans/MessinaSans-Book.otf") format("opentype");
}

@font-face {
    font-family: MessinaSans-semi-bold;
    font-weight: 600;
    src: url("../fonts/messina-sans/MessinaSans-SemiBold.otf") format("opentype");
}

@font-face {
    font-family: MessinaSans-bold;
    font-weight: 700;
    src: url("../fonts/messina-sans/MessinaSans-Bold.otf") format("opentype");
}


/* ==========================================================================
CUSTOM CSS
========================================================================== */


#pre-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999999;
}

#status {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

body {
    padding-top: 68px;
    color: #000;
    font-family: 'MessinaSans-book', sans-serif;
    font-size: 16px;
}

section, header {
    padding-top: 60px;
    padding-bottom: 60px;
}


.section-pre-header {
    display: inline-block;
    background: #FF6659;
    color: #fff;
    padding: 0.3rem 1.4rem;
    position: absolute;
    z-index: 1;
    top: 0;
    margin-top: -20px;
}

.section-pre-header h2 {
    font-size: 1.6rem;
}

.extra-padding-bottom {
    padding-bottom: 120px
}

.extra-padding-top {
    padding-top: 80px
}


.alert#cookie-consent {margin-bottom: 0px;}


.mb-2rem {
    margin-bottom: 2rem;
}


.full-size-background {
    background: url(../img/website-bg.jpg) no-repeat center top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/website-bg.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/website-bg.jpg', sizingMethod='scale')";
}

#virtual-event {
    background: url(../img/feature-bg-1.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/feature-bg-1.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/feature-bg-1.jpg', sizingMethod='scale')";
}

#speakers {
    background: url(../img/speakers-bg.jpg) no-repeat center top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/speakers-bg.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/speakers-bg.jpg', sizingMethod='scale')";
}

.venue-image-background {
    background: url(../img/venue-image.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/venue-image.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/venue-image.jpg', sizingMethod='scale')";
}



.img-responsive {
    width: 100%;
    height: auto;
}

.img-rounded {
    border-radius: 50%;
    max-width: 360px;
}


.border-top-blue {
    border-top: 6px solid #2D9AD6;
}

.border-bottom-blue {
    border-bottom: 6px solid #2D9AD6;
}


.info-label {
    padding: .8rem 2.4rem .6rem 2rem;
    font-family: 'paralucent', sans-serif;
    font-weight: 500;
    font-style: normal; 
    letter-spacing: 1px;
    font-size: 1.2rem;
}

/* ==========================================================================
COLOURS
========================================================================== */

.bg-dark {
    background-color: #000 !important;
}

.bg-green {
    background-color: #005F90
}

.bg-blue {
    background-color: #2D9AD6
}

.bg-white-transparent {
    background: rgba(255,255,255,0.8);
}


.text-blue {
    color: #2D9AD6
}

/* ==========================================================================
FONT STYLES
========================================================================== */


h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
}   

h2, h3, h4, h5 {
    font-family: 'MessinaSans-bold', sans-serif;
    font-weight: 700;
}

.section-header {
    font-size: 2rem;
    line-height: 2rem;
}

.sub-header {
    font-weight: 300;
}

.feature-header {
    font-size: 2.3rem;
    line-height: 2.3rem;
}

.policy-text {
    font-size: .8rem;
}

.font-light {
    font-weight: 300;
    font-family: 'MessinaSans-light', sans-serif;
}

#event-info-block h3 {
    font-size: 1.2rem;
}

/* ==========================================================================
BUTTON STYLES
========================================================================== */


.btn {
   border-radius: 30px;
   color: #fff;
   padding: 0.375rem 1.25rem;
   min-width: 220px;
   font-weight: 600;
   letter-spacing: 1px;
}

.btn-small {
    padding: 0.275rem 1.75rem;
    min-width: 0;
    font-weight: 600;
    font-size: .9rem
 }

 .btn-min {
    padding: 0.175rem .75rem;
    min-width: 0;
    font-weight: 600;
    font-size: .8rem
 }
 

.btn-blue {
    background-color: #2D9AD6;
    border-color: #2D9AD6;
    color: #fff;

}

.btn-blue:hover {
    background-color: #1f86be;
    border-color: #1f86be;
    color: #fff;
}

.btn-light {
    background-color: #99C0CE;
    border-color: #99C0CE;
    color: #fff;
}

.btn-black:hover {
    background-color: #99c0cec0;
    color: #fff;

}


button:focus {
    outline: none;
}

/* ==========================================================================
TABLE
========================================================================== */

.table {
    font-size: .9rem;
}

.table tr:not(:last-child) {
    border-bottom: 2rem solid #fff;
}

tr:nth-child(even) {
    background-color: rgba(0, 95, 144,.2);
}

tr:nth-child(odd) {
    background-color: rgba(0, 95, 1449,0);
}

.table th {
    display: none;
}

.table td {
    display: block;
}

.table .thead-dark th {
    color: #fff;
    background-color: #005F90;
    border-color: #005F90;
    padding: .6rem 1.6rem;


}

.table td {
    padding: 1rem 1.6rem;
    border: 2px solid #fff;
}

.table tr td:first-child {
    font-weight: 600;
    font-family: 'MessinaSans-semi-bold', sans-serif;
    font-weight: 600;
}

.table td a:not(.btn) {
    color: #000;
    text-decoration: underline;
}



/* ==========================================================================
MODALS
========================================================================== */

.modal-content {
    margin-top: 3.6rem;
}

.modal-header, .modal-content {
    border-radius: 0 !important;
    border: 0;
}

.modal-header {
    position: relative;
}

.modal-header .close {
    position: absolute;
    right: 2rem;
    top: 43%;
    border: 3px solid #005F90;
    color: #005F90;
    background: #fff;
    border-radius: 50px;
    height: 40px;
    width: 40px;
    padding: 0;
    text-align: center;
    line-height: 1.9rem;
    font-size: 2rem;
    text-shadow: none;
    opacity: 1;
}

.modal .close:not(:disabled):not(.disabled):focus, .modal .close:not(:disabled):not(.disabled):hover {
    color: #005F90;
}



/* ==========================================================================
NAV
========================================================================== */

.navbar-dark .navbar-toggler {
    border: 0
}


.navbar {
    padding: 1rem 1rem;
    background-color:#005F90;

}

.nav-link {
    font-weight: 700;
    color: #fff;
    text-align: center;
    font-size: 1.2rem;
    padding: 1rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,1);
}

/* ==========================================================================
HEADER
========================================================================== */


.title-container {
    padding: 40px 0
}



h2.sub-header {
    font-family: 'paralucent', sans-serif;
    font-weight: 500;
    font-style: normal; 
    letter-spacing: 8px;

}

#head-label {
    border-radius: 30px;
    padding: .8rem 1.4rem;
    font-family: 'paralucent', sans-serif;
    font-weight: 500;
    font-style: normal; 
    letter-spacing: 1px;


}

.head-info p {
    font-size: 1rem;
}

.header-logo {
    margin-top: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}



/* ==========================================================================
WELCOME
========================================================================== */

#welcome {
    overflow: hidden;
}

.collage-container img {
    box-shadow: 0px 3px 15px rgba(0,0,0,0.4);
}





/* ==========================================================================
SPEAKERS
========================================================================== */


.speaker-img {
    width: 100%;
    height: auto;
    max-width: 300px;
}

.speaker-bio.collapse:not(.show) {
    height: 76px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
}

.speaker-bio.collapsing {
    min-height: 76px !important;
}


.speaker-feature {
    position: absolute;
    width: 130px;
    height: 130px;
    right: 0;
    bottom: 0;
    margin: 0 -20px -20px -0;
}


/* ==========================================================================
MAP
========================================================================== */

.map-container {
    position: relative;
    color: #222;
    background-attachment: scroll;
    background-image: url(../img/map-image.jpg);
    background-position: center center;
    background-repeat: none;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    min-height: 500px;
}

#map {
    position:absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 0; /* Set z-index to 0 as it will be on a layer below the contact form */
}


/* ==========================================================================
FORM
========================================================================== */


#register-info-panel {
    background: url(../img/reg-bg-v2.jpg) no-repeat center center;
    background-size: cover;
}

#register-info-panel, #register-panel {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

#register-info-panel h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
}

form, .register-info {
    width: 100%;
    max-width: 620px;
    margin: auto;
}

form h2 {
    border-bottom: 2px solid #ffffff;
    padding-bottom: .8rem;
}


.form-group {
    margin-bottom: 2rem;
}

.form-control, .custom-select {
    height: calc(2.55rem + 2px);
    border-radius: 20px;
    padding: .275rem 1.75rem;
    border: 1px solid transparent;
    color: #000;
    background: #fff;
}


.custom-checkbox label {
    padding-left: .6rem;
}

.custom-control-label::before {
    top: 1px;
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: 2px solid #ffffff;
}

.custom-control-label::after {
    top: 1px;
    width: 20px;
    height: 20px;
}

.checkbox-panels .custom-checkbox label {
    padding-top: .6rem;
    padding-bottom: .6rem;
    height: 100%;
}



.checkbox-panels .custom-control-label::before, .checkbox-panels .custom-control-label::after {
    bottom: 5px;
    top: auto;
}


.custom-checkbox .custom-control-label::before, .custom-checkbox .custom-control-label::after {
    border-radius: 50px;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #1f86be;
    border: 2px solid #ffffff;

}


label {
    font-weight: 700;
}


/* ==========================================================================
MAP
========================================================================== */

.map-container {
    position: relative;
    color: #222;
    background-attachment: scroll;
    background-image: url(../img/map-image.jpg);
    background-position: center center;
    background-repeat: none;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    min-height: 500px;
}

#map {
    position:absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 0; /* Set z-index to 0 as it will be on a layer below the contact form */
}

/* ==========================================================================
FOOTER
========================================================================== */

footer {
    padding-top: 80px;
    padding-bottom: 80px;
}


.alert {
    border-radius: 0px;
    border: 0;

}