@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700');

*, *:before, *:after {
  box-sizing: border-box;
}

html {
	font-family: 'Open Sans', sans-serif;
}

body {
    background: #fafafa;
    color: #333;
    font-size: 18px;
}

body, section {
    max-width: 100%;
    padding: 0; margin: 0;
}

section {
    padding: 10px 0;
}


header, footer, section {
    width: 100vw;
    max-width: 100%;
}

header, footer {
    z-index: 999;
}

h1 {
    max-width: 100%;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 32px;
}

.center-content {
    margin: auto;
}

.center-text {
    text-align: center;
}

.justify-text {
    text-align: justify;
}

.fit-700 {
    width: 700px;
    max-width: 100%;
    padding: 0 10px;
}

.fit-900 {
    width: 900px;
    max-width: 100%;
    padding: 0 10px;
}

.min-50 {
    min-height: 50vh;
}

.content {
    padding-bottom: 40px;
}

.bg-white {
    background-color: rgba(250, 250, 250, 0.6);
}

.weight-light {
    font-weight: 300;
}

.img-responsive {
    height: auto;
    width: auto;
}

.error-text {
    color: red;
}

.clear {
    clear: both;
}

/* Image Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
}

/* Thumbnail + Pop-Up Overlay */
.div-thumb {
    display: block;
    min-width: 100px;
    width: 100px; height: 100px;
    margin: 10px 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.div-thumb a {
    display: block;
    width: 100px; height: 100px;
}

.div-thumb a img {
    width: 100%; height: 100%;
}

.thumb-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 100%; left: 0;
    height: 50%; width: 100%;
    background-color: rgba(127,0,127,0.75);
    text-align: center;
    -webkit-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    pointer-events: none;
}

.thumb-overlay h4 {
    margin: 0; padding: 0;
    font-size: 14px;
    color: white;
}

.thumb-overlay h4.text-smaller {
    font-size: 12px;
}

.div-thumb:hover .thumb-overlay {
    top: 50%;
}

@media screen and (max-width: 825px) {
    .gallery {
        justify-content: space-around;
    }
    
    .div-thumb {
        height: auto;
        overflow: visible;
    }
    
    .div-thumb img {
        overflow: hidden;
    }
    
    .thumb-overlay {
        display: block;
        background-color: initial;
        position: static;
    }
    
    .thumb-overlay h4 {
        color: #333;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    width: 100%; height: 100%;
    
    z-index: 999;
    position: fixed;
    top: 0; left: 0;
    text-align: center;
    text-decoration: none;
    background: rgba(0,0,0,0.8);
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    margin-top: 2%;
}

.lightbox h3 {
    text-transform: uppercase;
    text-decoration: none;
    color: white;
}

.lightbox:target {
    display: block;
    outline: none;
}

/*
** -- HEADER --
*/

header {
    position: fixed;
}

.nav-buffer {
    height: 80px; width: 100vw;
    background: #333;
}

.nav-main {
    height: 80px; width: 100%;
    background-color: rgba(51, 51, 51, 0.7);
}

.nav-logo {
    float: left;
    max-height: 80px; max-width: 250px;
    padding: 10px 16px;
}

.nav-main ul, .footer-menu ul {
    list-style-type: none;
    margin: 0; padding: 0;
    overflow: hidden;
}

.nav-main li {
    height: 80px;
    text-transform: uppercase;
}

#navLeft {
    float: left;
}

#navRight {
    float: right;
}

#navLeft li, #navRight li {
    float: left;
}

#navRight li:nth-child(1) {
    float: right;
}

.nav-link {
    display: block;
    color: #fafafa;
    text-align: center;
    padding: 28px 20px;
    text-decoration: none;
}

.nav-main li a:hover {
    background-color: #111;
}

.nav-social {
    height: 100%; width: 100%;
    padding: 25px 20px;
}

.nav-social img {
    height: 29px; width: 29px;
}

/* MOBILE MENU */

#toggle-menu {
    display: none;
}

