/* @group HTML5 ��������� Boilerplate 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */

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

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background: #eee; color: #333; text-shadow: none; }
::selection { background: #eee; color: #333; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: 0; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
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; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
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%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
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; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
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; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

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

/* @end */

/* @group Primary 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* bg color */
body { background-color: #fff; font-size: 15px; }

/* fore color */
body, a, a:visited, a:hover, a:focus { color: #252525; }
nav .disabled, .page-pre-title, .page-pre-title a { color: #bbb; }
.cta:visited { color: #fff; }

/* text decoration */
header a, .footer-nav a, .item a, .blog-entry h2 a, .select-list a, .footer-main-main a, .latest.cta { text-decoration: none; }
.item a:hover, header .mini-cart a:hover, .blog-entry h2 a:hover, .footer-main-main a:hover { text-decoration: underline; }

/* family */
#search-text, body, #purchase, #submit, .cta, .form .text-input { font-family: adobe-garamond-pro, georgia, serif; font-weight: 400; }

/* weights */
h1, h2, h3, h4 { font-weight: normal; }

/* transitions */
.blah a { -webkit-transition: color 0.8s linear; -moz-transition: opacity 0.8s color; -o-transition: color 0.8s linear }

/* borders */
nav a { border-bottom: 3px solid #fff; }
nav a:hover, .header-main nav a.active { border-bottom: 3px solid #252525; }

#page { border: 20px solid #252525; }
#page-inner { max-width: 1660px; padding: 50px; position: relative; }

.col-2 { width: 340px; float: left; margin-right: 20px; }
.col-x { float: left; }

header { padding-left: 360px; position: relative; }

#main, .footer-main { width: 100%; float: left; }
#main-side, .footer-side { width: 340px; margin-left: -100%; float: left; }
#main-main, .footer-main-main { margin-left: 360px; position: relative; }

#main .main-side img { display: block; margin-bottom: 20px; }
#main .item { float: left; margin-right: 20px; margin-bottom: 20px; width: 160px; }
#main .item img { display: block; }
#main .item p { text-align: center; }

#main { margin-bottom: 30px; background: url(main-sep.png?201212151021) repeat-y left top; }

#main-side img { margin-bottom: 20px; }

/* @end */

/* @group Header
------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
header { margin-bottom: 65px; position: relative; }
.header-side { position: absolute; left: 0; top: 0; }
header h1 { margin: 0; margin-bottom: 46px; }
.header-side nav a { display: block; margin-right: 20px; float: left; padding-bottom: 2px; }
.header-side h1 a { background: url(aptmnt-logo.png?) no-repeat left top; display: block; width: 159px; height: 19px; text-indent: -9999px; }

.header-main nav { padding-top: 0px; font-size: 1.5em; line-height: 100%; margin-bottom: 29px; }
.header-main nav a { display: block; margin-right: 20px; float: left; padding-bottom: 2px; }

.sub-nav { position: relative; }
.sub-nav .select-box-wrap { width: 160px; float: left;  margin-right: 20px; position: relative; margin-bottom: 20px; }
.sub-nav a.select-box, .sub-nav a.search-box  { border: 1px solid #dddddd; border-radius: 3px; display: block; padding: 6px; }
.sub-nav a.select-box { background: url(bg-droparrow-down.png?) no-repeat right center; }
.sub-nav a.search-box { }

.sub-nav a.select-box.active, .select-box-wrap li a:hover, .select-list li a:hover, .select-box.active { background-color: #eee; }

.select-box-wrap ul, .select-list { position: absolute; left: 10px; top: 40px; background: #fff; z-index: 9999; margin: 0; padding: 0; width: auto; border: 1px solid #ddd; border-radius: 3px;
	-webkit-box-shadow: 1px 1px 8px 0px rgba(0, 0, 0, .1);
	-moz-box-shadow: 1px 1px 8px 0px rgba(0, 0, 0, .1);
	box-shadow: 1px 1px 8px 0px rgba(0, 0, 0, .1);
}
.select-box-wrap li, .select-list li { margin: 0; padding: 0; border-bottom: 1px solid #ddd; list-style-type: none; }
.select-box-wrap li.last, .select-list li.last { border-bottom: none; }
.select-box-wrap li a, .select-list li a, .select-list li span { display: block; padding: 6px; white-space: nowrap; padding-right: 12px; min-width: 140px; }

.select-box-wrap #search-text { position: absolute; left: 6px; top: 6px; border: none; background: #fff; width: 127px; height: 16px; padding: 3px 0; }
.select-box-wrap #search-submit { position: absolute; right: 1px; top: 10px; border: none; }

.mini-cart { width: 160px; float: left; padding-top: 6px; width: 200px }

#social { width: 140px; height: 20px; position: absolute; right: 50px; top: 20px; }

.page-pre-title { position: absolute; left: 0; top: -45px; margin: 0; text-transform: uppercase; font-size: 100%; }
/* @end */

/* @group Products
------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */

.product-thumb {
  position: relative;
  display: block;
  /*
  width: 160px;
  height: 160px;
  */
}

.sale-tag, .sold-tag {
  position: absolute;
  right: 0;
  top: 0;
}

#product { max-width: 520px; }
#product-images { max-width: 520px; /* height: 520px; */ margin-bottom: 10px; position: relative; }
#product-images .slides { margin-bottom: 20px; }
/* .product-image img, #product-image a { display: block; width: 520px; height: 520px; position: absolute; left: 0; top: 0 } */
.product-image img, #product-image a { display: block; width: 100%; }
.page-title { margin-top: 0; }
.slides { margin: 0; padding: 0; }
.slides .slide { margin: 0; padding: 0; }

#product-thumbs { margin-bottom: 10px; }
#product-thumbs a { display: block; float: left; width: 50px; height: 50px; margin-right: 10px; margin-bottom: 10px; }
#product-thumbs img { display: block; width: 50px; height: 50px; }

#product-variants { float: left; position: relative; }
.product-options #purchase, .product-options .current-price { float: right; }

#product-price { float: left; line-height: 32px; padding-left: 15px; }
#product-price.product-nosizes { padding-left: 0px; }

#product-variants .select-box { width: 200px; border: 1px solid #dddddd; border-radius: 3px; display: block; padding: 6px;  background-image: url(bg-droparrow-down.png?); background-repeat: no-repeat; background-position: right center; }
.select-list li a, .select-list li span { min-width: 200px; }
.select-list li.sold-out span { background: url(bg-mesh.gif); }

.add-to-cart { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; padding: 16px 0; }

#purchase, .cta { background: #222; color: #fff; border: none; border-radius: 5px; padding: 6px 10px; }

.product-offline { float: left; width: 100%; padding-top: 15px; }

.form {  }
.form label { display: block; margin-bottom: 3px; }
.form .text-input { margin-bottom: 15px; width: 200px; border: 1px solid #dddddd; border-radius: 3px; display: block; padding: 6px; }
.form .text-input.qty { width: 20px; }
.form .text-input.instructions { width: 93%; }

.content-page strong { font-weight: bold; text-transform: uppercase; font-size: 83%; }
.contact-form-wrap { border-top: 1px solid #dddddd; }

.content-page { max-width: 700px; }
.content-page table th, .content-page table td, .product-description th, .product-description td { border: 1px dotted #ddd; padding: 8px; }
.content-page table th, .product-description th { font-weight: normal; text-align: left; }

.cart-table { width: 96%; }
#complete { padding-top: 20px; }

.cart-total { font-size: 140%; margin-bottom: 20px; }
.additional-checkout-buttons { padding: 10px 0; }

.sale-strike { text-decoration: line-through; }
.sale-price { color: #508f35; }

.latest.cta { font-size: 130%; }

/* @end */

/* @group Paginate
------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */

#pagination a, #pagination span {
  border: 1px solid #BFBFBF;
  margin: 2px;
  padding: 3px 5px;
  text-decoration: none;
  float: left;
  display: block;
}
#pagination a:hover { border: 1px solid #333; }
#pagination ul { margin: 0; padding: 0; }
#pagination li { list-style-type: none; margin: 0; padding: 0 }
#pagination .current { font-weight: bold; border: 1px solid #333; }

/* @end */

/* @group Footer
------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
footer { padding-top: 30px; border-top: 1px solid #222; }
.footer-main .col { width: 160px; float: left; margin-right: 20px; padding-bottom: 20px; }
.footer-main p { margin: 0; margin-bottom: 18px; }
/* @end */


/* @group Non-semantic helper classes 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */

.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; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }

/* @end */

/* @group Media queries 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */

/* iPhone 4 and lower */
@media only screen and (max-width: 1024px) {
	#page-inner { padding: 40px; }
	header { padding-left: 0px; }
	header h1 { margin-bottom: 26px; }
	.header-side { position: relative; }
	.header-side nav { margin-bottom: 26px; }
	.header-side nav a { margin-right: 5%; width: 40%; }
	
	#main { background: none; }
	#main-main { }
	#main, .footer-main { float: none; }
	#main-main, .footer-main-main { margin-left: 0px; }
	#main-side, .footer-side { margin-left: 0; float: none; width: auto; height: auto; }
	.footer-side { padding-bottom: 30px; }
	#main-side img { max-width: 100%; }
	#main-side { border: 1px solid #fff; border-top: 1px solid #222222; padding-top: 30px; }
	
	#main .item { margin-bottom: 20px; margin-right: 20px; width: 80px; }
	#main .item img { max-width: 100%; height: auto; }
	
	.footer-side img { max-width: 100%; }
	
	.footer-main .col { }
	.footer-main .col.brand-col-a { padding-bottom: 0px; }
	.brand-col-b h3 { display: none; }
	#items {  }
	
	#social { top: auto; bottom: 20px; }
	.title-help { margin-top: 40px; }

  .sale-tag img{
    width: 30px; height: 30px;
  }
	
	.content-page table th, .content-page table td, .product-description th, .product-description td { padding: 2px; font-size: 9px; }
	
	#product-variants { width: 100%; float: none; margin-bottom: 10px; }
	#product-variants .select-box { width: 148px; }
	.select-list li a, .select-list li span { min-width: 160px; }
	
	.form .text-input { width: 90%; }
}

@media only screen and (max-width: 1024px) and (orientation:landscape) { 
	.header-side nav a { margin-right: 20px; width: auto; }
	#main .item { margin-bottom: 20px; margin-right: 20px; width: 98px; }
	#main-side, .footer-side { margin-left: 0; float: none; width: auto; height: auto; }
	#main-side img { max-width: 45%; margin-right: 5%; float: left; }
	.content-page table th, .content-page table td, .product-description th, .product-description td { padding: 5px; font-size: 11px; }
	.brand-col-b h3 { display: block; }
	.form .text-input { width: 45%; }
}

@media screen and (max-width: 768px) {
	.footer-main .col { float: none; clear: none; width: 45%; margin-right: 5%; }
	.brand-col-b h3 { display: block; }
}

@media screen and (max-width: 640px) {
	.footer-main .col { float: none; clear: both; width: 90%; margin-right: 5%; }
	.brand-col-b h3 { display: none; }
}

@media all and (-webkit-min-device-pixel-ratio: 2) {
	.header-side h1 a { background-image: url(aptmnt-logo-2x.png?); background-size: 159px 19px; }
}

/* @end */

/* @group Print styles 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  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: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  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; }
}

/* @end */
