/*
Theme Name: Dolbadarn Film Horses
Description: Custom theme for Dolbadarn Film Horses
Author: Bilberry Design
Author URI: https://www.bilberry.design/
Version: 1
*/

/* loader */

.no-js #loader {
    display: none;
}

.js #loader {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #1d1d1b;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader i {
    color: #fff;
    font-size: 3em;
}

.fa-spin-custom, .glyphicon-spin {
    -webkit-animation: spin 1000ms infinite linear;
    -moz-animation: spin 1000ms infinite linear;
    animation: spin 1000ms infinite linear;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-moz-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-ms-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

/* web site */

/* colours
    Body text: #191919;
    Link text: #641604;
    Link hover text: #191919;
    Red: #641604;
    Dark red: #3c120d;
    Blue: #045162;
*/

html {
    font-size: 13pt;
    line-height: 200%;
}

body {
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #191919;
    padding: 0;
    margin: 0;
    background-color: #fff;
}

a {
    color: #641604;
    font-weight: 400;
    text-decoration: none;
    -webkit-transition: all .3s ease-in-out, all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out, all .3s ease-in-out;
    -o-transition: all .3s ease-in-out, all .3s ease-in-out;
    transition: all .3s ease-in-out, all .3s ease-in-out;
}

a:hover, a:focus, a:active {
    color: #191919;
    text-decoration: none;
}

.btn {
    font-weight: 600;
    -webkit-transition: all .3s ease-in-out, all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out, all .3s ease-in-out;
    -o-transition: all .3s ease-in-out, all .3s ease-in-out;
    transition: all .3s ease-in-out, all .3s ease-in-out;
}

h1, h2, h3, h4, h5 {
    font-weight: 300;
    margin: 30px 0;
}

h1 {
    font-weight: 600;
    margin-top: 0;
}

p {
    margin: 30px 0;
}

.welcome {
    display: block;
    margin: 20px 0 0 0;
    font-weight: 300;
}

/* media queries */

@media only screen and (max-width: 991px) {
    body {
        padding-top: 120px;
    }
    body.scroll {
        padding-top: 80px;
    }
    h1 {
        font-size: 1.75rem;
    }
    h2,
    h3 {
        font-size: 1.25rem;
    }
    h4,
    h5 {
        font-size: 1.1rem;
    }
    body.home h1 {
        font-size: 1.25rem;
    }
    body.home h2,
    body.home h3,
    .welcome {
        font-size: 1.75rem;
    }
}

@media only screen and (min-width: 992px) {
    body {
        padding-top: 120px;
    }
    body.scroll {
        padding-top: -80px;
    }
    h1 {
        font-size: 2rem;
    }
    h2,
    h3 {
        font-size: 1.5rem;
    }
    h4,
    h5 {
        font-size: 1.25rem;
    }
    body.home h1 {
        font-size: 1.5rem;
    }
    body.home h2,
    body.home h3,
    .welcome{
        font-size: 2rem;
    }
}

@media only screen and (min-width: 1200px) {
    h1 {
        font-size: 2.25rem;
    }
    h2,
    h3 {
        font-size: 1.75rem;
    }
    h4,
    h5 {
        font-size: 1.5rem;
    }
    body.home h1 {
        font-size: 1.75rem;
    }
    body.home h2,
    body.home h3,
    .welcome{
        font-size: 2.25rem;
    }
}

@media only screen and (min-width: 1600px) {
    h1 {
        font-size: 2.5rem;
    }
    h2,
    h3 {
        font-size: 2rem;
    }
    h4,
    h5 {
        font-size: 1.75rem;
    }
    body.home h1 {
        font-size: 2rem;
    }
    body.home h2,
    body.home h3,
    .welcome{
        font-size: 2.5rem;
    }
}

/* standard responsive layout */

.container-fluid {
    max-width: 100% !important;
}

.content-container {
    padding-top: 25px;
    padding-bottom: 25px;
}

.content-container.no-bottom-padding {
    padding-bottom: 0 !important
}

.content-container.no-top-padding {
    padding-top: 0 !important
}

[class*="col-"] {
    padding: 20px;
}

.row [class*="col-"] .row.no-top-padding [class*="col-"] p:first-of-type {
    /* specific to about us page */
    margin-top: 0;
}

/* media queries */

@media only screen and (min-width: 1200px) {
    .content-container {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

/* fixed width content */

@media only screen and (min-width: 1600px) {
    .container-fluid .row {
        max-width: 1600px !important;
        margin: 0 auto;
    }
}

.darkgrey {
    background-color: #2c2631;
    color: #fff;
}

.red {
    background-color: #5c1a26;
    color: #fff;
}

.white {
    background-color: #fff;
}

/* header */

header {
    -webkit-transition: all .3s ease-in-out, all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out, all .3s ease-in-out;
    transition: all .3s ease-in-out, all .3s ease-in-out;
}

body.scroll header {
    margin-top: -60px;
}

header .container.white [class*="col-"],
header .container.darkgrey [class*="col-"] {
    padding: 0;
}

header .container.white [class*="col-"] {
    height: 60px;
}

header .container.white a {
    color: #2c2631;
}

header .container.white a:hover, header .container.white a:focus, header .container.white a:active {
    color: #5c1a26;
}

header .container.white ul.social,
header .container.white ul.contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

header .container.white ul.contact {
    float: right;
}

header .container.white ul.social li,
header .container.white ul.contact li {
    height: 60px;
    display: inline-flex;
    align-items: center;
    padding: 0;
}

header .container.white ul.social li {
    margin: 0 0 0 -5px;
}

header .container.white ul.social li:first-of-type {
    margin: 0;
}

header .container.white ul.contact li {
    margin: 0 0 0 15px;
    float: left;
}

header .container.white ul.contact li:first-of-type {
    margin: 0;
}

header .container.white ul.social li span:first-of-type {
    font-size: 85%;
}

header .container.white ul.social li a span:last-of-type {
    display: none;
    visibility: hidden;
}

/* media queries */

@media only screen and (max-width: 767px) {
    header .container.white .col-4 {
        width: 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    header .container.white .col-8 {
        width: 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    header .container.white ul.contact li a i {
        margin: 0 0 0 10px;
    }
    header .container.white ul.contact li a span {
        display: none;
        visibility: hidden;
    }
}

@media only screen and (min-width: 768px) {
    header .container.white ul.contact li a i {
        margin: 0 5px 0 0;
    }
}

@media only screen and (max-width: 1599px) {
    header .container.white .col-4 {
        padding-left: 20px;
    }
    header .container.white .col-8 {
        padding-right: 20px;
    }
}

/* film strip */

.film-strip {
    width: 100%;
    height: 28px;
    display: block;
    position: relative;
    z-index: 11;
}

.film-strip-grey {
    background: url(assets/images/css/film-strip-grey.png) bottom center no-repeat;
}

.film-strip-white {
    background: url(assets/images/css/film-strip-white.png) bottom center no-repeat;
}

/* navigation common */

.navbar-brand {
    display: block !important;
    visibility: visible !important;
}

.navbar-brand .img-fluid {
    max-height: 40px;
}

.navbar-brand:hover, .navbar-brand:focus, .navbar-brand:active {
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.nav-item a {
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0;
}

.dropdown-toggle:after {
    color: #fff;
    -webkit-transition: all .3s ease-in-out, all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out, all .3s ease-in-out;
    transition: all .3s ease-in-out, all .3s ease-in-out;
    transform: rotate(-90deg);
}

.dropdown-toggle[aria-expanded="true"]:after {
    transform: rotate(0deg);
}

.dropdown-menu {
    margin: 0;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.dropdown-menu ul {
    width: 100%;
    padding: 0;
    border-radius: 0;
    list-style-type: none;
}

.dropdown-menu li .dropdown-item {
    padding: 20px !important;
    text-transform: none;
}

/* standard mobile navigation */

@media only screen and (max-width: 991px) {
    .navbar {
        height: 60px;
    }
    .navbar-toggler {
        border: none;
        position: absolute;
        background-color: transparent;
        height: 60px;
        right: 10px;
        z-index: 999;
    }
    .navbar-toggler:focus {
        outline: none !important;
    }
    .navbar-toggler span {
        display: block;
        float: left;
    }
    .navbar-toggler span:first-of-type {
        color: #fff;
        width: auto;
        padding: 0 10px 0 0;
    }
    .navbar-toggler span:last-of-type {
        width: 30px;
    }
    .navbar-toggler i {
        background-color: #fff;
        border-radius: 2px;
        content: '';
        display: block;
        height: 4px;
        width: 30px !important;
    }
    .navbar-toggler i:nth-child(1) {
        -webkit-animation: outT 0.8s backwards;
        animation: outT 0.8s backwards;
        -webkit-animation-direction: reverse;
        animation-direction: reverse;
    }
    .navbar-toggler i:nth-child(2) {
        margin: 5px 0;
        -webkit-animation: outM 0.8s backwards;
        animation: outM 0.8s backwards;
        -webkit-animation-direction: reverse;
        animation-direction: reverse;
    }
    .navbar-toggler i:nth-child(3) {
        -webkit-animation: outBtm 0.8s backwards;
        animation: outBtm 0.8s backwards;
        -webkit-animation-direction: reverse;
        animation-direction: reverse;
    }
    .navbar-toggler.active i:nth-child(1) {
        -webkit-animation: inT 0.8s forwards;
        animation: inT 0.8s forwards;
    }
    .navbar-toggler.active i:nth-child(2) {
        -webkit-animation: inM 0.8s forwards;
        animation: inM 0.8s forwards;
    }
    .navbar-toggler.active i:nth-child(3) {
        -webkit-animation: inBtm 0.8s forwards;
        animation: inBtm 0.8s forwards;
    }
    @-webkit-keyframes inM {
        50% {
            -webkit-transform: rotate(0deg);
        }
        100% {
            -webkit-transform: rotate(45deg);
        }
    }
    @keyframes inM {
        50% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(45deg);
        }
    }
    @-webkit-keyframes outM {
        50% {
            -webkit-transform: rotate(0deg);
        }
        100% {
            -webkit-transform: rotate(45deg);
        }
    }
    @keyframes outM {
        50% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(45deg);
        }
    }
    @-webkit-keyframes inT {
        0% {
            -webkit-transform: translateY(0px) rotate(0deg);
        }
        50% {
            -webkit-transform: translateY(9px) rotate(0deg);
        }
        100% {
            -webkit-transform: translateY(9px) rotate(135deg);
        }
    }
    @keyframes inT {
        0% {
            transform: translateY(0px) rotate(0deg);
        }
        50% {
            transform: translateY(9px) rotate(0deg);
        }
        100% {
            transform: translateY(9px) rotate(135deg);
        }
    }
    @-webkit-keyframes outT {
        0% {
            -webkit-transform: translateY(0px) rotate(0deg);
        }
        50% {
            -webkit-transform: translateY(9px) rotate(0deg);
        }
        100% {
            -webkit-transform: translateY(9px) rotate(135deg);
        }
    }
    @keyframes outT {
        0% {
            transform: translateY(0px) rotate(0deg);
        }
        50% {
            transform: translateY(9px) rotate(0deg);
        }
        100% {
            transform: translateY(9px) rotate(135deg);
        }
    }
    @-webkit-keyframes inBtm {
        0% {
            -webkit-transform: translateY(0px) rotate(0deg);
        }
        50% {
            -webkit-transform: translateY(-9px) rotate(0deg);
        }
        100% {
            -webkit-transform: translateY(-9px) rotate(135deg);
        }
    }
    @keyframes inBtm {
        0% {
            transform: translateY(0px) rotate(0deg);
        }
        50% {
            transform: translateY(-9px) rotate(0deg);
        }
        100% {
            transform: translateY(-9px) rotate(135deg);
        }
    }
    @-webkit-keyframes outBtm {
        0% {
            -webkit-transform: translateY(0px) rotate(0deg);
        }
        50% {
            -webkit-transform: translateY(-9px) rotate(0deg);
        }
        100% {
            -webkit-transform: translateY(-9px) rotate(135deg);
        }
    }
    @keyframes outBtm {
        0% {
            transform: translateY(0px) rotate(0deg);
        }
        50% {
            transform: translateY(-9px) rotate(0deg);
        }
        100% {
            transform: translateY(-9px) rotate(135deg);
        }
    }
    .navbar-collapse::before {
        content: "-";
        text-align: center;
        display: block;
        width: 100%;
        aspect-ratio: 1 / 0.05 !important;
        background-color: #2c2631;
        color: #2c2631;
        -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 25%, 0% 100%);
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 25%, 0% 100%);
    }
    .navbar-collapse {
        position: absolute;
        padding: 0 0 80px 0;
        top: 66px;
        right: 100%;
        transition: all 0.3s ease;
        display: block;
        background-color: #5c1a26;
        height: 100vh;
        width: 100%;
        overflow-y: auto;
    }
    .navbar-collapse.collapsing {
        height: auto !important;
        margin-right: 50%;
        transition: all 0.3s ease;
        display: block;
    }
    .navbar-collapse.show {
        right: 0;
        z-index: 999;
    }
    .nav-item .nav-link {
        font-weight: 400;
        color: #fff;
        white-space: nowrap;
        padding: 15px 0 15px 50px !important;
        display: block;
        background-color: #5c1a26;
    }
    .nav-item .nav-link:hover, .nav-item .nav-link:active, .nav-item .nav-link:focus,
    .nav-item.active .nav-link, .nav-item.show > .nav-link {
        background-color: #2c2631;
    }
    .dropdown-menu {
        background-color: #5c1a26;
        padding: 0 0 20px 0;
    }
    .dropdown-menu li .dropdown-item {
        padding: 12px 0 12px 50px !important;
        color: #fff;
        background-color: #5c1a26;
    }
    .dropdown-menu li .dropdown-item:hover, .dropdown-menu li .dropdown-item:focus, .dropdown-menu li .dropdown-item:active, .dropdown-menu li.active .dropdown-item {
        color: #fff;
        background-color: #68655f;
    }
    .navbar-nav > li:last-child {
        margin: 20px 50px 40px 50px;
        border-top: 1px solid #fff;
    }
    .navbar-nav > li:last-child .nav-link {
        display: inline-block;
        margin: 10px 0;
        padding: 0 !important;
        font-weight: 400;
        text-transform: uppercase;
        color: #fff;
        background-color: transparent !important;
        border-bottom: 1px dotted transparent;
    }
    .navbar-nav > li:last-child .nav-link:hover, .navbar-nav > li:last-child .nav-link:active, .navbar-nav > li:last-child .nav-link:focus {
        border-bottom: 1px dotted #fff;
    }
}

/* standard desktop navigation */

@media only screen and (min-width: 992px) {
    .navbar {
        padding: 0 20px;
    }
    .nav-item {
        line-height: 1rem;
    }
    .nav-item .nav-link {
        height: 80px;
        padding: 0 10px !important;
        display: flex;
        align-items: center;
    }
    .nav-item .nav-link:hover, .nav-item .nav-link:active, .nav-item .nav-link:focus,
    .nav-item.active .nav-link, .nav-item.show > .nav-link {
        background-color: #5c1a26;
    }
    body.scroll header .nav-item .nav-link {
        height: 60px;
    }
    .dropdown-menu {
        width: 100%;
        padding: 0 !important;
        background-color: transparent;
    }
    .dropdown-menu .nav-item .dropdown-item {
        background-color: #5c1a26;
        color: #fff;
    }
    .dropdown-menu .nav-item .dropdown-item:hover, .dropdown-menu .nav-item .dropdown-item:active, .dropdown-menu .nav-item .dropdown-item:focus {
        background-color: #2c2631;
        color: #fff;
    }
    .dropdown-menu .nav-item:last-of-type::after {
        margin-top: -1px;
        content: "-";
        text-align: center;
        display: block;
        width: 100%;
        border-top: 2px solid #5c1a26;
        aspect-ratio: 1 / 0.15 !important;
        background-color: #5c1a26;
        color: #5c1a26;
        -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 25%, 0% 100%);
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 25%, 0% 100%);
    }
}

/* media queries */

@media only screen and (min-width: 1200px) {
    .nav-item .nav-link {
        padding: 0 15px !important;
    }
}

@media only screen and (min-width: 1600px) {
    .nav-item .nav-link {
        padding: 0 20px !important;
    }
}

/* carousel */

.section-carousel .container {
    padding: 0 !important;
}

.section-carousel .carousel-inner {
    width: 100%;
    margin: 0 auto;
    display: block;
    aspect-ratio: 1 / 0.45 !important;
    min-height: 450px !important;
    max-height: 1000px !important;
}

.section-carousel .carousel-inner .carousel-item {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    aspect-ratio: 1 / 0.45 !important;
    min-height: 450px !important;
    max-height: 1000px !important;
}

.section-carousel .carousel-inner .carousel-caption {
    position: relative;
    left: unset !important;
    right: unset !important;
    padding: 0 !important;
    padding: 0 !important;
    bottom: 0;
    margin: 0 auto;
    height: 100% !important;
    width: 100% !important;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
}

.section-carousel .carousel-inner .carousel-caption a {
    display: block;
    width: 75% !important;
    max-width: 750px;
}

.section-carousel .carousel-inner .carousel-caption .img-fluid {
    margin-bottom: 10%;
    filter: drop-shadow(2px 2px 4px #2c2631);
}

.carousel-indicators {
    z-index: 11 !important;
}

.carousel-indicators li {
    background-color: #fff !important;
}

.carousel-indicators li.active {
    background-color: #5c1a26 !important;
}

/* media queries */

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .section-carousel .carousel-inner .carousel-caption a {
        width: 50% !important;
        max-width: 400px;
    }
}

@media only screen and (max-width: 768px) {
    .carousel-indicators {
        bottom: -10px;
    }
}

/* all pages */

@media only screen and (max-width: 991px) {
    body.home section {
        margin: 50px 0;
    }
    body.page-film-horses section#history {
        margin: 0 0 50px 0;
    }
}

