/*
Theme Name: Branch View Angus
Author: Angus Media
Author URI: https://www.angus.org/Media/About/Default.aspx
Description: Theme For Branch View Angus
Version: 1.0
Text Domain: branchviewangus
*/

/**********************************************/
/*******        Helper Classes          *******/
/**********************************************/
/* @group region*/

/* Removes Padding of Columns Inside This Row  */
.relative {
    position: relative;
}

/* Removes Padding of Columns Inside This Row So They Touch The Edge Of Container */
.row-nopad {
    margin-right: -15px;
    margin-left: -15px;
}

.row-nopad > * {
    padding-right: 0;
    padding-left: 0;
}

.row-nopad:before,
.row-nopad:after {
    display: table;
    content: " ";
}

.row-nopad:after {
    clear: both;
}
.nopad-md{padding: 0;}

@media (min-width: 992px) {
    .nopad-md{
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* Disables Textarea Resize that Messes with Design */
textarea {
    resize: none;
}

/* Force Block Elements To Stack Horizontally */
/* Ex: Span Around A Phrase So It drops Down */
/* As a Whole When Responding  */
.inline-block {
    display: inline-block
}

/* Prevents Flicker On Transition */
.carousel {
    position: relative;
    z-index: 1000;
}

/* Always Displays a Scrollbar even if page does not need to scroll */
html {
    font-size: 16px;
    height: 100%;
    overflow-y: scroll;
    scroll-behavior: smooth;
}
/* @endregion*/

/**********************************************/
/*******        Fonts Classes           *******/
/**********************************************/

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-family: Georgia, serif;
    font-weight: 700;
    margin-top: 0;
}

h1 {
    margin-bottom: 25px;
}

a {
    color: #1c619c;
}

a:hover, a:focus {
    color: #257cc9;
}

.bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.lead {
    font-weight: 400;
}

.alt-color {
    color: #570410;
}

/**********************************************/
/*******       Template Classes         *******/
/**********************************************/

body {
    background-color: #f2e9db;
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 1.7;
    height: 100%;
    min-height: 100%;
    padding-top: 160px;
    -webkit-transition: padding-top .15s ease-in-out;
    -o-transition: padding-top .15s ease-in-out;
    transition: padding-top .15s ease-in-out;
}

.header-active body {
    padding-top: 125px;
}

body.modal-open {
    overflow: visible;
}

.banner-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: -25px;
}

.vid-container, .banner-image-container {
    position: relative;
    height: 100%;
}

.vid-buttons {
    color: rgba(255,255,255,.35);
    font-size: 28px;
    position: absolute;
    bottom: 12px;
    right: 20px;
    z-index: 2;
}

.banner-border {
    background: url('assets/images/template/leather-bg-reverse.png') repeat-x center top;
    height: 70px;
    position: relative;
    margin-top: -30px;
}

.banner-border::after {
    content: '';
    position: absolute;
    bottom: 1px;
    height: 3px;
    width: 100%;
    left: 0;
    -webkit-box-shadow: 0 2px 3px rgba(68,55,57,0.75);
            box-shadow: 0 2px 3px rgba(68,55,57,0.75);
}

main {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 auto;
            flex: 1 0 auto;
    padding: 40px 0 30px;
}

footer {
    font-size: .875rem;
    line-height: 1.3;
    padding: 50px 0 10px;
    position: relative;
    text-align: center;
}

footer, footer a, footer a:hover {
    color: #f5ebe4;
}

footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/template/leather-bg-reverse.png') repeat-x center top;
    z-index: -1;
}

.btn-primary {
    color: #fff;
    background-color: #004272;
    border: none;
}

.btn {
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 8px;
}

.img-cover {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
}

.history-cover {
    -o-object-position: center 65%;
       object-position: center 65%;
}

.sale-cover {
    -o-object-position: center 35%;
       object-position: center 35%;
}

.blockquote {
    margin-bottom: -25px;
    position: relative;
    z-index: -1;
}

.blockquote blockquote {
    border: none;
    margin: 0;
    padding: 0;
}

.blockquote-inner {
    background-color: #004272;
    color: #fff;
    padding: 50px 0;
}

.blockquote img {
    border-radius: 50%;
    border: 8px solid #004272;
}

.blockquote .blockquote-thumbnail {
    position: absolute;
}

.carousel-fade .item {
    opacity: 0;
    -webkit-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
}

.carousel-fade .next.left,
.carousel-fade .prev.right,
.carousel-fade .item.active {
    opacity: 1;
}

.carousel-fade .active.left,
.carousel-fade .active.right {
    left: 0;
    opacity: 0;
    z-index: 1;
}

