/********** 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, h2 { 
	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 ********/

#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;
}
/*********** error text ***********/
.error{

	color: rgb(62, 184, 255);

}


/*********** 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;
}


/***Flexslider****/
.flexslider{
	margin: 0 20px;
	border: none;
	border-radius: 0;
}

.slide1 { background: url(slides/kitten01.jpg) top left no-repeat; }
.slide2 { background: url(slides/kitten02.jpg) top left no-repeat; }
.slide3 { background: url(slides/kitten06.jpg) top left no-repeat; }
.slide4 { background: url(slides/kitten04.jpg) top left no-repeat; }
.slide5 { background: url(slides/kitten05.jpg) top left no-repeat; }

.slides li div {
	width: 100%;
	position: relative;
	padding-bottom: 50%;
	background-size: cover;
}

.slides li div h2 {
	position: absolute;
	top: 20px;
	left: 20px;
	color: #B40205;
}

.cta {
	display: flex;
	align-items: center;
	height: 25vw;
	width: 25vw;
	
	position: absolute;
	right: 20px;
	bottom: 100%;
	
	background: rgba(123,157,179,.3);
	border-radius: 50%;
	border: 5px solid #084D64;
	
	text-align: center;
	padding: 20px;
	text-decoration: none;
	font-family: 'Oswald', sans-serif;
	font-size: 4vw;
	color: #03425B;
}

.light { color: #EDEDED; }

.flex-control-paging li a.flex-active {
	background:#B40205;
}


/******Form Container Styling********/
#formslider {
	position: relative;
	margin: 0 20px;
	z-index: 20;
}

#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; }


/************* 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; 
}

.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;
}





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

@media only screen and (min-width: 600px) {
	main { display: flex; }

	.column { flex: 1; }

	#grid { grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; }	
	
	.cta {
		height: 20vw;
		width: 20vw;
		font-size: 3vw;
	}

}

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

	header h1 {font-size: 120px;}
	
	.cta {
		height: 150px;
		width: 150px;
		font-size: 24px;
	}
	
}