/*  ================================================
	Author: Codeberry
	Name: Cosmos
	URL: https://codeberry.net/downloads/cosmos
	Version: 1.0
	================================================ */

/* Import fonts and icons */
@import url("font-awesome.min.css");
@import url("normalize.css");
@import url("grid.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600");

/* 1. 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, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	-webkit-text-size-adjust: none;
}

*,
*:before,
*:after {
	square-sizing: border-square;
}

/* 2. Content elements */
::-moz-selection {
	background: #e5e5e5;
	text-shadow: none;
}

::selection {
	background: #e5e5e5;
	text-shadow: none;
}

*,
*:after,
*:before {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}

body {
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 1.5em;
	font-weight: 400;
	line-height: 1.6;
	color: #333333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
	margin: 0.75em 0 0.75em 0;
}

h1 {
	font-size: 3.5em;
	line-height: 1.2;
}

@media screen and (min-width: 550px) {
	h1 {
		font-size: 3.5em;
	}
}

h2 {
	font-size: 2.5em;
	line-height: 1.25;
}

@media screen and (min-width: 550px) {
	h2 {
		font-size: 2.5em;
	}
}

h3 {
	font-size: 1.5em;
	line-height: 1.3;
	margin: 0.85em 0 0.85em 0;
}

@media screen and (min-width: 550px) {
	h3 {
		font-size: 2em;
	} 
}

h4 {
	font-size: 1.5em;
	line-height: 1.35;
}

@media screen and (min-width: 550px) {
	h4 {
		font-size: 1.75em;
	}
}

h5 {
	font-size: 1.25em;
	line-height: 1.5;
}

@media screen and (min-width: 550px) {
	h5 {
		font-size: 1.5em;
	}
}

h6 {
	font-size: .75em;
	line-height: 1.6;
}

@media screen and (min-width: 550px) {
	h6 {
		font-size: 1em;
	}
}

p {
	margin: 0.938em 0 2.5em;
}

a {
	color: #999999;
	text-decoration: none;
	-webkit-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
	   -moz-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
		-ms-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
			transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

a:hover {
	color: #333333;
}

strong {
	font-weight: 600;
}

em {
	font-style: italic;
} 

img {
	max-width: 100%;
}

.logo {
	width: 33px;
	height: 40px;
}

.text-center {
	text-align: center;
}

hr {
	margin: 2em 0 0 0;
	border: .5px solid #ececec;
}

/* Button elements */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	display: inline-block;
	color: #ffffff;
	background: #333333;
	font-weight: 600;
	border-radius: 0.2em;
	border: 0;
	cursor: pointer;
	display: inline-block;
	padding: 0 2em;
	height: 2em;
	height: calc(2.75em + 3px);
	line-height: 2.75em;
	min-width: 7em;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	-webkit-appearance: none;
	   -moz-appearance: none;
		-ms-appearance: none;
			appearance: none;
	-webkit-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out;
	   -moz-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out;
		-ms-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out;
			transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
	color: #ffffff;
	background: #484848;
}

@media screen and (max-width: 549px) {
	.button.conform,
	button.conform,
	input[type="submit"].conform,
	input[type="reset"].conform,
	input[type="button"].conform {
		display: block;
		width: 100%;
		min-width: 0;
		margin: 0 0 1em 0;
	}
}

/* Form elements */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
	height: 38px;
	padding: 0.375em 0.625em;
	width: 100%;
	background: #ffffff;
	border: 1px solid #cccccc;
	border-radius: none;
	box-shadow: none;
	box-sizing: border-box;
}

/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
	-webkit-appearance: none;
	   -moz-appearance: none;
			appearance: none;
}

textarea {
	min-height: 6.250em;
	padding: 0.375em 0.625em;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
	border: 1px solid #333333;
	outline: 0;
}

label,
legend {
	font-weight: 600;
	display: block;
	margin-bottom: .5rem;
}

fieldset {
	padding: 0;
	border-width: 0;
}

