/*
Theme created for use with Sequence.js (http://www.sequencejs.com/)

Theme: Modern Slide In
Version: 1.3
Theme Author: Ian Lunn @IanLunn
Author URL: http://www.ianlunn.co.uk/
Theme URL: http://www.sequencejs.com/themes/modern-slide-in/

This is a FREE theme and is available under a MIT License:
http://www.opensource.org/licenses/mit-license.php

Sequence.js and its dependencies are (c) Ian Lunn Design 2012 - 2013 unless otherwise stated.
*/
/* CSS RESET - http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* !CSS RESET */
/* prefix declarations */
/* THEME STYLES */
.sequence-theme {
  /* this container is just to ensure the background color stretches all the way across on bigger screens */
  background: white;
}

#sequence {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  width: 100%;
  background-color: #D9D9D9;
  background-repeat: no-repeat;
  background-position: 50% 100%;
  color: white;
  font-size: 0.625em;
  margin: 0 auto;
  position: relative;
  height: 580px;
}
#sequence > .sequence-canvas {
  height: 100%;
  width: 100%;
}
#sequence > .sequence-canvas > li {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#sequence > .sequence-canvas > li > div img {
  height: 96%;
}
#sequence > .sequence-canvas > li > div {
    max-width: 1280px;
    position: relative;
    height: 100%;
    margin: auto;
}
#sequence > .sequence-canvas li > div > * {
  position: absolute;
  /* only cause the left and opacity properties to transition */
  -webkit-transition-property: left, opacity;
  -moz-transition-property: left, opacity;
  -ms-transition-property: left, opacity;
  -o-transition-property: left, opacity;
  transition-property: left, opacity;
}

.sequence-next,
.sequence-prev {
  color: white;
  cursor: pointer;
  display: none;
  font-weight: bold;
  padding: 10px 15px;
  position: absolute;
  top: 50%;
  z-index: 1000;
  height: 52px;
  margin-top: -47.5px;
}

.sequence-pause {
  bottom: 0;
  cursor: pointer;
  position: absolute;
  z-index: 1000;
}

.sequence-paused {
  opacity: 0.3;
}

.sequence-prev {
  left: 3%;
}

.sequence-next {
  right: 3%;
}

.sequence-prev img,
.sequence-next img {
  height: 100%;
  width: auto;
}

#sequence-preloader {
  background: #d9d9d9;
}

