/*
//
//  Home Page Content
//  _____________________________________________*/

#home-content {
    background: #e3e0d7;
}

#home-content .slider-block .owl-nav button {
    color: #AF372D;
    opacity: 1;
    box-shadow: none !important;
}

#home-content .slider-block .container {
    position:relative
}

#home-content .slider-block .text-content {
    position: absolute;
    left: 50%;
    top: 61%;
    transform: translate(-50%,-50%);
    width: 70%;
}

#home-content .slider-block .text-content h1 {
    color: #E2E0D8;
    font-size: 62px;
    text-align: center;
}

#home-content .slider-block .text-content .lear-more {
    text-align: center;
}

#home-content .slider-block .text-content .lear-more a span {
    display: inline-block;
    border: 1px solid #E2E0D8;
    color: #E2E0D8;
    padding: 6px 14px;
    margin: 0 10px;
}


#home-content .slider-block .text-content .lear-more a span,
#home-content .sign-and-newsletter .sign-in .text-content a span {
    background: url(../images/more.png) no-repeat;
    display: inline-block;
    width: 118px;
    height: 34px;
    background-size: cover;
    line-height: 31px;
}

#home-content .sign-and-newsletter .sign-in .text-content a span {
    width: 135px;
    height: 42px;
    line-height: 37px;
    background-size: 132px;
}



#home-content .slider-block .text-content .lear-more a:before,
#home-content .slider-block .text-content .lear-more a:after,
#home-content .sign-and-newsletter .sign-in .text-content a:after,
#home-content .sign-and-newsletter .sign-in .text-content a:before,
#home-content .sign-and-newsletter .newsletter-block .subscribe-block .title:after,
#home-content .sign-and-newsletter .newsletter-block .subscribe-block .title:before {
    content: '';
    background: url(../images/sfbay_leaf.png) no-repeat;
    width: 30px;
    height: 39px;
    background-size: 30px;
    display: inline-block;
    vertical-align: middle;
}

#home-content .slider-block #banner-slider-carousel {
    margin: 0;
}

#home-content .slider-block #banner-slider-carousel .item .products-block {
    margin-top: 40px;
}

#home-content .slider-block #banner-slider-carousel .item .products-block .row > div {
    text-align: center;
    width: 26%;
    padding: 20px 0 10px 0;
    background: #e3e0d7;
}

#home-content .slider-block #banner-slider-carousel .item .products-block .row {
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    text-align: center;
}

#home-content .slider-block #banner-slider-carousel .item .products-block .row > div:not(:last-child) {
    margin-right: 4%;
}

#home-content .slider-block #banner-slider-carousel .item .products-block img {
    height: 156px;
    width: auto !important;
    max-width: unset;
    margin: 0 auto;
}

#home-content .slider-block #banner-slider-carousel .item .products-block a {
    color: #AF372D;
    text-decoration: none !important;
    margin-top: 30px;
    display: block;
}

#home-content .slider-block #banner-slider-carousel .owl-nav {
    margin-top: 0;
}

.cms-index-index .page-red-bg-information span {
    position: relative;
    width: 100%;
    display: block;
    top: 54%;
    left: 0;
    background: url(../images/grey_texture.png);
    height: 12px;
    max-width: 1285px;
    margin: 0 auto;
    right: 0;
}

.cms-index-index .categories-items {
    position: relative;
}

.cms-index-index .categories-items:before {
    content: '';
    background: url(../images/grey_texture.png);
    height: 12px;
    display: block;
    position: absolute;
    bottom: -2px;
    z-index: 999;
    width: 100%;
    max-width: 1285px;
    margin: 0 auto;
    height: 12px;
    display: block;
    position: absolute;
    bottom: -2px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

#home-content .sign-and-newsletter img {
    width: 100%;
}

#home-content .sign-and-newsletter .sign-in {
    padding-left: 0;
    padding-right: 5px;
    position: relative;
}

#home-content .sign-and-newsletter .sign-in .text-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-74%);
    width: 400px;
    text-align: center;
}

