html, body {
    scroll-behavior: smooth !important;
}
body {
    font-family: "Calibri Light", Helvetica, Arial, Sans-Serif;
    background-image: linear-gradient(to right, #002954, #3645dc , #2b7ead);
    color:#fff;
    padding:80px 0;
    overflow-x:hidden;
    z-index:1;
}

a {
    text-decoration: none !important;
}

a:hover {
    color: unset;
}

#header {
    z-index:100;
}

#island {
    position:absolute;
    height:150px;
    width:200px;
    right:0;
    top:-60px;
    background: transparent url('img/island.svg') no-repeat top left;
    background-size: cover;
    z-index:1;
}

#club-boat {
    position:absolute;
    height:100px;
    width:200px;
    right:50%;
    top:-70px;
    background: transparent url('img/boat.svg') no-repeat top left;
    background-size: cover;
    z-index:1;
}

@keyframes swing {
    0%, 100% {
        transform: rotate(-4deg);
        transform-origin: bottom center;
    }
    50% {
        transform: rotate(4deg);
        transform-origin: bottom center;
    }

}

#buoy-wrapper {
    min-height:30px;
}

#buoy {
    position:absolute;
    height:200px;
    width:100px;
    right:60%;
    top:-150px;
    background: transparent url('img/buoy.svg') no-repeat top left;
    background-size: cover;
    animation: swing 6s infinite ease-in-out;
    z-index:1;
}

#buoy-label {
    position:absolute;
    top:-20px;
    left:0;
    right:0;
    color:#000000;
}
#buoy-label.night  {
    color:#fff !important;
}

#buoy-date {
    position:absolute;
    top:10px;
    left:10px;
    width:80px;
    color:#000000;
}


#sky {
    height:30vh;
    min-height: 200px;
    width:100vw;
    overflow: hidden !important;
    z-index:1;
}
#sky.day {
    background-image: radial-gradient(ellipse at top center, #a0dcf3, #43cbef, #00c0ff);
}

#sky.dusk {
    background-image: radial-gradient(ellipse at bottom left, #e1a32f, #dc5d36, #983a81);
}

#sky.dawn {
    background-image: radial-gradient(ellipse at bottom right, #ecdcbd, #3665dc, #090a64);
}

#sky.night {
    background-image: radial-gradient(ellipse at top right, #505381 0%, #505381 15%, #090a64, #1f0642);
}

#sun {
    position:relative;
    height:300px;
    width:300px;
    border-radius: 300px;
    -moz-border-radius: 300px;
    -webkit-border-radius: 300px;
    background-color: #e7b42f;
}



#sky.dawn #sun {
    top:225px !important;
    left:80%;
    box-shadow: 0 0 150px 0 rgba(255,255,255,1);
}

#sky.day #sun {
    top:-260px;
    left:50%;
    margin-left:-150px;
    box-shadow: 0 0 150px 0 rgba(231, 180, 47, 1);
}

#sky.dusk #sun {
    top:225px !important;
    left:5%;
    box-shadow: 0 0 150px 0 rgba(255,255,255,1);
}

#sky.night #sun {
    top:20px !important;
    height:80px;
    width:80px;
    left:75%;
    background-image: radial-gradient(#f3f0f0, #e7e7e7, #fafafc);
    box-shadow: 0 0 150px 0 rgba(255,255,255,1);
}


.header-icon {
    width:auto;
    height:60px;
    max-width:80%;
}


#header {
    background-color: #0a58ca;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.35);
}

#page {
    display: none;
}

#footer {
    color:#fff;
    background-color:#002954 !important;
    font-size:10px;
    z-index: 10;
}

#footer a {
    color:#59d2db;
}
#footer a:hover {
    color:#ccd4dd;
}

#search-footer {
    background-color:#667e98 !important;
}

#header .nav-link.active,
#header .nav-link:hover {
    background-color:#59d2db !important;
    color:#002954 !important;
}
#header .dropdown-menu .nav-link.active,
#header .dropdown-menu .nav-link:hover,
.dropdown-item:hover {
    background-color:#626262 !important;
    color:#fff !important;
}

#navbarCollapse .nav-link {
    line-height:60px;
    height:60px;
    padding:0 1.5rem;
    text-transform: uppercase;
}

.navbar-toggler:focus,
button.btn:focus {
    box-shadow: none !important;
}

.navbar-dark .navbar-nav .nav-link {
    color:#fff;
}

.container {
    z-index:10;
}

h1, h2, h3, h4, h5, h6, .font-bahn, .font-barlow, .font-heading, .font-title {
    font-family: "Barlow Bold", Helvetica, Sans-Serif;
    font-weight: normal;
}

h1, h3, h5 {
    color: #ffffff;
}

