* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    padding: 0;
    color: #fff;
    background: #111;
    overflow: hidden;
    font-family: 'Open Sans Condensed', Arial, sans-serif;
    font-weight: 300;
    font-size: 1em;
}

@document domain(barrelny.com){
    body, html {    
        background: url(../im/Office.jpg) no-repeat;
        background-size:cover;
    }
}
.wrapper {
    position: absolute;
    width: 500%;
    height: 100%;
    z-index: 0;
}

/* Text */

h1,
h2 {
    margin: 0;
    padding: 0;
    text-shadow: 1px 1px 1px rgba(0,0,0,.5);
}

p {
    line-height: 1.4;
    text-shadow: 1px 1px 1px #000;
}

a,
a:visited {
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: #40a5c6;
}

h1 a,
h1 a:hover,
h1 a:visited {
    text-decoration: none;
}

p a {
    font-weight: 700;
}

/* Header */
#indexOnly {
    opacity:0;
    position:absolute;
    left: 50%;
    z-index: 300;
    top:30%;
    margin-top:-10%;
    margin-left:-20%;
    max-width: 90%;
}
#indexOnly p {
    color: #fff;
    border-top: 1px solid #ccc;
    margin-top:10px;
    padding-top: 10px;
    margin: 2px 30px 10px;
    text-align:center;
    font-family: 'ProximaNova-Regular', helvetica, arial;
    font-size: 16px;
}
#indexImg img {
    max-width:670px;
    position:relative;
    top:-1200px;
    width:100%;
}
#indexImg {
    margin: 0 auto;
    max-width:670px;
}


#indexOnly a.btn_next {
    color: #fff;
    text-indent: 0;
    width: 120px;
    position:relative;
    left: 10%;
    margin-left:-100px;
    text-transform: uppercase;
    padding: 20px 40px;
    font-size: 16px;
    font-family: 'ProximaNova-Light', helvetica, arial;
    height: auto;
    background: rgba(255,255,255,.3);
    border: 1px solid #fff;
}
#indexOnly a:hover.btn_next {
    color: #000;
    text-indent: 0;
    text-decoration:none;
    height: auto;
    background: rgba(255,255,255,.7);
    border: 1px solid #fff;
}

/* Video Pages */

.screen {
    position: relative;
    height: 100%;
    width: 20%; /*  NOTE: numVideos/100%  */;
    float: left;
    overflow: hidden;
}

.big-image {
    min-width: 100%;
    min-height: 100%;
    height: auto;
    width: auto;
}

.video-title {
    position: absolute;
    top: 5%;
    right: 5%;
    opacity: .5;
    margin: 40px 0 0 0;
    padding: 0;
    line-height: .65;
    font-size: 4em;
    text-transform: uppercase;
}

/* Nav */

nav {
    position: absolute;
    right: 5%;
    top: 45%;
    padding: 20px;
    background: #000;
    border-radius: 40px;
    opacity: .4;
    cursor: pointer;
    z-index: 1000;
}

nav:hover {
    opacity: .6;
}

.next-icon {
    display: block;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    width: 20px;
    height: 20px;
    position: relative;
    left: -5px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    color: #fff;
    text-decoration: none;
}
@media screen and (max-width: 1100px) {
    #indexOnly {
        top:10%;
        margin-left: -260px;
        margin-top:0px;
        max-width:520px;
    }
}
@media screen and (max-width: 768px) {
    #indexOnly {
        top:7%;
        margin-left: -240px;
        max-width:480px;
    }
    #indexOnly p {
        margin-top:22px;
        padding-top:20px;
        margin-bottom:40px;
    }
    #indexOnly a.btn_next {
        padding: 10px 20px;
    }
}
@media screen and (max-width: 400px) {
    #indexOnly {
        top:10%;
        margin-left: -160px;
        max-width:310px;
    }
    #indexOnly p {
        font-size: 11px;
        padding-top:12px;
        margin-bottom:10px;
    }
    #indexImg {
        width:240px;
    }
    #indexOnly a.btn_next {
        width:90px;
        margin-left: -68px;
        padding: 6px 14px;
        font-size:11px;
    }
    #customHome {
        margin-top: 20px;
    }
}

