/* Fonts */
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Slab Regular'), local('RobotoSlab-Regular'), url(https://themes.googleusercontent.com/static/fonts/robotoslab/v2/y7lebkjgREBJK96VQi37ZrrIa-7acMAeDBVuclsi6Gc.woff) format('woff');
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Slab Bold'), local('RobotoSlab-Bold'), url(https://themes.googleusercontent.com/static/fonts/robotoslab/v2/dazS1PrQQuCxC3iOAJFEJRbnBKKEOwRKgsHDreGcocg.woff) format('woff');
}
/* Clearfix */
.cf:before,
.cf:after,
.container:before,
.container:after,
footer:before,
footer:after,
.gallery ul:before,
.gallery ul:after {
    content: " ";
    display: table;
}
.cf:after,
.container:after,
footer:after,
.gallery ul:after {
    clear: both;
}
.cf,
.container,
footer,
.gallery ul {
    *zoom: 1;
}

/* Global Styles */
body {
	font: 0.8em/1.5em 'Roboto Slab', Times, 'Times New Roman', serif;
	color: #363636;
	width: 800px;
	margin: 0 auto 0 auto;
}
.container {
	margin-top: 100px;
	border-bottom: 1px solid #EEEDE9;
}
header {
	float: left;
	width: 280px;
	padding: 36px 0 0 0;
	text-align: center;
	min-height: 505px;
}
.right {
	float: right;
	width: 500px;
}
footer {
	border-top: 1px solid #DEDBD3;
	padding: 20px 0 10px 20px;
}
ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
a {
	color: #363636;
}
h1 {
	margin: 0;
}

/* Left / Navigation Styles */
h1 a {
	display: block;
}
h2 {
	font-size: 1.285714286em;
	font-weight: bold;
	line-height: 1em;
}
nav {
	margin-top: 27px;
	margin-bottom: 60px;
}
nav a {
	font-weight: bold;
	color: #CDC9BD;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.857142857em;
	line-height: 3em;
	letter-spacing: 0.2em;
	display: block;
	transition: color 0.1s;
}
nav a:hover,
.trays nav .trays a,
.leathers nav .leathers a,
.handle-finishes nav .handle-finishes a,
.wood-finishes nav .wood-finishes a,
.press nav .press a,
.contact nav .contact a {
	transition: color 0.1s;
	color: #363636;
}

/* Page content styles */
section h2 {
	margin: 1em 43px;

	margin-top: 56px;
}
section p,
section .gallery,
section form {
	margin: 0 43px;

	margin: 1.5em 43px;
}
section > img {
	display: block;
	min-height: 227px;
}

section {
	margin-bottom: 65px;
}

/* Gallery */
.gallery h2 {
	margin-top: 64px;
}
.gallery ul {
	margin: 0 31px 0 43px;
	font-size: 0.714285714em;
	font-weight: bold;
}
.gallery li {
	float: left;
	margin: 0 11px 11px 0;
}
.gallery label {
	display: block;
	height: 26px;
}
.gallery a {
	color: #363636;
	text-decoration: none;
}

.gallery ul a img {
	width: 131px;
	height: 122px;
	transition: opacity 0.1s;
}
.gallery ul a:hover img {
	opacity: 0.4;
	transition: opacity 0.1s;
}

/* Contact Content */
form label {
	display: block;
	line-height: 2em;
}
form label:before {
	content: '';
	display: block;
	float: left;
	width: 2px;
	height: 1px;
}
form input,
form textarea {
	display: block;
	border: 0;
	margin: 0;
	padding: 5px;
	width: 404px;
	background: #F5F4F2;
	margin-bottom: 5px;
}
form input {
	height: 20px;
}
form textarea {
	height: 110px;
	resize: vertical;
}
form button {
	background: #CDC9BD;
	color: #FFF;
	border-top: 1px solid #FFFFFF;
	border-left: 1px solid #FFFFFF;
	border-bottom: 1px solid #51331B;
	border-right: 1px solid #51331B;
	padding: 2px 15px 3px;
	margin: 0;
	float: left;
}
.error-messages {
	float: right;
	margin: 0;
}
.success-msg,
.error-msg {
	margin: 1em 0;
}
.success-msg {
	color: #208820;
}
.error-msg {
	color: #AA1010;
}

