article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  height: 100%;
}
body {
  margin: 0;
  font-size: 1em;
  line-height: 1.4;
  height: 100%;
  background: #444 url(../images/bg.jpg) no-repeat 50% 50%;
  font-weight: 300;
  letter-spacing: 0.04em;
  background-size: cover;
  background-attachment: fixed;
}

html, body, ul, ol, li {
  margin: 0;
  padding: 0;
}
a img {
  border: 0;
  text-decoration: none;
}
a {
  color: #f99;
  text-decoration: none;
  border-bottom: 1px dotted #cce;
}
a:hover {
  text-decoration: underline;
  border: 0;
}
a.img {
  border: 0;
}
p {
  margin: 1.4em 0;
}
h3 {
  padding-top: 1.2em;
  margin-top: 1.8em;
  border-top: 1px dashed #ccc;
}

#main {
  min-height: 80%;
  padding: 1px 20% 30px 500px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  color: white;
  -moz-transition: background-color 2s ease;
  transition: background-color 2s ease;
}

header {
  padding-top: 1px;
}


#main-footer {
  position: fixed;
  height: 100%;
  width: 466px;
  left: 0;
  top: 0;
  z-index: 8;
  background: url(../images/rails.png) repeat-y top left;
}
#main-footer2 {
  position: fixed;
  height: 100%;
  width: 233px;
  right: 0;
  top: 0;
  z-index: 8;
  background: url(../images/rails2.png) repeat-y top right;
}

#credits {
  position: fixed;
  right: 11%;
  color: #888;
  bottom: 5px;
  font-size: 0.7em;
  z-index: 100;
}
#bottom {
  width: 100%;
  margin-top: 10%;
  display: block;
}
#contrebass {
  position: absolute;
  bottom: 100%;
  left: 0;
}
#contrebass2 {
  position: absolute;
  bottom: 100%;
  left: 0;
}

body>header h1 #logo {
  position: fixed;
  top: 0;
  left: 0;
  margin: 0;
  width: 480px;
  text-align: right;
  padding: 0;
  z-index: 9;
  border: 0;
}
body>header h1 span {
  position: fixed;
  top: 77px;
  left: 0;
  margin: 0;
  width: 480px;
  text-align: right;
  padding: 0;
  z-index: 1;
  display: block;
  font-weight: 300;
  color: white;
}
body>header h1 .back {
  display: block;
  position: fixed;
  top: 125px;
  font-size: 0.5em;
  font-weight: normal;
  left: 0;
  margin: 0;
  width: 480px;
  text-align: right;
  border: 0;
  z-index: 9;
}
#main-nav {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background: rgba(125,125,125,0.75);
  padding: 8px 10% 8px 500px;
  text-align: left;
  z-index: 5;
}
#main-nav ul {
  margin: 0;
}
#main-nav li {
  list-style-type: none;
  list-style-image: none;
  display: inline-block;
  margin-right: 0.25em;
  margin-bottom: 0.25em;
}
#main-nav a, .see-more, #menu-link a, .bt-close {
  display: block;
  padding: 4px 8px;
  background-color: #B90000;
  text-decoration: none;
  color: white;
  border: 0;
}
.see-more {
  background: #B90000 url('../images/ico-plus.png') no-repeat 6px 50%;
  color: white;
  padding: 2px 8px 2px 30px;
  float: right;
  margin-top: 10px;
}
.opened .see-more {
  background: #e6b4b4 url('../images/ico-minus.png') no-repeat 6px 50%;
}
#main-nav a.selected {
  background-color: black;
}

article {
  position: relative;
  padding-top: 75px;
  padding-bottom: 100px;
  border-top: 1px solid #ccc;
}
article h1 {
  font-size: 3em;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin: 0 0 25px;
}


form label {
  display: block;
  margin-top: 1em;
}
form input[type=text], form input[type=email], textarea {
  width: 60%;
}

