/*********** Bills Resets ***********/
h1, h2, h3, h4, p, ul, ol {
	margin: 0;
	padding: 0;
}

nav ul, nav ol {
	list-style-type: none;
}

a {
	text-decoration: none;
}

img {max-width: 100%;}

/********* End Bills Resets *********/

body {
	font-family: Arial;
	color: #666;
	overflow-x:hidden;
}

#container {
	overflow:hidden;
	position:relative;
}

header {
	padding: 20px;
	/*<!--padding-bottom: 20px;
	padding-right: 20px;
	padding-left: 200px;-->*/
}

#container header img {
	padding-right: 200px;
	padding-bottom: 20px;
}
header h1 {
	width: 150px;
	margin: 0;
	padding: 20px;
	border: 5px solid #333;
	background:rgba(231,133,74,0.70);
	text-align: center;
	text-transform: uppercase;
}

#top1 {
	width: 120%;
	height: 45vw;
	transform: rotate(-10deg);
	transform-origin: top right;
	background-color: #27397b;
	background-color: #f6821f;
	position: absolute;
	top: 0px;
	right: 0;
	z-index: -1;
}

#top2 {
	width: 120%;
	height: 45vw;
	transform: rotate(10deg);
	transform-origin: top left;
/*	background-color:rgba(246,130,31,0.5);*/
	/*background-color: #f6821f;*/
	background-color: #27397b;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}


nav {
	background: rgba(255, 255, 255, 0.7);
	margin-bottom: 20px;
}

nav ul {
	display: flex;
}

nav ul li {
	flex: 1;
}

nav ul li a {
	display: block;
	/*text-transform: uppercase;*/
	font-weight: bold;
	font-size: 25px;
	line-height: 40px;
	border-right: 20px solid rgba(255, 255, 255, 0.5);
	text-align: center;
	color: #252525;
}

nav ul li:last-of-type a {border: none;}

section {
	padding: 20px 20px 0px 20px;
	background: #fff;
}

p { 
	line-height: 1.5em;
	/*margin-bottom: 1em;*/
	font-size: 20px;
}

#top {
	margin-bottom: 9vw;
}

.containerprograms {
  border: 5px solid #0d4e95;
  border-radius: .5em;
  padding: 10px;
 /* display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;*/
}

.containerprograms > div {
  padding: 10px;
  background-color: #f8fafc;
  border: 2px solid #0d4e95;
}

.containerprograms > div h2 {
  color: #27397b;
}

.containergrants {
  border: 5px solid #0d4e95;
  border-radius: .5em;
  padding: 10px;
 /* display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;*/
  column-width: 300px;
  column-count: 4;
}

.containergrants > div {
  padding: 10px;
  background-color: #f8fafc;
  border: 2px solid #0d4e95;
}

.containergrants > div h2 {
  color: #27397b;
}

#top article p{
	width:100%;
}

#top h1 {
	text-align: center;
	color:#27397b;
}

/*#top h1 article p {
	text-align: left;
}*/
#top img {
	display: block;
	width: 100%;
/*	margin-bottom: 20px;*/
}

#middle {
	position: relative;
	background: #ebebeb;
	margin-bottom: 9vw;
	padding-bottom: 20px;
/*	text-align: left;*/
	/*display: flex;*/
	
}

.container {
 /* width: 500px;*/
  border: 5px solid #27397b;
  border-radius: .5em;
  padding: 10px;
  column-width: 120px;
  column-gap: 20px;
  column-rule: 4px dotted #000;
  column-width: 300px;
  column-height:150px;
  column-count: 3;
}

 #middle hr {
	width: 500px;
	text-align: left;
/*	line-height:20px;*/
	/*color:#27397b;
	display:block;
  	margin-top: 0.5em;
  	margin-bottom: 0.5em;
  	margin-left: auto;
  	margin-right: auto;
  	border-style: inset;
  	border-width: 1px;*/
}

#middle h1{
	text-align: left;
	color:#27397b;
}

#middle h2 {
	/*text-align: center;*/
	color:#111111;
}

#middle p {
/*	max-width: 600px;
	margin:auto;*/
	text-align: left;
}

#middle1 {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	transform-origin: top left;
	transform: rotate(-5deg);
	width: 120%;
	height: 10vw;
	background-color: #0c4c91; 
}

#middle2 {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: -1;
	transform-origin: bottom right;
	transform: rotate(-5deg);
	width: 120%;
	height: 10vw;
	background-color: #f6821f; 
}

#bottom {
	padding: 0;
	/*margin-bottom: 100px;*/
	position: relative;
	z-index: -2;
}

#bottom h1 {
	color:#27397b;
	text-align: right;
	padding-top: 40px;

}

/*#bottom img {
	width: 100%;
}*/

#bottom article div img {
	text-align: right;
}

#bottom p img{
	width: 200px;
	height: 200px;
	text-align: justify;
	
}

#bottom p{
	text-align:right;
}

#bottomtext{
	font-size: 20px;
	
}
#bottom1 {
	position: absolute;
	top: -10vw;
	left: 0;
	transform-origin: bottom left;
	transform: rotate(5deg);
	width: 120%;
	height: 10vw;
	background-color: #fff; 
}

#bottom2 {
	position: absolute;
	bottom: -90px;
	right: 0;
	transform-origin: top right;
	transform: rotate(5deg);
	width: 120%;
	height: 100px;
	background-color: #fff;
}


footer {
	background-color: #0c4c91;
}




/*footer div article {
	font-size: 20px;
}*/

footer div article nav li a {
	font-size: 20px;

}

footer article {
	padding: 20px;
}
footer img {
	width: 400px;
	
}

footer h2 {
	font-family: arial, sans-serif;
	font-weight: bold;
	color: #fff;
	padding-top:15px;
	padding-right:15px;
}

footer p {
	color: #fff;
	font-size: 20px;
}

a {
	color: #fff; 
}

label, input {
	display: block;
}

label {
	font-weight: bold;
	color:#fff;
	padding-top:20px;
	padding-bottom: 20px;
	font-size: 20px;
}

input[type="text"], input[type="email"], textarea {
	width: 420px;
	background: #fff;
	border: none;
	padding: 10px;
	margin-bottom: 20px;
	font-size: 20px;
	/*font-family: Arial, sans-serif;*/
}

input [type="submit"]{
	background: #fff;
	border: none;
	border-radius: 0;
	/*font-family: Arial, sans-serif;*/
	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
	padding: 7px 30px;
	font-size: 20px;
}

@media only screen and (min-width: 700px) {
	
	
	#top article {
		display: flex;
	}
	
	#top article p {
		flex: 1;
		padding: 0 15px;
	}
	
	footer div {
		display: flex;
	}
	
	.containerprograms {
	display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
	}
	
	.containergrants {
	display: grid;
  	grid-template-columns: 1fr 1fr 1fr;
 	grid-gap: 20px;
}



@media only screen and (min-width: 1000px) {
	
	#top article {
		margin: auto;
	}
	
	header {
	padding: 200px;
	padding-top: 20px;
	padding-bottom: 20px;
	}
}
