@font-face {
	font-family: rubik_m;
	src: url('../images/fonts/Rubik-Medium.woff') format('woff');
}
@font-face {
	font-family: rubik_r;
	src: url('../images/fonts/Rubik-Regular.woff') format('woff');
}
@font-face {
	font-family: raleway;
	src: url('../images/fonts/Raleway-Regular.woff') format('woff');
}
@font-face {
	font-family: raleway_b;
	src: url('../images/fonts/Raleway-Bold.woff') format('woff');
}


html, body {
	margin: 0px;
	background-color: #ECECEC;
	color: #303030;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	height: 100%;
	width: 100%;
}

.border {
	border: 1px solid red;
}
.border2 {
	border: 1px solid green;
}

.clear {
	clear: both;
}
.text_link {
	color: #303030;
}
.text_link:hover {
	text-decoration: none;
	color: #7F6465;
}
.fl {
	float: left;
}


#logo {
	float:left;
	margin: 20px 0 0 10%;
}
#logo span {
	display: inline-block;
}
span.first {
	font-size: 35px;
	color: #303030;
	font-family: raleway;
	padding-right: 15px;
}
span.last {
	font-size: 35px;
	color: #303030;
	font-family: raleway_b;
	border: 4px solid #303030;
	padding: 5px 15px;
}

span#lang {
	font-family: raleway;
	font-size: 14px;
	margin-left: 10px;
}
div.lang {
	line-height: 35px;
	padding-right: 10px;
}
div.lang a {
	color: #303030;
	text-decoration:none;
}
div.lang a:hover {
	color: #7F6465;
	border-bottom: 1px solid #7F6465;
}

.logo {
	width: 250px;
}

nav#menu {
	float: right;
	margin: 20px 10% 0 0;
}
nav#menu .burger {
	display: none;
	font-size: 35px;
	cursor: pointer;
}

nav#menu ul#menu_full, nav#menu ul#menu_mobile {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}
nav#menu ul#menu_full li {
	display: inline-block;
	padding: 20px 25px;
}
nav#menu ul#menu_mobile {
	display: none;
	position: absolute;
	top: 70px;
	width: 250px;
	right: 10%;
	text-align: right;
	background-color: #ECECEC;
}
ul#menu_mobile li {
	margin-top: 10px;
}

nav#menu a {
	font-family: raleway;
	color: #303030;
	font-size: 24px;
	text-decoration: none;
}

nav#menu a:hover {
	color: #7F6465;
	border-bottom: 1px solid #7F6465;
}

section#main {
	margin: 100px 10%;
}

article#info, article#skills, article#experience, article#form, article#social, article#workdesc, article#works, article#scripts, article#additional {
	color: #303030;
	font-family: raleway;
	font-size: 18px;
	width: 100%;
	margin: 70px auto 20px auto;
	text-align: justify;
	line-height: 26px;
}

h1.title {
	color: #7F6465;
	font-family: rubik_r;
	font-size: 42px;
	margin-bottom: 10px;
	display: inline-block;
}
h1.title.contact {
	margin-bottom: 30px;
}

article#skills i {
	font-size: 48px;
}
article#skills article {
	margin: 15px 0;
	width: 100%;
}
.skill_logo {
	width: 100%;
	padding-bottom: 15px;
	text-align: center;
}
.skill_list {
	width: 100%;
}
.skill_list {
	display: inline-block;
	*display: inline;
	z-index: 1;
	vertical-align: middle;
	text-align: center;
}
span.skill {
	display: inline-block;
	padding: 13px 20px;
}

div.form_left, div.form_right {
	float: left;
	width: 50%;
}

input, textarea {
	border: 0px;
	border-bottom: 1px solid #7F6465;
	background-color: #ECECEC;
	padding: 8px 0px;
	font-family: raleway;
	color: #303030;
	width: 90%;
	font-size: 14px;
}
input {
	margin: 30px 0px;
}
textarea {
	float: right;
	height: 330px;
	padding: 8px;
	resize: none;
}
.g-recaptcha {
	float: left;
}
button {
	float: right;
	margin: 30px 10% 0 0;
	background-color: #ECECEC;
	border: 2px solid #303030;
	cursor: pointer;
	height: 35px;
	width: 40%;
	font-size: 14px;
	font-family: rubik_r;
}
button:hover{
	border-color: #7F6465;
	color: #7F6465;
}
span.contact_msg {
	display: inline-block;
	padding-left: 20px;
}
span.contact_msg.ok {
	color: #00AD2B;
}
span.contact_msg.error {
	color: #DD0000;
}
span.contact_msg.alert {
	color: #FFA100;
}


