/* **************************************************************************
BASE
************************************************************************** */
html {
    scroll-behavior: smooth;
}

body{
    background: #ededed;
    /* make space for nav bar */
    padding-top: 60px;
    color: #3b3b3b;
}
hr {
    color: #12232E;
}

/* **************************************************************************
TYPOGRAPHY
************************************************************************** */
h1, h2, h3, h4, h5 {
  font-family: 'Cinzel', 'roboto';
}

h1 {
    font-size: 2rem;
}
.sub-heading {
    font-family: 'Roboto';
}
@media (min-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }
}
@media (min-width: 992px) {
    h1 {
        font-size: 3rem;
    }
}
/* **************************************************************************
BUTTONS/LINKS
************************************************************************** */
.button {
    background-color: #12232E;
    color: #fff;
}
.button:hover {
    background-color: #d4af37;
    color: #fff;
}
footer a {
    color: #fbfbfb;
}
a {
    color: #1E4E7F;
}
a:hover {
    color: #32669B;
}
.btn-outline:hover {
    background-color: #d4af37;
    color: #fff;
}
.heading-link {
    color: inherit;
}
/* **************************************************************************
ICONS
************************************************************************** */
.fab, .fas {
    color: #fbfbfb;
}

.fas-default, .fas-default {
    color: inherit;
}
/* **************************************************************************
NAVBAR
************************************************************************** */
nav {
    background-color: #12232E;

}
.primary-nav {
    margin-right: 7.5rem;
    text-transform: uppercase;
}

.navbar-brand {
    font-family: 'Cinzel', 'roboto';
    font-size: 1.5rem;
    margin: 0;
    padding-left: 1rem;
}

.nav-item {
    padding: 0 1.5rem 0 1.5rem;
}

li.nav-item {
    padding: 0 0.625rem 0 0.625rem;
}

.nav-link {
    color: #fbfbfb;
}

.nav-link:hover {
    color: #d4af37;
}
.navbar-collapse {
    padding-left: 0.5rem;
}

@media (min-width: 992px) {
.navbar-collapse {
    padding-left: 0;
    }
}

/* **************************************************************************
LANGUAGE
************************************************************************** */
.flags {
    margin: 4.5rem 1rem 0 1.5rem;
}
.lang-flag {
    background-color: rgba(255, 255, 255, 0.5);
    background-repeat: no-repeat;
    background-position: center center;
}
.lang-default {
    background-image: url(../img/flags/gb-24.png);
}

.lang-es {
    background-image: url(../img/flags/es-24.png);
}

.lang-ca {
    background-image: url(../img/flags/ca-24.png);
}

/* **************************************************************************
MASKS
************************************************************************** */
.mask-light {
    background-color: rgba(251, 251, 251, 0.15);
}
.mask-dark {
    background-color: rgba(0, 0, 0, 0.4);
}
/* **************************************************************************
HERO/JUMBOTRON
************************************************************************** */
.jumbotron-wrapper {
    position: relative;
    height: 100vh;
}
.jumbotron {
    height: 100vh;
    width: 100%;
}
.jumbotron-mask {
    z-index: 1000;
}
.hero {
    /* Formerly known as #intro */
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-color: rgba(0, 0, 0, 0.3);
    background-origin: padding-box;
    max-width: 100%;
    height: 40vh;

}
.hero-heading {
    /* Formerly known as #intro-heading */
    text-shadow: 2px 2px 5px #5c5c5c;
}
@media (min-width: 992px) {
    .hero {
        height: 50vh;
        max-width: 100%;

        background-position: center top -25px;
    }
}

/* **************************************************************************
TESTIMONIALS (home page)
************************************************************************** */

.testimonial-ticker {
    color: #12232E;
    display: flex;
    align-items: center;
    column-gap: 1rem;
}
.testimonial-ticker-prev,
.testimonial-ticker-next {
    cursor: pointer;
    color: #12232E;
}
.testimonial-ticker-prev:hover,
.testimonial-ticker-next:hover {
    opacity: 0.8;
}
.testimonial-ticker-slides {
    flex: 2;
}
.testimonial-ticker-item {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
}
.testimonial-ticker-item-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.testimonial-ticker-item:hover {
    color: inherit;
}