input[type="checkbox"],
input[type="radio"] {
	display: inline;
}

label > .label-body {
	display: inline-block;
	font-weight: normal;
	margin-left: .5rem;
}

/* List elements */
ul {
	list-style: disc inside;
}

ol {
	list-style: decimal inside;
}

ol,
ul {
	padding-left: 0;
	margin-top: 0;
}

ul ul,
ul ol,
ol ol,
ol ul {
	font-size: 90%;
	margin: 1.5em 0 1.5em 3em;
}

li {
	margin-bottom: .5em;
}

/* Spacing elements */
button,
.button {
	margin-bottom: 1em;
}

input,
textarea,
select,
fieldset {
	margin-bottom: 1.5em;
}

pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
	margin-bottom: 2em;
}

/* Utilities and self clearing elements */
.u-full-width {
	width: 100%;
	box-sizing: border-box;
}

.u-max-full-width {
	max-width: 100%;
	box-sizing: border-box;
}

.u-pull-right {
	float: right;
}

.u-pull-left {
	float: left;
}

.u-no-margin {
	margin: 0;
}

.container:after,
.row:after,
.u-cf {
	content: "";
	display: table;
	clear: both;
}

h1.has-divider,
h2.has-divider,
h3.has-divider,
h4.has-divider {
	padding-top: 2em;
	width: 100%;
	white-space: nowrap;
	position: relative;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: center;
	-webkit-align-items: center;
		 -ms-flex-align: center;
			align-items: center;
	-webkit-justify-content: center;
			justify-content: center;
}

h1.has-divider:after,
h2.has-divider:after,
h3.has-divider:after,
h4.has-divider:after {
	content: '';
	position: relative;
	border-bottom: 1px solid #cccccc;
	top: 50%;
	left: 0;
	width: 100%;
	height: 100%;
	margin-left: 0.938em;
}

.tagline {
	display: block;
	font-size: 18px;
	color: #999999;
	margin-bottom: 1.250em;
}

/* Header and navigation elements */
.header {
	border-bottom: 1px solid #cccccc;
	padding: 1.875em 0 1.250em;
	margin-bottom: 1em;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-flow: column;
		-ms-flex-flow: column;
			flex-flow: column;
	-webkit-align-items: center;
		 -ms-flex-align: center;
			align-items: center;
}

@media screen and (min-width: 600px) {
	.header {
		padding-bottom: 2.188em;
		-webkit-flex-flow: row;
			-ms-flex-flow: row;
				flex-flow: row;
	}
}

.navigation {
	width: 100%;
	max-width: 300px;
	margin-top: 1.250em;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: justify;
	-webkit-align-items: center;
		 -ms-flex-align: center;
			align-items: center;
	-webkit-justify-content: space-between;
			justify-content: space-between;
}

@media screen and (min-width: 600px) {
	.navigation {
		margin: 0 0 0 auto;
	}
}

.navigation-menu-item {
	color: #808080;
	text-transform: capitalize;
	text-decoration: none;
	margin-left: 3em;
}

@media screen and (max-width: 600px) {
	.navigation-menu-item {
		margin-left: 0;
	}
}

.navigation-menu-item:hover {
	color: #808080;
	border-bottom: 1px solid #808080;
	text-decoration: none;
}

.navigation-menu-item.is-selected {
	font-weight: 600;
	color: #333333;
}

/* Portfolio elements */
.portfolio {
	padding-top: 2em;
	line-height: 1.2;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
			flex-wrap: wrap;
}

.project-wrapper {
	position: relative;
	overflow: hidden;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
			justify-content: center;
	-webkit-align-items: center;
		 -ms-flex-align: center;
			align-items: center;
}

.project-wrapper:after,
.project-wrapper:before {
	position: absolute;
	opacity: 0;
	transition: 200ms ease-in-out;
}

.project-wrapper:after {
	content: '';
	background: #000000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.project-image {
	transition: 200ms ease-in-out;
	-webkit-backface-visibility: hidden;
			backface-visibility: hidden;
}

