@charset "utf-8";
/* CSS Document */

body {
	font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-size:16px;
	margin: 0;
}

h1{
	font-size:40px;
}
h2{
	font-size:32px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

a {
	color:#005fa3;
}

a:hover {
	text-decoration: underline;
}

.button-secondary {
	border:#005fa3 solid 1px;
	border-radius: 5px;
	color:#005fa3;
	padding: 8px 12px;
	text-decoration: none;
	margin-bottom: 10px;
}

header {
	padding:5px 0px 10px 50px;
	/*border-bottom:#CCC solid 1px;*/
	background-color: #0867d8;
	color: #FFF;
	margin: auto;
}

header img {
    float:left;
    height: 100px;
    width: 100px;
    padding-right: 20px;
}

nav {
	width: 100%;
	float: left;
	padding: 0;
	margin: auto;
	background-color: #f8e71c;		
	/*border-bottom:#CCC 1px solid;*/
	}
nav ul {
	list-style: none;
	width: 96%;
	margin: 0 auto;
	padding: 0;
}
nav li {
	float:left;
}
nav a {
	display: block;
	padding: 10px;
	text-decoration:none;
	/*background-color:#09F;*/
	color:#222;
	}
/*nav li:first-child a {
	border-left: 1px solid #CCC;
}*/
nav a:hover {
	background-color: #09F;
}


#maincontent {
	margin:20px;
	padding: 20px 0px 20px 30px; 
	line-height:25px; 
}

#card {
	padding:20px;
	margin: 10px;
	float:right;
	border:#CCC solid 1px;
	box-shadow: 1px 1px #999;
	border-radius: 5px;
}

.school-pic {
    float:right;
    height:300px;
	padding: 10px;
    /*max-width: 25%;
    max-height: 25%;*/
}



#grid {
	clear: both;
	display: grid;
	/*grid-template-columns: repeat(3, 33%);*/
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	grid-gap: 10px;
	grid-template-rows: repeat (2, auto-fit);
  }

  #grid > div {
	padding: 10px;
  }

  .flex-container {
	display: flex;
	/*justify-content: space-evenly;*/
  }

#footer {
	clear:both;
	font-size:12px; 
	color:#999; 
	padding:0px 10px 10px 50px; 
	border-top:#CCC 1px solid;
	}

#footer img {
    height:40px;
}

@media screen and (min-width:1000px) {
	
}

@media screen and (max-width:960px) {
	
}

@media screen and (max-width:768px) {
	
}

@media screen and (max-width:550px) {
	h1 {font-size:32px;}
	h2 {font-size:24px;}
    h3 {font-size:20px;}
	#sidebar {display:none;}
}

@media screen and (max-width:360px) {
	h1 {font-size:32px;}
	h2 {font-size:24px;}
    h3 {font-size:20px;}
	#sidebar {display:none;}
}

@media screen and (max-width:320px) {
	h1 {font-size:32px;}
	h2 {font-size:24px;}
    h3 {font-size:20px;}
	#sidebar {display:none;}
}
