/*

Dwor Rybieniec

*/

:root {
    --col1: #b89855;
    --col2: #d4b97a;
    --col3: #d9c8a9;
    --col4: #907742;
    --col5: #b19354;
    --text: #6a5e52;
    --text2: #3a3228;
    --dark: #231f20;
    --dark2: #3e3739;
    --bglight: #ede7dc;
    --borbis: #B0CB1F;
}

.col1 { color: var(--col1) !important; }
.col2 { color: var(--col2) !important; }

/* scroll */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--col1);
}

::-webkit-scrollbar-track {
    background: #fff;
}

/* logo */
#header-outer #logo img {
    max-width: 240px;
    height: auto;
}

/* intro */
html .intro.wpb_row .row-bg-wrap .row-bg-overlay,
html .single-post #page-header-bg[data-post-hs="default_minimal"] .page-header-bg-image:after {
    background: linear-gradient(to bottom, transparent,rgb(18 14 8 / 70%) 100%) !important;
    opacity: 1 !important;
}

html .intro_ov2.wpb_row .row-bg-wrap .row-bg-overlay {
    background: linear-gradient(to bottom, rgb(18 14 8 / 20%) 0%, rgb(18 14 8 / 80%) 100%) !important;
}

html .intro p {
    font-size: 140%;
    line-height: 1.5;
}

/* buttony */
.button_group > .span_12 > .col > .vc_column-inner > .wpb_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.button_group > .span_12 > .col.centered-text > .vc_column-inner > .wpb_wrapper {
    justify-content: center;
}

.button_group > .span_12 > .col > .vc_column-inner > .wpb_wrapper > .nectar-cta {
    margin: 0;
}

html .nectar-cta .link_wrap {
    display: block;
}

html .button_bold .nectar-button-type {
    font-weight: 500;
}

/* kolory tekstu */
html .dark h1,
html .dark h2,
html .dark h3,
html .dark h4,
html .dark h5 {
    color: var(--dark);
}

html .dark strong {
    color: var(--text2);
}

html .light p {
    color: rgba(255,255,255,.75);
}

html .light strong {
    color: #fff;
}

/* pod intro */
.below_intro_text {
    font-size: 120%;
    color: var(--dark);
    font-weight: 400;
}

/* iconboxy */
.iconboxy > .span_12 > .col > .vc_column-inner > .wpb_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.iconboxy .iwithtext {
    margin: 0;
    width: calc(50% - 10px);
    display: flex;
    align-items: center;
    gap: 15px;
}

.iconboxy .iwithtext .iwt-icon {
    position: initial;
}

.iconboxy .iwithtext .iwt-icon img {
    width: 80px !important;
    height: auto;
    display: block;
}

.iconboxy .iwithtext .iwt-text {
    padding: 0;
    flex-shrink: 9999;
}

.iconboxy .iwithtext .iwt-text h3 {
    margin-bottom: 2px;
}

.iconboxy .iwithtext .iwt-text p {
    color: rgba(255,255,255,.6);
    font-size: 90%;
}

html .ikony img {
    width: 100px;
}

html .ikony img,
html .ikony h3 {
    margin-bottom: 5px !important;
}

/* opinie */ 
.opinie > .span_12 {
    justify-content: center;
}

.opinie > .span_12 > .col {
    width: 100%;
    max-width: 750px;
}

.opinie > .span_12 > .col > .vc_column-inner > .wpb_wrapper {
    background: rgb(255 255 255 / 90%);
    height: 100%;
    padding: 40px;
    position: relative;
}

.opinie > .span_12 > .col > .vc_column-inner > .wpb_wrapper > .wpb_text_column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.opinie .cytat {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--col3);
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    line-height: 1px;
}

