.figure {
  position: relative;
  max-width: 100%;
}
.figure img.image-hover {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  object-fit: contain;
  opacity: 0;
  transition: opacity .2s;
}
.figure:hover img.image-hover {
  opacity: 1;
}


/* NAVIGATION */
.navpadding{
  padding:10px 50px 10px 30px;
  background-color: rgba(255, 255, 255, 0.95);
}

.desktopnav a{
  	font-size: 13pt;
    font-weight:500;
  	color:#00a8ea;
    font-family: 'Raleway', sans-serif;
  	text-align:center;
}
.desktopnav a:hover {
  color:#00a8ea;
}

.desktopnav a.activepage {
  font-weight: bold;
  color:#00a8ea;
}

.menuicon {
  display: inline-block;
  cursor: pointer;
}

.bar1, .bar2, .bar3 {
  width: 30px;
  height: 1px;
  background-color: #00a8ea;
  margin: 6px 0;
  transition: 0.4s;
}

/* MOBILE */
/* The Overlay (background) */
.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  background-color: #00a8ea;
  overflow-y: hidden; /* Disable vertical scroll */
  transition: 0.5s;
  z-index:10;
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 30%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
  font-family: 'Raleway', sans-serif;
  color:#fff;
  padding: 8px;
  text-decoration: none;
  font-size: 20pt;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
  color: white;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: -15px;
  right: 10px;
  font-size: 50px;
}

/* ------- */


.index_footer{
  position:fixed;
  left:0px;
  bottom:0px;
  width: 100%;
  z-index: 10;
}

.index_footer .moveover{
  position:relative;
  right:-5px;
}



.gray{
  background-color:#dbe0e3;
  max-width:100%;
  min-height:82vh;
}

.gray2{
  background-color:#3d3e4a;
  max-width:100%;
}

.grayheader{
  background-color:#3d3e4a;
}

.darkergray{
  background-color:white;
  padding:13px 0px 0px 0px;
}

.contain{
  max-width:1200px;
}


hr{
  border-top: 1px solid #9e9ea4;
  margin-bottom:-10px;
}

h1{
  font-family: 'Raleway', sans-serif;
  font-weight:bold;
  font-size:48pt;
  color: white;
  line-height: 52pt;
}

h1 a{
  font-family: 'Raleway', sans-serif;
  font-size:32pt;
  text-align:center;
  color: white;
}

h1 a, .darkbg{
  color:#dbe0e3;
}

h1 a:hover{
  color:white;
}

.home h1 a{
  color:white;
  font-size:18pt;
  line-height: 50px;
}

.home h1 a:hover{
  color:#dbe0e3;
}

h2{
  font-family: 'Raleway', sans-serif;
  font-size:28pt;
  font-weight:bold;
  color:white;
  text-align:center;
  padding-top:10px;
}

h3{
  font-size: 32pt;
  color: #3d3e4a;
  font-family: 'Raleway', sans-serif;
  font-weight:bold;
  text-transform: uppercase;
}

.websites h3{
  font-size:16pt;
}

.smallerh3 h3{
  font-size:18pt;
}


h4 a{
  font-family: 'Raleway', sans-serif;
  font-size:18pt;
  text-align:center;
  color:#fff;
}

h4 a:hover{
  color:#dbe0e3;
}


p{
  font-family: 'Roboto', sans-serif;
  font-size: 13pt;
  color:#3d3e4a;
}

.darkergray p{
  font-size:20pt;
  transition:1s all;
}

.white p{
  color:white;
}


p a{
  color:#3d3e4a;
  text-decoration:underline;
  transition:.5s;
}

p a:hover{
  color:#3d3e4a;
  background-color: #FFF;
    text-decoration:none;
}

.vl {
  border-right: 2px solid #3d3e4a;
  margin-right: -2px;
}

/*button{
  background-color:#9e9ea4;
  font-weight:bold;
  padding:20px;
  border: 2px solid transparent;
  font-family: 'Roboto', sans-serif;
  font-size: 14pt;
  color:white;
  line-height: normal;
}

button:hover{
  background-color:transparent;
  padding:20px;
  border: 2px solid #9e9ea4;
  color:#9e9ea4;
  cursor: pointer;
}*/

button{
  background-color:transparent;
  font-weight:bold;
  padding:10px 13px;
  border: 2px solid #3d3e4a;
  font-family: 'Roboto', sans-serif;
  font-size: 14pt;
  color:#3d3e4a;
  border-radius: 3px;
  line-height: normal;
  transition:.5s;
}

button:hover{
  background-color:#3d3e4a;
  color:white;
  cursor: pointer;
}


.button2{
  background-color:transparent;
  padding: 7px 10px;
  border: 2px solid white;
  border-radius: 3px;
  color:white;
  transition:.5s;
}

.button2:hover{
  background-color:white;
  padding:7px 10px;
  border: 2px solid white;
  border-radius: 3px;
  color:#3d3e4a;
}


.meborder{
  border: 5px solid white;
}

footer p{
  font-size: 9pt;
  color:#3d3e4a;
  font-family: 'Roboto', sans-serif;
}


footer{
  padding:15px 30px 0px 30px;
}

.toppadding{
  padding-top:80px;
}

.bottompadding{
  padding-bottom:80px;
}

.block1{
  min-height:36vh;
  max-width:100%;
  background-color:#c4c4c6;
  padding:70px;
}


.block2{
  min-height:30vh;
  max-width:100%;
  background-color:#3d3e4a;
  padding:90px;
}

.block3{
  min-height:27vh;
  max-width:100%;
  background-color:#c4c4c6;
}

