/*
Theme Name: Ablak-ajtó javítás Debrecenben és környékén
Theme URI: https://ablak-ajto-javitas.hu
Description: Ablak-ajtó javítás Debrecenben és környékén
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 { font-family: 'Nunito Sans', sans-serif; font-size: 18px; font-weight: 400; color: #575757; line-height: 25px; background-color: #f7f7f7; overflow-x: hidden; }
body.rwd_menu__opened { overflow: none; }

textarea, input, select, button { font-family: 'Nunito Sans', sans-serif; font-size: 15px; outline: none; }

h1, h2, h3, h4 { font-weight: normal; line-height: 100%; }

hr { margin: 30px 0; border-top: 5px solid #efefed; }

/* Classes */
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.inner { max-width: 1200px; margin-left: auto; margin-right: auto; position: relative; }
.inner_800 { max-width: 800px; }
.inner_960 { max-width: 960px; }
.alignleft { margin: 0 20px 5px 0; float: left; }
.alignright { margin: 0 0 5px 20px; float: right; }
.aligncenter { margin: 0 auto 20px auto; display: block; }
.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
.uppercase { text-transform: uppercase; }
.center { text-align: center; }
.hide { display: none !important; }
.red { color: #1b2974; }
.p_l_50 { padding-left: 50px; }
.b_r_50p { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
.sec_font, .button, .dropdown select { font-family: 'Bebas Neue', cursive; }

/* Cols */
.row { font-size: 0; }
.row .col { font-size: 18px; vertical-align: top; display: inline-block; }
.row .col_50 { width: 50%; }
.row .col_33 { width: 33.3333333333%; }

.row.row_table { width: 100%; display: table; table-layout: fixed; }
.row.row_table .col { display: table-cell; }

/* Animation */
.anim, #header ul.menu li a: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 20px; font-size: 22px !important; text-transform: uppercase; text-decoration: none !important; text-align: center; color: white !important; line-height: 53px; background: #1b2974; 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 { background: #081556; }
.button:disabled { color: white; background: #ccc; }

.button.turquoise { color: white; background-color: #27bfb4; }
.button.turquoise:hover { color: #081556 !important; background-color: white; }

/* 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: #1b2974; 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: #1b2974; position: relative; display: block; content: ''; }

/* ID */
#website { max-width: 1400px; min-height: 100vh; margin: auto; background: white; -moz-box-shadow: 0 0 20px rgba(0,0,0,0.1); -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.1); box-shadow: 0 0 20px rgba(0,0,0,0.1); }


/*
-------------------
	NAVIGATION
-------------------
*/
#rwd_menu { width: 100%; left: 0; top: 100px; bottom: 0; font-size: 18px; color: white; position: fixed; z-index: 100; visibility: hidden; opacity: 0; overflow: hidden; }
#rwd_menu p { margin-bottom: 10px; }
#rwd_menu p:last-child { margin-bottom: 0; }
#rwd_menu p label { margin-bottom: 5px; font-size: 15px; font-weight: 700; text-transform: uppercase; color: #aaa; display: block; }
#rwd_menu p a { font-size: 20px; color: white; }
#rwd_menu hr { max-width: none; margin: 0 0 30px 0; border-top-width: 1px; border-top-color: rgba(255,255,255,0.15); }

#rwd_menu .rwd_menu_overlay { width: 100%; height: 100%; left: 0; top: 0; background: #081556; position: absolute; }
#rwd_menu .rwd_menu_wrapper { max-height: 100%; margin-top: -30px; padding: 50px 30px 30px 30px; position: relative; overflow-y: auto; opacity: 0; }

/* Menu */
#rwd_menu .rwd_menu_wrapper ul { margin-bottom: 20px; position: relative; z-index: 1; } 
#rwd_menu .rwd_menu_wrapper ul li { list-style: none; } 
#rwd_menu .rwd_menu_wrapper ul li a { padding: 5px 0; font-size: 40px; color: white; line-height: 1; display: block; position: relative; }

/* RWD nav opened */
body.rwd_menu__opened #rwd_menu { visibility: visible; opacity: 1; }
body.rwd_menu__opened #rwd_menu .rwd_menu_wrapper { margin-top: 0; opacity: 1; }


/*
---------------
	HEADER
---------------
*/
#header { height: 100px; position: relative; }
#header .inner { height: 100%; }

/* Logo */
#header .logo { width: 330px; height: 40px; left: 100px; padding-left: 160px; font-size: 24px; color: #1b2974; line-height: 1; background: url(images/logo.svg) no-repeat left center; background-size: contain; display: block; position: absolute; z-index: 2; }
#header .logo span { display: block; }

/* Menu */
#header ul.menu { height: 40px; right: 250px; font-size: 0; position: absolute; z-index: 1; }
#header ul.menu li { height: 100%; margin: 0 15px; vertical-align: top; display: inline-block; }
#header ul.menu li a { height: 100%; font-size: 20px; color: #777; line-height: 40px; display: block; position: relative; }
#header ul.menu li a:after { width: 0; height: 2px; left: 0; bottom: 0; background: #27bfb4; position: absolute; content: ''; }
#header ul.menu li a:hover:after { width: 100%; }

#header ul.menu li.current_page_item a, 
#header ul.menu li.current-menu-item a { color: #081556; }
#header ul.menu li.current_page_item a:after, 
#header ul.menu li.current-menu-item a:after { width: 100%; }

/* Contact */
#header .contact { height: 40px; right: 100px; padding: 0 20px; font-size: 20px; color: white; line-height: 42px; background-color: #1b2974; position: absolute; z-index: 2; }
#header .contact:hover { background-color: #081556; }

/* RWD menu */
#header .rwd_button { width: 50px; height: 50px; right: 20px; background: #081556; position: absolute; cursor: pointer; }
#header .rwd_button .burg { width: 30px; height: 2px; left: 10px; background: white; 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: 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: -8px; left: 0; }
#header .rwd_button .burg:after { top: 8px; right: 0; }

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); }


/*
--------------
	SLIDER
--------------
*/
#slider { min-height: 200px; max-height: 550px; vertical-align: top; background-color: #081556; background-repeat: no-repeat; background-position: left top; background-size: contain; position: relative; }
#slider:before { padding-top: 40%; display: block; position: relative; content: ''; }
#slider .cover { width: 100%; height: 100%; left: 0; top: 0; background: url(images/bgr_slider.png) no-repeat center; background-size: cover; position: absolute; }
#slider .text_wrapper { width: 40%; right: 100px; bottom: 100px; text-align: right; position: absolute; }
#slider .text_wrapper .text { font-size: 50px; color: #1b2974; line-height: 1; }


/*
----------------
	SERVICES
----------------
*/
#services { padding: 50px 0; }
#services .main_title { margin-bottom: 50px; font-size: 50px; color: #1b2974; line-height: 1; }
#services .intro_outro_text { max-width: 960px; margin: 0 auto 30px; }
#services .intro_outro_text p { margin-bottom: 30px; }
#services .intro_outro_text h3 { margin-bottom: 20px; font-size: 40px; font-weight: 700; color: #1b2974; line-height: 1; }
#services .intro_outro_text ul { margin-left: 20px; margin-bottom: 20px; }
#services .intro_outro_text ul li { margin-bottom: 10px; padding-left: 20px; list-style: none; position: relative; }
#services .intro_outro_text ul li:last-child { margin-bottom: 0; }
#services .intro_outro_text ul li:before { width: 12px; height: 12px; left: 0; top: 7px; border: 3px solid #1b2974; position: absolute; content: ''; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }

.services_list { max-width: 960px; margin: 0 auto 30px; }
.services_list .service { margin-bottom: 30px; }
.services_list .service:last-child { margin-bottom: 0; }
.services_list .service .col_image img { width: 100%; height: auto; display: block; }
.services_list .service .col_text { padding-left: 50px; vertical-align: middle; line-height: 1; }
.services_list .service .col_text.right_align { padding-left: 0; padding-right: 50px; text-align: right; }
.services_list .service .col_text .service_title { font-size: 30px; color: #1b2974; }
.services_list .service .col_text .service_text { margin-top: 20px; line-height: 20px; }

body.home .services_list .service .col_text .service_title { font-size: 40px; }


/*
----------------------
	BEFORE CONTENT
----------------------
*/
#before_content { padding: 10px 0; font-size: 15px; font-weight: 700; color: white; background: #081556; }
#before_content a { font-weight: normal; text-decoration: underline; color: #a4a1d5; }
#before_content a:hover { color: white; }

/*
----------------
	CONTENT
----------------
*/
#content { padding: 50px 0; position: relative; }

#content h1 { margin-bottom: 30px; font-size: 70px; color: #081556; line-height: 1; }
#content h2 { margin-bottom: 20px; font-size: 50px; font-weight: 700; color: #1b2974; line-height: 1; }
#content h3 { margin-bottom: 20px; font-size: 40px; font-weight: 700; color: #1b2974; line-height: 1; }

#content p { margin-bottom: 30px; }
#content a { text-decoration: underline; color: #1b2974; }
#content a:hover { text-decoration: none; }
#content strong { font-weight: 700; color: #081556; }

/* List */
#content ul { margin-bottom: 30px; margin-left: 30px; }
#content ul li { margin-bottom: 10px; padding-left: 20px; list-style: none; position: relative; }
#content ul li:last-child { margin-bottom: 0; }
#content ul li:before { width: 12px; height: 12px; left: 0; top: 5px; border: 3px solid #1b2974; position: absolute; content: ''; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }

#content ul.nomargin { margin-left: 0 !important; }
#content ul.nomargin li { padding-left: 0 !important; }
#content ul.nomargin li:before { display: none; }

#content ul.gallery { margin-left: -15px !important; margin-right: -15px !important; font-size: 0; }
#content ul.gallery li { width: 25%; margin-top: 30px; margin-bottom: 0 !important; padding-left: 15px !important; padding-right: 15px !important; vertical-align: top; display: inline-block; }
#content ul.gallery li:nth-child(-n+4) { margin-top: 0; }
#content ul.gallery li a { display: block; }
#content ul.gallery li a img { width: 100%; height: auto; display: block; }

#content ol { margin-bottom: 30px; margin-left: 30px; }
#content ol li { list-style: decimal; }

/* Iframe wrapper */
#content .iframe_wrapper { height: 0; margin-bottom: 30px; padding-bottom: 56.25%; padding-top: 25px; position: relative; }
#content .iframe_wrapper iframe { width: 100%; height: 100%; left: 0; top: 0; position: absolute; }

/* Blog archive */
#content .blog_archive { margin-left: -20px; margin-right: -20px; font-size: 0; }
#content .blog_archive article { width: 33.3333333333%; margin-bottom: 40px; padding-left: 20px; padding-right: 20px; vertical-align: top; display: inline-block; }
#content .blog_archive article .thumbnail { margin-bottom: 20px; line-height: normal; position: relative; }
#content .blog_archive article .thumbnail a { display: block; }
#content .blog_archive article .thumbnail img { width: 100%; height: auto; position: relative; z-index: 1; }
#content .blog_archive article .thumbnail .datetime { height: 40px; left: 0; bottom: 0; padding: 0 15px; font-size: 20px; color: white; line-height: 40px; background: #27bfb4; position: absolute; z-index: 2; }

#content .blog_archive article .entry h3 { margin-bottom: 10px; }
#content .blog_archive article .entry h3 a { font-size: 25px; color: #1d1d1b; line-height: 30px; }
#content .blog_archive article .entry .excerpt { margin-bottom: 10px; font-size: 16px; color: #777; line-height: 25px; }
#content .blog_archive article .entry .excerpt p { margin-bottom: 0 !important; }
#content .blog_archive article .entry .read_more { font-size: 17px; font-weight: 700; text-decoration: underline; color: #1d1d1b; }
#content .blog_archive article .entry .read_more:hover { text-decoration: none; }

/* Courses */
#content .head_datetime { margin-bottom: 30px; color: #081556; line-height: 18px; background: #fffcf5; border: 1px solid #27bfb4; }
#content .head_datetime .col_date { padding: 8px 10px 5px; font-size: 15px; border-right: 1px solid #27bfb4; }
#content .head_datetime .col_time { padding: 8px 10px 5px; font-size: 15px; }

/* Filter */
#content #filter { right: 0; top: 70px; font-size: 0; position: absolute; }
#content #filter div { height: 30px; margin-left: 10px; padding: 0 7px; font-size: 14px; vertical-align: top; line-height: 30px; background: white; border: 1px solid #ddd; display: inline-block; cursor: pointer; -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.07); -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.07); box-shadow: 0 1px 2px rgba(0,0,0,0.07); }
#content #filter div:hover { border-color: #ccc; }
#content #filter div.active { color: white; background: #1b2974; border-color: #1b2974; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }


/*
---------------
	CONTACT
---------------
*/
#contact { padding: 40px 0; background: #1b2974; }
#contact .title { margin-bottom: 30px; font-size: 40px; color: white; line-height: 1; }


/*
---------------
	FOOTER
---------------
*/
#footer { color: #a4a1d5; background: #081556; }

/* Footer top */
#footer .footer_top { padding: 40px 0; }
#footer .footer_top ul { padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.2); }
#footer .footer_top ul li { margin: 0 25px; vertical-align: top; display: inline-block; }
#footer .footer_top ul li a { font-size: 17px; text-decoration: underline; color: #a4a1d5; line-height: 1; display: block; }
#footer .footer_top ul li a:hover { color: white; }

#footer .footer_top .contact_wrapper { padding-top: 50px; }
#footer .footer_top .contact_wrapper h3 { margin-bottom: 20px; font-size: 20px; text-transform: uppercase; color: white; }
#footer .footer_top .contact_wrapper a.social { width: 50px; height: 50px; margin: 0 5px; vertical-align: top; background-repeat: no-repeat; background-position: center; background-size: auto 24px; border: 1px solid rgba(255,255,255,0.2); display: inline-block; }
#footer .footer_top .contact_wrapper a.social:hover { border-color: white; }
#footer .footer_top .contact_wrapper a.social.facebook { background-image: url(images/icon_facebook_white.svg); }
#footer .footer_top .contact_wrapper a.social.twitter { background-image: url(images/icon_twitter_white.svg); }
#footer .footer_top .contact_wrapper a.social.linkedin { background-image: url(images/icon_linkedin_white.svg); }
#footer .footer_top .contact_wrapper .contact { margin-top: 40px; }

/* Footer bottom */
#footer .footer_bottom { padding: 30px; font-size: 17px; line-height: 1; border-top: 1px solid rgba(255,255,255,0.2); }


/*
--------------
	FORM
--------------
*/
.form-row { margin-bottom: 10px !important; }
.form-row.form-row-first { width: calc(50% - 5px); float: left; }
.form-row.form-row-last { width: calc(50% - 5px); float: right; }
.form-row.form-row-wide { width: 100%; float: none; clear: both; }

.form-row a { text-decoration: underline; color: #333; }
.form-row a:hover { color: #000; }
.form-row br { display: none; }
.form-row label { font-size: 16px; font-weight: 700; text-align: left; color: #333; display: block; }
.form-row label.bold { margin-bottom: 20px; font-size: 18px; text-align: center; }

.form-row select,
.form-row textarea,
.form-row input[type=tel],
.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=number],
.form-row input[type=password] { width: 100%; height: 50px; padding-left: 10px; font-size: 16px; background: #f6f6f6; border: 1px solid #ddd; }

.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,
.form-row input[type=number]:focus,
.form-row input[type=password]:focus { border-color: #1b2974; -moz-box-shadow: 0 0 10px rgba(27,41,116,0.5); -webkit-box-shadow: 0 0 10px rgba(27,41,116,0.5); box-shadow: 0 0 10px rgba(27,41,116,0.5); }

.form-row textarea { min-height: 150px; padding: 10px; resize: vertical; }

.wpcf7 h3 { margin-top: 30px; }
.wpcf7 .wpcf7-list-item { margin: 0 15px 0 0 !important; }

.wpcf7 .wpcf7-form-control-wrap { min-height: 50px; display: block; }
.wpcf7 .wpcf7-form-control-wrap.wpcf7-form-control-signature-input-wrap { min-height: inherit; }
.wpcf7 .wpcf7-form-control-wrap.vegzett-tevekenysegek .wpcf7-list-item { margin: 0 0 5px 0 !important; display: block; }

.wpcf7 .wpcf7-form-control-wrap.wpcf7-form-control-signature-input-wrap { min-height: inherit; }

.wpcf7 .wpcf7-form-control.wpcf7-radio { padding-top: 10px; display: block; }

/* Signature */
.wpcf7 .wpcf7-form-control-signature-global-wrap {}
.wpcf7 .wpcf7-form-control-signature-global-wrap .wpcf7-form-control-signature-wrap { width: 100% !important; margin-bottom: 20px; border: 3px solid #ddd; }
.wpcf7 .wpcf7-form-control-signature-global-wrap .wpcf7_signature_signature { width: 100% !important; }
.wpcf7 .wpcf7-form-control-signature-global-wrap input[type=button] { height: 40px; padding: 0 10px; font-size: 17px !important; font-weight: 700; text-transform: uppercase; text-decoration: none !important; color: white !important; line-height: 40px; background: #377ef2; display: inline-block; position: relative; cursor: pointer; -webkit-border-radius: 25px; -moz-border-radius: 25px; border-radius: 25px; -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; }
.wpcf7 .wpcf7-form-control-signature-global-wrap input[type=button]:hover { background: #162d5a; }

/* Error */
.error { padding: 10px 20px; font-size: 16px; color: #242424; background: #fbcdcc; border-left: 5px solid #f1655c; position: relative; }


/*
-------------
	LOGIN
-------------
*/
#login_panel { position: relative; }
#login_panel .preloader { width: 100%; height: 100%; left: 0; top: 0; background: rgba(255,255,255,0.5) url(images/loader.gif) no-repeat center; display: none; position: absolute; }


/*
-------------------
	RWD DESIGN
-------------------
*/
@media only screen and (max-width: 1440px) { 

	/* HEADER: Logo */
	#header .logo { left: 30px; }
	
	/* HEADER: Menu */
	#header ul.menu { right: 180px; }

	/* HEADER: Contact */
	#header .contact { right: 30px; }
	
	/* SLIDER */
	#slider .text_wrapper { right: 30px; }
}

@media only screen and (max-width: 1200px) { 

	/* DISPLAY: None */
	.hide_in_1200 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_1200 { display: block !important; }
	
	/* DEFAULT */
	.p_l_30 { padding-left: 20px; }
	.p_r_30 { padding-right: 20px; }
	
	/* HEADER */
	#header { padding-right: 0; }
	
	/* HEADER: Logo */
	#header .logo { left: 20px; }
	
	/* HEADER: Menu */
	#header ul.menu { text-align: right; left: auto; right: 20px; }
	#header ul.menu li { margin: 0 10px; }
	#header ul.menu li:last-child { margin-right: 0; display: inline-block !important; }
	
	/* SLIDER */
	#slider .text_wrapper .text { font-size: 40px; }
}

@media only screen and (max-width: 960px) { 

	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block !important; }
	
	/* HEADER: Contact */
	#header .contact { height: 50px; right: 90px; font-size: 22px; line-height: 54px; display: block !important; }
	
	/* SLIDER */
	#slider { background-position: center; background-size: cover; }
	#slider .cover { background: rgba(8,21,86,0.3); }
	#slider .text_wrapper { width: 100%; right: 0; top: 50%; bottom: auto; text-align: center; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
	#slider .text_wrapper .text { font-size: 50px; color: white; }
	
	/* SERVICES */
	.services_list .service .col_text { padding-left: 30px; }
	.services_list .service .col_text.right_align { padding-right: 30px; }
	.services_list .service .col_text .service_title { font-size: 25px; }
	
	body.home .services_list .service .col_text .service_title { font-size: 30px; }
}

@media only screen and (max-width: 768px) { 

	/* SLIDER */
	#slider .text_wrapper .text { font-size: 6vw; }	
	
	/* SERVICES */
	#services { padding: 30px 0; }
	#services .main_title { margin-bottom: 30px; font-size: 7vw; }

	.services_list { max-width: 480px; display: block; }
	.services_list .service { display: block; }
	.services_list .service .col_image { width: 100%; display: table-header-group; }
	.services_list .service .col_text { padding-left: 0 !important; padding-right: 0 !important; text-align: left !important; display: table-footer-group; }
	.services_list .service .col_text .service_title { margin-top: 20px; }

	/* CONTENT */
	#content { padding: 30px 0; }
	#content h1 { margin-bottom: 20px; font-size: 10vw; }
	#content h2 { font-size: 7vw; }
	
	/* CONTENT: Gallery */
	#content ul.gallery { margin-left: -10px !important; margin-right: -10px !important; }
	#content ul.gallery li { width: 33.3333333333%; margin-top: 20px; padding-left: 10px !important; padding-right: 10px !important; }
	#content ul.gallery li:nth-child(4n) { margin-top: 20px; }
	#content ul.gallery li:nth-child(-n+3) { margin-top: 0; }
	
	/* FOOTER: Footer top */
	#footer .footer_top { padding: 30px 0; }
	#footer .footer_top .contact { width: 100%; margin-bottom: 30px; float: none; }

	#footer .footer_top .pages { width: 100%; float: none; }
	
	#footer .footer_top ul.menu { max-width: none; }
}

@media only screen and (max-width: 640px) { 

	/* HEADER: Contact */
	#header .contact { display: none !important; }
	
	/* SLIDER */
	#slider .text_wrapper .text { font-size: 7vw; }	
	
	/* SERVICES */
	#services .main_title { font-size: 8vw; }
	
	/* CONTENT */
	#content h1 { font-size: 11vw; }
	#content h2 { font-size: 8vw; }
	
	/* FOOTER: Footer top */
	#footer .footer_top ul li { margin: 10px 0; display: block; }
	
	/* FORM */
	.form-row.form-row-first, 
	.form-row.form-row-last { width: 100%; float: none; }
	.form-row .button { width: 100%; display: block; }
}

@media only screen and (max-width: 480px) { 

	/* NAVIGATION */
	#rwd_menu .rwd_menu_wrapper { padding: 20px; position: relative; overflow-y: auto; opacity: 0; }
	#rwd_menu .rwd_menu_wrapper ul li a { font-size: 30px; }
	
	/* HEADER: Logo */
	#header .logo { width: 250px; height: 30px; padding-left: 125px; font-size: 18px; }
	
	/* SLIDER */
	#slider .text_wrapper .text { font-size: 8vw; }	
	
	/* SERVICES */
	#services .main_title { font-size: 9vw; }
	
	/* CONTENT */
	#content h2 { font-size: 9vw; }
	
	/* CONTACT */
	#contact .title { font-size: 30px; }
	
	/* CONTENT: Gallery */
	#content ul.gallery li { width: 50%; }
	#content ul.gallery li:nth-child(3n) { margin-top: 20px; }
	#content ul.gallery li:nth-child(-n+2) { margin-top: 0; }
	
	/* FOOTER: Footer top */
	#footer .footer_top .contact .panel a.phone { font-size: 40px; }
}

@media only screen and (max-width: 320px) { 

	/* NAVIGATION */
	#rwd_menu { top: 80px; }

	/* HEADER */
	#header { height: 80px; }
	
	/* HEADER: Logo */
	#header .logo { width: 200px; height: 20px; padding-left: 80px; font-size: 16px; }
	
	/* SLIDER and OFFERS: Offers */
	#slider_offers .offers .offer { min-height: 140px; padding: 20px 130px 20px 20px; }
	#slider_offers .offers .offer .thumbnail { width: 80px; height: 80px; }
}
