.wiki_overlay { position: fixed; 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; font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif; }

.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; }

.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'], .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_construction { background: #9c0000; }
.department_maintenance { background: #009c00; }
.department_office { background: #00009c; }
.department { cursor: default; }

.iso_9001 { 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; }

#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: 500px; }
#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; list-style: none outside; }
.tab_content li { padding: 0; text-indent: 1em; border-bottom: 1px #ccc solid; }
.tab_content li:last-child { border-bottom: 0; }
.tab_content li .parent_account { float: right; font-weight: bold; font-size: 0.7em; padding-right: 1.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, #system_settings_pages li { padding: 0.25em 0.5em; }
#client_pages .current_page, #company_pages .current_page, #system_settings_pages .current_page { background: #1570cd; }
#client_pages .current_page a, #company_pages .current_page a, #system_settings_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; }
.page_content table { margin-bottom: 30px; }
.r_data li { float: none; padding: 0; margin: 0; }

.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; }

.system_settings { list-style: none outside; padding: 1em 0 1em 2em; }
.system_settings li { padding-bottom: 1em; }

.copyable:hover { background: #dddddd; cursor: pointer; }


.task_breakdown_container { text-align: center; }
.task_breakdown { width: 20%; border: 1px #444 solid; padding: 1%; margin: 1%; display: inline-block; }

.task_detail_container { text-align: center; }
.task_detail { width: 28%; border: 1px #444 solid; vertical-align: top; padding: 1%; margin: 1%; text-align: left; display: inline-block; border-radius: 10px; }
.task_detail h3 { text-align: center; margin: -1.4em 0 1em; }
.task_detail h3 span { background: url(/wp-content/themes/wiki/images/handmadepaper.png); padding: 0 1em; }

.task_detail label { display: inline-block; width: 35%; vertical-align: top; font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif; }
.task_detail input, .task_detail select, .task_detail textarea { width: 60%; font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif; font-size: 1.2em; }
.task_detail span { font-family: 'Open Sans Condensed', 'Arial Narrow', sans-serif; font-size: 1.2em; }
.task_detail textarea { height: 100px; }
.task_detail hr { height: 1px; border: 0; background: #444; margin-bottom: 1.5em; }
.wiki_margin_bottom { margin-bottom: 1em; }

.edit_locked input:disabled, .edit_locked select:disabled, .edit_locked textarea:disabled { background: transparent; border: transparent; color: #444; cursor: default; }
.edit_locked select:disabled { -webkit-appearance: none; -moz-appearance: none; text-indent: 1px; text-overflow: ''; }

#save_task, #save_task_and_new, #wiki_task_lock, #wiki_task_unlock { margin-right: 1em; }
.dataTables_wrapper .ui-widget-header { border: none; background: transparent; }
.dataTables_filter { padding-bottom: 1em; }
.dataTables_filter label { font-weight: bold; }
.dataTables_filter input { background: #ffffdd; border: 1px black solid; padding: 3px 5px; }
.ripple { text-align: center; padding-top: 4em; }

#noty_center_layout_container .noty_message p label { display: inline-block; width: 150px; }
#noty_center_layout_container .noty_message p input { text-align: center; }

.yadcf-filter-wrapper { display: block !important; }
.table_icon img { width: 24px; height: 24px; padding: 0 0.5em; }


@media screen and (max-width: 1000px) {

    .task_search_results {
        width: 100% !important;
    }

    .table_icon img { width: 16px; height: 16px; padding: 0 0.25em; }

}


@media print {
    body, .container { padding: 0; margin: 0; width: 100%; background: white; box-shadow: none; }

    .task_search_results {
        width: 100% !important;
    }

    .task_search_results th, .task_search_results td {
        font-size: 0.8em;
    }

    .task_search_results tr th:first-child, .task_search_results tr th:last-child {
        display: none;
    }

    .task_search_results tr td:first-child, .task_search_results tr td:last-child {
        display: none;
    }

    .header, .dataTables_filter, .DataTables_sort_icon, .task_search_results .yadcf-filter-wrapper {
        display: none !important;
    }

    .dataTables_wrapper {
        margin-top: 0;
    }

    .content_container h1 {
        font-size: 1.2em;
        padding: 0;
    }

    .content_container > div.textright, #search_container > h1 > span, .footer, .push {
        display: none;
    }
}
