/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@font-face {
    font-family: 'sansation';
    src: url('../fonts/Sansation_Regular.ttf') format("truetype"), url('../fonts/Sansation_Regular.woff') format("woff");
    font-weight: normal;
}
@font-face {
    font-family: 'sansation';
    src: url('../fonts/Sansation_Bold.ttf') format("truetype"), url('../fonts/Sansation_Bold.woff') format("woff");
    font-weight: 600;
}
@font-face {
    font-family: 'sansation';
    src: url('../fonts/Sansation_Light.ttf') format("truetype"), url('../fonts/Sansation_Light.woff') format("woff");
    font-weight: 300;
}
body {
    font-family: 'sansation', Arial;
    background-color: #000;
    color: #00D4EE;
    font-size: 16px;
}
h1 {}
h2 { font-size: 50px; color: #18464C; text-transform: uppercase; }
h3 { text-transform: uppercase; }
h4 { text-transform: uppercase; color: #13464C; }
#about, #gallery, #guide, #press, #contact, #updates {
    text-align: center;
}
a {
    color: #00D4F0;
    outline: 0 !important;
}
.preloader {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,1);
    position: fixed;
    z-index: 253;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -webkit-transition: opacity 1s ease-in-out;
}

.preloader.fadeout {
    opacity: 0;
}

.introbackground {
    overflow: hidden;
}
.videocontainer {
    background-image: url('../img/intro_bg2.jpg');
    background-size: cover;
    opacity: 1;
    overflow: hidden;
    position: relative;
    width: 100%;
}
.videocontainer video {
    height: 100%;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 100%;
    opacity: 0.7;
    z-index: 100;
}
.videocontainer .shadow {
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0000000f', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
    bottom: 0;
    display: block;
    height: 300px;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 151;
}

.nav-toggle {
    display: none;
}
#navigation {
    z-index: 252;
    position: fixed;
    left: 40px;
    top: 40px;
    text-transform: uppercase;
}
#navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#navigation li {
    margin-bottom: 20px;
}
#navigation a {
    color: #00D5ED;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.3s linear 0s, opacity 0.3s linear 0s;
    background: url('../img/nav_icon.png') no-repeat;
    padding-left: 27px;
}
#navigation li.active a, #navigation a:hover {
    opacity: 1;
}
#lang {
    z-index: 252;
    position: fixed;
    right: 40px;
    top: 40px;
}
#lang a {
    color: #00D5ED;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    line-height: 1;
    opacity: 0.5;
    transition: opacity 0.3s linear 0s, opacity 0.3s linear 0s;
}
#lang li.active a, #lang a:hover {
    opacity: 1;
}
.logo {
    width: 300px;
    height: 384px;
    display: block;
    background: url('../img/logo.png');
    z-index: 254;
    position: relative;
    margin: 0 auto;
    text-indent: -10000px;
}

.shark {
    width: 600px;
    position: absolute;
    bottom: 0;
    right: 100%;
    z-index: 150;
    opacity: 1;
}
.shark.animate {
    animation: shark 2s;
    -moz-animation: shark 2s; /* Firefox */
    -webkit-animation: shark 2s; /* Safari and Chrome */
    -webkit-animation-timing-function: linear; /* Safari and Chrome */
    animation-timing-function: linear;
}
.divedeep {
    position: absolute;
    z-index: 252;
    left: 50%;
    margin-left: -54px;
    bottom: 4%;
}
.divedeep img {
    -webkit-animation: divedeep 3s alternate infinite;
    -moz-animation: divedeep 3s alternate infinite;
    -ms-animation: divedeep 3s alternate infinite;
    -o-animation: divedeep 3s alternate infinite;
    animation: divedeep 3s alternate infinite;
}
section {
    min-height: 800px;
    position: relative;
}
section.bg-left {
    background: url('../img/bg.png') -535px center no-repeat;
    padding: 40px 0 0;
}
section.bg-right {
    background: url('../img/bg.png') 685px center no-repeat;
    padding: 40px 0 0;
}
section.download {
    background: url('../img/footer.jpg') center center no-repeat;
    padding: 40px 0 0;
}
section.footer {
    background: #000;
    height: 100px;
    min-height: 100px;
}
section img {
    max-width: 100%;
}
section#about ul {
    width: 400px;
    margin: 10px auto;
    text-align: left;
}
.guidemap {
    width: 752px;
    height: 421px;
    margin: 0px auto;
    background: url('../img/guide.png') no-repeat;
    position: relative;
}
.guidemap .guide_locations, .guidemap .guide_diveritems, .guidemap .guide_sharkevolutions {
    width: 240px;
    height: 28px;
    position: absolute;
    text-transform: uppercase;
    text-align: center;
}
.guidemap .guide_locations {
    top: 304px;
    left: 14px;
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    -ms-transform: rotate(2deg);
    -o-transform: rotate(2deg);
}
.guidemap .guide_diveritems {
    top: 372px;
    left: 245px;
    -webkit-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
    -ms-transform: rotate(-2deg);
    -o-transform: rotate(-2deg);
}
.guidemap .guide_sharkevolutions {
    top: 335px;
    left: 495px;
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    -ms-transform: rotate(2deg);
    -o-transform: rotate(2deg);
}
.guidemap .guide_locations a, .guidemap .guide_diveritems a, .guidemap .guide_sharkevolutions a {
    font-size: 20px;
    text-decoration: none;
    color: #999;
    transition: color 1s ease-in-out;
    -moz-transition: color 1s ease-in-out;
    -webkit-transition: color 1s ease-in-out;
}

