/*
	Theme Name: Circuit4
	Theme URI: http://www.circuit4.com
	Description: Circuit4 WordPress Theme
	Version: 1.1
*/

@import url('fonts/HelveticaNeueLTStd.css');
@import url('bootstrap.min.css');

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:16px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#222;
	background-color: #DFDFDF;
}
html, body {
	height: 100%;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
h1,h2,h3 {
	color: #78288C;
	font-family: 'HelveticaNeueLTStd-Cn', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: normal;
	text-transform: lowercase;
}
h1 {
	margin-top: 0px;
}
p {
	text-align: justify;  
    -moz-text-align-last: left; /* Code for Firefox */
    text-align-last: left;
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
.wrapper, .header {
	width: 95%;
	max-width:1160px;
}
/* wrapper */
.wrapper {
	margin:0 auto;
	position:relative;
	height: 100%;
}
/* header */
.header {
	position: fixed;
	height: 100%;
}
.header > div {
	overflow: auto;
	height: 100%;
	margin-left: 86%;	
	background-color: #1A1718;
	position: relative;
}
/* logo */
.logo {
	position: absolute;
}
.logo-img {
	opacity: 0;
	padding: 10px;
}
/* nav */
.nav {
    overflow: auto;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

nav > a {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	display: block;
	
	background-size: 60px 120px;
    background-repeat: no-repeat;
    background-position: 50% 0%;
    height: 60px;
    margin: 25px 0px;
    position: relative;


}

nav > a span {
	content: "";
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	background-repeat: no-repeat;
    background-position: 50% 100%;
	background-size: 60px 120px;
	opacity: 0;

	transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-webkit-transition: opacity .25s ease-in-out;
	
	background-color: #1A1718;
}

nav > a span:hover, nav > a.active span {
	opacity: 1;
}

nav > a[data-panel="8"], nav > a[data-panel="8"] span {
	background-image: url('/wp-content/uploads/sites/11/2016/07/button-home.png');
}

nav > a[data-panel="10"], nav > a[data-panel="10"] span {
	background-image: url('/wp-content/uploads/sites/11/2016/07/button-about.png');
}

nav > a[data-panel="12"], nav > a[data-panel="12"] span {
	background-image: url('/wp-content/uploads/sites/11/2016/07/button-what.png');
}

nav > a[data-panel="14"], nav > a[data-panel="14"] span {
	background-image: url('/wp-content/uploads/sites/11/2016/07/button-contact.png');
}

p.copy {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;	
	color: #FFFFFF;
	font-size: 12px;
    -moz-text-align-last: center;
	text-align-last: center;
}

/* sidebar */
.sidebar {

}
/* footer */
.footer {
	display: none;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

article {
	height: 100%;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

main {
	height: 100%;
	overflow-x: hidden;
	width: 86%;
	background: #FFFFFF;
	
	background-position: 50% -300px;
	background-image: url('/wp-content/uploads/sites/11/2016/10/background-reg.png');
	background-size: 300px 300px;
	background-repeat: no-repeat;
}

section {
	position: relative;
	overflow: hidden;
	padding: 75px;
	height: 100%;
}

section[data-panel="8"] {
	text-indent: 120%;
	white-space: nowrap;
	overflow: hidden;
	display: block;
	
	opacity: 1;
	background-color: white;
	background-image: url('/wp-content/uploads/sites/11/2016/10/home-logo-1024x512.png');
	background-size: 800px 400px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	
}

section[data-panel="12"] h1 {
	margin-left: 35%;
	padding-left: 25px;
}

article > div.sidebar {
	width: 35%;
	display: inline-block;
	vertical-align: top;
	height: 100%;
	position: relative;
}

div.sidebar > p {
	font-family: 'HelveticaNeueLTStd-Cn', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 20px;
	color:#78288C;
	line-height: 1.1;
	text-align: left;
}

div.sidebar > p:nth-child(2) {
	margin-top: 100px;
}

div.sidebar > p > img {
	height: 70px;
	width: 70px;
	float: left;
	vertical-align: middle;
	margin: 0px 10px 0px 0px;
}

div.sidebar > p > span {
	display: table-cell;
    height: 70px;
    vertical-align: middle;
}

div.sidebar blockquote {
	margin: 0px;
	font-family: 'HelveticaNeueLTStd-Cn', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 24px;
	color:#78288C;
	position: absolute;
    bottom: 50px;
}

div.sidebar:nth-child(3) blockquote {
	text-align: right;
}

article > div.content {
	width: 65%;
	display: inline-block;
}

article > div:nth-child(3) {
	margin-left: -5px;
	padding-left: 25px;
}

article > div.wpcf7 {
	margin-left: 0px;
	padding-left: 0px;
}

#contact-left, #contact-right {
	width: 50%;
	display: inline-block;
	vertical-align: top;
	padding-right: 10%;
}

#contact-right {
	margin-left: -5px;
}

#contact-right div:last-of-type {
	text-align: right;
}

textarea[name="your-message"] {
	height: 200px;
}

.btn-primary{font-family: 'HelveticaNeueLTStd-Cn', 'Helvetica Neue', Helvetica, Arial, sans-serif;color:#fff;background-color:#9242A6;border-color:#450059}
.btn-primary:focus,.btn-primary.focus{color:#fff;background-color:#78288C;border-color:#450059}
.btn-primary:hover{color:#fff;background-color:#78288C;border-color:#450059}
.btn-primary:active, .btn-primary:active:hover, .btn-primary:active:focus {color:#fff;background-color:#450059;border-color:#450059}

.form-control {
	background-color: rgba(240, 240, 240, 0.75);
}

img.ajax-loader {
	float: right;
	margin-right: 15px;
}

input.wpcf7-submit {
	float: right;
}

/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

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

#prevButton, #nextButton {
	width: 56px;
	height: 16px;
	position: absolute;
	left: 50%;
	margin-left: -75px;
	z-index: 1000;
	cursor: pointer;
	background-size: 56px 32px;
	background-image: url('/wp-content/uploads/sites/11/2016/08/arrows.png');
	opacity: 0.7;
	
	transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-webkit-transition: opacity .25s ease-in-out;
}

#prevButton:hover, #nextButton:hover {
	opacity: 1;
}

#prevButton {
	top: 10px;
}

#nextButton {
	bottom: 10px;
	background-position: center bottom;
}

#prevButton.disabled, #nextButton.disabled {
	display: none;
}

div.extra {
	height: 50px;
}

.acceptance-731 {
	text-align: left !important;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:760px) and (orientation:landscape) {
	body, html {
		font-size: 10px;
	}
	section[data-panel="8"] {
		background-size: 400px 200px;
		background-color: white;
	}
	section {
		padding: 35px 15px 15px 15px;
	}
	.nav {
		text-align: center;
	}
	nav > a {
	    background-size: 40px 80px;
	    height: 40px;
	    width: 40px;
	    position: relative;
	    display: inline-block;
	    margin: 5px 10px;
	}
	nav > a span {
	    background-size: 40px 80px;
	}
	#prevButton, #nextButton {
		width: 75px;
		height: 21px;
		background-size: 75px 42px; 
	}
	div.sidebar > p > img {
		height: 35px;
		width: 35px
	}
	div.sidebar > p > span {
   		height: 35px;
   		font-size: 16px;
	}
	div.sidebar blockquote {
   		font-size: 18px;
   		position: static;
	}
	div.sidebar blockquote > p {
		text-align: left;
	}
	div.sidebar blockquote br {
    	display: none;
	}
	div.sidebar > p:nth-child(2) {
		margin-top: 15px;
	}
	textarea[name="your-message"] {
		height: 100px;
	}
	.form-control {
		height: 20px;
	}
	.logo-img {
		opacity: 1;
	}
}