#home-content .sign-and-newsletter .sign-in .text-content a span {
    display: inline-block;
    color: #E2E0D8;
    margin: 0 10px;
    font-size: 17px;
    background-color: #54484f61;
}

#home-content .sign-and-newsletter .sign-in .text-content h2 {
    color: #E2E0D8;
    font-size: 55px;
}

#home-content .sign-and-newsletter .sign-in .text-content div {
    text-align: center;
}

.newsletter-block {
    padding-right: 0;
    padding-left: 5px;
}

.newsletter-block .subscribe-block {
    background: #9FA1A1;
    height: 99%;
    position: relative;
    overflow: hidden;
}

.newsletter-block .subscribe-block .title {
    font-size: 53px;
    color: #E2E0D8;
}

.newsletter-block .subscribe-block > div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    margin: 0 auto;
    max-width: 560px;
    width: 86%;
}

.newsletter-block .subscribe-block .block.newsletter {
    width: 100%;
}

.newsletter-block .subscribe-block #newsletter,
#home-content .sign-and-newsletter .newsletter-block .subscribe-block #firstname {
    background: #e2e0d8;
    width: 100%;
    border: none;
    height: 69px;
    color: #AF372D;
    font-size: 20px;
}

.newsletter-block .subscribe-block #newsletter::placeholder,
#home-content .sign-and-newsletter .newsletter-block .subscribe-block #firstname::placeholder {
    color: #AF372D;
}

.newsletter-block .subscribe-block .action.subscribe {
    position: relative;
    background: #AF372D;
    padding-left: 53px;
    border: none;
    height: 69px;
    color: #E2E0D8;
    border-radius: 0;
    font-size: 20px;
    font-weight: 100;
}

.newsletter-block .subscribe-block .action.subscribe:before {
    content: "";
    border-top: 35px solid transparent;
    border-bottom: 35px solid transparent;
    border-left: 29px solid #e2e0d8;
    position: absolute;
    left: -1px;
    top: -1px;
}

.newsletter-block .subscribe-block .block.newsletter .control:before {
    display: none;
}

.newsletter-block .subscribe-block .title:after,
.newsletter-block .subscribe-block .title:before {
    vertical-align: baseline;
}

.newsletter-block .subscribe-block .field.firstname {
    display: none;
}

#home-content .sign-and-newsletter .newsletter-block .subscribe-block .field.firstname {
    display: block;
}

#home-content .sign-and-newsletter .newsletter-block .subscribe-block .actions {
    display: block;
    width: auto;
    text-align: center;
}

#home-content .sign-and-newsletter .newsletter-block .subscribe-block .actions button {
    padding: 15px 30px;
    height: auto;
    margin-top: 20px;
}

#home-content .sign-and-newsletter .newsletter-block .subscribe-block .actions button:before {
    display: none;
}

#home-content .sign-and-newsletter .newsletter-block .subscribe-block #firstname {
    margin-bottom: 20px;
    text-transform: uppercase;
}

#home-content .sign-and-newsletter .newsletter-block .subscribe-block #firstname,
#home-content .sign-and-newsletter .newsletter-block .subscribe-block #newsletter {
    padding-left: 0;
    text-align: center;
}

#home-content .sign-and-newsletter .newsletter-block .subscribe-block .title {
    text-align: center;
}


