body {
	font-family: adobe-caslon-pro, serif;
	background-color: #fff;
	color: #111111;
	position: relative;
}

/* Fonts */
.caslon {
	font-family: adobe-caslon-pro, serif;
	font-weight: 400;
	font-style: normal;
}

.nunito-medium {
	font-family: nunito, sans-serif;
	font-weight: 500;
	font-style: normal;
}

.nunito-extrabold {
	font-family: nunito, sans-serif;
	font-weight: 800;
	font-style: normal;
}

/* Typography */

p {
	font-size: 13px;
	line-height: 18px;
	-webkit-font-smoothing: antialiased;
}

h1 {
	font-size: 5vw;
  line-height: 5.5vw;

	display: block;
	position: relative;

	height: 12vw;
	width: 65vw;

	max-width: 500px;

	text-indent: -9999px;

	background: url(../images/cdoor_logo.svg) center center no-repeat;
	background-size: 100% auto;

	border: 0px solid red;

	margin-left: 40px;
}

h2 {
  font-weight: 400;

	font-size: 4vw;
	line-height: 4.5vw;

	max-width: 450px;

	margin-left: 40px;
	margin-top: 20px;

	color: #414141;

	-webkit-font-smoothing: antialiased;
}

a, a:visited, a:hover, a:link, a:active {
	text-decoration: none;
	color: #000;
}

/* Structure */

section#main {
  position: fixed;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;

  /* max-width: 1000px;
  margin: 0 auto; */
}

div#panel {
  display: block;
  width: auto;
  height: auto;
}

footer {
	position: fixed;
	left: 0px;
	right: 0px;
	top: auto;
	bottom: 0px;

	display: flex;
	align-items: center;
	justify-content: left;

	background-color: transparent;

	color: #111111;

	padding-top: 30px;
	padding-bottom: 20px;

	margin-top: 60px;
	border-top: 1px solid #ececec;
}

footer ul {
	display: block;
	align-self: flex-end;
	width: 100%;

	margin-left: 15px;
	margin-right: 30px;
}

footer ul li {
	float: left;
	width: 33%;
	margin-top: 30px;

	max-width: 250px;
}

footer ul li:first-child {
	margin-top: 0px;
	padding-top: 0px;
}

footer ul li p {
	padding-left: 25px;
	padding-bottom: 10px;

	font-family: nunito, sans-serif;
	font-weight: 500;
	font-style: normal;

	color: #616161;
}

p strong {
	font-family: nunito, sans-serif;
	font-weight: 800;
	font-style: normal;

	color: #111111;
	margin-bottom: 10px;
	display: block;
}

footer li.phone p a,
footer li.phone p a:visited,
footer li.phone p a:link,
footer li.phone p a:active {
	color: #616161;
}

footer p a,
footer p a:visited,
footer p a:link,
footer p a:active {
	font-weight: 600;
	border-bottom: 1px solid #fff;
	color: #616161;
}

footer p a:hover {
	border-bottom: 1px solid #e2e2e2;
}


@media only all and (max-width: 740px){
	h1 {
		height: 13vw;
		width: auto;

		max-width: 65%;

		margin-left: 30px;
		margin-right: 60px;
	}

	h2 {
		font-size: 6vw;
		line-height: 7.3vw;

		margin-left: 30px;

		margin-top: 15px;

		width: 70%;
	}

	footer ul {
		margin-bottom: 10px;
	}

	footer ul li {
		float: none;
		width: 100%;
		margin-top: 10px;
	}

	footer ul li p {
		padding-left: 20px;
		padding-bottom: 0px;
		margin: 0px;
	}
}

@media only all and (min-width: 1024px){
	h1 {
		height: 130px;
		line-height: 10px;
	}

	h2 {
		font-size: 40px;
		line-height: 45px;

		margin-left: 40px;

		margin-top: 0px;

		width: 550px;
	}
}

@media only all and (max-height: 900px) and (max-width: 736px){
	section#main {
	  bottom: 25%;
	}
}

@media only all and (max-height: 600px){
	section#main {
	  bottom: 30%;
	}
}

@media only all and (max-height: 550px){
	section#main {
		position: relative;
		left: auto;
	  right: auto;
	  top: auto;
	  bottom: auto;
		padding-left: 0px;
		padding-right: 0px;
	}

	footer {
		position: relative;
		left: auto;
		right: auto;
		top: auto;
		bottom: auto;

		display: block;
		align-items: center;
		justify-content: center;

		padding-top: 30px;

		padding-left: 0px;
		padding-right: 0px;

		margin-top: 60px;
	}

	footer ul {
		margin-left: 0px;
		margin-right: 0px;
	}

	footer ul li {
		padding-left: 0px;
	}

	h1 {
		padding-top: 80px;
		height: auto;
		min-height: 12vw;
		width: auto;
		max-width: 400px;

		margin: 0px;
		padding: 0px;

		margin-top: 50px;
		margin-left: 20px;
		margin-right: 25px;
	}

	h2 {
		height: auto;
		min-height: 8vw;
		width: auto;
		max-width: 400px;

		margin: 0px;
		padding: 0px;

		margin-top: 20px;
		margin-left: 20px;
	}
}

@media only all and (max-height: 550px) and (max-width: 736px){
	h1 {
		min-height: 14vw;
	}

	h2 {
		margin-top: 30px;
		line-height: 6vw;
	}
}


/* Error */

body.error h1#title {
	font-size: 35px;
  line-height: 45px;

	display: block;
	position: relative;

	height: auto;
	width: auto;

	max-width: 500px;

	text-indent: 0px;

	background: none;
	background-size: auto;

	margin-left: 40px;

	color: #ff0000;
}

body.error h1#title strong {
	font-family: nunito, sans-serif;
	font-weight: 500;

	font-size: 60px;
	line-height: 80px;
}


body.error h2#subtitle {
  font-weight: 400;

	font-size: 20px;
	line-height: 30px;

	max-width: 400px;

	display: inline-block;
	width: auto;

	margin-top: 60px;
	margin-left: 40px;

	color: #111111;

	-webkit-font-smoothing: antialiased;

	border-bottom: 1px solid #ccc;
}
