/*
Theme Name: Klaas Nienhuis
Theme URI: http://underscores.me/
Author: Frodo Schering
Author URI: http://www.frodoschering.nl
Description: Website theme for 3D professional Klaas Nienhuis
Version: 1.0-wpcom
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: klaas-nienhuis
Domain Path: /languages/
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

 Klaas Nienhuis is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 - Reset
2.0 - Typography
3.0 - Elements
4.0 - Forms
5.0 - Navigation
	5.1 - Links
	5.2 - Menus
6.0 - Accessibility
7.0 - Alignments
8.0 - Clearings
9.0 - Widgets
10.0 - Content
	10.1 - Posts and pages
	10.2 - Asides
	10.3 - Comments
11.0 - Infinite scroll
12.0 - Media
	12.1 - Captions
	12.2 - Galleries
13.0 - Klaas Nienhuis
	13.1 - Homepage
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 - Reset
--------------------------------------------------------------*/
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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: "proxima-nova";
	/*font-family: "proxima-nova", "Helvetica Neue", Helvetica, Arial, sans-serif;*/
	font-size: 100%;
	font-style: normal;
	line-height: 1.125em;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

.entry-content table td{
	padding: 0.5em 1em 0.5em 0;
	vertical-align: top;
}

.entry-content table td img{
	margin-top: 0.25em !important;
	width: 100%;
}

html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}
body {
	background: #171920;
	font-weight: 300;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}

/*--------------------------------------------------------------
2.0 Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #1f222a;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
	-webkit-appearance: none;
    border-radius: 0;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

#content h1{
	font-size: 2em;
	font-weight: 300;
	line-height: 1.40625em;
}


h2{
	font-size: 1.0625em;
	font-weight: 300;
	line-height: 1.23046875em;
	margin-bottom: 0.25em;
}

h3 {
	font-size: 0.875em;
	font-style: normal;
	font-weight: 400;
	text-transform: uppercase;
}

h4 {
	font-size: 0.84375em;
	font-style: normal;
	font-weight: 100;
	text-transform: uppercase;
}

p {
	font-size: 1em;
	font-weight: 300;
	line-height: 1.16666667em;
	margin-bottom: 1em;
}

b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
pre, code, pre *, code *{
	font-size: 13px;
	font-family: Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif;
}

pre{
	margin: 0 0 1em 0 !important; 
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}

/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #969696;;
	background: none;
	color: #000;
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 0.71875em;
	line-height: 1;
	padding: .5em 1.5em .4em;
	text-transform: uppercase;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #969696;
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #969696;
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	background-color: #e9e9e9;
	border: none;
	color: #666;
	font-size: 0.9375em;
	font-weight: 200;
	margin-bottom: 0.75em;
	width: 100% !important;
}

#search-container{
	background-color: #1f222a;
	display: none;
}

#close-search{
	display: none;
}

#masthead #close-search, #masthead #open-search{
	cursor: pointer;
	float: right;
	font-size: 0.925em;
	padding: 0.15em 0 0 0;
}

#search{
	margin: 0 auto;
	max-width: 984px;
	padding: 1em 1.5em;
}

#search-container input[type="search"], .error404 input[type="search"]{	
	font-weight: 100;
	height: 1.25em;
	width: 85% !important;
	margin: 0 1.25% 0 0;
	padding: 0.25em 0 0.25em 0.75%;
	-webkit-appearance: none;
}

#search-container input[type="search"]{
	background-color:#2b2e37;
	color: #fff;
}

#search-container .search-submit, .error404 .search-submit{
	float: right;
	width: 12.5%;
}

#search-container .search-submit{
	color: #fff;
	font-weight: 100;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 0.25em 0.5em;
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding: 0.25em 0.5em;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/*--------------------------------------------------------------
5.0 Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
5.1 Links
--------------------------------------------------------------*/
a {
	color: #3258bd;
	text-decoration: none;
}
a:visited {
	
}
a:hover,
a:focus,
a:active {
	color: midnightblue;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/
.main-navigation {
	float: right;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	float: left;
	position: relative;
}
.main-navigation a {
	display: block;
	text-decoration: none;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	left: 0;
	position: absolute;
	top: 1.5em;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul a {
	color: #cdcdce;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul a:hover {
	color: #fff;
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation .current_page_item a,
.main-navigation .current-menu-item a  {
	color: #fff;
}
/* Small menu */
.menu-toggle {
	display: none;
}

.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}
.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
6.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/*--------------------------------------------------------------
8.0 Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
9.0 Widgets
--------------------------------------------------------------*/
.widget {
	background-color: #626469;
	color: #fff;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}

.single .widget{
	background-color: #dddedf;
}

.widget ul{
	list-style: none;
	margin: 0;
}
.widget ul li{
	font-size: 1em;
	margin-bottom: 0.25em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
10.0 Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
10.1 Posts and pages
--------------------------------------------------------------*/
.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.25em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
10.2 Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.date .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
10.3 Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/*--------------------------------------------------------------
11.0 Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
12.0 Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
12.1 Captions
--------------------------------------------------------------*/
.wp-caption {
	font-size: 0.875em;
	margin-bottom: 3em;
	max-width: 100%;
	text-align: center;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
12.2 Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}
.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}
.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
	max-width: 25%;
}
.gallery-columns-5 .gallery-item {
	max-width: 20%;
}
.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}
.gallery-caption {}


/*--------------------------------------------------------------
13.0 Klaas Nienhuis
--------------------------------------------------------------*/

#masthead, section, .site-footer{
	margin: 0 auto;
	max-width: 984px;
}