h2, h4, h6 {
    color:#59d2db;
}

.bhfc-form .form-group {
    position:relative !important;
    z-index:1;
}


#browser {
    height:100%;
    z-index:1200 !important;
    transition: top 1s ease-in-out !important;
}

.form-error {
    position:absolute;
    top:100%;
    left:0;
    background-color: #8c0c0c;
    color:#fff;
    padding: 0.5rem;
    z-index:15;
}

label {
    font-family: "Barlow Light", Helvetica, Sans-Serif !important;
    font-weight: normal !important;
    color:#fbbd15;
    z-index:1;
}

.form-control {
    z-index:1;
}

.form-control.readonly {
    opacity:50%;
}

.form-control:focus {
    box-shadow: none !important;
}

.nice-toggle {
    margin-top:20px;
    padding-bottom:20px;
    height:10px;
    background-color:#59d2db;
    transition: all 500ms ease-in-out;
}
.nice-toggle.nice-toggle-off {
    background-color:#E0423A;
}

.nice-toggle-label {
    position:relative;
    display: block;
    float: left;
    margin-top:-15px;
    height:40px;
    width:50% !important;
    transition: all 500ms ease-in-out;
    left:0;
}

.nice-toggle.nice-toggle-off .nice-toggle-label {
    left:50%
}


@media (max-width: 900px) {
    .nice-toggle-label {
        width:70% !important
    }

    .nice-toggle.nice-toggle-off .nice-toggle-label {
        left:30%
    }
}

.bhfc-alert {
    position:fixed;
    top:130px;
    right: -60%;
    max-width:50%;
    min-width:30%;
    z-index:1100;
}

.booking-row.status-1 .bg-status,
.booking-row.status-1 .calendar-month {
    background-color:#ff9e1c;
    color:#000000;
}

.user-row.status-1 .bg-status,
.booking-row.status-2 .bg-status,
.booking-row.status-2 .calendar-month {
    background-color:#b3da16;
    color:#000000;
}

.user-row.status-2 .bg-status,
.booking-row.status-3 .bg-status,
.booking-row.status-4 .bg-status,
.booking-row.status-3 .calendar-month,
.booking-row.status-4 .calendar-month{
    background-color:#c42222;
    color:#ffffff;
}

.booking-row.status-5 .bg-status,
.booking-row.status-5 .calendar-month {
    background-color:#002954;
    color:#ffffff;
}


.booking-row.status-1,
.bdr-secondary.status-1 {
    border-color:#ff9e1c !important;
}

.booking-row.status-1 .txt-status {
    color:#ff9e1c !important;
}

.user-row.status-1,
.booking-row.status-2,
.bdr-secondary.status-2 {
    border-color:#b3da16 !important;
}

.user-row.status-1 .txt-status,
.booking-row.status-2 .txt-status {
    color:#b3da16 !important;
}

.user-row.status-2,
.booking-row.status-3,
.booking-row.bdr-secondary.status-3,
.booking-row.status-4,
.booking-row.bdr-secondary.status-4 {
    border-color:#c42222 !important;
}

.user-row.status-2 .txt-status,
.booking-row.status-3 .txt-status,
.booking-row.status-4 .txt-status {
    color:#c42222 !important;
}

.booking-row.status-5,
.booking-row.bdr-secondary.status-5 {
    border-color:#002954 !important;
}

.booking-row.status-5 .txt-status {
    color:#002954 !important;
}




.bhfc-alert-success {
    background-color:#b3da16 !important;
    color:#000 !important;
}

.bhfc-alert-error {
    background-color:#c42222 !important;
    color:#fff !important;
}

.bhfc-alert-warning {
    background-color:#ff9e1c !important;
    color:#000 !important;
}

.bhfc-action {
    border: none !important;
}

.bhfc-loader {

}

#webpage-content-body {
    min-height:250px !important;
    align-items: start;
}

#wysiwyg-fixed-toolbar .tox-tinymce-inline {
    display: flex !important;
}


input, .form-control {
    font-family: 'ARS Maquette Pro', Helvetica, Sans-Serif;
    font-weight: normal;
    font-size: 1rem;
}

.form-control.bg-clear,
.form-control.bg-clear:focus{
    background-color: transparent;
    border-radius: 0px !important;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-left: none;
    border-top: none;
    border-right: none;
}


.form-control.bg-clear::placeholder {
    color:#ccc;
}

select option {
    color:#000;
}

.bhfc-form-error input,
.bhfc-form-error .form-control {
    background-color: #ffe0e0 !important;
    border-color:#c42222 !important;
}

.bhfc-form-error label {
    color: #ff9e1c !important;
}

.fish-icon {
    fill: #fbbd15 !important;
}