/* **************************************************************************
PHOTO GALLERY
************************************************************************** */
.slider-wrap {
    position: relative;
}
.thumbnail-slider-area {
    /*
    What is "position: sticky" for?
    It seems to be breaking the layout so if not essential, we should bin it
    position: sticky;
    */
    top: 10px;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
    padding: 12px;

}
.thumnail-slider {
    position: absolute;
    left: 0;
    bottom: 0;
}
.slider-img {
    width: 100%;
}

/* **************************************************************************
VIDEO EMBEDS
************************************************************************** */
.video {
    display: flex;
    align-items: center;
    position: relative;
    background-color: #000;
    background-position: center center;
    background-size: cover;
}
.video::before {
    display: block;
    content: '';
    padding-bottom: 56.25%;
    width: 0;
    height: 0;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-notice {
    background-color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 1.5rem;
    width: 100%;
}
.video-notice > p {
    max-width: 40rem;
}
.video-notice > * {
    margin-left: auto;
    margin-right: auto;
}

.video-iframe:not([src]) {
    display: none;
}

.video-iframe[src] + .video-notice {
    display: none;
}
/* **************************************************************************
AUDIO PLAYER
************************************************************************** */
.audio_player_wrapper {
    border: 1px solid #12232E;
    background-color: #f4f4f4;
    padding:0;
    overflow: hidden;
}
.audio_player_controls {
    padding: 0.25em;
}
.audio_player_wrapper ul {
    list-style-type:none;
    margin: 0;
    padding: 0;
}
.player_control_group {
    overflow: hidden;
}
.player_control {
    float: left;
    color: #12232E;
}
.player_control li {
    display: inline;
    line-height: 1;
    vertical-align: bottom;
}
.now-playing {
    text-align: center;
    font-style: italic;
    font-weight: 500;
    font-size: 1em;
    padding-bottom: 0.125em;
    color: #14213D;
}
.timeline_group {
    font-size: 0.875em;
    padding: 0.5em 0;
    background-color: #fff;
    margin-bottom: 0.5em;
    line-height: 1;
}
.jp-seek-bar {
    background-color: #ccc;
    width: 100%;
}
.jp-play-bar {
    background-color: #8092b7;
    height: 1em;
}
.time_elapsed, .time_total {
    width: 12.5%;
    text-align: center;
    margin-top: 0.125em;
}
.jp-progress {
    width: 75%;
    margin-top: 0.125em;
}
.button_group {
    font-size: 2em;
    line-height: 1;
}
.volume_control {
    float: left;
    margin-left:0.5em;
}
.jp-volume-bar {
    background-color: #ccc;
    width: 3em;
    margin-top: 0.25em;
}
.jp-volume-bar-value {
    height: 0.5em;
    background-color: #14213D;
    ;
}
.jp-toggles {
    float: right;
}
.jp-repeat, .jp-shuffle {
    color: #999;
}
.jp-playlist {
    background-color: #fff;
}
.jp-playlist .jp-artist {
    color: #6d8d4d;
    display: block;
    font-size: 0.75em;
}
.jp-playlist li {
    margin: 0;
    padding: 0.5em;
    border-top: 1px solid #ccc;
}
.jp-playlist-current {
    font-weight: 700;
    font-style: italic;
}

.jp-playlist:hover {
    color: #d4af37;
    transition: 0.7s;
}
a.jp-playlist-item {
    color: #12232E;
}
a.jp-playlist-item:hover {
    color: #d4af37;
}
[class^="icon-"], [class*=" icon-"] {
    color: #12232E;
}
[class^="icon-"]:hover {
    color: #d4af37;
}
/* **************************************************************************
CONTACT FORM
************************************************************************** */
.gl-invalid-feedback {
    color: #f93154;
    font-size: .875rem;
    position: absolute;
    margin-top: -.75rem;
}
.form-outline-recaptcha.is-not-human {
    margin-bottom: 1rem;
}
.form-outline-recaptcha .gl-invalid-feedback {
    margin-top: 0.125rem;
}
/* **************************************************************************
FOOTER
************************************************************************** */
footer {
    background-color: #12232E;
}
.blockquote-footer {
    background-color:  #fff;
}