section{
	overflow: hidden;
	padding: 0.8em 1.5em;
}

#masthead{
	padding: 1.25em 1.5em;
}

#masthead a{	
	font-weight: 300;
	text-transform: uppercase;
	text-decoration: none;
}

.site-branding{
	float: left;
	font-size: 1.25em;
}

#masthead .site-branding a{
	color: #fff;
}

#site-navigation{
	font-size: 0.78125em;
	margin: 0.35em 0.75em 0 0;
}

#site-navigation ul li{
	margin-left: 1em;
}

#header-container{
	background-color: #171920;
	position: fixed;
	width: 100%;
	z-index: 1000000;
}

#content{
	background-color: #1f222a;
	padding-top: 3.9em;
}

.single #content, .page #content, .error404 #content{
	background-color: #fff;	
}

.error404 #content{
	text-align: center;
}

.error404 #primary{
	margin: 0 auto;
}

#content .widget-title{
	color: #fff;
	font-size: 1em;
	font-weight: 600;
	margin-bottom: 0.25em;
}

.single #content header, .page #content header{
	text-align: center;
}

.single #main, .page #main{
	margin: 0 auto;
	max-width: 700px;
}

#introduction-section h1{
	font-weight: 200;
}

#footer-container{
	background-color: #171920;
}

.site-footer{
	padding: 2.5em 0 5em 1.5em;
}

#site-footer-mobile{
	display: none;
}

footer #about-me-container, footer form, footer #copyright{
	color: #ccc;
	float: left;	
	line-height: 1.20689655em;
}

footer #about-me-container{
	padding-right: 2.5%;
	width: 60%;
}

footer #about-me a{
	color: #ccc;
}


footer #about-me a:hover{
	color: #fff;
}

footer form{
	width: 37.5%;
}

footer #copyright{
	font-size: 0.9385em;
	font-weight: 200;
	margin-top: 2em;
}

footer p{
	font-size: 0.90625em;
	font-weight: 100;
	margin-bottom: 0.75em;
}

footer h3{
	margin-bottom: 0.25em;
}

footer #about-me, footer #about-me-container img{
	float: left;
}

footer #about-me-container img{
	margin-right: 1em;
	width: 18%;
}

footer #about-me{
	width: 74%;
}

footer button,
footer input[type="button"],
footer input[type="reset"],
footer input[type="submit"] {
	border: 1px solid #969696;;
	color: #999;
}

footer input[type="text"],
footer input[type="email"],
footer input[type="url"],
footer input[type="password"],
footer input[type="search"],
footer textarea {
	background-color: #23252b;
}

footer input[type="text"]:focus,
footer input[type="email"]:focus,
footer input[type="url"]:focus,
footer input[type="password"]:focus,
footer input[type="search"]:focus,
footer textarea:focus {
	color: #fff;
}