@media only screen and (max-width:760px) and (orientation:portrait) {
	textarea[name="your-message"] {
		height: 100px;
	}
	#prevButton, #nextButton {
		display: none;
	}
	section {
		background-color: white;
	}
	.header {
		position: fixed;
		height: initial;
		max-width: none;
		z-index: 1000;
	}
	.header > div {
		margin: 0;
	}
	nav > a {
	    background-size: 40px 80px;
	    height: 40px;
	    width: 40px;
	    margin: 0px 4px;
	    position: relative;
	    display: inline-block;
	}
	.logo-img {
		opacity: 1 !important;
	}
	.logo {
		width: 30%;
		display: inline-block;
		vertical-align: middle;
		position: initial;
	}
	.nav {
	    width: 70%;
	    margin: 0;
	    display: inline-block;
	    margin-left: -4px;
	    vertical-align: middle;
		text-align: right;
		padding-right: 10px;
		position: initial;
		transform: none;
		top: 0%;
	}
	article {
		position: relative;
		transform: none;
		top: auto;
	}
	p.copy {
		display: none;
	}
	nav > a span {
	    background-size: 40px 80px;
	}
	main {
		width: 100%;
		background-position: 50% 50%;
	}
	section {
		padding: 15px;
		padding-top: 100px;
	}
	article > div.content {
		width: auto;
		padding: 0px;
		margin: 0px;
	}
	article > div.sidebar {
		width: auto;
		position: absolute;
		bottom: 0;
		height: auto;
		padding: 0;
	}
	div.sidebar blockquote {
    	display: none;
	}
	div.sidebar > p {
		display: inline-block;
		width: 50%;
	}
	div.sidebar > p:nth-child(2) {
		margin-top: inherit;
		margin-left: -4px;
	}
	body, html {
		font-size: 11px;
	}
	section[data-panel="8"] {
		background-size: 400px 200px;
		background-color: white;
	}
	section[data-panel="12"] h1 {
		margin-left: 0px;
		padding-left: 0px;
	}
	div.sidebar > p {
		margin: 0;
	}
	div.sidebar > p > img {
		height: 35px;
		width: 35px
	}
	div.sidebar > p > span {
   		height: 35px;
   		font-size: 16px;
	}
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#78288C;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#78288C;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#78288C;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow: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;
	}
}


/* contact form */
.form-group .acceptance-731 {
	float: left;
	padding-top: 3px;
}
div.wpcf7-acceptance.alignleft {
	margin: 0 !important;
}
#contact-right .accept {
	/*float: left;*/
}