/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

/**
{
transition:all .2s linear;
-o-transition:all .2s linear; 
-moz-transition:all .2s linear; 
-webkit-transition:all .2s linear;

-webkit-box-shadow:0px 0px 3px 0px white;
-o-box-shadow:0px 0px 3px 0px white;
-moz-box-shadow:0px 0px 3px 0px white;
-ms-box-shadow:0px 0px 3px 0px white;
box-shadow:0px 0px 3px 0px white;
}*/

body {
  padding-bottom: 40px;
  color: #5a5a5a;
}



/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  margin-top: 20px;
  margin-bottom: -90px; /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
}
.navbar-wrapper .navbar {
}

/* Remove border and change up box shadow for more contrast */
.navbar .navbar-inner {
  border: 0;
  background-color: #272727;
  background-image: none;
/*  -webkit-box-shadow: 0 2px 10px rgba(0,0,0,.25);
     -moz-box-shadow: 0 2px 10px rgba(0,0,0,.25);
          box-shadow: 0 2px 10px rgba(0,0,0,.25);*/
}


/* Downsize the brand/project name a bit */
.navbar .brand {
  padding: 14px 20px 16px; /* Increase vertical padding to match navbar links */
  font-size: 22px;
  font-weight: bold;
  text-shadow: none;
  color: #ffffff; /*#00CCFF;*/
}

/*.navbar .brand:hover {
  background-color: #333333;
}*/

/* Navbar links: increase padding for taller navbar */
.navbar .nav li a {
  padding: 15px 20px;
  text-shadow: none;
  background-color: #272727;
  color: #999999;
}
.navbar .nav li a:hover {
  background-color: #272727;
  color: #ffffff;
}
.navbar .nav li {
  line-height: 24px;
}

.navbar .nav .active a,
.navbar .nav .active a:hover,
.navbar .nav .active a:focus {
  background-color: #272727;
  color: #00CCFF;
  -webkit-box-shadow: inset 0 3px 8px rgba(0,0,0,0);
  -moz-box-shadow: inset 0 3px 8px rgba(0,0,0,0);
  box-shadow: inset 0 3px 8px rgba(0,0,0,0);
}

/*.navbar .nav li.active {
  background-color: #333333;
  color: #333333;
  background-image: none;
}*/

/* Offset the responsive button for proper vertical alignment */
.navbar .btn-navbar {
  margin-top: 10px;
}



/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 60px;
}

.carousel .container {
  position: relative;
  z-index: 4;
}

.carousel-control {
  height: 80px;
  margin-top: 0;
  font-size: 120px;
  text-shadow: 0 1px 1px rgba(0,0,0,.4);
  background-color: transparent;
  border: 0;
  z-index: 5;
}

.carousel .item {
  height: 550px;                                                   
}
.carousel img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 550px;
}

.carousel-caption {
  background-color: transparent;
  position: relative;
  max-width: 1200px;
  margin-top: 140px;
}
.carousel-caption h1,
.carousel-caption .lead {
  margin: 0;
  color: #fff;
  background: #272727;
  background: -webkit-linear-gradient(bottom, rgba(39,39,39,.6), rgba(39,39,39,.3));
  background: -moz-linear-gradient(bottom, rgba(39,39,39,.6), rgba(39,39,39,.3));
  padding: 15px 10px 10px 10px;
  line-height: 1.25;
  text-align: justify;
  text-shadow: -1px 0 rgba(0,0,0,1.0), 0 1px rgba(0,0,0,1.0), 1px 0 rgba(0,0,0,1.0), 0 -1px rgba(0,0,0,1.0);
  position: relative;
  border-radius: 12px;
  bottom: 0;
  margin: 0;    
}
.carousel-caption .btn {
  margin-top: 10px;
}



/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .span4, .span6 {
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .span4 p {
  margin-left: 10px;
  margin-right: 10px;
}

.marketing .span4 img {
	max-height: 120px;
}

/* Sponsors CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.sponsor .span4 {
  text-align: center;
}
.sponsor h4 {
  font-weight: normal;
}
.sponsor .span4 p {
  margin-left: 10px;
  margin-right: 10px;
}

.sponsor img {
	max-height: 60px;
}

/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}
.featurette {
  padding-top: 50px; /* Vertically center images part 1: add padding above and below text. */
  overflow: hidden; /* Vertically center images part 2: clear their floats. */
}
.featurette-image {
  margin-top: -120px; /* Vertically center images part 3: negative margin up the image the same amount of the padding to center it. */
}