.sequence-pagination {
  bottom: 1%;
  display: none;
  right: 6%;
  position: absolute;
  z-index: 10;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
.sequence-pagination li {
  display: inline-block;
  *display: inline;
  /* Hack for IE7 and below as they don't support inline-block */
  height: 140px;
}
.sequence-pagination li > div > img {
  cursor: pointer;
  opacity: 0.5;
  -webkit-transition-duration: 1s;
  -moz-transition-duration: 1s;
  -ms-transition-duration: 1s;
  -o-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-transition-property: margin-bottom, opacity;
  -moz-transition-property: margin-bottom, opacity;
  -ms-transition-property: margin-bottom, opacity;
  -o-transition-property: margin-bottom, opacity;
  transition-property: margin-bottom, opacity;
}
.sequence-pagination li > div > img:hover {
  margin-bottom: 4px;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -ms-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.sequence-pagination li .current div img {
  opacity: 1;
}

h2 {
  color: white;
}

.sequence-next,
.sequence-prev {
  position: absolute;
  opacity: 0.5;
  -webkit-transition-duration: 1s;
  -moz-transition-duration: 1s;
  -ms-transition-duration: 1s;
  -o-transition-duration: 1s;
  transition-duration: 1s;
}

.sequence-next:hover,
.sequence-prev:hover {
  opacity: 1;
  -webkit-transition-duration: 1s;
  -moz-transition-duration: 1s;
  -ms-transition-duration: 1s;
  -o-transition-duration: 1s;
  transition-duration: 1s;
}

.title {
  /*font-size: 3.4em;*/
  left: 30%;
  width: 35%;
  opacity: 0;
  top: 22%;
  z-index: 50;
  font-weight: normal;
  font-size: 65px;
    line-height: 1em;
}

.animate-in .title {
  left: 13%;
  opacity: 1;
  top: 22%;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.animate-out .title {
  left: 13%;
  opacity: 0;
  top: 22%;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.subtitle {
  color: white;
  left: 30%;
  width: 45%;
  opacity: 0;
  top: 47%;
}

.subtitle p {
    font-size: 1.3em;
    margin: 10px 0;
}

.animate-in .subtitle {
  left: 13%;
  opacity: 1;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.animate-out .subtitle {
  left: 13%;
  opacity: 0;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.model {
  left: 35%;
  bottom: 0;
  opacity: 0;
  position: relative;
  height: auto !important;
  max-height: 568px !important;
  width: 30%;
  min-width: 380px;
  /* prevents the model from shrinking when the browser is resized */
  max-width: 280px;
}

.animate-in .model {
  left: 60%;
  opacity: 1;
  -webkit-transition-duration: 1s;
  -moz-transition-duration: 1s;
  -ms-transition-duration: 1s;
  -o-transition-duration: 1s;
  transition-duration: 1s;
}

.animate-out .model {
  left: 60%;
  opacity: 0;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

@media only screen and (max-width: 1200px) {
    #sequence {
        height: 400px;
    }
    .title {
        top: 10%;
        font-size: 45px;
    }
    .subtitle {
        top: 45%;
    }
    .model {
        min-width: 225px;
    }
    .animate-in .model {
        left: 60%;
    }
}

@media only screen and (max-width: 1110px) {
    .animate-in .title {
        width: 43%;
    }
    .animate-in .subtitle {
        width: 40%;
    }
}

@media only screen and (max-width: 950px) {
    .animate-in .title {
        left: 10%;
        width: 40%;
        font-size: 40px;
        /*font-size: 27px;*/
    }
    .animate-in .subtitle {
        left: 10%;
        width: 40%;
        /*font-size: 9px;*/
    }
}

@media only screen and (min-width: 992px) {
  #sequence .title {
    width: 42%;
  }
  .animate-in .title {
        width: 42%;
  }
}
@media only screen and (max-width: 767px) {
    #sequence {
        height: 500px;
    }
    .animate-in .title {
        left: 80px;
        width: 78%;
        font-size: 22px;
    }
    .animate-in .subtitle {
        left: 80px;
        font-size: 9px;
        top: 16%;
        width: 78%;
    }
    .animate-in .model {
        left: 50%;
        width: 30% !important;
        max-height: 480px !important;
    }
    #sequence .sequence-next,
    #sequence .sequence-prev {
        height: 60px;
        margin-top: -40px;
    }
}
@media only screen and (max-width: 700px) {
    .animate-in .title {
        width: 75%;
    }
    .animate-in .subtitle {
        width: 75%;
    }
    .animate-in .model {
        left: 40%;
        max-height: 250px !important;
    }
}
@media only screen and (max-width: 650px) {
    #sequence {
        height: 455px;
    }
    .animate-in .model {
        left: 35%;
        max-height: 250px !important;
    }
}
@media only screen and (max-width: 550px) {
    .animate-in .title {
        width: 70%;
    }
    .animate-in .subtitle {
        width: 70%;
    }
    .animate-in .model {
        left: 40%;
        max-height: 250px !important;
    }
}
@media only screen and (max-width: 500px) {
    .animate-in .title {
        width: 70%;
    }
    .animate-in .subtitle {
        width: 70%;
    }
    .animate-in .model {
        min-width: 200px;
        left: 40%;
        max-height: 200px !important;
    }
}
@media only screen and (max-width: 455px) {
    .animate-in .title {
        width: 65%;
        top: 5%;
    }
    .animate-in .subtitle {
        width: 65%;
        top: 10%;
    }
    .animate-in .model {
        min-width: 200px;
        left: 30%;
        max-height: 200px !important;
    }
}
@media only screen and (max-width: 420px) {
    #sequence {
        height: 450px;
    }

    .animate-in .title {
        font-size: 18px;
        width: 65%;
        top: 5%;
        left: 20%;
    }

    .animate-in .subtitle {
        width: 65%;
        top: 10%;
        left: 20%;
    }

    .animate-in .model {
        min-width: 200px;
        left: 20%;
        max-height: 200px !important;
    }
}