html {
	font-size: 16px;
}

body {
	padding-top: 56px;
	margin: 0;
	font-family: "open-sans", Helvetica, sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: normal;
	color: #101010;
	text-decoration: none;

	background-color: #fff;
}

a,
a:link,
a:active,
a:visited {
	color: #0a7690;
}

a[href='intro.htm'] {
	display: none;
}

.sidebar {
	display: none;
	background-color: #fff;
}

@media (min-width: 768px) {
	.sidebar {
		display: block;
		padding: 0 8px;
		border-right: 1px solid #e6e6e6;
	}
}

.navbar-header {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	float: none;
	padding: 0 0.9375rem;
	min-height: 56px;
}

.navbar-header .back-btn {
	position: absolute;
	right: 0.8375rem;
	top: 50%;
	transform: translateY(-50%);
	justify-self: flex-start;
	margin-right: auto;
	background: #fff;
	border-radius: 0.1875rem;
	color: #267494;
	padding: 0.5rem 1rem;
	z-index: 1;
}

.dmx-logo,
.dmx .dmp-logo {
	display: none;
}

.dmp .dmp-logo {
	width: 5rem;
}

.dmx .dmx-logo {
	display: block;
	height: 1.3rem;
}

@media (min-width: 640px) {
	.dmp .dmp-logo {
		width: 9rem;
	}

	.dmx .dmx-logo {
		height: 2.25rem;
	}
}

@media (min-width: 1040px) {
	.dmx .dmx-logo {
		height: 2.5rem;
	}
}

@media (min-width: 768px) {
	.navbar-header {
		justify-content: center;
		float: none;
	}
	.navbar-header .back-btn {
		left: 0.8375rem;
		right: auto;
	}
}

