/* Theme Name: Wiejski Domek - Agroturystyka Mękarzów - motyw dedykowany.
Author: Rafał Krzeszewski
Author URI: https://reaktor-studio.pl/
@charset "utf-8";
/* CSS Document */
@charset "utf-8";
/*-*/ 
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
:root{
/*loader color*/
--loader_bg_color:rgba(227, 179, 108, 1 );
--loader_anim_color:rgba(102, 51, 51 ,1 );
/*global colors*/
--color_1:rgba(227, 179, 108, 1);
--color_2:rgb(0, 0, 0,1);
--color_3:rgba(255, 193, 2, 1);
/*mobile menu*/
--menu_bg_color:rgba(0, 0, 0, 0.85);/* kolor_tła menu*/
--menu_font_size:1.4rem; /* rozmiar tekstu buttona*/
--mobile_menu_font_size:1.6rem; /*mobile bt font size */
--menu_button_font_color:rgba(227, 179, 108, 1 );/* kolor tekstu buttona*/
--menu_font-weight:700; /* grubość tekstu buttona*/
--menu_button_hover_font_color:black;/* kolor tekstu linku hover*/
--menu_button_active_font_color:black;/* kolor tekstu wcisnietego buttona*/
--menu_button_bg_color:rgba(227, 179, 108, 1 );/* kolor tła buttona*/
--menu_button_hover_bg_color:rgba(227, 179, 108, 1 );/* kolor tła buttona hover*/
--menu_button_active_bg_color:rgba(227, 179, 108, 1 );/* kolor tła wciśniętego buttona */
/*--------*/
/*dynamic scroolbars/nav pan widths*/
--scrollbar_width:12px;
/*logo_shadows*/
--head_logo_shad: /*drop-shadow:*/ 0px 0px 2px #000000;
/*media query dynamic variable*/
--single_footer_ct_width:calc((100% / 3) - 1rem);
--footer_ct_padding:2rem 0;
--footer_margin_orientation:125px;
--padding_bottom_footer:0;
/*js dynamic variable*/
--content_wr_height:0;

}
* {
box-sizing: border-box;
}
body, html{
scroll-behavior: smooth;
overflow: hidden;
font-family: "Raleway", sans-serif;
font-optical-sizing: auto;
font-weight: normal;
font-style: normal;
}
/* START ROOT LOADER */
.loader {
position: fixed;
z-index: 2000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: var(--loader_bg_color);
display: flex;
align-items: center;
justify-content: center;
}
#loader_pan{
width: fit-content;
min-height: auto;
height:auto;
text-align: center;
}
#loader_pan img{
width:80%;
height:auto;
}
.pre-loader {
margin:auto;
width: 100%;
height: auto;
}

.pre-loader  div {
background-color:var(--loader_anim_color);
height: 8px;
width: 8px;
display: inline-block;
margin: 1px;
border-radius:50%;
-webkit-animation: heightChange 1s infinite ease-in-out;
animation: heightChange 1s infinite ease-in-out;

}

@-webkit-keyframes heightChange {
0%, 40%, 100% { -webkit-transform: scale(0.4) }  
20% { -webkit-transform: scale(1.0) }
}

@keyframes heightChange {
0%, 40%, 100% { transform: scale(0.4); }  
20% { transform: scale(1.0); }
}
.pre-loader .box2 {
-webkit-animation-delay: -0.9s;
animation-delay: -0.9s;
}

.pre-loader .box3 {
-webkit-animation-delay: -0.8s;
animation-delay: -0.8s;
}

.pre-loader .box4 {
-webkit-animation-delay: -0.7s;
animation-delay: -0.7s;
}

