@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 100;
  src: local('Lato Hairline'), local('Lato-Hairline'), url(http://themes.googleusercontent.com/static/fonts/lato/v6/boeCNmOCCh-EWFLSfVffDg.woff) format('woff')
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: local('Lato Light'), local('Lato-Light'), url(http://themes.googleusercontent.com/static/fonts/lato/v6/KT3KS9Aol4WfR6Vas8kNcg.woff) format('woff')
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(http://themes.googleusercontent.com/static/fonts/lato/v6/9k-RPmcnxYEPm8CNFsH2gg.woff) format('woff')
}

@font-face {
  font-family: 'icomoon';
  src: url('../font/icomoon.eot');
  src: url('../font/icomoon.eot?#iefix') format('embedded-opentype'),
    url('../font/icomoon.woff') format('woff'),
    url('../font/icomoon.ttf') format('truetype'),
    url('../font/icomoon.svg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal
}

body.concertina-page, body.landing-page {
    background-image: none;
    background-position: center center;
    -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
  background-size: cover;
    background-attachment: fixed;
}

h1.pageTitle {
    font-family: "trajan-pro", serif;
    font-size: 4.6em;
    color: white;
    text-align: center;
    margin: 0;
    text-shadow: 0 0 1px #707070;
}
/* Use the following CSS code if you want to use data attributes for inserting your icons */

[data-icon]:before {
  font-family: 'icomoon';
  content: attr(data-icon);
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased
}

/* Use the following CSS code if you want to have a class per icon */

/*
Instead of a list of all class selectors,
you can use the generic selector below, but it's slower:
[class*="icon-"] {
*/

.icon-arrow-right,
.icon-calendar-alt-fill,
.icon-chrome,
.icon-picassa,
.icon-skype,
.icon-cloud,
.icon-cloudy,
.icon-dropbox,
.icon-instagram {
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased
}

.icon-arrow-right:before {
  content: "\e000"
}

.icon-calendar-alt-fill:before {
  content: "\e001"
}

.icon-chrome:before {
  content: "\e002"
}

.icon-picassa:before {
  content: "\e003"
}

.icon-skype:before {
  content: "\e004"
}

.icon-cloud:before {
  content: "\e005"
}

.icon-cloudy:before {
  content: "\e006"
}

.icon-pound:before {
  content: "\e008"
}

.icon-dropbox:before {
  content: "\e007"
}

.icon-instagram:before {
  content: "\f16d"
}


/*///////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.slidePageInFromLeft {
  -webkit-animation: slidePageInFromLeft .8s cubic-bezier(.01,1,.22,.99) 1 0.25s normal forwards;
  -o-animation: slidePageInFromLeft .8s cubic-bezier(.01,1,.22,.99) 1 0.25s normal forwards;
  animation: slidePageInFromLeft .8s cubic-bezier(.01,1,.22,.99) 1 0.25s normal forwards
}

.openpage {
  -webkit-animation: rotatePageInFromRight 1s cubic-bezier(.66,.04,.36,1.03) 1 normal forwards;
  -o-animation: rotatePageInFromRight 1s cubic-bezier(.66,.04,.36,1.03) 1 normal forwards;
    animation: rotatePageInFromRight 1s cubic-bezier(.66, .04, .36, 1.03) 1 normal forwards;
    z-index: 10 !important;
}

.slidePageBackLeft {
  opacity: 1;
  left: 0;
  -webkit-animation: slidePageBackLeft .8s ease-out 1 normal forwards;
  -o-animation: slidePageBackLeft .8s ease-out 1 normal forwards;
  animation: slidePageBackLeft .8s ease-out 1 normal forwards
}

.slidePageLeft {
  opacity: 1;
  -webkit-transform: rotateY(0) translateZ(0);
  -ms-transform: rotateY(0) translateZ(0);
  -o-transform: rotateY(0) translateZ(0);
  transform: rotateY(0) translateZ(0);
  -webkit-animation: slidePageLeft .8s ease-out 1 normal forwards;
  -o-animation: slidePageLeft .8s ease-out 1 normal forwards;
  animation: slidePageLeft .8s ease-out 1 normal forwards
}

.fadeOutback {
  -webkit-animation: fadeOutBack 0.3s ease-out 1 normal forwards;
  -o-animation: fadeOutBack 0.3s ease-out 1 normal forwards;
  animation: fadeOutBack 0.3s ease-out 1 normal forwards
}

.fadeInForward-1,
.fadeInForward-2,
.fadeInForward-3 {
  opacity: 0;
  -webkit-transform: translateZ(-5em) scale(0.75);
  -ms-transform: translateZ(-5em) scale(0.75);
  -o-transform: translateZ(-5em) scale(0.75);
  transform: translateZ(-5em) scale(0.75);
  -webkit-animation: fadeInForward .5s cubic-bezier(.03,.93,.43,.77) .4s normal forwards;
  -o-animation: fadeInForward .5s cubic-bezier(.03,.93,.43,.77) .4s normal forwards;
  animation: fadeInForward .5s cubic-bezier(.03,.93,.43,.77) .4s normal forwards
}

.fadeInForward-2 {
  -webkit-animation-delay: .55s;
  -o-animation-delay: .55s;
  animation-delay: .55s
}

.fadeInForward-3 {
  -webkit-animation-delay: .7s;
  -o-animation-delay: .7s;
  animation-delay: .7s
}

@keyframes fadeOutBack {
  0% {
    -webkit-transform: translateX(-2em) scale(1);
    -ms-transform: translateX(-2em) scale(1);
    -o-transform: translateX(-2em) scale(1);
    transform: translateX(-2em) scale(1);
    opacity: 1
  }

  70% {
    -webkit-transform: translateZ(-5em) scale(0.6);
    -ms-transform: translateZ(-5em) scale(0.6);
    -o-transform: translateZ(-5em) scale(0.6);
    transform: translateZ(-5em) scale(0.6);
    opacity: 0.5
  }

  95% {
    -webkit-transform: translateZ(-5em) scale(0.6);
    -ms-transform: translateZ(-5em) scale(0.6);
    -o-transform: translateZ(-5em) scale(0.6);
    transform: translateZ(-5em) scale(0.6);
    opacity: 0.5
  }

  100% {
    -webkit-transform: translateZ(-5em) scale(0);
    -ms-transform: translateZ(-5em) scale(0);
    -o-transform: translateZ(-5em) scale(0);
    transform: translateZ(-5em) scale(0);
    opacity: 0
  }
}

@keyframes fadeInForward {
  0% {
    -webkit-transform: translateZ(-5em) scale(0);
    -ms-transform: translateZ(-5em) scale(0);
    -o-transform: translateZ(-5em) scale(0);
    transform: translateZ(-5em) scale(0);
    opacity: 0
  }

  100% {
    -webkit-transform: translateZ(0) scale(1);
    -ms-transform: translateZ(0) scale(1);
    -o-transform: translateZ(0) scale(1);
    transform: translateZ(0) scale(1);
    opacity: 1
  }
}

@keyframes rotatePageInFromRight {
  0% {
    -webkit-transform: rotateY(-90deg) translateZ(5em);
    -ms-transform: rotateY(-90deg) translateZ(5em);
    -o-transform: rotateY(-90deg) translateZ(5em);
    transform: rotateY(-90deg) translateZ(5em);
    opacity: 0
  }

  30% {
    opacity: 1
  }

  100% {
    -webkit-transform: rotateY(0deg) translateZ(0);
    -ms-transform: rotateY(0deg) translateZ(0);
    -o-transform: rotateY(0deg) translateZ(0);
    transform: rotateY(0deg) translateZ(0);
    opacity: 1
  }
}

@keyframes slidePageLeft {
  0% {
    left: 0;
    -webkit-transform: rotateY(0deg) translateZ(0);
    -ms-transform: rotateY(0deg) translateZ(0);
    -o-transform: rotateY(0deg) translateZ(0);
    transform: rotateY(0deg) translateZ(0);
    opacity: 1
  }

  70% {
    opacity: 1
  }

  100% {
    opacity: 0;
    left: -150%;
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    transform: rotateY(0deg)
  }
}

@keyframes slidePageInFromLeft {
  0% {
    opacity: 0
  }

  30% {
    opacity: 1
  }

  100% {
    opacity: 1;
    left: 0
  }
}

@keyframes slidePageBackLeft {
  0% {
    opacity: 1;
    left: 0;
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95)
  }

  30% {
      opacity: 0;
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9)
  }

  70% {
      opacity: 0;
      left: 0;
  }

  100% {
    opacity: 0;
    left: -150%
  }
}

/*======================= media queries for animations =======================*/

@media screen and (min-width: 64em) {
    .left-sidebar-wrapper {
        -moz-box-ordinal-group: 2;
        -webkit-box-ordinal-group: 2;
    }
@keyframes fadeInForward {
    80% {
      opacity: 0.9
    }

    100% {
      -webkit-transform: translateZ(0) scale(1);
      -ms-transform: translateZ(0) scale(1);
      -o-transform: translateZ(0) scale(1);
      transform: translateZ(0) scale(1);
      opacity: 1
    }
}
}

/*/////////////////////////////////////////////////////////////////////////////////////////////////////////*/

.demo-wrapper {
  width: 100%;
  height: 100%;
  -webkit-perspective: 3300px;
  -ms-perspective: 3300px;
  -o-perspective: 3300px;
  perspective: 3300px;
  position: relative
}

.dashboard {
  margin: 0 auto;
  width: 100%;
  -webkit-transform: translateX(200px);
  -ms-transform: translateX(200px);
  -o-transform: translateX(200px);
  transform: translateX(200px);
  opacity: 0;
  -webkit-animation: start 1s ease-out forwards;
  -o-animation: start 1s ease-out forwards;
  animation: start 1s ease-out forwards
}

@-webkit-keyframes start {
  0% {
    -webkit-transform: translateX(200px);
    opacity: 0
  }

  50% {
    opacity: 1
  }

  100% {
    -webkit-transform: translateX(0);
    opacity: 1
  }
}

@keyframes start {
  0% {
    -webkit-transform: translateX(200px);
    -ms-transform: translateX(200px);
    -o-transform: translateX(200px);
    transform: translateX(200px);
    opacity: 0
  }

  50% {
    opacity: 1
  }

  100% {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    opacity: 1
  }
}

.col1,
.col2,
.col3 {
  width: 99%;
    margin: 0;
}

/*::-webkit-scrollbar {
  width: 20px;
}
 
::-webkit-scrollbar-thumb {
  background: #fff;
}
 
::-webkit-scrollbar-track {
  background: #ddd;
}*/


.r-page {
  width: 100%;
  height: 75%;
  text-align: center;
  font-size: 2em;
  font-weight: 300;
  position: absolute;
  right: 0;
  top: 0;
  left:0;
  bottom:0;
  opacity: 0;
  color: white;
  z-index: -10;
  padding:10px;

  -webkit-transform-origin: 100% 0%;
  -ms-transform-origin: 100% 0%;
  -o-transform-origin: 100% 0%;
  transform-origin: 100% 0%;
  -webkit-transform: rotateY(-90deg) translateZ(5em);
  -ms-transform: rotateY(-90deg) translateZ(5em);
  -o-transform: rotateY(-90deg) translateZ(5em);
  transform: rotateY(-90deg) translateZ(5em)
}

.s-page {
  color: white;
  z-index: -10;
  text-align: center;
  font-size: 2em;
  font-weight: 300;
}
.page-content{
  overflow-y:auto;
  max-height:95%;
  font-size:.6em;
  padding:.6em;
  text-align:left;
  margin-bottom: 3em
}
/*default colors just in case you don't define these colors on the tiles*/
.s-page, .r-page{
  background-color: white;
  color:black;
}
.page-title {
  margin: .25em 0;
  font-weight: 100;
  font-size: 3em;
  text-align:center;
}

.close-button {
  font-size: 1.5em;
  width: 1em;
  height: 1em;
  position: absolute;
  bottom: 20px;
  right: 40px;
  cursor: pointer;
  line-height: .8em;
  text-align: center
}
ul.tiles {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tile {
  float: left;
  margin: 0 auto 10px;
  color: white;
  font-size: 1.2em;
  text-align: center;
  height: 200px;
  font-weight: 300;
  overflow: hidden;
  /*cursor: pointer;*/
  position: relative;
  background-color: #fff;
  color: #333;
  position: relative;
  -webkit-transition: background-color 0.2s ease-out;
  -o-transition: background-color 0.2s ease-out;
  transition: background-color 0.2s ease-out;
}
.tile[data-page-type]:not([data-page-type=""]) {
    cursor: pointer;
}
.tile-2xbig {
  height: 400px;
  width: 100%
}

.tile-big {
  width: 100%
}

.tile img {
    width: 100%;
  height: 100%
}

.tile-small img {
  max-height: 100px;
    min-height: 72px;
  width: auto;
    max-width: 100%;
    height: auto;
}

.tile-caption {
  position: absolute;
  z-index: 1;
  font-size: 1em;
  padding: 10px;
  text-align: left
}
.tile-small .tile-caption {
    padding: 5px;
    text-align: center;
}
.tile-red .tile-caption {
    background-color: #d6083b;
    color: #fff;
}
.tile-blue .tile-caption, .tile-blue figure {
    background-color: #002663;
    color: #fff;
}
.tile-light-blue .tile-caption {
    background-color: #acdee7;
    color: #002663;
}
.tile-white .tile-caption {
    background-color: #ffffff;
    color: #002663;
}
.tile:before, .tile-small .faces .front:before {
    position: absolute;
     bottom: 0.1em;
    right: 0.2em;
    font-family: FontAwesome;
    font-size: 1em;
    z-index: 99;
}
.tile[data-page-type=r-page]:before, .tile-small[data-page-type=r-page] .faces .front:before {
    content: "\f14c";
}
.tile[data-page-type=s-page]:before, .tile-small[data-page-type=s-page] .faces .front:before {
    content: "\f16a";
    color: #e52d27;
}
.tile[data-page-type=link]:before, .tile-small[data-page-type=link] .faces .front:before {
    content: "\f0c1";
}
.tile[data-page-type=image]:before, .tile-small[data-page-type=image] .faces .front:before {
    content: "\f03e";
}
.tile.tile-small:before {
    content: "" !important;
}
.tile:hover.tile-small .faces .front:before {
    display: none;
}
.tile-small .faces .front:before {
    right: 1.5em !important;
    font-size: 1.5em !important;
}
.caption-bottom {
  left: 0;
  bottom: 0;
  right: 0;
  height: auto;
    text-align: center;
    /*font-family: trajan-pro;*/
}

.image-caption-slide-up .caption-bottom {
    bottom: -100px;
    -webkit-box-shadow: 10px -10px 85px 0px rgba(0,0,0,1);
    -moz-box-shadow: 10px -10px 85px 0px rgba(0,0,0,1);
    box-shadow: 10px -10px 85px 0px rgba(0,0,0,1);
    -webkit-transition: bottom 0.2s ease-out;
    -o-transition: bottom 0.2s ease-out;
    transition: bottom 0.2s ease-out;
}
.image-caption-slide-up:hover .caption-bottom {
    bottom: 0;
}
.caption-top {
    left: 0;
    top: 0;
    right: 0;
    height: auto;
    /*font-family: trajan-pro;*/
}
.tile-small .caption-top {
    position: relative;
}
.image-caption-slide-down .caption-top {
    top: -100px;
    -webkit-box-shadow: 10px 10px 85px 0px rgba(0,0,0,1);
    -moz-box-shadow: 10px 10px 85px 0px rgba(0,0,0,1);
    box-shadow: 10px 10px 85px 0px rgba(0,0,0,1);
    -webkit-transition: top 0.2s ease-out;
    -o-transition: top 0.2s ease-out;
    transition: top 0.2s ease-out;
}
.image-caption-slide-down:hover .caption-top {
    top: 0;
}
.caption-left {
  left: -100%;
  top: 0;
  bottom: 0;
  width: 40%;
  -webkit-box-shadow: 10px 10px 85px 0px rgba(0,0,0,1);
  -moz-box-shadow: 10px 10px 85px 0px rgba(0,0,0,1);
  box-shadow: 10px 10px 85px 0px rgba(0,0,0,1);
  -webkit-transition: left .3s linear;
  -o-transition: left .3s linear;
  transition: left .3s linear
}

.tile:hover .caption-left {
  left: 0
}

.caption-right {
  right: -100%;
  top: 0;
  bottom: 0;
  width: 40%;
  -webkit-box-shadow: -10px 10px 85px 0px rgba(0,0,0,1);
  -moz-box-shadow: -10px 10px 85px 0px rgba(0,0,0,1);
  box-shadow: -10px 10px 85px 0px rgba(0,0,0,1);
  -webkit-transition: right .3s linear;
  -o-transition: right .3s linear;
  transition: right .3s linear
}

.tile:hover .caption-right {
  right: 0
}

.tile-small {
  width: 47%;
    width: calc(50% - 5px);
    margin-right: 10px;
}

.tile div {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 92%;
    width: calc(100% - 20px);
  height: 100%;
  text-align: center;
  display: table;
  padding: 0 10px;
  -webkit-transition: all .3s ease;
  -o-transition: all .3s ease;
  transition: all .3s ease
}

.tile-isl div {
  width: 50%;
  float: left;
  margin: 0;
  padding: 0;
  display: inline-block;
  position: relative;
}
.tile-isl .tile-image {
    background-size: cover;
}
.tile-isl .tile-caption {
    padding: 5px 0;
    display: table;
    font-size: 1em;
}
.tile-isl .cell {
    width: 100%;
    float: none;
    height: 100%;
}
.tile div h3 {
    /*font-family: trajan-pro;*/
}
.tile div p {
  display: table-cell;
  vertical-align: middle
}

.tile div .cell {
  display: table-cell;
    vertical-align: middle;
    position: relative;
    padding: 0;
}
.tile div.cell p {
    display: initial;
}
.tile div.cell2 p {
  display: block;
}
.tile-isl div.cell p.title {
    display: block !important;
    margin: 0;
}
/*styling the individual tiles*/

.tile-1, .tile-red, .tile-red .faces .front {
  background-color: #d6083b;
  color: white
}
.tile-red .faces .back {
    background-image: none !important;
  background-color: #ffffff;
    color: #d6083b;
}

.tile-2, .tile-light-blue, .tile-light-blue .faces .front {
  background-color: #acdee7;
  color: #002663
}
.tile-light-blue .faces .back {
    background-image: none !important;
  background-color: #002663;
    color: #ffffff;
}
.tile-2:hover, .tile-light-blue:hover {
  background-color: white;
  color: #002663
}
.tile-light-blue p.title {
    font-size: 1.3em;
    font-family: trajan-pro;
}

.tile-3, .tile-blue, .tile-blue .faces .front {
  background-color: #002663;
    color: #ffffff;
}
.tile-blue .faces .back {
    background-image: none !important;
    background-color: #ffffff;
    color: #002663;
}

.tile-3:hover, .tile-blue:hover {
  background-color: white;
  color: #002663
}

.tile-blue p.title, .tile-red p.title {
  font-size: 1.7em;
    margin-top: .5em;
    margin-bottom:10px;
}
figure p.title {
    font-size: 1.5em;
    margin: 0 !important;
}
.tile-white, .tile-white .faces .front {
    background-color: #ffffff;
    color: #002663;
}
.tile-white .faces .back {
    background-image: none !important;
    background-color: #002663;
    color: #ffffff;
}

.tile-5 {
  background-color: #002663;
  color: white
}

.tile-5:hover {
  background-color: #fff;
    color: #002663;
}

.tile-6 {
  background-color: #acdee7;
  color: white
}

.tile-7,
.tile-8 {
  background-color: transparent;
}

.tile-10 {
  background-color: #d6083b;
  color: white
}

.tile-10:hover {
  background-color: white;
    color: #d6083b;
}

.tile-10 div {
  text-align: left
}

.tile-3 p {
  font-size: 4em;
  margin-top: .5em
}

.tile-5 p,
.tile-6 p {
  font-size: 2em
}

.tile-5 p span,
.tile-6 p span {
  font-size: 1.3em;
  margin-right: .7em;
  position: relative;
  top: .15em
}

.tile-6 p span {
  margin-right: 1em
}

/*Text Static*/

.textStatic div p {
    display: block;
    font-size: 1.05em;
    /*font-family: trajan-pro;*/
}

/*Large Quote*/

.largeQuote div p, .slideQuoteUp div p {
    display: table-cell;
    font-size: 1.3em;
    font-family: trajan-pro;
}

/* slide text inside tile up */

.slideTextUp div:nth-child(2) {
  top: 100%
}

.slideTextUp:hover div {
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%)
}

.slideTextUp p {
  font-size: 1.3em
}
.slideTextUp p.title {
  font-size: 2em
}
.slideTextUp h3 {
    font-size: 1.5em;
    font-family: trajan-pro;
}

/* slide text inside tile to the right*/

.slideTextRight div:first-child {
  left: -100%
}
.slideTextRight p {
    /*font-size: 1.3em;*/
}

.slideTextRight:hover div {
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -o-transform: translateX(100%);
  transform: translateX(100%)
}

.tile {
    background-position: center center;
    background-size: cover;
}
/* slide text inside tile to the left */

.slideTextLeft div:nth-child(2) {
  left: 100%
}

.slideTextLeft:hover div {
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%)
}
.slideTextLeft:hover .cell2 {
  -webkit-transform: translateX(0)!important;
  -ms-transform: translateX(0)!important;
  -o-transform: translateX(0)!important;
    transform: translateX(0) !important;

}
.slideTextLeft div p {
    font-size: 1.3em;
}

/*Slide Image Left*/
.slideImageLeft img, .slideImageLeft figcaption {
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease
}
.slideImageLeft figcaption {
    left: 101%;
    top: 0;
    bottom: 0;
    width: 90%;
}
.slideImageLeft figcaption h3 {
    font-family: trajan-pro;
    text-align: center;
}
.slideImageLeft figcaption p {
    font-size: 1.3em;
}

.slideImageLeft:hover img, .slideImageLeft:hover figcaption {
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
    transform: translateX(-100%);
  
}

.tile:hover .slideImageLeft figcaption {
  left: 0
}

/*Small text Static*/

.small-text-static p {
    font-size: 1.3em;
}
.small-text-static h3 {
    font-family: trajan-pro;
    font-size: 1.7em;
}

/* rotate tile in 3D*/

.rotate3d {
  -webkit-perspective: 800;
  -ms-perspective: 800;
  -o-perspective: 800;
  perspective: 800;
  overflow: visible
}

.faces {
  -webkit-transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 1s;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -o-transition: -o-transform 1s;
  transition: -webkit-transform 1s;
  transition: -ms-transform 1s;
  transition: -o-transform 1s;
  transition: transform 1s
}

.faces div {
  display: inherit;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 95%;
    width: calc(100% - 20px);
  height: 100%;
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden
}
/*.faces .front{
  background-color: #455962;
  color: #ddd;
}*/
.rotate3dX .front {
  background-color: #002663;
  color: #ddd
}
/*.rotate3dY .front {
  background-color: #ddd;
  color: #002663;
}*/

.rotate3d {
  background-color: transparent !important;
}

/*.faces .back {
  background-image: none !important;
  background-color: #acdee7;
  color: #002663
}*/

.front span {
  display: inline-block;
  /*font-size: 4em;*/
  margin-top: 10PX
}

.rotate3d .front, .rotate3d .back {
    /*font-size: 1.3em;*/
    /*font-family: trajan-pro;*/
}
.rotate3dY .back {
  -webkit-transform: rotateY( 180deg );
  -ms-transform: rotateY( 180deg );
  -o-transform: rotateY( 180deg );
  transform: rotateY( 180deg )
}

.rotate3dX .back {
  -webkit-transform: rotateX( 180deg );
  -ms-transform: rotateX( 180deg );
  -o-transform: rotateX( 180deg );
  transform: rotateX( 180deg )
}

.back p {
    padding: 10px;
}

.rotate3dY:hover .faces {
  -webkit-transform: rotateY( 180deg );
  -ms-transform: rotateY( 180deg );
  -o-transform: rotateY( 180deg );
  transform: rotateY( 180deg )
}

.rotate3d:hover .faces .front {
    background-color: transparent;
}
.rotate3d:hover .faces .back {
    -webkit-backface-visibility: visible;
  -ms-backface-visibility: visible;
  -o-backface-visibility: visible;
  backface-visibility: visible;
}

.rotate3dX:hover .faces {
  -webkit-transform: rotateX( 180deg );
  -ms-transform: rotateX( 180deg );
  -o-transform: rotateX( 180deg );
  transform: rotateX( 180deg )
}

.s-page {
    height: auto;
    max-height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: -150%;
  color: white;
  text-align: center;
  font-weight: 300;
    z-index: 9999;
}

/*.s-page .image-container {
    overflow: hidden;
}
.s-page .image-container img {
    max-width: 100%;
    max-height: 100%;
}*/
.s-page .video-container, .s-page .image-container {
	position: relative;
	padding-bottom: 50.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.s-page .video-container iframe, .s-page .image-container img {
	position: absolute;
	top: 0;
	left: 15%;
	width: 70%;
	/*height: 90%;*/
}
.s-page .video-container iframe {
    height: 90%;
}
.s-page p {
  /*font-size: 6em;
  margin-top: 2em;
  font-weight: 100*/
}
.s-page p a {
    color: #ffffff;
    text-align: center;
    text-decoration: none;
}

.page-content .page-title, .cell .title {
    font-family: trajan-pro;
}
.slidePageInFromLeft {
    top: 50px;
        left:0;
    }
.close-button{
    font-size:5em;
  }
/*======================= media queries =======================*/

@media screen and (min-width: 768px) {
    
    .slidePageInFromLeft {
        position: fixed;
        top: 0;
        /*width: 980px;*/
    }
  .col1,
  .col2,
  .col3 {
    float: left;
    margin-right: 1%;
    width: 49%
  }
  .col3 {
      width: 100%;
  }
  .tile {
      height: 155px;
  }
  .tile-2xbig {
      height: 320px;
  }
  .col3 .tile {
      height: 200px;
  }
  .col3 .tile-2xbig {
      height: 400px;
  }
  .page-title{
    font-size:2.5em;
  }
  .page-content{
    font-size:1em;
  }
  .close-button{
    font-size:5em;
  }
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
/* Styles */
    html {
        font-size: 1.2em;
    }
    .tile:before, .tile-small .faces .front:before {
          font-size: 2em !important;
      }
    .close-button{
    font-size:1.5em;
  }
    .main {
        display: -webkit-box;
        display: -moz-box;
        display: box;
        -webkit-box-orient: vertical;
        -moz-box-orient: vertical;
    }
    .left-sidebar-wrapper {
        -webkit-box-ordinal-group: 2;
        -moz-box-ordinal-group: 2;
        box-ordinal-group: 2;
    }
    .faces .front {
      width: 100% !important;
    }
    body.concertina-page, body.landing-page {
        -webkit-background-size: cover;
        background-attachment: fixed !important;
}
}

/* iPads (landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
/* Styles */
    .wrapper-main {
      /* max-width: 768px; */
      min-width: 300px;
      width: 100% !important;
      padding-bottom: 30px;
    }
    .close-button {
        font-size: 3em;
    }
}

/* iPads (portrait) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
/* Styles */
    .close-button {
        font-size: 3em;
    }
}
}
/**********
iPad 3
**********/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
/* Styles */
    .tile:before, .tile-small .faces .front:before {
      font-size: 3em !important;
    }
    .cell, figcaption {
        font-size: 1.5em;
    }
}