/*
//
//  Footer
//  _____________________________________________*/
/*

.page-footer {
    position: relative;
    padding-bottom: 0 !important;
}

.page-footer:before {
    content: '';
    background: url(../images/grey_texture.png);
    height: 15px;
    display: block;
    position: absolute;
    top: -18px;
    width: 100%;
    max-width: 1285px;
    margin: 0 auto;
    display: block;
    position: absolute;
    bottom: -2px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

.page-footer:after {
    content: '';
    background: url(../images/footer-bg.png);
    background-size: cover;
    width: 100%;
    height: 19px;
    display: block;
    position: absolute;
    left: 0;
    z-index: 99999;
    bottom: -13px;
    background:#e2e0d8;
}

.page-footer .footer-container {
    background-image: url(../images/ftr-bg.png) !important;
    background-size: cover !important;
}

.page-footer .footer-container:after {
    content: '';
    display: block;
    width: 100%;
    height: 12px;
    background: white;
    position: absolute;
    bottom: -17px;
    left: 0;
    z-index: 999;
}

.page-footer .footer-container {
    /*background: #9c9e9e;*/
    /*padding: 20px 5%;
}

.page-footer .footer-container ul {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
}

.page-footer .footer-container ul li a {
    color: #24272A;
    font-size: 16px;
    text-transform: uppercase;
}

.page-footer .footer-container .copyright-text {
    color: #E2E0D8;
    font-size: 14px;
}

.page-footer .footer-container .social-block a {
    width: 25px;
    height: 25px;
}

.page-footer .footer-container .social-block p {
    font-size: 16px;
}

.page-footer .footer-container .right-block .row {
    height: 100%;
}

.page-footer .footer-container .right-block ul li,
.page-footer .footer-container .right-block li a {
    color: #E2E0D8;
    font-size: 16px;
}
     */

/*
//
//  Recent posts and about
//  _____________________________________________*/

.recent-posts-and-about h2 {
    text-align: center;
    color: #24272A;
    font-size: 26px;
}

.recent-posts-and-about .slider-block {
    width: 90%;
    margin: 0 auto;
}


.recent-posts-and-about #banner-slider-carousel .owl-nav {
    opacity: 1;
    display: block;
}

.recent-posts-and-about #banner-slider-carousel .owl-nav button {
    box-shadow: none;
    bottom: 112px !important;
}

.recent-posts-and-about #banner-slider-carousel .owl-nav .owl-prev {
    left: -35px;
}

.recent-posts-and-about #banner-slider-carousel .owl-nav .owl-next {
    right: -35px;
}

.recent-posts-and-about #banner-slider-carousel .owl-nav button span {
    color: #9FA1A1;
    font-size: 0;
}

.recent-posts-and-about #banner-slider-carousel .owl-nav button span:before {
    content: '';
    background: url(../images/arrow.png) no-repeat;
    width: 19px;
    height: 37px;
    background-size: 20px;
    display: inline-block;
}

.recent-posts-and-about #banner-slider-carousel .owl-nav button.owl-prev span:before {
    transform: rotate(180deg);
}

.recent-posts-and-about #banner-slider-carousel .banner-title {
    position: unset;
    display: block;
    width: 80%;
    margin: 0 auto;
    background: none !important;
    color: #24272A;
    font-size: 18px;
    opacity: 1;
    padding-left: 0;
    margin-left: 9px;
    padding-top: 6px;
    text-transform: uppercase;
    min-height: 74px;
}

/*
//
//  About us
//  _____________________________________________*/

.cms-coffee-club #maincontent {
    max-width: none;
    padding: 0;
}

.cms-coffee-club .recent-posts-and-about #banner-slider-carousel .owl-nav .owl-next {
    right: -6%;
}

.cms-coffee-club .recent-posts-and-about #banner-slider-carousel .owl-nav .owl-prev {
    left: -6%;
}

.about-us-content .top-banner {
    position: relative;
}

.about-us-content .top-banner img {
    width: 100%;
}

.about-us-content .top-banner h2 {
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%,-50%);
    font-family: DIN-Black;
    color: #E2E0D8;
    font-size: 72px;
    width: 100%;
    text-align: center;
}

.about-us-content .images-block {
    text-align: center;
    max-width: 1172px;
    margin: 26px auto 0;
}

.about-us-content .images-block div {
    display: inline-block;
}

.about-us-content .images-block div:not(:last-child) {
    margin-right: 10px;
    margin-left: -4px;
}

.about-us-content .images-block div:first-child {
    margin-left: 0;
}

.about-us-content .text-content {
    max-width: 1172px;
    margin: 0 auto;
    padding-left: 0;
}

.about-us-content .text-content h2 {
    font-family: DIN-Black;
    color: #24272a;
}