@media only screen and (min-width: 992px) {
    body.home section {
        margin: 75px 0;
    }
    body.page-film-horses section#history {
        margin: 0 0 75px 0;
    }
}

@media only screen and (min-width: 1200px) {
    body.home section {
        margin: 100px 0;
    }
    body.page-film-horses section#history {
        margin: 0 0 100px 0;
    }
}

section#carousel {
    margin: 0;
}

section#intro {
    margin: 0;
}

section#main {
    margin-top: 0;
}

section#about,
section#media {
    margin: 0;
}

/* home page intro strip */

#intro {
    color: #fff;
    text-align: center;
}

#intro .content-container,
#intro .content-container .row .col-12 {
    padding-top: 25px;
    padding-bottom: 25px;
}

/* media queries */

@media only screen and (max-width: 991px) {
    #intro {
        font-size: 1rem;
    }
}

@media only screen and (min-width: 992px) {
    #intro {
        font-size: 1.25rem;
    }
}

@media only screen and (min-width: 1200px) {
    #intro {
        font-size: 1.5rem;
    }
}

/* home page body text */

@media only screen and (max-width: 768px) {
    body.home .ml-md-auto,
    body.home .mr-md-auto {
        text-align: center;
    }
    body.home .mr-md-auto .img-fluid {
        width: 75%;
    }
}

