html
{
  overflow: auto;
  overflow-x: hidden;
}

html, body
{
  position: absolute;
  height: 100%;
  max-height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body
{
  color:black;
  font-family:Arial,Helvetica,sans-serif;
  font-size:66.6%;
  font-style:normal;
  font-weight:400;
}

a
{
  color: #1c649a;
  text-decoration: underline;
}

a:focus
{
  color: red !important;
  text-decoration: underline !important;
}

a:hover
{
  color: #1c649a;
  text-decoration: none;
}

iframe
{
  position: absolute;
  height: 100%;
  width: 100%;
  border: none;
}

#document_container
{
  position: absolute;
  top: 92px; /* Change with Height of #header and top of #language_selector (header height / iframe offset) */
  top: 112px;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

#document_container_overlay
{
  position: absolute;
  top: 92px; /* Change with Height of #header and top of #language_selector (header height / iframe offset) */
  top: 112px;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  z-index: 1000;
  background: transparent url("/images/common/spinner_large.gif") no-repeat center center;
  background-color: #eee;
}

#header
{
  position: absolute;
  top: 0px;
  height: 92px; /* Change with top of #document_container and top of #language_selector (header height / iframe offset) */
  height: 112px;
  width: 100%;
}

#wrapper_left, #wrapper_right
{
  position:relative;
  width:100%;
  height: 100%;
}

#wrapper_right
{
  background: transparent;/* url("/images/frontend/header_layout/background_header_right.png") repeat-y top right;*/
}

#wrapper_left
{
  background: transparent url("/images/frontend/header_layout/background_header_left.png") no-repeat top left;
}

#logo
{
  /*
  width: 200px;
  float: left;
  padding:8px 27px;
  */
  position: relative;
  left: 29px;
  top: 20px;
}

#logo img
{
  float: left;
  position: relative;
  width: 92px;
}

#logo ul
{
  float: left;
  position: relative;
  list-style-type: none;
  left:7px;
  top:2px;
  width: 155px;
}

#content
{
  position: absolute;
  /*padding:8px 0;*/
  left: 240px;
  left: 145px;
  top: 15px;
  height: 68px;
  padding-right: 10px;
  overflow:auto;
  margin-right: 0px;
}

#top_menu_bar
{
  background-color:#DDDDDD;
  background-image:url(/images/frontend/header_layout/background_language_selector.gif);
  height:30px;
  left:14px;
  right:14px;
  left: 0;
  right: 0;
  overflow:hidden;
  position:absolute;
  top:84px; /* Change with height of #header and top of #document_container (header height / iframe offset) */
  z-index:1000; 
}

#top_menu_bar ul
{
  display:block;
  overflow:hidden;
  padding-right:0;
  padding-top:8px;
  position:relative;
  right:6px;
  top:0;
}

#top_menu_bar ul li
{
  border-right:1px solid black;
  display:block;
  float:left;
  left:1px;
  padding-left:8px;
  padding-right:7px;
  position:relative;
}

#top_menu_bar ul li a
{
  font-size: 110%;
  color: #000;
  font-weight: bolder;
  text-decoration: none;
}

#top_menu_bar ul li a:hover
{
  text-decoration: underline;
}

#language_selector, #version_links
{
}

#version_links ul
{
  float:left;
}

#language_selector ul
{
  float:right;
}

#version_links ul li.pdf a
{
  background: transparent url(/images/doc_icons/pdf.png) no-repeat 1px -1px;
  padding-left: 21px;
}

#version_links ul li.doc a, #version_links ul li.docx a
{
  background: transparent url(/images/doc_icons/doc.png) no-repeat 1px -1px;
  padding-left: 21px;
}

#version_links ul li.chlexml a
{
  background: transparent url(/images/doc_icons/chlexml.png) no-repeat 1px -1px;
  padding-left: 21px;
}

#version_links ul li.change_documents a
{
  background: transparent url(/images/icons_custom/page_white_stack_time.png) no-repeat 1px -1px;
  padding-left: 21px;
}

#version_links ul li.web_compare a
{
  background: transparent url(/images/icons_custom/page_diff.png) no-repeat 1px -1px;
  padding-left: 21px;
}

#version_links ul li.texts_of_law a
{
  background: transparent url(/images/icons/page_white_stack.png) no-repeat 1px -1px;
  padding-left: 21px;
}

#version_links ul li.open a
{
  background: transparent url(/images/icons/page_go.png) no-repeat 1px -1px;
  padding-left: 21px;
}

#version_links ul li.back a
{
  background: transparent url(/images/icons/cancel.png) no-repeat 1px -1px;
  padding-left: 21px;
}

#version_links ul li.warning a
{
  background: transparent url(/images/icons/exclamation.png) no-repeat 1px -1px;
  padding-left: 21px;
}

#version_links ul li.dropdown
{
  border-right: 0;
}

#version_links ul li.dropdown select
{
  width: 450px;
  border: 1px solid #333333;
  margin: 0;
  padding: 0;
  position: relative;
  top: -2px;
  height: 18px;
}

#version_links ul li.dropdown select option
{
}

/*
#LanguageSelection ul li em
{
  font-style: normal;
}
*/

#content h1
{
  font-size: 120%;
  font-weight: 900;
}

span.abbreviation, span.collection_name
{
  color: #666;
}

p.out_of_force
{
  font-weight: 900;
}

select.version_selector
{
  border: 1px solid #333333;
  padding: 0;
  margin: 0;
  height: 18px;
}

option.not_selected
{
  color: #999;
}

#loading_document_spinner
{
  background: transparent url(/images/common/spinner_kn.gif) no-repeat 1px 1px;
  line-height: 18px;
  padding-left: 21px;
}

#pdf_container
{
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

.missing_pdf_reader
{
  margin: 5px;
  font-weight: 900;
}

.function_link
{
  cursor: pointer;
}

.function_link.more, .function_link.less
{
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: -1px 2px;
  padding-left: 9px;
  margin-left: 5px;
  font-size: 75%;
  line-height: 100%;
}

.function_link.more { background-image: url(/images/icons_mint/arrow_right_grey.png); }
.function_link.more:hover { background-image: url(/images/icons_mint/arrow_right_lighter_grey.png); }
.function_link.more:active { background-image: url(/images/icons_mint/arrow_right_light_grey.png); }
.function_link.less { background-image: url(/images/icons_mint/arrow_left_grey.png); }
.function_link.less:hover { background-image: url(/images/icons_mint/arrow_left_lighter_grey.png); }
.function_link.less:active { background-image: url(/images/icons_mint/arrow_left_light_grey.png); }

body.change_documents_body #header
{
  background-color: #f2f7fa !important;
}

#version_links ul li.return_to_root a
{
  background: transparent url(/images/icons/arrow_undo.png) no-repeat 1px -1px;
  padding-left: 21px;
}

#version_links .return_to_root { display:none; }

