body {
  height:auto;
  background-color:#131F28;
}

#home {
  animation-delay:.8s;
  transition:.8s all ease-in-out;
  margin-bottom:-100%;
  margin:0;
  width:100%;
  max-width:none;
  align-items: center;
  overflow: hidden;
  position: relative;
  min-height:64vh;
}

#home img {
  width:auto;
  min-width:100%;
  height:100%;
  position: absolute;
  top:0;
  left:0;
  filter:brightness(.75);
}

#home img.bg_home {
  animation: ScaleOutIn 60s linear infinite;
  animation-duration: 60s !important;
}

#home img.map {
  margin-right: -4.5rem;
  margin-top: -1rem;
}

.home div {
  position: relative;
  z-index:4;
  overflow: visible;
  padding:0;
  color:#ddd;
  font-size:16px;
  font-family: 'work-sans';
  letter-spacing: .03em;
  line-height:1.6;
  max-width:100%;
  text-align: left;
}

.home div .btn {
  font-size:16px;
  width:auto;
  border-radius:0;
  border-color:#fff !important;
  color:#fff !important;
  animation-delay:1.8s;
}

.home div .btn:hover {
  transform:translateY(-2px);
  background-color:#fff !important;
  color:#000 !important;
}

.home .overlay {
  height: calc(100% - 6rem);
  animation-delay:.8s;
  display: flex;
  z-index:1;
  margin-top:0;
  background-color:rgba(0,0,0,.7);
  width:100%;
  max-width:100% !important;
  top:2rem;
  z-index:2;
  position: absolute;
}

.home div.row {
  margin:0;
  padding:0;
  margin-top: .5rem;
  width:100%;
  height: calc(100% - 6rem);
  display: flex;
  align-items: center;
}

.home div.row div.col-md-4 {
 display: flex;
 align-items: center;
 justify-content: flex-end;
 position: absolute;
 opacity: .2;
 filter: grayscale(1) brightness(0.5);
}

.home div.row div.col-md-4 img {
  position: relative !important;
  width:auto !important;
  min-width: auto !important;
  filter:grayscale(1) !important;
  animation-delay: 1.5s;
  max-height: 400px;
  padding:0 3rem;
}

.home div.row div.col-md-8 {
  padding:0 3rem;
  margin:0 auto;
}

.home div.row div.col-md-8 .caption {
  min-height:276px;
  animation-delay:.5s;
}

.home h1 {
  position: relative;
  z-index: 2;
  animation-delay:.4s;
  color:#fff;
  overflow: visible;
  font-size:20px;
  font-family: Roboto-Thin;
  margin-bottom:1.5rem;
  padding-bottom:1.25rem;
  border-bottom:1px solid #ddd;
  border-image-slice: 1;
  border-image-source: linear-gradient(90deg, transparent, #ddd, transparent);
  letter-spacing: .05em;
  max-width:100%;
  text-shadow: 0 0 #fff
}

.home div p {
  margin-bottom: 2rem;
  font-weight:500;
  line-height:1.5;
  color:#fff;
}

.home div.row button {
  font-size:15px;
  display:flex;
  align-items: center;
}

.home div.row button img {
  width:16px !important;
  min-width: auto !important;
  filter:invert(1) brightness(2) !important;
  position: relative !important;
  padding-bottom:2px;
  margin-right:.5rem;
  animation: MoveLeftRightSmall 2s linear infinite;
  transition: .2s all ease-in-out;
}

.sidebarMore {
  left:auto;
  right:-610px;
  width:600px;
  max-width:100%;
  padding:0;
  padding-top:100px;
  transition:.7s all ease-in-out;
}

.sidebarMore a {
  font-size: 22px;
  font-family: 'Roboto-Thin';
  letter-spacing: .03em;
  text-decoration: none;
  padding: 2rem 3rem;
  line-height: 1.5;
  color:#fff;
  position: relative;
}

.sidebarMore a.animated img {
  width:30px;
  vertical-align: sub;
  filter:invert(1) brightness(2);
  animation: MoveLeftRightSmall 2s linear infinite;
  width:0;
  transition:.2s all ease-in-out;
}

.sidebarMore a.animated div {
  height: 1px;
  background-color: #fff;
  position: absolute;
  width: 16px;
  left: 0;
  top: 3.75rem;
  opacity:0;
  transition:.3s all ease-in-out;
}

.sidebarMore a.animated:hover img {
  width:30px;
  margin-right:.75rem;
}

.sidebarMore a.animated:hover div {
  opacity:0 !important;
}

.sidebarMore a:nth-child(2) {
  animation-delay:.8s;
}

.sidebarMore a:nth-child(3) {
  animation-delay:1s;
}

.sidebarMore a:nth-child(4) {
  animation-delay:1.2s;
}
.sidebar .close-link {
  padding:0;
}
.home div .btn:hover img {
  filter:invert(0) !important;
}
.sidebar .buttonDiv {
  text-align: right;
  position: absolute;
  top:0;
  right:0;
}

footer {
  margin-top:0;
  animation-delay:1s;
  z-index:3;
  position: relative;
}

@keyframes MoveLeftRightSmall {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-4px);
  }
}