[class^="bg"], button, a {
    transition: background-color 450ms ease-in-out !important;
}

.cur-pointer:hover {
    cursor: pointer;
}

.bhfc-leaderboard:nth-child(2n+2) {
    background-color:#def6f8 !important;
}

.ui-datepicker table {
    margin-bottom: 0 !important;
}

.guest-event a.ui-state-default {
    background-color: #aee8ee
}

.club-event a.ui-state-default {
    background-color: #ffebbe
}

.bg-primary, .bg-primary-hover:hover,
a.bg-primary, a.bg-primary-hover:hover,
button.bg-primary, button.bg-primary-hover:hover,
.bg-theme-1, .bg-theme-1-hover:hover,
a.bg-theme-1, a.bg-theme-1-hover:hover,
button.bg-theme-1, button.bg-theme-1-hover:hover
{background-color:#002954 !important;color:#ffffff !important}

.bg-secondary, .bg-secondary-hover:hover,
a.bg-secondary, a.bg-secondary-hover:hover,
button.bg-secondary, button.bg-secondary-hover:hover,
.bg-theme-2, .bg-theme-2-hover:hover,
a.bg-theme-2, a.bg-theme-2-hover:hover,
button.bg-theme-2, button.bg-theme-2-hover:hover
{background-color:#59d2db !important;color:#232426 !important}

.bg-tertiary, .bg-tertiary-hover:hover,
a.bg-tertiary, a.bg-tertiary-hover:hover,
button.bg-tertiary, button.bg-tertiary-hover:hover,
.bg-theme-3, .bg-theme-3-hover:hover,
a.bg-theme-3, a.bg-theme-3-hover:hover,
button.bg-theme-3, button.bg-theme-3-hover:hover
{background-color:#667e98 !important;color:#ffffff !important}

.bg-theme-4, .bg-theme-4-hover:hover,
a.bg-theme-4, a.bg-theme-4-hover:hover,
button.bg-theme-4, button.bg-theme-4-hover:hover
{background-color:#def6f8 !important;color:#232426 !important}

.bg-theme-5, .bg-theme-5-hover:hover,
a.bg-theme-5, a.bg-theme-5-hover:hover,
button.bg-theme-5, button.bg-theme-5-hover:hover
{background-color:#232426 !important;color:#ffffff !important}

.txt-primary, .txt-primary-hover:hover,
a.txt-primary, a.txt-primary-hover:hover,
.txt-theme-1, .txt-theme-1-hover:hover      {color:#002954 !important}

.txt-secondary, .txt-secondary-hover:hover,
.txt-theme-2, .txt-theme-2-hover:hover      {color:#59d2db !important}

.txt-tertiary, .txt-tertiary-hover:hover,
.txt-theme-3, .txt-theme-3-hover:hover      {color:#667e98 !important}

.txt-theme-4, .txt-theme-4-hover:hover      {color:#def6f8 !important}

.txt-theme-5, .txt-theme-5-hover:hover      {color:#232426 !important}

.bdr-primary, .bdr-primary-hover:hover,
.bdr-theme-1, .bdr-theme-1-hover:hover      {border-color:#002954 !important}

.bdr-secondary, .bdr-secondary-hover:hover,
.bdr-theme-2, .bdr-theme-2-hover:hover      {border-color:#59d2db !important}

.bdr-tertiary, .bdr-tertiary-hover:hover,

.bdr-theme-3, .bdr-theme-3-hover:hover      {border-color:#667e98 !important}

.bdr-theme-4, .bdr-theme-4-hover:hover      {border-color:#def6f8 !important}

.bdr-theme-5, .bdr-theme-5-hover:hover      {border-color:#232426 !important}


/* Primary and Secondary Palettes - 2021 Branding Guide */

/* Primary */

.bg-primary-1, .bg-primary-1-hover:hover,
a.bg-primary-1, a.bg-primary-1-hover:hover,
button.bg-primary-1, button.bg-primary-1-hover:hover
{background-color:#002954 !important;color:#ffffff !important}

.bg-primary-2, .bg-primary-2-hover:hover,
a.bg-primary-2, a.bg-primary-2-hover:hover,
button.bg-primary-2, button.bg-primary-2-hover:hover
{background-color:#335476 !important;color:#ffffff !important}

.bg-primary-3, .bg-primary-3-hover:hover,
a.bg-primary-3, a.bg-primary-3-hover:hover,
button.bg-primary-3, button.bg-primary-3-hover:hover
{background-color:#667e98 !important;color:#ffffff !important}

.bg-primary-4, .bg-primary-4-hover:hover,
a.bg-primary-4, a.bg-primary-4-hover:hover,
button.bg-primary-4, button.bg-primary-4-hover:hover
{background-color:#99a9bb !important;color:#454a48 !important}

.bg-primary-5, .bg-primary-5-hover:hover,
a.bg-primary-5, a.bg-primary-5-hover:hover,
button.bg-primary-5, button.bg-primary-5-hover:hover
{background-color:#ccd4dd !important;color:#454a48 !important}

.bdr-primary-1, .bdr-primary-1-hover:hover      {border-color:#002954 !important}
.bdr-primary-2, .bdr-primary-2-hover:hover      {border-color:#335476 !important}
.bdr-primary-3, .bdr-primary-3-hover:hover      {border-color:#667e98 !important}
.bdr-primary-4, .bdr-primary-4-hover:hover      {border-color:#99a9bb !important}
.bdr-primary-5, .bdr-primary-5-hover:hover      {border-color:#ccd4dd !important}

.txt-primary-1, .txt-primary-1-hover:hover, a.txt-primary-1, a.txt-primary-1-hover:hover      {color:#002954 !important}
.txt-primary-2, .txt-primary-2-hover:hover, a.txt-primary-2, a.txt-primary-2-hover:hover      {color:#335476 !important}
.txt-primary-3, .txt-primary-3-hover:hover, a.txt-primary-3, a.txt-primary-3-hover:hover      {color:#667e98 !important}


/* Secondary */

.bg-secondary-1, .bg-secondary-1-hover:hover,
a.bg-secondary-1, a.bg-secondary-1-hover:hover,
button.bg-secondary-1, button.bg-secondary-1-hover:hover
{background-color:#59d2db !important;color:#454a48 !important}

.bg-secondary-2, .bg-secondary-2-hover:hover,
a.bg-secondary-2, a.bg-secondary-2-hover:hover,
button.bg-secondary-2, button.bg-secondary-2-hover:hover
{background-color:#7adbe2 !important;color:#454a48 !important}

.bg-secondary-3, .bg-secondary-3-hover:hover,
a.bg-secondary-3, a.bg-secondary-3-hover:hover,
button.bg-secondary-3, button.bg-secondary-3-hover:hover
{background-color:#9be4e9 !important;color:#454a48 !important}

.bg-secondary-4, .bg-secondary-4-hover:hover,
a.bg-secondary-4, a.bg-secondary-4-hover:hover,
button.bg-secondary-4, button.bg-secondary-4-hover:hover
{background-color:#bdedf1 !important;color:#454a48 !important}

.bg-secondary-5, .bg-secondary-5-hover:hover,
a.bg-secondary-5, a.bg-secondary-5-hover:hover,
button.bg-secondary-5, button.bg-secondary-5-hover:hover
{background-color:#def6f8 !important;color:#454a48 !important}


.bdr-secondary-1, .bdr-secondary-1-hover:hover      {border-color:#59d2db !important}
.bdr-secondary-2, .bdr-secondary-2-hover:hover      {border-color:#7adbe2 !important}
.bdr-secondary-3, .bdr-secondary-3-hover:hover      {border-color:#9be4e9 !important}
.bdr-secondary-4, .bdr-secondary-4-hover:hover      {border-color:#bdedf1 !important}
.bdr-secondary-5, .bdr-secondary-5-hover:hover      {border-color:#def6f8 !important}

.txt-secondary-1, .txt-secondary-1-hover:hover, a.txt-secondary-1, a.txt-secondary-1-hover:hover      {color:#59d2db !important}
.txt-secondary-2, .txt-secondary-2-hover:hover, a.txt-secondary-2, a.txt-secondary-2-hover:hover      {color:#7adbe2 !important}
.txt-secondary-3, .txt-secondary-3-hover:hover, a.txt-secondary-3, a.txt-secondary-3-hover:hover      {color:#9be4e9 !important}


.ocean {
    position:fixed;
    width: 100vw;
    height: 100vh;
    top:400px;
    left:0;
    background: #015871;
    transition: top 2s ease-in-out;
    z-index:20;
}

.ocean.hidden-waves {
    top:150%;
}

.wave {
    background: url('img/wave.svg') repeat-x;
    position: absolute;
    top: -198px;
    width: 6400px;
    height: 198px;
    animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) infinite;
    transform: translate3d(0, 0, 0);
}

.wave:nth-of-type(2) {
    top: -175px;
    animation: wave 7s cubic-bezier( 0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite;
    opacity: 1;
}

@keyframes wave {
    0% {
        margin-left: 0;
    }
    100% {
        margin-left: -1600px;
    }
}

@keyframes swell {
    0%, 100% {
        transform: translate3d(0,-25px,0);
    }
    50% {
        transform: translate3d(0,5px,0);
    }
}