/* Footer Content */
footer p {
	float: left;
	font-size: 0.714285714em;
	color: #DEDEDE;
	margin: 0;
	line-height: 2.6em;
}
footer a {
	color: #DEDEDE;
	text-decoration: none;
}
footer .social-icons {
	float: right;
}
footer .social-icons a {
	opacity: 0.55;
	display: block;
	float: left;
	width: 27px;
	height: 26px;
	background: url('/assets/images/ui/sprite.png') no-repeat;
}
footer .social-icons a span {
	display: none;
}
footer .social-icons a:hover {
	opacity: 1;
}
footer .social-icons .facebook {
	background-position: -117px 0;
}
footer .social-icons .pinterest {
	background-position: -90px 0;
	margin-left: 6px;
}

/* splash */
.splash .container {
	border-bottom: 0;
	/*margin-top: 43px;*/
	margin-bottom: 47px;
	font-family: Georgia, Times, "Times New Roman", serif;
	font-size: 12px;
}

.splash .buurman-interiors,
.splash .buurman-workshop {
	float: left;
	height: 503px;
	padding: 93px 47px 0 48px;
}

.splash .buurman-interiors {
	border-right: 1px solid #E8E6E1;
}

.splash .buurman-interiors a,
.splash .buurman-workshop a {
	color: #CDC9BC;
	text-decoration: none;
	display: block;
}
.splash .buurman-interiors img,
.splash .buurman-workshop img {
	width: 304px;
	height: 255px;
}

.splash .buurman-interiors a img,
.splash .buurman-workshop a img {
	-webkit-transition: opacity 0.1s;
	-moz-transition: opacity 0.1s;
	transition: opacity 0.1s;
	opacity: 1;
}

.splash .buurman-interiors a:hover img,
.splash .buurman-workshop a:hover img {
	-webkit-transition: opacity 0.1s;
	-moz-transition: opacity 0.1s;
	transition: opacity 0.1s;
	opacity: 0.7;
}

.splash .buurman-workshop {
	padding-left: 48px;
}

.splash .buurman-interiors p,
.splash .buurman-workshop p {
	margin: 0;
	padding: 32px 0;
	text-align: center;
}

/* home */
body.home {
	width: auto;
	margin: auto;
}
.home header {
	z-index: 1000;
	position: relative;
	background-color: rgba(255, 255, 255, 0.9);
	width: 280px;
	padding: 36px 0 0 0;
	text-align: center;
	position: relative;
	top: 0;
	left: 50%;
	margin-left: -400px;
}
.home .right {
	float: none;
	width: auto;
}
.home .container {
	width: 100%;
	max-width: 3100px;
	position: relative;
	margin: 100px auto 0 auto;
	border: none;
}
.footer-top-border {
	width: 820px;
	height: 0;
	margin: 0 auto;
	border-bottom: 1px solid #EEEDE9;;
}
.home footer {
	width: 800px;
	margin: 0 auto;
}
.home-content {
	width: 100%;
	max-width: 3100px;
	height: 505px;
	top: 0;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}
.slideshow-container {
	position: relative;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	overflow: hidden;
}
.slideshow-container img {
	width: 1000px;
	height: 505px;
	padding: 0 25px;
}
.cycle-next,
.cycle-prev {
	position: absolute;
	width: 13px;
	height: 29px;
	top: 50%;
	margin-top: -15px;
	z-index: 1000;
}
.cycle-next span,
.cycle-prev span {
	display: none;
}
.cycle-next {
	right: 50%;
	margin-right: -476px;
	background: url('/assets/images/ui/arrow-right.png') no-repeat;
}
.cycle-prev {
	left: 50%;
	margin-left: -476px;
	background: url('/assets/images/ui/arrow-left.png') no-repeat;
}