div.wpcf7-response-output{
	border-width: 1px;
	margin: 1em 0 1em;
	padding: 0.5em;
	font-size: 0.8125em;
	font-weight: 100;
	text-align: center;
}

span.wpcf7-not-valid-tip{
	font-size: 0.9375em;
	font-weight: 100;
	padding: 0 0 0.5em 0;
}

.fa{
	border: 1px solid #999;
	font-size: 0.90625em;
	height: 1.65em;
	margin-right: 0.25em;
	padding-top: 0.25em;
	text-align: center;
	width: 1.65em;
}

#masthead .fa{
	border: none;
	color: #cdcdce;
	font-size: 1.45em;
	height: auto;
	margin: 0;
	padding: 0.125em 0 0 0;
}

#slide-out-menu{
	background-color: #1f222a;
	display: none;
	font-size: 1em;
	padding: 0;
	text-transform: uppercase;
}

#slide-out-menu ul{
	list-style: none;
	margin: 0;
}

#slide-out-menu ul li{
	border-bottom: 1px solid #171920;
	padding: 0.75em 1em;
}

#slide-out-menu ul li a{
	color: #cdcdce;
	display: block;
	width: 100%;
}

#open-menu{
	display: none;
}

#close-menu, #open-menu{
	cursor: pointer;
}

#close-menu{
	display: none;
	margin-right: 0.35em !important; 
}

/*--------------------------------------------------------------
13.1 Homepage
--------------------------------------------------------------*/

#introduction-section{
	color: #fff;
	padding-top: 1.6em;
	text-align: center;
}

#introduction-section article{
	margin: 0 auto;
	width: 75%;
}

#introduction-section p{
	color: #b2b2b9;
	font-size: 1.125em;
	font-weight: 100;
	line-height: 1.3671875em;
	margin: 0 0 0.75em 0;
}

#introduction-section a{
	color: #fff;
	text-decoration: none;
}

#carousel{
	overflow: hidden;
	position: relative;
}

#carousel-slide-rotate{
	background-color: #2a4079;
}

#carousel-slide-rotate, #carousel-slide-configurator{
	height: 550px;
}

#carousel-slide-configurator{
	background-color: #602a79;
}

#carousel #attach-nowebgl, #carousel #attach-webgl {
	display: none;
	height: 100%;
	width: 100%;
}

#carousel #attach-nowebgl{
	margin: 0 auto;
	top: 3em;
}

#carousel iframe{
	height: 100%;
	width: 100%;
}

#carousel .slide-text p{
	color: #bdc2d0;
	font-size: 1.155em;
	font-weight: 100;
	margin: 0;
	padding: 0 2em 2.25em 2em;
	text-align: center;
}

#carousel .slide-text a{
	color: #fff;
}

.carousel-slide {	
	width: 100%;
}

#carousel-slide-rotate .slide-text{	
	background-color: #2a4079;
	bottom: 0;
	overflow: hidden;
	position: absolute;
	width: 85%;
	z-index: 9000000000;
	left: 7.5%;
}

#carousel #cover{
	background-color: #2a4079;
	top: 0;
	height: 2em;
	overflow: hidden;
	position: absolute;
	width: 100%;	
}

#carousel #cover2{
	background-color: #2a4079;
	bottom: 0;
	height: 4em;
	overflow: hidden;
	right: 0;
	position: absolute;
	width: 80%;	
}

#carousel-slide-configurator{
	overflow: hidden;
	padding: 4em 15% 0em;
}

#configurator-container{
	background-color: #683580;
	border: 1px solid #9673a7;
	margin: 0 auto;
	overflow: hidden;
	position: relative;
	width: 100%;
}

#configurator{
	float:left;
	width: 78.5%;
	height: 100% !important;
    position: absolute !important;
}

#configurator .cycle-slide{
	max-width: 90%;
}

#thumbnails{
	float: right;
	width: 22.5%;
}

#thumbnails a{
	border-bottom: 1px solid #9673a7;
	display: block;
	overflow: hidden;
	text-align: center;
	width: 100%;
}

