/*
 * This is a manifest file that'll automatically include all the stylesheets available in this directory
 * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
 * the top of the compiled file, but it's generally better to create a new file per style scope.
 *= require_self
*/

/* ========================================================
  // #HtmlBody
  // #Text
  // #Layout
  // #Site
  // #Pages
  // #Forms
  // #MediaQueries
  // #Print
// ======================================================== */

@import "modules/reset.css";
@import "modules/helpers.css";

/*
#HtmlBody
======================================================================================================================
*/
body {
  min-height: 1050px;
  border-top: 2px solid #03829e;
  color: #633f05;
  font: 15px/21px 'Droid Sans', sans-serif;
  font-weight: normal;
  background: url("/images/FabricPlaid.png") repeat 0 0;
}

.oldie body {
  font-family: sans-serif;
}

/*
#Text
======================================================================================================================
Headings
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 10px;
  color: #03829e;
  font-family: 'Georgia', serif;
  font-style: italic;
  font-weight: normal;
}

h1 {
  font-size: 27px;
}

h2 {
  font-size: 21px;
}

h3 {
  font-size: 17px;
}

h4 {
  font-size: 15px;
}

h5 {
  font-size: 15px;
}

h6 {
  font-size: 13px;
}

/* Paragraphs */
p {
  margin-bottom: 15px;
}

/* Links */
a {
  color: #000;
  font-weight: bold;

  &:visited {
    color: #633f05;
  }

  &:hover {
    color: #03829e;
  }

  &:focus {
    outline: thin dotted;
  }
}

/* Horizontal Rule */
hr {
  display: block;
  height: 4px;
  border: 0;
  border-top: 1px solid #fff;
  margin: 20px 0;
  padding: 0;
  background: url("/images/RuleGradient.png") repeat-x 0 0;
}

/* Block Quote */
blockquote {
  margin: 10px 0 10px 40px;
  padding-left: 15px;
  border-left: 3px solid #444;
}

/* Sup|Sub */
sub,
sup {
  font-size: 11px;
  vertical-align: baseline;
}

/* Lists */
.Content {

  ul,
  ol {
    margin: 0 0 20px 0;
    padding: 0;
  }

  li {
    margin: 0 0 5px 0;
    padding: 0 0 0 20px;
    list-style-position: outside;
  }

  ul li {
    list-style-type: disc;
  }

  ol li {
    list-style-type: decimal;
  }
}

/* Selection */
::-moz-selection {
  color: #fff;
  text-shadow: none;
  background: #fe57a1;
}

::selection {
  color: #fff;
  text-shadow: none;
  background: #fe57a1;
}

/*
#Layouts
======================================================================================================================
*/
.Internal {
  .Main {
    min-height: 500px;
    top: 140px;
    margin-top: 0;
    padding-top: 30px;
    border-radius: 10px 10px 0 0;
  }

  .CurvySide {
    position: absolute;
    width: 47px;
    height: 508px;
    top: 10px;
    right: 100%;
    margin: 0 3px 0 0;
    background: url("/images/CurvySide.png") repeat 0 0;
  }

  .Footer {
    top: 140px;
  }
}

/*
#Site
======================================================================================================================
Ribbon
*/
.Ribbon {
  position: absolute;
  z-index: 0;
  width: 100%;
  height: 350px;
  top: 150px;
  left: 0;
  border-top: 2px solid #03829e;
  border-bottom: 2px solid #03829e;
  background: url("/images/DiamondsAreForever.png") repeat 0 0;
}

/* Logo */
.Logo {
  position: absolute;
  z-index: 2;
  width: 366px;
  height: 55px;
  top: 35px;
  left: 50%;
  margin: 0 0 0 -480px;
  background: url("/images/LogoSprite.png") no-repeat 0 0;

  &:hover {
    background-position: 0 -55px;
  }
}

/* Navigation */
.NavWrapper {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 80px;
  top: 30px;
  left: 0;
  overflow: hidden;
}