.opinie .gwiazdki {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.opinie .gwiazdka {
    color: var(--col1);
    font-size: 80%;
    line-height: 1;
}

html .opinie p {
    color: var(--text2);
    font-style: italic;
    padding-bottom: 20px;
    font-size: 110%;
}

html .opinie .autor {
    color: var(--col1);
    font-size: 90%;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    margin-top: auto;
}

.opinie_karuzela .nectar-flickity.nectar-carousel[data-format=default] .flickity-slider .cell {
    padding-top: 0;
    padding-bottom: 0;
}

.opinie_karuzela .nectar-flickity.nectar-carousel .flickity-slider .inner-wrap > .opinie, .opinie_karuzela .nectar-flickity.nectar-carousel .flickity-slider .inner-wrap > .opinie > .col {
    height: 100%;
}

html .nectar-flickity[data-control-style=material_pagination] .flickity-page-dots {
    bottom: -40px;
}

/* formularz */
.border_bottom .row-bg {
    background: var(--dark2) !important
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    -webkit-transition: background-color 600000s 0s, color 600000s 0s, background-image 600000s 0s;
    transition: background-color 600000s 0s, color 600000s 0s, background-image 600000s 0s;
}

::-webkit-input-placeholder {
    color: var(--text);
    opacity: .85;
}

form .form_field .ff_label {
    color: var(--col1);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 75%;
    line-height: 1.75;
    padding-bottom: 2px;
    display: block;
}

.container-wrap form input[type=text],
.container-wrap form input[type=email],
.container-wrap form input[type=tel],
.container-wrap form input[type=date],
.container-wrap form input[type=number],
.container-wrap form textarea,
html body[data-fancy-form-rcs="1"] .span_12.light .select2-container--default .select2-selection--single {
    background: rgba(255, 255, 255, .05) !important;
    padding: 8px 12px;
    border: 1px solid rgba(184, 152, 85, .25) !important;
    border-radius: 0;
    color: #fff;
    font-size: 95%;
    transition: border-color .3s ease;
    line-height: 1.5;
    height: 43px;
    font-family: 'Crimson Pro', serif;
    font-weight: 300;
}

.container-wrap form input[type=text]:focus,
.container-wrap form input[type=email]:focus,
.container-wrap form input[type=tel]:focus,
.container-wrap form input[type=date]:focus,
.container-wrap form input[type=number]:focus,
.container-wrap form textarea:focus,
html body[data-fancy-form-rcs="1"] .span_12.light .select2-container--default .select2-selection--single:focus {
    border-color: var(--col1) !important;
    box-shadow: none;
}

html body[data-fancy-form-rcs="1"] .fancy-select-wrap {
    padding-top: 0;
}

html body[data-fancy-form-rcs="1"] .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    line-height: inherit;
}

html body[data-fancy-form-rcs="1"] .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px;
}

.container-wrap form textarea {
    display: block;
    resize: none;
    height: 75px;
}

.form_field br, span.wpcf7-spinner {
    display: none;
}

span.wpcf7-list-item {
    margin: 0;
    display: block;
}

html .wpcf7-form p span.wpcf7-list-item-label {
    color: rgba(255,255,255,.75);
    font-size: 90%;
}

html label:has(input[type="checkbox"]) input[type="checkbox"] {
    border-color: rgba(184, 152, 85, .5);
}

html label:has(input[type="checkbox"]) input[type="checkbox"]:checked,
html label:has(input[type="checkbox"]) input[type="checkbox"]::before {
    border-color: var(--col1);
}

html .wpcf7-form p span.wpcf7-list-item-label a {
    color: var(--col2);
}

html .wpcf7-form p span.wpcf7-list-item-label a:hover {
    color: var(--col1);
}

html body .container-wrap input[type="submit"]:disabled {
    opacity: .75;
    pointer-events: none;
}

html body[data-form-submit=regular] .container-wrap form input[type=submit] {
    width: 100%;
    border-radius: 0 !important;
    font-size: 95%;
    line-height: 1.5;
    padding: 10px 20px !important;
    background: var(--col1);
    color: var(--dark);
}

