body {
	padding: 20px;
	font-family: 'Helvetica', 'Arial', sans-serif, serif;
	text-align: center;
}

h1, h2, h3, h4, h5, h6 {
	margin: 2em 0 0.5em;
	font-weight: bold;
}

h1 {
	font-size: 30px;
	color: #111c4e;
	margin: 0;
}

h2 {
	font-size: 26px;
	color: #111c4e;
}

h3 {
	font-size: 22px;
	color: #111c4e;
}

h4 {
	font-size: 20px;
	color: #111c4e;
}

h5 {
	font-size: 18px;
	color: #111c4e;
}

h6 {
	font-size: 16px;
	color: #111c4e;
}

p {
	margin: 0 0 10px;
	font-size: 16px;
}

a,
a:visited {
	color: #111c4e;
}

a:hover {
	color: #111c4e;
}

hr {
	margin: 2em auto;
}

.box {
	max-width: 80%;
	margin: 0 auto;
}

.archive {
	padding: 40px;
	border: 1px solid #ebebeb;
	border-radius: 10px;
	background: #efefef;
	margin: 4em auto 0;
	opacity: 0.5;
	max-width: 60%;
}

.archive h3 {
	margin-top: 0 !important;
}

.archive p {
    margin-bottom: 2em;
}

.archive p:last-child {
    margin-bottom: 0;
}

a.btn {
	margin: 20px auto;
    padding: 10px;
    background: #111c4e;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    clear: both;
    display: block;
    width: 50%;
}

a.btn-large {
	font-size: 22px;
}

a.btn:hover {
	background: #0081bc;
}

::selection {
	background: #111c4e; /* WebKit/Blink Browsers */	
	color: #ffffff;
}
::-moz-selection {
	background: #111c4e; /* Gecko Browsers */	
	color: #ffffff;
}


/* THUNDERSTONE STYLES */
table {
	padding: 20px 0;
}

#ThunderstoneSearchResults td > table {
    border-bottom: 1px solid #111c4e;
}

#ThunderstoneSearchResults td > table:last-child {
    border-bottom: 0;
}

.logo {
	width: 100%;
	max-width: 360px;
	padding: 0;
	margin: 0;
}

.fileIcon {
	padding-right: 5px;
}


/* Targets the results/pagination box */
#ThunderstoneSearchResults > table:first-child, 
#ThunderstoneSearchResults > table:nth-child(3) {
	border: 0;
    padding: 30px;
    background: #0081bc;
	color: white;
    margin-bottom: 0;
	margin-right: 17px;
}

#ThunderstoneSearchResults > table:first-child a, 
#ThunderstoneSearchResults > table:nth-child(3) a {
	color: white;
}
 
#ThunderstoneSearchResults > table:nth-child(2) {
	border: 0;
    padding: 30px;
    margin-bottom: 0;
	margin-right: 17px;
}

/* Targets the results text inside the results/pagination box */
#ThunderstoneSearchResults > table:first-child > tbody:first-child > tr:first-child > td:first-child,
#ThunderstoneSearchResults > table:last-child > tbody:first-child > tr:first-child > td:first-child {
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 10px;
}

#ThunderstoneSearchForm table {
	border: 0;
}

#ThunderstoneSearchForm td {
    padding: 10px 0 0;
}

#ThunderstoneSearchForm table > tbody > tr > td:nth-of-type(2) {
    padding-left: 10px;
	padding-top: 0px;
}

#ThunderstoneSearchForm table > tbody > tr > td:nth-of-type(2) > table {
	padding: 0;
}

#ThunderstoneSearchResults table:nth-child(2) td > font > font {
    margin-top: 10px;
    font-style: italic;
    clear: both;
    display: inline-block;
}


#ThunderstoneSearchResults table:nth-child(2) td > font > a:first-child {
    color: #111c4e;
    font-size: 18px;
    padding-bottom: 10px;
    display: inline-block;
}

#ThunderstoneSearchForm th > font > label:first-child {
    display: none;
}

#ThunderstoneSearchForm th > font,
#ThunderstoneSearchForm th > label > font {
    padding-right: 5px;
}

#ThunderstoneSearchForm #query {
    width: 98%;
    display:block;
    padding: 10px;
    margin-bottom: 10px;
}

#ThunderstoneSearchForm td >  font > input {
    max-width: 98%;
}

#ThunderstoneSearchForm input[type=submit]:last-child {
    background: #221f1f;
}

#ThunderstoneSearchForm input[type=submit] {
    padding: 10px;
    background: #111c4e;
    color: white;
    border: none;
    margin-right: 5px;

}

#ThunderstoneSearchForm input {
    padding: 10px;
	margin-bottom: 10px;
}




/* DIVISION-SPECIFIC STYLES */
.csd h1,
.csd a,
.csd a:visited,
.csd #ThunderstoneSearchResults table:nth-child(2) td > font > a:first-child {
	color: #1388ce;
}

.csd h2 {
	font-size: 30px;
	color: #1388ce;
}

.csd #ThunderstoneSearchForm input[type=submit] {
	background: #1388ce;
}

.csd #ThunderstoneSearchForm input[type=submit]:last-child {
    background: #221f1f;
}

.csd #ThunderstoneSearchResults > table:first-child, 
.csd #ThunderstoneSearchResults > table:nth-child(3) {
	background: #daecf7;
}


/* MEDIA QUERIES */
@media (max-width: 768px) { 

	body {
		padding: 10px;
	}
	
	h1 { 
		font-size: 28px;
	}
	
	h2 {
		font-size: 24px;
	}

	.box {
		padding: 20px;
		border-radius: 0px;
		border: none;
		max-width: 100%;
	}
	
	.archive {
		padding: 20px;
		border-radius: 0px;
		border: none;
		max-width: 100%;
	}

}