/*--------------------------------------------------------------
# Custom
--------------------------------------------------------------*/
.callToActionBar {
    background-color: #006CB4;
	background-image: url('/img/honeycomb_pattern_v8.png');
	background-size: 2%;
    text-align: center;
    padding: 60px 0px;
    margin: 30px 0;
}
.callToActionBar h4 {
    margin: 0 0 15px 0;
    font-weight: 400;
    color: #ffffff;
    text-transform: none;
    font-size: 1.8rem;
}
.customHeader {
    display: inline-block;
    margin: 0 auto 15px auto;
    text-transform: uppercase;
}
.customHeader:after {
    content: " ";
    height: 3px;
    background-color: #006CB4;
    display: block;
    margin-top: 5px;
}

/*
// Activate this class to add a background to a transparent menubar on subpages
.blackOutBar {
    display: block;
    height: 97px;
    background-color: rgba(0,0,0,0.8);
}
*/

#footer a {
    color: #fff;
}
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    background-color: #fff;
}
a {
    color: #006CB4;
    text-decoration: none !important;
    transition: all .1s linear;
}
.back-to-top {
    position: fixed;
    display: none;
    background: #006CB4;
    color: #fff !important;
    display: inline-block;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 39px;
    font-size: 20px;
    border-radius: 50%;
    right: 15px;
    bottom: 15px;
    transition: all .1s linear;
    z-index: 11;
}
.back-to-top:hover {
    opacity: 0.7;
}
.back-to-top:hover {
    opacity: 0.7;
}
.btn-primary {
    background-color: #006CB4;
    border-color: #006CB4;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    background-color: #006CB4;
    border-color: #006CB4;
}
.btn-custom {
    background-color: #006CB4;
    border-color: #006CB4;
}
#teamPage h1 {
    border-color: #006CB4;
}
#stableItemView h1, .basketTotalH1, #lessonItemView h1 {
    border-color: #006CB4;
}
.modal-header {
    background-color: #006CB4 !important;
}
.teamCard h1 {
    border-color: #006CB4;
}
.teamCard h4 {
    border-color: #006CB4;
}
.teamCard span i {
    color: #006CB4;
}
.customTeamViewBtn {
    border-color: #006CB4;
    color: #006CB4;
}
.customTeamViewBtn.active, .customTeamViewBtn:hover {
    border-color: #006CB4 !important;
    background-color: #006CB4 !important;
}
.eventBox a:hover {
    color: #006CB4;
}

