.wiki_overlay { position: absolute; z-index: 999999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.9); text-align: center; display: none; }
.wiki_overlay p { padding-top: 100px; letter-spacing: 10px; font-size: 1.4em; }
.wiki_dialog, #wiki_frame, .wiki_hidden { display: none; }

.login_form { width: 40%; margin: 0 auto; }
.login_form h1 { text-align: center; }
.login_form label { display: inline-block; width: 40%; text-align: right; padding-right: 1em; }
.login_form input { width: 30%; font-family: 'Open Sans', 'Arial', sans-serif; font-size: 1.2em; }

.wiki_button { background: #000026; color: white !important; padding: 0.25em 0.5em; color: white; text-transform: uppercase; font-size: 16px; border-radius: 3px; font-weight: bold; position: relative; }
.wiki_button:hover { background: #00009c; color: white; }
.wiki_button img { padding-right: 0.5em; }
.wiki_button input { position: absolute; top: -1px; left: -1px; margin: 0; width: 100%; font-size: 22px; opacity: 0; }

.header nav ul { list-style: none outside; position: absolute; top: 30px; right: 1em; }
.header nav ul li { display: inline; }
.header nav ul li a { padding: 0 0 0 1em; }

.header nav .pw_expiring_soon { position: absolute; top: 60px; right: 1em; padding: 0.25em 1em; background: red; color: white; }
.header nav .pw_expiring_soon a { color: white; }

#newpwd { width: 100%; text-align: center; }

aside { position: absolute; width: 200px; }
aside ul { list-style: none outside; margin-bottom: 1em; }

main { margin-left: 230px; /*min-height: 250px;*/ border-left: 1px #ddd solid; padding-left: 1em; display: block; }

.risk_profile aside { position: relative; float: left; clear: left; margin-left: 50px; }
.risk_profile main { margin-left: 0; float: left; }

.eNCR_profile aside { position: relative; float: left; clear: left; margin-left: 50px; }
.eNCR_profile main { margin-left: 0; float: left; }

.change_profile aside { position: relative; float: left; clear: left; margin-left: 50px; }
.change_profile main { margin-left: 0; float: left; }

#user_name { padding-right: 20px; }
#user_name a { float: right; margin-left: 1em; }

.user_profile { display: none; }
.user_profile p { width: 49.5%; float: left; }
.user_profile p.double { width: 100%; float: none; }
.user_profile p.spacer { clear: both; width: 100%; float: none; height: 1em; }
.user_profile label { display: block; font-weight: bold; }
.user_profile input[type='text'], .user_profile input[type='password'] { width: 95%; font-family: "Open Sans", "Arial", sans-serif; font-size: 1.2em; padding: 5px; border: 1px #aaa solid; }
.user_profile p.double span { display: inline-block; width: 24%; padding: 0 1% 1% 0; }
.user_profile #password_expiry { width: 30%; }

#risk_title { padding-right: 20px; }
#risk_title a { float: right; margin-left: 1em; }

#eNCR_title {text-transform: none; padding-right: 20px; }
#eNCR_title a { text-transform: uppercase; float: right; margin-left: 1em; }

#change_title { padding-right: 20px; }
#change_title a { float: right; margin-left: 1em; }

.risk_profile p { width: 49.5%; float: left; }
.risk_profile p.double { width: 100%; float: none; }
.risk_profile p.spacer { clear: both; width: 100%; float: none; height: 1em; }
.risk_profile label, .wiki_dialog label { display: block; font-weight: bold; }
.risk_profile input[type='text'], .risk_profile input[type='password'] { width: 95%; font-family: "Open Sans", "Arial", sans-serif; font-size: 1.2em; padding: 5px; border: 1px #aaa solid; }
.risk_profile textarea, .wiki_dialog textarea { width: 95%; height: 100px; font-family: 'Open Sans', 'Arial', sans-serif; font-size: 1.2em; padding: 5px; border: 1px #aaa solid; }
.risk_profile select { font-size: 1.2em; }
.risk_profile p.double span { display: inline-block; width: 24%; padding: 0 1% 1% 0; }
.risk_profile span.clearboth { display: block; width: 100%; padding-top: 1em; }

.risk_profile h2 { margin-top: 1em; }
.risk_profile h2, .risk_profile aside, .risk_profile main { display: none; }
.risk_profile #history p { width: 90%; float: none; }
.risk_profile #history main { width: 70%; }

.eNCR_profile p { width: 49.5%; float: left; }
.eNCR_profile p.double { width: 100%; float: none; }
.eNCR_profile p.spacer { clear: both; width: 100%; float: none; height: 1em; }
.eNCR_profile label, .wiki_dialog label { display: block; font-weight: bold; }
.eNCR_profile input[type='text'], .eNCR_profile select, .risk_profile input[type='password'] { width: 95%; font-family: "Open Sans", "Arial", sans-serif; font-size: 1.2em; padding: 5px; border: 1px #aaa solid; }
.eNCR_profile textarea, .wiki_dialog textarea { width: 95%; height: 100px; font-family: 'Open Sans', 'Arial', sans-serif; font-size: 1.2em; padding: 5px; border: 1px #aaa solid; }
.eNCR_profile select { font-size: 1.2em; }
.eNCR_profile p.double span { display: inline-block; width: 24%; padding: 0 1% 1% 0; }
.eNCR_profile span.clearboth { display: block; width: 100%; padding-top: 1em; }

.eNCR_profile h2 { margin-top: 1em; }
.eNCR_profile h2, .risk_profile aside, .risk_profile main { display: none; }
.eNCR_profile #history p { width: 90%; float: none; }
.eNCR_profile #history main { width: 70%; }

.change_profile p { width: 49.5%; float: left; }
.change_profile p.double { width: 100%; float: none; }
.change_profile p.spacer { clear: both; width: 100%; float: none; height: 1em; }
.change_profile label, .wiki_dialog label { display: block; font-weight: bold; }
.change_profile input[type='text'], .change_profile input[type='password'] { width: 95%; font-family: "Open Sans", "Arial", sans-serif; font-size: 1.2em; padding: 5px; border: 1px #aaa solid; }
.change_profile textarea, .wiki_dialog textarea { width: 95%; height: 100px; font-family: 'Open Sans', 'Arial', sans-serif; font-size: 1.2em; padding: 5px; border: 1px #aaa solid; }
.change_profile select { font-size: 1.2em; }
.change_profile p.double span { display: inline-block; width: 24%; padding: 0 1% 1% 0; }
.change_profile span.clearboth { display: block; width: 100%; padding-top: 1em; }

.change_profile h2 { margin-top: 1em; }
.change_profile h2, .change_profile aside, .change_profile main { display: none; }
.change_profile #history p { width: 90%; float: none; }
.change_profile #history main { width: 70%; }

.topmargin { margin-top: 1em; }

span.width_13 { display: inline-block; width: 30%; text-align: center; }

.wiki_highlight { background: #ff7777; }
span.wiki_highlight { font-weight: bold; }

.department, .iso { padding: 0 0.25em; color: white; font-weight: bold; }
.department_1 { background: #9c0000; }
.department_2 { background: #009c00; }
.department_3 { background: #00009c; }
.department_4 { background: #009c9c; }
.department_5 { background: #9c009c; }
.department { cursor: default; }

.iso_fmss { background: #F27F04; border: 1px #F27F04 solid; }
.iso_14001 { background: #ffffff; border: 1px #000000 solid; color: black; }
.iso_18001 { background: #009c00; border: 1px #009c00 solid; }
.iso_27001 { background: #0000ff; border: 1px #0000ff solid; }

#risks { width: 100%; margin-top: 4em;  }
#risks th { text-align: center; font-family: 'Open Sans Condensed', 'Arial', sans-serif; font-size: 0.9em; border-bottom: 1px #aaa solid; background: #eee; }
#risks td { text-align: center; font-family: 'Open Sans Condensed', 'Arial', sans-serif; font-size: 0.9em; padding: 0.25em; border-bottom: 1px #aaa solid; border-right: 1px #aaa solid; color: black; }
#risks tr td:first-child { border-left: 1px #aaa solid; }
#risks td.textleft { text-align: left; }
#risks tr.odd td { background: #ddd; }
#risks tr.even td { background: #eee; }

#risks tr th.vertical_text {white-space: nowrap; }
#risks tr th.vertical_text div { transform: translate( 0,0 ) rotate(-90deg); width: 30px; }
#risks tr th.vertical_text div span { display: block; line-height: 50px; text-indent: 0.5em; width: 100px; text-align: left; background: #eee; }
#risks tr th.sortable { cursor: ns-resize; }
#risks tr th.current_sort_column { color: #ff0000; }
#risks tr th.sort_dir_asc > span:after { content: '\25b2'; padding-left: 0.25em; font-size: 0.7em; }
#risks tr th.sort_dir_desc > span:after { content: '\25bc'; padding-left: 0.25em; font-size: 0.7em; }
#risks tr th.sort_dir_asc div span:after { content: '\25ba'; padding-left: 0.25em; font-size: 0.7em; }
#risks tr th.sort_dir_desc div span:after { content: '\25c4'; padding-left: 0.25em; font-size: 0.7em; }

#risks .main_content { text-align: left; width: 15%; }
#risks .nowrap { white-space: nowrap; }

#eNCRs { width: 100%; margin-top: 4em;  }
#eNCRs th { text-align: center; font-family: 'Open Sans Condensed', 'Arial', sans-serif; font-size: 0.9em; border-bottom: 1px #aaa solid;  }
#eNCRs td { text-align: center; font-family: 'Open Sans Condensed', 'Arial', sans-serif; font-size: 0.9em; padding: 0.25em; border-bottom: 1px #aaa solid; border-right: 1px #aaa solid; color: black; }
#eNCRs tr td:first-child { border-left: 1px #aaa solid; }
#eNCRs td.textleft { text-align: left; }
#eNCRs tr.odd td { background: #ddd; }

#eNCRs tr th.vertical_text {white-space: nowrap; }
#eNCRs tr th.vertical_text div { transform: translate( 0,0 ) rotate(-90deg); width: 30px; }
#eNCRs tr th.vertical_text div span { display: block; line-height: 50px; text-indent: 0.5em; }
#eNCRs tr th.sortable { cursor: ns-resize; }
#eNCRs tr th.current_sort_column { color: #ff0000; }
#eNCRs tr th.sort_dir_asc > span:after { content: '\25b2'; padding-left: 0.25em; font-size: 0.7em; }
#eNCRs tr th.sort_dir_desc > span:after { content: '\25bc'; padding-left: 0.25em; font-size: 0.7em; }
#eNCRs tr th.sort_dir_asc div span:after { content: '\25ba'; padding-left: 0.25em; font-size: 0.7em; }
#eNCRs tr th.sort_dir_desc div span:after { content: '\25c4'; padding-left: 0.25em; font-size: 0.7em; }

#eNCRs .main_content { text-align: left; /*width: 15%;*/ }
#eNCRs .nowrap { white-space: nowrap; }

#changes { width: 100%; margin-top: 4em;  }
#changes th { text-align: center; font-family: 'Open Sans Condensed', 'Arial', sans-serif; font-size: 0.9em; border-bottom: 1px #aaa solid; background: #eee; }
#changes td { text-align: center; font-family: 'Open Sans Condensed', 'Arial', sans-serif; font-size: 0.9em; padding: 0.25em; border-bottom: 1px #aaa solid; border-right: 1px #aaa solid; color: black; }
#changes tr td:first-child { border-left: 1px #aaa solid; }
#changes td.textleft { text-align: left; }
#changes tr.odd td { background: #ddd; }
#changes tr.even td { background: #eee; }

#changes tr th.vertical_text {white-space: nowrap; }
#changes tr th.vertical_text div { transform: translate( 0,0 ) rotate(-90deg); width: 30px; }
#changes tr th.vertical_text div span { display: block; line-height: 50px; text-indent: 0.5em; width: 100px; text-align: left; background: #eee; }
#changes tr th.sortable { cursor: ns-resize; }
#changes tr th.current_sort_column { color: #ff0000; }
#changes tr th.sort_dir_asc > span:after { content: '\25b2'; padding-left: 0.25em; font-size: 0.7em; }
#changes tr th.sort_dir_desc > span:after { content: '\25bc'; padding-left: 0.25em; font-size: 0.7em; }
#changes tr th.sort_dir_asc div span:after { content: '\25ba'; padding-left: 0.25em; font-size: 0.7em; }
#changes tr th.sort_dir_desc div span:after { content: '\25c4'; padding-left: 0.25em; font-size: 0.7em; }

#changes .main_content { text-align: left; width: 15%; }
#changes .nowrap { white-space: nowrap; }

#attachments p { margin: 1em 0 0 50px; float: none; }
#attachment_list { list-style: none outside; margin: 0 50px 1em 50px; }
#attachment_list li { padding: 0.5em; border-bottom: 1px #ccc solid; }

#attachment_list span { display: inline-block; }
#attachment_list span.attachment_name { width: 25%; max-width: 400px; }
#attachment_list span.attachment_size, #attachment_list span.attachment_datetime { width: 15%; max-width: 200px; }

#filter_dialog aside { position: relative; float: left; clear: left; width: 250px; font-family: 'Open Sans', 'Arial', sans-serif; font-size: 0.9em; }
#filter_dialog main { margin-left: 0; float: left; width: 600px; }
#filter_dialog input[type='text'] { width: 100px; font-family: 'Open Sans', 'Arial', sans-serif; font-size: 0.9em; border: 1px #444 solid; padding: 0.25em; }

.smalltext { font-size: 0.8em; color: #888; }

#number_of_columns { margin-bottom: 1em; }
#save_template_button { margin-left: 1em; }
#template_name, #template_columns { width: 100%; font-size: 1.7em; }
#template_builder label { font-size: 0.9em; font-weight: bold; padding-bottom: 0.5em; }

.edit_field_dialog label { width: 40%; display: inline-block; vertical-align: top; }
.edit_field_dialog label span { font-size: 0.8em; color: #bbb; font-style: italic; }
.edit_field_dialog input[type="text"], .edit_field_dialog textarea, .edit_field_dialog select { width: 50%; }
#edit_field_options, #edit_field_headings { height: 150px; }

#template_layout { list-style: none outside; }
#template_layout li { border: 1px #aaa solid; box-sizing: border-box; padding: 0.5em 0.5em 1em 0.5em; height: 150px; margin-bottom: 1em; background: #ddd; float: left; position: relative; font-size: 0.8em; overflow: hidden; }
#template_layout li .handle { position: absolute; top: 0.25em; right: 0.25em; cursor: move; }
#template_layout li .handle img { opacity: 0.4; width: 16px; height: 16px; }
#template_layout li .handle:hover img { opacity: 1; }
#template_layout li .manage_buttons { position: absolute; bottom: 0.25em; right: 0.25em; padding: 0; margin: 0; }
#template_layout li .manage_buttons a { margin-left: 0.25em; }

.col_1 { width: 12.5%; }
.col_2 { width: 25%; }
.col_3 { width: 37.5%; }
.col_4 { width: 50%; }
.col_5 { width: 62.54%; }
.col_6 { width: 75%; }
.col_7 { width: 87.5%; }
.col_8 { width: 100%; }

.wiki_tabs { list-style: none outside; border-bottom: 1px #444 solid; }
.wiki_tabs > li { display: inline-block; margin-right: 5px; padding-bottom: 0.2em; background: #ddd; border: 1px #aaa solid; border-bottom: 0; border-top-left-radius: 5px; border-top-right-radius: 5px; }
.wiki_tabs > li > a { padding: 0.25em 0.5em 0; }
.wiki_tabs > li.current_tab { background: #fff; }
.wiki_tabs > li.current_tab > a { color: #C70A0A; }
.tab_content { padding: 2em 0 0 5em; }

.wiki_edit_client_dialog label, .wiki_edit_client_page_dialog label, .wiki_edit_company_info_dialog label, .wiki_edit_company_page_dialog label { width: 40%; display: inline-block; }
.wiki_edit_client_dialog input[type="text"], .wiki_edit_client_page_dialog input[type="text"], .wiki_edit_client_page_dialog select,
.wiki_edit_company_info_dialog input[type="text"], .wiki_edit_company_page_dialog input[type="text"], .wiki_edit_company_page_dialog select { width: 55%; }

#client_name { padding-top: 0; }
#client_pages li, #company_pages li { padding: 0.25em 0.5em; }
#client_pages .current_page, #company_pages .current_page { background: #1570cd; }
#client_pages .current_page a, #company_pages .current_page a { color: white; }

.page_content, .revision_page_content { list-style: none outside; }
.page_content li, .revision_page_content li { box-sizing: border-box; padding: 0.5em; margin-bottom: 1em; float: left; position: relative; font-size: 0.8em; padding-bottom: 1em; }
.page_content li p:last-child, .revision_page_content li p:last-child { padding-bottom: 2em; }
.page_content li p span, .revision_page_content li p span { display: block; }
.page_content li p span img, .revision_page_content li p span img { width: 16px; height: 16px; padding-right: 0.5em; vertical-align: middle; }
.page_content li .r_data, .revision_page_content li .r_data { padding-bottom: 2em; }
.page_content li .q_title a, .revision_page_content li .q_title a { color: #444; cursor: text; }
.page_content li .q_title a:hover, .revision_page_content li .q_title a:hover { color: #444; }

.page_content li.editable:hover { cursor: pointer; background: url(/wp-content/plugins/wiki/images/pencil.png) bottom right no-repeat white; }
.page_content li.editable .q_title a { color: #1570cd; cursor: pointer; }
.page_content li.editable .q_title a:hover { color: #c0322b; }
.page_content li.editable table tbody tr:hover td { background: #ddd; cursor: pointer; }

.page_content li table, .revision_page_content li table { width: 100%; }
.page_content li table th, .page_content li table td, .revision_page_content li table th, .revision_page_content li table td { border-right: 1px #aaa solid; border-bottom: 1px #444 solid; text-align: center; padding: 0.5em; }
.page_content li table tr th:last-child, .page_content li table tr td:last-child, .revision_page_content li table tr th:last-child, .revision_page_content li table tr td:last-child { border-right: none; }
.page_content li table tfoot, .revision_page_content li table tfoot { display: none; }

.edit_client_page_link, .edit_company_page_link { float: right; position: relative; top: 3px; display: none; }

.wiki_dialog input[type="text"] { width: 90%; text-align: center; }
.wiki_dialog input.hasDatepicker { width: 245px; }
.wiki_dialog.ui-widget-content { text-align: center; }
.wiki_dialog .dialog_checkboxes { display: inline-block; text-align: left; }

.search_results_table { width: 100%; border-collapse: collapse; }
.search_results_table td { border: 1px #aaa solid; padding: 0.75em; }

#car_par_details {display: none;}

.linked_risks { padding-bottom: 2em; }
.linked_risks li { margin-top: 0.5em; padding: 0.5em; border: 1px black solid; border-radius: 10px; list-style: none outside; position: relative; }
.linked_risks li.is_accepted { background: #ddffdd; }
.linked_risks li.not_accepted { background: #ffdddd; }
.linked_risks li.is_accepted:after { position: absolute; right: 1em; content: '\2713   Risk Accepted'; font-size: 0.8em; }
.linked_risks li.not_accepted:after { position: absolute; right: 1em; content: '\1F6AB   Risk Not Accepted Yet'; font-size: 0.8em; }

.linked_changes { list-style: none outside; }
.linked_encrs { list-style: none outside; }

.front, .back { width: 100%; background: url(/wp-content/themes/wiki/images/handmadepaper.png) top left repeat; }

#revision_selector { margin-bottom: 2em; }

#reviewed_by_display { list-style: none outside; }
#reviewed_by_display img { position: relative; top: 3px; padding-right: 1em; }

.calibration_table { width: 80%; margin: 2em auto 0; border-collapse: collapse; }
.calibration_table th, .calibration_table td { padding: 0.5em 0; border-top: 1px #ddd solid; }
.calibration_table input, .calibration_table select, .calibration_table textarea { width: 100%; }
.calibration_table textarea { height: 100px; font-family: Arial, sans-serif; }

.calibration_detail th { width: 19%; padding-right: 1%; vertical-align: top; }
.calibration_detail td { width: 30%; }

.calibration_detail.not_editable input, .calibration_detail.not_editable select, .calibration_detail.not_editable textarea { background: transparent; border-color: transparent; color: black !important; }
.calibration_detail.not_editable select { -webkit-appearance: none; -moz-appearance: none; text-indent: 1px; text-overflow: ''; }

.calibration_history { max-width: 100% !important; }
.calibration_history th { border-top: none; }
.calibration_history th.calibration_underline { border-bottom: 1px #aaa solid; }
.calibration_history td { text-align: center; }

.equipment_image img { max-height: 100px; max-width: 250px; }

@media print {
    .header nav, .search_container, h1 a, #attachments p, .footer { display: none; }
    h1 { padding-top: 0.5em; }
    .not_printable { display: none; }
    .content_container > p { display: none; }
    .dataTables_wrapper .fg-toolbar { display: none; }
    .calibration_detail { width: 100%; }
    .calibration_history th, .calibration_history td, .calibration_detail th, .calibration_detail td { font-size: 0.8em; }
}