.pre-loader .box5 {
-webkit-animation-delay: -0.6s;
animation-delay: -0.6s;
}
/* END ROOT LOADER */
/*START MOBILE MENU*/
.mobile_menu {
z-index: 1200;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color:var(--menu_bg_color);
backdrop-filter: blur(6px);
visibility: visible;
opacity: 1;
transition: all 1s;
}
#close_mmenu_bt{
position: fixed;
top:10px;
right:0;
width:40px;
height:auto;
aspect-ratio:1/1;
margin:0 1rem 0 0;
background-image:url(image_html/nav/close_mobile_menu.svg);
background-repeat:no-repeat;
background-position: center;
background-size: cover;

}
#mobile_menu_center {
width: 100%;
height: 100%;
padding: 4rem 0 0 0;
text-align: center;
overflow-x: auto;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
#mini_nav ul{
padding:0 0 1rem 0;
}
#mini_nav ul li{
display:block;
margin:1rem 0 2rem 0;
}
#mini_nav ul li a{
color:var(--menu_button_font_color);
font-size:var(--mobile_menu_font_size);
font-weight: var(--menu_font-weight);
text-transform: capitalize;
text-rendering: geometricPrecision;
text-decoration: none;
padding: .1rem .7rem .1rem .7rem;
transition: all .5s ease-out;
border-radius: .3rem;
}
#mini_nav ul li a:hover{
color:var(--menu_button_hover_font_color);
background-color:var(--menu_button_bg_color);
transition: all .5s ease-out;
}
#mini_nav .current-menu-item  a{
color:var(--menu_button_hover_font_color);
transition: 0.6s all;
background-color:var(--menu_button_bg_color);
}
#mini_nav .current-category-ancestor a{
font-weight: 600;
color:var(--menu_button_hover_font_color);
transition: 0.6s all;
background-color:var(--menu_button_bg_color);
}
#mini_nav .current-menu-parent a{
font-weight: 600;
color:var(--menu_button_hover_font_color);
transition: 0.6s all;
background-color:var(--menu_button_bg_color);
} 
/*END MOBILE MENU*/
#rs_root_wr{
display:flex;
align-items:center;
justify-content:center;
flex-direction:column;
flex-wrap:wrap;
row-gap:0rem;
column-gap:0rem;
width:100%;
max-width: 2560px;
height:auto;
margin:auto;
}
#rs_nav_ct{
box-sizing: content-box;
z-index: 600;
position: fixed;
top:0;
left:0;
width:calc(100% - var(--scrollbar_width));
height:auto;
}
#rs_nav_ct_bg{
position: absolute;
top:0;
width:100%;
height:61px;
background-color: rgba(0, 0, 0, 0.7);
backdrop-filter: blur(20px);
filter: brightness(211%) contrast(93%) saturate(0%) grayscale(100%);
}
#rs_nav_ct_bg::after{
position: absolute;
bottom:0;
content:"";
width:100%;
height:1px;
filter:none;
background-color: var(--color_1);
}
#rs_nav_ct_bg_wr{
position:absolute;
top:0;
width:100%;
height:auto;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
align-content: center;
align-items: center;
}
#rs_nav_ct_img_wr{
width:fit-content;
height:auto;
}
#rs_nav_ct_img_wr img{
width:auto;
height:60px;
filter: drop-shadow(var(--head_logo_shad));
}
#rs_menu_hamburger_ico{
width:40px;
height:40px;
aspect-ratio: 1/1;
margin-top: -4px;
margin-right: .5rem;
background-image: url(image_html/nav/open_mobile_menu.svg);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
cursor: pointer;
}
#rs_menu_close_hamburger_ico{
width:40px;
height:40px;
aspect-ratio: 1/1;
margin-top: -4px;
margin-right: .5rem;
background-image: url(image_html/nav/close_mobile_menu.svg);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
cursor: pointer;
}
#rs_nav_ct_menu_wr{
width:fit-content;
height:auto; 
padding-right: 1rem;
margin-top:-4px;
}

