
/** ==================================================

Project: Heraz
Description: Creative portfolio template
Version: 1.0
Last change: January 20, 2017

by layerz


[TABLE OF CONTENTS]

- Imports
- Base styles
- Grid
- Links
- Typography
- Buttons
- Forms
- Blockquotes
- Misc

================================================== */



/** Imports
================================================== */

	/** google fonts */
	@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700|Oswald:300,400');

	/** font awesome */
	@import '../font-awesome/css/font-awesome.css';


/** Base styles
================================================== */

	html {
		overflow-x: hidden;
		overflow-y: scroll;
	}

	body {
		font-family: 'Source Sans Pro', sans-serif;
		font-size: 18px;
		color: #888888;
		line-height: 1.8;
		letter-spacing: 0.05em;
		background: #eeeeee;
	}

	*,
	*::before,
	*::after {
		margin: 0;
		padding: 0;
		outline: 0;
		border: 0;

		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	.wrapper {
		opacity: 0;
		overflow: hidden;
		position: relative;
	}

	/** loading */
	.loading {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9999;
		background: #eeeeee;
	}

	.loading::before {
		content: '';
		width: 20px;
		height: 20px;
		border-radius: 50%;
		border: 3px solid #888888;
		border-top: 3px solid transparent;
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -10px 0 0 -10px;

		-webkit-animation: loader 1s linear infinite;
		animation: loader 1s linear infinite;
	}

	@-webkit-keyframes loader {
		0% { transform: rotate(0); }
		100% { transform: rotate(360deg); }
	}

	@keyframes loader {
		0% { transform: rotate(0); }
		100% { transform: rotate(360deg); }
	}


/** Grid
================================================== */

	.container {
		max-width: 1440px;
		margin: 0 auto;
		padding: 0 100px;
		position: relative;
	}

	.column {
		float: left;
		padding: 0 15px;
		position: relative;
	}

	.column:first-child { padding-left: 0; }
	.column:last-child { padding-right: 0; }

	.column.col-1 { width: 8.333%; }
	.column.col-2 { width: 16.666%; }
	.column.col-3 { width: 25%; }
	.column.col-4 { width: 33.333%; }
	.column.col-5 { width: 41.666%; }
	.column.col-6 { width: 50%; }
	.column.col-7 { width: 58.333%; }
	.column.col-8 { width: 66.666%; }
	.column.col-9 { width: 75%; }
	.column.col-10 { width: 83.333%; }
	.column.col-11 { width: 91.666%; }
	.column.col-12 { width: 100%; }

	.column.offset-by-1 { margin-left: 8.333%; }
	.column.offset-by-2 { margin-left: 16.666%; }
	.column.offset-by-3 { margin-left: 25%; }
	.column.offset-by-4 { margin-left: 33.333%; }
	.column.offset-by-5 { margin-left: 41.666%; }
	.column.offset-by-6 { margin-left: 50%; }
	.column.offset-by-7 { margin-left: 58.333%; }
	.column.offset-by-8 { margin-left: 66.666%; }
	.column.offset-by-9 { margin-left: 75%; }
	.column.offset-by-10 { margin-left: 83.333%; }
	.column.offset-by-11 { margin-left: 91.666%; }

	.row { margin-bottom: 30px; }
	.row:last-child { margin-bottom: 0; }

	/** clearing */
	.container::after,
	.row::after,
	.clear::after {
		content: '';
		display: block;
		clear: both;
	}


/** Links
================================================== */

	a {
		text-decoration: none;
		color: inherit;

		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}

	a.link {
		padding-bottom: 0.2em;
		border-bottom: 2px solid #cccccc;
	}

	a.link:hover {
		color: #222222;
		border-bottom-color: #222222;
	}


/** Typography
================================================== */

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		font-family: 'Oswald';
		font-weight: 300;
		font-style: normal;
		color: #222222;
	}

	h1 { font-size: 50px; }
	h2 { font-size: 38px; }
	h3 { font-size: 32px; }
	h4 { font-size: 28px; }
	h5 { font-size: 24px; }
	h6 { font-size: 18px; }

	.heading { margin-bottom: 30px; }

	.heading-title {
		text-transform: uppercase;
		font-family: 'Oswald';
		font-size: 18px;
		font-weight: 400;
		color: #222222;
		letter-spacing: 0.1em;
	}


/** Buttons
================================================== */

	.btn {
		display: inline-block;
		position: relative;
		height: 60px;
		line-height: 60px;
		border: none;
		text-transform: uppercase;
		font-family: 'Source Sans Pro';
		font-size: 14px;
		font-weight: 600;
		padding: 0 30px;
		color: #ffffff;
		cursor: pointer;
		background: #222222;

		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}

	.btn:hover { background: #333333; }

	.btn.icon { padding-right: 100px; }

	.btn.icon:before {
		content: '';
		width: 10px;
		height: 10px;
		border-top: 2px solid #888888;
		border-right: 2px solid #888888;
		position: absolute;
		top: 50%;
		right: 30px;
		margin-top: -5px;

		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}


/** Forms
================================================== */

	.form-group { margin-bottom: 5px; }
	.form-group:last-child { margin-bottom: 0; }

	.form-footer { margin-top: 30px; }

	.form-control {
		width: 100%;
		height: 50px;
		line-height: 50px;
		background: none;
		border: 2px solid #cccccc;
		font-family: 'Source Sans Pro';
		font-size: 16px;
		padding: 0 15px;

		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}

	.form-control:focus { border-color: #222222; }
	.form-control.form-control-error { border-color: #d02b2b; }

	textarea.form-control {
		resize: none;
		max-width: 100%;
		min-height: 100px;
		line-height: normal;
		padding: 15px;
	}

	label {
		display: inline-block;
		font-family: 'Source Sans Pro';
		font-size: 16px;
		padding: 0 15px;
		margin-bottom: 5px;
		letter-spacing: normal;
		cursor: pointer;
	}


/** Blockquotes
================================================== */

	blockquote {
		font-style: italic;
		padding: 30px;
		color: #222222;
		margin-bottom: 30px;
		border-left: 3px solid #222222;
		background: #dddddd;
	}

	blockquote:last-child { margin-bottom: 0; }


/** Misc
================================================== */

	.float-right { float: right; }
	.float-left { float: left; }

	img {
		max-width: 100%;
		vertical-align: middle;
	}
