/* GLOBAL STYLES
    -------------------------------------------------- */
/* Padding below the footer and lighter body text */
body {
    padding-bottom: 40px;
    color: #5a5a5a;
}
.casaback {
height: 500px;
}
.container.marketing {
    padding-top: 40px;
    padding-bottom: 40px;
}
.carousel-indicators {
    position: relative;
    top: 0;
    right: 0;
    z-index: 5;
    margin: 0;
    list-style: none;
    display: inline-block;
}
nav { text-align: center }
.carousel-indicators li {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: #141414;
    box-shadow: inset 0 1px 3px black,0 0 1px 1px #202020;
    margin: 0 2px;
    cursor: pointer;
}
#myCarousel {
    width: 900px;
    margin: auto;
}
.swipe {
    overflow: hidden;
    visibility: hidden;
    position: relative;
}
.swipe-inner {
    overflow: hidden;
    position: relative;
}
.swipe-inner > div {
    float: left;
    width: 100%;
    position: relative;
}
/* Main marketing message and sign up button */
.jumbotron {
    margin: 5px 0 20px 0;
    text-align: center;
}
.jumbotron h1 {
    font-size: 90px;
    line-height: 1;
}
.jumbotron .lead {
    font-size: 24px;
    line-height: 1.25;
}
.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}
/* 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;
    -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: 16px;
    font-weight: bold;
    text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}
/* Navbar links: increase padding for taller navbar */
.navbar .nav > li > a { padding: 15px 20px }
/* Offset the responsive button for proper vertical alignment */
.navbar .btn-navbar { margin-top: 10px }
/* CUSTOMIZE THE CAROUSEL
    -------------------------------------------------- */
/* Carousel base class */
.carousel-top .container {
    position: relative;
    z-index: 9;
}
.carousel-top .item { height: 500px }
.carousel-top img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 500px;
}
.carousel-top-caption {
    background-color: transparent;
    position: static;
    max-width: 550px;
    padding: 0 20px;
    margin-top: 200px;
}
.carousel-top-caption h1,
.carousel-top-caption .lead {
    margin: 0;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,.4);
}
.carousel-top-caption .btn { margin-top: 10px }
/* Featurettes
    ------------------------- */
.featurette-divider {
    margin: 80px 0; /* Space out the Bootstrap <hr> more */
}
.featurette-top {
    padding-top: 120px; /* Vertically center images part 1: add padding above and below text. */;;
}
.featurette {
    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 }
.featurette-image.pull-right { margin-left: 40px }
/* Thin out the marketing headings */
.featurette-heading {
    font-size: 47px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -1px;
}
/* RESPONSIVE CSS
    -------------------------------------------------- */
@media (max-width: 979px) { 
	#myCarousel {
	    width: 700px;
	    margin: auto;
	}
	.container.navbar-wrapper {
	    margin-bottom: 0;
	    width: auto;
	}
	.navbar-inner {
	    border-radius: 0;
	    margin: -20px 0;
	}
	.carousel-top .item { height: 500px }
	.carousel-top img {
	    width: auto;
	    height: 500px;
	}
	.featurette {
	    height: auto;
	    padding: 0;
	}
	.featurette-image.pull-left,
	.featurette-image.pull-right {
	    display: block;
	    float: none;
	    max-width: 90%;
	    margin: 0 auto 20px;
	}
}
@media (max-width: 767px) { 
	body {
	    padding-right: 0px;
	    padding-left: 0px;
	}
	#myCarousel {
	    width: auto;
	    margin: auto;
	}
	
	table {
	font-size: 10px;
	}
	.casaback { height: 0px }
	.jumbotron h1 {
	    font-size: 50px;
	    line-height: 1;
	}
	.navbar-wrapper {
	    position: relative;
	    margin-bottom: 0px;
	}
	.navbar-inner { margin: -20px 0}
	.carousel-caption { padding: 5px 10px }
	.carousel-caption p.lead { font-size: 15px }
	.marketing .span4 + .span4 { margin-top: 40px }
	.featurette-heading { font-size: 30px }
	.featurette .lead {
	    font-size: 18px;
	    line-height: 1.5;
	}
	.controls .input.medium { width: 80% }
	.container.marketing {
	    padding-left: 20px;
	    padding-right: 20px;
	}
	.navbar-fixed-top,
	.navbar-fixed-bottom,
	.navbar-static-top {
	    margin-right: 0;
	    margin-left: 0;
	}
}
.backgrounded {
    height: 300px;
    margin: 0 auto;
    width: 100%;
    box-shadow: 0 0 25px rgba(0,0,0,0.8);
    padding: 100px 0;
}

#intro.backgrounded {
    background: url(../img/open-hero-2.jpg) 0 0 fixed;
}
#intro2.backgrounded {
    background: url(../img/open-hero-3.jpg) 50% 0 fixed;
}
#intro3.backgrounded {
    background: url(../img/open-hero-4.jpg) 50% 0 fixed;
}
#intro4.backgrounded {
    background: url(../img/open-hero-5.jpg) 50% 0 fixed;
}
hr.featurette-divider {
    margin: 0;
    padding: 0;
}
.container.marketing {
    padding-top: 20px;
    padding-bottom: 40px;
}
/* Form */
form ol {
    list-style: none;
    padding: 0;
    margin: 0;
}
#send { float: left }
#submit-container { overflow: hidden }
#loading {
    width: 32px;
    height: 32px;
    display: none;
    margin-left: 0.75em;
    float: left;
    background: url(../img/ajax-loader.gif);
}
input.error,
textarea.error {
    -webkit-box-shadow: 0px 0px 2px 0px #fa301e;
    -moz-box-shadow: 0px 0px 2px 0px #fa301e;
    box-shadow: 0px 0px 2px 0px #fa301e;
}
label.error {
    color: red;
    display: inline;
    margin-left: 0.5em;
}
/* Submit Message */
#submit-message {
    margin-top: 2em;
    clear: both;
}
/* Utility */
.hidden {
    display: none !important;
    visibility: hidden;
}


/* Form validator */

input {
    border: #CCC solid 1px;
    border-radius: 3px;
    padding: 3px;
}

span.form-error {
    display: block !important;
    float: none;
    font-size: 85% !important;
    color: red;
    padding-top: 4px;
}

div.form-error {
    padding: 6px 12px;
    line-height: 180%;
    background: #ffe5ed;
    border-radius: 4px;
    margin-bottom: 22px;
    color: darkred;
}

input.valid {
    background: url(../img/icon-ok.png) no-repeat right center #e3ffe5;
    color: #002f00;
    border-color: #96b796 !important;
}

input.error {
    background: url(../img/icon-fail.png) no-repeat right center #ffebef;
    color: #480000;
}

.form-suggest-element {
    padding: 4px;
}

form.validating-backend {
    background: url(../img/ajax-loader.gif) no-repeat center center;
}

form.validating-backend div {
    opacity: 0.5;
}

.max-chars {
    background: #EEE;
    color: #999;
}

.form-help {
font-size: 90%;
color: #888;
width: 50%;
float: right;
}