/*
 * HTML5 Boilerplate
 *
 * 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

#page_index a, #page_video a{
    color: #ffffff;
    transition: color 0.25s ease;
    -moz-transition: color 0.25s ease;
    -webkit-transition: color 0.25s ease;
    -o-transition: color 0.25s ease;
    -ms-transition: color 0.25s ease;
}

#page_index a:hover, #page_video a:hover {
    color: #f79141;
}

#page_video li.selected > a{
    color: #f79141;
}

#page_video li.selected.has-children > a, #page_video li.has-children:hover > a{
    /*background: #27aae1;*/
    transition: background 0.25s ease;
    -moz-transition: background 0.25s ease;
    -webkit-transition: background 0.25s ease;
    -o-transition: background 0.25s ease;
    -ms-transition: background 0.25s ease;
    box-shadow: -5px 0 5px -4px #000 inset, 5px 0 5px -4px #000 inset, 0 5px 15px -5px rgba(0, 0, 0, .65) inset, 0 -15px 15px -5px rgba(0, 0, 0, .65) inset;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: 'open_sans';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


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

}

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

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


html, body{
  height: 100%;
  min-height: 768px;
}

html{
  font-size: 20px;
}

/** INDEX PAGE **/

#page_index header{
    z-index: 1;
    height: 37%;
    width: 100%;
    background: #00eeee;
    position: relative;
    text-align: center;
    background: url('../img/bg_header.png') no-repeat center bottom, -moz-linear-gradient(top, rgba(39,170,225,1) 0%, rgba(0,63,103,1) 100%);
    background: url('../img/bg_header.png') no-repeat center bottom, -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(39,170,225,1)), color-stop(100%,rgba(0,63,103,1)));
    background: url('../img/bg_header.png') no-repeat center bottom, -webkit-linear-gradient(top, rgba(39,170,225,1) 0%,rgba(0,63,103,1) 100%);
    background: url('../img/bg_header.png') no-repeat center bottom, -o-linear-gradient(top, rgba(39,170,225,1) 0%,rgba(0,63,103,1) 100%);
    background: url('../img/bg_header.png') no-repeat center bottom, -ms-linear-gradient(top, rgba(39,170,225,1) 0%,rgba(0,63,103,1) 100%);
    background: url('../img/bg_header.png') no-repeat center bottom, linear-gradient(to bottom, rgba(39,170,225,1) 0%,rgba(0,63,103,1) 100%);
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

#page_index header #bar{
	display: none; /* hidden in new version */

    background: #003f67;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 19%;
    -webkit-box-shadow: 0px -2px 8px 0px rgba(0,0,0,.35);
    -moz-box-shadow: 0px -2px 8px 0px rgba(0,0,0,.35);
    box-shadow: 0px -2px 8px 0px rgba(0,0,0,.35);
    overflow: hidden;
}

/* Bar Glow */

.drop-shadow {
    position:absolute;
    width:80%;
    height: 100px;
    bottom: -100px;
    left: 10%;

    background:#fff;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.drop-shadow:before,
.drop-shadow:after {
    content:"";
    position:absolute;
}


/* Curved shadows */

.curved:before {
    top: 0;
    bottom:0;
    left:0;
    right:0;
    -webkit-box-shadow:0 0 25px rgba(39,170,225,0.9);
    -moz-box-shadow:0 0 25px rgba(39,170,225,0.9);
    box-shadow:0 0 25px rgba(39,170,225,0.9);
    -moz-border-radius:90px / 100px;
    border-radius:90px / 100px;
}

#page_index header #leaf{
	display: none; /* hidden in new version */

    background: url('../img/header_leaf_top.png') no-repeat center bottom;
    width: 100%;
    height: 66%;
    bottom: 19%;
    left: 0;
    position: absolute;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

#page_index header #logo{
    background: url('../img/logo.png') no-repeat center center;
    width: 100%;
    height: 50%;
    bottom: 25%;
    left: 0;
    position: absolute;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

#page_index header #bar #header_text{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: table;
}

