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

/*** TOP DESCRIPTION ***/

.top-description {
    position: relative;
    padding-bottom: 26px;
    overflow-x: hidden;
}
.top-description:before {
    content: "";
    position: absolute;
    top: 0;
    width: 50%;
    background: url("../images/splash3.jpg");
    background-repeat: no-repeat;
    left: 0;
    height: 50px;
    background-size: cover;
    background-position: 0 100%;
}

.top-title {
    position: relative;
    height: 100px;
    padding-bottom: 10px;
    margin-bottom: 70px;
    background-image: linear-gradient(to right, #000 10%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 8px 1px;
    background-repeat: repeat-x;
}
.top-title:after {
    content: "";
    position: absolute;
    right: -80px;
    top: -130px;
    width: 350px;
    height: 350px;
    background: url(../images/splash2.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
}
.top-title a{
    line-height: 1;
    color: #336699;
    font-weight: 700;
}

.description{line-height: 30px;}
.description h1 {
    color: #000;
    margin-bottom: 39px;
    letter-spacing: -1px;
}
.description h3 {
    line-height: 36px;
    margin-bottom: 22px;
    font-size: 32px;
}
.description p{margin-bottom: 0;}

/*** LOCATION DESCRIPTION SECTION ***/
.location {
    background: url('../images/landscape.jpg') no-repeat center;
    background-attachment: fixed;
    background-size: cover;
    color: #fff;
    padding-bottom: 22px;
    position: relative;
    height: 700px;
}
.location:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
}

.location h3 {
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 0;
}

/*** 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;
}

.wine-blk .front .btn {
    margin-top: 18px;
    border-radius: 0;
    border: none;
    background-color: #af145a !important;
    padding: 10px 20px;
}


/*back side (description)*/
.wine-blk .back{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 20px;
    background-color: #fff;
    background-image: url("../images/splash1.jpg");
    background-position: center 110%;
    background-size: contain;
    background-repeat: no-repeat;
    color: #999;
    font-size: 14px;
    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;
    opacity: 0;
}
.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;

}

/*hover effect*/

.wine-blk:hover h3{color: #000;}
.wine-blk:hover .front{
    background-color: #fff;
    background-image: url("../images/splash1.jpg");
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotateY(180deg);
    transition: transform .3s linear;
}
.wine-blk.rose:hover .front{background-image: url("../images/splash-rose-3.jpg");}
.wine-blk.white:hover .front{background-image: url("../images/splash-white-3.jpg");}
.wine-blk:hover .back{
    background-position: center 100%;
    transform: rotateY(0);
    transition: transform .3s linear, .3s background-position .2s ease-in-out;
    opacity: 1;
}
.wine-blk:hover .back .splash{
    opacity: 1;
    transition: opacity .3s ease-in-out;
}
.wine-blk:hover .back .splash1{transition-delay: 1s;}
.wine-blk:hover .back .splash2{transition-delay: 1.1s;}


/*** OUR TEAM SECTION ***/
.our-team {
    padding-top: 30px;
    padding-bottom: 30px;
    background: url('../images/team.jpg') no-repeat center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    min-height: 100vh;
}
.our-team::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -moz-linear-gradient(top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.75) 0%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf000000', endColorstr='#00000000',GradientType=0 );
}
.our-team .border-title h1 {color: #fff;}

.team-member {
    border: 1px dashed #383838;
    border-radius: 3px;
    margin-bottom: 30px;
    height: 320px;
    padding: 24px 30px;
    overflow: hidden;
}
.team-member .member-info {
    flex: 0 0 29%;
    max-width: 29%;
}
.team-member .member-info img{
    max-width: 80px;
    margin-bottom: 15px;
}
.team-member .member-info h3{
    color: #000;
    margin-bottom: 0;
}
.team-member .member-info small {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    display: block;
}
.team-member .member-description{
    flex: 0 0 70%;
    max-width: 70%;
    height: 100%;
    overflow-y: auto;
}
.team-member .member-description p{margin-bottom: 0;}

.our-team blockquote {
    background-color: #fff;
    color: #000;
    padding: 22px 30px;
}

/*** NOTE FROM FOUNDER ***/
.notes {
    color: #231f20;
    font-size: 18px;
    line-height: 24px;
    padding-top: 55px;
    padding-bottom: 54px;
}
.notes .border-title h1 {
    color: #231f20;
    background-image: linear-gradient(to right, #231f20 10%, rgba(255, 255, 255, 0) 0%) !important;
}
.notes .border-title {margin-bottom: 60px;}

.notes--columns {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;    
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
}

.notes img {
    margin-bottom: 25px;
    object-fit: cover;
    width: 100%;
}
.notes img.alvin-presentation {height: 390px;}
.notes img.moldova-map {
    height: 445px;
    object-fit: contain;
}
.notes img.admins {
    height: 265px;
    margin-top: 6px;
}
.notes img.logo {
    display: block;
    padding: 0 0 21px;
    max-width: 220px;
    margin: 0 auto;
}
.line-height1 {line-height: 26px !important;}

.notes p {margin-bottom: 19px;}

.notes__founder {margin-bottom: 19px;}
.notes__founder h3 {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0 !important;
}
.notes__founder span {font-size: 14px;}

.notes h3 {
    line-height: 36px;
    margin-bottom: 20px;
}
.notes h3.mt-0 {margin-top: -10px !important;}


/*** CONTACTS DETAILS SECTION ***/
.contact-details .container{position: relative;}
.contact-details .container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    height: 100%;
    background-color: #af145a;
}

.contact-details .border-title {padding: 25px 30px 0;}
.contact-details .contact-blk {padding: 6px 30px 22px;}
.contact-details .contact-blk:first-of-type {margin-bottom: 21px;}

.contact-details .contact-blk h3,
.contact-details .contact-blk p{margin-bottom: 0;}
.contact-details .contact-blk a{
    color: inherit;
    text-decoration: underline;
}


/*** 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 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;}
.wine-blk.responsive .btn-danger{
    border-radius: 0;
    background-color: #af145a;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 15px;
    border-color: #af145a;
}


/*** 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;}
}


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

    .our-team {
        height: 100%;
        padding-bottom: 15px;
    }
    .our-team,
    .location {background-attachment: scroll;}
}


/* 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%;
    }

}

/* mobile only */
@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%;
    }

    .contact-blk {overflow: hidden;}
    .contact-details .contact-blk a {word-break: break-all;}


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