/* Imports required to make everything work */
@import '/library/fonts/webfonts.css';
@import '/library/fonts/font-awesome/css/fontawesome-all.css';
@import '/library/styles/base-min.css';
@import '/library/styles/boilerplate.css';
@import '/library/styles/forms.css';

/* Done so that the chameleon's tail doesn't cause a horizontal scroll bar on screens smaller than 1400px */
body {
  overflow-x: hidden;
}

/*********************************
* Typography
**********************************/

h1 {
  color: #0077c0;
  font: normal bold 59px/1em 'Neutra Text';
  text-transform: uppercase;
}

h2 {
  color: #2389ca;
  font: normal bold 25px/1em 'Neutra Text';
  text-align: left;
  text-transform: uppercase;
}

.footer h2 {
  color: #f5be64;
  font: normal bold 18px/1.3em 'Neutra Text';
  text-transform: uppercase;
}

h3 {
  color: #017cc7;
  font: normal bold 52px/1em 'Neutra Text';
  text-transform: uppercase;
}

h4 {
  color: #f68e4b;
  font: normal bold 18px/1.3em 'Lato';
  text-transform: uppercase;
}

h4 span.uppercase {
  font-size: 40px;
  line-height: 1em;
  margin-right: .25rem;
}

h5 {
  color: #f5be64;
  font: normal bold 18px/1.3em 'Neutra Text';
  text-transform: uppercase;
}

h6,
.style-6 {
  color: #ffffff;
  font: normal bold 24px/1em 'Neutra Text';
  text-transform: uppercase;
  text-align: center;
}

p, li, label {
  font: normal normal 16px/1.4em 'Lato';
}

p, li {
  color: #646464;
}

p.highlight {
  padding: 1rem 0;
  color: #0376bd;
  border: 4px dotted #fce3bd;
  border-right: none;
  border-left: none;
}

p + h2,
ul + h2 {
  margin-top: 2.25rem;
}

td.after-billboard > table > tbody > tr:first-of-type p {
  font-size: 20px;
}

a {
  color: #017cc7;
  color: #f68e4b;
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: #f68e4b;
  color: #017cc7;

}

hr {
  border: none;
  border-bottom: 4px dotted #e6e6e6;
  margin: 1.5rem 0;
}

/* List styles */

li {
  margin-bottom: 0;
}

ul.bulleted {
  padding-left: 1.5rem;
}

.bulleted li {
  position: relative;
  margin-bottom: .5rem;
}

.bulleted li:after {
  content: '';
  display: block;
  position: absolute;
  top: 9px;
  left: -1rem;
  width: 0;
  height: 0;
  padding: 3px;
  background-color: #0077C0;
  border-radius: 100%;
}

/*********************************
* Header
**********************************/

.header {
  position: relative;
}

.header.home {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.header > table.parcel {
  position: relative;
  z-index: 3;
}

.header:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: rgba(255, 255, 255, .3);
}

.header.home:before {
  background-color: rgba(255, 255, 255, .7);
}

/*
.header > .background {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #b5cceb;
  background-image: url('/images/layout/backgrounds/header.jpg');
  opacity: .8;
}

.header > .background:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #b5cceb;
  background: linear-gradient(45deg, rgba(220,232,246,.5) 20%,rgba(255,255,255,.75) 50%,rgba(181,204,235,.5) 80%);
}*/

.header table {
  position: relative;
  z-index: 2;
}

.header td:first-of-type {
  position: relative;
  text-align: center;
}

.header .logo {
  position: relative;
  left: 50%;
  margin: auto;
  transform: translateX(-50%);
  max-width:80%;
  margin-bottom: 0;
}

.header .logo,
.header .navigation,
.header tr td:last-of-type .button {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 0;
}

.header .request-a-quote-mobile {
  display: none;
}

/*********************************
* Navigation
**********************************/

.navigation {
  max-width: 536px;
  margin-right: 28px;
}

.navigation ul {
  margin-bottom: 0;
  white-space: nowrap;

}

.navigation .sub-nav {
  padding-bottom: 1rem;
  border-bottom: 1px solid #b5cceb;
  text-align: center;
}

.navigation .sub-nav li {
  margin-right: 19px;
  color: #656565;
  font: normal bold 14px/1em 'Neutra Text';
  text-transform: uppercase;
}

.navigation .sub-nav li a {
  color: #656565;
}

.navigation .main-nav {
  padding-top: 1rem;
  text-align: center;
}

.navigation .main-nav li {
  margin-right: 23px;
  color: #2389ca;
  font: normal bold 30px/0.7em 'Neutra Text';
  text-transform: uppercase;
}

.navigation .main-nav li a {
  color: #2389ca;
}

.navigation .sub-nav li:last-of-type,
.navigation .main-nav li:last-of-type {
  margin-right: 0;
}

.navigation .sub-nav li a:hover,
.navigation .main-nav li a:hover {
  color: #f68e4b;
}

.navigation li.alt a {
  color: #f68e4b;
}

/*********************************
* Billboard
**********************************/

