/* ----------------------- THE DEFAULTS ----------------------- */

html{
	height: 100%;
	margin: 0 auto;
	padding: 0;
	font-size: 100%;
}
body { 
	margin: 0px;
	padding: 0px;
	height: 100%;
	min-width: 320px;
}
body,p,td,li,th {
	font-family: arial,verdana,helvetica,sans-serif;
	font-size: 16px; font-size: 1rem;
	color: #000000;
}
/*p {
	margin: 8px 0;
	margin: 0.5rem 0;
}
.fa{
	color: #D92026;
}*/

th {
	text-align: left;
}

/*h1, h2, h3, h4, h5, h6 {
	margin-top: 12px;
	margin-bottom: 2px;
	font-weight: bold;
}
h1 {
	font-size: 24px;
	font-size: 1.5rem;
}
h2 {
	font-size: 21px;
	font-size: 1.313rem;
}
h3 {
	font-size: 18px;
	font-size: 1.125rem;
}
h4 {
	font-size: 17px;
	font-size: 1.063rem;
}
h5 {
	font-size: 16px;
	font-size: 1rem;
}
h6 {
	font-size: 16px;
	font-size: 1rem;
	font-weight: normal;
}*/

/* ----------------------- LINKS ----------------------- */
/*a {
	color: #005080;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
.menutext {
	font-family: verdana,arial,helvetica,georgia,sans-serif;
	font-size: 16px; font-size: 1 rem;
	color: #175E7D;
}*/

/* ----------------------- DOCUMENT ----------------------- */

map[name=processmap] + img{
	display: block;
	margin: 0px auto;
}
#div_content_document img{
	max-width: 100%;
	margin: 0px;
	border: 0px;
}
#div_content_document table{
	background-color: #FFFFFF;
}
#doc-label {
	background-color: #F8F8F8;
	border: 1px #DCDCDC solid;
	padding: 5px 8px;
	margin-bottom: 10px;
}
/*.header-title {
	font-size: 1.4em;
	font-weight: bold;
}*/

#div_more_info th {
	text-align: left;
	vertical-align:top;
}

.doclist {
	padding: 0;
	width: 100%;
	border: none;
	border-top: 1px solid #EAEAEA;
	border-bottom: 1px solid #EAEAEA;
}

.alternating-list1 {
	background-color: #ffffff;
}
.alternating-list2 {
	background-color: #eaeaea;
}

.local {
	background-color: #FFFFFF;
}
.global {
	background-color: #FFFFFF;
}
/* ----------------------- CHAPTER MENU ----------------------- */

#chapterTrigger{
	position:relative;
}

#chapterMenu{
	position: fixed;
	left: calc(50% - 490px);
	/*overflow-y: auto;
	top: calc(110px - 1px);
	max-height: calc(100% - 110px);*/
}
#chapterMenu.minimized_topframe{
	top: 0px;
	top: calc(70px);
	max-height: calc(100% - 70px);
}

#chapterMenu.minimized_topframe>table{
	margin-top: 70px;
	margin-top: calc(0px);
}
@media only screen and (max-width: 980px) {
	#chapterMenu {
		left: 5px;
	}
}
.chapterMenu {
	background-color: #F8F8F8;
	border-bottom: 1px solid #666;
}
.chapterMenu:hover {
	background-color: #fff;
}
.subChapterMenu {
	padding-left: 5px;
	background-color: #efefef;
	border-bottom: 1px solid #666;
}
.subChapterMenu:hover {
	background-color: #fff;
}

/* Fix for links to chapters in documents, so that the top of the chapter doesn't end up under the header*/
.anchor:before {
  content: "";
  display: block;
  height: 70px; /* fixed header height*/
  margin: -70px 0 0 0; /* negative fixed header height */
}
/* To make urls of the type <url>#id scroll below the fixed header */
#div_content_document a[name*=hapter]{
	display: block; position: relative; top: -80px; visibility: hidden;
}

/* ----------------------- Document links ----------------------- */

.warning {
	padding: 3px;
	color: black;
	border: solid #dcdcdc 1px;
	background: #f3f399;
	font-family: arial, sans-serif;
	font-weight: normal;
	font-style: normal;
	vertical-align: middle;
	border-radius: 2px;
}

/* Avoid border for images in links. */
a.EQSLink img {
    border: 0px;
    text-decoration: none;
    vertical-align: top;
}

/* ----------------------- TABS ----------------------- */
#tab_container{
	font-size: 0px; /* ensures no whitespace */
	border-bottom: solid 1px #DCDCDC;
	margin-bottom: 10px;
	border-collapse:collapse;
	display: inline-block;
	*display: inline;
	width: 100%;
	max-width: calc(960px + 11px);
	width: calc(100% - 9px);
	margin-left: calc(0px - 11px);
}
#tab_container.fixed{
	position: fixed;
	top: 83px;
	background: white;
	z-index:90;
}
#tab_container.minimized_topframe.fixed{
	top: 44px;
}