/* Smartphones (landscape) ----------- */
@media only screen and (min-width : 321px) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen and (max-width : 320px) {
/* Styles */
}
@media screen and (min-width: 1224px) {
  /*.s-page {
      max-width: 980px;
  }*/
  .col1,
  .col2,
  .col3 {
    float: left;
    margin-right: 10px;
      width: 320px;
      width: calc(100% /3 - 7px);
      overflow: hidden;
  }
  .col3 {
    margin-right: 0
  }
.col3 .tile {
      height: 155px;
  }
  .col3 .tile-2xbig {
      height: 320px;
  }
  .col1 {
  }
  .page-title{
    font-size:3.5em;
  }
  .tile:before, .tile-small .faces .front:before {
      font-size: 2em !important;
  }
  .close-button{
    font-size:2em;
  }
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-device-width : 767px) {
    .close-button{
        font-size:3em;
    }
    .tile:before, .tile-small .faces .front:before {
      font-size: 3em !important;
  }
    .slidePageInFromLeft {
        top: 0;
    }
    .s-page .video-container iframe, .s-page .image-container img {
        top: 0;
        left: 0;
        width: 100%;
    }
    .cell, figcaption, .tile-caption {
        font-size: 1.5em;
    }
}
/* prefixed animation keyframes */


@-webkit-keyframes fadeOutBack {
  0% {
    -webkit-transform: translateX(-2em) scale(1);
    transform: translateX(-2em) scale(1);
    opacity: 1
  }

  70% {
    -webkit-transform: translateZ(-5em) scale(0.6);
    transform: translateZ(-5em) scale(0.6);
    opacity: 0.5
  }

  95% {
    -webkit-transform: translateZ(-5em) scale(0.6);
    transform: translateZ(-5em) scale(0.6);
    opacity: 0.5
  }

  100% {
    -webkit-transform: translateZ(-5em) scale(0);
    transform: translateZ(-5em) scale(0);
    opacity: 0
  }
}

