/** Global styles 
-------------------------------------------------------------------------
*/

@import url(https://fonts.googleapis.com/css?family=Quicksand);

body {
    background: #2C2C2C;
    font-family: 'Quicksand', 'Helvetica Neue', sans-serif;
    color: #BBB;
    margin-top: 2em;
}

a, a:visited {
    color: orange;
}

footer, footer a, footer a:visited {
    color: #555;
}

footer {
    text-align: center;
    margin-bottom: 1em;
    margin-top: 7em;
}

#logo {
    margin: 5em 0;
    width: 100%;
    background-image: url('../img/Logo.png');
    background-size: 333px 333px;
    background-position: center center;
    background-repeat: no-repeat;
    height: 333px;
}

#logo.offset {
    margin-top: -170px;
}

article {
    max-width: 500px;
    margin: 0 auto;
}

h2 {
    margin-top: 3em;
}

iframe {
    margin-top: 20px;
}

li ul {
    margin-top: none;
}


/** Index 
-------------------------------------------------------------------------
*/

body.index {
    text-align: center;
}

body.index h1 {
    font-size: 50px;
    font-weight: normal;
    color: #EEE;
}

body.index h1 + p {
    margin-top: -1.5em;
    margin-bottom: 3em;
}

body.index form {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    max-width: 480px;
    margin: 5em auto;
    padding: 1.5em 0;
}

@media only screen and (max-width: 500px) {
    body.index form {
        width: 95%;
    }
}

body.index video {
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
    cursor: pointer;
}

body.index #video-container {
    background: black;
    width: 100%;
    margin: 7em 0;
    position: relative;
}

body.index #unmute {
    border: 0;
    width: 28.5px;
    height: 27.5px;
    background: url('../img/Mute.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: absolute;
    display: none;
    margin-top: 10px;
    margin-left: 10px;
}

body.index #replay {
    border: 0;
    width: 110px;
    height: 110px;
    background: url('../img/Play.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -55px;
    margin-left: -55px;
    display: black;
}

/** Press 
-------------------------------------------------------------------------
*/

body.press .screenshots {
    margin: 0;
    padding: 0;
    text-align: center;
}
body.press .screenshots li {
    list-style-type: none;
    display: inline-block;
    margin: 0;
    padding: 0;
}
body.press .screenshots li img {
    border: 1px solid white;
    margin-bottom: 5px;
}
body.press .screenshots a {
    text-decoration: none;
}


/** Help 
-------------------------------------------------------------------------
*/

body.help article {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 20px;
}

body.help h2 {
    border-top: 1px solid #BBB;
    padding-top: 0.5em;
}

body.help .tip {
    margin-top: 0.5em;
    margin-bottom: 1em;
    font-style: italic;
    font-size: 0.95em;
    color: #777;
    padding: 0 2em;
}

body.help .icon {
    margin-bottom: -1em;
    margin-top: -1em;
}

body.help .midi-actions > li {
    margin-bottom: 1em;
}


/** Text Fields 
-------------------------------------------------------------------------
*/

input[type="text"] {
    line-height: 50px;
    border: none;
    background: #353535;
    padding-left: 20px;
    padding-right: 40px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 5px;
    outline: none;
}

input[type="text"].error {
    border: 1px solid red;
}

input[type="submit"] {
    display: block;
    text-indent: -999em;
    overflow: hidden;
    background-repeat: no-repeat;
    text-align: left;
    direction: ltr;
    border: none;
    background: url('../img/Arrow.png');
    background-size: 100% 100%;
    width: 33px;
    height: 25px;
    float: right;
    position: relative;
    margin-top: -45px;
}





/** Checkboxes 
-------------------------------------------------------------------------
*/

input[type="checkbox"] { display: none; }

input[type="checkbox"] + label {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  text-align: left;
}

input[type="checkbox"] + label:last-child { margin-bottom: 0; }

input[type="checkbox"] + label:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: #353535;
  border: 1px solid transparent;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-transition: all .12s, border-color .08s;
  transition: all .12s, border-color .08s;
}

input[type="checkbox"]:checked + label:before {
  width: 10px;
  top: -5px;
  left: 5px;
  border-radius: 0;
  opacity: 1;
  background: none;
  border-right-color: #eee;
  border-bottom-color: #eee;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}