#thumbnails a:last-child{
	border: none;
}

#thumbnails a img{
	padding: 24.5% 0;
}

.cycle-pager{
	display: none;
}

.cycle-prev, .cycle-next{
	cursor: pointer;
	position: absolute;
	top: 15em;
	height: 55px;
	width: 28px;
	z-index: 100000;
}

.cycle-prev{
	background: transparent url('images/slider-arrow-left.png') !important;
	left: 5%;
}

.cycle-next{
	background: transparent url('images/slider-arrow-right.png') !important;
	right: 5%;
}

#thumbnails{
	border-left: 1px solid #9673a7;
}

#carousel-slide-configurator .slide-text{
	margin-top: 3em;
}

#recent-posts-section{
	margin-bottom: 1.5em;
}

#recent-posts-section h4{
	margin-bottom: 0.25em;
}

#recent-posts-section article{
	float: left;	
	margin-right: 2.66%;	
	width: 23%;
}

#recent-posts-section article img{
	margin-bottom: 0.5em;
}

#recent-posts-section article:last-child{
	margin-right: 0;
}

#recent-posts-section ul{
	list-style: none;
	margin: 0;
}

#recent-posts-section a{
	color: #fff;
	text-decoration: none;
}

#recent-posts-section h4, #recent-posts-section h4 a{
	color: #ccc;
	font-weight: 100;
}

.entry-header{
	border-bottom: 1px solid #ccc;
	padding-bottom: 1em;
}

#content .entry-header h1{
	line-height: 1em;
	margin: 0.25em;
}


.entry-content{
	color: #1f222a;
}

.entry-content figure, .entry-content img, .entry-content iframe, .entry-content object{
	display: table !important;
	display: block\0/ !important;
	margin: 1em auto !important;	
	overflow: hidden;
}

.entry-content iframe{
	width: 100%;
}

.entry-content figure{
	display: block !important;
	width: 100% !important;
}

.gallery figure{
	float: left;
}

.entry-content figure iframe{
	margin: 0;
}

.entry-content figure figcaption, .wp-caption{
	font-style: italic;
	font-weight: 100;
}

.entry-meta{
	margin-bottom: 1em;
}

.entry-meta span{
	font-size: 1.125em;
}

.entry-meta span{
	font-weight: 100;
}

.entry-content h2{
	display: inline-block;
	font-size: 1.25em;
	font-weight: 400;
}

#comments{
	float: left;
	width: 100%;
}

#comments h2, .comment-respond h3, .related-posts-area h2{
	font-size: 1em;
	font-weight: 600;
	text-transform: uppercase;
}

.related-posts-area h2{
	margin-bottom: 0.5em;
}

.related-posts-area h3{
	font-size: 1.03125em;
	font-weight: 600;
	margin: 0.25em 0;
	text-transform: none;
}

.entry-content h3{
	font-size: 1.0625em;
	font-weight: 400;
	text-transform: none;
}

pre, code{
	background-color: #f0f0f0 !important;
}

.avatar {
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	border-radius: 50%;
	float: left;	
	margin-right: 1.5em;
 }

 .comment img{
 	margin: 0.5em 1.5em 0.5em 0;
 }

.comment-respond, .related-posts-area{
	border-top: 1px solid #ccc;
	padding-top: 1em;
	overflow: hidden;
	float: left;
	width:100%;
 }

.related-posts-area{
	margin-bottom: 1em;
}

#comments .comment{
	float: left;
	width: 100%;
}

#comments hr{
	margin: 1em 0;
}

.comment cite{
	font-size: 1.0625em;
	font-style: normal;
	font-weight: 600;
}

.comment .comment-meta{
	font-style: italic;
	font-weight: 300;
	margin-bottom: 0.25em;
}

.comment article{
	float: left;
	margin: 0 0 2em 0;
	max-width: 530px;
	min-height: 5em;
	width: 75%;
}

.comment p{
	margin: 0;	
}

.comment-list{
	margin-top: 1em;
}

.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond textarea{
	float: right;
	max-width: 585px;
	width: 75% !important;
}

.comment-respond .form-submit{
	float: right;
}