.project-item {
	color: #333333;
	margin-bottom: 1.563em;
	padding-bottom: 2em;
	text-decoration: none;
	width: 100%;
}

@media screen and (min-width: 600px) {
	.project-item {
		width: 49%;
		margin-right: 1%;
	}
}

@media screen and (min-width: 1000px) {
	.project-item {
		width: 32%;
	}
}

.portfolio-item-grid .project-item {
	width: 49%;
	margin-right: 1%;
}

@media screen and (min-width: 600px) {
	.portfolio-item-grid .project-item {
		width: 23%;
		margin-right: 2%;
	}
}

.project-item:hover {
	color: #000000;
}

.project-item:hover .project-image {
	-webkit-transform: scale(1.05);
		-ms-transform: scale(1.05);
			transform: scale(1.05);
}

.project-item:hover .project-wrapper:after {
	opacity: 0.5;
}

.project-title {
	font-size: 1.125em;
	font-weight: 600;
	margin: 1em 0 0.625em 0;
	display: block;
}

.project-description {
	font-size: 0.9375em;
	font-weight: 400;
	color: #999999;
}

.project-text {
	margin: 0.938em 0
}

.project p.margin-top {
	margin-top: 2.5em;
}

@media screen and (max-width: 580px) {
	.project p.margin-top {
		margin-top: 2.5em;
	}
}

@media screen and (max-width: 549px) {
	.project p.margin-top {
		margin-top: 1em;
	}
}

/* About page elements */
.principles h5.margin-top {
	margin-top: 1.4em;
}

@media screen and (max-width: 549px) {
	.principles h5.margin-top {
		margin-top: 1em;
	}
}

.services ul.margin-top,
.clients ul.margin-top {
	margin-top: 2.5em;
}

@media screen and (max-width: 580px) {
	.services ul.margin-top,
	.clients ul.margin-top {
		margin-top: 2.5em;
	}
}

@media screen and (max-width: 549px) {
	.services ul.margin-top,
	.clients ul.margin-top {
		margin-top: 1em;
	}
}

/* Contact form elements */
#contact-form {
	padding-top: 2em;
}

/* Footer elements */
.footer {
	border-top: 1px solid #cccccc;
	padding: 3.75em 0;
	margin-top: 25px;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-flow: column;
		-ms-flex-flow: column;
			flex-flow: column;
	-webkit-align-items: center;
		 -ms-flex-align: center;
			align-items: center;
}

@media screen and (min-width: 600px) {
	.footer {
		-webkit-flex-flow: row;
			-ms-flex-flow: row;
				flex-flow: row;
	} 
}

@media screen and (max-width: 600px) {
	.footer {
		padding: 2em 0;
	}

	.footer .copyright {
		margin-top: 1.5em;
	}
}

/* Social elements */
.social {
	font-size: 0.875em;
	width: 100%;
	margin-left: auto;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	-ms-flex-order: -1;
	 -webkit-order: -1;
			 order: -1;
	-webkit-justify-content: space-around;
			justify-content: space-around;
}

@media screen and (min-width: 600px) {
	.social {
		max-width: 250px;
		-ms-flex-order: 1;
		 -webkit-order: 1;
				 order: 1;
	}
}

.social-link {
	color: #999999;
	transition: 200ms ease-in-out;
}

.social-link:hover {
	color: #333333;
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}

.w3-modal {
	z-index:3;
	display:none;
	padding-top:100px;
	position:fixed;
	left:0;
	top:0;
	width:100%;
	height:100%;
	overflow:auto;
	background-color:rgb(0,0,0);
	background-color:rgba(0,0,0,0.4)
}

.w3-modal-content {
	margin:auto;
	background-color:#fff;
	position:relative;
	padding:0;
	outline:0;
	width:70%;
}

.w3-opacity,.w3-hover-opacity:hover{opacity:0.60}.w3-opacity-off,.w3-hover-opacity-off:hover{opacity:1}
.w3-animate-zoom {animation:animatezoom 0.6s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}