/* General Styles
----------------------------------------------*/

/* Light Box
----------------------------------------------*/
.contraster-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);
  z-index: 99999;
}
.contraster-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;
}
.contraster-prev,
.contraster-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;
}
.contraster-prev:hover,
.contraster-next:hover {
  background-color: rgba(227, 37, 38, 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;
  margin: 5px 0;
  color: #ffffff;
  display: block;
  cursor: pointer;
  float: right;
}
.slide-select-button {
  display: inline-block;
  padding: 5px 10px;
  background: #0070B9;
  margin-right: 10px;
}
.slide-select-button[data-active=false]:hover {
    background: #0070B9;
}
.slide-select-button[data-active=true] {
  display: inline-block;
  padding: 5px 10px 5px 50px;
  color: #0070B9;
  background-color: #FFFFFF;
  background-image: url(../sims/viewing.svg);
  background-size: 25px 40px;
  background-repeat: no-repeat;
  background-position-x: 13px;
  background-position-y: center;
}
.slide-select-button:last-child {
    margin-right: 0px;
}
#disclaimer-new {
  padding-top: 5px;
}
#disclaimer-new p {
  color: white;
  text-align: center;
  margin: 0 0px 5px 0;
  padding: 5px 0;
  font-size: .75em;
  text-transform: uppercase;
  line-height: 1.5em;
  letter-spacing: .03333em;
  background-color: #4e4e4e;
  position: relative;
  bottom: 5px;
  /* display: none; ### Make active to show hide disclaimer */ 
}
#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:#47acff;
}
#download-container {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  text-align: center;
  float: left;
  clear: both;
}
#download-all-container {
  /* position: absolute; */
  top: 0;
  right: 10px;
  font-size: .7em;
}
#download-container a {
  text-decoration: none;
  color: #ffffff;
}
#download-container a:hover {
    text-decoration: underline;
}
#download-all-container  a {
  text-decoration: none;
  color:#0070B9;
}
#download-all-container  a:hover {
  text-decoration: underline;
}
#download-container img {
  position: relative;
  top:5px;
}
/* Light box animation */
.contraster-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;
}
.contraster-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(../sims/spinner.svg);
  background-repeat: no-repeat;
  background-size: 40px 40px;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  z-index: 9999;
}
@-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: 'Quicksand', 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.5em;
    font-weight: 700;
    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: -82px;
    position: absolute;
    top: 50%;
    -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) {
}
@media (max-width: 800px) {
  h1 {
    line-height: .8em;
    font-weight: 400;
    font-size: 2.6em;
  }
  #brand {
    left: 20px;
    top: 60px;
  }
  #project-title {
	  left: 185px;
  }
  #how-to {
      width: 235px;
  }
  #how-to-details {
    width: 365px;
  }
  #download-all-container {
    position: relative;
    margin: 5px 10px;
  }
}
@media (max-width: 1200px) {
  #details-container, #slide-select-button-bar, #download-container {
    float: none;
  }
  .slide-select-button:last-child {
    margin-left: 0px;
  }
  .cocoen-drag {
    font-size: 1.3em;
    width: 3px;
  }
  .cocoen-drag::before {
    left: -60px;
  }
  .cocoen-drag::after {
    right: -69px;
  }
}
@media (max-width: 600px) {
  #brand {
    width: 120px;
    margin-top: 0;
    top: 30px;
    left: 30px;
  }
  #project-title {
    margin-top: 0;
    top: 20px;
    left: 165px;
   }
   header {
     height: 140px;
   }
  .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%;
    margin-bottom: 5px;
  }
  .slide-select-button[data-active=true] {
    padding: 5px 10px 5px 10px;
  }
  #details-container p {
    margin: .5em 0 .3em 0;
    font-size: .8em
  }
  #disclaimer-new {
    padding-top: 4px;
  }
  #disclaimer-new p {
    font-size: .55em;
    line-height: 1.4em;
    padding: 3px 0;
  }
  .cocoen-drag {
    font-size: .72em;
    width: 2px;
  }
  .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;
  }
  h1 {
    line-height: 1em;
    font-size: 2em;
}
}