.about-us-content .text-content p {
    font-family: DIN2014-Regular;
    color: #24272a;
    padding-left: 40px;
    font-size: 16px;
    width: 91%;
}


/*
//
//  Responsive
//  _____________________________________________*/


@media (min-width: 1945px) {
    .cms-index-index .page-red-bg-information h2 {
        top: 115px !important;
    }
}

@media(min-width: 1870px) {
    .cms-index-index .page-red-bg-information span {
        top: 57% !important;
    }
}

@media (min-width: 1750px) {
    .cms-index-index .page-red-bg-information:after {
        top: 117px !important;
    }
}

@media (min-width: 1480px) {
    .cms-index-index .page-red-bg-information {
        background: url(../images/home-red-bg.png) no-repeat !important;
        background-size: cover !important;
        margin-top: -95px !important;
    }
    .cms-index-index .page-red-bg-information h2 {
        top: 98px !important;
    }
    .page-footer:after {
        height: 37px;
        bottom: -9px;
    }
    .page-footer .footer-container:after {
        height: 12px;
        bottom: -10px;
        z-index: 999;
    }
}


@media (max-width: 1314px) {
    .about-us-content .images-block {
        text-align: left;
        margin-left: 0;
    }
    .about-us-content .images-block div img {
        height: 143px;
    }
    .about-us-content .images-block div:not(:last-child) {
        margin-bottom: 25px;
    }
    .about-us-content .text-content {
        width: 84%;
        margin-left: 0;
    }
}


@media (max-width: 1210px) {
    .newsletter-block .subscribe-block .title {
        text-align: center;
        font-size: 25px;
        margin-bottom: 18px;
    }
    #home-content .slider-block .text-content {
        top: 40%;
    }
    #home-content .slider-block .text-content h1 {
        font-size: 32px;
    }
    #home-content .slider-block #banner-slider-carousel .item .products-block img {
        height: 56px;
    }
}

@media (max-width: 787px) {
    .cms-index-index .page-red-bg-information:after {
        top: 83px !important;
    }
}

@media (min-width: 993px) {
    .recent-posts-and-about .about-coffee {
        position: relative;
    }
    .recent-posts-and-about .about-coffee:before {
        content: '';
        background: url(../images/grey-line.png) no-repeat;
        width: 2px;
        height: 100%;
        background-size: 4px;
        display: inline-block;
        position: absolute;
        left: 0;
    }
    .cms-coffee-club .recent-posts-and-about {
        position: relative;
        margin-top: 37px;
    }
    .cms-coffee-club .recent-posts-and-about:before {
        content: '';
        background: url(../images/grey_texture.png);
        width: 100%;
        height: 15px;
        display: block;
        position: absolute;
        left: -20px;
        top: -18px;
    }
}

@media(max-width: 992px) {
    #home-content .sign-and-newsletter .sign-in {
        padding: 0 !important;
    }
    .newsletter-block {
        padding: 0 !important;
        margin-top: -5px;
    }
    .newsletter-block .subscribe-block {
        padding-top: 10px;
    }
    .newsletter-block .subscribe-block > div {
        position: unset;
        transform: translate(0%,0%);
    }
    .recent-posts-and-about .row > div:first-child {
        border-right: none;
    }
    .about-us-content .images-block div {
        width: 18%;
    }
    .about-us-content .images-block div img {
        height: auto;
        vertical-align: top;
    }
}

@media(max-width: 768px) {
    .page-header {
        margin-bottom: 0 !important;
    }
    #home-content .slider-block .text-content {
        width: 100%;
        top: 0;
        transform: translate(-50%, 0%);
    }
    .page-footer {
        margin-top: 0;
    }
    .page-footer .footer-container {
        padding: 20px;
    }
    .page-footer .footer-container .col-xs-2.text-center {
        display: none;
    }
    .page-footer .footer-container .col-xs-5 .copyright-text {
        display: none;
    }
    .page-footer .footer-container .right-block ul {
        margin: 0;
        margin-top: 14px;
    }
    .page-footer .footer-container .center-logo {
        margin-top: 14px;
    }
    .page-footer .footer-container .center-logo .social-block {
        text-align: left;
    }
    .page-footer .footer-container .mobile-copyright-text {
        text-align: center;
        margin-top: 20px;
    }
    .recent-posts-and-about {
        padding-bottom: 14px;
    }
    .about-us-content .text-content p {
        padding-left: 0;
    }
    .about-us-content .images-block,
    .about-us-content .text-content {
        padding-left: 10px;
    }
}

