/********** Bill's resets **********/

h1, h2, h3, p, ul, ol {
	margin: 0;
	padding: 0;
}

nav ul, nav ol { list-style-type: none; }

img { max-width:100%; }

a { text-decoration:none;}

* { box-sizing: border-box; }

/************** End CSS RESET ****************/


body { 
	font-family: 'Gentium Basic', serif; 
	color:#333; 
}

header {
	padding:0 20px;
	position:relative;
}

header h1 {
	text-align: center;
	font-size: 10vw;
	margin-bottom: 0;
	background: #E8E8E8;
	padding: 50px 20px;
}

main { 
	margin-top: 60px;
	padding: 0 10px;
}

section { padding: 20px 10px; }

.column { padding: 0 10px; }

footer {
	margin: 0 20px;
	padding: 40px;
	background: #E8E8E8;
}

/************* Typography ************/
h1{ 
	font-family: 'Oswald', sans-serif;
	font-size: 24px;
	margin-bottom: 1em;
	text-transform: uppercase;
}

p { 
	line-height: 1.4em;
	margin-bottom: 1em;
}

footer p { 
	margin-bottom: 0;
	text-align: center;
}

/******* Kitten Aquisition Form ********/

#formslider {
	position: relative;
	margin: 0 20px;
	z-index: 20;
	display:none;
}

#formcontainer {
	padding: 20px 10px;
	width: 100%;
	background: #616161;
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	color: #EDEDED;
}


/**************** Form Styles ******************/

label, input, select, textarea {
	display: block;
	width: 100%;
}

label { margin-bottom: 5px; }

input, select, textarea {
	margin-bottom: 10px;
	padding: 5px;
}

textarea { margin-bottom: 20px; }

span.help-inline { color: #feb0f6; }

#formtoggle {
	background: #B40205;
	font-family: 'Oswald', sans-serif;
	font-size: 16px;
	display: block;
	padding: 10px 0;
	line-height: 1.3em;
	position: absolute;
	right: 20px;
	bottom: 0;
	width: 280px;
	text-align: center;
	color: #E8E8E8;
}

.disclaimer {
	font-family: Arial;
	font-size: 12px;
	padding: 20px 0;
	line-height: normal;
}

.disclaimer a {
	color: #bbc5dd;
	font-size: 12px;
	padding: 0;
	text-decoration: underline;
}


/************* Range Input Styles *************/

input[type=range] {
	-webkit-appearance: none;
	margin: 10px 0;
	width: 100%;
	padding: 0;
	background: none;
}

input[type=range]:focus { outline: none; }

input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	height: 12.8px;
	cursor: pointer;
	animate: 0.2s;
	box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
	background: #687aa7;
	border-radius: 25px;
	border: 0px solid #000101;
}

input[type=range]::-webkit-slider-thumb {
	box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
	border: 0px solid #000000;
	height: 20px;
	width: 39px;
	border-radius: 7px;
	background: #2E364A;
	cursor: pointer;
	-webkit-appearance: none;
	margin-top: -3.6px;
}

input[type=range]:focus::-webkit-slider-runnable-track { background: #687aa7; }

input[type=range]::-moz-range-track {
	width: 100%;
	height: 12.8px;
	cursor: pointer;
	animate: 0.2s;
	box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
	background: #687aa7;
	border-radius: 25px;
	border: 0px solid #000101;
}

input[type=range]::-moz-range-thumb {
	box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
	border: 0px solid #000000;
	height: 20px;
	width: 39px;
	border-radius: 7px;
	background: #2E364A;
	cursor: pointer;
}

input[type=range]::-ms-track {
	width: 100%;
	height: 12.8px;
	cursor: pointer;
	animate: 0.2s;
	background: transparent;
	border-color: transparent;
	border-width: 39px 0;
	color: transparent;
}

input[type=range]::-ms-fill-lower {
	background: #687aa7;
	border: 0px solid #000101;
	border-radius: 50px;
	box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
}

input[type=range]::-ms-fill-upper {
	background: #687aa7;
	border: 0px solid #000101;
	border-radius: 50px;
	box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
}

input[type=range]::-ms-thumb {
	box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
	border: 0px solid #000000;
	height: 20px;
	width: 39px;
	border-radius: 7px;
	background: #2E364A;
	cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower { background: #687aa7; }

input[type=range]:focus::-ms-fill-upper { background: #687aa7; }

input[type="submit"]{
  font-family:Oswald;
  outline: 0; 
}

/*********** Featured Kittens ***********/

#featured {
	background: #2E364A;
	margin: 0 20px;
}

#grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

#featured h1 {
	margin-left: 10px;
	color: #EDEDED;
	margin-bottom: 20px;
}

#featured a {
	display: block;
	padding: 10px;
}

#featured a img {
	border: 4px solid #455784;
}

/**************** Media Queries ****************/

@media only screen and (min-width: 600px) {
	
	main { display: felx;}
	
	.column { flex: 1;}
	
	#grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
	
}

@media only screen and (min-width: 1000px) {
	#page {
		max-width: 1000px;
		margin:auto
	}
	
	header h1{font-size: 120px}
	
	
}