@-webkit-keyframes fadeInForward {
  0% {
    -webkit-transform: translateZ(-5em) scale(0);
    transform: translateZ(-5em) scale(0);
    opacity: 0
  }

  100% {
    -webkit-transform: translateZ(0) scale(1);
    transform: translateZ(0) scale(1);
    opacity: 1
  }
}

@-webkit-keyframes rotatePageInFromRight {
  0% {
    -webkit-transform: rotateY(-90deg) translateZ(5em);
    transform: rotateY(-90deg) translateZ(5em);
    opacity: 0
  }

  30% {
    opacity: 1
  }

  100% {
    -webkit-transform: rotateY(0deg) translateZ(0);
    transform: rotateY(0deg) translateZ(0);
    opacity: 1
  }
}

@-webkit-keyframes slidePageLeft {
  0% {
    left: 0;
    -webkit-transform: rotateY(0deg) translateZ(0);
    transform: rotateY(0deg) translateZ(0);
    opacity: 1
  }

  70% {
    opacity: 1
  }

  100% {
    opacity: 0;
    left: -150%;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg)
  }
}

@-webkit-keyframes slidePageInFromLeft {
  0% {
    opacity: 0
  }

  30% {
    opacity: 1
  }

  100% {
    opacity: 1;
    left: 0
  }
}