#tab_container>a, #chapterTrigger{
	display: inline-block;
	*display: inline;
	line-height: 160%;
	border-top: solid 1px #DCDCDC;
	border-right: solid 1px #DCDCDC;
	border-bottom: solid 1px #DCDCDC;
	border-left: solid 1px #DCDCDC;
	padding: 0 5px;
	background: #EEEEEE;
	color: #000000;
	font-size: 16px; font-size: 1rem;
	position: static;
	width: auto;
	margin-bottom: -1px;
	cursor: pointer;
}
#tab_container>a + a, #tab_container>div + a{
	border-left: none;
}
#tab_container>a.selected, #tab_container>#chapterTrigger{
	background: #ffffff !important;
	cursor: default;
	border-bottom: 1px solid #ffffff;
}

@media only screen and (max-width: 980px) {
	#tab_container #topplenker {
		padding-right: 10px;
	}
}
@media only screen and (max-width: 600px) {
	#tab_container #topplenker {
		padding-right: 14px;
	}
}

/* clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
/* For IE 6/7 only */
.clearfix {
    *zoom: 1;
}




/********************************************
* Everthing below here is for the topheader *
********************************************/

#eqs_topframe{
	position: fixed;
	z-index: 95;
	padding: 0px;
	margin: 0px;
	width: 100%;
	background-color: #FFFFFF;
	border-bottom: solid 4px #D92026;
}
#eqs_topframe table{
	padding: 0px;
	margin: 0px;
	border-spacing: 0px;
}
div.eqs_mainframe{
	box-sizing: content-box;
	max-width: 960px; /* 980 when border and padding is added */
	margin: 0 auto;
	background: white;
	border-left: solid 1px #DDDDDD;
	border-right: solid 1px #DDDDDD;
	padding: 0px 10px;
	padding-bottom: 1px; /* prevents margin-collapsing */
	margin-bottom: -1px;
	margin-top: -1px;
	height: auto !important;
	min-height: 100%;
	position: relative;
}
.pad_top{
	padding-top: 83px;
}
#topframe{
	margin: 0px auto;
	max-width: 960px;
	position: relative;
}
#eqs_topframe td{
	padding: 0px;
}
#logo_div{
	display: block;
	margin: 5px 0px;
	width: 340px;
	height: 70px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
#eqs_topframe.minimized_topframe #logo_div{
	width: 194px;
	height: 40px;
	margin: 1px 0px 0px 0px;
}
@media only screen and (min-width: 980px) {
	/* Only do this on screens bigger than 980px to avoid the animation 
	*  playing on initial load of the page on mobile/small screens
	*/
	#logo_div{
		transition: height 0.2s, width 0.2s;
	}
}
.td60x60{
	min-width: 60px;
	max-width: 60px;
	text-align: center;
}
.td60x60 a{
    display: block;
    height: 34px;
    width: 100%;
    padding: 23px 0px;
}
 #eqs_topframe.minimized_topframe .td60x60 a {
    padding: 4px 0px 3px 0px;
}
#stacked_doc {
	position: absolute;
	top: 11.2px; top: 0.7rem;
	right: 14.4px; right: 0.9rem;
	width: 22.4px; width: 1.4rem;
	height: 22.4px; height: 1.4rem;
	font-size: 22.4px; font-size: 1.4rem;
	background: #ffffff;
}

/* Search-box */
#search_div{
	position:absolute;
	top: 21px;
	right: 10px;
	transition: top 0.2s, left 0.2s;
}
.minimized_topframe #search_div{
	top: 6px;
}
.search_wrapper {
	background: none repeat scroll 0 0 #ffffff;
	height: 25px;
	padding: 2px 0 0 3px;
	margin: 2px 1px;
	position: relative;
	border-radius: 3px;
	box-sizing: border-box;
	border: 1px solid #D92026;
}
.search_wrapper input {
	border: medium none;
	color: #333333;
	font: normal 16px Arial,sans-serif;
	/*margin: 4px 0;*/
	width: 170px;
	padding-right: 26px;
	outline-width: 0;
	height:21px;
	box-sizing: border-box;
}
.search_wrapper button {
	border: 0px;
	padding:0;
	margin:0;
	cursor: pointer;
	position: absolute;
	right: 6px;
	top: 2px;
	background: none;
	font-size: 16px; font-size: 1rem;
}

#eqs_document map{
	display: inline-block;
}

.ui-autocomplete.ui-widget.ui-menu li a{
	display: block;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	width: 160px;
}

@media only screen and (max-width: 980px) {
	.td60x60.help_center{
		display: none;
	}
}
.td60x60.toggle_search{
	display: none;
}
@media only screen and (max-width: 450px) {
	.td60x60.toggle_search{
		display: table-cell;
	}
	#search_div, .minimized_topframe #search_div{
		top: 44px;
		right: -60px;
		display: none;
	}
}
@media only screen and (min-width: 451px){
	#search_div{
		/* fix for when a user has hidden the search field on a small screen, and later changed to a big screen */
		display: block !important;
	}
}

/* Override jquery.ui.min.css */
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover,
.ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus{
	border: solid 1px #CCC;
	color: #333;
	background: #CCC;
}
.ui-state-hover a, .ui-state-hover a:hover, .ui-state-hover a:link, .ui-state-hover a:visited,
.ui-state-focus a, .ui-state-focus a:hover, .ui-state-focus a:link, .ui-state-focus a:visited{
	color: #333;
	font-weight: normal;
}
.ui-autocomplete.ui-widget.ui-menu{
	max-width: 170px;
	overflow: hidden;
}