@import (inline) "normalize.css";
@import (inline) "bootstrap.min.css";


@color_white: #fff;
@color_grey: #cecdd2;
@color_orange: #f49a34;


html,
body {
  height: 100%;
}

body {
  font: 1em "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: @color_orange;
  text-decoration: none;
  
  &:hover {
    text-decoration: none;
    color: @color_grey;
    background-color: fade(@color_white, 50%);
  }
  
  &#back {
    display: block;
    position: absolute;
    left: 5px;
    top: 5px;
    line-height: 1.2em;
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    background-color: fade(@color_white, 10%);
    border: 1px solid @color_grey;
    border-radius: 3px;
    width: 1.5em;
    height: 1.5em;
    z-index: 2;
  }
}

#stage {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url('/images/stage-camping-001.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  
  .welcome {
    position: relative;
    width: 100%;
    top: 30%;
    color: @color_white;
    font-size: 3em;
    font-weight: bold;
    text-align: center;
  }
  
  .startLink {
    display: block;
    width: 70%;
    margin: auto;
    position: relative;
    top: 40%;
    border: 1px solid @color_white;
    color: @color_white;
    font-size: 1.3em;
    text-align: center;
    padding: 0.6em;
    
    &:hover {
      background-color: fade(@color_white, 50%);
      text-decoration: none;
    }
  }
}

#items {
  background-color: @color_grey;
  
  .item {
    display: block;
    position: relative;
    
    &:hover {
      text-decoration: none;
      
      title {
        background-color: fade(@color_white, 50%);
        color: @color_grey;
      }
      
      intro {
        background-color: fade(@color_white, 50%);
      }
    }
    
    .preview {
      height: auto;
      width: 100%;
    }
    
    title {
      display: block;
      position: relative;
      top: 0px;
      width: 100%;
      background-color: fade(@color_grey, 50%);
      border-bottom: 1px solid @color_white;
      padding: 0.2em 0;
      color: @color_white;
      text-align: center;
      font-weight: bold;
      font-size: 1.1em;
    }
    
    intro {
      display: none;
      position: absolute;
      bottom: 0px;
      width: 100%;
      text-align: center;
      font-size: 1em;
      font-weight: normal;
      color: @color_white;
      background-color: fade(@color_grey, 50%);
      border-top: 1px solid @color_white;
    }
  }
}

#itemPage {
  height: 100%;
  
  #stage {
    height: auto;
    border-bottom: 1px solid @color_orange;
    margin-bottom: 10px;
  }
  
  #details {
    text-align: justify;
    padding: 0 5px;
    
    p {
      @item_details_margin: 25px;
      margin-left: @item_details_margin;
      margin-right: @item_details_margin;
    }
    
    .price {
      text-align: center;
      
      .value {
        color: @color_orange;
        font-size: 2em;
      }
    }
  }
}

footer {
  @footer_height: 50px;
  
  border-top: 1px solid @color_orange;
  background-color: fade(@color_grey, 50%);
  text-align: center;
  height: @footer_height;
  
  .col {

    
    a {
      line-height: @footer_height;
      
      &:hover {
        background-color: inherit;
      }
    }
  }
}