* {
margin: 0;
padding: 0;
} 

 /* Parallax base styles
  --------------------------------------------- */

  .parallax {
    height: 500px; /* fallback for older browsers */
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-perspective: 300px;
    perspective: 300px;
    perspective-origin-x: 100%;
  }

  .parallax__group {
    position: relative;
    height: 500px; /* fallback for older browsers */
    height: 100vh;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
  }

  .parallax__layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform-origin-x: 100%;
  }

  .parallax__layer--fore {
    -webkit-transform: translateZ(90px) scale(.7);
    transform: translateZ(90px) scale(.7);
    z-index: 1;
  }

  .parallax__layer--base {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    z-index: 4;
    margin-left: -10px;
  }

  .parallax__layer--back {
    -webkit-transform: translateZ(-300px) scale(2);
    transform: translateZ(-300px) scale(2);
    z-index: 3;
    margin-left: -10px;
  }

  .parallax__layer--deep {
    -webkit-transform: translateZ(-600px) scale(3);
    transform: translateZ(-600px) scale(3);
    z-index: 2;
    margin-left: -10px;
  }


  /* Debugger styles - used to show the effect
  --------------------------------------------- */

  .debug {
    position: fixed;
    top: 0;
    left: 1em;
    z-index: 999;
    background: rgba(0,0,0,.85);
    color: #fff;
    font-size: 1em;
    padding: .3em 1em;
    border-radius: 0 0 5px 5px;
    opacity: .75;
  }
  .debug-on .parallax__group {
    -webkit-transform: translate3d(800px, 0, -800px) rotateY(30deg);
    transform: translate3d(700px, 0, -800px) rotateY(30deg);
 }
  .debug-on .parallax__layer {
    box-shadow: 0 0 0 2px #000;
    opacity: 0.9;
  }
  .parallax__group {
    -webkit-transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
  }
  .navlinks {
    font-size: 1.1em;
  }


  /* demo styles
  --------------------------------------------- */

  body, html {
    overflow: hidden;
  }

  body {
    font: 100% / 1.5 Tahoma;
  }

  * {
    margin:0;
    padding:0;
  }

  .parallax {
    font-size: 200%;
  }

   /* centre the content in the parallax layers */
  .title {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
  .title2 {
    text-align: left;
    position: absolute;
    left: 40%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }



  /* style the Main groups
  ---------------------------------------------
    GROUP 1 old background: url("../p2images/g1-background.jpg"); */

  #group1 {     /* Intro screen */
    z-index: 5; /* slide over group 2 */
  }
  #group1 .parallax__layer--base {
    background: rgb(255,255,255);
    background-repeat: no-repeat;
    background-size: 100%;
  } 

  #group2 {     /* Thomson Reuters screen */
    z-index: 3; /* slide under groups 1 and 3 */
  }
  #group2 .parallax__layer--back {
    background: rgb(255,255,255);
  }

  #group3 {     /* Gallery of the Arts screen */
    z-index: 4; /* slide over group 2 and 4 */
  }
  #group3 .parallax__layer--base {
    background: rgb(198,198,198);
  }

  #group4 {     /* Holley screen */
    z-index: 2; /* slide under group 3 and 5 */
  }
  #group4 .parallax__layer--deep {
    background: rgb(255,255,255);
  }

  #group5 {     /* CyberAlley screen */
    z-index: 3; /* slide over group 4 and 6 */
  }
  #group5 .parallax__layer--base {
    background: rgb(198,198,198);
  }

  #group6 {     /* Resume screen */
    z-index: 2; /* slide under group 5 and 7 */
  }
  #group6 .parallax__layer--back {
    background: rgb(118,176,203);
  }

  #group7 {     /* Contact screen */
    z-index: 3; /* slide over group 7 */
  }
  #group7 .parallax__layer--base {
    background: rgb(0,0,0);
  }



  /* style the Thomson Reuters groups
  --------------------------------------------- */

  #tr-group1 {     /* Intro screen */
    z-index: 5; /* slide over group 2 */
  }
  #tr-group1 .parallax__layer--base {
    background: rgb(118,176,203);
  }

  #tr-group2 {     /* Thomson Reuters screen */
    z-index: 3; /* slide under groups 1 and 3 */
  }
  #tr-group2 .parallax__layer--back {
    background: rgb(255,255,255);
  }

  #tr-group3 {     /* Gallery of the Arts screen */
    z-index: 4; /* slide over group 2 and 4 */
  }
  #tr-group3 .parallax__layer--base {
    background: rgb(198,198,198);
  }

  #tr-group4 {     /* Holley screen */
    z-index: 2; /* slide under group 3 and 5 */
  }
  #tr-group4 .parallax__layer--deep {
    background: rgb(255,255,255);
  }

  #tr-group5 {     /* CyberAlley screen */
    z-index: 3; /* slide over group 4 and 6 */
  }
  #tr-group5 .parallax__layer--base {
    background: rgb(198,198,198);
  }

  #tr-group6 {     /* Resume screen */
    z-index: 2; /* slide under group 5 and 7 */
  }
  #tr-group6 .parallax__layer--back {
    background: rgb(118,176,203);
  }

  #tr-group7 {     /* Contact screen */
    z-index: 3; /* slide over group 7 */
  }
  #tr-group7 .parallax__layer--base {
    background: rgb(255,255,255);
  }


  /* item styling
  --------------------------------------------- */
  .casestudy-listing {
    z-index:100;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 1em;
    text-align:left;
    margin-top: 15px;
    line-height: 1.2em;
  }

  .casestudy-listing-paran {
    z-index:100;
    font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
    font-size:80%;
  }


  /* modal styling
  --------------------------------------------- */
  .modalDialog {
  position: fixed;
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  z-index: 99999;
  opacity:0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
}