.comment-respond form{
	margin-top: 1em;
}

.comment-respond #no-publish-text{
	float: left;
	margin-left: 25%;
}


#share-buttons {
	background-color: #f0f0f0;
	padding: 1em;
	text-align: center;
}

#share-buttons .fa{
	border: none;
	color: #fff;
	font-size: 1em;
}

#share-buttons .fa-twitter{
	background-color: #25a9e0;
}

#share-buttons .fa-google{
	background-color: #de4b38;
}

#share-buttons .fa-tumblr{
	background-color: #2b4762;
}

#share-buttons .fa-linkedin{
	background-color: #007bb6;
}

.button{
	background-color: #3258bd;
	color: #fff;
	display: inline-block;
	margin: 0.5em 0.25em 0 0;
	padding: 0.25em 1em;
	text-decoration: none;
}

.button:hover{
	background-color: #2678cc;
	color: #fff;
}

.introduction{
	font-size: 1.125em;
	font-weight: 400;
}

.info-block{
	background-color: #edeeee;
	float: right;
	padding: 1.5em;
	margin: 0 0 1em 1em;
	width: 35%;
}

.info-block h3{
	font-size: 1em;
	font-weight: 600;
	margin-bottom: 0.5em;
}

.info-block p, .info-block a{
	margin: 0.25em 0;
}

.info-block a{
	font-size: 0.90625em;
}

/*--------------------------------------------------------------
13.2 Category Page
--------------------------------------------------------------*/

#content-area-container{
	margin: 0 auto;
	max-width: 980px;
	overflow: hidden;
	padding: 0.8em 1.5em;
}

.category #primary, .single #primary, .date #primary, .search #primary, .error404 #primary{
	width: 77%;
}

.category-blog #primary, .category-projects #primary, .has-sidebar #primary, .date #primary{
	float: left;
	margin: 0;
	padding-left: 0;
}

.has-sidebar #primary, .single #primary, .date #primary, .page #primary{
	margin-bottom: 1em;
	overflow: hidden;
}

#secondary{
	background-color: #3a3d44;
	float: right;
	margin: 0.75em 0 2em 0;
	padding: 1em 1em 0;
	width: 23%;
}

#primary #secondary{
	display: none;
}

.single #secondary{
	color: #000;
	background-color: #edeeee;
}

.single #secondary a, .single #secondary .widget, .single #secondary .widget-title{
	color: #000;
}

.category #primary article, .date #primary article, .related-post, .search #primary article{
	float: left;
	height: 18em;
	margin-right: 3.5%;
	width: 31%;
}

.category h2, .search h2{
	font-size: 1.03125em;
}

.category #primary .post:nth-child(3n), .date #primary .post:nth-child(3n), .related-post:nth-child(3n), .search #primary .post:nth-child(3n){
	margin-right: 0;
}

.category article img, .no-thumbnail, .date article img, .no-thumbnail, .search article img{
	margin-bottom: 0.5em;
}

.category a, .date a, .search a{
	color: #fff;
	text-decoration: none;
}

.category p, .date p, .search p{
	color: #ccc;
	font-weight: 200;
}

.paging-navigation{
	text-transform: uppercase;
	width: 100%;
}

.paging-navigation a{
	font-size: 0.78125em;
	font-weight: 300;
}

.no-thumbnail{
	background-color: #171920;
	display: block;
	height: 162px;
	width: 216px;
}

#tag-selector-container{
	background-color: #3a3d44;
	margin-bottom: 1.5em;
   	padding: 1em 0.75em 0.75em 0.75em;
   	width: 100%;
}

.category-blog #tag-selector-container, .category-projects #tag-selector-container{
	margin: 0;
	padding: 0;
}

.single #tag-selector-container{
	background: none;
	margin: 0;
	padding: 0;
}

#tag-selector{
   	display: table;
	border-collapse: collapse;
	border: none;
	text-align: center;

	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

	-webkit-flex-flow: row wrap;
	-moz-box-flex-flow: row wrap;
	-ms-flex-wrap: wrap;
	-webkit-flex-flow: row wrap; 
	flex-flow: row wrap;


}