#rs_nav_ct_menu_wr ul li{
display: inline-block;
padding: .2rem;
}
#rs_nav_ct_menu_wr ul li a{
display: inline-block;
color:var(--color_1);
font-weight: 700;
text-decoration: none;
padding:.3rem .4rem;
transition: all 1s; 
}
#rs_nav_ct_menu_wr ul li a:hover{
color:var(--color_2);
text-shadow:none;
background-color:var(--color_1);
border-radius: .3rem;
transition: all 1s; 
}
#rs_nav_ct_menu_wr .current-menu-item  a{
color:var(--color_2);
background-color:var(--color_1);
border-radius: .3rem;
transition: all 1s; 
}
#rs_nav_ct_menu_wr .current-category-ancestor a{
color:var(--color_2);
text-shadow:none;
background-color:var(--color_1);
border-radius: .3rem;
transition: all 1s; 
}
#rs_nav_ct_menu_wr .current-menu-parent a{
color:var(--color_2);
text-shadow:none;
background-color:var(--color_1);
border-radius: .3rem;
transition: all 1s; 
} 
#rs_parallax_ct::-webkit-scrollbar {
width:  var(--scrollbar_width);
height: var(--scrollbar_width);
background-color:var(--color_2);
}
#rs_parallax_ct::-webkit-scrollbar-track {
background-color:var(--color_2);
width: 12px;
}
#rs_parallax_ct::-webkit-scrollbar-track-piece  {
background-color:var(--color_2);
}
#rs_parallax_ct::-webkit-scrollbar-thumb {    
background-color:var(--color_1); 
width: 12px;
border-radius: 10px;
}
#rs_parallax_ct{
display: flex;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
align-content: center;
width:100%;
height: 100vh;
overflow-x: hidden;
overflow-y: auto;	
transform-style: preserve-3d;
perspective: 5px;
}
#rs_parallax_logo_ct{
z-index: 50;
position:absolute;
background-color: rgba(0, 0, 0, 0.8);
width:fit-content;
height: auto;
backdrop-filter: blur(8px);
border-radius: 30px;
transform: translateZ(-6px) scale(2.2);
outline: 2px solid var(--color_1); 
outline-offset: -6px;
opacity:1;
transition: opacity 3s;
cursor: none;
}
#rs_parallax_logo_ct:hover{
opacity:0;
transition: opacity 3s;
}
#rs_parallax_logo_ct img{
width:300px;
height:auto;
}
#rs_parallax_img_ct{
position: absolute;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
align-content: center;
width: 100%;
height: 100vh;
object-fit:contain;
overflow: hidden;
transform: translateZ(-1px) scale(1.3);
background-image: url(image_html/bg/1_d.jpg);
background-attachment: fixed;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}
#rs_parallax_img_ct img{
width: 100%;
height: 100vh;
object-fit:cover;
overflow: hidden;
}
#rs_content_wr{
z-index: 100;
position: absolute;
top:100vh;
width:100%;
height:fit-content;
background-color: rgba(255, 255, 255, 1);
backdrop-filter: blur(20px);
border-top: 2px solid #000000;
}
#rs_big_title_wr{
margin:60px auto 1rem auto;
width:fit-content;
height:auto;
aspect-ratio: 2 / 1;
background-image: url(image_html/bg/bg_title.svg);
background-size:contain;
background-repeat: no-repeat;
background-position: center center;
min-height: 150px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-content: center;
align-items: center; 
gap:.9rem;
padding:1rem;
}
#rs_title_left_tilde, #rs_title_center_title, #rs_title_right_tilde{
width:fit-content;
height: auto;
}
#rs_title_left_tilde h1, #rs_title_center_title h1 ,#rs_title_right_tilde h1{
max-width: 100%;
width:fit-content;
max-width: 98vw;
height: auto;
color:white;
word-wrap: break-word;
font-size:2.5rem;
font-weight: bold;
text-align: center;
word-wrap: break-word;
line-height: auto;
/*
-webkit-text-stroke: .5rem var(--color_1);
paint-order: stroke;
*/
text-shadow: black 6px 0px 0px, black 5.91686px 0.995377px 0px, black 5.66974px 1.96317px 0px, black 5.2655px 2.87655px 0px, black 4.71532px 3.71022px 0px, black 4.03447px 4.44106px 0px, black 3.24181px 5.04883px 0px, black 2.35931px 5.51667px 0px, black 1.41143px 5.83163px 0px, black 0.424423px 5.98497px 0px, black -0.574341px 5.97245px 0px, black -1.55719px 5.79441px 0px, black -2.49688px 5.45578px 0px, black -3.36738px 4.96596px 0px, black -4.14455px 4.33852px 0px, black -4.80686px 3.59083px 0px, black -5.33596px 2.74364px 0px, black -5.71718px 1.8204px 0px, black -5.93995px 0.84672px 0px, black -5.99811px -0.150428px 0px, black -5.89004px -1.14341px 0px, black -5.61874px -2.1047px 0px, black -5.19172px -3.00766px 0px, black -4.62082px -3.82727px 0px, black -3.92186px -4.54081px 0px, black -3.11421px -5.12852px 0px, black -2.22026px -5.57409px 0px, black -1.26477px -5.86518px 0px, black -0.274238px -5.99373px 0px, black 0.723898px -5.95617px 0px, black 1.70197px -5.75355px 0px, black 2.63288px -5.39147px 0px, black 3.49082px -4.87998px 0px, black 4.25202px -4.23324px 0px, black 4.89538px -3.46919px 0px, black 5.40307px -2.60899px 0px, black 5.76102px -1.67649px 0px, black 5.95932px -0.697531px 0px;
user-select: none;
}
#rs_mini_post_title_wr{
margin:-5.5rem auto 1rem auto;
width:fit-content;
height:auto;
min-height: 150px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-content: center;
align-items: center; 
gap:.4rem;
}
#rs_mini_title_left_tilde, #rs_mini_title_center_title, #rs_mini_title_right_tilde{
width:fit-content;
height: auto;
}
#rs_mini_title_left_tilde h1, #rs_mini_title_center_title h1 ,#rs_mini_title_right_tilde h1{
box-sizing: border-box;
font-size:1.5rem;
font-weight: 600;
text-align: center;
word-wrap: break-word;
line-height: normal; 
letter-spacing: 1px;
color:black;

