@import url('https://fonts.googleapis.com/css?family=Megrim|Raleway:300,500');



body{

font-family: "adelle",serif;
font-style: normal;
font-weight: 100;
font-size: 17px;
max-width: 1200px;
margin:auto;
}

main{
	background-color: rgba(70,84,95,.1);
}



/*TYPOGRAPHY ===========================*/



h1, h2{
font-family: 'Megrim', cursive;
margin: 0;
padding: 0;
text-align: center;
color: #fff;
}

h3, h4, article h1, article h2, article .byline, .search-subscribe a, nav a, .quote, .compass-search p{
	font-family: 'Raleway', sans-serif;}



h3{
	color:white;
	font-weight: 500;
	padding: 2rem 1.5rem 1rem ;
	text-transform: uppercase;
	margin: 0;
	width: 100%;
	box-sizing:border-box;
	font-size: 1.3rem;
}


h1{
font-size: 60px;
padding-top: 0.5rem;
}

h2{
font-size: 30px;
padding-bottom: 0.5rem;
}

h4, article .byline{
	font-size: .95rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#kickalps article h1, #kickalps article h2, #kickalps article .byline, #kickalps blockquote{
	color: rgba(196, 43, 81,1);
}


#patagonia article h1, #patagonia article h2, #patagonia article .byline, #patagonia blockquote{
	color: rgba(229,149,0,.8);
}

#gear article h1{
	color: rgba(93,115,126,.85);
}


article h1{
	font-size: 1.4rem;
	text-align: left;
	padding-bottom: 1.5rem;
}

article h2{
	font-size: 1.1rem;
	font-weight: bold;
	text-align: left;
	padding: 0.8rem 0 0 0;
}

article .byline{
	font-size: .9rem;
}



.social-media a{
	color: rgba(255,255,255,.6);
	font-size: 33px;
	transition: 0.5s ease;
}

.social-media a:hover{
	color: rgba(255,255,255,1);
}

.search-subscribe a{
	font-weight: 500;
	color: white;
	font-size: 17px;

}

.social-media li{
	padding: 0.2rem;
}

.fa-search{
	padding: 0.5rem;
	color: rgba(255,255,255,.6);
}

input{
	background-color: rgba(255,255,255,.6);
	line-height: 1.5;
}

header input{
	margin-bottom: 2rem;
}

article blockquote{
	font-size:20px;
	margin:0;
	padding: 0.5rem 0.6rem;
	max-width: 600px;
}


 
/*MENUS AND LINKS ======================*/

a{
	text-decoration: none;
	color: inherit;
}


header ul, footer ul{
	list-style-type: none;
	padding: 0;
	margin: 0;
	text-align: center;

}

header li, footer li{
display: inline;
}

header nav li{
	display: block;
	border: 1px solid #000;
	background-color: rgba(0,0,0,.5);
}


nav a[href*="kickalps"]{
	color: rgba(196, 43, 81,1);
}

nav a[href*="patagonia"]{
	color: rgba(229,149,0,1);
}

nav a[href*="unicyclist"]{
	color: rgba(100,182,172,1);
}

nav a[href*="about"],nav a[href*="gear"],nav a[href*="press"]{
	color: rgba(177,182,187,1);
} 



header nav a:hover {
	background-color: rgba(255,255,255,.9);
}

header nav a{
	display: block;
	padding: 0.5rem;
}


header a, footer a{
 	text-decoration: none;
 	color: white;
}

header nav ul{
	text-align:center;
	padding: 0.5rem;
	text-transform: uppercase;
	font-weight: bold;
}


footer{
	display:flex;
	flex-flow:column nowrap;
	justify-content:center;
	padding: 0.5rem;
}



footer nav, footer p{
	align-self:center;
}

footer nav{
	padding-top: 1.5rem;
	}

footer a{
	padding: 0.5rem;
}

  
/*LAYOUT BLOCKS ========================*/

header {
	background-image: 
		linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),
		url("../images/RowerHeader.jpg")
		;
}

footer{
	background-image: 
		linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),
		url("../images/RowerBottom.jpg")
		;
}


header{
	padding: 1rem;
}

.social-media, .search-subscribe{
	text-align: center;
}

.search-subscribe{
	padding:0.8rem;
}

.text p{
	margin: 0;
	padding: .8rem 1rem 2rem 1rem;
	line-height: 1.3;
	max-width: 100%;
}



article{
	padding: 1rem;
	margin: auto;
}



p{
	max-width: 800px;
}

article img{
	margin-bottom: 1rem;
}

article p:last-of-type{
	font-style: oblique;
	font-size: 14px;
	margin-bottom: 2rem;
}


#kickalps h3{
	background-image: 
		linear-gradient(rgba(196, 43, 81,.8),rgba(196, 43, 81,.8)),
		url("../images/RowerTop.jpg")
		;
}


#patagonia h3{
	background-image: 
		linear-gradient(rgba(229,149,0,.8),rgba(229,149,0,.8)),
		url("../images/RowerTop.jpg")
		;

}


#Tips h3{
	background-image: 
		linear-gradient(rgba(100,182,172,.75),rgba(100,182,172,.75)),
		url("../images/RowerTop.jpg")
		;
}