@media(min-width: 768px) {
    .about-us-content .top-banner {
        background: url('../images/about-us-banner.png') no-repeat;
        min-height: calc(62vh - 160px);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        overflow: hidden;
    }

    .about-us-content .top-banner img {
        display: none;
    }
    .cms-index-index .page-red-bg-information {
        background: url(../images/home-red-bg.png) no-repeat;
        width: 100%;
        height: 259px;
        background-size: cover;
        padding-left: 0;
        margin-top: -76px;
        padding: 0;

        background-position-y: -30px !important;
    }

    .cms-index-index .page-red-bg-information h2 {
        position: relative;
        top: 89px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        line-height: 35px;
    }
    .cms-index-index .page-red-bg-information:after {
        content: '';
        background: url(../images/Red_Texture-bottom.png);
        max-width: 1274px;
        margin: 0 auto;
        height: 27px;
        display: block;
        position: relative;
        top: 113px;
        z-index: 1;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
    }
}

@media (min-width: 769px) {
    .page-footer .footer-container .right-block {
        flex-basis: 40%;
        max-width: 40%;
    }
    .page-footer .footer-container .center-logo {
        -webkit-align-self: center;
        align-self: center;
    }
    .page-footer .footer-container .mobile-copyright-text {
        display: none;
    }
    .about-us-content .container {
        max-width: 1280px;
        padding-left: 20px;
        padding-right: 20px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    #home-content .slider-block .text-content {
        top: 50%;
        transform: translate(-50%,-50%);
    }
    #home-content .slider-block #banner-slider-carousel .item .products-block {
        display: none;
    }
    .recent-posts-and-about #banner-slider-carousel .banner-title {
        width: 95%;
        text-align: center;
        min-height: unset;
        margin-bottom: 10px;
    }
    .recent-posts-and-about .slider-block {
        width: 100%;
    }
    .recent-posts-and-about #banner-slider-carousel .owl-dots {
        opacity: 1;
        left: calc(50% - 36px);
    }
    .recent-posts-and-about #banner-slider-carousel .owl-dots button {
        box-shadow: none !important;
    }
    .recent-posts-and-about #banner-slider-carousel .nav {
        display: none !important;
    }
    .recent-posts-and-about #banner-slider-carousel .owl-nav {
        display: none;
    }
    .about-us-content .images-block {
        text-align: center !important;
        float: none;
        padding-left: 10px;
    }
    .about-us-content .images-block div {
        width: 45%;
        margin-right: 20px !important;
        text-align: left;
    }
    .about-us-content .images-block div:nth-child(2n) {
        margin-right: 0 !important;
    }
    .about-us-content .text-content {
        padding: 20px 20px 0;
        width: auto;
    }
    .about-us-content .top-banner h2 {
        font-size: 35px;
    }
    .about-us-content .text-content p {
        width: auto;
    }
}

@media (max-width: 480px) {
    .page-footer .footer-container {
        padding: 20px 10px;
    }
    .page-footer .footer-container .col-xs-4,
    .page-footer .footer-container .center-logo,
    .page-footer .footer-container .center-logo + div {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }
    .page-footer .footer-container ul {
        list-style: none;
        padding-left: 0;
        margin-top: 30px;
        margin-top: 0;
        margin-bottom: 25px;
    }
    .page-footer .footer-container .center-logo {
        margin-bottom: 25px;
    }
}

@media (max-width: 440px) {
    #home-content .sign-and-newsletter .sign-in .text-content {
        width: 100%;
    }
    #home-content .sign-and-newsletter .sign-in .text-content h2 {
        font-size: 26px;
    }
}
