/*

Kirby Starterkit

Author: Bastian Allgeier / Sascha Lack
URL:    http://getkirby.com
Email:  support@getkirby.com

*/



/* Source Sans Pro
-------------------------------------------------- */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url(../fonts/sourcesanspro-300.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/sourcesanspro-600.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400-italic.woff) format('woff');
}


/* Reset
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}


/* Pix
-------------------------------------------------- */
img {
  display: block;
  max-width: 100%;
}


/* Links
-------------------------------------------------- */
a {
  color: #c0c0c0;
  text-decoration: none;
  transition: color 1s, background 1s, border 1s;
}
a:hover {
  color: transparent;
  text-shadow: 0 0 5px rgba(204, 255, 255,0.5);
  text-decoration: none;
}

.red a {
  color: #009999;
  text-decoration: none;
  transition: color 1s, background 1s, border 1s;
}
.red a:hover {
  color: transparent;
  text-shadow: 0 0 2px rgba(204, 255, 255,0.5);
  text-decoration: none;
}
/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}


/* Site
-------------------------------------------------- */
html {
  height: 101%;
  font-family: "Source Sans Pro", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0 0;
  font-size: 0.8em;
  line-height: 1em;
  padding: 1em;
  max-width: 100em;
  background: #282828;
  color: #cdcdcd;
  transition: padding 3s, margin 3s;
}


/* Header
-------------------------------------------------- */
.header {
  max-width: 12em;
  float:left;
  position: fixed;
}
.logo {
  display: block;
  height: 100px;
}
.logo img {
  width: 11.5em;
}


/* Navigation
-------------------------------------------------- */
.menu a {
  display: block;
  color: #9a9a9a;
}
.menu a:hover {
  color: transparent;
  text-shadow: 0 0 1px rgba(204, 255, 255,0.5);
  text-decoration: none;
}
.menu .active {
  color: #cdcdcd;
}
.menu li {
  list-style: none;
  width:100%;
}
.menu > li {
  position: relative;
}
.menu > li > a {
  padding: .20em 0;
  font-weight: 300;
}

@media screen and (min-width: 40em) {
  body {
    padding: 3em;
  }
  .logo {
    float: left;
  }
  .menu {
    float: right;
    margin-right: -1em;
  }
  .menu > li {
    float: left;
  }
  .menu > li > a {
    padding: .20em 0em;
    border: 0;
  }
  .menu > li:hover .submenu {
    display: block;
  }
}


/* Headings
-------------------------------------------------- */
h1 {
  font-size: 5em;
  line-height: 1em;
  font-weight: 400;
  padding: .10em 0em;
  font-family: 'EB Garamond', serif;
}
h2 {
  font-size: 1em;
  line-height: 1.25em;
  font-weight: 300;
  margin-bottom: .5em;
  color: gray;
}
h3 {
  font-size: 1em;
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: .5em;
}
h4 {
  font-size: 1em;
  font-weight: 600;
  line-height: 1.5em;
  margin-bottom: .5em;
  color: gray;
}
h1 a, h2 a, h3 a, h4 a {
  border: 0 !important;
}



/* Main
-------------------------------------------------- */
.main {
  width: 790px;
  margin-top: 100px;
  margin-left: 180px;
  transition: padding 3s, margin 3s;
}
@media screen and (min-width: 60em) {
  .main {
    margin-left: 250px;
  }}
.main hr {
  margin: 20px 0;
  height: 0px;
  background: #ddd;
}
.main p {
  margin-bottom: 0px;
  line-height: 1.35em;
  font-weight: 300;
}
.main figure,
.main ul,
.main ol {
  margin-bottom: 20px;
  line-height: 1.35em;
  font-weight: 300;
}
/* Text blocks */
.text {
  font-size: 5em;
  font-family: 'EB Garamond', serif;
}
audio { width: 100px; }
/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
  color: gray;
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}


/* Project teaser
-------------------------------------------------- */
.teaser {
  list-style: none;
}
.teaser li {
  width: 175px;
  height: 240px;
  margin-bottom: 20px;
  list-style: none;
  background-color: #fbf5ab;
  text-align: center;
}
@media screen and (min-width: 60em) {
  .teaser li {
    float: left;
    margin-right: 20px;
  }
  .teaser li:first-child {
    margin-right: 20px;
  }
}
.teaser img{
  position:absolute;
  z-index: 1;
  width: 175px;
  height: 240px;
  -webkit-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  -o-transition: all 0.3s ease-in;
}
.teaser img:hover {
  opacity: 0;
}
.teaser h3 {
  color: black;
  font-weight: 300;
  padding-top: 85px;
  margin : 10px 10px 0px 10px ;
}
.colori a{
  color: #939598;
  font-weight: 400;

}

/* Footer
-------------------------------------------------- */
.footer {
  padding: 1em 0 6em;
  font-size: .8em;
}
.copyright {
  float: left;
}
.colophon {
  float: right;
}
.colophon a b {
  color: red;
  padding-left: .25em;
}














#audioplayer{
	width: 100%;
	height: 60px;
	margin: 0 0 0 0;
}

#pButton{
    height:20px;
    width: 20px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    float:left;
    outline:none;
}

.play{background: url('play.png') ;}
.pause{background: url('pause.png') ;}

#timeline{
	width: 760px;
	height: 1px;
	margin-top: 9px;
  margin-left: 9px;
	float: left;
	background: #cdcdcd;

}
#playhead{
	width: 18px;
	height: 18px;
	border-radius: 50%;
	margin-top: -8px;
	background: #cdcdcd;

}
