﻿
html, body {
    overflow-x: hidden
}

/* text styles */

.narrowText {
    padding: 10px 90px 10px 90px;
}


/* site header */

#siteHeader {
    background-color: #fff;
    font-size: 0.8rem;
    color: #000;
}

    #siteHeader .headerborder {
        color: #C2BA98;
        border-top: solid 5px;
    }

    #siteHeader .ddLogo {
        height:70px;
    }


@media (max-width: 767px) {
    #siteHeader .ddLogo {
        height:50px;
    }

    .narrowText {
        padding:unset
    }

}

@media (max-width: 1180px) {
    a.nav-link {
        font-size: 1.2em !important;
    }
}



@media (max-width: 500px) {
    #siteHeader .ddLogo {
        height: 40px;
    }

    .narrowText {
        padding: unset
    }
}

    #siteHeader .contacts {
        font-size: 0.8rem;
    }

    #siteHeader li {
        list-style: none;
    }

        #siteHeader li a {
            color: #000;
            text-decoration: none;
        }

            #siteHeader li a:hover {
                text-decoration: underline;
            }


.text-primary {
    color: #232B2B !important
}

.text-secondary {
    color: #C2BA98 !important
}

.text-info {
    color: #D0D8D8 !important
}

.bg-primary {
    background: #232B2B !important
}

.bg-secondary {
    background: #C2BA98 !important
}

.bg-info {
    background: #D0D8D8 !important
}



/* main nav */
/* site footer */
#siteFooter {
    background: #D0D8D8;
    font-size: 0.8rem;
    color: #000;
}

    #siteFooter li {
        list-style: none;
    }

    #siteFooter .footerborder {
        color: #C2BA98;
        border-top: solid 5px;
    }

    #siteFooter .ddLogo {
        padding: 10px 60px 10px 60px;
        max-width: 400px;
    }

    #siteFooter li a {
        color: #000;
        text-decoration: none;
    }

        #siteFooter li a:hover {
            text-decoration: underline;
        }

#siteHeader ol, #siteHeader ul {
    padding-left: 0rem;
}

.topNav {
    background: #f8f9fa;
}

.navItemReset {
    padding: 10px 0
}

.topNav a {
    color: #000;
    display: block;
}

.navbar .nav-link:nth-child(1){
    padding-left:0px
}


/* breadcrumb */
.breadcrumb {
}



/* home styles */
.homeHeadline h1 {
    font-size: 2.4rem;
    padding: 14px;
}




.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.row-full {
    width: 99.6vw;
    position: relative;
    margin-left: -50vw;
    left: 50%;
}

.Middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate( -50%,-50% );
    text-align: center;
}

.rollover {
    width: 100%;
    height: 100%;
    background: #000000d1
}

.videoContainer {
    position: relative;
    max-height: 900px;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

video {
    object-fit: cover;
}

video {
    width: 100% !important;
    height: auto !important;
}

.pointer {
    cursor: pointer
}

.snackbar {
    display: block; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #333; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}


/*FlipCard*/
/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 400px;
    border: 1px solid #f1f1f1;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
    background-color: #bbb;
    color: black;
}

/* Style the back side */
.flip-card-back {
    background-color: dodgerblue;
    color: white;
    transform: rotateY(180deg);
}
/*END FlipCard*/

/*Caousel*/
@media (max-width: 767px) {
    .carousel-inner .carousel-item > div {
        display: none;
    }

        .carousel-inner .carousel-item > div:first-child {
            display: block;
        }
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}

/* medium and up screens */
@media (min-width: 768px) {
    #FourItems .carousel-inner .carousel-item-end.active, #FourItems .carousel-inner .carousel-item-next {
        transform: translateX(25%);
    }

    #FourItems .carousel-inner .carousel-item-start.active, #FourItems .carousel-inner .carousel-item-prev {
        transform: translateX(-25%);
    }

    #ThreeItems .carousel-inner .carousel-item-end.active, #ThreeItems .carousel-inner .carousel-item-next {
        transform: translateX(33%);
    }

    #ThreeItems .carousel-inner .carousel-item-start.active, #ThreeItems .carousel-inner .carousel-item-prev {
        transform: translateX(-33%);
    }

    #TwoItems .carousel-inner .carousel-item-end.active, #TwoItems .carousel-inner .carousel-item-next {
        transform: translateX(50%);
    }

    #TwoItems .carousel-inner .carousel-item-start.active, #TwoItems .carousel-inner .carousel-item-prev {
        transform: translateX(-50%);
    }

    #OneItem .carousel-inner .carousel-item-end.active, #OneItem .carousel-inner .carousel-item-next {
        transform: translateX(100%);
    }

    #OneItem .carousel-inner .carousel-item-start.active, #OneItem .carousel-inner .carousel-item-prev {
        transform: translateX(-100%);
    }
}

#FourItems .carousel-inner .carousel-item-end, #FourItems .carousel-inner .carousel-item-start {
    transform: translateX(0);
}

#ThreeItems .carousel-inner .carousel-item-end, #ThreeItems .carousel-inner .carousel-item-start {
    transform: translateX(0);
}

