/*
Theme Name: Kitchens of Diablo
Theme URI: https://kitchensofdiablo.com/
Description: Classic (non-block) WordPress theme migrated from the original Yii site for Kitchens of Diablo. Pixel-for-pixel visual match of the legacy design. Requires ACF Pro and Classic Editor.
Author: Miryn and Claude
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: kitchensofdiablo
*/

/* ============================================================
   Original site styles (paths rewritten for theme root:
   ../img/ -> img/ , ../fonts/ -> fonts/)
   ============================================================ */

/* 
 * HTML5 ✰ Boilerplate
 *
 * What follows is the result of much research on cross-browser styling. 
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 * /

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*
 * ==|== normalize ========================================================== 
 * /
/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0;  }

body, button, input, select, textarea { color:#434343; font-family: Verdana, Geneva, sans-serif; }

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #3399FF; color: #fff; text-shadow: none; }
::selection { background: #3399FF; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #463B35; }
a:visited { color: #463B35; }
a:hover { color: #463B35; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; text-decoration:none; }


/* =============================================================================
   Typography
   ========================================================================== */


b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9 
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

@font-face {
    font-family: 'EnglishScriptRegular';
    src: url('fonts/english_script-webfont.eot');
    src: url('fonts/english_script-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/english_script-webfont.woff') format('woff'),
         url('fonts/english_script-webfont.ttf') format('truetype'),
         url('fonts/english_script-webfont.svg#EnglishScriptRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}



h2,h3{color:#221b16;}
h2{font-size:18px; color:#857C68; font-family:"Times New Roman", Times, serif}
h3{font-size: 24px; font-family:"Times New Roman", Times, serif}

section h1,
section .h1,
body.index section h2{ text-shadow: 0 0 1px ;line-height: 1; color:#221b16; font-family: 'EnglishScriptRegular', "Times New Roman", Times, "Nimbus Roman No9 L", serif; font-size:60px; font-weight:normal; }

/* ==|== primary styles =====================================================
   Authors: Olga Zhivoglyad, Oleg Ivonin, Igor Zenich
   ========================================================================== */

html {background-color:#191716;}
body.index {  background: #191716 url(img/bg_body.png) 0 0 repeat-x; }
body.inner {  background: #191716 url(img/bg_body-inner.png) 0 0 repeat-x; }
#wrapper {width:1008px; margin:auto;  }

/**
* @section Header
*/
header {   position: relative; padding:0 17px 0 14px; }

/**
* @subsection Logo
*/
body.index .logo { width:267px; height:315px; position:absolute; }
.logo a, .logo span {
    background: url(img/logo.png) 0 0 no-repeat;
    display: block;
    height: 100%;
    left: 0;
    outline: medium none;
    position: absolute;
    text-indent: -900em;
    top: 0;
    width: 100%;
	font-size:0;
}
body.inner .logo { width:267px; height:257px; position:absolute; }
body.inner .logo a, body.inner .logo span { background: url(img/logo-inner.png) 0 0 no-repeat;}

/* slider */
#slider{float:right; overflow: hidden; width:712px; height:315px;}

body.inner #slider{float:right; width:712px; height:259px; overflow:hidden;}

/* nav */
nav{ clear:both; }
#nav{  overflow:hidden;}
#nav li{float:left;  text-transform: uppercase; width:122px;}
body.index  #nav li a{ padding:15px 23px 15px 22px;}
body.inner  #nav li a{ padding:13px 23px 14px 22px;}
#nav li a{ font-size:16px; text-align:center; display:block; text-decoration:none;font-family:"Times New Roman", Times, "Nimbus Roman No9 L",	serif; color:#fff; }
#nav li a:hover,
#nav li.active a{text-decoration:none;  background: url(img/bg-li-hover.png) 0 0 repeat-x;}
#nav li.active a{padding:14px 23px 14px 22px; }

/**
* @section Content
*/
body.index  #container{padding:0 18px 0 14px; background: url(img/bg_container_home.png) 0 0 repeat-y;}
#container{ padding:0 18px 0 14px; overflow: hidden; line-height: 24px;  }
body.index #content{float: left;  width: 690px; }
								
body.index .projects h2 {font-size: 35px; color:#221B16; line-height:normal; padding: 8px 0 0 29px; text-shadow: 0 0 1px; font-family: 'EnglishScriptRegular', "Times New Roman", Times, "Nimbus Roman No9 L", serif; }

body.index .txt-content {padding-top:11px; padding:22px 29px 22px 72px;}
.txt-content{ padding:25px 0 22px 70px; font-size:14px;  }
body.index .txt-content p{ padding-bottom: 25px;}

body.index  .projects{ clear:both; padding-bottom: 20px; overflow:hidden;background: #bbaa90 url(img/bg-product.png) 0 0 repeat-x;}
body.index  .projects ul{margin:12px 0 0 7px; padding-left:0; overflow:hidden; }
body.index  .projects ul li{ float:left; margin:0; margin:5px 4px 20px 20px; }
body.index  .projects ul li img{display:block; border:3px solid #fff; }
body.index  .projects ul li a{color:#463b35; font-size:12px;  padding-left: 10px; background:url(img/bull.png) 0 0.2em no-repeat; }
body.index  .projects ul li a:first-child{padding-left:0; background:none;}
body.index  .projects .all-projects{color:#e3dfd9; float:right; padding-left:12px; line-height:normal; margin-right: 26px; margin-top: 10px; font-size:11px;  background: url(img/bull-light.png) 0 3px no-repeat;}

 .news{  background-color:#463b35;}
#container .news h3{color: #FFFFFF; font-size: 23px; letter-spacing: 6px; text-align: center; text-transform: uppercase; padding:21px 0 22px;}
.news .article-news{position:relative; margin-top: 5px; padding: 0 27px; }
.news .article-news .article{margin-left:20px;}
.news .article-news .article:first-child{margin-left:0;}
.news .article{float:left; margin:0 0 0 27px; padding: 4px 16px 18px 34px; color:#fff;  width: 400px; background-color:#594c46;}
.news .article var{font-style:italic; font-size:11px; color:#dbd4bc;}
.news .article .header-new{font-size: 12px; font-weight: bold; line-height: 18px; padding-bottom: 5px;}
.news .article h1.header-new{color: #857C68; font-family: "Times New Roman",Times,serif; font-size: 18px; margin:10px 0 !important; padding:0; text-shadow:none; font-weight:normal; text-transform: uppercase;}
.news .article p{position: relative; line-height:normal; letter-spacing: -0.3px; font-size:11px; line-height: 14px;}
.news  a.more {float:right; margin:3px 2px 14px 0; text-decoration:none; color:#a4a4a4; font-size:11px; }
.news  a.more:hover{text-decoration:underline;}
.news .article p .more,
 .news .article a.more{position: absolute; bottom: 0; color:#ccc3af; font-size: 10px; font-style:italic; text-decoration:none; float:none;  margin:0; white-space: nowrap;}
.news p .more:hover,
body.inner .news .article a.more:hover{ text-decoration:underline;}
.follow{position:absolute; right: 40px; top: -9px; font-family:"Times New Roman", Times, serif; color:#221B16; font-size:1.625em;}

/**
* @section Aside
*/
aside{float:right; width:223px; line-height:17px; font-size:12px;  padding:0 29px 7px;}
body.index aside{ color:#2f2f2f;}
aside h3{ font-size:20px; }


body.index aside .entry-content{margin:32px 0 24px 0;  }
body.index aside .entry-content p{ text-align: justify;  padding: 10px 0;}
body.index aside .entry-content a.more{ text-decoration:underline; background:url(img/arrow.png ) 0 3px no-repeat; margin:  -2px 0 3px 0; display:block;  padding-left: 16px; color:#645b47; font-size:13px;}
body.index aside .entry-content a.more:hover{text-decoration:none;}

/**
* @section Footer
*/
footer { background-color: #28221e;  clear:both; overflow:hidden; }
.soc-link{overflow:hidden;  padding: 10px 10px; float:left;}
.icon-soc{ background: url(img/soc-icons.png) 0 0 no-repeat; width:28px; height:28px; margin-left:10px; text-indent:-999em; float:left;}
.facebook{background-position:0 0;}
.yelp{background-position:0 -42px;}
.instagram{background-position:0 -84px;}
/*.houzz{background:none; float:none;}*/

footer .inf-site{float:right; background-color:#221b16; font-size: 10px;padding: 12px 10px; }
address.vcard{ letter-spacing: -0.5px;   text-align:center; width: 343px;}
address.vcard,
address.vcard a{color:#cdc4b0;text-decoration:none;}
address.vcard a:hover{text-decoration:underline;}

.web-design {text-align:right;margin-right: 15px;}
.web-design a{ padding:0 0 5px 25px; text-decoration:none; color:#ac9990; background:url(img/web-design.png) 0 0 no-repeat;}
.web-design a:hover{text-decoration:underline;}
/**
* @page News
*/
body.inner  #container{background: url(img/bg_container.png) 0 0 repeat-y;}
body.news #content,
body.services #content{float: left; width:712px; }
body.news .txt-content{  padding-bottom:30px;}


body.news .news{background:none;}
body.news  .news .article{padding: 12px 23px 24px 33px; min-height:91px; margin:0; color:#463b35; background: #ede9e1 url(img/bg-item-news.png) 0 0 repeat-x;}
body.news .news .article var{color:#463b35;}
body.news .news .article.news-one var{font-weight:bold;}
body.news .news .article.news-one p{margin:1em 0;}

body.index .txt-content h2{ margin:0 0 25px -49px;}
body.inner h1{  margin-left:-32px; }
body.news  .news .article a.more{ float:right; color:#776860; line-height: normal;  position: relative;}
body.news  .news .article a.all-news{float: left; color:#776860; line-height: normal;  position: relative; font-size: 10px; font-style: italic; margin: 0; text-decoration: none; white-space: nowrap;}
body.news  .news .article a.all-news:hover{text-decoration:underline;}
body.news  .news .article {  color:#463b35; float:none; width:auto;}
body.news   h1{  margin-bottom: 26px;  margin-left: -40px}
body.news   .h1{  margin-bottom: 26px;  margin-left: -40px}

body.inner aside{ width:183px; padding-bottom:18px;}
body.news aside .entry-content,
body.news aside .design{padding:0 0 0 0;   background:#ede9e1 url(img/bg-aside-block.png) 0 0 repeat-x;}
body.inner aside  .sublock{ padding: 0 28px 22px;}
.bg-pic{ background:url(img/bg-pic.png) right 0 no-repeat;}



body.inner  aside h3 {margin-bottom: 31px; }
body.news  aside h3 {padding-bottom: 12px; margin:0; text-transform: uppercase; }
body.inner aside .entry-content ul{padding-left:0; margin:0; font-family: "Times New Roman",Times,serif;}
body.inner aside .entry-content li { margin:18px 0; padding-left: 25px; font-size:18px; background:url(img/arrow.png) no-repeat 1px 4px ;}
body.inner aside .entry-content li a{ font-size:18px; text-decoration:none;  }
body.inner aside .entry-content li a:hover{text-decoration:underline;}


/**
* @page Services
*/
body.services #container{ background: url(img/bg_container-services.png) 0 0 repeat-y;}
body.services #container .txt-service{margin:0 0 -4px 40px;}
body.inner .txt-content{line-height:19px; font-size:13px;}
body.services h1{margin:0 0 17px -39px;}
body.services .txt-content h2{color:#857c68; font-size:24px; margin: 25px 0 24px;}
body.services .txt-content h3{margin-top: 18px; color:#362007; font-size:18px;}

body.services .txt-content h3 strong {color:#C2A46B;}
body.services .txt-content {padding-top:27px;}
body.services .txt-content p{margin:16px 0; letter-spacing: -0.2px;}
body.services .txt-content img{margin:10px 0;}
body.services aside .entry-content ul { margin: 5px 0 0 -2px;}
body.services .txt-content  .txt-service p{ margin:10px 0 ;}

body.services aside .sublock,
body.news aside .sublock{padding:30px 0 14px 26px}
body.index aside .sublock{margin-top:31px;}
body.index aside .sublock:first-child{margin-top:0;}
body.services  .entry-content,
body.news aside .entry-content{margin: 0 -27px 0 -32px; }
/*body.services .design{ background:#ede9e1 url(img/bg-aside-block2.png) repeat-x 0 0 ;} */
body.services .installation {background:none ;}

body.services .provided{   margin:0 10px; color:#849171; font-size:16px; font-family: "Times New Roman",Times,serif;}
body.services .provided a{display:block;  font-size:18px; color:#849171;  }
body.services .provided a:hover{text-decoration:none; }
body.services .provided img{display:block;margin:5px 0;}
body.services .news {overflow:hidden; clear:both;}

/**
* @page Products
*/
body.products #container .tex-content{line-height:18px;}
body.products #content{width:auto;}
body.products .txt-content { padding: 25px 50px 22px 72px;}
	body.products h2 { margin:24px 0 10px;font-size:19px; color: #857c68; text-transform: uppercase;}
	body.products .first h2{color:#362007; font-size:19px; margin:24px 0 9px;}
	body.products h3{text-transform: uppercase;} 
	
	body.products .first h2:first-letter{font-size:24px;}
	body.products .txt-content p{margin:0 0 16px;}
	body.products .article-product .item-product{width:643px; margin:0 0 12px 95px; position:relative; }
	body.products .article-product .item-product span.more{ position:absolute; right:16px; text-transform:none;  bottom:10px; display:block; width:133px; height:30px; font-size:13px; font-family: "Times New Roman",Times,serif;  background:url(img/bg-more.png) 0 0 no-repeat;}
	body.products .article-product .item-product span.more a{  text-transform:uppercase; text-decoration:none;  display:block; padding: 6px 8px 6px 16px; background: url(img/arrow-two.png) 104px 9px no-repeat;  }
	.article-product .item-product.-bg_black img { background: #000; padding: 20px; }

	
/**
* @page Planning
*/	

body.planning .txt-content { padding: 25px 72px 22px 72px;}
body.planning  h1{margin-bottom:30px;}
.article-planning{padding: 20px 40px 22px 32px; clear:both; overflow:hidden; background: url(img/bg-article-planning.png) 0 0 repeat-x;}
.article-planning h2{color:#857c68; font-size:18px;}
.article-planning h2 a{color:#857c68; font-size:18px; text-decoration:none;}
.article-planning h2 a:hover{text-decoration:underline;}
.article-planning p{color:#434343;   margin: 10px 0; }
.article-planning a.more{ float:right;  text-transform: uppercase; font-size:13px; color:#645b47; text-decoration:none; font-family: "Times New Roman",Times,serif; }
.article-planning a.more:hover{text-decoration:underline;}
.arrow{padding-left:14px; background: url(img/arrow.png) no-repeat 0 4px; }
.icon-pdf{padding-left:21px; background: url(img/icon-pdf.png) no-repeat 0 2px ;}

/**
* @page Gallery
*/
body.gallery h1 {margin-bottom: 19px;}
body.gallery .txt-content {padding: 25px 72px 33px 72px;}
body.gallery .txt-content p{margin:15px 0 15px;}

body.gallery .projects ul { margin:0 -30px 0 -7px; overflow: hidden;  padding-left: 0;}
body.gallery .txt-content ul li{float:left; margin:12px 22px 5px 0;}
body.gallery ul li img{display:block; width:253px; height:157px;}
body.gallery .txt-content ul li a {padding-left: 10px; margin-left:3px; background: url(img/bull.png) no-repeat  0 0.2em ;  color: #463B35; font-size: 12px;}

body.gallery  .projects ul li a.bdr-img{ display:block; margin:0; padding: 7px;  background: url(img/bdr-img.png) 0 0 no-repeat;} 

body.gallery .sample h2 {font-size: 60px; color:#221B16; line-height:normal; padding: 8px 0 0 29px; text-shadow: 0 0 1px; font-family: 'EnglishScriptRegular', "Times New Roman", Times, "Nimbus Roman No9 L", serif; }
body.gallery  .sample{ clear:both; padding-bottom: 20px; overflow:hidden;background: #ffffff;}
body.gallery  .sample ul{margin:0 0 10px 7px; padding-left:0; overflow:hidden; }
body.gallery  .sample ul li{ float:left; margin:0; margin:5px 4px 0 21px; }
body.gallery  .sample ul li img{display:block; border:3px solid #fff; }
body.gallery  .sample ul li a{color:#463b35; font-size:12px;  padding-left: 10px; background:url(img/bull.png) 0 0.2em no-repeat; }
body.gallery  .sample ul li a:first-child{padding-left:0; background:none;}

/**
* @page Staff
*/
body.staff .txt-content{ padding: 25px 70px 50px 72px;}
body.staff  h1 { margin-bottom: 22px;}
.item-staff{padding: 28px 38px 29px;  overflow:hidden; background: #ede9e1 url(img/bg-item-staff.png) 0 0 repeat-x; }
.photo-staff { padding: 7px; margin:0 28px 0 0; float:left; background:url(img/bdr-staff.png) 0 0 no-repeat; max-width: 134px;}
.photo-staff img { display: block; width: 100%;}
.inf-staff{overflow:hidden; text-align: justify; line-height:23px;}
.inf-staff h2{}
.inf-staff h3{margin-bottom:18px; font-size: 15px; line-height: 1;color: #857C68; font-weight:normal;  font-family: Verdana,Geneva,sans-serif; text-transform:uppercase;}

/**
* @page Contact
*/

.txt-content input[type="text"],
.txt-content textarea { padding: 7px 14px; width:614px; border:1px solid #d9d3c7; color:#434343;}

.txt-content input[type="submit"],
.txt-content input[type="button"]{ padding: 7px 15px; color:#fff; border:1px solid #594c46; background-color:#594c46; text-transform: uppercase; }


body.contact .txt-content{padding:27px 70px 22px 70px;}
body.contact  h1 {margin-left: -40px;  margin-bottom: 16px;}

.hd-form{display:block; margin:0 0 15px 0;}
.contact-form{padding:18px 92px 20px 96px; margin: 24px 0 25px 0;  border:1px solid #d9d3c7;  background:#ede9e1 url(img/bg-form.png) 0 0 repeat-x;}
.contact-form  label{margin:12px 0; display:block; overflow:hidden;   }

.contact-form    input[type="button"],
.contact-form    input[type="submit"]{ float:right; margin: 3px 0 0;}
body.contact .contact-form  textarea {height:120px;}

form.contact-form div#notice,
form.contact-form div#error { font-size:12px; background-color: #fff; font-weight: bold; margin-bottom: 10px;  padding: 10px;}
ul.error_list {margin: -10px 0 0; padding:0; color:#d9d3c7; font-size:10px; font-family: Arial,Helvetica,sans-serif;}


/* --- info-contact --- */
body.contact  .info-contact{margin:30px 0 0 0;}
body.contact  .info-contact ul{ overflow:hidden; margin:0 0 0 -3px; padding:0 0 0 5px;}

body.contact  .info-contact ul li{float:left; margin:0 0 0 0; padding:0;}
body.contact  .info-contact ul li.vcard{ margin-right:47px;}
body.contact  .info-contact ul li.design-competition{margin-right:33px;}
body.contact  .info-contact ul li.soc-block{margin-top:-14px;}

body.contact  .info-contact ul li.vcard{width:204px;}
body.contact  .info-contact ul li.vcard .fn{margin-left:-2px;}
body.contact  .info-contact ul li .fn{display:block;}
body.contact  .info-contact ul li.design-competition{width:242px;}
body.contact  .info-contact ul li .soc a{text-decoration:none; outline: none;}
body.contact .vcard .adr,
body.contact .vcard .tel { overflow:hidden;font-size:14px; line-height:18px; }
body.contact .vcard .adr{margin:16px 0 0 0; }
body.contact .info-contact  .fn{font-size:22px; margin:0 0 25px; color:#362007; font-family: "Times New Roman",Times,serif}

body.contact .vcard .tel{font-size:16px; margin:12px 0 9px;}
body.contact .vcard .tel .type{ float:left; width:60px;font-weight:bold; font-size:14px;}
body.contact .vcard .time-work{display: block; font-size: 14px; margin: 12px 0;}
body.contact .vcard .time-work .time{display:block; margin:0; font-style: italic; word-spacing: 4px;}

body.contact .info-contact .design-competition{ font-size:14px; line-height:18px;}
body.contact .info-contact .design-competition p{margin:22px 0; text-transform: capitalize;}

.soc-block .soc{width:305px;  padding: 14px 0; margin:15px 0; background:#ede9e1 url(img/bg-soc-block.png) 0 0 repeat-x; border:1px solid #d9d3c7;}
.soc-block .soc span{ display:block;font-size:18px; color:#594c46;font-family: "Times New Roman",Times,serif; font-weight:bold;}
.soc-block .soc span.hd{ font-size:30px; margin: 0 0 10px; }
.soc-block .soc  span.txt-soc{text-transform:uppercase; font-weight:normal; color:#463b35; font-size:16px; font-family: Verdana,Geneva,sans-serif;}

.soc-block .soc .soc-inner{ padding:7px 0 4px 142px;background: url(img/soc-icons-big.png) 0 0 no-repeat;}
.soc-block  .block-facebook .soc-inner {background-position:18px 0;}
.soc-block  .block-yelp .soc-inner {background-position:18px -100px; padding: 6px 0 12px 146px;}
.soc-block  .block-yelp .soc-inner span{display:block; margin-left:-16px; text-transform:uppercase; margin-top:4px;}
.soc-block  .block-yelp .soc-inner span.txt-soc{margin-left:0;}


/*
** section video-box
*/
body.index aside .video-box {margin-bottom: 14px;}  
.video-box .video-link {overflow:hidden; position:relative; display:block; border: 3px solid #b9a991; box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);}  
.video-box .video-link .start-video{position:absolute; top:26px; left:76px; display:block; width:72px; height:72px; background:url(img/start-video.png) 0 0 no-repeat;}
.videoplayer {display:none; width:500px; height:300px;}


/**
* @subsection Contact-block
*/
.contact-block {width:204px; padding-left: 6px;}
.contact-block .fn {display:block; font-size:22px; margin:0 0 25px 2px; color:#362007; font-family: "Times New Roman",Times,serif;}
.contact-block .adr, .contact-block .tel { overflow:hidden;font-size:14px; line-height:18px; }
  .contact-block .adr {margin:16px 0 0 0;}
  .contact-block .tel {font-size:16px; margin:12px 0 9px;}
  
  .contact-block .tel .type {float:left; width:60px;font-weight:bold; font-size:14px;}
  .contact-block .time-work {display: block; font-size: 14px; margin: 12px 0;}
  .contact-block .time-work .time {display:block; margin:0; font-style: italic; word-spacing: 4px;}

.response-message {
  font-weight: 700;
  font-size: 15px;
}

/*

Simple and fancy lightbox alternative
 
 */

/*! fancyBox v2.0.6 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-tmp iframe, .fancybox-tmp object {
	vertical-align: top;
	padding: 0;
	margin: 0;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	padding: 0;
	margin: 0;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	padding: 0;
	margin: 0;
	position: relative;
	outline: none;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 10px;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	padding: 0;
	margin: 0;
	vertical-align: top;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('img/fancybox/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8020;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('img/fancybox/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	background: transparent url('blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 20px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 20px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -9999px;
	left: -9999px;
	padding: 0;
	overflow: visible;
	visibility: hidden;
}

/* Overlay helper */

#fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: #000;
}

#fancybox-overlay.overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8030;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	margin-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}
.entry-content {margin: 1em 0;}

.entry-content {margin: 1em 0;}

/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */

}

@media only screen and (min-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */

}



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}

/* ============================================================
   WordPress integration helpers
   ============================================================ */
/* Map WordPress current-menu classes onto the original .active style */
#nav li.current-menu-item a,
#nav li.current_page_item a,
#nav li.current-menu-parent a,
#nav li.current-page-ancestor a{
    text-decoration:none;
    background: url(img/bg-li-hover.png) 0 0 repeat-x;
    padding:14px 23px 14px 22px;
}
body.inner #nav li.current-menu-item a,
body.inner #nav li.current_page_item a{ padding:13px 23px 14px 22px; }

/* Core WordPress alignment / caption classes for the_content() */
.aligncenter{ display:block; margin:0 auto; }
.alignright{ float:right; margin:0 0 1em 1em; }
.alignleft{ float:left; margin:0 1em 1em 0; }
.wp-caption{ max-width:100%; }
.wp-caption img{ max-width:100%; height:auto; }
.wp-caption-text{ font-size:11px; font-style:italic; }
.screen-reader-text{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); }
.txt-content img{ max-width:100%; height:auto; }

/* Pagination for archive */
.news-pagination{ clear:both; overflow:hidden; padding:20px 0; text-align:center; }
.news-pagination .page-numbers{ display:inline-block; padding:4px 10px; margin:0 2px; color:#463b35; text-decoration:none; border:1px solid #d9d3c7; background:#ede9e1; }
.news-pagination .page-numbers.current{ background:#594c46; color:#fff; border-color:#594c46; }