#page-sknails section {
  padding-top: 12px;
  border-top: 1px solid #ccc;
  margin-top: 6px;
}
#page-sknails section img {
  float: left;
  width: 48%;
  margin-right: 2%;
}
#page-sknails section h1 {
  font-size: 1.5em;
  line-height: 1.1;
  margin-bottom: 0.3em;
}
#page-sknails section h1, #page-sknails section .desc {
  margin-left: 50%;
}
#page-sknails section .desc {
  overflow: hidden;
  height: 6.8em;
  position: relative;
  -webkit-margin-start: 0px !important;
}
#page-sknails section.opened .desc {
  height: auto;
}
#gallery-p div,
#faces div {
  margin-right: 1%;
  margin-bottom: 1%;
  position: relative;
  width: 32%;
  float: left;
}
#gallery-p a.gal,
#faces a.gal {
  display: block;
  border: 0;
  overflow: hidden;
}
#faces h2 {
  color: white;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.1;
  font-weight: 200;
  padding: 0 0 12px;
  font-size: 1.2em;
  height: 3em;
  display: table-cell;
  vertical-align: bottom;
}
#faces h2 a:hover {
  color: #B90000;
}
a.gal {
  max-width: 100%;
  display: inline-block;
  overflow: hidden;
  border: 0;
}
a.gal img {
  transition: all 0.3s ease;
}
a.gal:hover img {
  transform: scale(1.05);
}
#gallery-p a.gal:hover img,
#faces a.gal:hover img {
  transform: scale(1.1);
}
#gallery-p img,
#faces img {
  display: block;
  width: 100%;
}
.person-desc {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  padding: 66px 20% 20px 500px;
  overflow: auto;
  background: #333;
  z-index: 10;
  display: none;
}
.person-desc .bt-close {
  float: right;
}
.person-desc ul {
  margin-bottom: 30px;
}


#page-sound {
  position: relative;
}
#page-sound ul {
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
}
#page-sound li {
  display: block;
  list-style: none;
  margin-bottom: 10px;
  border: 0;
}
#page-sound li a, #page-sound li span {
  display: block;
  border: 1px solid #666;
  padding: 10px;
}
#istore-logo {
  position: absolute;
  top: 30px;
  right: 0;
}

#page-home {
  height: 100%;
  margin-top: 0;
}
#page-home h3 {
  border: 0;
  background-color: #B90000;
  padding: 12px 8px 14px;
  margin: 1.5em 0.5em 0.2em 0;
  float: left;
}
#page-home h3:first-child {
  margin-top: 0.4em;
}
#page-home p {
  margin-bottom: 0;
}
#page-home p.first {
  margin-top: 0;
}
#page-home img {
  max-width: 100%;
}

#old-site-bottom {
  position: fixed;
  transition: bottom 0.5s ease;
  bottom: -200px;
  left: 20px;
  z-index: 20;
  padding: 15px;
  background: rgba(0,0,0,0.7);
}
#old-site-bottom.show {
  bottom: 20px;
}
#old-site-bottom img {
  width: 130px;
}

.col {
  float: left;
  width: 48%;
}
.col.col-1 {
  margin-right: 4%;
}

/* 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;
}
/* Contain floats: h5bp.com/q */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
#menu-link {
  display: none;
}

#gallery-container {
  z-index: 300;
  background: url('../images/bg-black-30.png') repeat;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
#gallery {
  background: white url('../images/preload.gif') no-repeat 50% 50%;
  width: 640px;
  position: relative;
  margin: 50px auto 0;
  padding: 30px;
  min-height: 300px;
}
#gallery img.big {
  font-size: 0;
  max-width: 100%;
}
#close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

#page-utilities .icons a {
  margin-right: 30px;
}

#follow {
  float: right;
  width: 60%;
  text-align: right;
}
#follow a {
  margin-right: 1px;
  margin-bottom: 6px;
  padding: 3px 6px 3px 3px;
  font-size: 0.75em;
  display: inline-block;
  background: white;
  color: #B90000;
  vertical-align: middle;
}
#follow a.old {
  margin-right: 1px;
  padding: 0;
  color: #f99;
  font-size: 1em;
  background: none;
}
#follow a img {
  margin-right: 6px;
}
#follow a * {
  vertical-align: middle;
}

