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: 0.9em;
  line-height: 1.4;
  height: 100%;
  background-color: #eee;
}

html, body, ul, ol, li {
  margin: 0;
  padding: 0;
}
a img {
  border: 0;
  text-decoration: none;
}
a, a:visited {
  color: #37589A;
  text-decoration: none;
  border-bottom: 1px dotted #37589A;
}
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 {
  width: 45%;
  min-height: 80%;
  padding: 1px 30% 300px 5%;
  margin: 0 auto;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  background-color: white;
  box-shadow: 0 0 60px rgba(90,40,40,0.2);
}

header {
  padding-top: 1px;
}
#main>header{
  position: fixed;
  width: 20%;
  left: 65%;
  top: 270px;
}
#main>header img{
  max-width: 100%;
}

#main-footer {
  position: fixed;
  width: 80%;
  left: 10%;
  bottom: -40px;
  overflow: hidden;
  z-index: 10;
}
#credits {
  position: fixed;
  right: 11%;
  color: #888;
  bottom: 5px;
  font-size: 0.7em;
  z-index: 100;
}
#bottom {
  width: 100%;
  margin-top: 10%;
  display: block;
}
#sknail {
  position: absolute;
  width: 25%;
  left: 95%;
  bottom: 46%;
}

#main-nav {
  position: fixed;
  right: 15%;
  top: 25px;
  width: 20%;
  z-index: 100;
}
#main-nav > a {
  margin-right: -45px;
}
#main-nav li {
  list-style-type: none;
  list-style-image: none;
}
#main-nav li a, .see-more, #menu-link a {
  display: inline-block;
  margin-bottom: 5px;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: #e6b4b4;
  text-decoration: none;
  color: black;
  border: 0;
}
.see-more {
  background: #e6b4b4 url('../images/ico-plus.png') no-repeat 6px 50%;
  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 li a.selected {
  text-transform: uppercase;
  background-color: white;
}

article {
  position: relative;
  margin-top: 30px;
  padding-top: 30px;
  padding-bottom: 100px;
  border-top: 1px solid #ccc;
}
article h1 {
  font-size: 2.4em;
  text-transform: uppercase;
  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;
}
#faces {
  margin-top: -4.2em;
}
#faces div {
  margin-right: 1%;
  margin-bottom: 1%;
  position: relative;
  width: 32%;
  float: left;
}
#faces a {
  display: block;
  border: 0;
}
#faces h2 {
  color: white;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
  position: absolute;
  width: 94%;
  top: 3%;
  left: 3%;
  text-shadow: 1px 1px 3px rgba(0,0,0,1);
}
#faces a:hover h2 {
  color: #E6B4B4;
}
#faces div img {
  display: block;
  width: 100%;
}
#faces div:first-child {
  margin-left: 66%;
}

#page-sound {
  position: relative;
}
#page-sound li a {
  border: 0;
}
#istore-logo {
  position: absolute;
  top: 30px;
  right: 0;
}

#page-home {
  text-align: center;
  background-color: #706666;
  padding-bottom: 25px;
}
#page-home img {
  max-width: 90%;
}

.col {
  font-size: 0.9em;
  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: 70%;
  max-width: 840px;
  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-sound ol {
  margin-top: 20px;
}
#page-sound li {
  padding-bottom: 5px;
  margin-bottom: 8px;
  border-bottom: 1px solid #ccc;
}

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

#follow a {
  margin-right: 15px;
  vertical-align: middle;
}
#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;
  text-align: center;
  text-decoration: none;
  padding: .15em 0.5em .2em;
  text-shadow: 0 1px 1px rgba(255,255,255,.8);
  font-size: 1.3em;
  border-radius: 8px;
  border: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
  color: #black;
  background-color: #E6B4B4;

}
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;
}
#contact input.error, #contact textarea.error {
  box-shadow: 0 0 1.5px 1px #dba;
  border-color: #976;
  background-color: #F0DDDD;
}

#sound-wrapper {
  position: fixed;
  bottom: 24px;
  text-align: right;
  right: 11%;
  z-index: 20;
  display: none;
}

#cover {
  background-color: white;
  background-color: rgba(255,255,255,0.7);
  position: fixed;
  z-index: 500;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
}
#cover-inside {
  padding: 20px;
  background-color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -320px;
  margin-top: -330px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
}
#cover .top {
  text-align: right;
  cursor: pointer;
  margin-bottom: 10px;
}
#cover img {
  cursor: pointer;
}

@media only screen and (max-width: 760px) {
  #gallery {
    width: auto;
    margin: 50px auto 0;
    padding: 35px 10px 10px;
    min-height: 0;
  }
  #menu-link {
    display: block;
    position: fixed;
    width: 100%;
    padding: 3px 4%;
    left: 0;
    top: 0;
    background-color: white;
    z-index: 200;
    border-bottom: 1px solid #ccc;
  }
  #main {
    background-color: white;
    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%;
  }
  #main > header {
    margin-top: 30px;
    left: 0;
    position: static;
    top: 0;
    width: auto;
  }
  #main-nav {
    display: none;
    left: 0;
    right: 0;
    top: 35px;
    background-color: white;
    padding: 10px 4%;
    width: auto;
  }
  #main-nav > a {
    margin-right: 0;
  }
  #main-nav.visible {
    display: block;
  }
  
  #faces {
    margin-top: 0;
  }
  #faces div:first-child {
    margin-left: 50%;
  }
  #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;
  }
  iframe {
    width: 100%;
    height: auto;
  }
}