/*
 * Globals
 */
 @import url(http://fonts.googleapis.com/css?family=Alex+Brush);

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritence from `body` */
  background-color: #fff;
  border: 1px solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #444;
}
body {
  color: #777;
  text-align: center;
  margin:0;
  padding:0;
}
h1, h2, h3, h4, h5, h5{
  font-family: 'Alex Brush', cursive;
}

.info{
   background-color:#f5f5f5;
   padding:20px;
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
  -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
          box-shadow: inset 0 0 100px rgba(0,0,0,.5);
  z-index: 999 !important;
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 30px;
}


/*
 * Header
 */
.masthead-brand {
  margin-top: 10px;
  margin-bottom: 10px;
}

.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff; /* IE8 proofing */
  color: rgba(255,255,255,.75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #a9a9a9;
  border-bottom-color: rgba(255,255,255,.25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 768px) {
  .masthead-brand {
    float: left;
  }
  .masthead-nav {
    float: right;
  }
}

/*
 * Navbar
 */
.navbar{
  background:#fff;
  border-bottom:2px solid #909;
}
@media (min-width: 768px){
.navbar{
  height: 80px;
  margin:0;
 }
 .navbar-brand img{
  height: 60px;
  margin-top: -10px;
 }

 .navbar-nav>li>a{
  padding-top: 30px;
  padding-bottom: 28px;
 }
}
@media (max-width: 768px){
.navbar{
  padding-bottom: 10px;
  margin-bottom: 0;
 }
 .navbar-brand img{
  height: 50px;
  margin-top: -10px;
 }
}
 .navbar-form{
  border:none !important;
 }
 .navbar-inverse{
  background-color:#fff;
 }

 .navbar-inverse .navbar-nav>li>a {
  color:grey;
 }
 .navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {
  background:none;
 }

.navbar-inverse .navbar-toggle .icon-bar{
  background-color: #909;
}

.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{
  color:#555;
}
@media (min-width: 768px){
  .navbar-nav li:hover{
    color: #909;
  }
}
@media (max-width: 768px){
  .navbar-nav li:hover{
    background-color: #f5f5f5;
  }
}

.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus,
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form,
.navbar-inverse .navbar-toggle{
  background:none;
  border: none !important;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus{
  color: #000;
}

/* drop down open */
.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:hover, .navbar-inverse .navbar-nav>.open>a:focus{
  background:none;
  color:#909;
}

.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus{
  background-color: #f5f5f5;
}

/* the toggle */
.navbar-toggle{
  margin-top:20px;
  margin-bottom: 0px
}


/*
 * Cover
 */

.cover {
  padding: 0 20px;
}
.cover .btn-lg {
  padding: 10px 20px;
  font-weight: bold;
}

/* main */
.main{
  background-color: #fff;
  padding-top:20px;
}

.jumbotron{
  background-color: #39c;
  color: #fff;
}

.img-circle{
  border-radius: 6px;
  width:100%;
}

/*
 * Footer
 */

footer {
  color: #999; /* IE8 proofing */
  color: rgba(255,255,255,.5);
  padding: 30px 0;
  text-align: left;
}
footer .footer-logo{
  width:350px;
}
footer h3{
  margin-top:0;
  color:#fff;
}

@media (max-width: 1200px){
  footer{
    text-align: center;
  }
}


/*
 * Affix and center
 */

@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 992px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 700px;
  }
}

.cover-logo{
  text-indent: -999em;
  height: 200px;
  background-image: url('../images/crystalstyle.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
}
@media (max-width: 768px) {
  .cover-logo{
    margin-top: 20px;
    height: 100px;
    background-image: url('../images/crystalstyle-mobile.png');
  }
}