/* Safari Fix */
@media all and (transform-3d),
(-webkit-transform-3d) {

    .carousel-fade .carousel-inner>.item.next,
    .carousel-fade .carousel-inner>.item.active.right {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .carousel-fade .carousel-inner>.item.prev,
    .carousel-fade .carousel-inner>.item.active.left {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .carousel-fade .carousel-inner>.item.next.left,
    .carousel-fade .carousel-inner>.item.prev.right,
    .carousel-fade .carousel-inner>.item.active {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.timeline {
    line-height: 1.6;
    overflow: hidden;
    position: relative;
}

.timeline::before {
    content: "";
    background: #1c619c;
    width: 5px;
    height: 100%;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}

.timeline-item {
    width: 100%;
    margin-bottom: 70px;
}

.timeline-item:nth-child(even) .timeline-content {
    float: right;
}

.timeline-item:nth-child(even) .timeline-content .date {
    right: auto;
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: "";
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 8px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #004272 transparent transparent;
}

.timeline-item::after {
    content: "";
    display: block;
    clear: both;
}

.timeline-content {
    position: relative;
    width: 45%;
    background: #f5f5f5;
            -webkit-box-shadow: -1px 2px 2px rgba(68,55,57,0.06), 1px 2px 2px rgba(68,55,57,0.06);
                    box-shadow: -1px 2px 2px rgba(68,55,57,0.06), 1px 2px 2px rgba(68,55,57,0.06);
}

.timeline-content::after {
    content: "";
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 8px;
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #004272;
}

.timeline-no-date::after, .timeline-item:nth-child(even) .timeline-no-date::after {
    content: none;
}

.timeline-img {
    width: 30px;
    height: 30px;
    background: #004272;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    margin-top: 3px;
    margin-left: -15px;
}

.timeline-img-header {
    position: relative;
}

.timeline-img-header h2 {
    color: #FFFFFF;
    position: absolute;
    bottom: 5px;
    left: 20px;
}

.timeline-body {
    font-size: 1rem;
    padding: 10px 15px;
}

.timeline-body p:last-of-type {
    margin-bottom: 0;
}

.date {
    background: #004272;
    display: inline-block;
    color: #FFFFFF;
    font-size: 1.25rem;
    letter-spacing: 3px;
    padding: 2px 10px;
}

.timeline-img-header + .timeline-date .date {
    position: absolute;
    top: 0;
    left: auto;
}

.timeline .timeline-item:last-of-type {
    margin-bottom: 3px;
}

figure {
    display: table;
}

figure img {
    margin-bottom: 5px;
}
  
figcaption {
    display: table-caption;
    caption-side: bottom;
    font-size: .75rem;
    font-style: italic;
    line-height: 1.3;
}

figure.pull-left {
    margin: 2px 12px 2px 0;
}

figure.pull-right {
    margin: 2px 0 2px 12px;
}

figure.pull-right video {
    max-width: 300px;
}

.popup-gallery {
    margin-left: -5px;
    margin-right: -5px;
}

.popup-gallery > a {
    float: left;
    position: relative;
    width: 220px;
    height: 220px;
    vertical-align: top;
    margin: 0 5px 10px;
}

.popup-gallery a img {
    opacity: .75;
    -webkit-transition: opacity .2s ease-in-out;
    -o-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out;
}

.popup-gallery a:hover img {
    opacity: 1;
}

.modal-content {
    border: none;
    border-radius: 0;
}

.modal-header {
    background-color: #004272;
    color: #fff;
}

.modal-header .close {
    color: #fff;
    font-size: 2.5rem;
    margin-top: -12px;
    opacity: .65;
}

.modal-header .close:hover, .modal-header .close:focus {
    opacity: 1;
}

.modal-backdrop {
    position: fixed;
    bottom: 0
}

.sm-pad > .col-xs-6 {
    padding-right: 5px;
}

.sm-pad > .col-xs-3 {
    padding-left: 5px;
    padding-right: 5px;
}

.sm-pad > .col-xs-3:last-child {
    padding-right: 15px;
}

.form-control {
    border-radius: 0;
    border-color: #dcdcdc;
    padding: 6px;
}

.fixed-action-btn {
    color: #fff;
    display: none;
    position: fixed;
    z-index: 100;
    right: 15px;
    bottom: 15px;
    margin-bottom: 0;
    padding-top: 15px;
}

.btn-floating {
    background-color: #004272;
    width: 47px;
    height: 47px;
    position: relative;
    z-index: 1;
    display: inline-block;
    overflow: hidden;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    border-radius: 50%;
    padding: 0;
    text-align: center;

}

.btn-floating:hover {
    cursor: pointer;
}

.btn-floating .fas {
    color: #eceae4;
    line-height: 48px;
}

/**********************************************/
/*******      Navigation Classes        *******/
/**********************************************/

.navbar {
    background: url('assets/images/template/leather-bg.png') repeat-x center bottom;
    border: none;
    border-radius: 0;
    height: 185px;
    margin-bottom: 0;
    z-index: 1001;
    -webkit-transition: height .25s ease-in-out;
    -o-transition: height .25s ease-in-out;
    transition: height .25s ease-in-out;
}

.header-active .navbar {
    height: 125px;
}

.nav > li > a, .dropdown-menu > li > a {
    color: #f5ebe4;
    font-family: Georgia, serif;
    font-weight: 700;
    text-shadow: 1px 2px 2px rgba(90,41,16,0.65);
}

/*.nav > li > a:hover, .nav > li > a:focus, .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .home .nav > li.home-active > a, .sale .nav > li.sale-active > a, .calf .nav > li.calf-active > a, .story .nav > li.story-active > a, .contact .nav > li.contact-active > a, .history .dropdown-menu > li.history-active > a, .industry .dropdown-menu > li.industry-active > a, .farm .dropdown-menu > li.farm-active > a, .philosophy .dropdown-menu > li.philosophy-active > a {
    background: transparent;
    color: #f5ebe4;
    opacity: .75;
}*/

.nav > li > a:hover, .nav > li > a:focus, .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .page-id-8 .nav > li.home-active > a, .page-id-10 .nav > li.sale-active > a, .page-id-12 .nav > li.calf-active > a, .story .nav > li.story-active > a, .page-id-22 .nav > li.contact-active > a, .page-id-14 .dropdown-menu > li.history-active > a, .page-id-16 .dropdown-menu > li.industry-active > a, .page-id-18 .dropdown-menu > li.farm-active > a, .page-id-20 .dropdown-menu > li.philosophy-active > a {
    background: transparent;
    color: #f5ebe4;
    opacity: .75;
}

.caret {
    border-top: 5px solid;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    margin-left: 3px;
}

.dropdown-menu>li>a {
    padding: 4px 12px;
}

.nav .open>a, .nav .open>a:hover, .nav .open>a:focus {
    background: transparent;
    border: none;
}

.logo {
    display: inline-block;
    padding: 10px 15px;
}

.logo img {
    width: 280px;
    -webkit-filter: drop-shadow(0 0 6px #1f2025);
            filter: drop-shadow(0 0 6px #1f2025);
    -webkit-transition: width .25s ease-in;
    -o-transition: width .25s ease-in;
    transition: width .25s ease-in;
}

.header-active .logo img {
    width: 136px;
}

.navbar-toggle {
    float: none;
    position: absolute;
    bottom: 40px;
    margin-right: 8px;
    margin-bottom: 4px;
    right: 0;
}

.navbar-toggle .icon-bar {
    border-radius: 0;
    width: 32px;
    height: 3px;
}

.navbar-toggle .icon-bar + .icon-bar {
    margin-top: 5px;
}

.navbar-toggle.collapsed:hover .icon-bar, .navbar-toggle .icon-bar {
    background-color: rgba(245, 235, 228, .75);
}

.navbar-toggle.collapsed .icon-bar {
    background-color: #f5ebe4;
}

/**********************************************/
/*******        Animal Classes          *******/
/**********************************************/



/**********************************************/
/*******        Helper Classes          *******/
/**********************************************/

.mb-0 {
    margin-bottom: 0;
}

.mb-5 {
    margin-bottom: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mb-70 {
    margin-bottom: 70px;
}

.mb-80 {
    margin-bottom: 80px;
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.lr-auto {
    margin-left: auto;
    margin-right: auto;
}

/**********************************************/
/*******      Media Query Classes       *******/
/**********************************************/

@media screen and (min-width: 768px) {
    body {
        padding-top: 185px;
    }
    
    .timeline-item:nth-child(odd) .timeline-date {
        text-align: right;
    }

    .timeline-img-header + .timeline-date .date {
        right: 0;
    }

    figure.pull-left {
        margin: 2px 12px 2px -60px;
    }

    figure.pull-right {
        margin: 2px -60px 2px 12px;
    }
    
    .flex-sm {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .navbar .container {
        width: 100%;
    }

    .navbar-fixed-top .container > .navbar-collapse {
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (min-width: 992px) {
    .banner-wrapper {
        height: calc(100vh - 175px);
    }

    .banner-border {
        margin-top: -25px;
    }

    .vid-container video {
        position: absolute;
        left: 0;
        width: 100%;
        top: 0;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        -o-object-position: center center;
        object-position: center center;
    }
    
    main {
        padding: 55px 0 45px;
    }
        
    .navbar .container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .container > .navbar-collapse {
        margin-left: auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex !important;
    }

    .navbar-nav {
        height: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .nav > li {
        float: none;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .nav > li > a {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .dropdown-menu {
        background-color: #8d4517;
        background-color: #a05322;
        border: none;
        border-radius: 0;
        padding: 2px 0;
        -webkit-box-shadow: none;
                box-shadow: none;
    }

    .dropdown-menu li {
        border-bottom: 1px solid #570410;
    }

    .dropdown-menu li:last-child {
        border: none;
    }

    .blockquote blockquote {
        padding-left: 300px;
    }

    .blockquote .blockquote-thumbnail {
        top: -22%;
        width: 275px;
    }

    figure.pull-left {
        margin: 2px 12px 2px -80px;
    }

    figure.pull-right {
        margin: 2px -80px 2px 12px;
    }

    .flex-md {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    body {
        padding-top: 172px;
    }
    
    .navbar {
        height: 172px;
    }

    .logo img {
        width: 250px;
    }

    .nav > li > a {
        font-size: 1rem;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media screen and (min-width: 1200px) {
    .blockquote .blockquote-thumbnail {
        position: absolute;
        top: -30%;
        width: 275px;
    }
}

@media screen and (max-width: 1199px) {

}

@media screen and (max-width: 991px) {
    .banner-border {
        margin-top: -35px;
    }

    .banner-wrapper .img-cover {
        position: relative;
    }

    .navbar-header {
        float: none;
    }
    
    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border: none;
        -webkit-box-shadow: none;
                box-shadow: none;
    }

    .navbar-collapse.collapse {
        display: none!important;
    }

    .navbar-nav {
        float: none!important;
        margin: 24px -15px 7.5px;
        padding-bottom: 5px;
        position: relative;
    }

    .navbar-nav::after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        top: 0;
        height: 100%;
        background-color: #8d4517;
        background-color: #a05322;
        z-index: -1;
    }
    
    .navbar-nav>li {
        float: none;
    }

    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

   .navbar-collapse.collapse.in { 
        display: block!important; 
    }

    .navbar-nav>li {
        float: none;
    }

    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .navbar-nav .open .dropdown-menu>li>a {
        padding: 5px 15px 5px 25px;
        line-height: 20px;
    }    

    .blockquote {
        margin-top: 60px;
    }

    .blockquote-inner {
        padding-top: 110px;
    }

    .blockquote-thumbnail {
        width: 200px;
        top: -92px;
        left: 50%;
        -webkit-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
                transform: translateX(-50%);
    }

    .mb-5-md {
        margin-bottom: 5px;
    }

    .mb-10-md {
        margin-bottom: 10px;
    }

    .mb-20-md {
        margin-bottom: 20px;
    }

    .mb-30-md {
        margin-bottom: 30px;
    }

    .mb-40-md {
        margin-bottom: 40px;
    }

    .mb-50-md {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 767px) {
    .navbar {
        height: 160px;
    }

    .navbar-nav {
        margin-top: 20px;
    }

    .header-active .navbar-nav {
        margin-top: 24px;
    }

    .logo img {
        width: 230px;
    }

    .timeline {
        max-width: 605px;
        margin: 0 auto;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline .timeline-img {
        left: 30px;
    }

    .timeline .timeline-content {
        max-width: 525px;
        width: auto;
        margin-left: 50px;
    }

    .timeline .timeline-item:nth-child(even) .timeline-content {
        float: none;
    }

    .timeline .timeline-item:nth-child(odd) .timeline-content::after {
        top: 8px;
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent #004272 transparent transparent;
    }

    .popup-gallery > a {
        width: calc(33.33% - 10px);
        height: 0;
        padding-bottom: 33%;
    }    

    .mb-5-sm {
        margin-bottom: 5px;
    }

    .mb-10-sm {
        margin-bottom: 10px;
    }

    .mb-20-sm {
        margin-bottom: 20px;
    }

    .mb-30-sm {
        margin-bottom: 30px;
    }

    .mb-40-sm {
        margin-bottom: 40px;
    }

    .mb-50-sm {
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 550px) {
    figure.pull-left, figure.pull-right {
        float: none !important;
        margin: 2px auto 10px;
        max-width: 100%;
    }

    .popup-gallery > a {
        width: calc(50% - 10px);
        padding-bottom: 50%;
    }    
}


.epd-container iframe {
    min-height: 1160px;
}

@media(min-width: 0px) and (max-width: 991px) {
    .epd-container iframe {
        min-height: 3000px;
    }
    .animal-text, .animal-header {
        text-align: center;
    }
}

@media(min-width: 992px) and (max-width: 1200px) {
    .epd-container iframe {
        min-height: 1550px;
    }
    .animal-text {
        min-height: 325px;
    }
}

@media (min-width: 1200px) {
    .animal-text {
        min-height: 350px;
    }
}