#messages {
  margin: 8px 0 5px;
  padding: 1px 10px;
  margin-bottom: 0.5em;
  border-radius: 5px;
}
#messages p {
  margin: 5px 0;
}
#messages.error {
  background-color: #F0DDDD;
}
#messages.infos {
  background-color: #7db9e8;
  color: white;
  text-align: center;
}
input#send {
  display: inline-block;
  outline: none;
  cursor: pointer;
  font-weight: 200;
  text-align: center;
  text-decoration: none;
  padding: .15em 0.5em .2em;
  font-size: 1.3em;
  border: 0;
  color: white;
  background-color: #B90000;

}
input#send:hover {
  box-shadow: 0 2px 3px rgba(0,0,0,.2) inset;
}
span.star {
  margin-left: 4px;
  color: #d08b4e;
  font-size: 1.2em;
}
#page-contact img {
  max-width: 100%;
}
#contact input.error, #contact textarea.error {
  box-shadow: 0 0 1.5px 1px #dba;
  border-color: #976;
  background-color: #F0DDDD;
}

#sound-wrapper {
  position: absolute;
  top: 50%;
  text-align: right;
  left: 50%;
  z-index: 20;
  display: none;
  padding: 5px;
  background: #B90000;
}
#sound-wrapper a {
  display: inline-block;
  margin-bottom: 8px;
}

#cover {
  background: white url('../images/snail_without_logo.jpg') no-repeat 50% 50%;
  background-size: cover;
  position: fixed;
  z-index: 500;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  overflow: auto;
}
#cover-inside {
  cursor: pointer;
  display: block;
  position: absolute;
  bottom: 80px;
  width: 300px;
  left: 50px;
}
#cover h1 {
  font-size: 2em;
  font-weight: 300;
  margin: 0;
}
#cover h2 {
  font-weight: 300;
  margin: 0;
}
#side {
    display: block;
    position: absolute;
    bottom: 80px;
    text-align: right;
    right: 50px;
    width: 300px;
}
#old-link {
    display: block;
    color: black;
    text-decoration: none;
}
#cover img {
  max-width: 100%;
}
#cover .top {
  text-align: right;
  cursor: pointer;
  margin-bottom: 10px;
}
#cover img {
  cursor: pointer;
}
#cover #news a {
  position: absolute;
  left: 50%;
  bottom: 50px;
  display: block;
  background: white;
  padding: 15px 25px;
  border-radius: 200px;
  transform: translateX(-50%);
  box-shadow: 0 5px 10px rgba(0,0,0,0.3);
  border: 0;
}
#cover #news a:hover {
  text-decoration: none;
  color: #B90000;
}
@-webkit-keyframes spinner {
  0% {
    height: 10px;
    width: 10px;
    margin-top: -6px;
    margin-left: -6px;
    opacity: 0.5;
  }
  100% {
    height: 800px;
    width: 800px;
    margin-top: -401px;
    margin-left: -401px;
    opacity: 0;
  }
}
@keyframes spinner {
  0% {
    height: 10px;
    width: 10px;
    margin-top: -6px;
    margin-left: -6px;
    opacity: 0.5;
  }
  100% {
    height: 800px;
    width: 800px;
    margin-top: -401px;
    margin-left: -401px;
    opacity: 0;
  }
}
@-webkit-keyframes flash {
  45% {
    background: rgba(255,0,0,0);
  }
  50% {
    background: rgba(255,0,0,255);
  }
  55% {
    background: rgba(255,0,0,0);
  }
}
@keyframes flash {
  45% {
    background: rgba(255,0,0,0);
  }
  50% {
    background: rgba(255,0,0,255);
  }
  55% {
    background: rgba(255,0,0,0);
  }
}
#cover #circles {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 500px;
  width: 500px;
  margin-top: -250px;
  margin-left: -250px;
  border-radius: 3000px;
}
#cover #circles:before,
#cover #circles:after {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 10px;
  width: 10px;
  margin-top: -6px;
  margin-left: -6px;
  border: 1px solid red;
  border-radius: 3000px;
}
#cover #circles:before {
  content: ' ';
  -webkit-animation: spinner 5s ease infinite;
  animation: spinner 5s ease infinite;
}
#cover #circles:after {
  content: ' ';
  -webkit-animation: spinner 4.2s ease 2s infinite;
  animation: spinner 4.2s ease 2s infinite;
}
#cover #circles-inside {
  -webkit-animation: spinner 2.2s ease 1s infinite;
  animation: spinner 2.2s ease 1s infinite;
}