@-webkit-keyframes slidePageBackLeft {
  0% {
    opacity: 1;
    left: 0;
    -webkit-transform: scale(0.95);
    transform: scale(0.95)
  }

  10% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9)
  }

  70% {
    opacity: 1
  }

  100% {
    opacity: 0;
    left: -150%
  }
}

@-o-keyframes fadeOutBack {
  0% {
    -webkit-transform: translateX(-2em) scale(1);
    -ms-transform: translateX(-2em) scale(1);
    -o-transform: translateX(-2em) scale(1);
    transform: translateX(-2em) scale(1);
    opacity: 1
  }

  70% {
    -webkit-transform: translateZ(-5em) scale(0.6);
    -ms-transform: translateZ(-5em) scale(0.6);
    -o-transform: translateZ(-5em) scale(0.6);
    transform: translateZ(-5em) scale(0.6);
    opacity: 0.5
  }

  95% {
    -webkit-transform: translateZ(-5em) scale(0.6);
    -ms-transform: translateZ(-5em) scale(0.6);
    -o-transform: translateZ(-5em) scale(0.6);
    transform: translateZ(-5em) scale(0.6);
    opacity: 0.5
  }

  100% {
    -webkit-transform: translateZ(-5em) scale(0);
    -ms-transform: translateZ(-5em) scale(0);
    -o-transform: translateZ(-5em) scale(0);
    transform: translateZ(-5em) scale(0);
    opacity: 0
  }
}

