/* General Styles
----------------------------------------------*/
* {
  box-sizing: border-box;
}
a, img {
  border:none;
  outline:none;
}
html {
  height: 100%;
}
body {
  height: 100%;
  margin: 0px;
  font-family: 'Oswald', sans-serif;
}
hr {
  border-top: 2px solid #536269;
}
h1 {
  line-height: .9em;
}
h1 span {
  font-size: .72em;
  font-weight: 300;
}
h2 {
  font-size: 1.4em;
  padding: 0 10px;
  margin-bottom: 10px;
  position: relative;
  color: #768d99;
}
header {
  border-top: 15px solid #0072ad;
  border-bottom: 2px solid #536269;
  color: #536269;
  position: relative;
  padding: 0 10px;
  display: block;
  height: 120px;
}
footer {
  background: #e4dedd;
  display: block;
  height: auto;
  overflow-y: hidden;
}
#brand {
  display: block;
  width: 160px;
  position: absolute;
  top:50%;
  right: 0;
  margin: -29px 10px 0 0;
}
#project-title {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 400px;
  margin-top: -25px;
}
#how-to, #how-to-details  {
  display: block;
}
#how-to {
  width: 320px;
  float: left;
}
#how-to-details {
  width: 450px;
  float: right;
}
#how-to-modal {
  position: absolute;
  left: 0;
  right: 3px;
  top: 30px;
  margin: 0 auto;
  width: 100%;
  max-width: 400px;
  display: block;
}
#brand img, #how-to img, #how-to-details img, #how-to-modal img, .column img {
  display: inherit;
  width: 100%;
  display: block;
}
#viewpoint-map {
  padding: 10px;
}
#viewpoint-map img {
  width: 100%;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.row {
  padding: 10px 0px;
}
.row > .column {
  padding: 0 10px;
  margin-bottom: 20px;
  position: relative;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
.column {
  float: left;
  width: 25%;
}
.column span{
  position: absolute;
  color: white;
  font-size: 1.1em;
  font-weight: 500;
  padding: 5px;
  text-shadow: 0 1px 1px black;
  left: 10px;
  top: 0px;
  background-color: rgb(0, 113, 185);
  background-color: rgba(0, 113, 185, 0.60);
}
.column img {
  cursor: pointer;
  margin-bottom: -4px;
}
.cocoen img {
  -webkit-transition: transform .3s ease-out;
  -moz-transition: transform .3s ease-out;
  -o-transition: transform .3s ease-out;
  transition: transform .3s ease-out;
  /* -webkit-backface-visibility: hidden; //Causing issues in Windows 10 IE11 making the transion go black
  backface-visibility: hidden; */
}
.column img.hover-shadow {
  transition: 0.3s
}
.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}

.mouseDown {
  cursor: move !important;
}
.cocoen-drag.dragging-left::before, .cocoen-drag.dragging-right::after {
  opacity: 0;
}
#global-disclaimer {
  position: fixed;
  display: block;
  width: 100%;
  padding: 10px 50px 10px 10px;
  text-align: center;
  left: 0;
  right: 0;
  bottom: -500px;
  color: white;
  font-size: .9em;
  background: #0072ad;
  -webkit-box-shadow: 0px -2px 9px 1px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px -2px 9px 1px rgba(0,0,0,0.75);
  box-shadow: 0px -2px 9px 1px rgba(0,0,0,0.75);
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -ms-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
  z-index: 99999;
}
#close-disclaimer {
  color: white;
  position: absolute;
  top: 0px;
  right: 3px;
  font-size: 25px;
  line-height: 1.3em;
  font-weight: bold;
  cursor: pointer;
  font-family: Verdana,sans-serif;
  padding: 0 3px;
}