.MainNav {
  position: absolute;
  width: 2500px;
  height: 74px;
  top: 0;
  left: 50%;
  margin: 0 0 0 -80px;
  border: 3px solid #03829e;
  border-radius: 80px;
  background: url("/images/DiamondsAreForever.png") repeat 0 0;

  li,
  a {
    display: block;
    float: left;
  }

  a {
    padding: 0 25px;
    color: #633f05;
    line-height: 74px;
    text-shadow: 1px 1px 0 #fff;
    font-size: 19px;
    font-weight: normal;
    font-family: 'Georgia', serif;

    &:hover {
      background: #fff;
      background: linear-gradient(to bottom, #fff 0%, #ecdabc 100%);
    }
  }

  li:first-child a {
    padding-left: 45px;
    border-radius: 80px 0 0 80px;
  }
}

/* User Nav */
.UserWrapper {
  position: relative;
  z-index: 2;
  width: 960px;
  margin: 0 auto;
}

.UserPosition {
  position: absolute;
  top: 0;
  right: 0;
}

.UserNav {
  float: left;
  padding: 8px;
  border-radius: 0 0 3px 3px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
  background: #fff;

  li {
    display: block;
    float: left;

    &:first-child {
      margin: 0 10px 0 0;
    }
  }
}

.AccountNav {
  position: absolute;
  width: 500px;
  top: 0;
  right: 100%;
  margin: 0;
  padding: 3px 10px 0 0;
  color: #03829e;
  text-align: right;
  font-size: 13px;

  a {
    color: #ece0ce;
    font-weight: normal;

    &:hover {
      color: #fff;
    }
  }
}

/*IE*/
.ie7,
.ie8 {
  .Slideshow {
    .Track {
      display: none;
    }
  }
}

/* Main */
.Main {
  position: relative;
  z-index: 1;
  width: 884px;
  top: 225px;
  margin: 0 auto 15px;
  padding: 35px 35px 50px 35px;
  border: 3px solid #03829e;
  border-top: none;
  background: #fcfaf6;
}

.Mantle {
  position: absolute;
  z-index: 1;
  width: 1004px;
  height: 104px;
  bottom: 100%;
  left: -25px;
  background: url("/images/Mantle.png") no-repeat 0 0;
}

/* Content */
.ContentLeft {
  width: 650px;
  float: left;
  margin: 0 24px 0 0;
}

/* Sidebar */
.Sidebar {
  width: 210px;
  float: left;
}

.Categories {

  li,
  a {
    display: block;
  }

  li {
    margin: 0 0 10px 0;
  }

  a {
    padding: 8px 10px;
    border-radius: 5px;
    text-shadow: 1px 1px 0 #fff;
    font-weight: normal;
    font-family: 'Georgia', serif;
    font-size: 19px;
    font-style: italic;
    background: #fff;
    background: linear-gradient(to bottom, #fff 0%, #ecdabc 100%);
    display: flex;
    align-items: center;
  }

  div {
    min-width: 60px;
  }

  span {
    margin-left: 10px;
  }

  img {
    border: 1px solid #fff;
    margin: auto;
    display: block;
  }
}

/* Footer */
.Footer {
  position: relative;
  top: 225px;
  margin: 0 auto 125px;

  small {
    color: #898886;
    font-size: 11px;
  }
}

/* Social */
.SocialNav {
  position: absolute;
  width: 105px;
  top: 5px;
  left: 50%;
  margin: 0 0 0 -50px;

  li,
  a {
    display: block;
    float: left;
  }

  li {
    margin: 0 5px 0 0;
  }

  a {
    width: 16px;
    height: 16px;
    background: url("/images/SocialSprite.png") no-repeat 0 0;
  }

  li:last-child {
    margin: 0;
  }
}

.Facebook a {
  background-position: 0 0;

  &:hover {
    background-position: 0 -16px;
  }
}

.Twitter a {
  background-position: -16px 0;

  &:hover {
    background-position: -16px -16px;
  }
}

.GooglePlus a {
  background-position: -32px 0;

  &:hover {
    background-position: -32px -16px;
  }
}

.Rss a {
  background-position: -48px 0;

  &:hover {
    background-position: -48px -16px;
  }
}

.Email a {
  background-position: -64px 0;

  &:hover {
    background-position: -64px -16px;
  }
}

/* Nav */
.FooterNav {
  position: absolute;
  top: 5px;
  right: 0;

  li,
  a {
    display: block;
    height: 15px;
    float: right;
    line-height: 15px;
  }

  li {
    border-right: 1px solid #333332;
  }

  a {
    padding: 0 7px;
    color: #898886;
    font-weight: normal;
    font-size: 11px;
    transition: color, 0.3s, ease-in-out;

    &:hover {
      color: #fff;
    }
  }

  /* Children */
  li:first-child {
    border-right: none;

    a {
      padding-right: 0;
    }
  }
}

/*IE*/
.ie7 {
  .FooterNav {

    li,
    a {
      display: inline;
      float: none;
    }
  }
}

/* Buttons */
.Button {
  display: inline-block;
  padding: 0 10px;
  border: none;
  border-radius: 3px;
  color: #633f05;
  text-shadow: 1px 1px 0 #fff;
  font: 15px/35px 'Georgia', serif;
  background: #fff;
  background: linear-gradient(to bottom, #fff 0%, #ecdabc 100%);

  &:hover {
    color: #03829e;
  }

  &.FormButton {
    padding: 0 15px;
    border: 1px solid #ecdabc;
    line-height: 30px;
    background: #fff;

    &:hover {
      border: 1px solid #03829e;
      color: #03829e;
    }

    &.Dark {
      border: 1px solid darken(#03829e, 10%);
      color: #fff;
      text-shadow: none;
      background: #03829e;

      &:hover {
        background: darken(#03829e, 10%);
      }
    }
  }
}

/*IE*/
.ie7 .Button {
  display: inline;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td {
  vertical-align: top;
}

/*
#Pages
======================================================================================================================
*/
.SignIn {
  position: relative;
  z-index: 1;
  width: 225px;
  top: 170px;
  margin: 0 auto 15px;
  padding: 35px 35px 50px 35px;
  border: 3px solid #03829e;
  background: #fcfaf6;
}

/*
#Forms
======================================================================================================================
Forms
*/
input:invalid,
textarea:invalid {
  background-color: #f0dddd;
}

.Fieldset {
  margin: 0 0 20px 0;

  .Input,
  .TextArea {
    box-sizing: border-box;
    width: 100%;
  }
}

.Input,
.TextArea {
  padding: 3px;
  border: 1px solid #aaa;
  border-radius: 3px;
  background: #fff;

  &:hover {
    box-shadow: 0 0 3px #03829e;
  }

  &:focus,
  &:active {
    border: 1px solid #03829e;
    box-shadow: 0 0 2px #fcfaf6;
  }
}

.Label {
  display: block;
  color: #633F05;

  &:hover {
    color: #000;
  }
}

/*
#MediaQueries
======================================================================================================================
*/
@import "modules/mediaqueries.css";

/*
#Print
======================================================================================================================
*/
@import "modules/print.css";