#tag-selector .tag {
	background-color: #626469;
	margin: 0 0.125em 0.25em 0.125em;
	padding: 0.125em 0.25em;
	text-align: center;
	text-transform: capitalize;

	-ms-flex-grow: 2;
	-moz-flex-grow: 2;
	-ms-flex-grow: 2;
	-ms-flex: 2 auto; 
	-webkit-flex-grow: 2;
	flex-grow: 2;

	display: inline-block;

}


.category-blog #tag-selector, .category-projects #tag-selector, .single #tag-selector, .date #tag-selector{
	width: 100%;
	border: none;

}

.category-blog #tag-selector .tag, .category-projects #tag-selector .tag, .single #tag-selector .tag, .date #tag-selector .tag {
	background-color: #626469;
	border: none;
	display: block;
	margin: 0 0.125em 0.25em 0.125em;
	padding: 0.125em 0.25em;
	text-align: center;
	text-transform: capitalize;

}

.single #tag-selector .tag {
	background-color: #dddedf;
}

.category-blog #tag-selector .selected, .category-projects #tag-selector .selected, #tag-selector .selected, .single #tag-selector .selected{
	background-color: #77bd32;
}

#tag-selector .selected a, .category-blog #tag-selector .selected a, .category-projects #tag-selector .selected a, .single #tag-selector .selected a{
	color: #fff;
}

#tag-selector .tag a, .category-blog #tag-selector a, .category-projects #tag-selector a, .single #tag-selector a{
	font-size: 0.9375em;
   	font-weight: 300;
}

#tag-selector .tag:last-child{
	border-right: none;
}

#secondary #tag-cloud{
	background: none;
	margin-bottom: 0.75em;
	padding: 0;
}

/*--------------------------------------------------------------
13.3 Admin
--------------------------------------------------------------*/

#wpadminbar{
	position: fixed;
	z-index: 9999999999;
}


/*--------------------------------------------------------------
13.4 3rd party
--------------------------------------------------------------*/

.wpp-list li{
	overflow: hidden;
}

.watermark{
	padding: 2.35em 0.85em !important;
}

/*--------------------------------------------------------------
14.0 Responsive Styles
--------------------------------------------------------------*/