/* Give some space on the sides of the floated elements so text doesn't run right into it. */
.featurette-image.pull-left {
  margin-right: 40px;
  margin-top: 40px;
  max-width: 500px;
  max-height: 400px;
  border: 5px solid #272727;
  border-radius: 10px;
}
.featurette-image.pull-right {
  margin-left: 40px;
  margin-top: 40px;
  max-width: 500px;
  max-height: 400px;
  border: 5px solid #272727;
  border-radius: 10px;
}


/* Thin out the marketing headings */
.featurette-heading {
  font-size: 50px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}



/* RESPONSIVE CSS
-------------------------------------------------- */

@media (max-width: 979px) {

  .container.navbar-wrapper {
    margin-bottom: 0;
    width: auto;
  }
  .navbar-inner {
    border-radius: 0;
    margin: -20px 0;
  }

  .carousel .item {
    height: 500px;
  }
  .carousel img {
    width: auto;
    height: 500px;
  }

  .featurette {
    height: auto;
    padding: 0;
  }
  .featurette-image.pull-left,
  .featurette-image.pull-right {
    display: block;
    float: none;
    max-width: 40%;
    margin: 0 auto 20px;
  }


@media (max-width: 767px) {

  .navbar-inner {
    margin: -20px;
  }

  .carousel {
    margin-left: -20px;
    margin-right: -20px;
  }
  .carousel .container {

  }
  .carousel .item {
    height: 300px;
  }
  .carousel img {
    height: 300px;
  }
  .carousel-caption {
    width: 65%;
    padding: 0 70px;
    margin-top: 100px;
  }
  .carousel-caption h1 {
    font-size: 30px;
  }
  .carousel-caption .lead,
  .carousel-caption .btn {
    font-size: 18px;
  }

  .marketing .span4 + .span4 {
    margin-top: 40px;
  }

  .featurette-heading {
    font-size: 30px;
  }
  .featurette .lead {
    font-size: 18px;
    line-height: 1.5;
  }

}



body {
  position: relative;
  padding-top: 0px;
}

body,
p
{
  font: 20px Segoe UI, Helvetica, Arial, sans-serif;
  line-height: 24px;
}

pre,
code
{
    color: #333333;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  text-shadow: #ffffff 0 1px 0; 
}

/* Code in headings */
h3 code {
  font-size: 14px;
  font-weight: normal;
}

/* padding for in-page bookmarks and fixed navbar */
section {
  padding-top: 30px;
}
section > .page-header,
section > .lead {
  color: #5a5a5a;
}
section > ul li {
  margin-bottom: 5px;
}

/* Faded out hr */
hr.soften {
  height: 1px;
  margin: 70px 0;
  background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
  border: 0;
}


/* Base class
------------------------- */
.header 
{  
  width: 100%; 
  margin: auto; 
  padding-top: 20px; 
  background: url("../img/starrynight.png"); 
  background-color: black; 
  opacity: 2;
}
.titleheader 
{
  width: 100%;  
  margin: auto; 
  padding-bottom: 20px; 
  padding-top: 90px;}

.titleheader h1, 
.titleheader h3
{     
  text-shadow: 0 1px 3px rgba(0, 0, 0, 1), 0 0 1px rgba(0, 0, 0, 1);
  width: 960px;
  display: inline;  
  color: #efefef;
  padding: 4px;
  background-color: #222222;  
} 
.titleheader h1,
.marketing h1
{
  font: 36px/58px Segoe UI, Helvetica, Arial, sans-serif;
}

section h2
{
  font: 30px/49px Segoe UI, Helvetica, Arial, sans-serif;
}

.titleheader h3,
.marketing h3,
section h3
{
  font: 24px/36px Segoe UI, Helvetica, Arial, sans-serif;
}

section h4
{
  font: 12px/18px Segoe UI, Helvetica, Arial, sans-serif;
}

.titleheader a
{
  color:  #dddddd;
}

.titleheader a:hover
{
  color:  white;
}

.row + .row
{
  margin-top: 30px;
}

/* Social proof buttons from GitHub & Twitter */
.docs-social {
    padding: 15px 0;
    text-align: center;
    background-color: #eeeeee;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #dddddd;
}

/* Quick links on Home */
.docs-social-buttons {
    margin-left: 0;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}
.docs-social-buttons li {
    display: inline-block;
    padding: 5px 8px;
    line-height: 1;
    *display: inline;
    *zoom: 1;
}

.spotlight-action
{
    text-align: center;
  padding: 40px 0px;
}
.spotlight-action .version
{
  color: #aaaaaa;
  font: 14px/23px Segoe UI, Helvetica, Arial, sans-serif;
}

.marketing
{
    text-align: center;
}

.marketing .container
{
    width: 980px;
}

.marketing h3 
{   
    color: #444444;    
}

.marketing h1
{
    color: #666666;  
}

/* Footer
-------------------------------------------------- */

.footer {
  padding-bottom: 70px; 
}
.footer p {   
  margin-bottom: 0;
  color: #777;
}


/* Base class */
.example {
  position: relative;
  margin: 15px 0;
  padding: 49px 19px 14px;
  *padding-top: 24px;
  background-color: #fff;
  border: 1px solid #ddd;  
}

/* Echo out a label for the example */
.example:after {
  content: "Example";
  position: absolute;
  top: -1px;
  left: -1px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: bold;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  color: #9da0a4; 
}

/* Remove spacing between an example and it's code */
.example + .prettyprint {
  margin-top: -20px;
  padding-top: 15px;
}

/* Tweak examples
------------------------- */
.example > p:last-child {
  margin-bottom: 0;
}
.example .table,
.example .progress,
.example .well,
.example .alert,
.example .hero-unit,
.example .pagination,
.example .navbar,
.example > .nav,
.example blockquote {
  margin-bottom: 5px;
}
.example .pagination {
  margin-top: 0;
}

/* Desktop
------------------------- */

@media (min-width: 1200px)
{    
    .marketing .container
    {
        width: 1200px;
    }
}

@media (max-width: 980px) {
  /* Unfloat brand */
  body > .navbar-fixed-top .brand {
    float: left;
    margin-left: 0;
    padding-left: 10px;
    padding-right: 10px;
  }    
   
}


/* Tablet to desktop
------------------------- */
@media (min-width: 768px) and (max-width: 980px) {
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }
  .marketing .container
  {
      width: 744px;
  }
  .header
  {
      margin-top: -20px;
  }
}