user-select: none;
}
#rs_footer_wr{
position: absolute;
left:0;
z-index: 200;
top:calc((100vh + var(--content_wr_height)));
width:100%;
height:auto;
background-color: rgb(3, 3, 3);
backdrop-filter: blur(2px);
padding-bottom:var(--padding_bottom_footer);
}
#rs_footer_flex_ct{
border-top:6px solid var(--color_1);
border-bottom:2px solid var(--color_1);
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
align-content: center;
flex-wrap: wrap;
gap: 1rem;
}
.rs_footer_ct_cl{
width:var(--single_footer_ct_width);
height:auto;
text-align: center;
padding:var(--footer_ct_padding);
}
.rs_footer_ct_cl  img{
width:160px;
height:auto;
}
.rs_footer_ct_cl h1{
font-size: 1.1rem;
font-weight: 900;
color:var(--color_1);
line-height: 2rem;
}
.rs_footer_ct_cl p{
font-size: 1.1rem;
font-weight: 400;
color:var(--color_1);
line-height: 2rem;
}
.rs_footer_ct_cl a{
font-size: 1.1rem;
font-weight: 400;
color:var(--color_1);
text-decoration: none;
line-height: 2rem;
transition: color 1s;
}
.rs_footer_ct_cl a:hover{
color:var(--color_3);
transition: color 1s;
}
#rs_social_icon_ct {
margin: .8rem auto .8rem auto;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-content: center;
align-items: center;
width: fit-content;
height: auto;
}
#simple_icon {
display: inline-block;
width: 2.5rem;
height: 2.5rem;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
margin: .2rem;
transform: scale(1);
transition: all .5s;
}
#simple_icon:hover {
transform: scale(1.5);
transition: all .5s;
}
.fb_icon {
background-image:url(image_html/ico/ico_fb.svg);
}
.phone_icon {
background-image: url(image_html/ico/ico_phone.svg);
}
.email_icon {
background-image: url(image_html/ico/ico_email.svg);
}
.maps_icon {
background-image: url(image_html/ico/ico_gmaps.svg);
}
#rs_footer_ct_1{
}
#rs_footer_ct_2{
}
#rs_footer_ct_3{
}
#rs_ct{
width: 100%;
height: auto;
margin: auto;
text-align: center;
transition: all 1s;
}
#rs_ct img{
opacity: .5;
transition: all 1s;
width:100px;
height:auto;
margin:.6rem auto .4rem auto;
}
#rs_ct img:hover{
opacity: 1;
transition: all 1s;
}
/* POST THUMB START */
#rs_all_post_thumb_ct{
width:var(--all_thumb_post_width_ct);
height:auto; 
margin: -2rem auto 2rem auto;
display: flex;
justify-content:center;
align-items:stretch;
align-content:space-around;
flex-wrap: wrap;
gap:var(--gap_thumb_post);
}
#rs_post_thumb_wr{
width:calc((100% / var(--single_thumb_post_count_row)) - var(--gap_thumb_post));
height:auto; 
text-align: center;
box-sizing: border-box;
margin:1rem 0 ;
}
#rs_post_thumb_img_wr{
position: relative;
width:100%;
height:auto;
aspect-ratio: 1/1;
border-radius:50%;
margin:auto;
border:solid 18px var(--color_2);
overflow: hidden;
transition: border 1s;
}
#rs_post_thumb_wr a{
margin:auto;
text-align: center;
text-decoration: none;
color:var(--color_2);
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: space-between;
align-items: stretch; 
gap:1rem;
}
#rs_post_thumb_wr a:hover img{
transform: scale(1.5);
transition: transform 1s, filter 1s;
}
#rs_post_thumb_wr a:hover p{
color:var(--color_2);
background-color: var(--color_1);
transition: all 1s;
}
#rs_post_thumb_wr a:hover #rs_post_thumb_img_wr{
border:solid 6px var(--color_1);
transition: border 1s;
}
#rs_post_thumb_img_wr img{
position: absolute;
top:0;
left:0;
width:100%;
height:auto;
aspect-ratio: 1/1;
border-radius:50%;
margin:auto;
object-fit: cover;
transform: scale(1.01);
transition: transform 1s, filter 1s;
}
#rs_post_thumb_img_wr img:hover{

}
#rs_post_thumb_text_flex_ct{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center; 
}
#rs_post_thumb_text_flex_ct p{
width:fit-content;
height:auto;
display: inline;
margin:2rem auto;
padding:.5rem .8rem;
margin:auto;
text-align: center;
text-decoration: none;
font-size: 1rem;
font-weight: 600;
line-height: 1.3rem;
letter-spacing: 1px;
border-radius: 1rem;
color:var(--color_1);
background-color: var(--color_2);
transition: all 1s;
}
/* POST THUMB END */
/* GALLERY THUMB START */
.item{
flex-basis:var(--flex_item_basis);
}
#rs_all_gall_thumb_ct{
width:var(--all_thumb_gall_width_ct);
height:auto; 
margin: -2rem auto 2rem auto;
display: flex;
justify-content:center;
align-items:stretch;
align-content:space-around;
flex-wrap: wrap;
gap:var(--gap_thumb_gall);
padding-bottom: 1rem;
}