/*-------------------------------------------------------------
# Slider dots
--------------------------------------------------------------*/
.owl-dots {
    text-align: center;
    margin-bottom: 15px;
}
.owl-dots button.owl-dot {
    background-color: #fff;
    border: 2px solid #006CB4;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    margin: 0 2px;
}
.owl-dots button.owl-dot.active {
    background-color: #006CB4;
}
/*--------------------------------------------------------------
# Menubar
--------------------------------------------------------------*/
nav.navbar {
    padding-top: 30px;
    padding-bottom: 30px;
}
.navbar.bg-dark {
    background-color: #fff!important;
    color:rgb(56, 56, 56) !important;
}
.navbar.bg-dark a {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    position: relative;
}
.navbar.bg-dark a.dropdown-item {
    color: rgb(56,56,56);
    font-weight: normal;
}
.navbar.bg-dark a:hover {
    color: rgb(56,56,56) !important;
}
.dropdown-toggle::after, .dropdown-menu-right .dropdown-toggle::before {
    font-family: "FontAwesome";
    content: "\f078" !important;
    border-color: transparent !important;
    font-size: 0.9em !important;
    border: none !important;
    display: inline;
    float: right;
    margin-right: 10px;
    right: 8px !important;
    line-height: 1.8em;
    top: 0 !important;
    transform: rotate(0deg) !important;
}
.dropdown-item.dropdown-toggle::after {
    content: "\f054" !important;
    line-height: 2em;
}
.dropdown-menu-right .dropdown-item.dropdown-toggle::before {
    position: absolute;
    content: "\f053" !important;
    margin-right: 0;
    left: 8px !important;
    right: auto;
    line-height: 2.5em;
    top: 0 !important;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(0,0,0,.7) !important;
}
.navbar-dark .navbar-nav .nav-link:before {
    content: " ";
    display: block;
    background-color: #006CB4;
    height: 2px;
    width: 0%;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: all .1s linear;
}
.navbar-dark .navbar-nav .nav-link:hover:before {
    width: 100%;
}
#menuArea {
    z-index: 1001;
    width: 100%;
    max-width: 100vw;
}
#menuArea .container {
    position: relative;
}
#menuArea .logo {
    position: absolute;
    top: 10px;
    right: 0;
    left: auto;
    z-index: 100;
    height: 75px;
    z-index: 1004;
}
#menuArea .logo img {
    width: auto !important;
    height: 100% !important;
    padding: 0 !important;
}
@media (min-width: 992px){
    #menuArea .logo {
        right: auto;
        left: 0;
    }
}
/*--------------------------------------------------------------
# Banner
--------------------------------------------------------------*/
#banner {
    width: 100%;
    height: 30vh;
    background-position: center center;
    background-size: cover;
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}
@media (min-width: 990px) {
    #banner {
        height: 60vh;
    }
}
#banner .banner-content {
    z-index: 100;
    margin: 0;
    padding: 0 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 100%;
    background-color: rgba(0,0,0,0);
    text-align: center;
    color: #fff !important;
}
#banner.subPage .banner-content {
    background-color: transparent;
    box-shadow: none;
}
#banner .banner-content h1 {
    text-align: center;
    color: #ffffff;
    font-size: 4em !important;
    font-weight: 700;
    font-style: normal;
    line-height: 1.5em;
    letter-spacing: 1.3px;
    padding: 0;
    margin: 0;
	text-shadow: 2px 1px #000;
}
#banner .banner-content h2 {
    text-align: center;
    color: #ffffff;
    font-size: 2em !important;
    font-weight: 700;
    font-style: normal;
    line-height: 1.5em;
    letter-spacing: 1.3px;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 12px 0px;
	text-shadow: 2px 1px #000;
}
#banner .banner-content p {
    text-align: center;
    color: #ffffff;
    font-size: 1.2em !important;
    font-weight: 500;
    text-transform: none;
    font-style: normal;
    text-decoration: none;
    line-height: 1.5em;
    letter-spacing: 2.7px;
    margin: -21px 0px 0px 0px;
	text-shadow: 2px 1px #000;
}
@media (min-width: 990px) {
    #banner.subPage .banner-content {
        display: block;
    }
    #banner.subPage {
        height: 35vh;
        display: block;
    }
    #banner .banner-content h2 {
        font-size: 3.5em !important;
    }
    #banner .banner-content p {
        font-size: 2em !important;
        font-size: 49px;
    }
}
/* Left aligned version */
#banner .banner-content.left-version {
    top: 45%;
    background-color: transparent;
    text-align: left;
    padding-left: 30px;
}
#banner .banner-content.left-version h2 {
    text-align: left;
}
#banner .banner-content.left-version p {
    text-align: left;
}

@media (max-width: 990px) {
	.mainBannerCarousel .elementBackground {
        height: 30vh !important;
    }
    #banner .banner-content.left-version {
        text-align: center;
        padding: 0 15px;
    }
    #banner .banner-content.left-version h2 {
        text-align: center;
        margin-bottom: 30px;
    }
    #banner .banner-content.left-version p {
        text-align: center;
        margin-bottom: 15px;
    }
    #banner .banner-content a.logo {
        margin: 0 auto 0 auto;
    }
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#subFooter {
    background-color: #383838 !important;
    margin: 0;
    color: #fff;
    padding: 15px 0;
}
#subFooter a {
    color: #fff;
    transition: all .1s linear;
}
#subFooter a:hover {
    color: #006CB4!important;
}
#subFooter .creditCardLogoBar img {
    display: inline-block;
    max-width: 20% !important;
    height: 30px !important;
    float: right;
    margin-left: 10px;
}
#footer {
    background: #222!important;
    padding: 0 0 30px 0;
    margin-top: 30px !important;
    color: #fff;
    font-size: 14px;
}

#footer .footer-top {
    background: #111;
    padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
    margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
    font-size: 34px;
    margin: 0 0 20px 0;
    padding: 2px 0 2px 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 3px;
    border-left: 4px solid #006CB4;
}