/*--------------------------------------------------------------
14.1 Tablet Devices
--------------------------------------------------------------*/
@media screen and (max-width: 800px) {
	#carousel-slide-rotate, #carousel-slide-configurator{
		height: 500px;
	}
}

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

	p, ul, ol{
		font-size: 0.875em;
		line-height: 1.1875em;
	}

	#content h1{
		font-size: 1.375em;
		margin-bottom: 0.25em;
	}

	.category #primary, .single #primary, .date #primary, .search #primary, .error404 #primary{
		padding: 0;
		width: 100%;
	}

	#open-menu{
		display: block;
	}

	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}

	#introduction-section p{
		font-size: 1em;
	}

	#introduction-section article{
		width: 100%;
	}

	#carousel-section{
		padding: 0.8em 1em 0.5em 1em;
	}

	#carousel .slide-text p{
		font-size: 1em;
		padding: 0 1em 3em 1em;
	}

	#recent-posts-section article, .related-posts article{
		margin: 0 3.5% 1em 0;
		width: 31%;
	}

	.category #primary article, .date #primary article, .related-post, .search #primary article{
		height: 16em;
	}

	#recent-posts-section article:nth-child(3n){
		margin-right: 0;
	}

	#recent-posts-section article:nth-child(4n){
		display: none;
	}

	#site-navigation{
		margin: 0;
	}

	#slide-out-menu ul li{
		font-size: 0.96875em;
		padding: 0.55em 1em;
	}

	#masthead{
		padding: 1.25em 1em;
	}

	#content-area-container #secondary aside{
		display: none;
	}

	#content-area-container #primary #secondary, #content-area-container #secondary #tag-cloud{
		display: block;
	}

	#content-area-container #secondary{
		display: none;
		float:left;
		width: 100%;
	}

	footer #about-me-container img{
		width: 20%;
	}

	footer h3, footer p{
		font-size: 0.8125em;
	}

	#site-footer #copyright{
		font-size: 0.84375em;
	}

	#site-footer .fa{
		font-size: 0.825em;
	}

	footer #about-me{
		width: 69%;
	}

	footer #about-me-container img{
		width: 24%;
	}


	.cycle-prev, .cycle-next{
		display: none;
	}

	.cycle-pager { 
		display: block;
		bottom: 1.25em;
		height: 16px;
	    text-align: center; 
	    width: 100%; 
	    z-index: 500; 
	    position: absolute; 
	    overflow: hidden;
	}
	.cycle-pager span { 
	    font-family: arial; 
	    font-size: 2.25em; 
	    width: 16px; 
	    height: 16px; 
	    opacity: 0.5;
	    display: inline-block; 
	    color: #fff; 
	    cursor: pointer; 
	    line-height: 17px;
	}
	.cycle-pager span.cycle-pager-active { 
		opacity: 0.9;
	}
	.cycle-pager > * {
		cursor: pointer;
	}

	#thumbnails a img{
		padding: 7.5% 0;
	}

	#thumbnails a img{
		max-width: 75%;
	}
	
	#carousel-slide-configurator{
		padding: 1em 7.5% 0em;
	}

	#carousel-slide-configurator .slide-text{
		margin: 0.75em 0 0.5em;
	}

	#configurator .cycle-slide{
		max-width: 70%;
	}

	#carousel-slide-rotate, #carousel-slide-configurator{
		height: 254px;
	}

	#carousel #attach-nowebgl{
		height: 150px !important;
		margin: 0 auto;
		position: absolute;
    	top: 1em;
		width: 190px !important;
    }

    #carousel .slide-text p{
    	margin: 0;
    }

	#masthead #close-search, #masthead #open-search{
		font-size: 1.1em;
		padding: 0.1em 0 0 0;
	}

	#introduction-section p{
		margin-bottom: 0;
	}

	#introduction-section{
	 	padding: 1.2em 1.5em 0.8em 1.5em;
	}

	#search{
		padding: 1em;
	}

	#search-container .search-submit, .error404 .search-submit{
		width: 20%;
	}

	#search-container input[type="search"], .error404 input[type="search"]{
		width: 77% !important;
	}

	.comment article{
		width: 70%;
	}

	.error404 section{
		padding: 1em 0;
	}

	#carousel-slide-rotate .slide-text{	
		position: absolute;
		width: 76%;
		z-index: 9000000000;
		left: 12%;
		height: 40px;
		bottom: 2.5em
	}



}


/*--------------------------------------------------------------
14.2 Handheld Devices
--------------------------------------------------------------*/

