/*
Theme Name: Nyugat Építő
Theme URI: https://nyugatepito.hu
Description: A Nyugat Építő weboldalának alapértelmezett sablonja
Author: Effix-marketing Kft.
Author URI: https://effix.hu
Version: 1.0
*/

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

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

body { margin: auto; font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 400; color: #999; line-height: 30px; background: #111; overflow-x: hidden; }
body.rwd_menu__opened { overflow-y: hidden; }

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

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

hr { margin: 30px 0; border-top: 5px solid #efefed; }

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; }

img.alignleft, 
img.alignright, 
img.aligncenter { padding: 4px; border: 1px solid #ddd; }

/* 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; }
.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
.vertical_center { left: 50%; position: relative; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); }
.uppercase { text-transform: uppercase; }
.center { text-align: center; }
.hide { display: none !important; }
.red { color: #f1655c; }
.b_r_3 { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.b_r_50p { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.sec_font { font-family: 'Montserrat', sans-serif; font-weight: 800; }

/* Animation */
.anim, ul.menu li a:before, .references_wrapper article .entry h4:before { -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 20px; font-size: 15px !important; font-weight: 700; text-transform: uppercase; text-decoration: none !important; text-align: center; color: white !important; line-height: 50px; background: #84b24b; display: inline-block; position: relative; cursor: pointer; -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; }
.button:hover { color: #252525 !important; background: white; }
.button:after { display: none !important; }

.button:disabled, 
.button:disabled:hover { color: #999 !important; background-color: #f5f5f5; border-color: #ddd; }

.button.button_small { height: 40px; padding: 0 10px; line-height: 40px; }

/* 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 #828282; 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"]:checked:before { width: 14px; height: 14px; left: 4px; top: 4px; text-align: center; background: #32b67a; position: relative; border-radius: 8px; display: block; content: ''; }
input[type="checkbox"]:checked:before { width: 14px; height: 14px; left: 4px; top: 4px; text-align: center; background: #32b67a; position: relative; display: block; content: ''; }


/*
-------------------
	NAVIGATION
-------------------
*/
#rwd_menu { width: 100%; left: 0; top: 100px; bottom: 0; padding: 50px; font-size: 18px; background: rgba(37 37 37 / 80%); position: fixed; z-index: 100; visibility: hidden; opacity: 0; overflow: hidden; }
#rwd_menu .rwd_menu_wrap { width: 300px; height: 100%; right: -100%; top: 0; background: #252525; position: absolute; overflow-y: auto; }

#rwd_menu ul.main_menu { margin-bottom: 30px; border-top: 1px solid #333; list-style: none; }
#rwd_menu ul.main_menu li { border-bottom: 1px solid #333; }
#rwd_menu ul.main_menu li a { padding: 10px 10px 10px 25px; font-size: 24px; font-weight: 700; color: white; line-height: 1; display: block; }
#rwd_menu ul.main_menu li a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

#rwd_menu ul.footer_menu { margin-bottom: 30px; list-style: none; }
#rwd_menu ul.footer_menu li { margin-bottom: 15px; padding: 0 25px; }
#rwd_menu ul.footer_menu li a { font-size: 18px; font-weight: 700; color: #999; line-height: 1; display: block; }
#rwd_menu ul.footer_menu li a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

/* LI animation */
#rwd_menu ul li a { left: 10px; position: relative; opacity: 0%; -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; }
#rwd_menu ul > li.fly-in-out > a { left: 0; opacity: 100%; }

/* Language chooser */
#rwd_menu ul.language-chooser { padding: 0 25px; list-style: none; display: flex; }
#rwd_menu ul.language-chooser li { margin-right: 10px; }
#rwd_menu ul.language-chooser li a { width: 40px; height: 40px; font-size: 15px; text-transform: uppercase; text-align: center; color: #133e69; line-height: 40px; background: #eee; display: block; }
#rwd_menu ul.language-chooser li.active a { color: white; background: #84b24b; }

/* RWD menu opened */
body.rwd_menu__opened #rwd_menu { opacity: 1; visibility: visible; }
body.rwd_menu__opened #rwd_menu .rwd_menu_wrap { right: 0; }


/*
---------------
	TOP BAR
---------------
*/
#top_bar { height: 40px; font-size: 14px; color: white; line-height: 40px; background: #111; }
#top_bar a { color: white; }
#top_bar a:hover { text-decoration: underline; }


/*
--------------
	HEADER
--------------
*/
#header { width: 100%; height: 100px; left: 0; top: 0; position: relative; z-index: 2; }
#header .inner { height: 100%; }

/* Logo */
#header .logo { height: 50px; display: inline-block; z-index: 2; }
#header .logo img { width: auto; height: 100%; display: block; }

/* Menu */
#header ul.menu { width: 100%; display: flex; justify-content: center; position: absolute; z-index: 1; list-style: none; }
#header ul.menu li { margin: 0 10px; }
#header ul.menu li a { font-size: 18px; font-weight: 700; color: white; line-height: 20px; display: block; position: relative; }
#header ul.menu li a:before { width: 0; height: 8px; left: 50%; top: 50%; background: #84b24b; position: absolute; content: ''; z-index: -1; -webkit-transform: translate(-50%,-50%) rotate(45deg); -ms-transform: translate(-50%,-50%) rotate(45deg); transform: translate(-50%,-50%) rotate(45deg); }
#header ul.menu li a:hover:before { width: 50px; }
#header ul.menu li.current-menu-item a:before { width: 50px; }

/* qtranxs_widget */
#header .qtranxs_widget { right: 0; top: 30px; position: absolute; z-index: 2; }
#header .qtranxs_widget ul { width: 40px; height: 40px; padding-top: 40px; background: rgba(255 255 255 / 20%); position: relative; overflow: hidden; list-style: none; }
#header .qtranxs_widget ul li.active { left: 0; top: 0; position: absolute; }
#header .qtranxs_widget ul li a { width: 40px; height: 40px; font-size: 16px; font-weight: 700; text-transform: uppercase; text-align: center; color: white; line-height: 40px; display: block; }
#header .qtranxs_widget ul li a:hover { text-decoration: underline; }
#header .qtranxs_widget ul:hover { height: auto; }

/* Alt phone */
#header .alt_phone { right: 100px; position: absolute; }

/* RWD button */
#header .rwd_button { width: 60px; height: 50px; right: 20px; font-size: 20px; text-align: center; line-height: 48px; background: white; position: absolute; cursor: pointer; z-index: 3; }
#header .rwd_button .burg { width: 30px; height: 2px; left: 15px; top: 50%; background: #252525; display: block; position: relative; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

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

#header .rwd_button .burg:before { top: -8px; left: 0; }
#header .rwd_button .burg:after { top: 8px; right: 0; }

body.rwd_menu__opened #header { background-color: #252525; }
body.rwd_menu__opened #header .rwd_button .burg { background: transparent; }
body.rwd_menu__opened #header .rwd_button .burg:before { top: 0; -webkit-transform: rotate(45deg); }
body.rwd_menu__opened #header .rwd_button .burg:after { top: 0; -webkit-transform: rotate(-45deg); }


/*
-------------
	SLIDE
-------------
*/
#slide { max-height: 750px; min-height: 350px; margin-top: -100px; color: white; background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; }
#slide:before { padding-top: 50%; display: block; content: ''; }
#slide .cover { width: 100%; height: 100%; left: 0; top: 0; background: rgba(17 17 17 / 70%) url(images/dots.png) repeat left top; position: absolute; content: ''; }
#slide .cover:after { width: 100%; max-width: 1280px; height: 40px; left: 50%; bottom: 0; background: #252525; border-top: 10px solid #84b24b; position: absolute; content: ''; -webkit-transform: translateX(-50%); -ms-transform: translateX(-50%); transform: translateX(-50%); }
#slide .inner { height: 100%; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; }
#slide h1 { font-size: 60px; font-weight: 700; line-height: 1.2; }
#slide .text { margin-top: 20px; }
#slide .button { margin-top: 30px; }


/*
----------------
	ABOUT US
----------------
*/
#aboutus { padding-top: 100px; color: white; background: #252525; position: relative; z-index: 0; }
#aboutus:after { width: 100%; height: 70px; left: 0; bottom: 0; background: #111; position: absolute; content: ''; z-index: -1; }
#aboutus .aboutus_wrap { display: flex; flex-wrap: wrap; }
#aboutus .aboutus_wrap .wrap_left { width: 50%; padding: 50px 100px 150px 0; }
#aboutus .aboutus_wrap .wrap_left h2 { margin-bottom: 20px; font-size: 50px; line-height: 1; }
#aboutus .aboutus_wrap .wrap_left p { margin-bottom: 20px; }
#aboutus .aboutus_wrap .wrap_left p:last-child { margin-bottom: 0; }

#aboutus .aboutus_wrap .wrap_right { width: 50%; position: relative; }
#aboutus .aboutus_wrap .wrap_right .image { background-repeat: no-repeat; background-position: center; background-size: cover; position: absolute; }
#aboutus .aboutus_wrap .wrap_right .image.image_1 { width: 100%; max-width: 440px; left: 0; top: 0; bottom: 70px; }
#aboutus .aboutus_wrap .wrap_right .image.image_2 { width: 100%; max-width: 390px; right: 0; top: 130px; bottom: 0; border-left: 10px solid #84b24b; }


/*
--------------
	WHY US
--------------
*/
#whyus .inner { padding-top: 30px; padding-bottom: 100px; border-bottom: 3px solid #252525; }
#whyus .title { margin-bottom: 50px; font-size: 50px; color: white; line-height: 1; }

#whyus .viewpoints_wrap { margin-left: -15px; margin-right: -15px; display: flex; flex-wrap: wrap; }
#whyus .viewpoints_wrap .viewpoint { width: calc(33.3333333333% - 30px); margin: 30px 15px 0; padding: 20px; background: #252525; display: flex; flex-wrap: wrap; align-items: center; -moz-box-shadow: 0 10px 10px rgba(0 0 0 / 50%); -webkit-box-shadow: 0 10px 10px rgba(0 0 0 / 50%); box-shadow: 0 10px 10px rgba(0 0 0 / 50%); }
#whyus .viewpoints_wrap .viewpoint:nth-child(-n+3) { margin-top: 0; }
#whyus .viewpoints_wrap .viewpoint .image { width: 150px; }
#whyus .viewpoints_wrap .viewpoint .image img { width: 100%; height: 100%; display: block; }
#whyus .viewpoints_wrap .viewpoint .text { width: calc(100% - 150px); padding-left: 20px; font-size: 20px; font-weight: 700; color: white; line-height: 1; }


/*
----------------
	SERVICES
----------------
*/
#services { padding: 100px 0; }
#services .title { margin-bottom: 50px; font-size: 50px; color: white; line-height: 1; }

#services .services_wrap { border: 3px solid #252525; display: flex; flex-wrap: wrap; }
#services .services_wrap .service { width: 20%; padding: 30px; border-right: 1px solid #252525; border-top: 1px solid #252525; position: relative; }
#services .services_wrap .service:nth-child(-n+5) { border-top: none; }
#services .services_wrap .service:nth-child(5n) { border-right: none; }
#services .services_wrap .service .count { right: 20px; top: 25px; font-size: 20px; font-weight: 700; color: #555; line-height: 1; position: absolute; }
#services .services_wrap .service img { width: auto; height: 60px; margin-bottom: 30px; display: block; }
#services .services_wrap .service h3 { font-size: 26px; font-weight: 700; color: white; line-height: 30px; }


/*
------------------
	REFERENCES
------------------
*/
#references { background: #000; }
#references .inner { padding-top: 100px; padding-bottom: 100px; border-bottom: 3px solid #252525; }
#references .title { margin-bottom: 50px; font-size: 50px; color: white; line-height: 1; }

.references_wrapper { margin-left: -15px; margin-right: -15px; display: flex; flex-wrap: wrap; }
.references_wrapper article { width: calc(33.3333333333% - 30px); margin: 50px 15px 0; }
.references_wrapper article:nth-child(-n+3) { margin-top: 0; }
.references_wrapper article .thumbnail { display: block; }
.references_wrapper article .thumbnail img { width: 100%; height: auto; display: block; }

.references_wrapper article .entry { padding: 30px 20px 0 40px; }
.references_wrapper article .entry h4 { position: relative; }
.references_wrapper article .entry h4:before { width: 5px; height: 80px; left: -20px; top: -63px; background: #84b24b; position: absolute; content: ''; }
.references_wrapper article:hover .entry h4:before { height: 90px; top: -73px; }
.references_wrapper article .entry h4 { margin-bottom: 10px; }
.references_wrapper article .entry h4 a { font-size: 20px; font-weight: 700; text-decoration: none !important; color: white; line-height: 1; display: inline-block; }
.references_wrapper article .entry .category { line-height: 20px; }

body.home .references_wrapper { margin-bottom: 50px; }


/*
----------------------
	BEFORE CONTENT
----------------------
*/
#before_content { height: 300px; margin-top: -100px; padding: 15px 50px; background-repeat: no-repeat; background-position: center; background-size: cover; position: relative; } 
#before_content .cover { width: 100%; height: 100%; left: 0; top: 0; background: rgba(17 17 17 / 70%) url(images/dots.png) repeat left top; position: absolute; content: ''; }
#before_content .inner { height: 100%; }
#before_content .rank-math-breadcrumb { max-width: calc(100% - 40px); left: 0; bottom: 50px; padding: 10px; font-size: 15px; color: white; line-height: 20px; background: rgba(255 255 255 / 10%); position: absolute; } 
#before_content .rank-math-breadcrumb a { text-decoration: underline; color: white; } 


/*
---------------
	CONTENT
---------------
*/
#content { padding: 50px 0; }

#content h1 { margin-bottom: 30px; font-size: 60px; color: white; line-height: 1; }
#content h2 { margin-bottom: 20px; font-size: 40px; color: white; line-height: 1; }
#content h3 { margin-bottom: 20px; font-size: 25px; font-weight: 700; color: #84b24b; line-height: 1; }

#content p { margin-bottom: 20px; }
#content a { text-decoration: underline; color: white; }
#content a:hover { color: #84b24b; }
#content img { max-width: 100%; height: auto; }

#content ul { margin-bottom: 20px; margin-left: 50px; }

#content ul.gallery { margin-left: -15px !important; margin-right: -15px; display: flex; flex-wrap: wrap; list-style: none; }
#content ul.gallery li { width: calc(25% - 30px); margin: 30px 15px 0; }
#content ul.gallery li:nth-child(-n+4) { margin-top: 0; }
#content ul.gallery li a { border: 5px solid #292929; display: block; }
#content ul.gallery li a:hover { border-color: #84b24b; }
#content ul.gallery li a img { width: 100%; height: auto; display: block; }

/* Metas */
#content .metas { margin-bottom: 30px; border-top: 1px solid #292929; }
#content .metas .meta { border-bottom: 1px solid #292929; line-height: 20px; display: flex; flex-wrap: wrap; align-items: center; }
#content .metas .meta .name { padding: 10px; font-weight: 700; color: white; }
#content .metas .meta .value { padding: 10px; }


/*
--------------
	FOOTER
--------------
*/
#footer { border-bottom: 5px solid #84b24b; }

/* Footer top */
#footer .footer_top .footer_top_wrap { padding-top: 70px; padding-bottom: 70px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
#footer .footer_top .footer_top_wrap .logo { height: 50px; display: block; }
#footer .footer_top .footer_top_wrap .logo img { width: auto; height: 100%; display: block; }

#footer .footer_top .footer_top_wrap ul { margin-left: 60px; display: flex; flex-wrap: wrap; list-style: none; }
#footer .footer_top .footer_top_wrap ul li { margin-right: 25px; }
#footer .footer_top .footer_top_wrap ul li a { font-size: 16px; font-weight: 700; color: white; line-height: 20px; display: block; }
#footer .footer_top .footer_top_wrap ul li a:hover { text-decoration: underline; }

#footer .footer_top .footer_top_wrap .up { height: 50px; margin-left: auto; padding-right: 60px; font-size: 16px; font-weight: 700; text-decoration: underline; color: white; line-height: 50px; display: block; position: relative; }
#footer .footer_top .footer_top_wrap .up:after { width: 50px; height: 50px; right: 0; top: 0; background: #84b24b url(images/icon_arrow_up_white.svg) no-repeat center; background-size: auto 24px; position: absolute; content: ''; }

/* Footer bottom */
#footer .footer_bottom { color: #999; }
#footer .footer_bottom a { text-decoration: underline; color: white; }
#footer .footer_bottom a:hover { text-decoration: none; }
#footer .footer_bottom .footer_bottom_wrap { padding-top: 40px; padding-bottom: 40px; border-top: 1px solid #292929; display: flex; flex-wrap: wrap;  justify-content: space-between; }


/*
------------------
	COOKIE BAR
------------------
*/
#cookie-law-info-bar { font-size: 14px; line-height: 20px; }
#cookie-law-info-bar .cli_settings_button { font-weight: 700; text-decoration: underline; }


/*
------------
	FORM
------------
*/
.form_row { margin-bottom: 20px; position: relative; }
.form_row.form_row_first { width: 50%; width: calc(50% - 15px); float: left; }
.form_row.form_row_last { width: 50%; width: calc(50% - 15px); float: right; }
.form_row.form_row_wide { clear: both; }

.form_row textarea, 
.form_row input[type=text], 
.form_row input[type=email] { width: 100%; height: 50px; font-size: 17px; background: transparent; border-bottom: 1px solid #ddd; }

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


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

	/* DEFAULT */
	.p_l_20 { padding-left: 20px; }
	.p_r_20 { padding-right: 20px; }
	
	/* HEADER: qtranxs_widget */
	#header .qtranxs_widget { right: 20px; }
	
	/* SLIDE */
	#slide { border-bottom: 10px solid #84b24b; }
	#slide .cover:after { display: none; }
	#slide h1 { font-size: 50px; }
	
	/* WHY US */
	#whyus .viewpoints_wrap .viewpoint { width: calc(50% - 30px); }
	#whyus .viewpoints_wrap .viewpoint:nth-child(3) { margin-top: 30px; }
	
	/* SERVICES */
	#services .services_wrap .service { width: 25%; }
	#services .services_wrap .service:nth-child(5) { border-top: 1px solid #252525; }
	#services .services_wrap .service:nth-child(4n) { border-right: none; }
	#services .services_wrap .service:nth-child(5n) { border-right: 1px solid #252525; }
	
	/* BEFORE CONTENT */
	#before_content { height: 250px; } 
	#before_content .rank-math-breadcrumb { left: 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: qtranxs_widget */
	#header .qtranxs_widget { display: none; }
	
	/* SLIDE */
	#slide .inner { padding-top: 50px; }
	#slide h1 { font-size: 40px; }
	
	/* ABOUT US */
	#aboutus { padding-top: 50px; padding-bottom: 50px; }
	#aboutus:after { display: none; }
	#aboutus .aboutus_wrap .wrap_left { width: 100%; padding: 0 0 50px; }
	#aboutus .aboutus_wrap .wrap_left h2 { font-size: 40px; }

	#aboutus .aboutus_wrap .wrap_right { width: 100%; }
	#aboutus .aboutus_wrap .wrap_right .image { position: relative; }
	#aboutus .aboutus_wrap .wrap_right .image:before { padding-top: 100%; display: block; content: ''; }
	#aboutus .aboutus_wrap .wrap_right .image.image_1 { width: calc(50% + 40px); max-width: none; left: auto; top: auto; bottom: auto; }
	#aboutus .aboutus_wrap .wrap_right .image.image_2 { width: calc(50% + 40px); max-width: none; height: 100%; right: 0; top: 20px; position: absolute; }
	
	/* WHY US */
	#whyus .inner { padding-top: 50px; padding-bottom: 50px; }
	#whyus .title { font-size: 40px; }
	
	/* SERVICES */
	#services .title { font-size: 40px; }
	
	#services .services_wrap .service { width: 33.3333333333%; }
	#services .services_wrap .service:nth-child(4) { border-top: 1px solid #252525; }
	#services .services_wrap .service:nth-child(3n) { border-right: none; }
	#services .services_wrap .service:nth-child(4n) { border-right: 1px solid #252525; }
	
	/* REFERENCES */
	#references .title { font-size: 40px; }

	.references_wrapper article { width: calc(50% - 30px); }
	.references_wrapper article:nth-child(3) { margin-top: 50px; }
	body.home .references_wrapper article:nth-child(3) { display: none !important; }
	
	/* CONTENT */
	#content h1 { font-size: 40px; }
	
	/* CONTENT: Gallery */
	#content ul.gallery li { width: calc(33.3333333333% - 30px); }
	#content ul.gallery li:nth-child(4) { margin-top: 30px; }
	
	/* FOOTER: Footer top */
	#footer .footer_top .footer_top_wrap { padding-top: 50px; padding-bottom: 50px; justify-content: center; }
	#footer .footer_top .footer_top_wrap .logo { width: 100%; margin-bottom: 50px; }
	#footer .footer_top .footer_top_wrap .logo img { margin: auto; }

	#footer .footer_top .footer_top_wrap ul { width: 100%; margin-left: 0; margin-bottom: 50px; justify-content: center; }
	#footer .footer_top .footer_top_wrap ul li { margin-left: 10px; margin-right: 10px; }

	#footer .footer_top .footer_top_wrap .up { width: 50px; height: auto; margin-left: initial; padding-top: 50px; padding-right: 0; text-align: center; }
	
	/* FOOTER: Footer bottom */
	#footer .footer_bottom .footer_bottom_wrap { padding-top: 30px; padding-bottom: 30px; }
	#footer .footer_bottom .footer_bottom_wrap div { width: 100%; text-align: center; }
}

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

	/* SLIDE */
	#slide h1 { font-size: 30px; }
	
	/* ABOUT US */
	#aboutus .aboutus_wrap .wrap_left h2 { font-size: 30px; }
	
	/* WHY US */
	#whyus .title { font-size: 30px; }

	#whyus .viewpoints_wrap { margin-left: 0; margin-right: 0; }
	#whyus .viewpoints_wrap .viewpoint { width: 100%; margin: 30px 0 0; }
	#whyus .viewpoints_wrap .viewpoint:nth-child(2) { margin-top: 30px; }
	
	/* SERVICES */
	#services .title { font-size: 30px; }

	#services .services_wrap .service { width: 50%; padding: 20px; }
	#services .services_wrap .service:nth-child(3) { border-top: 1px solid #252525; }
	#services .services_wrap .service:nth-child(2n) { border-right: none; }
	#services .services_wrap .service:nth-child(3n) { border-right: 1px solid #252525; }
	#services .services_wrap .service h3 { font-size: 22px; }
	
	/* REFERENCES */
	#references .title { font-size: 30px; }
	
	/* CONTENT */
	#content { padding: 30px 0; }

	#content h1 { font-size: 6vw; }
}

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

	/* REFERENCES */
	.references_wrapper { max-width: 480px; margin-left: auto; margin-right: auto; }
	.references_wrapper article { width: 100%; margin: 50px 0 0; }
	.references_wrapper article:nth-child(2) { margin-top: 50px; }

	body.home .references_wrapper article:nth-child(3) { display: block !important; }
	
	/* CONTENT */
	#content h1 { font-size: 7vw; }
	
	/* CONTENT: Metas */
	#content .metas .meta .name { width: 100%; padding: 10px 0 0; }
	#content .metas .meta .value { width: 100%; padding: 0 0 10px; }
	
	/* CONTENT: Gallery */
	#content ul.gallery { margin-left: -10px !important; margin-right: -10px !important; }
	#content ul.gallery li { width: calc(50% - 20px); margin: 20px 10px 0; }
	#content ul.gallery li:nth-child(3) { margin-top: 20px; }
	#content ul.gallery li:nth-child(4) { margin-top: 20px; }
}

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

	/* DISPLAY: None */
	.hide_in_480 { display: none !important; }
	
	/* DEFAULT */
	.button_full_width_in_480 { width: 100%; height: auto; padding: 15px; line-height: 20px; display: block; }
	
	/* WHY US */
	#whyus .viewpoints_wrap .viewpoint { padding: 10px; }
	#whyus .viewpoints_wrap .viewpoint .image { width: 100px; }
	#whyus .viewpoints_wrap .viewpoint .text { width: calc(100% - 100px); font-size: 18px; }
	
	/* SERVICES */
	#services .services_wrap .service { width: 100%; border-right: none !important; }
	#services .services_wrap .service:nth-child(2) { border-top: 1px solid #252525; }
	#services .services_wrap .service h3 { font-size: 22px; }
	
	/* BEFORE CONTENT */
	#before_content { height: 200px; } 
	#before_content .rank-math-breadcrumb { bottom: 20px; } 
	
	/* CONTENT */
	#content h1 { font-size: 8vw; }
	
	/* FOOTER: Footer bottom */
	#footer .footer_bottom .rights { display: block; }
}

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

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

	/* NAVIGATION */
	#rwd_menu .rwd_menu_wrap { width: 100%; }
	
	#rwd_menu ul.main_menu li a { padding: 10px 10px 10px 20px; }
	#rwd_menu ul.footer_menu li { margin-bottom: 15px; padding: 0 20px; }
	
	/* NAVIGATION: Language chooser */
	#rwd_menu ul.language-chooser { padding: 0 20px; }
}
