/* COREY THOMAS COOK | coreythomascook.com
   style.css - Layout and Functionality */


/*------------------------------Universal------------------------------*/

html, body {
	background-color: rgb(215,214,212);
	margin:0;
	padding:0;
	height:100%;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-style: normal;
	position: relative;
}

/* A prettier default horizontal rule */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

button:focus {outline:0;}

#wrapper {
	min-height:100%;
	position:relative;
}

/*------------------------------Type------------------------------*/

h1 {
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0;
}

h1, h2, h3 {
	color: rgb(66,50,50);
}

p {
	font-family: 'Open Sans', sans-serif;
	color: rgb(66,50,50);
	font-size: 14px;
	line-height: 1.36;
}

a{
	text-decoration: none;
}

a:hover{
	text-decoration: none;
}

@font-face {
    font-family: 'MATTER-icons';
    src: url('../fonts/MATTER-icons.eot');
    src: url('../fonts/MATTER-icons.eot?#iefix') format('embedded-opentype'),url('../fonts/MATTER-icons.woff2') format('woff2'),url('../fonts/MATTER-icons.woff') format('woff'),url('../fonts/MATTER-icons.ttf') format('truetype');
}

/*------------------------------| Utilities |------------------------------*/

.clear:after { 
	content: '';
    display: block;
    clear: both; 
}

.mobile {
	display: none;
}

/*------------------------------| Header |------------------------------*/

#header {
	position: fixed;
	z-index: 10;
	top: 0;
	width: 100%;
	height: 30px; /* total height 54px */
	background-color: rgba(195,193,190,.86);
	-webkit-box-shadow: 0 0 3px 1px rgba(0,0,0,.24);
	-moz-box-shadow: 0 0 3px 1px rgba(0,0,0,.24);
	box-shadow: 0 0 3px 1px rgba(0,0,0,.24);
	margin: 0;
	padding: 12px 0;
}

#logo {
	float: left;
	margin: 0;
	padding: 0;
}

#logo h1 {
	display: inline-block;
	font-size: 22px;
	line-height: 1.4;
	color: rgb(66,50,50);
	padding: 0;
	margin: 0;
}

#logo a {
	color: rgb(66,50,50);
	text-decoration: none;
}

#logo a:hover {
	text-decoration: none;
	color: rgb(90,76,76);
}

.header-margin {
	margin: 0 18px;
	padding: 0;
}

.headergap {
	width: 100%;
    height: 54px;
    margin: 0 0 36px;
    padding: 0;
}

.section-nav {
	width: 100%;
	height: 54px;
	margin: 0 0 36px;
    padding: 0;
}

/*------------------------------| Navigation |------------------------------*/

#nav {
	float: right;
	line-height: 1;
	color: rgb(66,50,50);
}

#nav ul, #nav li {
	display: inline-block;
}

#nav li {
	margin: 10px 0 0 18px;
	padding: 0;
}

#nav li > a {
	color: rgb(66,50,50);
}

#nav a:hover{
	color: rgb(90,76,76);
}

#mobile-nav {
	line-height: 1.4;
	color: rgb(150,141,141);
}

#mobile-nav li {
	margin: 0;
	padding: 6px 0;
}

#mobile-nav li > a {
	color: rgb(150,141,141);
}

#mobile-nav a:hover{
	color: rgb(213,209,209);
}

.nav {
	font-family: 'Oswald', sans-serif;
	font-weight: normal;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.nav ul, .nav li {
	list-style-type: none;
    text-indent: 0;
}

.nav ul {
	padding: 0;
	margin: 0;
}

.nav li > a {
	text-decoration: none;
}

.nav a:hover{
	text-decoration: none;
}

#menu {
    background-color: rgb(54,52,50);
    right: -260px;
    width: 260px;
    height: 100%;
    position: fixed;
    z-index: 20;
    -webkit-transition: .36s ease-in-out;
	-moz-transition: .36s ease-in-out;
	-o-transition: .36s ease-in-out;
	transition: .36s ease-in-out;
}