#page_index header #bar #header_text h1, #page_index header #bar #header_text h2{
    display:table-cell;
    vertical-align:middle;
    position: relative;
    font-family: "open_sanslight";
    font-weight: normal;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    width: 50%;
    box-sizing:border-box;
    -moz-box-sizing:border-box; /* Firefox */
}

#page_index header #bar #header_text h1{
    color: #8a8a8a;
    font-size: 1rem;
    text-align: right;
    padding-right: 13%;
}

#page_index header #bar #header_text h2{
    color: #ffffff;
    font-size: 1rem;
    text-align: left;
    padding-left: 14%;
}

#page_index nav{
    height: 15%;
    width: 100%;
    background: #00ff00;
    border-bottom: 1px solid #;
    position: relative;
    text-align: left;
}

#page_index nav li{
    display: table;
    float: left;
    padding: 0;
    margin: 0;
    height: 100%;
    list-style-type: none;
    text-align: center;
}

#page_index nav a{
    height: 100%;
    width: 100%;
    font-size: 1rem;
    padding: 0;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    color: #ffffff;
    font-family: "open_sanslight";
    text-decoration: none;
    display:table-cell;
    vertical-align:middle;
    position: relative;
}

#page_index nav #nav_overview{ width: 13%; }
#page_index nav #nav_manual_valves{ width: 15%; }
#page_index nav #nav_automatic_pigging{ width: 18%; }
#page_index nav #nav_barrel_style_launcher{ width: 20%;}
#page_index nav #nav_design_features{ width: 17%; }
#page_index nav #nav_pig_selection{ width: 17%; }

#page_index nav a:before{
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 1px;
    background: -moz-linear-gradient(top,  rgba(28,27,27,1) 0%, rgba(71,70,71,1) 50%, rgba(28,27,27,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(28,27,27,1)), color-stop(50%,rgba(71,70,71,1)), color-stop(100%,rgba(28,27,27,1)));
    background: -webkit-linear-gradient(top,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);
    background: -o-linear-gradient(top,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);
    background: -ms-linear-gradient(top,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);
    background: linear-gradient(to bottom,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);

}

#page_index nav a:after{
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    right: 1px;
    background: -moz-linear-gradient(top,  rgba(28,27,27,1) 0%, rgba(71,70,71,1) 50%, rgba(28,27,27,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(28,27,27,1)), color-stop(50%,rgba(71,70,71,1)), color-stop(100%,rgba(28,27,27,1)));
    background: -webkit-linear-gradient(top,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);
    background: -o-linear-gradient(top,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);
    background: -ms-linear-gradient(top,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);
    background: linear-gradient(to bottom,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);

}

#page_index nav ul li:first-child a:before{
    display: none;
}

#page_index nav ul li:last-child a:after{
    display: none;
}

#page_index nav:after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 9%;
    width: 100%;
    background: -moz-linear-gradient(top,  rgba(39,170,225,1) 0%, rgba(0,63,103,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(39,170,225,1)), color-stop(100%,rgba(0,63,103,1)));
    background: -webkit-linear-gradient(top,  rgba(39,170,225,1) 0%,rgba(0,63,103,1) 100%);
    background: -o-linear-gradient(top,  rgba(39,170,225,1) 0%,rgba(0,63,103,1) 100%);
    background: -ms-linear-gradient(top,  rgba(39,170,225,1) 0%,rgba(0,63,103,1) 100%);
    background: linear-gradient(to bottom,  rgba(39,170,225,1) 0%,rgba(0,63,103,1) 100%);
}

