body {
    padding-top: 50px;
}

body > .navbar {
    -webkit-transition: background-color 300ms ease-in;
    transition: background-color 300ms ease-in;
}

@media (min-width: 768px) {
    body > .navbar-transparent {
        background-color: transparent
    }

    body > .navbar-transparent .navbar-nav > .open > a {
        background-color: transparent !important
    }
}

#home {
    padding-top: 0
}

.navbar-brand {
    padding: 13px 13px 13px 13px;
}

#home .navbar-brand > img {
    display: inline;
    margin: 0 10px;
    height: 100%
}

.navbar-default .navbar-toggle {
    border-color: white;
}

.navbar-default .navbar-toggle {
  border-color: white;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #0094FF;
}

#banner {
    min-height: 300px;
    border-bottom: none
}

.table-of-contents {
    margin-top: 1em
}

.page-header h1 {
    font-size: 4em
}

.bs-docs-section {
    margin-top: 6em
}

.bs-docs-section h1 {
    padding-top: 100px
}

.bs-component {
    position: relative
}

.bs-component .modal {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    z-index: 1;
    display: block
}

.bs-component .modal-dialog {
    width: 90%
}

.bs-component .popover {
    position: relative;
    display: inline-block;
    width: 220px;
    margin: 20px
}

#source-button {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    font-weight: 700
}

.progress {
    margin-bottom: 10px
}


.splash .logo {
    width: 160px
}

.splash h1 {
    font-size: 3em
}

.splash #social {
    margin: 2em 0
}

.splash .alert {
    margin: 2em 0
}

.section-tout {
    padding: 4em 0 3em;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    background-color: #eaf1f1
}

.section-tout .fa {
    margin-right: .5em
}

.section-tout p {
    margin-bottom: 3em
}

.section-preview {
    padding: 4em 0 4em
}

.section-preview .preview {
    margin-bottom: 4em;
    background-color: #eaf1f1
}

.section-preview .preview .image {
    position: relative
}

.section-preview .preview .image:before {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    pointer-events: none
}

.section-preview .preview .options {
    padding: 1em 2em 2em;
    border: 1px solid rgba(0, 0, 0, .05);
    border-top: none;
    text-align: center
}

.section-preview .preview .options p {
    margin-bottom: 2em
}

.section-preview .dropdown-menu {
    text-align: left
}

.section-preview .lead {
    margin-bottom: 2em
}

@media (max-width: 767px) {
    .section-preview .image img {
        width: 100%
    }
}

.sponsor {
    text-align: center
}

.sponsor a:hover {
    text-decoration: none
}

@media (max-width: 767px) {
    .splash {
        padding-top: 4em
    }

    .splash .logo {
        width: 100px
    }

    .splash h1 {
        font-size: 2em
    }

    #banner {
        margin-bottom: 2em;
        text-align: center
    }
}

html {
    min-height: 100%;
}

body {
    padding-top: 0px;
    background-size: cover;
    background-position: center;
    vertical-align: middle;
    background-repeat: no-repeat;
    min-height: 100%;
}

body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .tooltip .popover{
    font-family: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6, .h1 .h2 .h3 .h4 .h5 .h6 {
    font-weight: 700;
}

@media (max-width: 979px) {
    body {
        padding-top: 0px;
    }
}

.navbar-brand > span {
    bo-rder: 1px solid white;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 4px;
    padding-bottom: 4px;
}

#header-img {
    padding: 0;
    background-size: 100%;
    background-position: center;
    height: 800px;
    vertical-align: middle;
    width: 100%;
    height: auto;
}

.navbar-fixed-bottom {
    background: transparent;
}

@media (min-width: 979px) {
    .navbar {
        background: transparent;
    }
}

#video-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -100;
}

#video-bg > video, #video-bg > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 1. No object-fit support: */
@media (min-aspect-ratio: 16/9) {
    #video-bg > video, #video-bg > img {
        height: 300%;
        top: -100%;
    }
}