@media screen and (max-width: 440px) {
	
	#slide-out-menu ul li{
		font-size: 1em;
		padding: 0.75em 1em;
	}
	
	#carousel #attach-nowebgl{
		height: 192px !important;
		margin: 0 auto;
		position: absolute;
    	top: 2.5em;
		width: 244px !important;

    }

	#carousel #cover{
		height: 2.5em;
	}

	#recent-posts-section article:nth-child(2n), .related-posts article:nth-child(2n){
		margin-right: 0;
	}

	#recent-posts-section{
		margin-bottom: 0;
	}

	#recent-posts-section article, .related-posts article{
		margin: 0 6% 1em 0;
		width: 47%;
	}

	#recent-posts-section article:nth-child(3n){
		margin-right: 6%;
	}

	.related-posts article:nth-child(3n){
		display: none;
	}

	#recent-posts-section h4{
		margin-bottom: 0;
	}

	#recent-posts-section h4 a{
		font-size: 0.8125em;
	}

	#recent-posts-section a{
		font-size: 0.875em;
	}

	#site-footer{
		display: none;
	}

	#site-footer-mobile{
		display: block;
		padding:  2em 0 5em 1em;
	}

	#site-footer-mobile #about-me-container{
		width: 100%;
	}

	#site-footer-mobile #about-me{
		width: 70%;
	}

	#site-footer-mobile #about-me-container img{
		margin-right: 4%;
		width: 24%;
	}
	
	#site-footer-mobile form{
		margin-top: 0.5em;
		width: 95%;
	}

	section{
		padding: 0.8em 1em;
	}

	#content-area-container{
		padding: 0.8em 1em;
	}

	.site-footer{
		padding: 2.5em 0 5em 1em;
	}

	.category #primary article, .date #primary article, .search #primary article, .category #primary .post:nth-child(3n), .date #primary .post:nth-child(3n), .search #primary .post:nth-child(3n){
		display: table-cell;
		height: auto;
		margin: 0 6% 0 0;
		width: 47%;
	}

	.category #primary, .single #primary, .date #primary, .search #primary, .error404 #primary{
		width: 100%;
	}

	.category #primary .post:nth-child(2n), .date #primary .post:nth-child(2n), .search #primary .post:nth-child(2n){
		margin-right: 0;
	}

	.category h2, .search h2{
		font-size: 0.90625em;
	}	

	#primary{
		padding: 0;
	}

	#primary #secondary, #primary #tag-selector-container{
		margin: 0.5em 0 1.25em 0;
	}

	.category-projects #primary #tag-selector-container, .category-blog #primary #tag-selector-container{
		margin: 0;
	}

	.comment article{
		width: 70%;
	}

	.avatar{
		margin-right: 5%;
		width: 20%;
	}

	.entry-meta span{
		font-size: 0.96875em;
	}

	.info-block{
		margin: 0 0 0.5em 1em;
		padding: 1em;
		width: 50%;
	}

	.info-block h3{
		font-size: 0.875em;
	}

	.entry-content h2{
		font-size: 1.125em;
	}

	.entry-header{
		padding-bottom: 0.125em;
	}

	pre, code, pre *, code *{
		font-size: 0.875em;
		line-height: 1.125em;
	}

	.wp-caption{
		font-size: 0.78125em;
	}

	.entry-content figure, .entry-content img, .entry-content iframe, .entry-content object{
		margin: 0.5em auto !important;
	}

	.entry-content iframe{
		width: 100%;
	}

	.wp-caption .wp-caption-text{
		line-height: 1.125em;
		margin: 0.5em 0;
	}

	#footer-social-icons{
		color: #ccc;
		float:right;
		font-size: 0.825em;
		margin: 2em 1em 0 0;
		line-height: 0;
	}

	#footer-social-icons a{
		color: #ccc;
	}

	#footer-social-icons a:hover{
		color: #fff;
	}
	
	#share-buttons .fa{
		font-size: 0.8725em;
	}

	#share-buttons{
		padding: 0.5em;
	}

	#comments h2, .comment-respond h3{
		font-size: 0.8725em;
	}

	.comment cite{
		font-size: 0.9375em;
	}

	.comment .comment-meta{
		font-size: 0.8125em;
	}

	.comment-respond #no-publish-text{
		font-size: 0.8125em;
	}

	.comment article{
		margin: 0 0 1.25em 0;
	}

	.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond textarea{
		margin-top: 0.25em;
		width: 100% !important;
	}

	.comment-respond #no-publish-text{
		margin-left: 0;
	}
	
	#recent-posts-section article:nth-child(4n){
		display: block;
	}

	#carousel-slide-rotate{
		margin-top: 0;
	}

	#carousel-slide-rotate .slide-text{
		bottom: 3.5em;
		height: 50px;
	}

	#configurator{
		width: 100%;
		height: 160px !important;
		float: none;
		position: relative !important;
	}

	#thumbnails{
		border-left: 0;
		border-top: 1px solid #9673a7;
		width: 100%;
	}

	#thumbnails a{
		border-right: 1px solid #9673a7;
		border-bottom: none;
		float: left;
		width: 33.33333%;
	}

	#carousel-slide-configurator{
		padding: 1.5em 7.5% 0em;
	}

	#carousel-slide-rotate, #carousel-slide-configurator{
		height: 350px;
	}

	#carousel .slide-text p{
		padding: 1em 1em 3em 1em;
	}

	#search-container .search-submit, .error404 .search-submit{
		width: 27.5%;
	}

	#search-container input[type="search"], .error404 input[type="search"]{
		width: 67% !important;
		padding: 0.25em 0 0.25em 1.75%;
	}

	#site-footer-mobile #copyright{
		font-size: 0.84375em;
	}
}

