/*
Theme Name: Kenézy Lux Apartman Vendégházak
Theme URI: https://napsugarapartmanok.hu
Description: A Kenézy Lux Apartman Vendégházak weboldal alapértelmezett sablonja
Author: Kenézy Lux Apartman Vendégházak
Author URI: https://napsugarapartmanok.hu
Version: 5.0
*/

*{ 
margin: 0;
padding: 0;	
border: 0; 
}

*, *:after, *::before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

body { font-family: 'Roboto', sans-serif; font-size: 15px; background: #d7ba92 url(images/bgr_body.png) no-repeat top center; background-size: 100%; background-attachment: fixed; }

a { text-decoration: none; }
input, button, select, textarea { font-family: 'Roboto', sans-serif; font-size: 15px; outline: 0; }

hr { margin-top: 30px; margin-bottom: 30px; border-top: 1px solid #e2cdae; border-bottom: 1px solid white; display: block; }
hr:last-child { display: none; }

/* Classes */
.red { color: #c00!important; }
.green { color: #093!important;}
.orangge { color: #ff8400!important;}
.h1.red {text-decoration: none!important;}
.h1.orangge {text-decoration: none!important;}
.h1.green {text-decoration: none!important;}
.h1 { text-decoration: none!important;}
.b_r_3 { -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }

.hr { height: 30px; margin-top: 10px; border-top: 1px dotted #fff; }
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.inner { max-width: 1000px; margin: auto; position: relative; }
.hide { display: none; }
.drop_shadow { -moz-box-shadow: 0 2px 5px rgba(0,0,0,0.2); -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.2); box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.vertical_middle { top: 50%; position: relative; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); }
.uppercase { text-transform: uppercase; }

/* Buttons */
.btn, .button { height: 40px; padding: 0 20px; font-size: 17px; text-decoration: none !important; color: white !important; line-height: 40px; display: inline-block; cursor: pointer; background: #004c8c; background: -moz-linear-gradient(top,  #004c8c 0%, #003464 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#004c8c), color-stop(100%,#003464)); background: -webkit-linear-gradient(top,  #004c8c 0%,#003464 100%); background: -o-linear-gradient(top,  #004c8c 0%,#003464 100%); background: -ms-linear-gradient(top,  #004c8c 0%,#003464 100%); background: linear-gradient(to bottom,  #004c8c 0%,#003464 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#004c8c', endColorstr='#003464',GradientType=0 ); }
.btn:hover, .button:hover { opacity: .95; }
.button_small { height: 30px; padding: 0 10px; font-size: 15px; line-height: 30px; }

/* Embed font */
.embed_font, .sec_font,  
#enquiry label, 
#sidebar h3.widget-title, 
#sidebar h3.widget_title { font-family: 'Roboto Slab', serif; }

.t_a_c, .center { text-align: center; }

/* Anim */
.anim { -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; } 

/* Special font */
:before, :after { font-family: 'fontello', sans-serif; }


/*
-----------------------
	MASK AND MODAL
-----------------------
*/
#mask { width: 100%; height: 100%; left: 0; top: 0; background: rgba(48,43,37,0.9); position: fixed; z-index: 999; opacity: 0; visibility: hidden; overflow: hidden; }
#modal { width: 400px; left: 50%; top: 100px; margin-left: -200px; padding: 30px; text-align: center; background: #fff; position: fixed; z-index: 1000; }
#modal .icon-cancel { right: 15px; top: 15px; font-size: 16px; color: #999; position: absolute; cursor: pointer; }
#modal .icon-cancel:before { margin: 0; }
#modal .icon-cancel:hover { color: #302b25; }
#modal .modal_content { margin-bottom: 20px; }
#modal .modal_button { height: 40px; line-height: 40px; }

#mask.is-visible { opacity: 1; visibility: visible; }
#mask.is-visible #modal { top: 125px; }

/* Modal */
.white-popup { width: auto; max-width: 340px; margin: 20px auto; padding: 20px; background: white; position: relative; }
.white-popup.exitpopup { max-width: 600px; background: #0066cc; }
.white-popup.exitpopup .mfp-close { color: white; }
.white-popup.exitpopup .wrapper { padding: 30px; color: white; border: 1px solid rgba(255,255,255,0.2); }
.white-popup.exitpopup .wrapper p { margin-bottom: 10px; }
.white-popup.exitpopup .wrapper p:last-child { margin-bottom: 0; }
.white-popup.exitpopup .wrapper .h2 { margin-bottom: 10px; padding-bottom: 10px; font-size: 40px; line-height: 100%; border-bottom: 4px double rgba(255,255,255,0.2); }
.white-popup.exitpopup .wrapper .h4 { font-size: 16px; line-height: 130%; }


/*
----------------
	HEADER
----------------
*/
#header { height: 105px; background: #fff; border-top: 5px solid #0066cc; position: relative; }
#header a { color: #0066cc; }
#header a:hover { text-decoration: underline; }

/* Logo */
#header .logo { width: auto; height: 70px; left: 30px; display: inline-block; position: absolute; }
#header .logo img { width: auto; height: 100%; display: block; }

/* Header top */
#header .header_top { max-width: calc(100% - 420px); height: 100%; top: 0; right: 0; display: flex; flex-wrap: wrap; align-content: center; position: absolute; }
#header .header_top .panel { width: calc(50% - 30px); display: flex; flex-wrap: wrap; align-content: center; }
#header .header_top a.link { width: 100%; height: 20px; padding-left: 24px; vertical-align: top; color: #003366; line-height: 20px; background-repeat: no-repeat; background-position: left center; background-size: auto 20px; display: inline-block; }
#header .header_top a.phone { background-image: url(images/icon_phone.svg); }
#header .header_top a.email { background-image: url(images/icon_email.svg); }

/* Language switcher */
#header .header_top .qtranxs_widget { width: 60px; height: 100%; border-left: 1px solid #ddd; }
#header .header_top .qtranxs_widget ul { height: 100%; display: flex; flex-wrap: wrap; align-items: space-between; list-style: none; }
#header .header_top .qtranxs_widget ul li { width: 100%; }
#header .header_top .qtranxs_widget ul li a { font-weight: 700; text-align: center; text-transform: uppercase; color: #003366; line-height: 33px; display: block; }

/* Header bottom */
#header .header_bottom { bottom: 20px; right: 30px; position: absolute; }
#header .header_bottom ul li { margin-left: 5px; display: inline-block; list-style-type: none; }

/* RWD button */
#header button { width: 60px; height: 60px; right: 20px; top: 20px; font-size: 30px; color: #000; background: none; position: absolute; cursor: pointer; }


/*
-----------------
	RWD MENU
-----------------
*/
.rwd_menu { padding: 10px 20px; text-align: center; background: #0066cc; }
.rwd_menu ul li { border-bottom: 1px solid rgba(255,255,255,0.2); list-style: none; }
.rwd_menu ul li:last-child { border-bottom: none; }
.rwd_menu ul li a { padding: 5px 0; font-size: 25px; color: white; display: block; }


/*
-------------
	MENU
-------------
*/
menu { height: 50px; font-size: 15px; font-weight: 400; line-height: 50px; background: #0077dc; background: -moz-linear-gradient(top,  #0077dc 0%, #005db4 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0077dc), color-stop(100%,#005db4)); background: -webkit-linear-gradient(top,  #0077dc 0%,#005db4 100%); background: -o-linear-gradient(top,  #0077dc 0%,#005db4 100%); background: -ms-linear-gradient(top,  #0077dc 0%,#005db4 100%); background: linear-gradient(to bottom,  #0077dc 0%,#005db4 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0077dc', endColorstr='#005db4',GradientType=0 ); }
menu ul { text-align: center; }
menu ul li { display: inline-block; position: relative; list-style-type: none; }
menu ul li:after { width: 1px; height: 30px; right: 0; top: 10px; background: #fff; position: absolute; content: ''; opacity: .2; }
menu ul li:last-child:after { display: none; }
menu ul li a { padding: 0 20px; font-size: 16px; color: #fff; display: block; }
menu ul li a:hover { text-decoration: underline; }


/*
---------------
	SLIDER
---------------
*/
#carousel_single img { width: 100%; display: block; }


/*
-----------------------
	SPECIAL OFFERS
-----------------------
*/
#frontpage_special_offers { padding: 20px; background: white url(images/bgr_top_shadow.png) repeat-x left top; }
#frontpage_special_offers ul li { width: 25%; padding: 0 5px; float: left; position: relative; list-style-type: none; }
#frontpage_special_offers ul li.post_number_3 { width: 33.3333333333%; }
#frontpage_special_offers ul li.post_number_2 { width: 50%; }
#frontpage_special_offers ul li.post_number_1 { width: 50%; }

#frontpage_special_offers ul li:after { width: 40px; height: 40px; right: 15px; bottom: 0; margin: 0; font-size: 20px; text-align: center; color: #fff; line-height: 40px; background: #0066cc; position: absolute; content: '\E8A2'; opacity: 0; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -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; } 
#frontpage_special_offers ul li:hover:after { right: 5px; opacity: 1; } 

#frontpage_special_offers ul li .thumbnail { margin-bottom: 15px; position: relative; }
#frontpage_special_offers ul li .thumbnail a { width: 100%; display: block; }
#frontpage_special_offers ul li .thumbnail img { width: 100%; display: block; position: relative; z-index: 1; }
#frontpage_special_offers ul li .thumbnail .meta { width: 100%; left: 0; bottom: 0; padding: 10px; color: #fff; background: #0066cc; position: absolute; z-index: 2; opacity: .9; }
#frontpage_special_offers ul li .thumbnail .not_bookable { width: 100%; left: 0; bottom: 0; padding: 10px; color: #fff; position: absolute; z-index: 2; opacity: .9; }
#frontpage_special_offers ul li .entry { min-height: 40px; padding-right: 60px; font-size: 20px; color: #000; line-height: 20px; }
#frontpage_special_offers ul li .entry a { color: #333; }


/* 
-------------------
	CONTAINER 
-------------------
*/
#container { min-height: 600px; padding: 30px; background: #f1e7d9 url(images/bgr_top_shadow.png) repeat-x left top; }
#container:after { width: 1px; height: 100%; right: 330px; top: 0; background: white; position: absolute; content: ''; }

#content { width: 100%; width: calc(100% - 310px); max-width: 630px; padding-right: 30px; line-height: 25px; float: left; position: relative; }

#content a.edit_post { right: 0; top: 0; position: absolute; }

#content h1 { margin-bottom: 30px; font-size: 35px; font-weight: 300; color: #036; line-height: 1; }
#content h3 { margin-bottom: 10px; font-size: 25px; line-height: 1; } 
#content h4 { margin-bottom: 20px; font-size: 20px; line-height: 1; } 

#content p { margin-bottom: 20px; }
#content img { max-width: 100%; }

#content .offer { margin-bottom: 20px; padding: 20px; font-family: 'Roboto Slab', sans; font-size: 20px; font-weight: bold; background: white; border: 3px dashed #ff8400; }
#content .offer ul:last-child { margin-bottom: 0 !important; }

/* List */
#content ul { margin-left: 20px; margin-bottom: 20px; }
#content ul.sm { margin-top: -20px; }
#content ul li { list-style-type: disc; }

#content ul.nomargin { margin-left: 0; }
#content ul.nomargin li { list-style: none; }

#content ul.gallery { margin-left: -5px !important; margin-right: -5px; font-size: 0; }
#content ul.gallery li { width: 25%; margin-bottom: 10px; padding-left: 5px; padding-right: 5px; vertical-align: top; display: inline-block; list-style: none; }
#content ul.gallery li a { display: block; }
#content ul.gallery li img { width: 100%; height: auto; display: block; }

#content a { text-decoration: underline; color: #003366; }
#content a:hover { color: #000; }

#content iframe { width: 100%; height: 300px; border: 3px solid #fff; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

/* Table */
#content table.arak { text-align: center; }
#content table.arak thead td { color: white; background: #333; }
#content table.arak tbody td { border: 1px solid #333; }
#content table.arak tbody td:first-child { font-weight: bold; text-align: center; }

/* Not bookable */
.not_bookable { padding: 5px 10px; color: white; background: #c00; }
#content .not_bookable { margin-bottom: 30px; }

#container.fullscreen { background-image: url(images/bgr_top_shadow.png); background-repeat: repeat-x; background-position: left top; }
#container.fullscreen:after { display: none; }
#container.fullscreen #content { width: 100%; max-width: none; float: none; }

/* Special offer */
.valid { height: 40px; margin-top: -20px; margin-bottom: 30px; font-size: 14px; line-height: 40px; border-top: 1px dotted #49351B; border-bottom: 1px dotted #49351B; }

/* Booking */
ul.room_package_list { margin-left: 0 !important; }
ul.room_package_list li { margin-bottom: 50px; list-style-type: none !important; }
ul.room_package_list li .entry { width: 50%; padding-top: 20px; padding-right: 30px; }
ul.room_package_list li .entry h2 { margin-bottom: 40px; font-size: 30px; font-weight: 300; line-height: 30px; }
ul.room_package_list li .entry h2 a { text-decoration: none !important; }
ul.room_package_list li .entry a.btn { height: 40px; padding: 0 20px; font-size: 16px; line-height: 40px; }
ul.room_package_list li .thumbnail { width: 50%; }
ul.room_package_list li .thumbnail img { width: 100%; height: auto; -moz-box-shadow: 0 2px 5px rgba(0,0,0,0.2); -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.2); box-shadow: 0 2px 5px rgba(0,0,0,0.2); }

/* Gallery */
.fg-panel { margin-bottom: 20px; }
.fg-thumbail-selection .fg-album-thumbnail:nth-child(3n) { margin-right: 0 !important; }


/*
-----------------
	TAG ARCHIVE
-----------------
*/
#content ul.tag { list-style: none; padding-left: 0; }
#content ul.tag li{ list-style:none; }
#content ul.tag li .left_s{ float: left; padding-right: 20px; }
#content ul.tag li .right_s a { font-size: 20px; color: #333; }


/*
-----------------
	ENQUIRY
-----------------
*/
#enquiry { padding: 10px 20px; background: #fff; }
.enquiry ul li { display: inline-block; list-style-type: none; }
.enquiry ul li label { font-size: 14px; font-weight: 700; }

.enquiry input[type=text], 
.enquiry input[type=number]
{ width: 100px; height: 40px; margin-right: 15px; padding-left: 10px; background: #f1e7d9; border: 1px solid #e2cbae; }

.enquiry input[type=number] { width: 50px; }

.enquiry input[type=submit] { height: 40px; padding: 0 15px; font-size: 15px; color: #fff; background: #ff8400; cursor: pointer; }
.cta { height: 50px; padding: 0 20px; text-decoration: none !important; color: white !important; line-height: 50px; background: #ff8400; display: inline-block; cursor: pointer; }
.cta:hover { background: #003366; }

/* Enquiry start */
#enquiry_start { margin-bottom: 30px; padding: 20px; background: #fff; }
#enquiry_start ul { margin-left: 0 !important; margin-bottom: 0 !important; }
#choosed_action { height: 40px; margin-bottom: 30px; padding: 20px; line-height: 40px; background: #fff; }
#choosed_action a { height: 40px; margin-right: 30px; padding: 0 15px; }
#choosed_action div { height: 40px; padding-left: 35px; font-size: 15px; float: left; position: relative; }
#choosed_action div:before { left: 0; top: 8px; font-size: 25px; color: #8dc23c; position: absolute; }

/* Notice */
.notice { margin-bottom: 30px; padding: 20px; background: #fff; }
.notice p { margin-bottom: 0 !important; }


/*
------------------
	SPONSORS
------------------
*/
#sponsors { padding: 20px; font-size: 0; text-align: center; background: white; display: flex; flex-wrap: wrap; justify-content: center; }
#sponsors a { margin: 0 10px; display: inline-block; }
#sponsors img { width: auto; max-width: 100%; height: auto; max-height: 80px; margin: 0 20px; }


/*
----------------
	GALLERY
----------------
*/
.fg-current-album { color: white !important; background: #0066cc !important; }
.fg-dropdown-selection-list { background: white !important; }
.fg-dropdown-selection-list div:hover { background: #f7f1e9 !important; }
.fg-thumbail-selection .fg-album-thumbnail:nth-child(3n) { margin-right: 0 !important; }


/*
-----------------
	SIDEBAR
-----------------
*/
#sidebar { width: 100%; max-width: 310px; padding-left: 30px; line-height: 20px; float: right; }

#sidebar .widget { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 2px solid #fff; }
#sidebar .widget:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
#sidebar .widget h3.widget-title, #sidebar .widget h3.widget_title { margin-bottom: 20px; font-size: 20px; line-height: 20px; }

/* Widget icons */
#sidebar .widget_icons ul li { min-height: 50px; margin-bottom: 20px; padding: 5px 0 20px 70px; border-bottom: 1px dotted #fff; list-style-type: none !important; position: relative; }
#sidebar .widget_icons ul li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
#sidebar .widget_icons ul li:before { width: 50px; height: 50px; left: 0; top: 0; font-size: 20px; text-align: center; color: #fff; line-height: 50px; position: absolute; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
#sidebar .widget_icons ul li a { font-size: 23px; }
#sidebar .widget_icons ul li a:hover { text-decoration: underline; }

#sidebar .widget_icons ul li.contact, .widget_icons ul li.contact a { color: #009933; }
#sidebar .widget_icons ul li.contact:before { background: #009933; }

#sidebar .widget_icons ul li.galleries, .widget_icons ul li.galleries a { color: #003366; }
#sidebar .widget_icons ul li.galleries:before { background: #003366; }

#sidebar .widget_icons ul li.panorama, .widget_icons ul li.panorama a { color: #ff8400; }
#sidebar .widget_icons ul li.panorama:before { background: #ff8400; }

#sidebar .widget_icons ul li:hover { color: #333; }
#sidebar .widget_icons ul li:hover:before { background: #333; -webkit-animation: icon-motion 0.5s; -moz-animation: icon-motion 0.5s; -o-animation: icon-motion 0.5s; animation: icon-motion 0.5s; }
#sidebar .widget_icons ul li:hover a { color: #333; }

/* Call back */
#sidebar .widget_call_back input { max-width: 280px; }

/* Szép kártya */
#sidebar .widget_szep .left { width: 50%; }
#sidebar .widget_szep .right { width: 50%; }


/*
---------------
	FOOTER
---------------
*/
footer { height: 60px; padding: 0 20px; color: #fff; line-height: 60px; background: #003366; border-bottom: 5px solid #0064c7; }
footer a { text-decoration: underline; color: #fff; }


/*
------------------
	KEYFRAMES
------------------
*/
@-webkit-keyframes icon-motion {
  0%   { -ms-transform: scale(0.8,0.8); -webkit-transform: scale(0.8,0.8); transform: scale(0.8,0.8); }
}
@-moz-keyframes icon-motion {
  0%   { -ms-transform: scale(0.8,0.8); -webkit-transform: scale(0.8,0.8); transform: scale(0.8,0.8); }
}
@-o-keyframes icon-motion {
  0%   { -ms-transform: scale(0.8,0.8); -webkit-transform: scale(0.8,0.8); transform: scale(0.8,0.8); }
}
@keyframes icon-motion {
  0%   { -ms-transform: scale(0.8,0.8); -webkit-transform: scale(0.8,0.8); transform: scale(0.8,0.8); }
}


/*
--------------
	FORM
--------------
*/
.form-row { margin-bottom: 10px; }
.form-row.form-row-first { width: 49%; width: calc(50% - 5px); float: left; }
.form-row.form-row-last { width: 49%; width: calc(50% - 5px); float: right; }
.form-row.form-row-wide { clear: both; }

.form-row label { font-weight: bold; display: inline-block !important; }

.form-row select,
.form-row textarea,
.form-row input[type=tel],
.form-row input[type=date],
.form-row input[type=text],
.form-row input[type=email],  
.form-row input[type=number] { width: 100%; height: 40px; padding-left: 10px; border: 1px solid #e7d5bb; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

.form-row select:focus,
.form-row textarea:focus,
.form-row input[type=tel]:focus,
.form-row input[type=date]:focus,
.form-row input[type=text]:focus,
.form-row input[type=email]:focus, 
.form-row input[type=number]:focus { border-color: #ddc39d; }

.form-row textarea { height: 150px; min-height: 150px; padding: 10px; resize: vertical; }

.form-row input[type=submit] { height: 50px; padding: 0 20px; font-size: 16px; }

/* Half */
ul.form_half li { width: 48%; float: left; }
ul.form_half li:nth-child(even) { float: right; }

ul.form_half li select,
ul.form_half li input[type=tel],
ul.form_half li input[type=date],
ul.form_half li input[type=text],
ul.form_half li input[type=email],  
ul.form_half li input[type=number] 
{ max-width: 437px; }

.form-row.full textarea { width: 100%; max-width: none; }

/* 
--------------------------
	RESPONSIVE DESIGN 
--------------------------
*/
@media screen and (max-width: 960px) {
	
	/* DISPLAY: None */
	.hide_in_960 { display: none !important; }
	
	/* DISPLAY: Block */
	.show_in_960 { display: block; }
	
	/* HEADER */
	#header { height: 100px; border-top: none; }
	#header #logo { left: 20px; }
	#header #logo img { height: 70px; }
	#header .header_bottom { bottom: 35px; right: 100px; }
	
	/* HEADER: Header top */
	#header .header_top { max-width: none; }
	
	/* HEADER: Language switcher */
	#header .header_top .qtranxs_widget { margin-right: 100px; border-left: none; border-right: 1px solid #ddd; }
	
	/* ENQUIRY */
	#enquiry { height: auto; padding: 20px; padding-bottom: 10px; line-height: normal; }
	body.singular #enquiry { background: white url(images/bgr_top_shadow.png) repeat-x left top; }
	.enquiry ul li { width: 48%; margin-bottom: 10px; float: left; }
	.enquiry ul li:nth-child(even) { float: right; }
	.enquiry ul li.submit { width: 100%; float: none !important; }
	.enquiry ul li label { display: block; }
	.enquiry input[type=text], .enquiry input[type=number] { width: 100%; }
	.enquiry input[type=submit] { width: 100%; padding: 0; display: block; }
	
	/* SPONSORS */
	#sponsors a { width: 50%; margin: 0; }
	
	/* CONTAINER */ 
	#container:after { right: 280px; }
	
	/* CONTENT */
	#content { width: 100%; width: calc(100% - 250px); max-width: 690px; }
	
	/* SIDEBAR */
	#sidebar { width: 100%; max-width: 250px; }
	
	/* SIDEBAR: Szép kártya */
	#sidebar .widget_szep .left { width: 100%; text-align: center; float: none; }
	#sidebar .widget_szep .right { width: 100%; float: none; }
}

@media screen and (max-width: 768px) {
	
	/* DISPLAY: None */
	.hide_in_768 { display: none; }
	
	/* SPECIAL OFFERS */
	body.singular #frontpage_special_offers { display: none !important; }
	
	/* CONTAINER */ 
	#container { padding: 20px; }
	#container:after { display: none; }
	
	/* CONTENT */
	#content { width: 100%; max-width: none; padding-right: 0; float: none; }
	#content img.alignnone { width: 100%; }
	
	/* CONTENT: Gallery */
	#content ul.gallery li { width: 33.3333333333%; }
	
	/* FOOTER */
	footer { height: auto; padding: 20px; text-align: center; line-height: normal; }
	footer .left, footer .right { width: 100%; float: none; }
}

@media screen and (max-width: 640px) {
	
	/* HEADER: Logo */
	#header .logo { height: 50px; left: 20px; }

	/* SPECIAL OFFERS */
	#frontpage_special_offers ul li { width: 100%; margin-bottom: 20px; padding: 0; float: none; }
	#frontpage_special_offers ul li.post_number_3 { width: 100%; }
	#frontpage_special_offers ul li.post_number_2 { width: 100%; }
	#frontpage_special_offers ul li.post_number_1 { width: 100%; }
	
	/* CONTENT: Gallery */
	#content ul.gallery li { width: 50%; }
}

@media screen and (max-width: 480px) {
	
	/* DISPLAY: None */
	.hide_in_480 { display: none; }
	
	/* SPONSORS */
	#sponsors a { width: 100%; margin-bottom: 20px; }
	
	/* GALLERY */
	.fg-listItem, .fg-listItem div { width: 100% !important; height: auto !important; }
	.fg-listItem img { width: 100% !important; height: auto !important; position: relative !important; }
	
	.fg-album-thumbnail { width: 100% !important; margin-right: 0 !important; float: none !important; }
	.fg-album-thumbnail div { width: 100% !important; }
	.fg-album-thumbnail a { height: auto !important; }
}