#TwoItems .carousel-inner .carousel-item-end, #TwoItems .carousel-inner .carousel-item-start {
    transform: translateX(0);
}

#OneItem .carousel-inner .carousel-item-end, #OneItem .carousel-inner .carousel-item-start {
    transform: translateX(0);
}
/*end Caousel*/



/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}

    /* When you mouse over the navigation links, change their color */
    .overlay a:hover, .overlay a:focus {
        color: #f1f1f1;
    }

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}


.tag {
    border: 1px solid #d0d8d8;
    background: #fff;
    color: #828e8d;
    display: inline-block;
    margin-right: 6px;
    padding: 3px 6px;
    margin-bottom: 4px;
}


.greyText {
    color: #828e8d
}

.sliderParent {
    border-top: 6px double #d0d8d8;
    border-bottom: 6px double #d0d8d8;
}

.btn {
    border: 0;
    background: #d0d8d8;
    color: #232b2b;
    padding: 0 20px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    margin: 20px;
    font-size: 16px;
    height: 40px;
    line-height: 40px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

    .btn:hover {
        background: #828e8d;
    }


    .hoverShow {
        display: none;
    }

a:hover .hoverShow {
    display: block;
}

a:hover .hoverHide {
    display: none;
}

.bgGray {
    background: #f0f2f2
}

.watchHeroClass {
    position: relative;
    margin-top: 400px;
    padding-bottom: 200px;
}

    .watchHeroClass .heroImage {
        margin-top: -350px
    }

@media (max-width: 768px) {

    .watchHeroClass {
        position: relative;
        margin-top: 0px;
        padding-bottom: 0px;
    }

        .watchHeroClass .heroImage {
            margin-top: 0px
        }
}

/*imported from old side*/
@font-face {
    font-family: 'Cardo';
    font-style: normal;
    font-weight: 400;
    src: local('Cardo'), local('Cardo-Regular'), url(http://themes.googleusercontent.com/static/fonts/cardo/v6/zpisC4kGu76S5N9VhpMnEg.woff) format('woff');
}

@font-face {
    font-family: 'Cardo';
    font-style: normal;
    font-weight: 700;
    src: local('Cardo Bold'), local('Cardo-Bold'), url(http://themes.googleusercontent.com/static/fonts/cardo/v6/gHC1KgRPdVNdvvVcxLMCY_esZW2xOQ-xsNqO47m55DA.woff) format('woff');
}

@font-face {
    font-family: 'Cardo';
    font-style: italic;
    font-weight: 400;
    src: local('Cardo Italic'), local('Cardo-Italic'), url(http://themes.googleusercontent.com/static/fonts/cardo/v6/0_g5QMQebQZw5ilITPZHDA.woff) format('woff');
}

@font-face {
    font-family: 'Droid Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Droid Sans'), local('DroidSans'), url(http://themes.googleusercontent.com/static/fonts/droidsans/v4/s-BiyweUPV0v-yRb-cjciBsxEYwM7FgeyaSgU71cLG0.woff) format('woff');
}

@font-face {
    font-family: 'Droid Sans';
    font-style: normal;
    font-weight: 700;
    src: local('Droid Sans Bold'), local('DroidSans-Bold'), url(http://themes.googleusercontent.com/static/fonts/droidsans/v4/EFpQQyG9GqCrobXxL-KRMQFhaRv2pGgT5Kf0An0s4MM.woff) format('woff');
}



h1 {
    font-family: 'Cardo', 'Times New Roman', serif;
    font-size: 2.18em;
}

    h1.hometitle {
        color: #85754e;
    }

h2 {
    font-family: 'Cardo', 'Times New Roman', serif;
    font-size: 1.63em;
    line-height: 1em;
}

h1, h1, h3 {
    line-height: 1em;
    padding-bottom: 10px;
}

a, a.nav-link {
    color: #85754e;
    -webkit-transition: color 200ms ease-in-out, background-color 400ms ease-in-out;
    -moz-transition: color 200ms ease-in-out, background-color 400ms ease-in-out;
    transition: color 200ms ease-in-out, background-color 400ms ease-in-out;
}

    a.nav-link {
        font-size: 1.5em
    }

    a:hover, a.nav-link:hover {
        color: #c6ae72;
    }

/*end imported from old side*/

.accordion-header, .accordion-button {
    background-color: #fff !important;

}



    .accordion-button:not(.collapsed) {
        background-color: #D0D8D8 !important;
        color: #000 !important;
    }

        .accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23C2BA98'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
            transform: rotate(-180deg)
        }
        }


.page-item .page-link {
    color: #000 !important
}
.page-item.active .page-link, .page-item .page-link:hover {
    background-color: #C2BA98;
    border-color: #C2BA98;
    color: #000 !important
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: unset;
}

.blog-page{
    padding:0 160px
}



@media (max-width: 1180px) {
    .blog-page {
        padding: 0 60px
    }
}

@media (max-width: 768px) {
    .blog-page {
        padding: unset
    }
}

.blog-page img {
    max-width:100%
}