.billboard {
  position: relative;
  height: 33rem;
  z-index: 1;
}

.billboard > table.parcel {
  position: relative;
  height: 100%;
}

.billboard h6 {
  padding-top: 6rem;
  color: #f68e4a;
  font: normal 900 120px/.8em 'Lato';
  text-align: left;
  text-transform: lowercase;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, .5);
}

.billboard.home h6 {
  text-align: center;
}

.billboard h6 span {
  display: block;
  color: #f3b858;
  font-size: 70px;
}

.billboard .curve {
 /* position: absolute;*/
  bottom: 0;
  width: 100%;
  height: 100%;
}

.billboard .curve:after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%) translateY(80%);
  width: 150%;
  height: 70%;
  background-color: #FFF;
  border-radius: 100%;
}

.billboard .animal {
  position: absolute;
  bottom: -83px;
  right: -189px;
  margin-bottom: 0;
  z-index: -1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
}

.billboard .desktop .animal {
  width: 792px;
  height: 595px;
}

.billboard .mobile .animal {
  width: 1000px;
  height: 1270px;
}

.billboard.home {
  height: 50vw;
  overflow: hidden;
}

.billboard.home table td {
  position: relative;
}

.billboard.home h6 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 10;
}

.billboard.home video {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100vw;
  height: auto;
}

.after-billboard {
  position: relative;
  z-index: 2;
}

/*********************************
* Backgrounds
*********************************/

.blue-pattern {
  background-image: url('/images/layout/backgrounds/blue-pattern.jpg');
  background-size: 2000px;
  background-position: top center;
  background-repeat: no-repeat;
}

@media (min-width: 2000px) {
  .blue-pattern {
    background-size: cover;
    background-position: bottom;
  }
}

/*********************************
* Icons
**********************************/

.icons h2 {
  color: #2389ca;
  font: normal bold 35px/1em 'Neutra Text';
  text-transform: uppercase;
  text-align: center;
}

.icons object {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem auto;
  cursor: pointer;
}

.icons object:hover + h2,
.icons h2:hover {
  color: #F68E4B;
  cursor: pointer;

}

.icons li {
  margin-bottom: 0;
  color: #363636;
  font: normal normal 16px/1.5em 'Lato';
  text-align: center;
}

td.icons p {
  color: #363636;
  font: normal normal 16px/1.5em 'Lato';
}

/*********************************
* Recent Work
**********************************/

td.recent-work {
  border: 5px solid #cee0f6;
  border-left: none;
  border-right: none;
}

div.recent-work {
  display: flex;
}

/* Info */

.recent-work .info {
  position: relative;
  width: 25%;
  background-color: #298fd0;
}

.recent-work .info .wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 203px;
  transform: translate(-50%, -50%);
}

.recent-work .info h3 {
  color: #f5be64;
}

.recent-work .info p {
  color: #ffffff;
}

.recent-work .info .button {
  margin-bottom: 0rem;
}

.recent-work .showcase {
  width: 75%;
  font-size: 0;
}

.recent-work .work {
  width: 33.3333333%;
  height: 14.9vw;
}

.recent-work .work a.view-portfolio {
  display: block;
}


@media (max-width:1500px) {
  .recent-work .work {
    width: 50%;
    height: 22.5vw;
  }
}

/*********************************
* Awards
**********************************/

.awards > a:last-of-type img {
  margin-bottom: 0;
}

/*********************************
* Latest Post
**********************************/

.social-buttons {
  margin-bottom: 1rem;
}

.social-buttons > div {
  display: inline-block;
  vertical-align: middle;
  font-size: 0;
}

/*.social-icons a:first-child {
  margin-left: 0;
}*/

.social-buttons > .social-icons i {
  margin-left: 1rem;
  font-size: 30px;
  line-height: 1.1em;
}

img.facebook-post {
  max-height: 380px;
}

/*********************************
* Client List
**********************************/

.client-list-buttons {
  font-size: 0;
  white-space: nowrap;
}

.client-list-buttons .button.rectangle {
  display: inline-block;
  width: calc(33.333% - .33333rem);
  font-size: 16px;
}

.client-list-buttons .button {
  margin-left: .5rem;
}

.client-list-buttons .button:first-of-type {
  margin-left: 0;
}

.client-list p {
  margin-bottom: 0;
}

.client-list ul:last-of-type {
  margin-bottom: 0;
}

.client-list li {
  position: relative;
  cursor: pointer;
}

.client-list ul:hover {
  position: relative;
  z-index: 9;
}

.client-list li img {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 300px;
  height: auto;
  z-index: 99;
}

.client-list li:hover img {
  display: block;

}

.client-list p,
.client-list a,
.client-list h2 {
  position: relative;
  z-index: 1;
}

.client-list-target ul,
.client-list-target h2 {
  opacity: 0;
  animation: fade-in-down forwards 1s ease-out;
}

.client-list tr > td:nth-of-type(2) .client-list-target ul,
.client-list tr > td:nth-of-type(2) .client-list-target h2 {
  animation-delay: .25s;
}