@media only screen and (min-width: 768px) {
    body.home .mr-md-auto .img-fluid {
        margin-top: 20px;
        float: right;
        width: 100%;
        max-width: 500px;
    }
}

/* zoomboxes */

.zoomboxes [class*="col-"] a .img-fluid,
.zoomboxes [class*="col-"] a span,
.zoomboxes [class*="col-"] a span i {
    -webkit-transition: all .3s ease-in-out, all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out, all .3s ease-in-out;
    -o-transition: all .3s ease-in-out, all .3s ease-in-out;
    transition: all .3s ease-in-out, all .3s ease-in-out;
}

.zoomboxes [class*="col-"] a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #4e4848 !important;
    background-color: #fff;
}

.zoomboxes [class*="col-"] a .wrapper i {
    color: #fff;
    font-size: 3rem;
    -webkit-transition: all .3s ease-in-out, all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out, all .3s ease-in-out;
    -o-transition: all .3s ease-in-out, all .3s ease-in-out;
    transition: all .3s ease-in-out, all .3s ease-in-out;
}

.zoomboxes [class*="col-"] a:hover, .zoomboxes [class*="col-"] a:focus, .zoomboxes [class*="col-"] a:active {
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.zoomboxes [class*="col-"] a:hover .wrapper i, .zoomboxes [class*="col-"] a:focus .wrapper i, .zoomboxes [class*="col-"] a:active .wrapper i {
    color: #641604;
}

.zoomboxes [class*="col-"] a .caption {
    width: 100%;
    background-color: #fff;
    padding: 10px;
}

.zoomboxes [class*="col-"] a .caption p {
    margin: 0 !important;
}

/* about & media strip */

#media {
    color: #fff;
    background-image: linear-gradient(180deg, #68655f 0 50%, #fff 50% 100%);
}

#about .content-container,
#about .content-container .row [class*="col-"] {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
}

