body {
    font-family: 'Roboto Slab', serif;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-size: 18px;
    line-height: 30px;
    background-color: #fff;
    color: #666;
}

/*** OUR WINES SECTION ***/
.our-wines {
    position: relative;
    background-image: url("../images/wines_bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 50px;
}
.our-wines:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.75);
}

.wines-gallery{margin-top: 30px;}
.wine-blk {
    position: relative;
    height: 580px;
    margin-bottom: 30px;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    perspective: 1000px;
    transform: translateZ(0);
    transform-style: preserve-3d;
}
.wine-blk img {
    max-height: 425px;
    margin-bottom: 13px;
}

/*front side*/
.wine-blk .front{
    padding: 22px 30px;
    color: #999;
    width: 100%;
    height: 100%;
    transition: transform .3s linear;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

/*back side (description)*/
.wine-blk .back{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-image: url("../images/splash1.jpg");
    background-position: center 110%;
    background-size: contain;
    background-repeat: no-repeat;
    color: #999;
    transform: rotateY(-180deg);
    transition: transform .3s linear, .3s background-position .2s ease-in-out;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow-y: auto;
}
.wine-blk.rose .back{background-image: url("../images/splash-rose-3.jpg");}
.wine-blk.white .back{background-image: url("../images/splash-white-3.jpg");}
.wine-blk .back .title{
    background-image: linear-gradient(to right, #999 10%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 8px 1px;
    background-repeat: repeat-x;
    padding: 27px 30px 21px;
    margin-bottom: 21px;
}
.wine-blk .back .title small{display: block;}
.wine-blk .back .description{
    padding: 0 30px;
    color: #333;
}
.wine-blk .back .title,
.wine-blk .back .description{
    position: relative;
    z-index: 2;
}
.wine-blk .back p{margin: 0;}
.wine-blk .back p:first-of-type{margin-bottom: 14px;}
.wine-blk .back .splash{
    position: absolute;
    margin: 0;
    /*display: none;*/
    opacity: 0;
    transition: opacity .3s ease-in-out;
}
.wine-blk .back .splash1{
    width: 75px;
    top: 50px;
    left: 25px;
    transition-delay: .2s;
}
.wine-blk .back .splash2{
    width: 60px;
    top: 35px;
    right: 15px;
    transition-delay: .3s;

}

/*** PRELOADER  ***/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 999;
    overflow: hidden;
    display: flex;
}
.preloader-images{
    position: relative;
    width: 200px;
    height: 200px;
}

.buble{
    position: absolute;
    animation-name: blink;
    animation-direction: alternate;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
    opacity: 0;
}
.buble1{
    width: 65px;
    top: 0;
    left: 40%;
    margin-left: -20px;
    animation-delay: .2s;
}
.buble2{
    width: 80px;
    top: 50%;
    left: 65%;
    z-index: -1;
    animation-delay: .8s;
}
.buble3{
    width: 115px;
    top: 70%;
    left: -30%;
    animation-delay: 1.5s;
}

/*preloader animation*/

@keyframes blink{
    0%{
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*** ADDITIONAL CLASSES ***/

.border-title {
    position: relative;
    margin-bottom: 51px;
}
.border-title h1{
    font-weight: 700;
    background-image: linear-gradient(to right, #fff 10%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 8px 1px;
    background-repeat: repeat-x;
}

.text-danger {color: #af145a !important;}
.rcb{
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
}

.bg-danger{background-color: #af145a !important;}
h1{font-size: 36px;}
h3{font-size: 24px;}


/*** WINES PAGES ***/
.wine-blk.responsive{
    height: auto;
    background-color: #fff;
    color: #333;
    padding: 22px 30px 30px;
    background-image: url(../images/splash1.jpg);
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
}
.wine-blk.responsive.white {background-image: url(../images/splash-white-3.jpg);}
.wine-blk.responsive img{margin-bottom: 0;}
.wine-blk.responsive .splash1 {
    width: 75px;
    top: 50px;
    left: 0;
    transition-delay: .2s;
}
.wine-blk.responsive .splash2 {
    width: 60px;
    top: 35px;
    right: 0;
    transition-delay: .3s;
}
.wine-blk.responsive .splash {
    position: absolute;
    margin: 0;
    z-index: -1;
}
.wine-blk.responsive .title {
    position: relative;
    background-image: linear-gradient(to right, #999 10%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 8px 1px;
    background-repeat: repeat-x;
    padding: 27px 30px 21px;
    margin-bottom: 21px;
}
.wine-blk.responsive .title span{color: #999;}
.btn-danger{
    border-radius: 0;
    background-color: #af145a !important;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 15px;
    border-color: #af145a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}


/*** RESPONSIVE STYLES  ***/
/* Large devices (large desktops, 1200px and up) */
@media screen and (max-width: 1200px) {
    
    /*wines pages */
    .wines-mobile .our-wines{min-height: 100vh;}
    .wines-mobile .our-wines{padding-top: 1px;}
    .wines-mobile .our-wines .description-row{display: none !important;}
}


/* Medium devices (desktops, 992px and up) */
@media screen and (max-width: 991px) {


}



/* Small devices (tablets, 768px and up) */
@media screen and (max-width: 767px) {

    .top-description:before{display: none;}
    .top-title {
        height: 175px;
        padding-bottom: 0;
        flex-direction: column;
        align-items: center !important;
        justify-content: space-around !important;
    }
    .top-title:after{
        right: 0;
        width: 100%;
        background-position: 20px 70%;
    }

    .team-member {
        padding: 10px 15px;
        font-size: 16px;
    }
    .team-member .member-info {
        flex: 0 0 35%;
        width: 35%;
    }
    .team-member .member-description {
        flex: 0 0 65%;
        width: 65%;
    }

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

    .team-member{
        display: block !important;
        text-align: center;
        padding: 28px 30px 22px;
    }
    .team-member .member-info{margin-bottom: 20px;}
    .team-member .member-info,
    .team-member .member-description {
        width: 100%;
        max-width: 100%;
    }


    /* wines pages */
    .wine-blk.responsive .btn-danger{font-size: 14px;}
}