@media (max-aspect-ratio: 16/9) {
    #video-bg > video, #video-bg > img {
        width: 300%;
        left: -100%;
    }
}

/* 2. If supporting object-fit, overriding (1): */
@supports (object-fit: cover) {
    #video-bg > video, #video-bg > img {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 979px) {
    #video-bg > video {
        display: none;
    }
}

@media (max-width: 1200px) {
    .container, .container-fluid {
        width: 100%;
    }
}

.well {
    background: rgba(48, 48, 48, 0.5);
}

#CookielawBanner .container, #CookielawBanner .container-fluid{
    background: rgba(128, 128, 128, 1.0);
}

* {
    border-radius: 0 !important;
}

.navbar-default
{
    font-size: 1.3em;
    background-color: rgba(0, 0, 0, 0.2);
}

footer {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: rgba(0, 0, 0, 0.0);
}

.well {
    background: rgba(255, 255, 255, 0);
    border: 0;
}

.container, .container-fluid {
    background-color: rgba(0, 0, 0, 0.6) !important;
    -webkit-backdrop-filter: saturate(1.8) blur(20px);
    backdrop-filter: saturate(1.8) blur(20px);
}

.container.well, .container-fluid.well {
    padding-bottom: 0px;
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}


a, .container a, .container-fluid a {
    position: relative;
    color: #0094FF;
    text-decoration: none;
}

.navbar-default .navbar-header > a:hover,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.container a:hover {
    color: #0094FF;
    text-decoration: none;
}

.container a:before, .container-fluid a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #0094FF;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.container a:hover:before, .container-fluid a:hover:before{
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.container a img, .container-fluid a img {
    -webkit-filter: brightness(100%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.container a img:hover, .container-fluid a img:hover{
    -webkit-filter: brightness(130%);
}

a, button {
    transition: all 0.3s ease-in-out 0s;
}

a:hover, button:hover {
    transition: all 0.1s ease-in-out 0s;
}

/* fix btn links */
a.btn, a.btn:hover {
    color: white;
}

a.itc:hover:before, a.btn:hover:before, #social a:hover:before {
    display: none;
}

.alert a, .alert a:hover, .alert a:active { color: white; }

.strikethrough {
    position: relative;
    color: crimson;
}

.strikethrough:before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    right: 0;
    border-top: 1px solid;
    border-color: inherit;

    -webkit-transform: rotate(-5deg);
    -moz-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    -o-transform: rotate(-5deg);
    transform: rotate(-5deg);
}

video, img {
    max-width: 100%;
    height: auto;
}

.navbar .label
{
    border-radius: 10px !important;
}


.shake {
    animation: shake linear 10s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
}

@keyframes shake {
     90% { transform: rotate(  0deg); }
     92% { transform: rotate( 12deg); }
     94% { transform: rotate( -8deg); }
     96% { transform: rotate(  8deg); }
     98% { transform: rotate( -3deg); }
    100% { transform: rotate(  0deg); }
}

.btn small
{
    display: none;
}


.navbar{
    margin-left: -15px;
    margin-top: -15px;
    margin-right: -15px;
    margin-bottom: 0px;
}

.nav-tabs > li > a, .nav-tabs > li > a:hover, .nav-tabs > li > a:focus,
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus
{
    border: 0;
}

.nav-tabs > li.active > a
{
    background: #333;
}

a.hover-shadow {
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.2s ease-in-out 0s;
}

a.hover-shadow:hover {
    box-shadow: 0 17px 50px 0 rgba(0, 0, 0, .7);
}

.circle {
    -webkit-border-radius: 3% !important;
    -moz-border-radius: 3% !important;
    border-radius: 3% !important;
}

.circle:hover
{
    text-decoration: none;
}

a.circle:before
{
    background: transparent;
}