.modalDialog:target {
  opacity:1;
  pointer-events: auto;
}

.modalDialog > div {
  width: 60%;
  position: relative;
  margin: 10% auto;
  padding: 5px 20px 13px 20px;
  border-radius: 10px;
  background: #fff;
  background: -moz-linear-gradient(#fff, #999);
  background: -webkit-linear-gradient(#fff, #999);
  background: -o-linear-gradient(#fff, #999);
}

.close {
  background: #4786aa;
  color: #ffffff;
  line-height: 25px;
  font-size: 50%;
  position: absolute;
  right: -12px;
  text-align: center;
  top: -10px;
  width: 24px;
  margin-right: .5px;
  text-decoration: none;
  font-weight: normal;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -moz-box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  box-shadow: 1px 1px 3px #000;
}

.close:hover { background: #ff9200; }

.modaltext {
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  font-size: .5em;
  margin-top: 14px;
}

.seemore {
  font-family: Tahoma, Helvetica, sans-serif;
  font-size: .45em;
}

.drilldeeper {
  margin-top: 14px;
}



  /* main styles
  --------------------------------------------- */

  h1 {
    color: #4786aa;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 2em
  }

 h2 {
    color: #ff9200;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-style: normal;
    font-size: 1.2em;
    letter-spacing: -1.8px;
  }

 p {
    color: #2c2c2c;
    font-family: Garamond, Georgia, serif;
    font-style: normal;
    font-size: 1em;
  }

  a:link {
      color: #4786aa;
      text-decoration: none;
  }

  a:visited {
      color: #4786aa;
      text-decoration: none;
  }

  a:hover {
      color: #ff9200;
      text-decoration: none;
  }

  a:active {
      color: #c3deed;
  }
  


  /* misc
  --------------------------------------------- */
  .demo__info {
    position: absolute;
    z-index:100;
    background: rgba(0,0,0,.85);
    color: #fff;
    padding: .5em;
    bottom: 0vh;
    top: auto;
    font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
    font-size: 150%;
    text-align: center;
    width: 100%;
  }

  .date {
    font-size: .7em; 
    font-style: italic; 
    color: #706f6f;
  }

  .intro {
    padding: 2em 5em 5em 5em;
    float: left;
  }

  .intro-banner {
    font-size: .6em; 
    letter-spacing: 1.1em; 
    color: #706f6f;
    opacity: .5;
    margin: 0 0 0 67px;
  }

  .intro-text {
    width: 387px;
    margin-top: 20px;
  }

  .intro-text1 {
    font-size: 2em; 
    font-style: italic; 
    color: #4786aa;
  }

  .intro-text2 {
    font-size: 1.2em; 
    font-style: italic;
    color: #4786aa;
  }

  .intro-text3 {
    font-size: .8em; 
  }

  .intro-text4 {
    font-size: 1em; 
    font-style: italic;
    color: #4786aa;
    margin-top: 20px;
  }

  .intro-pic {
    position: absolute;
    bottom: 0vh;
    top: auto;
    z-index:1;
  }

  .contact-icons {
    z-index:100;
  }

  .company-logo {
    position: absolute;
    left: 97px;
    top: 50px;
  }

  .eflex-main {
    position: absolute;
    left: 97px;
    top: 130px;
    z-index: 90;
  }

  .eflex-details {
    position: absolute;
    float: right;
    right: 57px;
    top: 44px;
    background-color: #000;
    opacity: .6;
    width: 400px;
    height: 480px;
    border: 3px solid #4786aa;
    padding: 20px;
    z-index: 100;
  }

  .details-text {
    color: #e8e8e8;
    font-family: Tacoma, Helvetica;
    font-size: .7em;
    z-index: 100;
  }

  .eflex-casestudies {
    position: absolute;
    z-index: 100;
    color: #fff;
    bottom: 0vh;
    top: auto;
    width: 100%;
    margin-bottom: 5%;
  }

  .image {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .tr-main {
    position: absolute;
    left: 125px;
    top: 150px;
    z-index: 90;
  }

  .tr-details {
    position: absolute;
    float: right;
    right: 97px;
    top: 64px;
    background-color: #000;
    opacity: .6;
    width: 400px;
    height: 310px;
    border: 3px solid #4786aa;
    padding: 20px;
    z-index: 100;
  }

  .tr-casestudies {
    position: absolute;
    z-index: 100;
    color: #fff;
    bottom: 0vh;
    top: auto;
    width: 100%;
    margin-bottom: 5%;
  }

  .tr-casestudies2 {
    z-index: 100;
    color: #fff;
    bottom: 0vh;
    top: auto;
    float:right;
    width: 45%;
    margin-top: 32%;
    margin-bottom: 5%;
  }

  .ga-casestudies {
    position: absolute;
    z-index: 100;
    color: #fff;
    bottom: 0vh;
    top: auto;
    width: 100%;
    margin-bottom: 5%;
  }

  .ga-details {
    position: absolute;
    float: right;
    right: 57px;
    top: 64px;
    background-color: #000;
    opacity: .8;
    width: 650px;
    border: 3px solid #4786aa;
    padding: 20px;
    margin-top: 150px;
    z-index: 100;
  }

  .signoff {
    z-index:100;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 1em;
    color: #c3c3c3;
    text-align:left;
    margin-top: 15px;
    line-height: 1.2em;
  }

  .eflex-jem-section {
    z-index:100;
    background-color: #343434;
    width: 100%;
  }

  .callout {
    margin-left: 12%;
    color: #5c5c5c;
  }



  


  /* detail screens
  --------------------------------------------- */  

  .detail-nav {
    position: fixed;
    top: 0;
    left: 1em;
    z-index: 999;
    background: rgba(0,0,0,.75);
    color: #fff;
    padding: .em 1em;
    border-radius: 0 0 5px 5px;
  }

  .subhead {
    font-size: .7em; 
    font-style: italic; 
    color: #706f6f;
  }

  .casestudy {
    margin-left: 13%; 
    margin-right: 13%;
    height: 80%; 
    width: 80%; 
    overflow: auto;
  }

  .casestudy-first {
    margin-top: 55px;
    margin-left: 13%; 
    margin-right: 13%;
    height: 80%; 
    width: 80%; 
    overflow: auto;
  }

  .topic {
    font-size: 1em; 
    color: #ff9200;
  }

  .casestudy-text {
    font-size: 70%; 
    color: #717070;
    margin-top: 1em;
  }

  .highlight-links {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 50%; 
    color: #717070;
    margin-top: 1em;
  }

  .quote-text {
    font-family: "Arial Narrow";
    font-size: .7em; 
    font-style: italic;
    color: #4786aa;
    margin-left: 10px;
  }

  .myip-intro {
    background-color: #4786aa;
  }

    aside {
      float: right;
      margin-right: 20px;
      margin-left: 10px;
      padding: 10px;
      width: 20%;
      top: 210px;
      border: 1px solid #4786aa;
      background-color: #c3dae8;
      opacity: .7;
  }

  .aside-text {
    ont-size: .4em;
    font-family: "Arial Narrow";
    color: #4786aa;
    margin-bottom: 10px;
  }

  .title-one {
    text-align: center;
    position: absolute;
    font-size: 1.2em;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

  /* 3D Flip */

  .name {
  font-size: 1em;
  font-family: Impact;
  color: #fff;
  margin-left: 7px;
  margin-top: 5px;
  line-height: 1em;
  text-align: left;
}

.back-title {
  font-size: 1em;
  font-family: Impact;
  color: #fff;
  margin-left: 7px;
  margin-top: 5px;
  line-height: 1em;
  text-align: left;
}

.descript {
  font-size: .7em;
  font-family: Arial, Helvetica;
  color: #fff;
  margin: 7px;
  line-height: 1em;
  text-align: left;
}

.button-position {
  font-size: .7em;
  font-family: Impact, Arial, Helvetica;
  margin-left: 7px;
  position: absolute;
  bottom: 7px;
  float: left;
}

.flip-link {
  font-size: .7em;
  font-family: Impact, "Arial Narrow", "Helvetica Narrow";
  margin-left: 7px;
  position: absolute;
  bottom: 4px;
  float: left;
}

/* entire container, keeps perspective */
.flip-container {
  perspective: 1000;
}
  /* flip the pane when hovered */
  .flip-container:hover .flipper, .flip-container.hover .flipper {
    transform: rotateY(180deg);
  }

.flip-container, .front, .back {
  width: 150px;
  height: 150px;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* flip speed goes here */
.flipper {
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;
  padding-top: -10px;
}

/* hide back of pane during swap */
.front, .back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

/* front pane, placed above back */
.front {
  z-index: 2;
  /* for firefox 31 */
  transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
  transform: rotateY(180deg);
}

/* Modal */
.modal-header {
  background-color: #e0e1e1;
}

.modal-title {
  font-size: 3em;
  color: #116dab;
  margin-top: -13px;
  margin-bottom: -13px;
}

.modal-body {
  font-size: 1.5em;
  margin-left: 2px;
}

.modal-footer {
  background-color: #e0e1e1;
}


