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

body {
	font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: 500;
	color: #3f4244;
	background: url("../images/layout/project-paper.png");
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body::-webkit-scrollbar-track
{
  border-radius: 10px;
  background-color: inherit;
}

body::-webkit-scrollbar
{
  width: 12px;
  background-color: inherit;
}

body::-webkit-scrollbar-thumb
{
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color: #dee9ee;
}

a {
	outline: none;
	color: #aaa;
	text-decoration: none;
}

a:hover, a:focus {
	color: #333;
}

body #cdawrap {
	top: 15px;
	background: rgba(255,255,255,0.3);
	border: none;
}

a {
	font-weight: bold;
	color: #ff6938;
}

a:hover,
a:focus {
	color: #424446;
}

.Background {
	position: fixed;
	z-index: 2;
	top: 0;
	bottom: 0;
	left: 0;
	width: calc(100vw - 760px);
}

.TextContainer {
	font-size: 22px;
	line-height: 1.4;
	position: absolute;
	left: calc(100vw - 760px);
	max-width: 760px;
	padding-top: 50vh;
	padding-right: 40px;
	padding-left: 40px;
	background-color: #fff;
}

.Text-title {
	margin-left: -200px;
}

.Text-titleMedium,
.Text-titleSmall {
	display: none;
}

.Text {
	font-family: Georgia, Garamond, 'Times New Roman', serif;
	padding: 0 0 2em 0;
}

.Text p {
	font-size: 0.85em;
}

.Text p:first-of-type {
	font-size: 1.05em;
	font-style: italic;
}

@media(min-width:1436px) {
	.Background {
		width: calc(1436px - 760px);
	}
	.TextContainer {
		left: calc(1436px - 760px);
	}
}

@media(max-width:1040px) {
	.Background {
		position: relative;
		bottom: auto;
		width: 100%;
		max-width: none;
		height: 100vh;
	}
	.TextContainer {
		left: 0;
		padding-top: 0;
	}
	.Text-title {
		display: none;
	}
	.Text-titleMedium {
		position: absolute;
		top: -250px;
		right: 20px;
		display: block;
	}
}

@media(max-width:720px) {
	.Text-titleMedium {
		display: none;
	}
	.Text-titleSmall {
		position: absolute;
		top: -250px;
		right: 20px;
		display: block;
	}
}