.client-list tr > td:nth-of-type(3) .client-list-target ul,
.client-list tr > td:nth-of-type(3) .client-list-target h2 {
  animation-delay: .5s;
}

@keyframes fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(-25px);
  }
  25% {
    opacity: .15;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*********************************
* Footer
*********************************/

.footer {
  background-color: #298fd0;
}

.footer p {
  color: #ffffff;
  font: normal normal 16px/1.5em 'Lato';
}

.footer a {
  color: #f5be64;
}

.footer hr {
  border-bottom: 5px dotted #0467a6;
  margin: .5rem 0;
}

.footer .fa {
  color: #fce3bd;
  font-size: 16px;
}

/* First Column */

.footer td {
  font-size: 0;
}

.footer td:first-of-type .fa,
.footer td:first-of-type .fa + p {
  display: inline-block;
  vertical-align: top;
}

.footer td:first-of-type .fa {
  width: 3rem;
  line-height: 1.5em;
  text-align: center;
}

.footer td:first-of-type .fa + p {
  margin-bottom: 0;
  width: calc(100% - 3rem);
  text-align: left;
}

/* Last Column */

.footer td:last-of-type > div,
.footer td:last-of-type > img.exclamation-mark {
  display: inline-block;
  vertical-align: top;
}

.footer td:last-of-type > img.exclamation-mark {
}

.footer td:last-of-type > div {
  width: calc(100% - 125px);
}

.footer .review-icons i {
  display: inline-block;
  font-size: 30px;
  margin-right: 1rem;
}

.footer .review-icons > a:last-of-type i {
  margin-right: 0;
}

.footer .bordered > .column,
.footer .bordered > td {
  border-color: #0077c0;
}

/*********************************
* Attribution
*********************************/

.attribution {
  background-color: #0467a6;
}

.attribution p,
.attribution p a {
  margin: .5rem 0;
  color: #b1c9e8;
  font-size: 12px;
  text-align: center;
}

/*********************************
* Button
**********************************/

.button {
  position: relative;
  display: block;
  margin: auto;
  margin-bottom: 1rem;
  background-color: transparent;
  background-size: 100% 100%;
  color: #fff;
  text-transform: uppercase;
}

.button.rectangle {
  background-color: #F68E4B;
  border: 3px solid #F5BE64;
  border-radius: 10px;
  font: normal bold 18px/1.2em 'Neutra Text';
}

.button.tall {
  width: 139px;
  height: 91px;
  padding: 1.5rem 0;
  background-image: url('/images/layout/buttons/tall.png');
  font: normal bold 18px/1.2em 'Neutra Text';
}

.button.tall span {
  display: block;
  font-size: 28px;
}

.button.long {
  width: 279px;
  height: 53px;
  padding: 1.25rem 0;
  background-image: url('/images/layout/buttons/long.png');
}

.button.medium {
  width: 203px;
  height: 48px;
  padding: 1.1rem 0;
  background-image: url('/images/layout/buttons/medium.png');
}

.button.medium.flipped {
  position: relative;
  background-image: none;
  z-index: 1;
}

.button.medium.flipped:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/layout/buttons/medium.png');
  background-size: 100% 100%;
  transform: scaleX(-1);
  z-index: -1;
}

.button:hover {
  color: #fff;
}

/*********************************
* Spacing
**********************************/

.row.no-top-padding > .column,
.row.no-top-padding > td {
  padding-top: 0;
}

.row.no-top-padding > td.column.one-quarter:last-of-type {
  vertical-align: bottom;
}

/*********************************
* Main
**********************************/

.main {
  padding-bottom: 1.5rem;
}

.after-billboard > table > tbody > tr:first-of-type > td {
  padding-top: 0;
}

/*********************************
* General
**********************************/

.bordered > .column,
.bordered > td {
  border-right: 1px solid #fce3bd;
}

.bordered > .column:last-of-type,
.bordered > td:last-of-type {
  border-right: none;
}

.mobile {
  display: none;
}

a.anchor {
  position: relative;
  bottom:100px;
}

.honey {
  display: none;
}

/****************************************
* Facebook Latest Posts
****************************************/

.login-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding-top: 15rem;
  padding-bottom: 8rem;
}

.login-container >* {
  margin: auto;
}

.login-container h1 {
  text-align: center;
}

.login-container h2 {
  margin-bottom: 5rem;
}

.login-container .loading-message {
  line-height: 40px;
}

.login-container .success-message {
  text-align: center;
  text-transform: none;
}

.login-container .failure-message {
  margin-top: 5rem;
  color: red;
  text-transform: none
}

.login-container .hide {
  display: none;
}

/****************************************
* Navigation skip
****************************************/

.skip {
  position: absolute;
  top: -1000px;
  left: -1000px;
  height: 1px;
  width: 1px;
  text-align: left;
  overflow: hidden;
  color: #0376bd;
}

a.skip:active,
a.skip:focus,
a.skip:hover {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  overflow: visible;
}