#media .content-container,
#media .content-container .row [class*="col-"] {
    padding-bottom: 0;
    padding-left: 20px;
    padding-right: 20px;
}

.col-12.intro {
    text-align: center;
    padding-top: 0;
    padding-bottom: 50px !important;
}

#about .col-12.intro p,
#media .col-12.intro h3 {
    margin-bottom: 0;
}

#about .zoomboxes [class*="col-"] a {
    background-color: #fff;
}

#about .zoomboxes [class*="col-"] a .caption,
#media .zoomboxes [class*="col-"] a .caption {
    text-align: center;
    padding: 20px;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

section#about .zoomboxes [class*="col-"] a .wrapper
    display: flex;
    align-items: center;
    justify-content: center;
}

section#about .zoomboxes [class*="col-"] a .wrapper .img-fluid {
    aspect-ratio: 0.8 / 1 !important;
    min-height: 300px !important;
}

#media .zoomboxes [class*="col-"] a .caption {
    background-color: #2c2631;
    color: #fff;
}

#media .zoomboxes [class*="col-"] a .caption .inner {
    padding: 20px;
}

#about .zoomboxes [class*="col-"]:nth-of-type(1) a .caption {
    background-color: #5c1a26;
}

#about .zoomboxes [class*="col-"]:nth-of-type(2) a .caption {
    background-color: #68655f;
}