html body[data-form-submit=regular] .container-wrap form input[type=submit]:hover,
html #commentform .form-submit input[type=submit]:hover {
    opacity: 1 !important;
    background: var(--col2) !important;
    color: var(--dark);
}

.form_fields {
    display: flex;
    flex-wrap: wrap;
    margin: -7.5px;
}

.form_field {
    padding: 7.5px;
    width: 100%;
}

.form_field p {
    line-height: 1;
}

.ff_half {
    width: 50%;
}

html .wpcf7-form .wpcf7-not-valid-tip {
    box-shadow: none;
    padding: 0;
    position: absolute;
    left: 12px;
    top: initial;
    bottom: -9px;
    font-size: 12px;
    line-height: 1.3;
    padding: 2px 5px;
    border-radius: 5px;
}

html .wpcf7 form .wpcf7-response-output {
    text-align: center;
    border-radius: 8px;
    margin: 10px auto 0;
    border: 0;
    padding: 0;
    font-weight: 400;
    background: transparent;
    line-height: 1.5;
    max-width: 500px;
}

html .wpcf7 form.invalid .wpcf7-response-output,
html .wpcf7 form.unaccepted .wpcf7-response-output,
html .wpcf7 form.payment-required .wpcf7-response-output,
html .wpcf7 form.failed .wpcf7-response-output,
html .wpcf7 form.aborted .wpcf7-response-output {
    color: var(--col1) !important;
}

html .wpcf7 form.sent .wpcf7-response-output {
	color: var(--col2) !important;;
}

/* lista wpisow */
.post-area.featured_img_left .article-content-wrap .post-featured-img-wrap img {
    margin: 0;
}

html .post-area.featured_img_left article .meta-category a {
    font-weight: 300;
    color: var(--col1) !important;
}

html .post-area.featured_img_left article .meta-category a:before {
    background: var(--col1) !important;
}

html .post-area.featured_img_left article h3 {
    font-size: 200%
}

@media(min-width: 1001px) {
    html .post-area.featured_img_left .article-content-wrap .post-content-wrap {
        padding: 0;
        padding-left: 40px;
    }
}

html .post-area.featured_img_left article {
    margin-bottom: 45px;
}

html .post-area.featured_img_left article:last-child {
    margin-bottom: 0;
}

html .archive.category .row .col.section-title span {
    display: none;
}

/* pojedynczy wpis */
html body.single-post.material[data-bg-header=true] .container-wrap {
    padding-top: 50px !important;
}

html .blog_next_prev_buttons {
    margin-top: 60px;
}

html body.material .post .content-inner,
html body.single-post .main-content>.row{
    padding-bottom: 0;
}

/* galeria taby */
html .tabbed[data-style=minimal] .wpb_tabs_nav {
    margin-bottom: 10px;
}

/* kontakt */
body .light a {
    color: #fff;
}

body .light a:hover {
    color: var(--col2);
}

iframe {
    display: block;
}

/* footer */
html .footer,
html .footer .copyright {
    font-size: 90%;
}

html .footer img {
    height: 65px !important;
    width: auto;
}

