/*
Theme Name: creaturawine
Theme URI:
Description: Bootstrap Starter Theme for WordPress. Using Twitter Bootstrap 4.1.1
Author: fingerprint.hu
Author URI: http://simonpadbury.github.io
Version: 2.3
Tags:
Text Domain: b4st
License: Unlicense
License URI: http://unlicense.org
*/

/* Preloader */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    /* change if the mask should have another color then white */
    z-index: 99;
    /* makes sure it stays on top */
}

#status {
    width: 200px;
    height: 200px;
    position: absolute;
    left: 50%;
    /* centers the loading animation horizontally one the screen */
    top: 50%;
    /* centers the loading animation vertically one the screen */
    /*background-image: url(https://raw.githubusercontent.com/niklausgerber/PreLoadMe/master/img/status.gif);*/
    /* path to your loading animation */
    background-repeat: no-repeat;
    background-position: center;
    margin: -100px 0 0 -100px;
    /* is width and height divided by two */
}

/*preloader fancy*/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

section.wrapper {
    padding: 40px 0;
}

section.wrapper.dark {
    background: #313134;
}

div.spinner {
    -moz-animation: rotate 10s infinite linear;
    -webkit-animation: rotate 10s infinite linear;
    animation: rotate 10s infinite linear;
    position: relative;
    display: block;
    margin: auto;
    width: 142px;
    height: 142px;
}

div.spinner i {
    -moz-animation: rotate 3s infinite cubic-bezier(0.09, 0.6, 0.8, 0.03);
    -webkit-animation: rotate 3s infinite cubic-bezier(0.09, 0.6, 0.8, 0.03);
    animation: rotate 3s infinite cubic-bezier(0.09, 0.6, 0.8, 0.03);
    -moz-transform-origin: 50% 100% 0;
    -webkit-transform-origin: 50% 100% 0;
    transform-origin: 50% 100% 0;
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    border: solid 6px transparent;
    border-bottom: none;
}

div.spinner i:nth-child(1) {
    -moz-animation-timing-function: cubic-bezier(0.09, 0.3, 0.12, 0.03);
    -webkit-animation-timing-function: cubic-bezier(0.09, 0.3, 0.12, 0.03);
    animation-timing-function: cubic-bezier(0.09, 0.3, 0.12, 0.03);
    width: 44px;
    height: 22px;
    margin-top: -22px;
    margin-left: -22px;
    border-color: #d5a751;
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
}

div.spinner i:nth-child(2) {
    -moz-animation-timing-function: cubic-bezier(0.09, 0.6, 0.24, 0.03);
    -webkit-animation-timing-function: cubic-bezier(0.09, 0.6, 0.24, 0.03);
    animation-timing-function: cubic-bezier(0.09, 0.6, 0.24, 0.03);
    width: 58px;
    height: 29px;
    margin-top: -29px;
    margin-left: -29px;
    border-color: #ad814a;
    border-top-left-radius: 42px;
    border-top-right-radius: 42px;
}

div.spinner i:nth-child(3) {
    -moz-animation-timing-function: cubic-bezier(0.09, 0.9, 0.36, 0.03);
    -webkit-animation-timing-function: cubic-bezier(0.09, 0.9, 0.36, 0.03);
    animation-timing-function: cubic-bezier(0.09, 0.9, 0.36, 0.03);
    width: 72px;
    height: 36px;
    margin-top: -36px;
    margin-left: -36px;
    border-color: #ad814a;
    border-top-left-radius: 48px;
    border-top-right-radius: 48px;
}

div.spinner i:nth-child(4) {
    -moz-animation-timing-function: cubic-bezier(0.09, 1.2, 0.48, 0.03);
    -webkit-animation-timing-function: cubic-bezier(0.09, 1.2, 0.48, 0.03);
    animation-timing-function: cubic-bezier(0.09, 1.2, 0.48, 0.03);
    width: 86px;
    height: 43px;
    margin-top: -43px;
    margin-left: -43px;
    border-color: #ad814a;
    border-top-left-radius: 54px;
    border-top-right-radius: 54px;
}