#footer .footer-top .footer-info p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    color: #eee;
}

#footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #333;
    color: #eee;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
    background: #006CB4;
    color: #fff;
}

#footer .footer-top h4 {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 12px;
}

#footer .footer-top h4::before, #footer .footer-top h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
}

#footer .footer-top h4::before {
    right: 0;
    background: #555;
}

#footer .footer-top h4::after {
    background: #006CB4;
    width: 60px;
}

#footer .footer-top .footer-links {
    margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer .footer-top .footer-links ul i {
    padding-right: 8px;
    color: #ddd;
}

#footer .footer-top .footer-links ul li {
    border-bottom: 1px solid #333;
    padding: 10px 0;
}

#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

#footer .footer-top .footer-links ul a {
    color: #eee;
}

#footer .footer-top .footer-links ul a:hover {
    color: #006CB4;
}

#footer .footer-top .footer-contact {
    margin-bottom: 30px;
}

#footer .footer-top .footer-contact p {
    line-height: 26px;
}

#footer .footer-top .footer-newsletter {
    margin-bottom: 30px;
}


#footer .footer-top .footer-newsletter input[type="submit"] {
    background: #006CB4;
    border: 0;
    width: 35%;
    padding: 6px 0;
    text-align: center;
    color: #fff;
    transition: 0.3s;
    cursor: pointer;
}

#footer .footer-top .footer-newsletter input[type="submit"]:hover {
    background: #13a456;
}

#footer .copyright {
    text-align: center;
    padding-top: 30px;
}

#footer .credits {
    text-align: center;
    font-size: 13px;
    color: #ddd;
}

.carousel-background {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
}
#footer h4 {
    color: #fff;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 30px;
    border-left: 3px solid #006CB4;
    padding-left: 6px;
}
#footer p {
    margin: 0 !important;
}
#footer ul {
    list-style: disc;
    padding: 0;
    margin-left: 17px;
}
#footer ul li i{
    color: #006CB4;
    font-size: 1.2em;
}
#footer a.socialMediaFooterIcons {
    display:inline-block;
    margin: 15px 0;
    border-radius: 2px;
}
#footer a.facebookLinkIcon {
    background-color: #006CB4;
    font-size: 25px;
    color: #fff;
    margin-top: 15px;
    text-align: center;
    width: 50px;
    line-height: 50px;
    transition: all .1s linear;
}
#footer a.facebookLinkIcon:hover {
    transform: scale(1.2,1.2);
}
.navbar.bg-dark {
    background-color: #fff !important;
}
.navbar-dark .navbar-toggler-icon {
    background-image: none !important;
}
.navbar-dark .navbar-toggler-icon:after {
    content: "\f0c9";
    font-family: "FontAwesome";
    color: #000;
    font-size: 1.5em;
}
/*--------------------------------------------------------------
# Frontpage News
--------------------------------------------------------------*/
.newsBoxMain .btn-primary, .newsBoxSub .btn-primary {
    color: #fff;
    background-color: #006CB4;
    border-color: #006CB4;
}
.newsBoxMain {
    background-color: #000;
    margin-bottom: 15px;
    position: relative;
}
.newsBoxMain .contentArea {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    background-color: rgba(0,0,0,.5);
    padding: 5px;
}
.newsBoxMain .contentArea h3 {
    color: #006CB4;
    margin: 0;
    font-size: 1.5em;
}
.newsBoxMain .contentArea p {
    margin: 0;
    display: block;
    display: -webkit-box;
    height: 3em;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.newsBoxMain a {
    text-decoration: none;
    color: #fff;
}
.newsBoxMain .newsImg {
    display: block;
    width: 100%;
    height: 300px;
    background-position: center center;
    background-size: cover;
}

.newsBoxSub {
    background-color: #fff;
    padding: 5px;
    margin-bottom: 15px;
}
.newsBoxSub .newsImg {
    display: block;
    width: 100%;
    height: 150px;
    background-position: center center;
    background-size: cover;
}
.newsBoxSub h3 {
    color: #006CB4;
    margin: 10px 0;
    font-size: 1.5em;
}
.newsBoxSub p {
    margin: 0 0 10px 0;
    display: block;
    display: -webkit-box;
    height: 8.55em;
    line-height: 1.4;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}