/*
    Colorbox Core Style:
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}


#cboxOverlay{background:#fff;}
#colorbox{outline:0;}
	#cboxContent{margin-top:20px; overflow:visible; margin-bottom: 100px; margin-left: 25px; margin-right: 25px;}
		.cboxIframe{background:#fff;}
		#cboxError{padding:50px;}
		#cboxLoadedContent{box-shadow: inset 0 0 5px 5px #FFF;}
		#cboxLoadingGraphic{background:url('/assets/images/ui/loading.gif') no-repeat center center;}
		#cboxLoadingOverlay{}
		#cboxTitle{position: absolute; top: 468px; bottom: -80px; left: 0; height: 75px;}
		/*#cboxTitle{position: relative; left: 0; height: 80px;}*/
		#cboxCurrent{position:absolute; top:-22px; left:0;}

		/* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
		#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; position:absolute;}
		#cboxSlideshow, #cboxClose {top: -20px;}
		#cboxClose {right: 0; font-family: 'Roboto Slab', Times, 'Times New Roman', serif; font-size: 1em; background: transparent;}
		#cboxClose span {display: inline-block; width: 12px; height: 12px; background:url('/assets/images/ui/sprite.png') no-repeat -140px -26px; vertical-align: middle; }
		#cboxPrevious, #cboxNext, #cboxSlideshow {text-indent:-9999px;}

		/* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
		#cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

		#cboxTitle {
			font-size: 0.857142857em;
			line-height: 1.5em;
			width: 349px;
			padding-right: 25px;
			border-right: 1px solid #D9D6CD;
		}
		#cboxTitle h3 {
			margin: 0;
			font-size: 1.166666667em;
			line-height: 1.5em;
		}
		#pricing-and-details {
			position: absolute; top: 468px; bottom: -80px; right: 0; height: 75px;
			width: 159px;
			padding: 0 0 0 25px;
			border-left: 1px solid #F3F2EF;
		}
		#pricing-and-details p {
			margin: 0;
			font-size: 0.857142857em;
		}
		#pricing-and-details .contact {
			color: #FFF;
			display: block;
			width: 90px;
			height: 32px;
			text-decoration: none;
			text-align: center;
			line-height: 32px;
			background: url('/assets/images/ui/sprite.png') no-repeat 0 -32px;
		}
		#pricing-and-details .contact:hover {
			background-position: 0 0;
		}
		#cboxPrevious,
		#cboxNext {
			width: 25px;
			height: 40px;
			top: 50%;
			margin-top: -20px;
			background: url('/assets/images/ui/sprite.png') no-repeat;
		}
		#cboxPrevious {
			left: -25px;
			background-position: -90px -26px;
		}
		#cboxNext {
			right: -25px;
			background-position: -115px -26px;
		}


#menu {
  display: none;
  position: absolute;
  right: 30px;
  top: 30px;
  padding: 6px 0;
}
#menu span, #menu span:before, #menu span:after {
  background: #CDC9BD;
}
#menu span {
  display: block;
  font-size: 0;
  height: 3px;
  width: 21px;
  position: relative;
}
#menu span:before, #menu span:after {
  position: absolute;
  left: 0;
  content: " ";
  width: 100%;
  height: 100%;
}
#menu span:before {
  -webkit-transform: translateY(-6px);
      -ms-transform: translateY(-6px);
          transform: translateY(-6px);
}
#menu span:after {
  -webkit-transform: translateY(6px);
      -ms-transform: translateY(6px);
          transform: translateY(6px);
}

body.ui-menu-open  {
   height: 100%;
   overflow: hidden;
}

.ui-menu-open #menu {
  right: 26px;
  top: 18px;
}

.ui-menu-open #menu span {
  border: 3px solid #CDC9BD;
  border-radius: 50%;
  height: 24px;
  width: 24px;
  background: transparent;
}
.ui-menu-open #menu span:before,
.ui-menu-open #menu span:after {
  content: " ";
  background: #CDC9BD;
  width: 4px;
  height: 12px;
  left: 50%;
  top: 50%;
}
.ui-menu-open #menu span:before {
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
      -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
          transform: translateX(-50%) translateY(-50%) rotate(45deg);
}
.ui-menu-open #menu span:after {
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
      -ms-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
          transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}
.ui-menu-open header,
body.ui-menu-open:not(.home) header {
  height: 100%;
  overflow-y: auto;
  overflow-y: scroll;
  position: fixed;
  width: 100%;
}
header,
.ui-menu-open header {
  -webkit-transition: height 500ms cubic-bezier(0.65, 0.05, 0.36, 1);
          transition: height 500ms cubic-bezier(0.65, 0.05, 0.36, 1);
}

.ui-menu-open nav {
  display: block;
}
.ui-menu-open .container {
  padding-top: 192px;
}
@media (max-width: 1000px) {
  .slideshow-container {
    height: auto;
  }
  .cycle-carousel-wrap {
    width: 100%;
  }
  .slideshow-container img {
    width: 100%;
    height: auto;
    padding: 0;
  }
  .home header {
    position: absolute;
    margin-left: -160px;
  }
  .cycle-next {
    right: 0;
    margin-right: 8px;
  }
  .cycle-prev {
    left: 0;
    margin-left: 8px;
  }
}
@media (max-width: 820px) {
  .home .footer-top-border {
  	width: 100%;
  }
}
@media (max-width: 800px) {
  .home footer {
    width: 100%;
  }
}
@media (max-width: 799px) {
  body:not(.home) {
    width: auto;
  }
  body:not(.home) header {
    float: none;
    padding: 0;
    width: 100%;
    overflow: hidden;
    height: 192px;
    position: absolute;
    z-index: 500;
    background: white;
    min-height: auto;
  }
  body:not(.home) header h1 {
    margin-top: 20px;
  }
  body:not(.home) header h1 a {
    width: 88px;
    margin: 0 auto;
  }
  body:not(.home) nav {
    /*display: none;*/
    margin: 0;
    padding-top: 18px;
  }
  body:not(.home):not(.splash) .container {
    margin-top: 0;
    padding-top: 192px;
  }
  body:not(.home) .right {
    float: none;
    margin: 0 auto;
  }
  body:not(.home) #menu {
    display: block;
  }
  .splash {
    padding: 0;
    margin-top: 50px;
    text-align: center;
  }

  .splash .container {
    width: 304px;
    margin: 0 auto;
    padding-top: 0;
  }

  .splash .buurman-interiors,
  .splash .buurman-workshop {
    float: none;
    margin: 0 auto;
    padding: 0 0 45px 0 !important;
    clear: none !important;
    border-right: none !important;
    border-bottom: 1px solid #e8e6e1;
    height: auto;
  }
  .splash .buurman-workshop {
    padding: 45px 0 0 0 !important;
    border-bottom: none;
  }

  footer {
    padding-left: 0;
  }
  footer p {
    padding: 0 10px;
  }
  footer .social-icons {
    padding: 0 10px;
  }
}