#page_index nav ul{
    margin: 0;
    padding: 0;
    height: 91%;
    width: 100%;
    background: -moz-linear-gradient(top,  rgba(20,19,19,1) 0%, rgba(53,52,52,1) 50%, rgba(20,19,19,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(20,19,19,1)), color-stop(50%,rgba(53,52,52,1)), color-stop(100%,rgba(20,19,19,1)));
    background: -webkit-linear-gradient(top,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    background: -o-linear-gradient(top,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    background: -ms-linear-gradient(top,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    background: linear-gradient(to bottom,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
}


#page_index #content_index{
    height: 48%;
    width: 100%;
    position: relative;
    background: url('../img/content_index_bg.jpg') no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#page_index #content_index:before{
    content: '';
    background: url('../img/content_index_pipe.png') no-repeat bottom right;
    width: 100%;
    height: 104%;
    position: absolute;
    right: 0;
    bottom: 0;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

.button{
    position: absolute;
    width: 23%;
    height: 20%;
    border: 0;
    padding: 0;
    padding-left: 3%;
    text-align: left;
    font-family: 'open_sanslight';
    font-size: .9rem;
    color: #ffffff;
    box-sizing:border-box;
    -moz-box-sizing:border-box; /* Firefox */
    border-bottom: 10px solid #27aae1;
    background: #00ee00;
    background: -moz-linear-gradient(top,  rgba(20,19,19,1) 0%, rgba(53,52,52,1) 50%, rgba(20,19,19,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(20,19,19,1)), color-stop(50%,rgba(53,52,52,1)), color-stop(100%,rgba(20,19,19,1)));
    background: -webkit-linear-gradient(top,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    background: -o-linear-gradient(top,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    background: -ms-linear-gradient(top,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    background: linear-gradient(to bottom,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    -webkit-mask: url('../img/mask_button.png') no-repeat center right;
    -webkit-mask-size: cover;
    mask: url('../img/mask_button.png') no-repeat center right;
    mask-size: cover;
}

.button:hover{
    color: #f79141;
}

#btn_play_all{
    top: 42%;
}

#btn_exit{
    top: 66%;
}






/** PAGE VIDEO **/
#page_video header{
    height: 10%;
    z-index: 1;
    width: 100%;
    background: #000000;
    position: relative;
    text-align: center;
    border-bottom: 3px solid #27aae1;
    display: table;
}

#page_video header h1{
    display:table-cell;
    vertical-align:middle;
    position: relative;
    font-family: "open_sanslight";
    font-weight: normal;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    color: #8a8a8a;
}

#page_video header h1 .highlight{
    color: #ffffff;
    font-size: 1.1rem;
}

#page_video #content{
    width: 100%;
    height: 90%;

    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(255,255,255,1) 2%, rgba(255,255,255,0) 50%, rgba(255,255,255,1) 98%, rgba(255,255,255,1) 100%), url('../img/content_video_bg.jpg') no-repeat center center;;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(2%,rgba(255,255,255,1)), color-stop(50%,rgba(255,255,255,0)), color-stop(98%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,1))), url('../img/content_video_bg.jpg') no-repeat center center;;
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 2%,rgba(255,255,255,0) 50%,rgba(255,255,255,1) 98%,rgba(255,255,255,1) 100%), url('../img/content_video_bg.jpg') no-repeat center center;;
    background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 2%,rgba(255,255,255,0) 50%,rgba(255,255,255,1) 98%,rgba(255,255,255,1) 100%), url('../img/content_video_bg.jpg') no-repeat center center;;
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 2%,rgba(255,255,255,0) 50%,rgba(255,255,255,1) 98%,rgba(255,255,255,1) 100%), url('../img/content_video_bg.jpg') no-repeat center center;;
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 2%,rgba(255,255,255,0) 50%,rgba(255,255,255,1) 98%,rgba(255,255,255,1) 100%), url('../img/content_video_bg.jpg') no-repeat center center;;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );


    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#page_video #content .content-shadow-top{
    height: 10%;
    top: -2px;
    bottom: 0;
}