#extra {
  position: fixed;
  top: 65px;
  right: 5px;
  z-index: 19;
}

#newsletter {
  padding: 5px;
  background: #999;
  text-align: left;
  font-size: 0.875em;
}
#newsletter label {
  display: block;
  margin: 0;
}
#newsletter input[type="text"], #newsletter input[type="email"] {
  width: 160px;
}
#newsletter #messages2 {
  display: block;
}
#newsletter input#send {
  margin: 0.5em 0 0;
  font-size: 1em;
}

body.news {
  height: auto;
  min-height: 100%;
  background-image: url('../images/snail_without_logo.jpg');
}
body.news #cover {
  height: auto;
  position: static;
  box-sizing: border-box;
  padding: 40px;
  background-color: transparent;
  background-image: none;
}
body.news #back {
  float: left;
  width: 120px;
}
body.news #live {
  padding: 30px;
  min-height: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,0.85);
  margin-left: 160px;
}
body.news .gig {
  padding: 20px 0;
}
body.news .gig > * {
  display: inline-block;
  vertical-align: top;
}
body.news .gig .infos {
  padding-left: 20px;
}
body.news a {
  color: #B90000;
}
body.news a.expand {
  border: 0;
}
@media only screen and (max-width: 90em) {
  #main-footer {
    left: -150px;
  }
  body > header h1 .back,
  body > header h1 #logo {
    width: 330px;
  }
  body > header h1 span {
    width: 330px;
  }
  #main-nav {
    padding: 8px 10% 8px 350px;
  }
  #main, .person-desc {
    padding: 1px 20% 30px 350px;
  }
}
@media only screen and (max-width: 79.375em) {
  #main-footer2 {
    right: -50px;
  }
  #main-nav {
    padding: 8px 8% 8px 350px;
  }
  #main, .person-desc {
    padding: 1px 20% 30px 350px;
  }
  #main-nav a {
    font-size: 0.8em;
  }
}
@media only screen and (max-width: 70em) {
  #main-footer {
    left: -300px;
  }
  body>header h1 .back,
  body > header h1 #logo {
    width: 180px;
  }
  body > header h1 span {
    width: 180px;
    font-size: 0.6em;
    top: 85px;
  }
  #main-nav {
    padding: 8px 8% 8px 200px;
  }
  #main, .person-desc  {
    padding: 1px 20% 30px 200px;
  }
}
@media only screen and (max-width: 60em) {
  #main-footer {
    display: none;
  }
  body > header h1 .back, 
  body > header h1 #logo {
    width: 130px;
  }
  body > header h1 span {
    width: 130px;
  }
  #main-nav {
    padding: 8px 8% 8px 150px;
  }
  #main, .person-desc {
    padding: 1px 20% 30px 150px;
  }
}
@media only screen and (max-width: 57em) {
  
  #extra {
    display: none;
  }
  #main-footer2 {
    display: none;
  }
  body>header h1 .back,
  body>header h1 span {
    display: none;
  }