@media (max-width: 645px) {
  .lightbox {
    width: 100%;
  }
  .lightbox .slide {
    width: 100%;
    box-sizing: border-box;
    padding: 0 25px;
  }
  .lightbox .slide img {
    display: block;
    width: 100%;
  }
  .lightbox .next {
    right: 0;
  }
  .lightbox .prev {
    left: 0;
  }
  .lightbox .next,
  .lightbox .prev {
    z-index: 1000;
    /*margin-top: -55px;*/
  }
  .lightbox .close {
    right: 25px;
  }
  .lightbox .count {
    left: 25px;
  }
  .product-page .description,
  .lightbox .description {
    left: 25px;
  }
  .lightbox .bottom-container {

  }
  .product-page .description,
  .product-page .price-checkout,
  .lightbox .description,
  .lightbox #pricing-and-details {

  }
  .product-page .info {
    padding: 0 25px;
  }
  .product-page .back-to-shop {
    padding-left: 25px;
  }
}

@media (max-width: 499px) {
  body:not(.home) .right {
    width: auto;
  }
  body:not(.home) h2 {
    width: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 0 25px;
  }
  .gallery ul {
    width: 273px;
    margin: 0 auto;
  }
  .gallery li:nth-child(even) {
    margin-right: 0;
  }
  .product-page .bottom-container,
  .lightbox .bottom-container {
    display: block;
  }
  .product-page .description,
  .product-page .price-checkout,
  .lightbox .description,
  .lightbox #pricing-and-details {
    display: block;
    padding: 0;
    border: none;
    width: auto;
  }

  .gallery img:first-child,
  .right section img:first-child {
    width: 100%;
    height: auto;
    min-height: auto;
  }

  form input,
  form textarea {
    box-sizing: border-box;

    width: 100%;
  }
  form input {
    height: 30px;
  }
  form textarea {

  }
}

@media (max-width: 490px) {
  .contact .form-wrapper .field-list .field .field-element {
    width: 100%;
  }
}

@media (max-width: 320px) {
  .splash {
    padding: 0 100px;
    margin-top: 20px;
  }
/*
  .splash .sqs-block-image {
    width: 100%;
    padding-bottom: 25px !important;
  }
  .splash .sqs-block-image a {
    padding-bottom: 65px;
  }
  .splash .sqs-block-image p {
    padding: 0;
  }
  .splash .sqs-block-image:last-child {
    padding-top: 25px !important;
  }
  .splash .image-caption-wrapper {
    width: 100%;
    padding: 0;
  }
  .sqs-block-image .intrinsic .image-block-wrapper img {
    height: auto;
  }
*/
}
