.hidden {
    display: none;
    height: 100%;
    vertical-align: middle;
}

.clear {
    clear: both;
}

body {
    background-color: #4da1bd;
    font-family: Lato, Helvetica, Arial, sans-serif;
}

button {
    outline: none;
}
/**** nav bar ****/

.navbar {
    border: none;
	background-image: url(../images/header-bg.jpg) !important;
	background-repeat: repeat !important;
	background-color: #245b89 !important;
}

.icon-bar {
    background: white;
}

.navbar-toggle {
    height: 70px;
    margin-top: 0;
    padding-top: 0;
}

.navbar-brand,
.navbar-brand:hover,
.navbar-brand:active,
.navbar-brand:focus {
    background: transparent;
    padding-top: 30px;
}

.navbar-right {
    margin-right: 15px;
}

.navbar-nav > li {
    margin-top: 35px;
}

.navbar-right > li > a {
    padding: 2px 15px;
    color: white;
}

.navbar-right > li > a:hover {
    background-color: transparent;
}

#login:hover {
    border-bottom: 1px solid rgba(255, 255, 255, .3);
}

#signup-form-container {
    position: absolute;
}

#signup-form-container > #signup-form {
    padding: 15px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    top: 50px;
}

#signup {
    margin-left: 10px;
    margin-right: 10px;
}

#signup,
#signup:active,
#signup:focus {
    -webkit-transition: background ease .3s;
    transition: background ease .3s;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 16px;
}

#signup:hover {
    -webkit-transition: background ease .3s;
    transition: background ease .3s;
    background-color: #fff;
    color: #555555;
    border-radius: 16px;
}

#signup2,
#signup2:active,
#signup2:focus {
    background-color: #9bdb6c;
    border: 1px solid #496f2d;
    border-radius: 16px;
    padding-top: 3px;
    padding-bottom: 3px;
    color: #3a5923;
    text-shadow: 0 1px rgba(255, 255, 255, 0.3);
}

#signup2:hover {
    box-shadow: inset 0 1px 8px rgba(255, 255, 255, .5);
}

#signup2:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .2);
}

@media (max-width: 767px) {
    .navbar-collapse {
        background: #fff;
        color: #000;
        margin-top: 0;
        padding-top: 0;
    }
    .collapse .navbar-right > li > a {
        color: #666;
    }
    #signup2 {
        display: inline-block;
        margin-left: 15px;
    }
}
/**** End of nav bar ****/

.punchline {
    margin-top: 50px;
    font-size: 28px;
    color: white;
    font-family: 'Bitter', Arial, Helvetica, sans-serif;
}

.fancy-or {
    display: inline-block;
    margin: 15px;
    color: white;
}

.fancy-or > .or-decoration {
    height: 4px;
    width: 1px;
    background-color: white;
    margin-left: 6px;
}

.fancy-or {
    font-size: 13px;
}

.primary-cta {
    background-color: #9bdb6c;
    border: 1px solid #496f2d;
    border-radius: 3px;
    color: #3a5923;
    font-size: 22px;
    padding: 8px 25px;
    text-shadow: 0 1px rgba(255, 255, 255, 0.3);
	outline: none;
}

.primary-cta:hover {
    box-shadow: inset 0 1px 15px rgba(255, 255, 255, .5);
}

.primary-cta:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .2);
}


.primary-cta-main {
    background-color: #9bdb6c;
    border: 1px solid #496f2d;
    border-radius: 3px;
    color: #3a5923;
    font-size: 22px;
    padding: 8px 25px;
    text-shadow: 0 1px rgba(255, 255, 255, 0.3);
	outline: none;
}

.primary-cta-main:hover {
    box-shadow: inset 0 1px 15px rgba(255, 255, 255, .5);
}

.primary-cta-main:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, .2);
}


.secondary-cta,
.secondary-cta:active,
.secondary-cta:focus {
    -webkit-transition: background ease .3s;
    transition: background ease .3s;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 3px;
    padding: 7px 25px;
    color: white;
}

.secondary-cta:hover {
    -webkit-transition: background ease .3s;
    transition: background ease .3s;
    background-color: #fff;
    color: #555555;
}
/**** Dividers ****/

.clear {
    clear: both;
}

.section-0 {
    margin-top: 30px;
	background-image: url(../images/header-bg.jpg);
	background-repeat: repeat;
	background-color: #245b89;
}
.section-0 .small-tagline {
    font-size: 16px;
    color: #ffffff;
    padding-top: 15px;
	padding-bottom: 25px;
    line-height: 24px;
}

.section-1 {
    background-color: #6abeda;
    width: 100%;
    height: 30px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 1px 8px rgba(0, 0, 0, .4);
    margin-top: -180px;
    position: relative;
    z-index: 0;
}

.section-2,
.section-4 {
    background-color: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .4);
    width: 100%;
    padding-bottom: 30px;
    position: relative;
    z-index: 2;
}