div.direct {
	text-align: center;
}
div#phone, div#mail, div#in, div#fb {
	display: inline-block;
	margin: 10px 40px;
	font-size: 30px;
	text-align: center;
	line-height: 46px;
}
div.direct span {
	display: inline-block;
	white-space: nowrap;
	font-size: 18px;
}


div.work {
	width: 30%;
	float: left;
	text-align: center;
	margin-top: 30px;
	height: 440px;
}
div.exp {
	width: 25%;
	float: left;
	text-align: center;
}
div.work span, div.work a, div.exp span {
	display: block;
}
div.work a.work_name {
	font-weight: bold;
	font-family: rubik_m;
	font-size: 15px;
	line-height: 26px;
	color: #303030;
}
div.work a.work_name:hover {
	text-decoration: none;
	color: #7F6465;
}
div.work span.work_desc {
	font-size: 14px;
	line-height: 22px;
	text-align: justify;
}
div.exp span {
	font-size: 14px;
	line-height: 22px;
}
div.exp span.exp_title {
	font-weight: bold;
	font-size: 16px;
}
div.space {
	width: 5%;
	float: left;
}
img.work_image {
	width: 100%;
	margin-bottom: 10px;
}
.row {
	margin-bottom: 30px;
}
div.work.first {
	margin-right: 5%;
}
div.work.last {
	margin-left: 5%;
}



span.script_title {
	display: block;
	font-family: rubik_r;
	
}
span.small {
	font-size: 12px;
}
span.script_desc {
	font-family: raleway;
	font-size: 14px;
}
code.code_format {
	width: 100%;
	font-size: 14px;
}
article#scripts ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}
article#scripts ul li {
	padding: 0;
	margin: 0 0 35px 0;
	line-height: 18px;
}


/* 
//menu collapse: 1220px
//works 2 column: 1400px;
//social icons collapse: 1100px
//contact form collapse: 1000px
//experience collapse: 1000px
*/

@media only screen and (min-width: 1401px) {
	#works .work:nth-of-type(3n) {
		margin-left: 5%;
	}
	#works .work:nth-of-type(3n-2) {
		margin-right: 5%;
	}
	div.work:nth-of-type(1), div.work:nth-of-type(2), div.work:nth-of-type(3) {
		margin-top: 0px !important;
	}
	div.work {
		height: 400px;
	}
}
@media only screen and (max-width: 1400px) {
	div.work {
		width: 45%;
	}
	#works .work:nth-of-type(2n) {
		margin-left: 5%;
	}
	#works .work:nth-of-type(2n+1) {
		margin-right: 5%;
	}
	div.work:nth-of-type(1), div.work:nth-of-type(2) {
		margin-top: 0px !important;
	}
	article#additional {
		margin-top: 0px !important;
	}
	#works .work:last-of-type {
		height: 350px !important;
	}
}
@media only screen and (min-width: 1231px) {
	nav#menu ul#menu_full {
		display: block;
	}
	nav#menu ul#menu_mobile {
		display: none !important;
	}
	nav#menu .burger {
		display: none;
	}
}
@media only screen and (max-width: 1230px) {
	nav#menu ul#menu_full {
		display: none;
	}
	nav#menu ul#menu_mobile {
		display: none;
	}
	nav#menu .burger {
		display: block;
	}
}
@media only screen and (min-width: 1051px) and (max-width: 1399px) {
	div.work {
		height: 450px;
	}
	#works .work:last-of-type {
		height: 350px !important;
	}
}
@media only screen and (max-width: 1050px) {
	div.work {
		height: 400px;
	}
	#works .work:last-of-type {
		height: 350px !important;
	}
}
@media only screen and (max-width: 932px) {
	#workdesc h1 {
		line-height: 40px;
	}
}
@media only screen and (max-width: 880px) {
	div.work {
		width: 100%;
		margin: 0 0 50px 0 !important;
		height: auto;
	}
	article#additional {
		margin-top: 0px !important;
	}
}