#label-menu {
    font-size: 50px;
    color: #eaeaea;
    text-shadow:
   -1px -1px 0 #000,  
    1px -1px 0 #000,
    -1px 1px 0 #000,
     1px 1px 0 #000;
}

header label {
    position: absolute;
    left: 10px;
    display: none;
}

.content {
    //display: none;
}

@media screen and (max-width: 825px) {
    #label-menu {
        display: block;
        z-index: 9999;
    }
    
    #linkLogo {
        display: block;
    }
    
    .nav-logo {
        float: none;
    }
    
    .nav-main {
        background-color: rgba(51, 51, 51, 0.75);
        width: 100vw;
        height: 100vh;
        text-align: center;
    }
    
    .nav-main li {
        height: 60px;
    }
    
    .nav-link {
        padding: auto 20px;
    }
    
    #navLeft {
        float: none;
    }
    
    #navRight {
        float: none;
    }
    
    #navLeft li, #navRight li {
        float: none;
    }
    
    #navRight li:nth-child(1) {
        float: none;
    }
    
    .nav-buffer {
        display: none;
    }
    
    .nav-main {
        position: absolute;
        top: 0px; left: -100vw;
    }
    
    #toggle-menu:checked ~ .nav-main {
        left: 0px;
        width: 100vw;
    }
    
    #toggle-menu:checked ~ #label-menu span {
        display: none;
    }
    
    #toggle-menu:checked ~ #label-menu:after {
        font-size: 40px;
        content: '✕';
    }
    
}

/* END MOBILE MENU */

/*
** -- END HEADER --
*/

/*
** -- FOOTER --
*/

footer {
    display: flex;
    justify-content: center;
    background: #333;
    color: #fafafa;
    text-align: center;
    padding: 40px 0;
    clear: both;
}

footer a, footer a:visited, footer a:hover, footer a:active {
    text-decoration: none;
    color: inherit;
}

#topFooter {
    display: flex;
    justify-content: center;
    margin: 0;
}

.col-left {
    padding-right: 20px;
    display: none;
}

.col-right {
    /*padding-left: 20px;*/
    line-height: 2em;
}

.footer-social {
    display: inline-block;
    padding: 15px 10px;
    line-height: 1em;
}

.footer-social a img {
    height: 29px; width: 29px;
}

#containerFooter {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/*
** -- END FOOTER --
*/

/*
** -- INDEX --
*/

/*
** -- END INDEX --
*/

/*
** -- STUDIO --
*/

#largeRoomGallery, #punishmentGallery, #controlGallery {
    height: 100%;
    justify-content: space-around;
    align-items: center;
    overflow-y: auto;
}

.divStudioWrapper {
    position: relative;
    height: 850px;
    padding: 0 5px;
}

.divRoomWrapper {
    position: absolute;
}

.divRoomWrapper p {
    margin: 0; padding: 0;
}

.divStudio {
    width: 100%; height: 90%;
    padding: 10px 0;
    border: 2px solid rgba(0,0,0,0.5);
}

#contentStudio {
    width: 825px;
    max-width: 100%;
    clear: both;
}

#divLargeRoomWrapper {
    height: 450px; width: 400px;
    left: 0px;
    top: 0px;
}

#divPunishmentRoomWrapper {
    height: 300px; width: 400px;
    left: 425px;
    top: 125px;
}

#divControlRoomWrapper {
    height: 350px; width: 525px;
    left: 137px;
    top: 475px;
}

@media screen and (max-width: 825px) {

    .divStudioWrapper {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        height: auto;
    }
    
    .divStudio {
        height: auto;
    }
    
    .divRoomWrapper {
        width: auto;
        max-width: 100%;
        position: initial;
    }
    
    #divLargeRoomWrapper, #divPunishmentRoomWrapper, #divControlRoomWrapper {
        height: auto;
        margin: 0 auto 10px auto;
    }
    
    #largeRoomGallery, #punishmentGallery, #controlGallery {
        align-items: flex-start;
    }

}

