body {
	font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 16px;
	color: rgb(84, 84, 84);
	width: 100%;
	max-width: 960px;
	margin: auto;
	line-height: normal;
}

a, a:hover {
	color: rgb(68, 146, 37);
}

.main-content a, a:hover {
	text-decoration:underline;
}

#controls a, a:hover {
	text-decoration:none;
}

p.signup-error {
	margin-bottom: 0px;
}

span.important {
	font-weight: bold;
	text-transform: uppercase;
}

aside {
	color: rgb(84, 84, 84);
	font-size: 1em;
}

aside h4 {
	margin: 0 0 0.5em 0;
	font-family: "Alegreya Sans SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 700;
}

h1, h2 { margin-top: 0.25em; }

aside h4 {
	margin-bottom: 0.25em;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: "Alegreya Sans",Helvetica,Arial,sans-serif;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 0;
	color: rgb(47, 164, 231);
	color:rgb(0, 128, 192);
	text-transform: none;
}

.connections {width: 100%;}

#social-media {
	text-align:center;
	margin: 10px 0;
}
.social-icon {
	width: 36px;
	height: 36px;
	padding: 0px;
	margin: 2px;
}

.btn {
	padding: 4px 12px;
}

.connection {
	display:inline-block;
	width: 49%;
	padding: 0.5em 1em 0 1em;
	border: 0px solid blue;
	margin: 0;
}

.connection-header {
	margin-left: 0.5em;
}

.step h3 {
	margin-top: 0;
}

label {
	margin-bottom: 0px;
}

label.required {
	color:rgb(0, 128, 192);
}

/*for checkbox with long label on Join page */
label.long-label {
    display: block;
    margin-left: 30px;
    text-indent: -30px;
}
input.long-checkbox {
    width: 27px;
    height: 13px;
    padding: 0 15px 0 0;
    margin:0;
    vertical-align: top;
    position: relative;
    top: 5px;
    *overflow: hidden;
}

.align-top {
	vertical-align:text-top;
}

.composer {
	font-style: italic;
	color: rgb(47, 164, 231);
}

form { 
	padding: 0;
}

.form-control {
	height: 28px;
	padding: 6px 8px;
	font-size: 14px;
	line-height: 1.25;
}

.error {
	display: block;
	display: inline;
	color: red;
	font-size: 16px;
	font-weight: bold;
}

.form-group {
	margin-bottom: 5px;
}

fieldset {
	margin-bottom: 10px;
}

.navbar {
	font-family: "Alegreya Sans SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 18px;
	text-transform: lowercase;
	/*get rid of space between navbar and page content*/
	margin-bottom: 0;
}

.sharethis-inline-share-buttons{
	padding-top: 1em;
}

.footer {
	font-family: "Alegreya Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.9em;
	color: rgb(255,255,255);
	line-height: normal;
	background-image: -webkit-linear-gradient(rgb(29, 156, 229), rgb(47, 164, 231) 40%, rgb(84, 180, 235));
	background-image: -moz-linear-gradient(rgb(29, 156, 229), rgb(47, 164, 231) 40%, rgb(84, 180, 235));
	background-image: -ms-linear-gradient(rgb(29, 156, 229), rgb(47, 164, 231) 40%, rgb(84, 180, 235));
	background-image: -o-linear-gradient(rgb(29, 156, 229), rgb(47, 164, 231) 40%, rgb(84, 180, 235));
	background-image: linear-gradient(rgb(29, 156, 229), rgb(47, 164, 231) 40%, rgb(84, 180, 235));
	background-repeat: no-repeat;
	min-height: 25px;
	position: relative;
	margin-top: 10px;
	text-align: center;
	padding: 0.5em 0.25em 0;
	-webkit-border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	-ms-border-radius: 0 0 5px 5px;
	-o-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}

.footer a { color: rgb(255,255,255); }

.footer p { padding: 0.25em 0; margin: 0; }

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
	color: rgb(255, 255, 255);
	background-color: rgb(2, 28, 53);
	background-color: rgb(2, 28, 53);
}

.nav > li.active {
	padding: 15px 15px 10px 15px;
	line-height: 20px;
	color: rgb(3,67,100);
}

.dropdown-toggle .active {
	color: rgb(3,67,100);
}

ul.dropdown-menu li.active {
	display: block;
	padding: 3px 20px;
	clear: both;
	font-weight: normal;
	line-height: 1.42857143;
	color: rgb(255,255,255);
	background-color: rgb(3,67,100);
	white-space: nowrap;
}


.hero { position: relative; font-size: 22px; }


/*MEDIA QUERIES*/
@media (min-width: 768px) {
  .navbar {
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
}

html {
        margin-left: calc(100vw - 100%);
        margin-right: 0;
    }


}
@media only screen and (min-width:625px) and (max-width : 768px) {
	.hero { font-size: 1em; }

	.text-right { text-align: left; padding-left: 0.5em; }
	
	h1 { font-size: 2em; }
	
}

@media screen and (max-width: 600px) {
  .connection {
		display: block; 
		width: 100%;
	}
}

/* Small Devices, Tablets */
@media only screen and (min-width:481px) and (max-width : 624px) {
	.hero { font-size: 0.8em; }

	h1 { font-size: 1.5em; }

	/*#map { height: 250px; }*/

}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width:321px) and (max-width : 480px) {
	.hero { font-size: 0.7em; }

	h1, h2 { font-size: 1.25em; }

	/*#map { height: 250px; }*/

}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {
	.hero { font-size: 0.65em; }

	h1 { font-size: 1.2em; }

	/*#map { height: 250px; }*/

}

/*restrict width to 970px*/

@media (min-width: 1200px) {
  .container { width: 940px; width: 960px; }

}

/*media queries to resize spotify player*/
@media(min-width: 494px) and (max-width: 991px) {
  .spotify { width: 450px; }

}

@media(min-width: 200px) and (max-width: 493px) {
  .spotify { width: 250px; height: 450px; }

}

/*this ensures image fits in hero container on home page when window width<768px*/
@media (min-width: 200px) {
  .stuck { padding: 0 15px; padding: 0; }

}