@-o-keyframes fadeInForward {
  0% {
    -webkit-transform: translateZ(-5em) scale(0);
    -ms-transform: translateZ(-5em) scale(0);
    -o-transform: translateZ(-5em) scale(0);
    transform: translateZ(-5em) scale(0);
    opacity: 0
  }

  100% {
    -webkit-transform: translateZ(0) scale(1);
    -ms-transform: translateZ(0) scale(1);
    -o-transform: translateZ(0) scale(1);
    transform: translateZ(0) scale(1);
    opacity: 1
  }
}

@-o-keyframes rotatePageInFromRight {
  0% {
    -webkit-transform: rotateY(-90deg) translateZ(5em);
    -ms-transform: rotateY(-90deg) translateZ(5em);
    -o-transform: rotateY(-90deg) translateZ(5em);
    transform: rotateY(-90deg) translateZ(5em);
    opacity: 0
  }

  30% {
    opacity: 1
  }

  100% {
    -webkit-transform: rotateY(0deg) translateZ(0);
    -ms-transform: rotateY(0deg) translateZ(0);
    -o-transform: rotateY(0deg) translateZ(0);
    transform: rotateY(0deg) translateZ(0);
    opacity: 1
  }
}

@-o-keyframes slidePageLeft {
  0% {
    left: 0;
    -webkit-transform: rotateY(0deg) translateZ(0);
    -ms-transform: rotateY(0deg) translateZ(0);
    -o-transform: rotateY(0deg) translateZ(0);
    transform: rotateY(0deg) translateZ(0);
    opacity: 1
  }

  70% {
    opacity: 1
  }

  100% {
    opacity: 0;
    left: -150%;
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    transform: rotateY(0deg)
  }
}

@-o-keyframes slidePageInFromLeft {
  0% {
    opacity: 0
  }

  30% {
    opacity: 1
  }

  100% {
    opacity: 1;
    left: 0
  }
}

@-o-keyframes slidePageBackLeft {
  0% {
    opacity: 1;
    left: 0;
    -webkit-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95)
  }

  10% {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9)
  }

  70% {
    opacity: 1
  }

  100% {
    opacity: 0;
    left: -150%
  }
}

@-o-keyframes start {
  0% {
    -webkit-transform: translateX(200px);
    opacity: 0
  }

  50% {
    opacity: 1
  }

  100% {
    -webkit-transform: translateX(0);
    opacity: 1
  }
}


/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