.dmx .navbar,
.dmp .navbar {
	background: linear-gradient( 90deg, #042e50 0%, #1e6785 100% );
	border: none;
}

.nav-label {
	margin: 10px 0 5px;
	font-size: 16px;
	font-weight: bold;
}

.navbar-inverse {
	background: none;
	border: none;
}

.navbar-inverse .navbar-toggle {
	border-color: transparent;
}

/* Bootstrap hamburger style overrides */
.navbar-toggle {
	float: left;
	padding: 0;
}

.navbar-toggle .icon-bar {
	width: 24px;
	height: 4px;
}
.navbar-toggle .icon-bar + .icon-bar {
	margin-top: 3px;
}

.navbar-inverse .navbar-nav > li > a {
	color: #333;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
	color: #0a7690;
	font-weight: bold;
	background-color: #f0f0f0;
}

.navbar-fixed-top .navbar-collapse {
	height: 340px;
	max-height: calc(100vh - 56px);
}

.collapsing,
.collapse.in {
	background-color: #fff;
}
/* end Bootstrap styles */

.nav-sidebar {
	margin: 0;
}
.nav-sidebar > li > a {
	padding: 5px;
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
	color: #fff;

	background-color: #428bca;
}

ul.nav.navbar-nav li {
	margin: 0;
}

@media (min-width: 768px) {
	ul.nav.navbar-nav li {
		display: none;
	}
}

.error-message__wrapper {
  margin-top: 40px;
}
.error-message__text {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
}
.error-message__cta {
  margin-top: 25px;
  font-size: 12px;
}

.calc-header {
	border-bottom: 2px solid #EEEEEE;
	margin-bottom: 20px;
	padding-bottom: 8px;
	margin-top: 0px;
}

.calc-disclaimer {
  background: #f4f4f4;
  padding: 15px;
  display: flex;
  line-height: 18px;
  font-size: 12px;
}
.calc-disclaimer__text {
  flex: 1;
  display: block;
  overflow: hidden;
  max-height: 300px;
  transition: max-height .7s ease;
  color: #3d3f42;
}
.calc-disclaimer__text.collapsed {
  max-width: 60%;
  max-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calc-disclaimer__toggle {
  display: none;
  margin-left: 4px;
  text-decoration: underline;
}
.calc-disclaimer__toggle:link,
.calc-disclaimer__toggle:visited {
  color: #3d3f42;
}
.calc-disclaimer__text.collapsed + .calc-disclaimer__toggle { display: block }

.main {
	padding-right: 0;
	padding-left: 10px;
	padding-top: 20px;
}

@media (min-width: 640px) {
	.main {
		padding-left: 20px;
	}
}

/** OVERRIDES **/
dd {
	padding: 5px 0px 5px 15px;
}
.iphoneDropDown,
.dropdownmenu {
	color: #101010;

	border: 1px ridge #101010;
}
.medCalcFormuliBox {
	padding: 3px;

	background-color: #e4e4e4;
	border: 1px solid #666;
}
.medCalcIndexIP {
	padding: 5px 0 5px 35px;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: bold;
	color: #2259bc;
	text-decoration: none;
	cursor: pointer;

	background-color: #fff;
	border: 0;
}
.medCalcIndexIP:hover {
	text-decoration: underline;
}

.medCalcIndexIPFirst {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: bold;
	color: #101010;
	text-decoration: none;

	background-color: #fff;
	border-top: 1px solid #ccc;
	border-right: 0;
	border-bottom: 1px solid #ccc;
	border-left: 0;
}


.medCalcIndexIPTitle {
	padding: 0;

	font-size: 24px;
	font-weight: bold;
	color: #333;
}

.medCalcIndexIPTitle a {
	color: #333;
	text-decoration: none;
}

.medCalcIndexIPTitle img {
	height: 20px;
	margin-bottom: 3px;
	margin-left: 5px;
}
.medCalcIndexIPTop {
	color: #333;
}
.medCalcFontAlphaIndex {
	color: #0a7690;
}
.medCalcFontFormuli {
	color: #333;
}
.medCalcFontIndex a {
	padding: 0 15px;
}
.medCalcFontIndexBold {
	padding: 12px 0 0;

	font-size: 24px;
	color: #3d3f42;
}

.medCalcFontZero,
.medCalcFontZeroItalic,
.medCalcSpanResult,
.medCalcFontCCTab,
.medCalcFontOne,
.medCalcFontOneBold,
.medCalcFontRef,
.medCalcFontRR,
.medCalcFontSelect,
.medCalcFontTextArea,
.medCalcFontTwo {
	color: #101010;
}
.medCalcFontCCTabBold {
	font-size: 16px;
	color: #a00;
}
.medCalcFontIO,
.medCalcFontIO2,
.medCalcFontIOBold {
	color: #a00;
}
.medCalcFontTitleBox {
	padding: 12px 0 0;

	font-size: 24px;
	font-weight: bold;
	color: #333;
}
.medCalcIndexLetter {
	background-color: #fff;
}
.medCalcResultBox {
	background-color: #e4e4e4;
}
.medCalcSearchRow {
	color: #101010;

	border-bottom: 1px solid #e0e0e0;
}

.medCalcSearchRow form > img {
	display: none;
}
.medCalcTitleBoxBackButton {
	background-color: #fff;
}

li.dm-nav-links {
	padding: 0 5px;
	margin: 0;

	font-weight: bold;
}
li.dm-nav-links a:link {
	color: #101010;
}

li.dm-nav-links a:hover,
li.dm-nav-links a:active,
li.dm-nav-links a:focus {
	color: #0a7690;

	background-color: #f0f0f0;
}

sup {
	font-size: 70%;
	line-height: 18px;
}

.medCalcIndexIPTitle,
.medCalcTitleBoxBackButton,
.medCalcIndexIPTop,
.medCalcTitleBox {
	padding-top: 12px;

	background-color: #fff;
}

input[type=radio],
input[type=checkbox] {
	margin: 10px;
}

#calc_main,
#calc_refs,
#calc_notes {
	padding: 20px;
}

#calc_main table tr td {
	padding: 10px;
}

table[summary='RRTable'] td {
	padding: 10px;
}

input[name='searchtxt'] {
	width: 230px;
	height: 27px;
	padding: 5px;
	margin: 10px;

	font-size: 14px;
	line-height: normal;
	color: #666;

	border: 1px solid #b7b7b7;
	border-radius: 3px;
}

.medCalcFontAlphaIndex a {
	margin: 0 2px;

	font-size: 13px;
	color: #005bc6;
}

#loading {
	position: fixed;
	top: 48%;
	left: 50%;
	z-index: 999;

	display: none;
	width: 260px;
	height: 50px;
	padding-top: 5px;
	margin-left: -130px;

	color: #fff;
	text-align: center;

	background-color: #34495e;
	background-image: url('../img/loading.gif');
	background-position: 50% 70%;
	background-repeat: no-repeat;
	border-radius: 5px;
	box-shadow: 0 0 5px black;
}

#dropdown table {
	width: 100%;

	background-color: white;
}

#dropdown td {
	padding: 2px 5px;

	background-color: transparent !important;
}

#calc input[type=button] {
	margin: 2px;

	border: none;
	border-radius: 4px;
}

#calc table {
	background-color: #eaf7fa;
}

#calc table tr td {
	padding: 20px;

	background-color: transparent;
}

#calc_equation td {
	padding: 10px;

	background-color: #e4e4e4;
}