#about .zoomboxes [class*="col-"]:nth-of-type(3) a .caption {
    background-color: #2c2631;
}

#about .zoomboxes [class*="col-"] a::after {
    margin-top: -1px;
    content: "-";
    text-align: center;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 0.15 !important;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 25%, 0% 100%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 25%, 0% 100%);
}

#about .zoomboxes [class*="col-"]:nth-of-type(1) a::after {
    background-color: #5c1a26;
    color: #5c1a26;
}

#about .zoomboxes [class*="col-"]:nth-of-type(2) a::after {
    background-color: #68655f;
    color: #68655f;
}

#about .zoomboxes [class*="col-"]:nth-of-type(3) a::after {
    background-color: #2c2631;
    color: #2c2631;
}

#about .zoomboxes [class*="col-"] a .caption h4 {
    margin: 20px 0;
    font-weight: 300;
    color: #fff;
}

#media .zoomboxes [class*="col-"] a .wrapper {
    aspect-ratio: 1 / .6;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#media .zoomboxes [class*="col-"] a .caption h4 {
    margin: 0 0 20px 0;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase
}

/* media queries */

@media only screen and (min-width: 400px)and (max-width: 767px) {
    section#about .zoomboxes [class*="col-"] a {
        padding: 0 50px;
    }
}