@keyframes ScaleOutIn {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
}

@media only screen and (max-width: 768px) and (min-height: 700px) {
  .home div {
    font-size:16px;
  }
  .home div.row button {
    font-size:16px;
  }
}

@media only screen and (max-width: 768px) and (min-height: 800px) {
  .home div {
    font-size:18px;
  }
  .home h1 {
    font-size:26px;
  }
}
@media only screen and (min-width: 390px) { 
  .home div.row div.col-md-8 .caption {
    min-height:320px;
  }
}
@media only screen and (min-width: 768px) {
  .home div.row div.col-md-8 .caption {
    min-height:220px;
  }
  .home div.row {
    margin-top:2rem;
  }
  .home .overlay {
    top:3rem;
  }
  .home div.row div {
    font-size:20px;
    max-width:840px;
  }
  .home div, .home div.row button {
    font-size:16px;
  }
  .home h1 {
    font-size:34px;
    margin-bottom:4rem;
    font-weight:600;
  }
  .home div.row button img {
    width:20px !important;
  }
  .home div p  {
    margin-bottom:3rem;
  }
  .sidebarMore a {
    font-size: 26px;
  }
  .home div.row div.col-md-8 {
    width:100%;
  }
}
@media only screen and (min-width: 820px) {
  #home img.map {
    margin-right:-2rem;
    margin-top: -1rem;
  }
}

@media only screen and (min-width: 912px) {
  .home div.row div.col-md-8 .caption {
    min-height:270px;
  }
  .headerRow .row:nth-child(3) {
    border-bottom:none;
    border-color:#ddd;
  }
  .bannerRemoved .overlay {
    height: calc(100% - 12rem);
    top:6rem;
  }
  .home div.row div.col-md-4 {
    position: relative;
    opacity: 1;
    filter: grayscale(1) brightness(2);
  }
  .home div.row div.col-md-4 img {
    max-height: 500px;
    margin-top:1rem;
  }
  .home div.row div.col-md-8 {
    width: 66.66666667%;
  }
}

@media only screen and (orientation: landscape) and (min-width: 1013px) {
  #home img {
    width:100%;
    height:auto;
    top:-50%;
  }
  #home img.map {
    margin-right:0;
    margin-top:2rem;
  }
  /*
  .home .overlay {
    background:linear-gradient(to right, rgba(0,0,0,.6) 0%, transparent 100%);
  }*/
}

@media only screen and (orientation: portrait) {
  #home {
    align-items: flex-start;
    padding-top:3rem;
    min-height:500px;
  }
}

@media only screen and (orientation: portrait) and (min-width: 390px) {
  #home {
    min-height:565px;
  }
}

@media only screen and (min-width: 1024px) {
  .home div.row div.col-md-8 {
    margin:0;
  } 
  .home h1 {
    font-size:37px;
  }
  .home div.row div.col-md-8 .caption {
    min-height:250px;
  }
}

@media only screen and (min-width: 1200px) {
  .home div.row div.col-md-8 .caption {
    min-height:220px;
  }
}