div.spinner i:nth-child(5) {
    -moz-animation-timing-function: cubic-bezier(0.09, 1.5, 0.6, 0.03);
    -webkit-animation-timing-function: cubic-bezier(0.09, 1.5, 0.6, 0.03);
    animation-timing-function: cubic-bezier(0.09, 1.5, 0.6, 0.03);
    width: 100px;
    height: 50px;
    margin-top: -50px;
    margin-left: -50px;
    border-color: #e5ab60;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
}

div.spinner i:nth-child(6) {
    -moz-animation-timing-function: cubic-bezier(0.09, 1.8, 0.72, 0.03);
    -webkit-animation-timing-function: cubic-bezier(0.09, 1.8, 0.72, 0.03);
    animation-timing-function: cubic-bezier(0.09, 1.8, 0.72, 0.03);
    width: 114px;
    height: 57px;
    margin-top: -57px;
    margin-left: -57px;
    border-color: #ad814a;
    border-top-left-radius: 66px;
    border-top-right-radius: 66px;
}

div.spinner i:nth-child(7) {
    -moz-animation-timing-function: cubic-bezier(0.09, 2.1, 0.84, 0.03);
    -webkit-animation-timing-function: cubic-bezier(0.09, 2.1, 0.84, 0.03);
    animation-timing-function: cubic-bezier(0.09, 2.1, 0.84, 0.03);
    width: 128px;
    height: 64px;
    margin-top: -64px;
    margin-left: -64px;
    border-color: #ad814a;
    border-top-left-radius: 72px;
    border-top-right-radius: 72px;
}

div.spinner i:nth-child(8) {
    -moz-animation-timing-function: cubic-bezier(0.09, 2.4, 0.96, 0.03);
    -webkit-animation-timing-function: cubic-bezier(0.09, 2.4, 0.96, 0.03);
    animation-timing-function: cubic-bezier(0.09, 2.4, 0.96, 0.03);
    width: 142px;
    height: 71px;
    margin-top: -71px;
    margin-left: -71px;
    border-color: #ad814a;
    border-top-left-radius: 78px;
    border-top-right-radius: 78px;
}