.footer .widget ul {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer .widget ul li {
    list-style: none;
}

.footer .dana a,
.footer .socialki a,
.footer .widget ul li a {
    color: rgba(255,255,255,.75);
    display: block;
}

.footer .dana a:hover,
.footer .socialki a:hover,
html .footer h4,
.footer .widget ul li a:hover {
    color: var(--col2) !important;
}

html .footer h4 {
    margin-bottom: 10px;
}

html .footer p {
    line-height: 1.7;
}

html .footer p:not(:last-child) {
    padding-bottom: 15px;
}

.dana {
    display: flex;
}

.dana:first-child {
    padding-top: 5px;
}

.dana:not(:last-child) {
    margin-bottom: 15px;
}

.dana i {
    line-height: inherit;
    margin-right: 10px;
    width: 20px;
    color: var(--col2);
}

.socialki {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* footer - copyright */
html .footer .copyright {
    border-top: 1px solid rgba(255,255,255,.15);
}

html .footer .copyright p {
    color: rgba(255,255,255,.5);
}

html .footer .copyright a {
    color: var(--borbis) !important;
}

/* header - flagi */
#header-outer[data-format=left-header] .sf-menu li.wpml-ls-item,
body.material #slide-out-widget-area[class*=slide-out-from-right] .off-canvas-menu-container li.wpml-ls-item {
    display: inline;    
}

#header-outer[data-format=left-header] .sf-menu li.wpml-ls-item:not(.wpml-ls-first-item),
body.material #slide-out-widget-area[class*=slide-out-from-right] .off-canvas-menu-container li.wpml-ls-item:not(.wpml-ls-first-item) {
    margin-left: 10px;
}

/* rwd */
html .nectar-cta[data-alignment=left] {
    text-align: center;
}

@media(max-width: 1000px) {
    html body {
        font-size: 17px;
    }

    html .intro h1 {
        font-size: 40px;
    }

    html .intro h2 {
        font-size: 32px;
    }

    .divider-wrap.height_phone_24px > .divider {
        margin: 0 !important;
    }

    .opinie > .span_12 > .col > .vc_column-inner > .wpb_wrapper {
        padding: 35px;
    }

    .opinie .cytat {
        font-size: 75px;
        top: 17.5px;
    }

    html .minHeightBg,
    html .minHeightBg > .vc_column-inner {
        min-height: 450px !important;
    }
    
    html .ikony img {
        width: 75px;
    }

    html .nectar-flickity.nectar-carousel:not(.masonry).tb-spacing-0 .flickity-page-dots {
        bottom: -40px;
    }
}

@media(max-width: 690px) {
    html body {
        font-size: 16px;
    }

    html .intro h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    html .intro h2 {
        font-size: 28px;
    }

    html .intro p {
        font-size: 107.5%;
        line-height: 1.6;
    }

    .button_group > .span_12 > .col > .vc_column-inner > .wpb_wrapper > .nectar-cta,
    .iconboxy .iwithtext,
    .ff_half {
        width: 100%;
    }

    .opinie > .span_12 > .col > .vc_column-inner > .wpb_wrapper {
        padding: 30px;
    }

    .opinie .cytat {
        font-size: 70px;
        top: 15px;
    }

    html .minHeightBg,
    html .minHeightBg > .vc_column-inner {
        min-height: 350px !important;
    }

    html .vc_row-fluid[data-column-margin="50px"] .wpb_column:not([class*="vc_col-xs-"]):not(.child_column):not(:last-child) {
        margin-bottom: 30px;
    }

    html body .container-wrap .vc_row-fluid[data-column-margin="50px"] .wpb_column:not(.child_column), body .container-wrap .inner_row[data-column-margin="50px"] .child_column, html body .vc_row-fluid[data-column-margin="50px"] .wpb_column:not(.child_column), html body .inner_row[data-column-margin="50px"] .child_column {
        padding: 0;
    }

    html .post-area.featured_img_left .article-content-wrap .post-content-wrap {
        padding: 20px 0 0;
    }

    html .post-area.featured_img_left article:not(:last-child) {
        margin-bottom: 35px;
    }

    html .post-area.featured_img_left .post-content-wrap .grav-wrap {
        margin-top: 10px;
    }

    .opinie .gwiazdki {
        margin-bottom: 1px;
    }

    html .opinie p {
        font-size: 105%;
        padding-bottom: 15px;
    }
}

@media(max-width: 480px) {
    .opinie > .span_12 > .col > .vc_column-inner > .wpb_wrapper {
        padding: 25px;
    }

    .opinie .cytat {
        font-size: 65px;
        top: 10px;
    }

    html .opinie p {
        padding-bottom: 10px;
    }
}