.block4{
  height:4vh;
  max-width:100%;
  background-color:#c4c4c6;
}

.block4 footer{
  padding:0;
}


.darkbox{
  background-color:#3d3e4a;
}


/*WORK PAGE*/
.worktype a:hover{
  color:#3d3e4a;
}
.worktype a.selected{
  color:#3d3e4a;
  font-weight:bold;
}

.imageborder{
  border:5px solid white;
}

/* FOR MEDIUM AND UP ONLY */
@media screen and (min-width:39.9375em){

  .blue{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 50%;
    height: 100%;
    background-color:#dbe0e3;
    z-index: -5;
  }

  .whitebox{
    background-color:#fff;
    position:relative;
    right:-100px;
    z-index:3;
  }

  .darkbox{
    position:relative;
    background-color:#3d3e4a;
    right:-25px;
    z-index:2;
  }

  .full_height{
    height:100vh;
  }

  .padding{
    padding:50px 0px 50px 0px;
  }

  .padding2{
    padding:110px 150px;
  }

  .shrink{
    transition:.8s all;
    cursor:pointer;
  }
  .shrink:hover {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
  }

  .textreveal:before{
    top:0%;
    left:0%;
    content:attr(title);
    font-family: 'Raleway', sans-serif;
    font-size:28pt;
    font-weight:500;
    color:white;
    opacity:0;
    transition:1s all;
    text-align:center
  }
  .textreveal:hover:before{
    opacity:100;
  }

  .textreveal:after{
    top:0%;
    left:0%;
    content:attr(title2);
    font-family: 'Raleway', sans-serif;
    font-size:28pt;
    font-weight:500;
    color:white;
    opacity:0;
    transition:1s all;
    text-align:center
  }
  .textreveal:hover:after{
    opacity:100;
  }

  .fullscreen{
    height:100vh;
  }

  .moveup{
    margin-top:-10px;
  }

  .moveup2{
    margin-top:-40px;
  }

  .bottompadding2{
    padding-bottom:0px;
  }

}

/* LARGE ONLY */
@media screen and (min-width:64em){

    .darkbox{
      right:-50px;
    }

    .moveleft{
      margin-left:-100px;
    }

    .moveright{
      margin-left:50px;
    }
    .positionrelative{
      position:relative;
    }

    .rotate1{
      transform: rotate(-90deg);
      -webkit-transform: rotate(-90deg);
      position: absolute;
      transform-origin: top left;
      bottom:0%;
      left:5%;
    }

    .rotate2{
      transform: rotate(-90deg);
      -webkit-transform: rotate(-90deg);
      position: absolute;
      transform-origin: top left;
      bottom:22%;
      left:5%;
    }

    .rotate3{
      transform: rotate(-90deg);
      -webkit-transform: rotate(-90deg);
      position: absolute;
      transform-origin: top left;
      bottom:20%;
      left:5%;
    }


    .visitbutton{
      transform: rotate(90deg);
      -webkit-transform: rotate(90deg);
      position: absolute;
      left:87%;
    }


    .bottompadding2{
      padding-bottom:60px;
    }

    /*Image Hover*/
    .container {
      position: relative;
      width: 100%;
    }

    .overlay2{
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      height: 100%;
      width: 100%;
      opacity: 0;
      transition: .5s ease;
      background-color: #fff;
    }

    .container:hover .overlay2{
      opacity: .9;
    }

    .text {
      color: #3d3e4a;
      font-size: 18pt;
      font-weight: bold;
      position: absolute;
      top: 50%;
      left: 50%;
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      text-align: center;
      margin-right:-100px;
    }
}





/*FOR MOBILE ONLY */
@media screen and (max-width:39.9375em){
  .whitebox{
    background-color:#fff;
  }

  .darkbox{
    margin:0px 10px;
  }

  .blue2{
    background-color:#dbe0e3;
    height:100%;
    padding-bottom:70%;
  }

  .padding2{
    padding:20px 0px;
  }

  .mobilepadding{
    margin-top:35%;
    padding:50px 30px 40px 30px;
  }

  .toppadding{
    padding-top:40px;
  }

  .bottompadding{
    padding-bottom:40px;
  }

  .bottompadding2{
    padding-bottom:30px;
  }

  footer{
    padding:15px 0px 0px 10px;
  }

  .navpadding{
    padding:5px 8px 5px 8px;
  }
  .meborder{
    border: 5px solid white;
  }

  p{
    text-align:center;
  }

  .white p{
    text-align:left;
  }

  h1{
    font-size:32pt;
    line-height: 50px;
  }

  h2{
    font-size:18pt;
  }

  h3{
    font-size:24pt;
    text-align: center;
  }

  .smallerh3 h3{
    font-size:16pt;
  }

  .worktype{
    padding-top:10px;
    padding-bottom:30px;
  }

  .fullscreen{
    height:auto;
    padding-top: 50px;
    padding-bottom:50px;
  }

  .block1{
    height:auto;
    max-width:100%;
    background-color:#c4c4c6;
    padding:40px 0px 20px 0px;
  }


  .block2{
    height:auto;
    max-width:100%;
    background-color:#3d3e4a;
    padding:10px;
  }

  .block3{
    height:auto;
    max-width:100%;
    background-color:#c4c4c6;
  }

  .block4{
    height:auto;
    max-width:100%;
    background-color:#c4c4c6;
  }

  .moveup2{
    margin-top:-10px;
  }

  .moveup3{
    margin-top:-20px;
  }

  .vl {
    border-right: 0px solid #3d3e4a;
    margin-right: 0px;
    border-bottom: 2px solid #3d3e4a;
    margin-bottom: 10px;
  }

}