.mapsinfo .mapimageholder {
    position:relative;
    height:136px;
    width:210px;
    margin:0 auto;
}

.mapsinfo .mapimageholder img {
  position:absolute;
  left:0;
  top:0;
  -webkit-transition: opacity 1s ease-in-out;
  -moz-transition: opacity 1s ease-in-out;
  -o-transition: opacity 1s ease-in-out;
  transition: opacity 1s ease-in-out;
}

.mapsinfo .mapimageholder img.hoverimage {
  opacity:0;
}

.mapsinfo .mapimageholder img.hoverimage:hover {
  opacity:1;
}

.guidemap .guide_locations a:hover, .guidemap .guide_diveritems a:hover, .guidemap .guide_sharkevolutions a:hover {
    color: #FFF;
}
.downloads {
    width: 600px;
    height: 309px;
    margin: -65px auto 0;
    background: url('../img/download_bg.png') no-repeat;
    position: relative;
}
.downloads .download_depth {
    width: 240px;
    height: 28px;
    position: absolute;
    top: 170px;
    left: 190px;
    text-transform: uppercase;
}
.downloads .download_depth a {
    font-size: 20px;
    text-decoration: none;
    color: #999;
    transition: color 1s ease-in-out;
    -moz-transition: color 1s ease-in-out;
    -webkit-transition: color 1s ease-in-out;
}
.downloads .download_depth a:hover {
    color: #FFF;
}
.downloads .visit_forum {
    width: 210px;
    height: 28px;
    position: absolute;
    top: 260px;
    left: 235px;
    text-transform: uppercase;
}
.downloads .visit_forum a {
    font-size: 18px;
    text-decoration: none;
    color: #999;
    transition: color 1s ease-in-out;
    -moz-transition: color 1s ease-in-out;
    -webkit-transition: color 1s ease-in-out;
}
.downloads .visit_forum a:hover {
    color: #FFF;
}
.download_presskit {
    width: 260px;
    height: 71px;
    text-transform: uppercase;
    margin: 20px auto 0;
    background: url('../img/download_presskit.png');
}
.download_presskit a {
    line-height: 75px;
    font-size: 18px;
    text-decoration: none;
    color: #999;
    transition: color 1s ease-in-out;
    -moz-transition: color 1s ease-in-out;
    -webkit-transition: color 1s ease-in-out;
}
.download_presskit a:hover {
    color: #FFF;
}
.updates a img {
	border: 1px solid #00D4F0;
}