#page_video #content .curved:before {
    -webkit-box-shadow:0 0 45px rgba(0,0,0,0.65);
    -moz-box-shadow:0 0 45px rgba(0,0,0,0.65);
    box-shadow:0 0 45px rgba(0,0,0,0.65);
    -moz-border-radius:90px / 100px;
    border-radius:90px / 100px;
}

#page_video #content #title{
    height: 9%;
    padding: 0 5%;
    box-sizing:border-box;
    -moz-box-sizing:border-box; /* Firefox */
    display: table;
}

#page_video #content #title h2{
    display: table-cell;
    vertical-align: middle;
    font-weight: normal;
    font-family: "open_sanssemibold";
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #27aae1;
    margin: 0;
    padding: 0;
}

#page_video #content .spacer{
    display: table-cell;
    width: 8%;
    position: relative;
}

#page_video #content .spacer:after{
    content: '';
    position: absolute;
    left: 50%;
    margin-left: -1px;
    width: 1px;
    height: 50%;
    top: 25%;
    background: #27aae1;
}

#page_video #content #title h3{
    display: table-cell;
    vertical-align: middle;
    font-weight: normal;
    font-family: "open_sansbold";
    font-size: .9rem;
    color: #27aae1;
    margin: 0;
    padding: 0;
}

#page_video #video_container{
    width: 90%;
    margin: auto;
    height: 75%;
    position: relative;
    z-index: 1;
}

#page_video #video_container .video-shadow-top{
    height: 5%;
    top: 1%;
    bottom: 0;
    width: 90%;
    left: 5%;
}

#page_video #video_container video{
    width: 100%;
    border: 1px solid #27aae1;
    position: relative;
    height: 100%;
    background: #000;
    display: none;
}

#page_video #video_container #rotate_container, #page_video #video_container #html_container{
    width: 100%;
    position: relative;
    height: 100%;
    display: none;
    overflow: hidden;
}


#page_video #rotate_container .rotate_btn{
    position: absolute;
    top: 45%;
    width: 63px;
    height: 63px;
    border: 0;
    background-size: contain;
    opacity: .5;
    transition: opacity 0.25s ease;
    -moz-transition: opacity 0.25s ease;
    -webkit-transition: opacity 0.25s ease;
    -o-transition: opacity 0.25s ease;
    -ms-transition: opacity 0.25s ease;
}

#page_video #rotate_container #rotate_left{
    left: 0;
    background-image: url('../img/rotate_left.png');
}

#page_video #rotate_container #rotate_right{
    right: 0;
    background-image: url('../img/rotate_right.png');
}

#page_video #rotate_container .rotate_btn.preloaded{
    opacity: 0;
}

#page_video #rotate_container .rotate_btn.active{
    opacity: .8;
}

#page_video #rotate_container .audiocontrol_btn{
    position: absolute;
    top: 0;
    right: 0;
    width: 43px;
    height: 43px;
    border: 0;
    background-size: contain;
    background-color: transparent;
    opacity: .6;
    transition: opacity 0.25s ease;
    -moz-transition: opacity 0.25s ease;
    -webkit-transition: opacity 0.25s ease;
    -o-transition: opacity 0.25s ease;
    -ms-transition: opacity 0.25s ease;
}

#page_video #rotate_container .audiocontrol_btn.preloaded{
       opacity: 0;
}

#page_video #rotate_container #btn_audio_play{
    background-image: url('../img/audio_off.png');
    display: none;
}

#page_video #rotate_container #btn_audio_pause{
    background-image: url('../img/audio_on.png');
}





#page_video #content nav{
    height: 11%;
    width: 100%;
    text-align: right;
    position: relative;
    margin-top: 1.75%;
    z-index: 10;
}


