header {
	background: #56f0b8
}
a#logo {
	padding: 6px 0px;
}
div#logoInfo {
	background: url(../../images/structure/logo-areas-w.png) no-repeat left center;
	padding-left: 50px;
	color: #FFF;
}
nav#primary div {
	overflow: hidden;
	max-width: 1140px;
	line-height: normal;
	padding: 0;
	margin: 0 auto;
}
nav#primary div a {
	padding: 6px 0px;
	display: block;
	color: #FFF;
	text-decoration: none;
}
nav#primary div a:hover {
	color: #26eda4;
}
main {
	width: 100%;
}
fieldset {
	border: 1px solid #ccc;
	padding-top: 12px;
	margin: 12px 0px;
}
legend {
	font-weight: bold;
	font-size: 18px;
}
div#detailCards {
	margin: 0px;
	display: flex;
	flex-flow: row wrap;
}
div#detailCards section.detailCard {
	margin: 0px 12px 12px 0px;
	display: flex;
	flex-flow: column nowrap;
}
section.detailCard {
	border: 1px solid #cdccc5;
	width: 250px;
}
section.detailCard h1 {
	font-size: 16px;
	text-align: center;
	color: #0673a1 !important;
}
section.detailCard dl {
	margin: 0;
	padding: 10px;
}
section.detailCard dl dt {
	font-weight: bold;
}
section.detailCard dl dd {
	margin: 0;
	padding: 0px 0px 8px 0px;
	overflow-wrap: break-word;
}
section.detailCard .nav-options {
	margin: auto 0px 0px 0px;
	list-style: none;
	padding: 0px;
}
section.detailCard ul.nav-options li {
	padding: 0;
	margin: 0;
}
section.detailCard ul.nav-options li:first-child {
	margin-bottom: 2px;
}
#content section.detailCard .nav-options a {
	display: block;
	background: #cdccc5;
	color: #000;
	text-decoration: none;
	font-weight: bold;
	padding: 4px;
	text-align: center;
	border: 1px solid #cdccc5;
}
#content section.detailCard .nav-options a:hover {
	background: #000;
	color: #cdccc5;
}
form dl dt {
	font-weight: bold;
	color: #4B7E93;
	margin-top: 10px;
	line-height: 22px;
}
form dl dd {
	line-height: 22px;
	padding: 0;
	margin: 4px 0px;
}
/*************************TABLES***************************/
table {
	width: 100%;
	border-collapse: collapse;
}
table, table th, table td {
	border: 1px solid #ccc;
	padding: 5px;
	vertical-align: top;
}
table tbody tr:nth-child(odd) {
	background: #f7f7f7;
}
table th {
	text-align: right;
}
table#cost th {
	font-weight: normal;
	width:85%;
}
table#cost td{
	width:15%
}
table#cost tr:last-child, table#cost th span {
	font-weight: bold;
}
table#cost {
	text-align: right;
}
table.hoz th, table.hoz td {
	text-align: center;
}
table.vert th {
	width: 20%;
	min-width: 100px;
}
table.vert td {
	width: 80%;
}
table.mixed thead th {
	text-align: center;
}
table.mixed col.first {
	width: 20%;
	min-width: 100px;
}
table.mixed col.second {
	width: 80%;
}
table.mixed td:nth-child(3n) {
	text-align: center;
}
/*************************END TABLES***************************/

DIV.row label[for="side_effects_no"], DIV.row label[for="notes_no"] {
	display: inline-block;
	cursor: pointer;
}
div.action-options {
	margin: 12px 0px;
	text-align: center;
}
#content div.action-options a, a.btn {
	display: inline-block;
	cursor: pointer;
	background-color: #295b70;
	color: #FFFFFF;
	padding: 5px;
	font-weight: bold;
	border: 1px solid #295b70;
	margin: 5px 5px 5px 0px;
	text-decoration: none;
}
#content div.action-options a:hover, a.btn:hover {
	background-color: #FFFFFF;
	color: #295b70;
}
#content div.action-options span {
	display: inline-block;
	background-color: #cdccc5;
	color: #000;
	padding: 5px;
	border: 1px solid #858788;
	margin-right: 5px;
	text-decoration: none;
}

#content div.editEc a {
	display: inline-block;
	cursor: pointer;
	background-color: #295b70;
	color: #FFFFFF;
	padding: 5px;
	font-weight: normal;
	border: 1px solid #295b70;
	margin: 12px 5px 5px 0px;
	text-decoration: none;
}
#content div.editEc a:hover {
	background-color: #FFFFFF;
	color: #295b70;
}
#content div.editEc a.adder{
	background-color: #960404;
	border-color:#960404;
}
#content div.editEc a.adder:hover {
	color: #960404;
	background-color: #FFFFFF;
}

p.notice {
	color: #4B7E93;
}
form#frmEConsult input[type=number], form#frmEConsult #blood_pressure {
	width: 50px;
}
div#options div.action-row {
	display: inline;
	margin: 0;
}
div#options form {
	display: inline-block;
}
div#cards {
	margin: 10px 0px;
	display: flex;
	flex-flow: row wrap;
}
div#cards a, div#cards div.locked {
	min-width: 160px;
	flex: 1;
	/*padding: 10px 10px 50px 10px;*/
	padding: 10px 10px 20px 10px;
	margin: 10px;
	position: relative;
	text-align: center;
	text-decoration: none;
	background-color: #FFF;
	color: black;
	-webkit-box-shadow: 5px 5px 15px 5px #cccccc;
	-moz-box-shadow: 5px 5px 15px 5px #cccccc;
	box-shadow: 5px 5px 15px 5px #cccccc;
}
div#cards div.locked section h1 {
	color: #cdccc5;
	border-bottom: 1px dotted #cdccc5;
}
div#cards div.locked section {
	color: #cdccc5;
}
div#cards section h1 {
	margin: 0 0 6px 0;
	padding: 0 0 5px 0;
	border-bottom: 1px solid #cdccc5;
	font-size: 16px;
}
div#cards span.actionReq {
	background: #960404;
}
div#cards span.actionNon {
	background: #56f0b8;
}
div#cards span {
	display: block;
	padding: 6px;
	color: #FFF;
	font-weight: bold;
}
div#cards section ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
div#cards section ul li {
	border-bottom: 1px dotted #cdccc5;
	padding: 4px 0px;
}
div#cards section ul li:last-of-type {
	border-bottom: none;
}
div#cards section ul li span {
	background: #56f0b8;
	color: #FFF;/*position:relative;
	display:inline;*/
}

@media only screen and (max-width : 1139.98px) {
div#divide {
	flex-basis: 100%;
	height: 10px;
}
}

@media only screen and (max-width : 609.98px) {
div#cards {
	display: block;
}
div#cards a {
	display: block;
}
div#divide {
	height: 0px;
}
}