#gear h3, #about h3, #press h3{
	background-image: 
		linear-gradient(rgba(93,115,126,.85),rgba(93,115,126,.85)),
		url("../images/RowerTop.jpg")
		;
}

.contact-form{
	background-image: 
		url("../images/RowerMiddle.jpg");
	padding: 2rem;	
}


.bearing{
	position: relative;

}

.bearing img{
	min-height: 400px;
    min-width: 600px;
}

.compass-text{
	background-color: rgba(0,0,0,.5);
	border-radius: 1rem;
	position: absolute;
	top:3%;
	left:1.5rem;
	right:1.5rem;
	bottom: 3%;
	text-align: center;
	color: white;
	height: 94%;
	padding: 1.5rem;
	display: flex;
	justify-content:space-between;
	flex-flow:column nowrap;
	box-sizing:border-box;
}



.compass-search p{
	max-width: 100%;
	font-size:1.3rem;
}

.compass-search input{
	width:60%;
	line-height: 2;
}

.compass-lost h1{
	font-size: 40px;
}

.big{
	position:relative;
	bottom: -.4rem;
	font-size: 60px;
}


.vignette{
	position:relative;
}

h4{
	position:absolute;
	color:white;
	top:0.8rem;
	left:1.5rem;
	margin:0;
	padding:.3rem;
	z-index:1;
}

h5{
	font-size:15px;
}

#kickalps h4{
	background-color: rgba(196, 43, 81,.8);
}

#patagonia h4{
	background-color: rgba(229,149,0,.8);
}

#Tips h4{
	background-color: rgba(100,182,172,.8);
}

.other h4{
background-color: rgba(93,115,126,.9);
}


.category{
	display:flex;
	flex-flow:row wrap;
}



header p, footer p{
	font-family: 'Raleway', sans-serif;
	margin: 0 auto;
	padding: 2rem;
	color: white;
	flex: 0 0 100%;
	text-align: center;
	font-size: 18px;
	font-weight: 300;
}

footer p{
	font-size: 13px;
}

header p span{
	display: block;
}


form{
	background-color: rgba(0,0,0,.5);
	padding: 2rem;
	border-radius: 1rem;
	color: white;
}

input, textarea {
  border-radius: 5px;
  margin-top: 0.3rem;
  margin-bottom: 1rem;
  color: #555;

}

form input, form textarea{
  width:80%;
  display: block;
}

#submit{
	width:6rem;
}

textarea{
	height:8rem;
	background-color: rgba(255,255,255,.6);
}

form p{
	margin-top:0.3rem;
	margin-bottom: 0.3rem;
}

form h5{
	margin-top: 3rem;
	margin-bottom: 1rem;
}

/*MEDIA QUERIES ========================*/ 

 
@media screen and (min-width: 700px) {




.vignette:first-of-type{
	flex:0 0 100%;
	box-sizing:border-box;
} 

.vignette, .other .vignette:first-of-type{
	flex:0 0 50%;
	box-sizing:border-box;
}

.vignette .text{
	border-right: solid 1px white ;
	border-left: solid 1px white ;
}


 
}/* end min 700 query*/

@media screen and (min-width: 800px) {


header p span{
	display: inline;
}

header nav ul{
	display:flex;
	flex-flow:column wrap;
	height:7rem;
}

header nav li{
	flex: 0 0 33.33%;
	box-sizing:border-box;
}

#gear article p, #gear article h1, #gear article h2, #gear article .byline{
	float:left;
	width:100%;
	box-sizing:border-box;
}

article p, article h1, article h2, article .byline{
	float:left;
	width:60%;
	box-sizing:border-box;
}

article  img, article blockquote{
	float:right;
	width:40%;
	box-sizing:border-box;
	padding: 1rem 0.5rem 1rem 1.5rem;

}

form{
	display:flex;
	flex-flow:column wrap;
	height:25rem;
}

form input, form textarea, form h5, form p{
	width:50%;
	box-sizing:border-box;
}

form h5, form p{
	padding-left: 10%;
}

}/* end min 800 query*/

@media screen and (min-width: 1000px){

header{
	position:relative;
}

.social-media, .search-subscribe {
	position:absolute;
	padding: 0;
	top:3rem;
}

.social-media{
	left:4rem;
}

.search-subscribe{
	right:2rem;
}



header nav ul{
	display:flex;
	flex-flow:row nowrap;
	justify-content:space-around;
	height:auto;
}

header nav li{
	flex-shrink:1;
}	


}/* end min 1000 query*/


@media screen and (min-width: 1200px) {

 

#index .vignette:first-of-type{
	flex:0 0 33.333%;
	box-sizing:border-box;
}

.vignette:first-of-type{
	flex:0 0 100%;
	box-sizing:border-box;
} 

 
.vignette{
	flex:0 0 33.333%;
	box-sizing:border-box;
}



}/* end min 1200 query*/

 
/*RESPONSIVE IMAGES===================*/
 
img{
	display: block;
	max-width: 100%;
	height:auto;
}


/* VISUALLY HIDDEN========================*/
 
.visually-hidden { /*https://developer.yahoo.com/blogs/ydn/clip-hidden-content-better-accessibility-53456.html*/
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    padding:0 !important;
    border:0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}
body:hover .visually-hidden a, body:hover .visually-hidden input, body:hover .visually-hidden button { display: none !important; }