.p1 {color: #fff;background: rgba(119, 119, 119, 0.4); }
.p2 {color: #fff;background: rgba( 57,  57,  57, 0.4); }
.p3 {color: #fff;background: rgba(133, 133, 127, 0.4); }
.p4 {color: #fff;background: rgba( 38,  38,  38, 0.4); }
.p5 {color: #fff;background: rgba( 94,  96,  99, 0.4); }
.p6 {color: #000;background: rgba(199, 199, 199, 0.4); }
.p7 {color: #fff;background: rgba( 38,  38,  38, 0.4); }
.p8 {color: #000;background: rgba(225, 225, 225, 0.4); }

/*
.p1 {color: #fff;background: rgba( 70, 137, 102, 0.4); }
.p2 {color: #fff;background: rgba(255, 240, 165, 0.4); }
.p3 {color: #000;background: rgba(255, 176,  59, 0.4); }
.p4 {color: #fff;background: rgba(182,  73,  38, 0.4); }
.p5 {color: #fff;background: rgba(142,  40,   0, 0.4); }
.p6 {color: #000;background: rgba( 70, 137, 102, 0.4); }
.p7 {color: #fff;background: rgba( 70, 137, 102, 0.4); }
.p8 {color: #000;background: rgba( 70, 137, 102, 0.4); }
*/

/*
.navbar, footer{background: rgba(48, 48, 48, 0.5);}
footer{ padding-top: 40px; padding-bottom: 40px; margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px;}
.well{background: rgba(255, 255, 255, 0);}
*/

.btn-default
{
	background: transparent;
	border: 1px solid white;
	color: white;
	text-transform: capitalize !important;
}

.btn-default:hover, .btn-default:focus, .btn-default:active
{
	background: white;
	border: 1px solid white;
	color: black !important;
}

.btn
{
    border-radius: 5px !important;
}

.btn-primary
{
    background: #0071e3;
    border-radius: 5px !important;
    border: 1px solid #0071e3;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active
{
    background: #3797F9;
    border: 1px solid #3797F9;
}

.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
  color: #ffffff;
  background: #0071e3;
  border-color: #0071e3;
}

.full-width
{
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 0px;
}

*:focus {
  outline: none !important;
}

.table-striped > tbody > tr:nth-of-type(even) {
  background-color: rgba(0, 0, 0, 0.1);
}
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.1);
}
.table-hover > tbody > tr:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.nav-tabs {
  border-bottom: 0;
  margin-bottom: 0;
}

.nav-tabs > li {
  margin-bottom: 0px;
}

.nav-tabs > li > a {
  margin-right: 2px;
  line-height: 1.42857143;
  border-radius: 10px 10px 0 0 !important;
  border: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.nav-tabs > li > a:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #3797F9;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px 10px 0 0 !important;
  cursor: default;
}

#account-content{
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
}

.container.well, .container-fluid.well
{
    margin-bottom: 0;
}

.navbar-brand {
    transform: translateX(-50%);
    left: 50%;
    position: absolute;
    white-space: nowrap;
}

.navbar a {
    position: absolute;
}

/* wagtail images */

.richtext-image.left {
    float: left !important;
    margin-right: 30px;
    margin-bottom: 30px;
}

.richtext-image.right {
    float: right !important;
    margin-left: 30px;
    margin-bottom: 30px;
}

.richtext-image.rounded {
    border-radius: 5px !important;
}

.richtext-image.shadow {
    box-shadow: 0 4px 8px rgb(0 0 0 / 20%);
}

.richtext-image.full-width {
  width: 100%;
  margin: 0;
  clear: both;
}

.richtext-image.daw-icon {
  float: left !important;
  width: 10%;
  margin: 0;
  padding: 0;
}

/* media */
audio {
    height: 30px !important;
    background: white;
    border-radius: 4px !important;
}

.full audio, .full video
{
    width: 100% !important;
}

.tooltip, .tooltip.fade {
    opacity: 1.0;
}

.alert-info a, .alert-info a:active, .alert-info a:hover { color: white; }
.invalid-feedback { color: #e74c3c; }

#body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

.container:before, .container:after, .container-fluid:before, .container-fluid:after {
    content: normal;
}
