/*
Theme Name: Családfa Vendégház
Theme URI: https://csaladfavendeghaz.hu
Description: A Családfa Vendégház magánszállás weboldal alapértelmeeztt sablonja
Author: Digitalform
Author URI: https://digitalform.hu
Version: 1.0
*/

*{
margin: 0;
padding: 0;
border: 0;
flex-wrap: wrap;
text-decoration: none; 
}

*, 
*:after, 
*::before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

:root {
	--color-dark: #000000;
	--color-green: #0a3d34;
	--color-sand: #f3f1eb;
	--color-brown: #c4b48e;
	--color-silver: #f5f5f5;
	--color-red: #f55534;
}

body { margin: auto; font-family: 'Source Sans 3', sans-serif; font-size: 18px; font-weight: 400; color: var(--color-dark); line-height: 30px; overflow-x: hidden; }
body.rwd_menu__opened { overflow-y: hidden !important; }

textarea, input, select, button { font-family: 'Source Sans 3', sans-serif; font-size: 16px; outline: none; }

h1, h2, h3, h4 { font-weight: normal; line-height: 100%; }

img.alignleft { margin: 0 20px 5px 0; float: left; }
img.alignright { margin: 0 0 5px 20px; float: right; }
img.aligncenter { margin: 0 auto 20px auto; display: block; }

hr { margin: 20px 0; border-top: 2px solid var(--color-sand); }

/* Classes */
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.inner { max-width: 1280px; margin-left: auto; margin-right: auto; position: relative; }
.inner_800 { max-width: 800px; }
.inner_960 { max-width: 960px; }
.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
.hide { display: none !important; }
.red { color: var(--color-red); }
.b_r_50p { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }

.sec_font { font-family: 'Source Serif 4', sans-serif; font-weight: 400; }
.center { text-align: center; }
.uppercase { text-transform: uppercase; }

/* Animation */
.anim, :before, :after { -webkit-transition: all 0.2s ease-out; -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; transition: all 0.2s ease-out; }
.anim_cubic { -webkit-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); -moz-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); -o-transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); transition: all 1s cubic-bezier(0.19, 1, 0.22, 1); }

/* Button */
.button { height: 50px; padding: 0 30px; font-size: 18px !important; font-weight: 700; text-decoration: none !important; color: white !important; line-height: 20px; background: var(--color-green); display: inline-flex; align-content: center; justify-content: center; cursor: pointer; transition: all 0.2s ease-out; }
.button:hover { background-color: var(--color-dark); }
.button:after { display: none !important; }