#menu.menu-open {
	right: 0px;
}

.menugap {
	width: 100%;
    height: 54px;
    margin: 0;
    padding: 0;
}

#menu-toggle {
	width: 32px;
	height: 24px;
	position: fixed;
 	top: 3px;
	right: 18px;
	z-index: 30;
	margin: 4px 0;
 	padding: 0;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
}

.menu-toggle span {
	background-color: rgb(66,50,50);
	display: block;
	position: absolute;
	height: 4px;
	width: 50%;
	opacity: 1;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}

.menu-toggle.open span {
	background-color: rgb(150,141,141);
}

.menu-toggle span:nth-child(even) {
  left: 50%;
  border-radius: 0 1px 1px 0;
}

.menu-toggle span:nth-child(odd) {
  left:0;
  border-radius: 1px 0 0 1px;
}

.menu-toggle span:nth-child(1), .menu-toggle span:nth-child(2) {
  top: 9px;
}

.menu-toggle span:nth-child(3), .menu-toggle span:nth-child(4) {
  top: 18px;
}

.menu-toggle span:nth-child(5), .menu-toggle span:nth-child(6) {
  top: 27px;
}

.menu-toggle.open span:nth-child(1),.menu-toggle.open span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.menu-toggle.open span:nth-child(2),.menu-toggle.open span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.menu-toggle.open span:nth-child(1) {
  left: 3px;
  top: 13px;
}

.menu-toggle.open span:nth-child(2) {
  left: calc(50% - 3px);
  top: 13px;
}

.menu-toggle.open span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

.menu-toggle.open span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

.menu-toggle.open span:nth-child(5) {
  left: 3px;
  top: 23px;
}

.menu-toggle.open span:nth-child(6) {
  left: calc(50% - 3px);
  top: 23px;
}

/*------------------------------Main Content------------------------------*/

.container{
	max-width: 1280px;
	width: 100%;
	margin:0 auto;
	padding:0;
}

.margin {
    margin: 0;
    padding: 0 54px;
}

.content{
	padding: 0;
	margin: 0;
	min-height: 360px;
	overflow: hidden;
}

.grid {
	padding: 0;
	margin: 0 0 18px;
}

.sidebar {
	width: 31.5%;
	margin-right: 2.75%;
    padding-bottom: 99999px;
    margin-bottom: -99999px;
}

.page-title{
	font-size: 22px;
	line-height: 30px;
	border-bottom: 1px dotted rgb(213,211,214);
	padding-top: 7px;
}

.sidebar p {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	color: rgb(66,50,50);
	font-size: 14px;
	line-height: 1.2;
	margin: 7px 0 14px;

}


/*------------------------------Footer------------------------------*/

footer {
	background-color: rgb(195,193,190);
	-webkit-box-shadow: 0 0 3px 1px rgba(0,0,0,.24);
	-moz-box-shadow: 0 0 3px 1px rgba(0,0,0,.24);
	box-shadow: 0 0 3px 1px rgba(0,0,0,.24);
	margin: 48px 0 0;
	padding: 12px 0 0;
	width: 100%;
}

footer p {
	text-align: center;
	font-size: 13px;
	line-height: 1;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-style: normal;
	margin: 0;
	padding: 0 0 12px;
}

ul.social {
	text-align: center;
    padding: 0;
    margin: 0 auto 12px;
    list-style-type: none;
}

.social li {
    display:inline-block; 
    margin: 0 9px 0 0;
}

.social img {
	background-color: rgb(66,50,50);
    height: 30px;
    width: 30px;
    border-radius: 50%;
}

.social img:hover {
	background-color: rgb(90,76,76);
}

/*------------------------------Work------------------------------*/

figure.project-image {
    margin: 0 auto;
    padding: 0 0 .5%;
}