@media only screen and (max-width: 767px) {
    section#about .content-container .row [class*="col-"]:not(:last-of-type),
    section#media .content-container .row [class*="col-"]:not(:last-of-type) {
        margin-bottom: 40px;
    }
}
@media only screen and (min-width: 992px) {
    section#about .content-container,
    section#about .content-container .row [class*="col-"] {
        padding-left: 40px;
        padding-right: 40px;
    }
    section#media .content-container,
    section#media .content-container .row [class*="col-"] {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* home page location strip */

#location {
    background-color: #2c2631;
    color: #fff;
}

#location .col-xl-6, #location .col-12 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 340px !important;
}

#location h3 {
    margin-top: 0;
}

#location a {
    color: #dfd2a4;
}

#location a:hover, #location a:focus, #location a:active {
    color: #fff;
}

#location .btn-primary {
    padding: 10px 20px;
    margin-top: 20px;
    margin-bottom: 0;
    background-color: #fff;
    color: #2c2631;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    align-self: flex-start;
    text-shadow: none !important;
}

#location .btn-primary:hover, #location .btn-primary:focus, #location .btn-primary:active {
    background-color: #5c1a26;
    color: #fff;
}

/* media queries */

@media only screen and (max-width: 1199px) {
    #location {
        text-align: center;
        background-image: url(assets/images/misc/location-strip.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
		text-shadow: 1px 1px #191919;
    }
}

@media only screen and (min-width: 1200px) {
    #location .content-container {
        padding-top: 0;
        padding-bottom: 0
    }
    #location .content-container .row .col-xl-6 .inner {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    #location .col-xl-6:last-of-type {
        background-image: url(assets/images/misc/location-strip.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
    }
}

/* stable page */

.horses [class*="col-"] table tr {
    vertical-align: top;
}

.horses [class*="col-"] table tr th {
    padding: 2px 10px 2px 0;
}

.horses [class*="col-"] table tr td {
    padding: 2px 0 2px 10px;
}

.horses [class*="col-"] table tr th h4 {
    margin: 0 !important;
}

.horses [class*="col-"] table tr th em {
    margin: 10px 0 !important;
    display: block;
}

/* credits page */

#credits .card {
    margin-bottom: 30px;
    border: 0;
    border-radius: 0 !important;
}

#credits .card .card-header {
    border: 0;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    padding: 0;
}

#credits .card .card-header .btn-header-link {
    display: block;
    text-align: left;
    background: #5c1a26;
    color: #fff;
    padding: 20px;
    border-radius: 0 !important;
}

#credits .card .card-header .btn-header-link:after {
    content: "\f107";
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
    float: right;
}

#credits .card .card-header .btn-header-link.collapsed {
    background: #2c2631;
    color: #fff;
}

#credits .card .card-header .btn-header-link.collapsed:after {
    content: "\f106";
}

#credits .card .collapse {
    border: 0;
}

#credits .card .collapsing,
#credits .card .collapse.show {
    background: #68655f;
    line-height: 30px;
    color: #fff;
}

#credits .card .card-body .credit {
    display: block;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: unset;
    padding: 10px 0;
}

#credits .card .card-body .credit p {
    margin: 0;
}

#credits .card .card-body .credit i {
    margin: 0 20px 0 0;
    font-size: 1.5rem;
}

/* stable page */

.foogallery-hidden { 
    display: none !important;
}

/* flipper */

.card-flipper {
    position: relative;
    float: left;
    width: 100%;
    text-align: center;
    height: 450px;
}