.button:disabled, 
.button:disabled:hover { color: white !important; background-color: #ccc !important; }

.button.button_h40 { height: 40px; padding: 0 15px; font-size: 17px !important; line-height: 40px; }
.button.button_h30 { height: 30px; padding: 0 10px; font-size: 15px !important; line-height: 30px; }

.button.button_dark { background: var(--color-dark); }

.button_fullwidth { height: auto; padding: 15px 10px; text-align: center; line-height: 20px; display: block; }

/* Checkbox and radio */
input[type="checkbox"], 
input[type="radio"] { width: 24px; height: 24px; margin: -4px 4px 0 0 !important; padding: 0 !important; text-align: center !important; background-color: white; border: 1px solid #ddd; clear: none; cursor: pointer; display: inline-block; line-height: 0; outline: 0; vertical-align: middle !important; -webkit-appearance: none; -webkit-box-shadow: none; box-shadow: none; -webkit-transition: .05s border-color ease-in-out; transition: .05s border-color ease-in-out; }
input[type="radio"] { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }

input[type="radio"]:hover, 
input[type="checkbox"]:hover, 
input[type="radio"]:checked, 
input[type="checkbox"]:checked { border-color: #aaa99f; }

input[type="radio"]:checked:before { width: 14px; height: 14px; left: 4px; top: 4px; text-align: center; background: var(--color-red); position: relative; border-radius: 8px; display: block; content: ''; }
input[type="checkbox"]:checked:before { width: 14px; height: 14px; left: 4px; top: 4px; text-align: center; color: var(--color-green); line-height: 14px; position: relative; display: block; content: '✓'; }


/*
------------------
	NAVIGATION
------------------
*/
#rwd_menu { width: 100%; left: 0; top: 0; bottom: 0; background: rgba(0 0 0 / 20%); position: fixed; z-index: 1000; visibility: hidden; opacity: 0; } 
#rwd_menu .rwd_menu_wrap { width: 480px; height: 100%; right: -100%; top: 0; background: var(--color-sand); position: absolute; overflow-x: hidden; overflow-y: auto; } 

#rwd_menu .rwd_menu_section h5 { margin-bottom: 10px; font-size: 16px; font-weight: 700; text-transform: uppercase; color: var(--color-dark); }

/* RWD menu header */
#rwd_menu .rwd_header { height: 100px; position: relative; }
#rwd_menu .rwd_header img { width: 50px; height: 50px; left: 50px; display: block; position: absolute; }
#rwd_menu .rwd_header .rwd_button { width: 50px; height: 50px; right: 50px; background: var(--color-green); position: absolute; z-index: 2; cursor: pointer; }
#rwd_menu .rwd_header .rwd_button .burg { width: 20px; height: 2px; left: 15px; top: calc(50% - 1px); background: transparent; display: block; position: absolute; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#rwd_menu .rwd_header .rwd_button .burg:before, 
#rwd_menu .rwd_header .rwd_button .burg:after { width: 20px; height: 1px; background: white; position: absolute; content: ''; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }
#rwd_menu .rwd_header .rwd_button .burg:before { top: 0; left: 0; -webkit-transform: rotate(45deg); }
#rwd_menu .rwd_header .rwd_button .burg:after { top: 0; right: 0; -webkit-transform: rotate(-45deg); }

/* Contacts */
#rwd_menu .rwd_menu_section.contacts { padding: 0 50px; }
#rwd_menu .rwd_menu_section.contacts .contacts_wrap { padding-bottom: 30px; border-bottom: 1px solid rgba(0 0 0 / 20%); }
#rwd_menu .rwd_menu_section.contacts .contacts_wrap .button { width: 100%; padding: 0 10px; }

/* Menu */
#rwd_menu .rwd_menu_section.menu { padding: 30px 50px; }

#rwd_menu ul { margin-bottom: 0; list-style: none; }
#rwd_menu ul li a { color: var(--color-dark); display: block; }

/* Primary menu */
#rwd_menu ul.primary_menu li { border-bottom: 1px solid rgba(0 0 0 / 20%); }
#rwd_menu ul.primary_menu li a { padding: 15px 0; font-size: 20px; font-weight: 700; line-height: 100%; display: block; position: relative; }
#rwd_menu ul.primary_menu li a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

#rwd_menu ul.primary_menu li.menu-item-has-children > a:after { width: 16px; height: 16px; right: 0; top: calc(50% - 8px); background: url(images/icon_arrow_down.svg) no-repeat center; background-size: auto 100%; position: absolute; content: ''; }
#rwd_menu ul.primary_menu li.menu-item-has-children.open > a:after { ms-transform: rotate(180deg); -webkit-transform: rotate(180deg); transform: rotate(180deg); }

#rwd_menu ul.primary_menu li ul { margin-left: -50px; margin-right: -50px; background: white; display: none; }
#rwd_menu ul.primary_menu li ul li { border-bottom-color: rgba(0 0 0 / 7%); }
#rwd_menu ul.primary_menu li ul li:last-child { border-bottom: none; }
#rwd_menu ul.primary_menu li ul li a { left: auto !important; padding: 15px 50px 15px; font-size: 17px; color: var(--color-dark) !important; line-height: 20px; opacity: 100% !important; }
#rwd_menu ul.primary_menu li ul li.menu-item-has-children > a:after { width: 20px; height: 20px; right: 20px; top: calc(50% - 10px); background: url(images/icon_arrow_down_small.svg) no-repeat center; background-size: 12px; position: absolute; content: ''; }
#rwd_menu ul.primary_menu li ul li.open > a:before { display: none; }

#rwd_menu ul.primary_menu li ul li ul { background: #eef0f4; }
#rwd_menu ul.primary_menu li ul li ul li { border-bottom: none; }
#rwd_menu ul.primary_menu li ul li ul li a { padding: 10px 20px; }

/* Secondary menu */
#rwd_menu .rwd_menu_section.useful_info { padding: 30px 50px; }

#rwd_menu ul.secondary_menu li { margin-bottom: 5px; }
#rwd_menu ul.secondary_menu li a { font-size: 18px; font-weight: 400; }
#rwd_menu ul.secondary_menu li a:hover { text-decoration: underline; }

body.rwd_menu__opened #rwd_menu { visibility: visible; opacity: 100%; }
body.rwd_menu__opened #rwd_menu .rwd_menu_wrap { right: 0; }


/*
--------------
	HEADER
--------------
*/
#header { width: 100%; height: 140px; padding: 0 100px; background: var(--color-sand); }
#header .header_wrap { max-width: inherit; height: 100%; }

/* Logo */
#header .logo { height: 100%; left: 0; top: 0; color: var(--color-green); display: flex; align-items: center; position: absolute; z-index: 2; }
#header .logo:before { width: 100%; height: 5px; left: 0; top: 0; background: var(--color-green); position: absolute; content: ''; }
#header .logo h1 { max-width: 160px; margin-left: 15px; font-size: 25px; font-weight: 500; line-height: 100%; }

/* Menu */
#header ul.menu { width: 100%; height: 40px; left: 0; top: calc(50% - 20px); display: flex; justify-content: center; position: absolute; z-index: 1; list-style: none; }
#header ul.menu li { height: 100%; margin: 0 10px; position: relative; }
#header ul.menu li a { height: 100%; padding: 0 5px; font-size: 18px; font-weight: 700; color: var(--color-dark); display: flex; align-items: center; position: relative; }
#header ul.menu li a:hover { color: var(--color-green); }
#header ul.menu li a:before { width: 0; height: 1px; left: 50%; bottom: 0; background: var(--color-green); position: absolute; content: ''; }
#header ul.menu li a:hover:before { width: 100%; left: 0; }
#header ul.menu li.current_page_item a { color: var(--color-green); }
#header ul.menu li.current_page_item a:before { width: 100%; left: 0; }

/* Booking button */
#header .language_switcher__contact_button { right: 0; top: calc(50% - 25px); display: flex; position: absolute; z-index: 2; }
#header ul.language-chooser { margin-right: 10px; display: flex; list-style: none; }
#header ul.language-chooser li.active { display: none; }
#header ul.language-chooser li a { width: 50px; height: 50px; font-weight: 700; text-transform: uppercase; color: black; background: rgba(0 0 0 / 10%); display: flex; justify-content: center; align-items: center; }
#header ul.language-chooser li a:hover { text-decoration: underline; }

/* RWD button */
#header .rwd_button { height: 50px; padding-left: 50px; padding-right: 15px; font-size: 16px; font-weight: 700; color: white; line-height: 50px; background: var(--color-green); display: inline-block; position: relative; cursor: pointer; }
#header .rwd_button .burg { width: 40px; height: 40px; top: 5px; left: 5px; position: absolute; }

#header .rwd_button .burg:before, 
#header .rwd_button .burg:after { width: 20px; height: 1px; background: white; position: absolute; content: ''; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before { top: calc(50% - 2px); left: 10px; }
#header .rwd_button .burg:after { top: calc(50% + 2px); right: 10px; }

body.rwd_menu__opened #header .rwd_button .burg:before { top: 50%; -webkit-transform: rotate(45deg); }
body.rwd_menu__opened #header .rwd_button .burg:after { top: 50%; -webkit-transform: rotate(-45deg); }

/* Fixed header */
body.fixed_menu #header { height: 100px; left: 0; top: 0; position: fixed; z-index: 1000; box-shadow: 0 0 30px rgba(0 0 0 / 20%); }
body.fixed_menu #header .header_top { display: none; }
body.fixed_menu #header .header_bottom a.logo { width: 100px; height: 100px; left: 0; top: 0; }
body.fixed_menu #header .header_bottom a.logo img { width: auto !important; height: 70px !important; }

/* RWD menu is opened */
body.rwd_menu__opened #header { background: var(--color-dark); }


/*
--------------
	SLIDER
--------------
*/
#slider { background: var(--color-sand); position: relative; }
#slider .item { max-height: 700px; position: relative; }
#slider .item:before { padding-top: 40%; display: block; content: ''; }
#slider .item .cover { width: 100%; height: 100%; left: 0; top: 0; position: absolute; }

#slider .item .item_wrap { height: 100%; display: flex; }
#slider .item .item_wrap .wrap_left { width: 50%; padding-left: calc((100% - 1280px) /2); padding-right: 50px; padding-bottom: 70px; display: flex; align-items: center; align-content: center; position: relative; }
#slider .item .item_wrap .wrap_left:after { width: 100%; height: 70px; left: 0; bottom: 0; background: white; position: absolute; content: ''; }
#slider .item .item_wrap .wrap_left .title { margin: 10px 0; font-size: 60px; line-height: 100%; }
#slider .item .item_wrap .wrap_left .title u { position: relative; }
#slider .item .item_wrap .wrap_left .title u:after { width: 100%; height: 1px; left: 0; bottom: 10px; background: #000; position: absolute; content: ''; }
#slider .item .item_wrap .wrap_left .text { margin: 10px 0; }

#slider .item .item_wrap .wrap_right { width: 50%; background-color: var(--color-dark); background-repeat: no-repeat; background-position: center; background-size: cover; }

/* Arrows */
#slider .slick-arrow { width: 80px; height: 80px; right: 0; bottom: 0; font-size: 0; background: var(--color-green) url(images/icon_arrow_right_white.svg) no-repeat center; background-size: auto 30px; position: absolute; z-index: 10; cursor: pointer; }
#slider .slick-arrow.slick-prev { right: 82px; background-image: url(images/icon_arrow_left_white.svg); }

/* Dots */
#slider ul.slick-dots { width: 100%; left: 0; bottom: 20px; display: flex; justify-content: center; position: absolute; list-style: none; }
#slider ul.slick-dots li { margin: 0 5px; }
#slider ul.slick-dots li button { width: 24px; height: 24px; border-radius: 50%; cursor: pointer; }
#slider ul.slick-dots li.slick-active button { color: white; background: var(--color-green); }


/*
----------------
	ABOUT US
----------------
*/
#aboutus { padding: 100px 0; }
#aboutus .aboutus_wrap { display: flex; }

#aboutus .aboutus_wrap .wrap_left { width: 50%; background-repeat: no-repeat; background-position: center; background-size: cover; }

#aboutus .aboutus_wrap .wrap_right { width: 50%; padding-left: 100px; padding-bottom: 100px; }
#aboutus .aboutus_wrap .wrap_right p { margin-bottom: 40px; }
#aboutus .aboutus_wrap .wrap_right p:last-child { margin-bottom: 0; }
#aboutus .aboutus_wrap .wrap_right .intro { margin-bottom: 20px; font-size: 30px; font-weight: 500; font-style: italic; color: var(--color-green); line-height: 130%; position: relative; }
#aboutus .aboutus_wrap .wrap_right .intro:before { width: 120px; height: 1px; margin-bottom: 30px; background: var(--color-brown); content: ''; display: block; }


/*
------------
	USPS
------------
*/
#usps { padding-bottom: 100px; }
#usps .usps_wrap { display: flex; }
#usps .usps_wrap .usp { padding-right: 50px; flex-grow: 1; flex-basis: 0; }
#usps .usps_wrap .usp img { width: auto; height: 60px; margin-bottom: 30px; display: block; }
#usps .usps_wrap .usp h3 { margin-bottom: 10px; font-size: 20px; font-weight: 700; color: var(--color-green); }
#usps .usps_wrap .usp .text { font-size: 16px; line-height: 25px; }


/*
---------------
	GALLERY
---------------
*/
#gallery { padding: 70px 0 40px; background: var(--color-sand); position: relative; }
#gallery .gallery_title { margin-bottom: 50px; display: flex; justify-content: space-between; }
#gallery .gallery_title h2 { padding-left: 100px; font-size: 50px; line-height: 100%; position: relative; }
#gallery .gallery_title h2:before { width: 60px; height: 1px; left: 0; top: 50%; background: var(--color-brown); position: absolute; content: ''; }

#gallery .photos .item { padding: 0 20px; }
#gallery .photos .item img { width: 100%; max-width: 640px; height: auto; display: block; }

/* Controls */
#gallery .gallery_controls { width: 100%; max-width: 1280px; left: 50%; top: calc(50% + 20px); display: flex; justify-content: space-between; position: absolute; z-index: 10; transform: translateX(-50%); }
#gallery .gallery_controls button { width: 70px; height: 70px; background: var(--color-green) url(images/icon_arrow_left_white.svg) no-repeat center; background-size: auto 30px; cursor: pointer; opacity: 80%; }
#gallery .gallery_controls button.next { background-image: url(images/icon_arrow_right_white.svg); }
#gallery .gallery_controls button:hover { opacity: 100%; }

/* Dots */
#gallery ul.slick-dots { width: 100%; left: 0; bottom: -80px; display: flex; justify-content: center; position: absolute; list-style: none; }
#gallery ul.slick-dots li { margin: 0 5px; }
#gallery ul.slick-dots li button { width: 20px; height: 20px; font-size: 0; background: rgba(0 0 0 / 20%); border-radius: 50%; cursor: pointer; }
#gallery ul.slick-dots li.slick-active button { background: var(--color-green); }


/*
--------------
	SIGHTS
--------------
*/
#sights { padding: 100px 0; }
#sights .sights_title { margin-bottom: 40px; font-size: 50px; line-height: 100%; }

.sights_wrap article { height: 350px; margin-bottom: 40px; background: var(--color-sand); display: flex; }
.sights_wrap article .wrap_left { width: 50%; background-color: var(--color-green); background-repeat: no-repeat; background-position: center; background-size: cover; }
.sights_wrap article .wrap_right { width: 50%; padding: 50px 50px 0 100px; position: relative; }
.sights_wrap article .wrap_right h3 { margin-bottom: 20px; font-size: 40px; line-height: 100%; position: relative; }
.sights_wrap article .wrap_right h3:before { width: 120px; height: 1px; left: -160px; top: 20px; background: var(--color-brown); position: absolute; content: ''; }
.sights_wrap article .wrap_right h3 a { text-decoration: none !important; color: var(--color-dark) !important; }
.sights_wrap article .wrap_right .read_more { width: 60px; height: 60px; right: 0; bottom: 0; background: var(--color-green) url(images/icon_arrow_right_white.svg) no-repeat center; background-size: auto 30px; position: absolute; }


/*
----------------------
	BEFORE CONTENT
----------------------
*/
.rank-math-breadcrumb { font-size: 14px; }
.rank-math-breadcrumb p { margin-bottom: 0 !important; }


/*
---------------
	CONTENT
---------------
*/
body.fixed_menu #container { padding-top: 100px; }

#content { padding: 50px 0; }
body.page-template-contact #content { padding-bottom: 0; }

#content h1 { margin-bottom: 30px; font-size: 50px; line-height: 100%; }
#content h3 { margin-bottom: 20px; font-size: 40px; line-height: 100%; }
#content h3 a { text-decoration: none !important; }
#content h4 { margin-bottom: 30px; font-size: 20px; font-weight: 700; line-height: 30px; }

#content p { margin-bottom: 30px; }
#content p.hero_image { margin-left: -50px; margin-right: -50px; }

#content table { width: 100%; margin-bottom: 30px; border-collapse: collapse; border-spacing: 0; }
#content table thead tr th { padding: 10px; font-size: 14px; text-transform: uppercase; text-align: left; line-height: 16px; background: var(--color-sand); }
#content table tbody tr td { padding: 10px; font-size: 16px; text-align: left; line-height: 20px; border-bottom: 1px solid var(--color-silver); }

#content a { text-decoration: underline; color: var(--color-green); }
#content a:hover { color: var(--color-dark); }

#content img { max-width: 100%; height: auto; }
#content iframe { width: 100%; display: block; }

#content ul { margin-bottom: 30px; margin-left: 50px; }
#content ul.gallery { margin-left: -10px !important; margin-right: -10px; display: flex; list-style: none; }
#content ul.gallery li { width: calc(25% - 20px); margin: 20px 10px 0; }
#content ul.gallery li:nth-child(-n+4) { margin-top: 0; }
#content ul.gallery li:nth-child a { display: block; }
#content ul.gallery li:nth-child img { width: 100%; height: auto; display: block; }


/*
--------------
	FOOTER
--------------
*/
#footer { font-size: 18px; color: white; background: var(--color-green) url(images/bgr_footer.png) no-repeat center bottom; border-bottom: 10px solid #03201b; }
#footer ul { list-style: none; }
#footer a { color: white; }
#footer a:hover { text-decoration: underline; }

/* Footer top */
#footer .footer_top { padding-top: 100px; padding-bottom: 100px; position: relative; }
#footer .footer_top .footer_top_wrap { display: flex; }
#footer .footer_top .footer_top_wrap .wrap_left { width: 33%; }

#footer .footer_top .logo { color: white; display: inline-flex; align-items: center; }
#footer .footer_top .logo div { max-width: 160px; margin-left: 15px; font-size: 25px; font-weight: 500; line-height: 100%; }

#footer .footer_top .email a { text-decoration: underline; }

#footer .footer_top .social_media { right: 0; top: 100px; display: flex; position: absolute; }
#footer .footer_top .social_media a { width: 60px; height: 60px; margin-left: 10px; font-size: 0; background-repeat: no-repeat; background-position: center; background-size: auto 24px; border: 1px solid rgba(255 255 255 / 20%); display: block; border-radius: 50%; }
#footer .footer_top .social_media a:hover { border-color: rgba(255 255 255 / 100%); }
#footer .footer_top .social_media a.facebook { background-image: url(images/icon_facebook_white.svg); }
#footer .footer_top .social_media a.instagram { background-image: url(images/icon_instagram_white.svg); }

/* Footer bottom */
#footer .footer_bottom .footer_bottom_wrap { width: 67%; margin-left: 33%; padding: 20px 0; font-size: 16px; color: rgba(255 255 255 / 80%); border-top: 1px solid rgba(255 255 255 / 20%); display: flex; justify-content: space-between; }


/* 
-----------------
	SCROLL UP
-----------------
*/
#scrollUp { width: 50px; height: 50px; right: 20px; bottom: 20px; text-indent: -9999px; background: var(--color-yellow) url(images/icon_arrow_up_white.svg) no-repeat center; background-size: 20px auto; position: fixed; z-index: 99 !important; border-radius: 50%; }
#scrollUp:hover { background-color: var(--color-dark); }


/*
------------
	FORM
------------
*/
.form_row { width: 100%; margin-bottom: 10px; position: relative; }
.form_row.form_row_first { width: calc(50% - 10px); }
.form_row.form_row_last { width: calc(50% - 10px); }
.form_row.form_row_wide { width: 100%; }

.form_row p { margin-bottom: 0 !important; }
.form_row br { display: none !important; }
.form_row label { font-size: 16px; font-weight: 700; text-transform: uppercase; display: block; }

.form_row .wpcf7-list-item { margin: 0; position: relative; }
.form_row .wpcf7-list-item label { top: auto; padding-left: 35px; line-height: 20px; display: block; position: relative; }
.form_row .wpcf7-list-item input[type=checkbox] { left: 0; top: 1px; position: absolute; }

.form_row select, 
.form_row textarea, 
.form_row input[type=tel], 
.form_row input[type=text], 
.form_row input[type=email] { width: 100%; height: 50px; padding-left: 10px; font-size: 17px; background: var(--color-sand); border: 1px solid rgba(0 0 0 / 10%); outline: 3px solid transparent; }

.form_row select:focus, 
.form_row textarea:focus, 
.form_row input[type=tel]:focus, 
.form_row input[type=text]:focus, 
.form_row input[type=email]:focus { background: white; border-color: var(--color-green); outline-color: var(--color-sand); }

.form_row textarea { min-height: 150px; padding: 10px; resize: vertical; }

.wpcf7 { margin-bottom: 30px; }
.wpcf7 .wpcf7-form { display: flex; flex-wrap: wrap; justify-content: space-between; }
.wpcf7 .wpcf7-acceptance label { font-weight: 400; text-transform: none; }


/*
-------------------
	RWD DESIGN
-------------------
*/
@media only screen and (max-width: 1440px) { 

	/* HEADER */
	#header { padding: 0 20px; }

	/* SLIDER */
	#slider .item:before { padding-top: 45%; }
	#slider .item .item_wrap .wrap_left .title { font-size: 50px; }
}

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

	/* DEFAULT */
	.p_l_20 { padding-left: 20px; }
	.p_r_20 { padding-right: 20px; }
	
	/* HEADER: Logo */
	#header .logo h1 { max-width: 150px; font-size: 23px; }
	
	/* HEADER: Menu */
	#header ul.menu li { margin: 0 5px; }
	
	/* SLIDER */
	#slider .item:before { padding-top: 50%; }
	#slider .item .item_wrap .wrap_left { padding-left: 20px; }
	#slider .item .item_wrap .wrap_left .title { font-size: 40px; }
	
	/* ABOUT US */
	#aboutus .aboutus_wrap .wrap_right { padding-left: 50px; padding-bottom: 50px; }
	
	/* SIGHTS */
	#sights .sights_title { font-size: 40px; }

	.sights_wrap article { height: 400px; margin-bottom: 20px; }
	.sights_wrap article .wrap_right {padding: 50px 30px 0 30px; }
	
	/* FOOTER: Footer top */
	#footer .footer_top .social_media { right: 20px; }
}

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

	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block !important; }
	
	/* HEADER */
	#header { height: 100px; }
	
	/* SLIDER */
	#slider { background: transparent; }
	#slider .item:before { display: none; }
	#slider .item .cover { height: auto; left: auto; top: auto; position: relative; }
	
	#slider .item .item_wrap .wrap_left { width: 100%; padding: 20px; background: var(--color-sand); }
	#slider .item .item_wrap .wrap_left:after { display: none; }

	#slider .item .item_wrap .wrap_right { width: 100%; }
	#slider .item .item_wrap .wrap_right:after { padding-top: 60%; display: block; content: ''; }
	
	/* ABOUT US */
	#aboutus { padding: 50px 0; }
	#aboutus .aboutus_wrap .wrap_left { width: 100%; order: 2; }
	#aboutus .aboutus_wrap .wrap_left:after { padding-top: 50%; display: block; content: ''; }

	#aboutus .aboutus_wrap .wrap_right { width: 100%; padding-left: 0; order: 1; }
	
	/* GALLERY */
	#gallery { margin-bottom: 50px; padding-top: 50px; }
	#gallery .gallery_title { margin-bottom: 30px; }
	#gallery .gallery_title h2 { padding-left: 0; font-size: 40px; }
	#gallery .gallery_title h2:before { display: none; }
	
	/* USPS */
	#usps { padding-bottom: 50px; }
	#usps .usps_wrap .usp { width: 50%; margin-top: 50px; flex-grow: auto; flex-basis: inherit; }
	#usps .usps_wrap .usp:nth-child(-n+2) { margin-top: 0; }
	
	/* SIGHTS */
	#sights { padding: 50px 0; }
	#sights .sights_title { margin-bottom: 30px; font-size: 40px; }

	.sights_wrap article { height: auto; }
	.sights_wrap article .wrap_left { width: 100%; }
	.sights_wrap article .wrap_left:after { padding-top: 50%; display: block; content: ''; }
	.sights_wrap article .wrap_right { width: 100%; padding: 30px 20px 70px; }
	.sights_wrap article .wrap_right h3 { font-size: 30px; }
	.sights_wrap article .wrap_right h3:before { display: none; }
	
	/* CONTENT */
	#content p.hero_image { margin-left: 0; margin-right: 0; }
	
	/* CONTENT: Gallery */
	#content ul.gallery li { width: calc(33.3333333333% - 20px); }
	#content ul.gallery li:nth-child(4) { margin-top: 20px; }

	/* FOOTER: Footer top */
	#footer .footer_top { padding-top: 50px; padding-bottom: 50px; }
	#footer .footer_top .footer_top_wrap .wrap_left { width: 50%; }

	/* FOOTER: Footer top */
	#footer .footer_top .social_media { right: 20px; top: 50px; }
	
	/* FOOTER: Footer bottom */
	#footer .footer_bottom .footer_bottom_wrap { width: 100%; margin-left: 0; }
}

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

}

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

	/* CONTENT: Gallery */
	#content ul.gallery li { width: calc(50% - 20px); }
	#content ul.gallery li:nth-child(3) { margin-top: 20px; }

	/* FOOTER: Footer top */
	#footer .footer_top .footer_top_wrap .wrap_left { width: 100%; }
	#footer .footer_top .footer_top_wrap .wrap_left.contact { margin-bottom: 50px; }
}

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

	/* DISPLAY: None */
	.hide_in_480 { display: none !important; }
	
	/* NAVIGATION */
	#rwd_menu .rwd_menu_wrap { width: 100%; } 
	
	/* NAVIGATION: RWD menu header */
	#rwd_menu .rwd_header img { left: 20px; }
	#rwd_menu .rwd_header .rwd_button { right: 20px; }

	/* NAVIGATION: Contacts */
	#rwd_menu .rwd_menu_section.contacts { padding: 0 20px; }

	/* NAVIGATION: Menu */
	#rwd_menu .rwd_menu_section.menu { padding: 30px 20px; }
	
	/* NAVIGATION: Secondary menu */
	#rwd_menu .rwd_menu_section.useful_info { padding: 30px 20px; }
	
	/* HEADER: Logo */
	#header .logo h1 { max-width: 125px; font-size: 20px; }
	
	/* HEADER: RWD button */
	#header .rwd_button { width: 50px; padding-left: 0; padding-right: 0; font-size: 0; }
}
