* {
box-sizing:border-box;
}

img,video {
height:auto;
max-width:100%;
vertical-align:top;
}

input, select {
max-width:100%;
}

.fixed {
font-family:"Courier New", Courier, monospace;
}

.center {
text-align:center;
}

.small {
font-size:83.3% !important;
line-height: 1.5em !important;
padding: 0.5em 0;
}

.x-small {
font-size:66.6% !important;
line-height: 1em !important;
padding: 0.5em 0;
}

.large {
font-size:133% !important;
line-height: 1.5em !important;
padding: 0.5em 0;
}

body {
margin:0 auto;
max-width:975px;
padding:0;
}

#container {
background:#fff;
clear:both;
padding:2em 2%;
text-align:left;
width:96%;
}

.break {
clear:both;
}

form,body,html,h1,h2,h3,h4,h5,h6,#nav ul {
margin:0;
padding:0;
}

.exp_heading {
cursor:pointer;
}

.exp_content {
border: 1px solid #ddd;
background-color: #eee;
padding: 0.5em;
}

.padded_content {
border-radius: 5px;
background-color: #eee;
padding: 0.5em;
}


table.entitytable {
width:100%;
text-align: center;
background-color: #ffffff;
}

table.entitytable tr:nth-child(even) {
background-color: #f5f5f5;
}

table.entitytable tr:hover {
background-color: #efefef;
}

table, td, tr, th {
border-collapse: collapse;
}

td, tr, th {
padding:0.5em;
}

th {
text-align: center;
font-weight: normal;
}

.gray {
color: #333;
}

.red {
color: #a22;
}

.green {
color: #2a2;
}

.button-gray {
	background-color: #333 !important;
    color: #fff !important;
	background-image: none !important;
	}
	
.button-red {
	background-color: #a22 !important;
    color: #fff !important;
	background-image: none !important;
	}
	
.button-green {
	background-color: #2a2 !important;
    color: #fff !important;
	background-image: none !important;
	}
	
.inline {
	display: inline !important;
	}
	
#top-link {
	margin: 0;
 	display: none;
	position: fixed;
	bottom: 10px;
 	right: 10px;
	padding: 1em;
	background: #FFFFFF;
	border-radius: 3px;
	border: 1px solid #d0d0d0;
	box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.2);
 	-webkit-box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.2);
 	-moz-box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.2);
	z-index: 9999;
}

@media (min-width: 768px){
#main-menu > li,#footer-menu > li {
display:table-cell;
float:none;
text-align:center;
width:1%;
}

.mobile-only {
display:none;
}
}

@media (max-width: 767px){
body {
font-size: 14px;
}

.desktop-only {
display:none;
}

#container {
border:none;
float:none;
width:100%;
}

table.entitytable, .entitytable tr, .entitytable td {
padding:0;
font-size: 95%;
}

table.entitytable {
border:none !important;
}

.entitytable thead {
display:none;
}

.entitytable tr {
float: left;
width: 100%;
margin-bottom: 2em;
}

table.entitytable tr:nth-child(even), table.entitytable tr:hover {
background-color: inherit;
}

.entitytable td {
float: left;
width: 100%;
padding:0.15em;
text-align: left;
}

.entitytable td .container {
width: 70%;
float: right;
}

.entitytable td::before {
content:attr(data-label);
width: 25%;
float:left;
padding:0.3em;
margin:-0.3em 0.3em -0.3em -0.3em;
}


}

@media (min-width: 1024px){
body {
border:4px solid #fff;
margin:15px auto;
}
}

@media (max-width: 340px) {
body {
font-size: 12px;
}
#container {
padding:2em 4%;
width:92%;
}
}