@font-face {
  font-family: 'Canela-Thin';
  font-style: normal;
  font-weight: 400;
  src: local("Canela-Thin"), url(../fonts/Canela/Canela-Thin.otf) format("opentype"); }

@font-face {
  font-family: 'Canela-Light';
  font-style: normal;
  font-weight: 400;
  src: local("Canela-Light"), url(../fonts/Canela/Canela-Light.otf) format("opentype"); }

@font-face {
  font-family: 'Canela-Medium';
  font-style: normal;
  font-weight: 400;
  src: local("Canela-Medium"), url(../fonts/Canela/Canela-Medium.otf) format("opentype"); }

@font-face {
  font-family: 'DINPro-Bold';
  font-style: normal;
  font-weight: 400;
  src: local("DINPro-Bold"), url(../fonts/DINPro/DINPro-Bold.otf) format("opentype"); }

@font-face {
  font-family: 'DINPro-Light';
  font-style: normal;
  font-weight: 400;
  src: local("DINPro-Light"), url(../fonts/DINPro/DINPro-Light.otf) format("opentype"); }

a.active {
	color: red;
}

* {
	-webkit-box-sizing: initial;
	-moz-box-sizing: initial;
	box-sizing: initial;
}

body {
	margin: 0;
  background-color: #eee;
}

#main-wrapper {
	float: left;
	width: calc(100% - 200px - 200px);
	min-height: calc(100vh);
	padding: 0 100px;
}

#main-wrapper.home {
	background-color: white;
}

#nav-controller {
	z-index: 1;
	position: fixed;
	top: 0;
	right: 0;
	width: 200px;
	color: blue;
	height: 100vh;
	background-color: #eee;
}

.header {
	position: relative;
	height: 160px;
}

.logo {
	position: absolute;
	bottom: 0;
	height: 40px;
}

.content {
	height: calc(100vh - 320px - 150px);
  margin: 75px 0;
	display: table;
	width: 100%;
}

#main-wrapper.home .content {
	width: 70%;
}

.message {
	display: table-cell;
	vertical-align: middle;
	font-size: 3.4em;
	color: #21376d;
	font-family: 'Canela-Thin', serif;
	line-height: 1.2em;
}

.footer {
	border-top: 1px solid #21376d;
	height: 160px;
}

/* About */

#main-wrapper.about {
	background-color: #63c3a7;
}

.about-wrap {
	display: table-cell;
	vertical-align: middle;
}

.about-col {
	display: table-cell;
	width: 50%;
}

.about-heading {
	text-transform: uppercase;
	color: #21376d;
	margin-bottom: 45px;
	font-family: 'DINPro-Bold', sans-serif;
	letter-spacing: 4px;
}

.about-desc {
	font-size: 2em;
	color: white;
	padding-right: 12%;
	font-family: 'Canela-Thin', serif;
	line-height: 1.4em;
	letter-spacing: 1px;
}

.about-desc ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.about-desc ul li {
	margin-bottom: .8em;
	font-family: 'Canela-Light', serif;
}

/* Contact */

#main-wrapper.contact {
	background-color: #21376d;
}

.contact-wrap {
	display: table-cell;
	vertical-align: middle;
}

.contact-col {
	display: table-cell;
}

.contact-col:nth-of-type(1) {
	width: 80%;
}

.contact-col:nth-of-type(2) {
	width: 20%;
}

#contact-form {
  margin-right: 15%; }

.contact-form-elem {
  margin-bottom: 20px; }

.form-label {
  text-transform: uppercase;
  color: white;
  margin-bottom: 10px;
  font-family: 'DINPro-Light', sans-serif;
  letter-spacing: 3px;
  font-size: .8em; }

.form-control {
  background-color: transparent;
  color: white;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid white;
  -webkit-box-shadow: none !important;
  box-shadow: none !important; }

.form-control:focus {
  -webkit-box-shadow: none !important;
  box-shadow: none !important; }

textarea {
  resize: none; }

input[type=submit] {
  font-family: 'Canela-Medium', serif;
  letter-spacing: 1px;
  font-size: 1.5em;
  border-radius: 0;
  background: transparent;
  padding: 10px 25px;
  color: white;
  border: 2px solid white;
  margin: 25px 0;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  -o-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
  cursor: pointer; }

input[type=submit]:hover {
  color: #21376d;
  background-color: white;
  -webkit-transition: .4s ease-in-out;
  -moz-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out; }

.contact-heading {
  text-transform: uppercase;
  color: #63c3a7;
  margin-bottom: 10px;
  font-family: 'DINPro-Bold', sans-serif;
  letter-spacing: 2px;
  font-size: .8em; }

.contact-info {
  color: white;
  margin-bottom: 30px;
  font-size: 2em;
  font-family: 'Canela-Thin', serif;
  letter-spacing: 1px; }