@-moz-keyframes rotate {
    to {
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes rotate {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    to {
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*ADMIN*/
.admin-bar .navbar {
    margin-top: 32px;
}

/*MAIN*/

body {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 300 !important;
    color: #251911;
}

p {
    margin-bottom: 0;
}

/*p + p {
    text-indent: 1em !important;
}*/

.baseline-grid {
    background-image: linear-gradient(to bottom, rgba(0, 170, 255, .3) 1px, transparent 1px);
    background-position: left top;
    background-repeat: repeat;
    background-size: 100% 30px; /*Replace px size with line height*/
}

ul, ol {
    padding-left: 0;
    list-style-position: outside;
}

strong {
    font-weight: 600 !important;
}

a {
    text-decoration: none !important;
    color: #ad814a !important;
    transition: 0.5s;
}

a:hover {
    color: #9c4746 !important;
}

:focus {
    outline: none !important;
}

::selection {
    background-color: #251911;
    color: #ad814a;
}

.navbar {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    /*padding: 0;*/
}

.navbar-light .navbar-toggler {
    color: rgba(0, 0, 0, .5);
    border-color: #c5a962;
}

.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid #c5a962;
    border-radius: 0;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(229,180,84, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

.custom-toggler.navbar-toggler {
    border-color: rgb(229, 180, 84) !important;
}

.navbar-brand {
    /*display: inline-block;
    padding-top: 0;
    padding-bottom: 0;*/
    margin-right: 0;
    /*font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;*/
}

.lang-item a img {
    width: 35px;
    height: auto;
}

.cw-bg-light {
    background-color: #fffcf7;
    transition: 0.5s;
}

.cw-logo {
    width: 100%;
    transition: 1.0s;
}

.starter-container {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 60px;
}

.starter {
    height: 75vh;
    background-image: url("https://creaturawine.hu/wp-content/uploads/2018/10/gloriandus-image-total.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

.starter-gloriandus-img img {
    width: 20%;
    margin-top: 30px;
    margin-bottom: 40px
}

/*arrow down*/

.bounce {
    -moz-animation: bounce 3s infinite;
    -webkit-animation: bounce 3s infinite;
    animation: bounce 3s infinite;
}

@-moz-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -moz-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    60% {
        -moz-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    60% {
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -moz-transform: translateY(-30px);
        -ms-transform: translateY(-30px);
        -webkit-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    60% {
        -moz-transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        -webkit-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}

/* end arrow down*/

.cw-bgr {
    /*height: 100%;*/
    background-image: url("https://creaturawine.hu/wp-content/uploads/2018/08/cw-winery-2.jpg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    /*margin: 0 -15px 0 -15px;*/
}

.cw-headline {
    /*padding: 110px 0 0 0;*/
    color: white;
    opacity: 1;
}

.cw-headline img {
    width: 85px;
    margin-bottom: 15px;
    -webkit-filter: grayscale(60%)
}

.cw-section-head {
    padding: 50px 0 30px 0;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.1rem;
}

.cw-section-head h2 {
    font-size: 1.6rem;
    letter-spacing: .4rem;
}

.front-wines {
    /*background-color: #251911;*/
    background-color: #f1f1f1;
    color: #ad814a;
    padding-bottom: 80px;
}

.front-wines a {
    color: #ad814a;
}

.cw-wines {

}

.cw-wine {
}

.cw-wine:hover {
    opacity: 1;
}

.cw-wine img {
    width: 75%;
    height: auto;
    opacity: 1;
    transition: 0.5s;
}

.cw-wine img:hover {
    opacity: 1;
}

.cw-wines .slick-slide img {
    display: inline-block;
}

.cw-wine h3 {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    font-size: 1.618rem;
    letter-spacing: 0.1rem;
    margin-bottom: 0;
    margin-top: 15px;
}

.cw-wine h4 {
    font-size: 1rem;
    color: #765632;
    font-weight: 300;
}

.cw-wine h5 {
    font-size: .8rem;
    color: #765632;
    font-weight: 300;
}

.cw-winery {
    padding: 0 0 0 0;
}

.cw-winery-txt {
    font-size: 18px;
    background-color: #fffcf7;
    padding: 90px 120px;
    line-height: 1.7;
    letter-spacing: .01rem;
    font-weight: 400;
}

.cw-winery-txt p:first-child:first-letter {
    color: #ad814a;
    font-family: 'Cinzel', serif;
    float: left;
    font-size: 4em;
    line-height: 0;
    margin-top: 5px;
    margin-left: -5px;
}

/*TRIBE EVENTS*/

#tribe-events-content {
    margin-top: 60px;
}

#tribe-events .tribe-events-button, #tribe-events .tribe-events-button:hover, #tribe_events_filters_wrapper input[type=submit], .tribe-events-button, .tribe-events-button.tribe-active:hover, .tribe-events-button.tribe-inactive, .tribe-events-button:hover, .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-], .tribe-events-calendar td.tribe-events-present div[id*=tribe-events-daynum-] > a {
    background-color: #251910;
}

/*CW-events*/
.cw-events {
    min-height: 300px;
    background-color: #ad814a;
    color: #251910;
}

.cw-events a {
    color: #251910 !important;
}

.cw-events a:hover {
    color: #9c4746 !important;
}

.cw-events-front-item {
    margin: 0 0 30px 0;
    box-shadow: 0 8px 48px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.cw-event-front-thumb {
    padding: 0;
}

.cw-events-button {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #b79462;
    padding: 15px;
}

.cw-events-dates {
    font-weight: 600;
}

.cw-customers {
    min-height: 300px;
    color: #ad814a;
    background-color: #251911;
}

.cw-front-contactform {
    background-color: #987a55;
}

.cw-contact {
    min-height: 100px;
    padding-bottom: 60px;
    color: lightgray;
    background-color: #251911;
}

/*wpforms*/
div.wpforms-container-full .wpforms-form input[type=date], div.wpforms-container-full .wpforms-form input[type=datetime], div.wpforms-container-full .wpforms-form input[type=datetime-local], div.wpforms-container-full .wpforms-form input[type=email], div.wpforms-container-full .wpforms-form input[type=month], div.wpforms-container-full .wpforms-form input[type=number], div.wpforms-container-full .wpforms-form input[type=password], div.wpforms-container-full .wpforms-form input[type=range], div.wpforms-container-full .wpforms-form input[type=search], div.wpforms-container-full .wpforms-form input[type=tel], div.wpforms-container-full .wpforms-form input[type=text], div.wpforms-container-full .wpforms-form input[type=time], div.wpforms-container-full .wpforms-form input[type=url], div.wpforms-container-full .wpforms-form input[type=week], div.wpforms-container-full .wpforms-form select, div.wpforms-container-full .wpforms-form textarea {
    background-color: #b79665 !important;
    border: none !important;
}

div.wpforms-container-full .wpforms-form input[type=submit], div.wpforms-container-full .wpforms-form button[type=submit], div.wpforms-container-full .wpforms-form .wpforms-page-button {
    background-color: #1f1207 !important;
    border: 1px solid #ddd;
    color: #ac8141 !important;
    font-size: 1em;
    padding: 10px 15px;
}

div.wpforms-container-full .wpforms-form .wpforms-field-label {
    color: #1f1207;
}

div.wpforms-container-full .wpforms-form input.wpforms-field-medium, div.wpforms-container-full .wpforms-form select.wpforms-field-medium, div.wpforms-container-full .wpforms-form .wpforms-field-row.wpforms-field-medium {
    max-width: inherit !important;
}

/*bor-single*/
.bor-single-img img {
    width: 80%;
}

.bor-single-txt {
    font-weight: 400;
}

.bor-single-txt h1 {
    text-transform: uppercase;
}

.bor-single-txt h2 {
    margin-bottom: 0;
}

.bor-single-txt h5 {
    /*text-transform: uppercase;*/
    margin-bottom: 2rem;
}

/*SLICK*/

.slick-dots li button:before {
    color: #ae8149 !important;
}

.slick-dots {
    bottom: -60px;
}

/*age warning*/
.cc-banner.cc-bottom {
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
}

.cc-banner .cc-btn:last-child {
    min-width: 140px;
    margin-left: 50px;
}

.cc-window {
    position: fixed;
    overflow: hidden;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 2rem;
    line-height: 1.5em;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    z-index: 9999;
}

.cc-revoke {
    display: none;
}

.age-gate-submit-yes, .age-gate-submit-no {
    background-color: white !important;
}

/*scrollToTop*/

.scrollTop {
    position: fixed;
    right: 15px;
    bottom: 10px;
    background: #ae8149;
    padding: 15px;
    opacity: 0;
    transition: all 0.4s ease-in-out 0s;
    z-index: 9999;
}

.scrollTop a {
    font-size: 13px;
    color: #fff !important;
}

/*media*/

.custom-toggler .navbar-toggler-icon {
    background-color: transparent;
}

@media (max-width: 768px) {
    .cw-winery-txt {
        padding: 90px 30px;
    }

    .cw-headline img {
        width: 80px;
        margin-bottom: 0;
    }

    .starter-container {
        position: absolute;
        bottom: 10px;
    }

    .starter-gloriandus-img img {
        width: 40%;
    }

    .bor-single-txt {
        padding-top: 0;
    }
}