.card-flipper.effect__hover:hover .card__front {
    -webkit-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.card-flipper.effect__hover:hover .card__back {
    -webkit-transform: rotateY(0);
    -ms-transform: rotateY(0);
    transform: rotateY(0);
}

.card-flipper.effect__random.flipped .card__front {
    -webkit-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

.card-flipper.effect__random.flipped .card__back {
    -webkit-transform: rotateY(0);
    -ms-transform: rotateY(0);
    transform: rotateY(0);
}

.card__front, .card__back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.card__front {
    bacground-size: cover;
    background-position: center center;
}

.card__back {
  background-color: #fff;
  -webkit-transform: rotateY(-180deg);
   -ms-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}

.card__front .card, .card__back .card {
    background-color: transparent;
    width: 100%;
    height: 450px;
}

.card  .card-body {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.card__front h2 {
    margin: 0;
    background-color: #5c1a26;
    color: #fff;
    padding: 10px;
}

.card__back h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.card__back .btn-icon {
    margin: 20px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    padding: 0;
}

.card__back .btn-icon:hover, .card__back .btn-icon:focus, .card__back .btn-icon:active {
    background-color: transparent !important;
}

.card__back .btn-icon i {
    z-index: -1 !important;
    font-size: 3em;
    float: left;
    margin: 0 20px 0 0;
    -webkit-transition: all .3s ease-in-out, all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out, all .3s ease-in-out;
    -o-transition: all .3s ease-in-out, all .3s ease-in-out;
    transition: all .3s ease-in-out, all .3s ease-in-out;
    color: #5c1a26;
}

.card__back .btn-icon:hover i, .card__back .btn-icon:focus i, .card__back .btn-icon:active i {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.card__back .btn-icon span {
    z-index: -1 !important;
    display: inline-block;
    margin: 0;
    padding: 9px 20px;
    font-size: .9rem;
    -webkit-transition: all .3s ease-in-out, all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out, all .3s ease-in-out;
    -o-transition: all .3s ease-in-out, all .3s ease-in-out;
    transition: all .3s ease-in-out, all .3s ease-in-out;
    background-color: #2c2631;
    color: #fff;
}

.card__back .btn-icon:hover span, .card__back .btn-icon:focus span, .card__back .btn-icon:active span {
    background-color: #5c1a26;
    color: #fff;
}

/* shared - galleries */

#gallery .content-container,
#gallery .content-container [class*="col-"] {
    padding-top: 0 !important;
}

#gallery .content-container [class*="col-"] h2 {
    margin-top: 0 !important;
}

/* embedded videos & video modal */

.video {
    padding: 56.25% 0 0 0;
    position: relative;
    margin: 20px 0 !important;
    background-color: #fff;
    border: none;
}

.modal-dialog {
    width: 85% !important;
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.modal-content {
    border-radius: 0 !important;
    border: none !important;
    font-size: 1.1rem;
    background-color: #2c2631;
}

.modal-header {
    top: 0;
    right: 0;
    position: absolute;
    display: inline-block;
    z-index: 99 !important;
    border-bottom: 0 !important;
}

    .modal-header .close {
        outline: none !important;
        box-shadow: none !important;
        color: #fff !important;
        font-size: 3rem !important;
        text-shadow: 2px 2px 4px #434350;
    }

.modal-body {
    padding: 0 !important;
}

/* styling contact form 7 */

.form-control {
    border: 1px solid  #2c2631;
    padding: 5px 10px;
}

.embedded-form .btn-primary {
    padding: 10px 20px;
    margin-bottom: 0;
    background-color: #5c1a26;
    color: #fff;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
}

.embedded-form .btn-primary:hover, .embedded-form .btn-primary:focus, .embedded-form .btn-primary:active {
    background-color: #2c2631;
    color: #fff;
}

.embedded-form .wpcf7-form .wpcf7-spinner {
    margin: 10px 0 0 0;
    display: none;
    background-color: transparent !important;
}

.embedded-form .wpcf7-form.submitting .wpcf7-spinner {
    display: block;
}

.embedded-form .wpcf7-form .wpcf7-spinner:before {
    color: #2c2631;
    font: 34px FontAwesome;
    content:'\f110';
    position: absolute;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 100%;
    transform-origin: none;
    animation-name:  spin;
    animation-duration: 2000ms;
    transform-origin: center center;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.embedded-form .wpcf7-form .wpcf7-response-output {
    color: #fff;
    border: 0 !important;
    margin: 20px 0 0 0 !important;
    padding: 10px 20px !important;
    display: flex;
    flex-direction: row;
}

.embedded-form .wpcf7-form.spam .wpcf7-response-output,
.embedded-form .wpcf7-form.invalid .wpcf7-response-output {
    background-color: #dc3232;
    color: #fff;
}

.embedded-form .wpcf7-form.sent .wpcf7-response-output {
    background-color: #fff;
    color: #2c2631;
}

.embedded-form .wpcf7-form .wpcf7-response-output:before {
    font: 26px/30px FontAwesome;
    margin-right: 16px;
    vertical-align: middle;
}

.embedded-form .wpcf7-form.spam .wpcf7-response-output,
.embedded-form .wpcf7-form.invalid .wpcf7-response-output:before {
    content:'\f057';
}

.embedded-form .wpcf7-form.sent .wpcf7-response-output:before {
    content:'\f00c';
}

.embedded-form input.wpcf7-not-valid {
    border: 1px solid #dc3232;
}

.embedded-form .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 14px;
    margin-bottom: 10px;
}

/* sub form logo strip */

.logo-strip .img-fluid {
    width: 75%;
    max-width: 450px;
}

/* sub footer photo strip */

.photo-strip {
    background-image: url(assets/images/misc/photo-strip.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    aspect-ratio: 1 / 0.4 !important;
    min-height: 300px !important;
    max-height: 600px !important;
    width: 100%;
    margin-top: -28px;
}

/* footer */

footer {
    color: #fff;
    margin-top: -28px;
}

footer a {
    color: #dfd2a4;
}

footer a:hover, footer .a:focus, footer a:active {
    color: #fff;
}

footer .col-md-6 p, footer .col-md-6 ul, footer .col-md-6 address {
    margin: 0 0 20px 0;
}

footer .col-md-6 ul {
    list-style: none;
    padding: 0;
    display: inline;
}

footer .col-md-6 ul li {
    display: inline;
    padding: 0;
    margin: 0;
}

footer .col-md-6:first-of-type ul li {
    margin: 0 0 0 -5px;
}

footer .col-md-6:first-of-type ul li:first-of-type {
    margin: 0;
}

footer .col-md-6:first-of-type ul li a i:first-of-type {
    color: #fff;
    -webkit-transition: all .3s ease-in-out, all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out, all .3s ease-in-out;
    -o-transition: all .3s ease-in-out, all .3s ease-in-out;
    transition: all .3s ease-in-out, all .3s ease-in-out;
}

footer .col-md-6:first-of-type ul li a:hover i:first-of-type, footer .col-md-6:first-of-type ul li a:focus i:first-of-type, footer .col-md-6:first-of-type ul li a:active i:first-of-type {
    color: #dfd2a4;
}

footer .col-md-6:first-of-type ul li a i:last-of-type {
    color: #282828;
}

footer .col-md-6 ul li a span:last-of-type {
    display: none;
    visibility: hidden;
}

footer .legal ul li {
    margin: 0;
}

footer .legal ul li a,
footer .col-md-6:last-of-type p:last-of-type a {
    color: #fff;
}

footer .legal ul li a:hover, footer .legal ul li a:focus, footer .legal ul li a:active,
footer .col-md-6:last-of-type p:last-of-type a:hover, footer .col-md-6:last-of-type p:last-of-type a:focus, footer .col-md-6:last-of-type p:last-of-type a:active {
    color: #dfd2a4;
}

footer .legal ul li::after {
    margin-left: 10px;
    margin-right: 5px;
    content: "|";
}

footer .legal ul li:last-of-type::after {
    margin-right: -10px !important;
    content: "";
}

footer .col-md-6:last-of-type p:last-of-type {
    margin-top: 20px;
}

/* media queries */

@media only screen and (max-width: 767px) {
    footer .content-container {
        padding-top: 50px;
        padding-bottom: 0;
    }
}

@media only screen and (min-width: 768px) {
    footer .col-md-6:first-of-type {
        padding-right: 40px;
    }
    footer .col-md-6:last-of-type {
        text-align: right;
        padding-left: 40px;
    }
}

/* common */

.clearfix {
    clear: both;
}

.small {
    font-size: .75rem;
    line-height: 150%;
}

.large {
    font-size: 1.25rem;
}

/* terms etc. */

ol.legal-terms {
    margin: 0;
}

ol.legal-terms li {
    margin-bottom: 20px;
}

ol.legal-terms li ol {
    list-style-type: lower-alpha;
}

ol.legal-terms li ol,
ol.legal-terms li ul {
    margin-top: 20px;
    margin-bottom: 20px;
}

ol.legal-terms li ol li,
ol.legal-terms li ul li {
    margin-bottom: 0;
}

/* back to top */

#scrolltotop_parent {
    background: #5c1a26;
    cursor: pointer;
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 1002 !important;
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#scrolltotop_parent:hover {
    opacity: 0.7;
    transition: 0.1s;
}

/* media queries */

@media only screen and (max-width: 1023px) {
    #scrolltotop_parent {
        bottom: 25px !important;
        right: 25px !important;
    }
}