/*
Theme Name: Polgár Sándor festményei
Theme URI: http://
Description: Polgár festmények weboldal alapértelmezett sablonja
Author: Digitalform
Author URI: http://digitalform.hu/
Version: 1.0
*/

*{
margin: 0;
padding: 0;
border: 0;
text-decoration: none;
list-style: none;
}
*, *:after, *::before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

html, body { height: 100%; }
body { font-family: 'PT Serif', serif; font-size: 18px; color: #666; line-height: 30px; }
body:before { width: 100%; height: 100px; left: 0; top: 0; background: #292929 url(images/wave.png) repeat left top; position: absolute; content: ''; z-index: -1; }
body.home:before { height: 90vh; }

img.alignleft, img.alignright, img.aligncenter, img.alignnone { max-width: 100%; padding: 5px; background: #fff; -moz-box-shadow: 0 0 5px #d1d4bc; -webkit-box-shadow: 0 0 5px #d1d4bc; box-shadow: 0 0 5px #d1d4bc; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } 
img.noborder { padding: 0 !important; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }

h1, h2, h3, h4, h5 { font-weight: normal; line-height: 1; }

h1.title { margin-bottom: 40px; padding: 0 120px; font-size: 40px; font-weight: 700; text-transform: uppercase; color: #222; background-image: url(images/swirl_left.png), url(images/swirl_right.png); background-repeat: no-repeat; background-position: left top, right top; display: inline-block; }

hr { margin: 30px 0; border-top: 2px solid #ddd; clear: both; }

button, input, select, textarea { font-family: 'PT Serif', serif; font-size: 15px; font-weight: 400; outline: none; }


/*
-----------------
	CLASSES
-----------------
*/
.inner { max-width: 1200px; margin: auto; position: relative; }
.inner_800 { max-width: 800px; margin: auto; position: relative; }
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.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%; }
.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; }
.red { color: red; }

/* Button */
.button { height: 50px; padding: 0 30px; font-size: 15px; text-align: center; text-transform: uppercase; text-decoration: none !important; color: white !important; line-height: 50px; background-color: #c7b05b; display: inline-block; cursor: pointer; }
.button:hover { background-color: #292929; }
.button:disabled { color: white !important; background-color: #ccc; }

/* Anim */
.anim, .button { -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, 
#rwd_menu .rwd_menu_wrapper ul li a:before { -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); }

/* Buttons */

/* Cols */
.row { width: 100%; font-size: 0; display: block; }
.col { font-size: 18px; vertical-align: top; display: inline-block; position: relative; }
.col_66 { width: 66%; }
.col_60 { width: 60%; }
.col_50 { width: 50%; }
.col_40 { width: 40%; }
.col_33 { width: 33.3333333333%; }
.col_25 { width: 25%; }

.row_table { width: 100%; display: table; }
.row_table > .col { display: table-cell; }


/*
-------------
	MODAL
-------------
*/
.white-popup { width: auto; max-width: 340px; margin: 20px auto; padding: 20px; background: white; position: relative; }
.white-popup.order_modal { max-width: 700px; padding: 50px; }
.white-popup.order_modal .mfp-close { width: 50px; height: 50px; color: white; background: #c7b05b; opacity: 1 !important; }
.white-popup.order_modal .mfp-close:active { top: 0 !important; }
.white-popup.order_modal .mfp-close:hover { background: #292929; }

.white-popup.order_modal h3 { margin-bottom: 20px; padding-right: 90px; font-size: 20px; font-weight: 700; color: #292929; line-height: 1; }
.white-popup.order_modal p { margin-bottom: 20px; }
.white-popup.order_modal p:last-child { margin-bottom: 0; }

/*
-------------------
	NAVIGATION
-------------------
*/
#rwd_menu { width: 100%; left: 0; top: 100px; bottom: 0; padding: 30px; position: fixed; z-index: 9; visibility: hidden; opacity: 1; overflow: hidden; }

#rwd_menu .rwd_menu_overlay { width: 100%; height: 100%; left: 0; top: 0; background: rgba(41,41,41,0.9); position: absolute; }
#rwd_menu .rwd_menu_wrapper { width: 520px; height: 100%; left: -520px; padding: 50px 30px; background: white; overflow-y: auto; position: absolute; }
#rwd_menu .rwd_menu_wrapper ul { margin-bottom: 40px; }
#rwd_menu .rwd_menu_wrapper ul li { margin-bottom: 10px; }
#rwd_menu .rwd_menu_wrapper ul li a { padding: 5px 0; font-size: 30px; color: #292929; display: inline-block; position: relative; z-index: 1; }
#rwd_menu .rwd_menu_wrapper ul li a:before { width: 0; height: 15px; left: 0; bottom: 0; background: #efefed; position: absolute; content: ''; z-index: -1; }
#rwd_menu .rwd_menu_wrapper ul li a:hover:before { width: 100%; }

#rwd_menu .rwd_menu_wrapper a.phone { height: 30px; padding-left: 40px; color: #292929; line-height: 30px; background: url(images/icon_phone.svg) no-repeat left center; background-size: auto 30px; }
#rwd_menu .rwd_menu_wrapper a.phone:hover { text-decoration: underline; }

body.rwd_menu__opened #rwd_menu { visibility: visible; opacity: 1; }
body.rwd_menu__opened #rwd_menu .rwd_menu_wrapper { left: 0; }


/*
---------------
	HEADER
---------------	
*/
#header { width: 100%; height: 100px; color: white; line-height: 100px; background: #292929 url(images/wave.png) repeat left top; border-bottom: 1px solid rgba(255,255,255,0.15); position: fixed; z-index: 99; }

/* Logo */
#header .logo { width: 200px; height: auto; margin: auto; display: block; }
#header .logo img { width: 100%; height: auto; display: block; }

/* Phone */
#header .phone { height: 100%; right: 0; top: 0; padding: 0 30px 0 70px; font-size: 18px; background: url(images/icon_phone.svg) no-repeat 30px center; border-left: 1px solid rgba(255,255,255,0.15); position: absolute; }

/* RWD button */
#header .rwd_button { height: 100px; left: 0; top: 0; padding: 0 30px 0 90px; font-size: 18px; color: white; background: transparent; border-right: 1px solid rgba(255,255,255,0.15); position: absolute; cursor: pointer; }
#header .rwd_button .burg { width: 40px; height: 2px; left: 30px; top: 50%; background: #c8b05b; display: block; position: absolute; -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: 40px; height: 2px; background: #c8b05b; position: absolute; content: ''; -moz-transition: 0.2s; -o-transition: 0.2s; -webkit-transition: 0.2s; transition: 0.2s; }

#header .rwd_button .burg:before { top: -10px; left: 0; }
#header .rwd_button .burg:after { top: 10px; 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); }


/*
---------------
	CONTENT
---------------
*/
#content { padding-top: 100px; padding-bottom: 50px; }
#content.single { padding-top: 150px; }

#content h1 { margin-bottom: 30px; padding-bottom: 30px; font-size: 50px; color: #292929; position: relative; }
#content h1:after { width: 50px; height: 1px; left: 0; bottom: 0; background: #c8b05b; position: absolute; content: ''; }
#content h1.center:after { left: 50%; margin-left: -25px; }
#content h2 { margin-bottom: 30px; font-size: 40px; color: #292929; }
#content h3 { margin-bottom: 20px; font-size: 26px; color: #c8b05b; }

#content p { margin-bottom: 20px; }
#content p.back a { font-size: 16px; font-weight: 700; }

#content a { text-decoration: underline; color: #292929; }
#content a:hover { text-decoration: none; color: #000; }

/* List */
#content ul { margin-left: 0; margin-bottom: 30px; }
#content ul li { padding-left: 20px; list-style: none; position: relative; }
#content ul li:before { width: 6px; height: 6px; left: 0; top: 14px; background: #c8b05b; position: absolute; content: ''; }

#content ul.nomargin { margin-left: 0; }
#content ul.nomargin li:before { display: none; }

/* Table */
#content table.cookies { width: 100%; margin-bottom: 30px; border-collapse: collapse; border-spacing: 0; }
#content table.cookies thead tr th { padding: 10px; font-size: 14px; text-align: left; text-transform: uppercase; color: white; line-height: 16px; background: #292929; }
#content table.cookies tbody tr td { padding: 10px; font-size: 16px; text-align: left; line-height: 20px; border-bottom: 1px solid #ddd; }

/* Frontpage */
#content .frontpage { padding-top: 70px; }
#content .frontpage h1 { font-size: 20px; color: white; }
#content .frontpage .frontpage_text { margin-bottom: 70px; font-size: 70px; color: white; line-height: 1; }
#content .frontpage .frontpage_image { width: 100%; height: auto; margin-bottom: 70px; display: block; }
#content .frontpage .aboutus { margin-bottom: 70px; }

/* Featured products */
#content .frontpage .featured_products { padding: 50px 0; background: #efefed; }
#content .frontpage .featured_products .title { margin-bottom: 30px; padding-bottom: 30px; font-size: 25px; color: #292929; position: relative; }
#content .frontpage .featured_products .title:after { width: 50px; height: 1px; left: 50%; bottom: 0; margin-left: -25px; background: #c8b05b; position: absolute; content: ''; }

/* Page */
#content .page { padding: 50px 0; }

/* Products */
#content .controls { margin-bottom: 30px; padding: 15px 20px; color: #eee; background: #292929; }
#content .controls label { margin: 0 .4em 0 1em; }
#content .controls label:first-child { margin-left: 0; }

#content .products { margin-bottom: 30px; font-size: 0; }
#content .products .mix { width: 25%; vertical-align: top; display: inline-block; }
#content .products .mix .wrapper { padding: 20px; font-size: 18px; }
#content .products .mix:hover .wrapper { background: white; -moz-box-shadow: 0 0 20px rgba(0,0,0,0.2); -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.2); box-shadow: 0 0 20px rgba(0,0,0,0.2); }
#content .products .mix .wrapper .thumbnail { height: 250px; display: block; position: relative; }
#content .products .mix .wrapper .thumbnail img { width: 100%; height: auto; max-height: 100%; display: block; }
#content .products .mix .wrapper .entry { padding-top: 10px; }
#content .products .mix .wrapper .entry h3 { height: 75px; margin-bottom: 10px; overflow: hidden; }
#content .products .mix .wrapper .entry h3 a { font-size: 20px; text-decoration: none !important; color: #292929; /*word-break: break-all;*/ line-height: 25px; display: inline; }
#content .products .mix .wrapper .entry h3 a:hover { border-bottom: 1px solid #c8b05b; }
#content .products .mix .wrapper .entry .meta { font-size: 14px; color: #999; }
#content .products .mix .wrapper .entry .meta a { color: #999; }
#content .products .mix .wrapper .entry .meta a:hover { color: #292929; }

/* Single product */
#content.single .row .col.col_image img { width: 100%; height: auto; margin-bottom: 30px; display: block; }
#content.single .row .col.col_text { padding-left: 50px; padding-top: 20px; }
#content.single .row .col.col_text h1 { font-size: 40px; }

#content.single .description { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 3px double #ddd; }

#content.single .datas { margin-bottom: 30px; }
#content.single .datas .data { font-size: 0; border-bottom: 1px solid #ddd; }
#content.single .datas .data .name { width: 50%; padding: 5px 0; font-size: 17px; font-weight: 700; vertical-align: top; color: #292929; display: inline-block; }
#content.single .datas .data .value { width: 50%; padding: 5px 0; font-size: 17px; vertical-align: top; display: inline-block; }


/*
--------------
	FOOTER
--------------
*/
#footer { padding: 50px 0; font-size: 16px; color: white; line-height: 25px; background: #292929 url(images/wave.png) repeat left top; }
#footer .footer_wrapper { padding: 40px 0; background: #292929; position: relative; }
#footer .footer_wrapper:before { left: 10px; top: 10px; right: 10px; bottom: 10px; border: 1px solid rgba(255,255,255,0.15); position: absolute; content: ''; }
#footer .footer_wrapper .copyright { color: #ddd; }
#footer .footer_wrapper .row { margin-bottom: 50px; }
#footer .footer_wrapper .col { font-size: 16px; vertical-align: middle; position: realtive; }
#footer .footer_wrapper .col.has_line:after { width: 100px; height: 1px; right: -50px; top: 50%; background: white; position: absolute; content: ''; }
#footer .footer_wrapper a.logo img { width: 220px; height: auto; display: inline-block; }
#footer .footer_wrapper h3 { margin-bottom: 10px; font-size: 20px; color: #ddd; }
#footer .footer_wrapper ul li a { color: white; }
#footer .footer_wrapper ul li a:hover { text-decoration: underline; } 


/*
--------------------
	CONTACT FORM
--------------------
*/
.form-row { margin-bottom: 10px; }
.form-row.form-row-first { width: 48%; width: calc(50% - 10px); float: left; }
.form-row.form-row-last { width: 48%; width: calc(50% - 10px); float: right; }
.form-row.form-row-wide { clear: both; }

.form-row br { display: none; }
.form-row a { text-decoration: underline; color: #292929; }
.form-row a:hover { text-decoration: none; color: #000; }
.form-row label { font-size: 14px; font-weight: 700; text-transform: uppercase; color: #292929; display: block; }

.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; background: #f9f9f9; border: 2px solid #ddd; }

.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: #c7b05b; }

.form-row textarea { min-height: 100px; padding: 10px; resize: vertical; }

.wpcf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0 !important; }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label { font-size: 16px; text-transform: none; }


/*
-------------------
	RWD DESIGN
-------------------
*/
@media only screen and (max-width: 1200px) {
	
	/* DEFAULT */
	.p_l_30 { padding-left: 20px; }
	.p_r_30 { padding-right: 20px; }
	
	/* FOOTER */
	#footer .footer_wrapper .col.has_line:after { display: none; }
}

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

	/* CONTENT: Frontpage */
	#content .frontpage { padding-top: 50px; }
	#content .frontpage .frontpage_text { margin-bottom: 50px; font-size: 60px; }
	
	/* CONTENT: Products */
	#content .products .mix { width: 33.3333333333%; }
	#content .products .mix .wrapper .thumbnail { height: 200px; }
	
	/* CONTENT: Single product */
	#content.single .row { max-width: 600px; margin: auto; }
	#content.single .row .col { width: 100%; display: block; }
	#content.single .row .col.col_image { margin-bottom: 30px; }
	#content.single .row .col.col_text { padding: 0; }
}

@media only screen and (max-width: 768px) {
	
	/* DISPLAY: None */
	.hide_in_768 { display: none !important; }
	
	/* NAVIGATION */
	#rwd_menu .rwd_menu_wrapper { padding: 30px; }
	
	/* HEADER: Logo */
	#header .logo { width: 200px; right: 20px; position: absolute; }
	
	/* CONTENT: Frontpage */
	#content .frontpage .frontpage_text { font-size: 7vw; }
	
	/* CONTENT: Products */
	#content .products .mix { width: 50%; }
	#content .products .mix .wrapper .thumbnail { height: 200px; }
	
	/* FOOTER */
	#footer { padding: 30px 0; }
	#footer .footer_wrapper .col { width: 50%; }
}

@media only screen and (max-width: 640px) {
	
	/* MODAL */
	.white-popup.order_modal { padding: 20px; }
	
	/* NAVIGATION */
	#rwd_menu .rwd_menu_wrapper { width: 100%; left: -100%; }
	
	/* CONTENT: Frontpage */
	#content .frontpage .frontpage_text { font-size: 8vw; }
	
	/* FOOTER */
	#footer .footer_wrapper .row { margin-bottom: 30px; display: block; }
	#footer .footer_wrapper .col { width: 100%; display: block; }
	#footer .footer_wrapper .col.col_contact { margin-bottom: 30px; }
	
	/* CONTACT FORM */
	.form-row.form-row-first, 
	.form-row.form-row-last { width: 100%; float: none; }
}

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

	/* DEFAULT */
	h1.title { font-size: 10vw; }
	.button { width: 100%; height: auto; padding: 15px 5px; line-height: 20px; display: block; }

	/* RWD MENU */
	/* NAVIGATION */
	#rwd_menu .rwd_menu_wrapper { padding: 30px 20px; }
	#rwd_menu ul { width: auto; max-width: 250px; }
	#rwd_menu ul li { padding: 3px 0; }
	#rwd_menu .rwd_menu_wrapper ul li a { padding: 3px 0; }
	
	/* HEADER: Logo */
	#header .logo { width: 140px; }
	
	/* HEADER: RWD button */
	#header .rwd_button { padding: 0 0 0 80px; border-right: none; }
	#header .rwd_button .burg { left: 20px; }
	
	/* CONTENT: Frontpage */
	#content .frontpage .frontpage_text { font-size: 9vw; }
	
	/* CONTENT: Products */
	#content .products .mix { width: 100%; margin-bottom: 30px; }
	#content .products .mix .wrapper { padding: 0; }
	#content .products .mix:hover .wrapper { background: transparent; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
	#content .products .mix .wrapper .thumbnail { height: auto; }
	#content .products .mix .wrapper .thumbnail img { top: auto; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
	#content .products .mix .wrapper .entry h3 { height: auto; }
	
	/* CONTENT: Single product */
	#content.single .datas .data .name { width: 100%; padding: 5px 0 0; display: block; }
	#content.single .datas .data .value { width: 100%; padding: 0 0 5px 0; display: block; }
}