#page_video #content nav .endcap{
    position: absolute;
    display: block;
    width: 98%;
    height: 100%;
    right: 0;
    top: 0;
    background: -moz-linear-gradient(top,  rgba(20,19,19,1) 0%, rgba(53,52,52,1) 50%, rgba(20,19,19,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(20,19,19,1)), color-stop(50%,rgba(53,52,52,1)), color-stop(100%,rgba(20,19,19,1)));
    background: -webkit-linear-gradient(top,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    background: -o-linear-gradient(top,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    background: -ms-linear-gradient(top,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    background: linear-gradient(to bottom,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    -webkit-mask: url('../img/mask_nav.png') no-repeat center left;
    -webkit-mask-size: cover;
    mask: url('../img/mask_nav.png') no-repeat center left;
    mask-size: cover;
}

#page_video #content nav .endcap:after{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 14%;
    width: 100%;
    background: #27aae1;
}

#page_video #content nav > ul{
    margin: 0;
    padding: 0;
    height: 100%;
    width: 91%;
    display: inline-block;
    position: relative;
    text-align: left;
    background: -moz-linear-gradient(top,  rgba(20,19,19,1) 0%, rgba(53,52,52,1) 50%, rgba(20,19,19,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(20,19,19,1)), color-stop(50%,rgba(53,52,52,1)), color-stop(100%,rgba(20,19,19,1)));
    background: -webkit-linear-gradient(top,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    background: -o-linear-gradient(top,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    background: -ms-linear-gradient(top,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    background: linear-gradient(to bottom,  rgba(20,19,19,1) 0%,rgba(53,52,52,1) 50%,rgba(20,19,19,1) 100%);
    /*-webkit-mask: url('../img/mask_nav.png') no-repeat center left;
    -webkit-mask-size: cover;
    mask: url('../img/mask_nav.png') no-repeat center left;
    mask-size: cover;*/
}


#page_video #content nav > ul:after{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    height: 14%;
    width: 100%;
    background: #27aae1;
}


#page_video #content nav ul > li{
    display: block;
    float: left;
    padding: 0;
    margin: 0;
    height: 100%;
    list-style-type: none;
    text-align: center;
    position: relative;
}

#page_video #content nav ul > li:hover .sub-menu{
    opacity: 1;
    visibility: visible;
    bottom: 100%;
}

/*#page_video #content nav ul > li:first-child{
    padding-left: 7%;
}
*/
#page_video #content nav a{
    height: 92%;
    font-size: .80rem;
    margin: 0;
    text-align: center;
    vertical-align: middle;
    font-family: "open_sanslight";
    text-decoration: none;
    display: table;
    padding: 0 .75rem;
}


#page_video #content nav a span{
    display: table-cell;
    vertical-align: middle;
}

#page_video #content nav > ul > li > a:before{
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 1px;
    background: -moz-linear-gradient(top,  rgba(28,27,27,1) 0%, rgba(71,70,71,1) 50%, rgba(28,27,27,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(28,27,27,1)), color-stop(50%,rgba(71,70,71,1)), color-stop(100%,rgba(28,27,27,1)));
    background: -webkit-linear-gradient(top,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);
    background: -o-linear-gradient(top,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);
    background: -ms-linear-gradient(top,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);
    background: linear-gradient(to bottom,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);

}

#page_video #content nav > ul > li > a:after{
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    right: 1px;
    background: -moz-linear-gradient(top,  rgba(28,27,27,1) 0%, rgba(71,70,71,1) 50%, rgba(28,27,27,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(28,27,27,1)), color-stop(50%,rgba(71,70,71,1)), color-stop(100%,rgba(28,27,27,1)));
    background: -webkit-linear-gradient(top,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);
    background: -o-linear-gradient(top,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);
    background: -ms-linear-gradient(top,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);
    background: linear-gradient(to bottom,  rgba(28,27,27,1) 0%,rgba(71,70,71,1) 50%,rgba(28,27,27,1) 100%);
}

#page_video #content nav > ul > li:first-child a{
    padding-left: 0;
}

#page_video #content nav > ul > li:first-child a:before{
    display: none;
}

#page_video #content nav > ul > li:last-child a:after{
    display: none;
}