div.project-video {
    margin: 0 auto 3px;
}
.project-image img {
	width: 100%;
}

.project-video video {
	width: 100%;
	padding: 0;
	margin: 0;
}

.project-intro {
	max-width: 880px;
	width: 100%;
	margin: 18px auto 60px;
}

.project-intro h1 {
	-webkit-column-span: all; /* Chrome, Safari, Opera */
    column-span: all;
    width: 100%;
    font-size: 32px;
	line-height: 1.2;
	letter-spacing: 2px;
	border-bottom: 1px dotted rgb(213,211,214);
	padding: 0;
	margin: 0 0 18px;
}

.project-intro article {
	margin: 0 0 14px;
    padding: 0;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 24px;
    -moz-column-gap: 24px;
    column-gap: 24px;
}

.project-intro p, .project-info p {
	color: rgb(66,50,50);
	margin: 0 0 14px;
	padding: 0;
}

.project-intro a, .project-info a {
	color: rgb(66,50,50);
	text-decoration: underline;
}

.project-intro a:hover, .project-info a:hover {
	color: rgb(234,186,66);
}

.project-images {
	width: 100%;
}

article.project-info {
	max-width: 428px;
	margin: 30px auto;
    padding: 0 0 .5%
}

article.project-info.full-width {
	max-width: 880px;
}

article.project-info.column-2 {
	max-width: 880px;
	-webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 24px;
    -moz-column-gap: 24px;
    column-gap: 24px;
}

.project-info h3 {
	-webkit-column-span: all; /* Chrome, Safari, Opera */
    column-span: all;
	font-family: 'Oswald', sans-serif;
	font-weight: normal;
	font-style: normal;
	font-size: 16px;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: rgb(0,78,92);
	padding: 0;
	margin: 0 0 6px;
}

/*------------------------------About------------------------------*/

.sidebar.about  {
	float:left;
}

.about-text {
	float: left;
	padding-top: 12px;
	width: 65.75%;
    padding-bottom: 99999px;
    margin-bottom: -99999px;
}

.about-text h1 {
	-webkit-column-span: all; /* Chrome, Safari, Opera */
    column-span: all;
    width: 100%;
    font-size: 32px;
	line-height: 1.2;
	letter-spacing: 2px;
	border-bottom: 1px dotted rgb(213,211,214);
	padding: 0;
	margin: 0 0 18px;
}

.about-text h3 {
	font-family: 'Oswald', sans-serif;
	font-weight: normal;
	font-style: normal;
	font-size: 16px;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 0;
	margin: 0 0 6px;
}

.about-text article {
	padding: 0;
	margin: 0 0 36px;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 24px;
    -moz-column-gap: 24px;
    column-gap: 24px;
}

.about-text p {
	color: rgb(66,50,50);
	margin: 0 0 14px;
	padding: 0;
}

.about-text a {
	color: rgb(66,50,50);
	text-decoration: underline;
}

.about-text a:hover {
	color: rgb(90,76,76);
}


.about figure {
	width: 100%;
	height: 0;
	padding: 0 0 100%;
	margin: 12px 0 0;
	overflow: hidden;
	-webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.about img {
	width: 100%;
	padding: 0;
	margin: 0;
}


/*------------------------------Isotope------------------------------*/

.gutter-sizer {
    width: .8%;
}

.element-item {
    width: 32.8%;
    height: 0;
    padding-bottom: 21.8666%;
}

.element-item {
    float: left;
}

.element-item figure {
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.iso-img {
    width:100%;
    max-width:100%;
    background-color: rgb(255,255,255);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

img.iso-img:hover {
    opacity: 0.6;
    filter: alpha(opacity=60);
}

/* Fade in effect */
.isotope .element-item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    transition-duration: 0.8s;
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    transition-property: transform, opacity;
}

/* To ensure hidden items don't interfere with visible items */

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}


/*------------------------------Delete------------------------------*/

.testcolor {
	background-color: RGB(221, 78, 64);
}