/*
** -- END STUDIO --
*/

/*
** -- GEAR --
*/

#wrapperGear {
    margin: 0 auto;
}


/*
** -- END GEAR --
*/

/*
** -- SAMPLES --
*/

.div-samples {
    background-color: rgba(250, 250, 250, 0.8);
}
.div-samples-row {
    width: 100%;
    padding: 5px 10px;
    display: flex;
    align-content: center;
    justify-content: center;
    border-bottom: thin solid rgba(127,127,127,0.15);
}

.div-samples-row:nth-last-child(1) {
    border-bottom: none;
}

.div-sample-name {
    width: 50%;
    display: flex;
    align-items: center;
}

.div-sample-name p {
    margin: 0; padding: 0;
    flex-shrink: 1;
}

.div-sample-player {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media screen and (max-width: 825px) {
    .div-samples-row {
        flex-flow: column wrap;
        padding: 5px 0;
    }
    
    .div-samples-row div {
        width: 100%;
    }
    
    .div-sample-name, .div-sample-player {
        justify-content: center;
    }
    
    .div-sample-name > p, .div-sample-player > audio {
        width: 100%;
    }
    
    .div-sample-name > p {
        box-sizing: padding-box;
        padding: 0 12px;
    }
    
    
}

/*
** -- END SAMPLES --
*/

/*
** -- LINKS --
*/
#containerLinks {
    display: flex;
    flex-direction: row;
}

.div-links-col {
    width: 50%;
    padding: 0 15px;
}

.div-links-col ul {
    list-style: none;
    padding: 0;
}

.div-links-col a {
    position: relative;
    color: #333;
    text-decoration: none;
}

.div-links-col a:before {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.1s ease-in-out 0s;
    transition: all 0.1s ease-in-out 0s;
}

.div-links-col a:visited {    
}

.div-links-col a:hover:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.div-links-col a:active {
}

@media screen and (max-width: 700px) {
    #containerLinks {
        display: flex;
        flex-flow: column wrap;
    }
    
    .div-links-col {
        width: 100%;
    }
    
    #contentLinks h2, .div-links-col ul {
        text-align: center;
    }
    
    .div-links-col a {
        line-height: 2;
    }
}

/*
** -- END LINKS --
*/

/*
** -- FAQ --
*/
#contentFAQ {
    padding: 0 0 40px 0;
}

.div-faq-content {
    padding:  1px 10px;
}

.div-faq-question {
    background: none;
    cursor: pointer;
    padding: 7px 18px;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

.div-faq-question:active,
.div-faq-question:hover {
    background: #f4f4f4;
}

.div-faq-answer {
    display: none;
    float: right;
    padding: 0 18px;
    width: 95%;
    text-align: left;
    border-bottom: thin solid rgba(127,127,127,0.15);
}

.div-faq-answer.show {
    display: block;
}

#divFAQClose {
    padding: 10px 0;
    display: block;
    clear: both;
}

@media screen and (max-width: 825px) {}

/*
** -- END FAQ --
*/

/*
** -- CONTACT --
*/

.form-contact {
    text-align: left;
}

.form-contact ul {
    width: 700px;
    margin: 0;
    padding: 0;
    list-style-type: none;
    list-style-position: outside;
}