/* Tablet
------------------------- */
@media (max-width: 767px) {
  /* Remove any padding from the body */
  body {
    padding-top: 0;
  }
  .marketing .container
  {
      width: auto;
  }
  .header
  { 
  padding: 40px 20px;
  margin-top: -20px;
  margin-left: -20px;
  margin-right: -20px;
  }
  .docs-social
  {
    margin: 0 -20px;
  } 
  
  /* Unfloat the back to top link in footer */
  .footer {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer p {
    margin-bottom: 9px;
  }
}

/* Landscape phones
------------------------- */
@media (max-width: 480px) {
  /* Remove padding above jumbotron */
  body {
    padding-top: 0;
  }
  .marketing .container
  {
      width: auto;
  }
  /* Change up some type stuff */
  h2 small {
    display: block;
  }
  
  .m-btn.big
  {
      display: block !important;
  }
  
  

  /* center example sites */
  .example-sites {
    margin-left: 0;
  }
  .example-sites > li {
    float: none;
    display: block;
    max-width: 280px;
    margin: 0 auto 18px;
    text-align: center;
  }
  .example-sites .thumbnail > img {
    max-width: 270px;
  }

  /* Do our best to make tables work in narrow viewports */
  table code {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
  }

  /* Modal example */
  .modal-example .modal {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  /* Unfloat the back to top in footer to prevent odd text wrapping */
  .footer .pull-right {
    float: none;
  }
}