.form-control {
  font-family: 'Canela-Thin', serif; }

.help-block {
  font-family: 'DINPro-Light', sans-serif; }

.btn-nav {
  position: relative;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  -o-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}

.btn-nav.about {
  background-color: #63c3a7;
}

.btn-nav.about:hover {
  background-color: #4f9c85;
  -webkit-transition: .4s ease-in-out;
  -moz-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}

.btn-nav.contact {
  background-color: #21376d;
}

.btn-nav.contact:hover {
  background-color: #1a2c57;
  -webkit-transition: .4s ease-in-out;
  -moz-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}

.btn-nav.half {
  height: 50%;
}

.btn-nav.full {
  height: 100%;
}

.btn-nav.gone {
  height: 0%;
  overflow: hidden;
}

.btn-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(90deg);
  text-transform: uppercase;
  color: white;
  font-family: 'DINPro-Bold', sans-serif;
  letter-spacing: 5px; }

.btn-submit-wrap {
  margin-top: 75px; 
}

/* Animation Overrides */

.delay-75 {
	-webkit-animation-delay: 0.75s; /* Safari 4.0 - 8.0 */
    animation-delay: 0.75s;
}

.delay-100 {
  -webkit-animation-delay: 1s; /* Safari 4.0 - 8.0 */
    animation-delay: 1s;
}

.delay-125 {
  -webkit-animation-delay: 1.25s; /* Safari 4.0 - 8.0 */
    animation-delay: 1.25s;
}

@-webkit-keyframes fadeInDownSmall {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -10%, 0);
    transform: translate3d(0, -10%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDownSmall {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -10%, 0);
    transform: translate3d(0, -10%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInDownSmall {
  -webkit-animation-name: fadeInDownSmall;
  animation-name: fadeInDownSmall;
}

/* Modal */

.modal-body {
  font-family: 'DINPro-Light', sans-serif;
  text-align: center;
  font-size: 1.5em;
}

.modal-footer {
  text-align: center;
}

.modal-btn {
  font-family: 'Canela-Light', serif;
  color: #21376d;
  cursor: pointer;
}

#nav-controller-mob {
  display: none;
}

/* Tablet Media Queries */
@media (min-width: 768px) and (max-width: 1024px) {

  #main-wrapper.home .content {
    width: 75%;
  }

}

/* Mobile Media Queries */
@media (max-width: 767px) {

  .header {
    height: 65px;
  }

  .footer {
    height: 65px;
  }

  .logo {
    height: 30px;
  }

  .content {
    height: calc(100vh - 130px - 150px);
  }

  .content.home {
    height: calc(100vh - 320px - 100px);
    margin: 50px 0;
  }

  .message {
    font-size: 2em;
    line-height: 1.3em;
  }

  #main-wrapper {
    padding: 0 25px;
    width: calc(100% - 50px);
  }

  #nav-controller {
    display: none;
  }

  #nav-controller-mob {
    display: block;
  }

  .btn-nav-mob {
    position: fixed;
    height: 50px !important;
    line-height: 50px;
    text-align: center;
    bottom: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    -o-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    overflow: hidden;
    z-index: 1001;
  }

  .btn-nav-mob.about {
    left: 0;
    background-color: #63c3a7;
  }

  .btn-nav-mob.about:hover {
    background-color: #4f9c85;
    -webkit-transition: .4s ease-in-out;
    -moz-transition: .4s ease-in-out;
    -o-transition: .4s ease-in-out;
    transition: .4s ease-in-out;
  }

  .btn-nav-mob.contact {
    right: 0;
    background-color: #21376d;
  }

  .btn-nav-mob.contact:hover {
    background-color: #1a2c57;
    -webkit-transition: .4s ease-in-out;
    -moz-transition: .4s ease-in-out;
    -o-transition: .4s ease-in-out;
    transition: .4s ease-in-out;
  }

  .btn-text {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  #nav-controller-mob.index .btn-nav-mob {
    width: 50%;
  }

  #nav-controller-mob.about .btn-nav-mob.about {
    width: 0%;
  }

  #nav-controller-mob.about .btn-nav-mob.contact {
    width: 100%;
  }

  #nav-controller-mob.contact .btn-nav-mob.contact {
    width: 0%;
  }

  #nav-controller-mob.contact .btn-nav-mob.about {
    width: 100%;
  }

  #main-wrapper.home .content {
    width: 100%;
  }

  .about-col {
    display: block;
    width: 100%;
    margin-bottom: 50px;
  }

  #main-wrapper {
    min-height: 100vh;
    height: auto;
  }

  .contact-col {
    display: block;
    width: 100% !important;
  }

  .about-desc, .contact-info {
    font-size: 1.2em;
  }

  .btn-submit-wrap {
    margin: 75px 0; 
  }
}


