@import url("reset.css");

body {
	background: #F5F5F5;
	font-family: 'Work Sans', sans-serif;
	font-size: 15px;
}

.loading {
  background-image: url(images/loader.gif);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px;
  opacity: 0.5;
  position: absolute;
  height: 100%;
  width: 100%;
}

body, a {
	color: #999;
}

a {
	display: block;
	text-decoration: none;
	-moz-transition: color 0.4s ease-in-out;
  -webkit-transition: color 0.4s ease-in-out;
  transition: color 0.4s ease-in-out;
}

a:hover {
	color: #000;
}

h1, h3, p, .submit {
	display: inline-block;
	padding-top: 12px;
	padding-left: 13px;
}

h1 {
	margin-right: 100px;
	position: relative;
	z-index: 9000;
}

.submit {
	display: none;
}

.left, .right {
	position: absolute;
	top: 0px;
}

.left {
	left: 0px;
}

.right {
	right: 0px;
}

img {
	display: block;
}

#container {
	margin-bottom: 60px;
}

article, .edition {
	width: 960px;
  min-height: 90px;
	margin: 0 auto;
}

article img, .edition img {
	width: 100%;
}

article .panel, .flex-control-nav {
  width: 435px;
}

article .panel {
	box-sizing: border-box;
	height: 90px;
	position: absolute;
	padding-right: 10px;
  z-index: 9000;
}

article .panel:after {
	clear: both;
}

.project {
	background: #e2f0d6;
}

.social {
	padding-top: 12px;
	padding-right: 12px;
}

#infscr-loading {
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	margin: 0 auto;
	padding-top: 25px;
	text-align: center;
}

#infscr-loading img {
	margin: 10px auto;
}

@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}

@-moz-keyframes fadein { /* Firefox */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}

@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}

@-o-keyframes fadein { /* Opera */
    from {
        opacity:0;
    }
    to {
        opacity: 1;
    }
}

.fade {
	-moz-animation: fadein 2s; /* Firefox */
	-webkit-animation: fadein 2s; /* Safari and Chrome */
	-o-animation: fadein 2s; /* Opera */
	transition: fadein 2s; /* Global */
}

@media only screen and (max-width: 1560px) {
	.social li, h1 {
		display: block;
	}

	.social li:last-child {
		margin-left: 0px;
	}
}

@media only screen and (max-width: 1200px) {
	body {
		background: #FFF;
	}

	.left {
		position: static;
		height: 140px;
	}

	h1 {
		display: inline-block;
	}

	article, .edition {
		width: 100%;
	}
}

@media only screen and (max-width: 767px) {
  body {
    font-size: 13px;
  }

	.left, .right {
		display: none;
	}

  article .panel, .flex-control-nav {
    width: 80%;
  }

	article .panel {
    height: auto;
    padding-bottom: 24px;
	}

	p {
		display: block;
		padding-top: 0px;
	}

	.edition {
		height: auto;
		min-height: inherit
	}
}