#page_video #content nav #logo{
    position: absolute;
    top: 19%;
    right: 2%;
    height: 50%;
}

#page_video #content .sub-menu{
    position: absolute;
    bottom: 90%;
    left: 2%;
    background: #003f67;
    width: auto;
    z-index: -1;
    margin: 0;
    padding: 2% 0;
    box-shadow: 0 0 8px rgba(0, 0, 0, .6);
    min-width: 100%;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease,bottom 0.25s ease;
    -moz-transition: opacity 0.25s ease,bottom 0.25s ease;
    -webkit-transition: opacity 0.25s ease,bottom 0.25s ease;
    -o-transition: opacity 0.25s ease,bottom 0.25s ease;
    -ms-transition: opacity 0.25s ease,bottom 0.25s ease;
}

#page_video #content .sub-menu:hover{
    display: block;
}

#page_video #content .sub-menu li{
    display: block;
    float: none;
}

#page_video #content .sub-menu li a{
    white-space: nowrap;
    display: block;
    padding: 5% 1rem;
    position: relative;
}

#page_video #content .sub-menu li a:before{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background: -moz-linear-gradient(left,  rgba(220,221,222,0.1) 0%, rgba(220,221,222,0.9) 50%, rgba(220,221,222,0.1) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(220,221,222,0.1)), color-stop(50%,rgba(220,221,222,0.9)), color-stop(100%,rgba(220,221,222,0.1)));
    background: -webkit-linear-gradient(left,  rgba(220,221,222,0.1) 0%,rgba(220,221,222,0.9) 50%,rgba(220,221,222,0.1) 100%);
    background: -o-linear-gradient(left,  rgba(220,221,222,0.1) 0%,rgba(220,221,222,0.9) 50%,rgba(220,221,222,0.1) 100%);
    background: -ms-linear-gradient(left,  rgba(220,221,222,0.1) 0%,rgba(220,221,222,0.9) 50%,rgba(220,221,222,0.1) 100%);
    background: linear-gradient(to right,  rgba(220,221,222,0.1) 0%,rgba(220,221,222,0.9) 50%,rgba(220,221,222,0.1) 100%);

}

#page_video #content .sub-menu li:last-child a:before{
    display: none;
}

















/* ==========================================================================
   Helper classes
   ========================================================================== */


button:focus {outline:0;}


/* Prevent callout */

.nocallout {
    -webkit-touch-callout: none;
}

.pressed {
    background-color: rgba(0, 0, 0, 0.7);
}

/* A hack for HTML5 contenteditable attribute on mobile */

textarea[contenteditable] {
    -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if
   they have been set as display: none */

.gifhidden {
    position: absolute;
    left: -100%;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    overflow: hidden;
    text-align: left;
    text-indent: -999em;
}

.ir br {
    display: none;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/**
 * Clearfix helper
 * Used to contain floats: h5bp.com/q
 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 1200px) {
    /* Style adjustments for viewports that meet the condition */

    html{
      font-size: 18px;
    }

    #page_video #content nav .endcap{
        width: 100%;
    }

}

@media only screen and (max-width: 880px) {
    /* Style adjustments for viewports that meet the condition */

    html{
      font-size: 15px;
    }

    header #bar #header_text h1{
        padding: 0;
        padding-left: 5%;
        text-align: left;
    }

    header #bar #header_text h2{
        padding: 0;
        padding-right: 5%;
        text-align: right;
    }

}

@media only screen and (max-width: 700px) {
    /* Style adjustments for viewports that meet the condition */

    html{
      font-size: 13px;
    }

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (min-width: 1030px) {

    #page_video #video_container{
        width: 75%;
    }

    .threesixty .threesixty_images img {
        position: absolute;
        top: 0;
        left: 50%;
        width: 100%;
        height: auto;
        margin: auto 0 auto -45%;
        width: 90% !important;
    }

}