.frame_outer { width: 747px; height: 490px; margin: 0 auto; }
.frame { background:url("../img/frame.jpg") top left no-repeat; }
.frame_right{ float: left; display: block; width:27px; height:435px; background-position:-10px -10px; }
.frame_left{ float: left; display:block; width:26px; height:435px; background-position:-47px -10px; }
.frame_top{ clear: both; width:747px; height:30px; background-position:-10px -454px; }
.frame_bottom{ clear: both; width:747px; height:26px; background-position:-10px -454px; }
.frame_content { float: left; display: block; width: 694px; height: 434px; background-color: #000; }
.tabs-menu { width: 751px; height: 46px; margin: 0 auto; background: url('../img/gallery_controls.jpg'); list-style: none; padding: 0; }
.tabs-menu li { width: 164px; display: inline-block; line-height: 46px; }
.tabs-menu li.current a { color: #00D4F0; }
.tabs-menu a { font-size: 16px; text-transform: uppercase; text-shadow: 0 0 2px #000000; color: #999999; text-decoration: none;}

.footer_logos { margin: 0; padding: 0; list-style: none; text-align: center; }
.footer_logos li { display: inline-block; }
.footer_logos li a { display: inline-block; background: url('../img/footer_logos.png') no-repeat; text-indent: -1000px; overflow: hidden; height: 50px; }
.footer_logos .logo_steam { width: 92px; background-position: 0 center; }
.footer_logos .logo_ue3 { width: 104px; background-position: -104px center; }
.footer_logos .logo_dc { width: 152px; background-position: -222px center; }
.footer_logos .logo_facebook { width: 104px; background-position: -496px center; }
.footer_logos .logo_twitter { width: 108px; background-position: -385px center; }
.footer p { text-align: center; color: #666; font-size: 12px; }

/* Parallax */
.p_item {
    position: absolute;
}
.p_fish {
    background: url('../img/p_fish.png');
    width: 217px;
    height: 260px;
    top: 150px;
    left: 20px;
}
.p_shark {
    background: url('../img/p_shark.png');
    width: 285px;
    height: 177px;
    right: 0px;
}
.p_diver {
    background: url('../img/p_diver.png');
    width: 211px;
    height: 306px;
    left: 40px;
}
.p_hand {
    background: url('../img/p_hand.png');
    width: 127px;
    height: 182px;
    right: 80px;
}

/*****MEDIA QUERIES*****/
@media (max-width: 321px) {
    .logo {
        width: 170px;
        height: 194px;
        background: url('../img/logo.png') -301px top;
    }
}
@media (max-width: 767px) {
    .p_item {
        display: none !important;
    }
    .frame_outer {
        height: auto !important;
    }
    #navigation {
        width: 100%;
        top: 0;
        left: 0;
        padding: 20px;
        background: rgba(0,0,0,0.7);
        z-index: 1000;
    }
    #navigation .nav-toggle {
        display: inline-block;
        cursor: pointer;
        background: url('../img/menu_icon.png') no-repeat;
        margin: 0;
    }
    #navigation ul {
        margin: 18px 0 0;
        display: none;
    }
    #navigation ul.active {
        display: block;
    }

    h2 {
        font-size: 36px;
    }
    section {
        min-height: inherit;
    }
    section#about ul {
        width: auto;
        max-width: 300px;
    }
    section#gallery {
        padding-bottom: 40px;
    }
    section.bg-left {
        background-size: 100%;
    }
    section.bg-right {
        background-size: 100%;
    }
    section#contact {
        padding: 40px 0;
    }
    .shark {
        display: none;
    }
    .frame_outer {
        width: auto;
        height: auto;
    }
    .frame {
        display: none;
    }
    .guidemap {
        width: 300px;
        background-size: 100%;
        height: 180px;
    }
    .guidemap .guide_locations a, .guidemap .guide_diveritems a, .guidemap .guide_sharkevolutions a {
        font-size: 14px;
    }
    .guidemap .guide_locations {
        width: 120px;
        left: -6px;
        top: 114px;
    }
    .guidemap .guide_diveritems {
        width: 120px;
        left: 86px;
        top: 141px;
    }
    .guidemap .guide_sharkevolutions {
        width: 120px;
        left: 186px;
        top: 127px;
    }
    .downloads {
        width: 300px;
        background-size: 100%;
    }
    .downloads .download_depth {
        width: 200px;
        left: 70px;
        top: 105px;
    }
    .downloads .download_depth a, .downloads .visit_forum a {
        font-size: 14px;
    }
    .downloads .visit_forum {
        width: 160px;
        left: 135px;
        top: 160px;
    }
    .frame_content {
        width: 100%;
        height: auto;
    }
    iframe {
        width: 320px !important;
    }
    .tabs-menu {
        background: transparent;
        width: auto;
    }
    .flex-control-nav {
        display: none;
    }
    .flex-direction-nav a {
        background: transparent !important;
    }
    #gallery .frame_outer .flex-direction-nav .flex-next {
        right: -10px;
    }
    #gallery .frame_outer .flex-direction-nav .flex-prev {
        left: -10px;
    }
}
@media (max-width: 991px) {
    .frame_right, .frame_left {
        width: 12px;
    }
    .frame_top, .frame_bottom {
        width: 718px;
    }
    .frame_top {
        height: 12px
    }
    .frame_outer {
        height: 417px;
    }
    .tabs-menu {
        width: 100%;
    }
    .frame_outer .flex-direction-nav .flex-next {
        right: -40px;
    }
    .frame_outer .flex-direction-nav .flex-prev {
        left: -40px;
    }
}
@media (max-width: 1199px) {

}

/*****ANIMATIONS******/
@-webkit-keyframes divedeep {
  0% {
    -webkit-transform: translateY(0px);
    opacity: 1;
  }
  30% {
    -webkit-transform: translateY(0px);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-25px) scale(1.05);
    opacity: 0.4;
  }
}

@-moz-keyframes divedeep {
  0% {
    -moz-transform: translateY(0px);
    opacity: 1;
  }
  30% {
    -moz-transform: translateY(0px);
    opacity: 1;
  }
  100% {
    -moz-transform: translateY(-25px) scale(1.05);
    opacity: 0.4;
  }
}

@-ms-keyframes divedeep {
  0% {
    -ms-transform: translateY(0px);
    opacity: 1;
  }
  30% {
    -ms-transform: translateY(0px);
    opacity: 1;
  }
  100% {
    -ms-transform: translateY(-25px) scale(1.05);
    opacity: 0.4;
  }
}

@keyframes divedeep {
  0% {
    transform: translateY(0px);
    opacity: 1;
  }
  30% {
    transform: translateY(0px);
    opacity: 1;
  }
  100% {
    transform: translateY(-25px) scale(1.05);
    opacity: 0.4;
  }
}
@keyframes shark {
    from {
        right: 100%;
    }
    to {
        right: -600px;
    }
}
@-moz-keyframes shark {
    from {
        right: 100%;
    }
    to {
        right: -600px;
    }
}
@-webkit-keyframes shark {
    from {
        right: 100%;
    }
    to {
        right: -600px;
    }
}
@-ms-keyframes shark {
    from {
        right: 100%;
    }
    to {
        right: -600px;
    }
}