.form-contact li {
    position: relative;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.form-contact li:first-child {
    border-top: 1px solid #777;
}

.form-contact li:last-child {
    border-bottom: 1px solid #777;
}

.form-contact label {
    display: inline-block;
    float: left;
    width: 150px;
    margin-top: 3px;
    padding: 3px;
}

.form-contact input {
    height: 20px;
    width: 220px;
    padding: 5px 8px;
}

.form-contact textarea {
    width: 350px;
    padding 8px;
}

.form-contact button {
    margin-left: 150px;
}

.form-contact input, .form-contact textarea {
    box-sizing: content-box;
    border: 1px solid #aaa;
    box-shadow: 0 0 3px #ccc, 0 5px 10px #eee inset;
    border-radius: 2px;
}

.form-contact *:focus {
    outline:none;
}

.form-contact input:focus, .form-contact textarea:focus {
    background: #fff;
    border: 1px solid #555;
    box-shadow: 0 0 3px #aaa;
    /*padding-right: 70px;
    -moz-transition: padding .3s; 
    -webkit-transition: padding .3s; 
    -o-transition: padding .3s;
    transition: padding .3s;*/
}

input:valid, textarea:valid {
    box-shadow: 0 0 2px #0d0;
    border-color: #0a0;
}

button.submit {
    background-color: #639;
    background: -webkit-gradient(linear, left top, left bottom, from(#639), to(#4b0082));
    background: -webkit-linear-gradient(top, #639, #4b0082);
    background: -moz-linear-gradient(top, #639, #4b0082);
    background: -ms-linear-gradient(top, #639, #4b0082);
    background: -o-linear-gradient(top, #639, #4b0082);
    background: linear-gradient(top, #639, #4b0082);
    color: white;
    border: 1px solid #4b0082;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    box-shadow: inset 0 1px 0 0 #800080;
    -webkit-box-shadow: 0 1px 0 0 #800080 inset ;
    -moz-box-shadow: 0 1px 0 0 #800080 inset;
    -ms-box-shadow: 0 1px 0 0 #800080 inset;
    -o-box-shadow: 0 1px 0 0 #800080 inset;
    text-shadow: 0 -1px 0 #2e004f;
    font-weight: 700;
    padding: 6px 20px;
}

button.submit:hover {
    opacity: 0.85;
    cursor: pointer;
}

button.submit:active {
    border: 1px solid #5a009c;
    box-shadow: 0 0 10px 5px #8040bf;
    -webkit-box-shadow:0 0 10px 5px #8040bf inset ;
    -moz-box-shadow: 0 0 10px 5px #8040bf inset;
    -ms-box-shadow: 0 0 10px 5px #8040bf inset;
    -o-box-shadow: 0 0 10px 5px #8040bf inset;
}

.mailto {
    color: #fefefe;
    padding: 2em;
}

.mailto a {
    color: #fefefe;
}

@media screen and (max-width: 825px) {
    .form-contact ul, .form-contact label {
        width: auto;
    }
    
    .form-contact li {
        width: 100%;
        padding: 0;
    }
    
    input[type=text], input[type=email], .form-contact textarea {
      -webkit-appearance: none; -moz-appearance: none;
      display: block;
      margin: 0; width: 100%;
      max-width: 100%; height: 40px;
      line-height: 40px; font-size: 17px;
      border: 1px solid #bbb;
        box-sizing: border-box;
    }
    
    .form-contact textarea {
        min-height: 100px;   
    }
    
    .form-contact button {
        margin-top: 10px;
        
        -webkit-appearance: none; -moz-appearance: none;
        display: block;
        margin: 1.5em 0;
        font-size: 1em;
        height: 2.5em; width: 100%;
        -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;
    }
    
    .form-contact li, .form-contact li:first-child, .form-contact li:last-child {
        border: none;
    }
}

/*
** -- END CONTACT --
*/

/*
** -- BANNERS & BG --
*/

.img-hero {
    height: 30vh;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

#topIndex {
    height: 80vh;
	background-image: url("/img/hero-main.jpg");
}

#topStudio {
    background-image: url("/img/faderassign.jpg");
}

#topGear {
    background-image: url("/img/faderassign.jpg");
}

#topSamples {
    background-image: url("/img/faderassign.jpg");
}

#topLinks {
    background-image: url("/img/faderassign.jpg");
}

#topFAQ {
    background-image: url("/img/faderassign.jpg");
}

#topContact {
    background-image: url("/img/faderassign.jpg");
}

.tiledBG {
    background: url("/img/reeletchbw_alpha512.png");
    background-size: 100px;
    background-position: center center;
}

/*
** -- END BANNERS & BG --
*/