/*  #gallery {
    width: auto;
    margin: 50px auto 0;
    padding: 35px 10px 10px;
    min-height: 0;
  }*/
  #menu-link {
    display: block;
    position: fixed;
    padding: 3px;
    right: 0;
    left: 0;
    top: 0;
    background-color: rgba(255,255,255,0.75);
    z-index: 200;
    border-bottom: 1px solid #ccc;
    text-align: right;
  }
  #menu-link a {
    display: inline-block;
  }
  #main, .person-desc {
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    box-shadow: 0 0 60px rgba(90, 40, 40, 0.2);
    margin: 0 auto;
    min-height: 80%;
    padding: 1px 5% 0 5%;
    width: 82%;
  }
  .person-desc {
    padding-top: 60px;
    width: auto;
  }
  #main > header {
    margin-top: 30px;
    left: 0;
    position: static;
    top: 0;
    width: auto;
  }
  #main-nav {
    display: none;
    left: 0;
    top: 35px;
    width: 100%;
    background-color: white;
    padding: 10px 4%;
  }
  #main-nav.visible {
    display: block;
  }
  
  #faces {
    margin-top: 0;
  }
  #gallery-p div,
  #faces div {
      margin-bottom: 1%;
      margin-right: 1%;
      position: relative;
      width: 49%;
  }
  #faces h2 {
    font-size: 1.2em;
  }
  #page-sknails section h1, #page-sknails section .desc {
    margin-left: 0;
  }
  #page-sknails section img {
    float: none;
  }
  #istore-logo {
    top: 80px;
  }
  
  #sound-wrapper {
    bottom: 5px;
    text-align: right;
    right: 5%;
    width: 90%;
  }
  #sound-player1_wrapper {
    width: 100%!important;
  }
  .jwplayer {
    height: 50px!important;
  }
  
  form input[type="text"], form input[type="email"], textarea {
    width: 100%;
  }
  #credits {
    position: static;
    margin: 10px 0;
  }
  #main-footer {
    display: none;
  }
  #cover {
    overflow: hidden;
  }
  #side {
    width: 200px;
    bottom: 40px;
    right: 25px;
  }
  #cover-inside {
    width: 200px;
    bottom: 40px;
    left: 25px;
  }
  #side h1,
  #cover-inside h1 {
    font-size: 1.5em;
  }
  #gallery-container {
    z-index: 300;
    background: url('../images/bg-black-30.png') repeat;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  #gallery {
    background: white url('../images/preload.gif') no-repeat 50% 50%;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    margin: 50px auto 0;
    padding: 10px;
    min-height: 300px;
  }
  iframe {
    width: 100%;
  }
  
  body.news .gig > * {
    display: block;
    text-align: center;
  }
}
@media only screen and (max-width: 38em) {
  body.news #live {
    margin-left: 0;
    padding: 15px;
  }
  body.news #cover {
    padding: 15px;
  }
  body.news #back {
    width: auto;
    text-align: center;
    float: none;
    padding: 15px 0;
  }
  #cover #news a {
    bottom: auto;
    top: 20px;
  }
}
@media only screen and (max-width: 30em) {
  #side {
    width: 125px;
    bottom: 10px;
    right: 10px;
  }
  #cover-inside {
    width: 125px;
    bottom: 10px;
    left: 10px;
  }

  #side h1,
  #cover-inside h1 {
    font-size: 1em;
  }
  .col, .col.col-1 {
    float: none;
    margin: 0;
    width: auto;
  }
  #page-home p.first {
    margin-top: 1.4em;
  }
  #menu-link {
    background-color: white;
  }
  article {
    padding-bottom: 20px;
    padding-top: 45px;
  }
  #gallery-p div,
  #faces div {
    margin-bottom: 15px;
    margin-right: 0;
    width: auto;
    float: none;
  }
  article h1 {
    font-size: 1.6em;
  }
  #old-site-bottom.show {
    bottom: 0px;
  }
  #old-site-bottom {
    background: rgba(0, 0, 0, 0.7) none repeat scroll 0 0;
    bottom: -200px;
    left: 0px;
    padding: 5px;
    right: 0px;
  }
  #old-site-bottom img {
    width: 100px;
  }
  #old-site-bottom div {
    display: inline-block;
    margin-left: 1em;
  }
  #main {
    padding-bottom: 120px;
  }
}