.login {
    font-size: 14px;
    color: #ffffff;
    padding-top: 10px;
	padding-left:5px;
}
.login > a { 
	text-decoration:underline;
	color:#ffffff;
}
.login > a:hover {
	color:#cccccc;
}

.terms {
    font-size: 14px;
    color:#333333 !important;
}
.terms > a:hover {
	color:#cccccc;
}

.flyers {
    z-index: 1;
}

.flyers > img {
    margin-top: 30px;
    float: right;
}

.section-2 {
	padding-top: 20px;
}

.section-2 .medium-header {
   margin-top: -60px;
}
	
@media (max-width: 768px) {
	.section-2 .medium-header {
		margin-top: 0px;
	}
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
	.section-2 .medium-header {
		margin-top: 30px; /* This works only in Safari and Google Chrome */
	}
}

.section-4,
.section-5 {
    padding-top: 50px;
}

.small-header, 
.medium-header,
.large-header {
    text-align: center;
}

.section-2 
.small-header,
.medium-header,
.section-5 .small-header {
    color: #197b9b;
    font-weight: 600;
    font-size: 14px;
}

.section-2 .large-header {
    color: #565e60;
    font-size: 28px;
    font-weight: 100;
    max-width: 700px;
    margin: 0 auto;
}

.section-2 .small-header {
    margin-top: 40px;
}

.section-2 .medium-header {
    margin-bottom: 20px;
	font-size: 18px;
}

.key-features {
    text-align: center;
}

.key-features > div {
    padding: 30px;
}

.key-features img {
    margin: 0 auto;
    margin-top: 30px;
}

.key-features .feature-caption {
    margin-top: 15px;
    font-size: 16px;
    color: #565e60;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.section-3,
.section-5 {
    background-color: #d2dee2;
}

.section-3 .map {
    margin: 30px auto;
    vertical-align: middle;
}

.section-3 .large-tagline {
    border-left: 2px solid #38b4dd;
    color: #666666;
    font-size: 46px;
    font-weight: 100;
    padding-left: 15px;
}

.section-3 .small-tagline {
    font-size: 16px;
    color: #333333;
    padding-top: 15px;
    line-height: 24px;
}

.section-3 .region-selection {
    max-width: 400px;
    margin: 30px auto;
    padding-left: 15px;
}

.section-3 .row > div {
    margin: 30px auto;
}

.select-group {
    max-width: 500px;
}

.select-group select {
    padding: 8px;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
    margin-top: 15px;
}

.select-group > select:nth-child(1) {
    margin-right: 10px;
}
/**** Section 4 ****/

.section-4 .join-small {
    font-size: 28px;
    font-weight: bold;
    color: #38b4dd;
}

.section-4 .get-started {
    font-size: 64px;
    font-weight: 100;
    color: #545b5d;
}

.section-4 .get-started-reasons {
    font-weight: 100;
    font-size: 20px;
    color: #7e8385;
}

.section-4 .primary-cta {
    font-size: 18px;
    font-weight: 600;
    height: 60px;
    width: 320px;
    padding: 0;
    margin: 100px calc(50% - 160px);
}
.section-2 .medium-header {
    margin-top: -60px;
}

@media (max-width: 480px) {
    .section-4 .primary-cta {
        width: 200px;
        margin: 50px calc(50% - 100px);
    }
    .section-2 .medium-header {
        margin-top: 30px;
        clear: both;
    }
}

@media (max-width: 768px) {
    .section-4 .get-started-wrapper {
        margin-left: 30px;
        margin-right: 30px;
    }
}
/**** Section 5 ****/

.testimonial-wrapper {
    margin-top: 30px;
}

.testimonial-quote {
    font-family: lato;
    font-size: 50px;
    position: absolute;
}

.portrait {
    margin-top: 45px;
    float: left;
    text-align: center;
}

.portrait > .fa {
    width: 50px;
    height: 50px;
    padding-top: 10px;
    font-size: 24px;
    border-radius: 25px;
    background: #fff;
    color: #C1CDD1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

.quote-cloud {
    width: calc(100% - 100px);
    padding: 20px;
    margin-left: 25px;
    margin-top: 30px;
    background: #fff;
    float: left;
    position: relative;
    color: #4a5457;
    line-height: 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

.quote-cloud:before {
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    background: #fff;
    top: 30px;
    left: -8px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.testimonial-who {
    float: right;
}

.quote-cloud .testimonial-name {
    color: #38b4dd;
    font-size: 16px;
}

.quote-cloud .testimonial-location {
    color: #969fa2;
    font-size: 12px;
    font-weight: 600;
    line-height: 12px;
}

.section-5 .small-header {
    font-size: 18px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.last-section {
    padding-bottom: 50px;
}

.companies {
    width: 100%;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.companies > img {
    margin-bottom: 15px;
    display: inline-block;
}

.terms a {
	color: #245b89 !important;
}