/***************
  HTML Styles	
***************/
body {
  background-color: #fcfcfc;
}
body.parallax-demo {
  height: 100%;
}

p.box {
  padding: 20px;
}
p {
  padding: 0;
  
}

.header {
  color: color("materialize-red", "lighten-2");
  font-weight: 300;
}

.caption {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 30px;
}

.preview {
  background-color: #FFF;
  border: 1px solid #eee;
  padding: 20px 20px;
}

/********************
  Index Page Styles	
********************/

#logo-container {
  position: absolute;
  top: 50%;
  @include transform( translateY(-50%));
  height: 70%;
}

#front-page-logo {
  display: inline-block;
  height: 100%;
  pointer-events: none;
}


#responsive-img {
  width: 80%;
  display:block;
  margin: 0 auto;
}

#index-banner {
  background-color: color("materialize-red", "lighten-2");
  .header {
    color: #FFF;
  }
  h4 {
    margin-bottom: 40px;
  }
}

// Latest commit widget
.github-commit {
  padding: 14px 0;
  height: 36px;
  line-height: 36px;
  background-color: #5c5757;
  color: hsl(0, 0%, 90%);
  font-size: .9rem;
}
@media #{$medium-and-down} {
  .github-commit {
    text-align: center;
  }
}

#github-button {
  background-color: #6f6d6d;
  @include transition(.25s ease);
  &:hover {
    background-color: #797777;
  }
}

.sha {
  color: hsl(0, 0%, 94%) ;
 margin: 0 6px 0 6px;
}

#download-button {
  background-color: color("materialize-red", "lighten-3");
  width: 200px;
  height: 70px;
  line-height: 70px;
  font-size: 18px;
  font-weight: 400;

  &:hover {
    background-color: lighten(color("materialize-red", "base"), 30%);
  }
}


.promo{
  padding: 0 15px;
  img {
    width:95%;
    margin-bottom:1.5rem;
  }
  
  i {
    color: color("materialize-red", "lighten-2");
    font-size: 7rem;
    display: block;
  }
}

.promo-caption {
  font-size: 1.7rem;
  font-weight: 500;
  margin-top: 5px;
  margin-bottom: 0px;

}

#front-page-nav {
  background-color: #FFF;
  position: relative;
  a {
      color: color("materialize-red", "lighten-2");
    }
  li {
    &:hover {
      background-color: color("materialize-red", "lighten-5");
    }
    &.active {
      background-color: color("materialize-red", "lighten-5");
    }
  }
  .container {
    height: inherit;
  }
}

// Grid doc styles

.col.grid-example {

  background-color: #FFF;
  border: 1px solid #eee;
  margin: 10px 0;

  p {
    margin: 10px;
  }
}

// Color Wheel
.dynamic-color {

  .red, .pink, .purple, .deep-purple, .indigo, .blue, .light-blue, .cyan, .teal, .green, .light-green, .lime, .yellow, .amber, .orange, .deep-orange, .brown , .grey,  .blue-grey {
    height: 55px;
    width: 100%;
    padding: 0 15px;
    line-height: 55px;
    font-weight: 700;
    font-size: 12px;
    display: block;
    @include box-sizing(border-box);
  }
  .col {
    margin-bottom: 15px;   
  }
}

.center {
  text-align: center;
  vertical-align: middle;
}

.light {
  font-weight: 300; 
}

// Icons
.icon-container i {
  font-size: 3em;
  display: block;
  margin-bottom: 10px;
}
.icon-container .icon-preview {
  height: 120px;
  text-align: center;
}

.icon-holder {
  display: block;
  text-align: center;
  width: 150px;
  height: 115px;

  float: left;
  margin: 0px 0px 15px 0px;
  p {
    margin: 0px 0;
  }
}

// tabs 
.tabs-wrapper {
  position: relative;
  height: 48px;
  @extend .hide-on-small-only;

  .row.fixed {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
  }
}


// Shadow demo styling
.shadow-demo {
  width: 125px;
  height: 125px;
  margin: 20px auto;
  
  @media only screen and (max-width: $large-screen) {
    width: 100px;
    height: 100px;
    
  }
  
  @media only screen and (max-width: $small-screen) {
    width: 150px;
    height: 150px;
  }
}

// parallax demo
.parallax-container {
  height: 70%;

  .text-center {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -27px;
  }

}
@media #{$medium-and-down} {
  .parallax-container {
    height: auto;
  }
}

// Prism Styling
code, pre {
  font-size: 1.1rem;
}

.directory-markup {
  font-size: 1rem;
  line-height: 1.1rem !important;
}


// Footer styling
#footer .footer-block {
  display: inline-block;
 
  a {
    margin-left: 25px;
    vertical-align: bottom;
  }
}
@media #{$medium-and-down} {
  .footer-block {
    display: block;
    margin-bottom: 20px;
  }
}

