/*
* Base Template
* Combines HTML5 Boilerplate & Boostrap. Includes some basic templating.
* Authored by Stephen Shaw (shshaw@gmail.com)
*/

/* @group Basics */

*,
*:before,
*:after {
  box-sizing: border-box;
}
small{

  font-size: 16px;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  color: #fff;
  font-weight: 400;
  font-size: 15px;
  font-family:"Open Sans",Verdana, Helvetica, Arial, sans-serif;
  line-height: 20px;
  margin: 0;
  padding: 0;
  background: #000;
}

#coverflow{

  overflow: hidden;
}

header{
  position: absolute;
  height: 45%;
  width: 100%;
  background-image: linear-gradient(to top, transparent 0%, white 98%);
  z-index: -1;

}

.flipster__item--current{
    cursor: pointer;
}

#logo {
    color: #fff;
    padding: 10px;
    font-size: 32px;
    font-weight: 300;
    z-index: 9999;

}
#logo>span{
  color: #B10C1B;
}

#logo>span.e{
  color: #fff;
  background-color: #B10C1B;
}
footer{
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 10px;
}

footer a{
  font-size: 14px;
  color: #fff;
}

.flipster__button svg{
  color: #fff;
}
#photos-name {
  font-size: 30px;
  color: #fff;
  font-weight: 300;
  text-align: center;
  z-index: 1000;
  text-shadow: 0 0 2px #000;
  position: absolute;
  bottom: 13%;
  left: 0;
  width: 100%;
}

#photos-name:first-letter {
    text-transform: uppercase;
}

.flipster__button{
  top: 195px;
  opacity: .7;
  padding: 10px;
}
.flipster__button--next {
    right: calc(50% - 410px);;
}
.flipster__button--prev {
    left: calc(50% - 410px);
}

.demo .flipster {
    margin: 0 -2em;
}

.flipster--coverflow .flipster__container {
    padding-bottom: 0;
}
a {
  color: #da0d25;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #f22840;
  text-decoration: none;
}
p { margin: 0 0 20px; }

h1,
h2,{
  margin: 10px 0;
  font-weight: 500;
  line-height: 40px;
  color: inherit;
  text-align: center;
}
h1 small,
h2 small {
  font-weight: 400;
  line-height: 1;
  color: #8d8d8d;
}
h1 { font-size: 28px; }
h2 { font-size: 22px; }

/* @end */

.main-header {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 20%;
  background: #eee;
  padding: 1em;
}

.main-header__nav {
  border-top: solid 1px #ccc;
  margin: 1em -1em;
}

.main-header__nav a {
  display: block;
  padding: 0.5em 1em;
  border-bottom: solid 1px #ddd;
}

.main-header__nav a:hover,
.main-header__nav a:focus {
  color: #eee;
  background: #da0d25;
}



.intro {
  padding: 4em 2em;
}

.demo {
  padding: 13vh 2em 0;
}

.demo h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 1em;
}

.demo .flipster {
  margin: 0 -2em;
}

.code {
  display: block;
  background: #eee;
  padding: 1em;
  border-radius: 1em;
  margin: 2em auto;
  max-width: 30em;
  font-size: 0.8em;
  width: fit-content;
  white-space: pre-wrap;
}

.button {
  display: inline-block;
  padding: 5px 10px;
  margin: 0;
  background-color: #da0d25;
  background-position: center center;
  background-repeat: no-repeat;
  color: #FFF;
  text-shadow: none;
  vertical-align: middle;
  cursor: pointer;
  border: 0;
  transition: all 300ms ease;
}

.button:hover,
.button:focus {
  color: #7a0715;
  background: #f22840;
}


@media (max-width: 800px) {
  body{
    background: #fff;
  }
header{
  display: none;
}

#logo img{
  width: 200px;

}
  .demo {
    padding: 0 2em;
  }

.flipster__button{
  margin: 0;
  width: 10%;
  text-align: center;
  top: 0;
  bottom: 0;
  outline:0;
}



  .flipster__button--next {
      right: 0;
  }
  .flipster__button--prev {
      left: 0;
  }
/*
div.cover canvas{
  display: none !important;
}*/
  #photos-name {

    top: 0;
    bottom: inherit;
background-image: linear-gradient(to top, transparent 0%, #fff 100%);
padding: 2px 0 20px 0;
color: #000;
    text-shadow: 0 0 2px #fff;
  }

  body { padding: 0; }

  .main-header {
    position: relative;
    width: 100%;
  }

  .main-header__nav a { display: inline-block; border: none; }
}