/* Light Box
----------------------------------------------*/
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding: 100px 20px 0 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
}
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 100%;
  max-width: 1600px;
  display: block;
}
.close {
  color: white;
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 45px;
  line-height: 1.3em;
  width: 58px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  font-family: Verdana,sans-serif;
  z-index: 15
}
.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -31px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  z-index: 2;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  display: none !important;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev:hover,
.next:hover {
  background-color: rgba(0, 114, 173, 0.8);
}
#sim-ui-container {
  position: absolute;
  width: 100%;
  margin: 5px 0 30px 0;
}
#slide-select-button-bar {
  position: relative;
  text-align: center;
  right: 0;
  color: #ffffff;
  display: block;
  cursor: pointer;
  float: right;
}
.slide-select-button {
  display: inline-block;
  padding: 5px 10px;
  background: #0072ad;
}
.slide-select-button[data-active=false]:hover {
    background: rgb(0, 168, 255);
}
.slide-select-button[data-active=true] {
  display: inline-block;
  padding: 5px 10px 5px 50px;
  color: #0072ad;
  background-color: #FFFFFF;
  background-image: url(../images/viewing.svg);
  background-size: 25px 40px;
  background-repeat: no-repeat;
  background-position-x: 13px;
  background-position-y: center;
}
.slide-select-button:last-child {
    margin-left: 10px;
}
#disclaimer p {
  color: white;
  text-align: center;
  margin: 0 0px 5px 0;
  padding: 5px 0;
  font-size: .8em;
  background-color: #4e4e4e;
  position: relative;
  bottom: 5px;
}
#details-container {
  position: relative;
  float: left;
  text-align: center;
  color: #ffffff;
}
.details {
  line-height: 1.2em;
  margin: .3em 0;
}
#details-container p {
    margin: .3em 0;
}
#details-container span {
  color:#089dea;
}
#download-container {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  text-align: center;
  float: left;
  clear: both;
}
#download-container a {
  text-decoration: none;
  color: #ffffff;
}
#download-container a:hover {
    text-decoration: underline;
}
#download-container img {
  position: relative;
  top:5px;
}
#download-all-container {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: .7em;
}
#download-all-container  a {
  text-decoration: none;
  color:#82d42b;
}
#download-all-container  a:hover {
  text-decoration: underline;
}
/* Light box animation */
.modal {
  -ms-transform: scaleY(0.01) scaleX(0);
  -webkit-transform: scaleY(0.01) scaleX(0);
  transform: scaleY(0.01) scaleX(0);
  animation: unfoldIn .7s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-content {
  animation: zoomIn 0.5s 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal.out {
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
  animation: unfoldOut .7s 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
/*.modal.out .modal-content {
  animation: zoomOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}*/
@keyframes unfoldIn {
  0% {
    -ms-transform: scaleY(0.005) scaleX(0);
    -webkit-transform: scaleY(0.005) scaleX(0);
    transform: scaleY(0.005) scaleX(0);
  }
  50% {
    -ms-transform: scaleY(0.005) scaleX(1);
    -webkit-transform: scaleY(0.005) scaleX(1);
    transform: scaleY(0.005) scaleX(1);
  }
  100% {
    -ms-transform: scaleY(1) scaleX(1);
    -webkit-transform: scaleY(1) scaleX(1);
    transform: scaleY(1) scaleX(1);
  }
}
@keyframes unfoldOut {
  0% {
    -ms-transform: scaleY(1) scaleX(1);
    -webkit-transform: scaleY(1) scaleX(1);
    transform: scaleY(1) scaleX(1);
  }
  50% {
    -ms-transform: scaleY(0.005) scaleX(1);
    -webkit-transform: scaleY(0.005) scaleX(1);
    transform: scaleY(0.005) scaleX(1);
  }
  100% {
    -ms-transform: scaleY(0.005) scaleX(0);
    -webkit-transform: scaleY(0.005) scaleX(0);
    transform: scaleY(0.005) scaleX(0);
  }
}
/*@keyframes zoomIn {
  0% {
    scale: 0;
  }
  100% {
    scale: 1;
  }
}
@keyframes zoomOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}*/

/*Loading Animation */
.loading {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  margin: -20px 0 0 -20px;
  background-image: url(../images/spinner.svg);
  background-repeat: no-repeat;
  background-size: 40px 40px;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Light Box
----------------------------------------------*/
.cocoen {
    font-family: 'Oswald', sans-serif;
    box-sizing: border-box;
    cursor: pointer;
    line-height: 0;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: opacity .2s ease-in-out;
    -moz-transition: opacity .2s ease-in-out;
    -ms-transition: opacity .2s ease-in-out;
    -o-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out;
}

.cocoen * {
    box-sizing: inherit;
}

.cocoen::after,
.cocoen::before {
    box-sizing: inherit;
}

.cocoen img,
.cocoen picture>img {
    max-width: none;
}

.cocoen>img,
.cocoen>picture>img {
    display: block;
    width: 100%;
}

.cocoen>div:first-child,
picture .cocoen>div {
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 50%;
    z-index: 2;
}

.cocoen-drag {
    background: #fff;
    color: #fff;
    bottom: 0;
    font-size: 1.8em;
    cursor: ew-resize;
    left: 50%;
    margin-left: -1px;
    position: absolute;
    top: 0;
    width: 5px;
    z-index: 3;
    -webkit-transition: opacity .2s ease-out;
    -moz-transition: opacity .2s ease-out;
    -o-transition: opacity .2s ease-out;
    transition: opacity .2s ease-out;
}
.cocoen-drag::before {
    content: 'EXISTING';
    left: -70px;
    position: absolute;
    top: 50%;
    -ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
    transform: rotate(-90deg);
}
.cocoen-drag::after {
    content: 'PROPOSED';
    right: -78px;
    position: absolute;
    top: 50%;s
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
}

.cocoen-drag::before, .cocoen-drag::after {
  display: block;
  -webkit-transition: opacity .2s ease-out;
  -moz-transition: opacity .2s ease-out;
  -o-transition: opacity .2s ease-out;
  transition: opacity .2s ease-out;
}


/* Media Queries
----------------------------------------------*/
@media (max-width: 1000px) {
  .column {
      width: 33.33333333%;
  }
}
@media (max-width: 800px) {
  .column {
      width: 50%;
  }
  h1 {
    font-size: 1.5em;
  }
  #how-to {
      width: 235px;
  }
  #how-to-details {
    width: 365px;
  }
}
@media (max-width: 1200px) {
  #details-container, #slide-select-button-bar, #download-container {
    float: none;
  }
  .cocoen-drag {
    font-size: 1.3em;
    width: 3px;
  }
  .cocoen-drag::before {
    left: -51px;
  }
  .cocoen-drag::after {
    right: -58px;
  }
}
@media (max-width: 600px) {
header {
    height: 170px;
	text-align: -webkit-center;
}
#brand {
    width: 180px;
    margin-top: -65px;
    position: inherit;
}
#project-title {
    width: 300px;
    margin-top: 0;
    left: 0px;
	top:100px;
	position: inherit;
   }
#download-all-container a {
    display: none;
}
  .column {
      width: 100%;
  }
  #how-to {
    margin: 15px auto 0 auto;
    float: none;
  }
  #how-to-details {
    float: none;
    margin: 0 auto 5px auto;
  }
  .slide-select-button {
    width: 100%;
  }
  .slide-select-button:last-child {
    margin-left: 0px;
    margin-top: 5px;
  }
  .slide-select-button[data-active=true] {
    padding: 5px 10px 5px 10px;
  }
  #details-container p {
    margin: .5em 0 .3em 0;
    font-size: .8em
  }
  #disclaimer p {
    font-size: .6em;
  }
  .cocoen-drag {
    font-size: .9em;
    width: 3px;
  }
  .cocoen-drag::before {
    left: -35px;
  }
  .cocoen-drag::after {
    right: -39px;
  }
  .close {
    top: 0px;
    right: 0px;
    font-size: 35px;
    width: 45px;
    text-align: center;
  }
  .hide{
    display: none;
  }
}
@media (max-width: 400px) {
  #how-to-details {
    width: 315px;
  }
}