#rs_single_thumb_gall{
width:calc((100% / var(--single_thumb_gall_count_row)) - var(--gap_thumb_gall));
height:auto; 
text-align: center;
box-sizing: border-box;
margin:1rem 0 ;
background-color: var(--color_2);
border-radius: 30px;
outline: 2px solid var(--color_1);
outline-offset: -4px;
padding:20px;
}

#rs_single_thumb_gall a{
width: 100%;
height: auto;
margin:auto;
text-align: center;
text-decoration: none;
color:var(--color_2);
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: center;
align-items: center; 
gap:1rem;
overflow: hidden;
}
#rs_single_thumb_gall a:hover img{
transform: scale(1.2);
transition: transform 1s, filter 1s;  
}
#rs_single_thumb_gall_img_ct{
position: relative;
width:100%;
height:auto;
aspect-ratio: 2/1;
border-radius:14px;
margin:auto;
border:solid 2px var(--color_1);
overflow: hidden;
}
#rs_single_thumb_gall_img_ct img{
position: absolute;
top:0;
left:0;
width:100%;
height:auto;
aspect-ratio: 2/1;
margin:auto;
object-fit: cover;
object-position: center;
transform: scale(1.01);
transition: transform 1s, filter 1s;
overflow: hidden;
}
#rs_single_thumb_gall_title_ct{
display: inline;
width:fit-content;
height:auto;
margin:.5rem auto;
}
#rs_single_thumb_gall_title_ct h1{
display: inline;
margin: auto;
color:var(--color_1);
font-size: 1.2rem;
font-weight: 600;
text-align: center;
width: fit-content;
height:auto;
}
/* GALLERY THUMB END */
#rs_navigator_ct{
transform: translateZ(-60px) translateY(0x) scale(0);
position: sticky;
bottom:0;
width:100%;
height:auto;
min-height: 50px;
background-color: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(8px);
border-top:2px solid var(--color_2);
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
align-content: stretch;
}
/* CONTENT WP CONTAINER */
#rs_content_wp{
width:100%;
height:auto;
padding:1rem;
text-align: center;
}
/* klasy js*/
.js_hide{
visibility: hidden!important;
opacity:0!important;
transition: 1s all;
}
.js_hide_scroll{
overflow:hidden;
}
/* WP-PLUGIN */
#rs_paginator{
width:fit-content;
height:auto;
margin:auto;
}
#paginator{
width:fit-content;
height:auto;
}
#paginator a{
padding:.3rem;
font-size:1rem;
font-weight:700;
text-decoration:none!important;
color:black;
}
wp-pagenavi .pages, .wp-pagenavi .current {
border:none!important;
}
/* WP- guttenberg blocks */

.entry{
display:inline-block;
width:100%;
height:auto;
text-align:initial;
}
.entry p{
margin-top:1rem;
line-height:1.5rem;
}
.entry .wp-block-media-text__media img{
border-radius:2rem;
}
#post-404{
width:100%;
padding:1rem;
width:fit-content;
margin:1rem auto;
}
#post-404 p{
font-size:1rem;
font-weight:bold;
}
.wp-block-columns{
padding:1rem
}
.wp-block-gallery img{
padding:.1rem!important;
border-radius: .5rem!important;
}
h1,h2,h3,h4,h5,h6{
margin-top:1rem;
}
.wp-block-list{
	
}
.wp-block-list li{
padding:.4rem 0;
}