/* Printing CSS 1. Dec, 2012	created by Pascal Pfiffner */
/* main settings */
@page { size: auto;
  margin: 25mm; }

html, body { width: auto; height: auto; background: white; font-size: small; }

thead { display: table-header-group; }

p { page-break-inside: avoid; }

.print_new_page { page-break-before: always; }

.no_print { display: none; }

/* reset and spell out links */
a:link, a:visited { color: black; text-decoration: none; }

a[href^="http://"]:after, a[href^="http://"]:visited:after, a[href^="https://"]:after, a[href^="https://"]:visited:after { content: " (" attr(href) ") "; font-size: 75%; color: blue; }

/* hide some elements */
button, #userbar, #header, #study_list_parent, #study_public_status, #study_favorite_button, .add_tag, .remove_tag, #admin_tags, #existing_admin_tags, .admin_hint, .edit_group_links, .buttons_right, .button, .details_below, #footer, #uvTab { display: none !important; }

/* print optimizations */
.main, .study_detail { position: static; overflow: auto; padding: 0; border: none; -webkit-box-shadow: none; -moz-box-shadow: none; -ms-box-shadow: none; -o-box-shadow: none; box-shadow: none; }

.study_detail_block { margin-top: 0.75em; padding: 0.75em 1em 0; border-top: none; }

.tag { background: transparent; -webkit-border-radius: 0; -moz-border-radius: 0; -ms-border-radius: 0; -o-border-radius: 0; border-radius: 0; }

.study_sharing .pmid_share { display: block; }

.study_sharing .pmid_share:after, .study_sharing .pmid_share:visited:after { content: attr(href); font-size: 100%; color: blue; }

.study_sharing .pmid_share img { display: none; }

.study_sharing .ctgov span { display: inline; font-size: 1em; }

.study_sharing .ctgov span:after { content: ': '; }

.study_sharing img.small_icon { display: none; }

#outcome_table { width: 100%; margin-bottom: 0; }

#outcome_table tbody tr td { border-bottom: 1pt solid #ccc; }

#outcome_table, .characteristics_table { table-layout: fixed; border: none; -webkit-border-radius: 0; -moz-border-radius: 0; -ms-border-radius: 0; -o-border-radius: 0; border-radius: 0; }

#outcome_table th, #outcome_table td, .characteristics_table th, .characteristics_table td { font-size: 75%; word-wrap: break-word; border: none; -webkit-border-radius: 0; -moz-border-radius: 0; -ms-border-radius: 0; -o-border-radius: 0; border-radius: 0; background: transparent; }

#outcome_table thead th, #outcome_table thead td, .characteristics_table thead th, .characteristics_table thead td { border: none; }

#outcome_table thead tr:first-child th, #outcome_table thead tr:first-child th:first-child, #outcome_table thead tr:first-child th:last-child, .characteristics_table thead tr:first-child th, .characteristics_table thead tr:first-child th:first-child, .characteristics_table thead tr:first-child th:last-child { border-top: 2px solid black; -webkit-border-radius: 0; -moz-border-radius: 0; -ms-border-radius: 0; -o-border-radius: 0; border-radius: 0; }

#outcome_table thead tr:last-child th, .characteristics_table thead tr:last-child th { border-bottom: 1px solid black; }

#outcome_table tbody tr, #outcome_table tbody tr:nth-child(even), #outcome_table tbody tr:nth-child(odd), .characteristics_table tbody tr, .characteristics_table tbody tr:nth-child(even), .characteristics_table tbody tr:nth-child(odd) { background-color: transparent; }

#outcome_table tbody tr:last-child th, #outcome_table tbody tr:last-child td, #outcome_table tbody tr:nth-child(even):last-child th, #outcome_table tbody tr:nth-child(even):last-child td, #outcome_table tbody tr:nth-child(odd):last-child th, #outcome_table tbody tr:nth-child(odd):last-child td, .characteristics_table tbody tr:last-child th, .characteristics_table tbody tr:last-child td, .characteristics_table tbody tr:nth-child(even):last-child th, .characteristics_table tbody tr:nth-child(even):last-child td, .characteristics_table tbody tr:nth-child(odd):last-child th, .characteristics_table tbody tr:nth-child(odd):last-child td { border: none; }

#outcome_table tfoot tr:last-child th, #outcome_table tfoot tr:last-child td, .characteristics_table tfoot tr:last-child th, .characteristics_table tfoot tr:last-child td { border: none; border-bottom: 2px solid black; }

#outcome_table tfoot tr:last-child th:first-child, #outcome_table tfoot tr:last-child th:last-child, #outcome_table tfoot tr:last-child td:first-child, #outcome_table tfoot tr:last-child td:last-child, .characteristics_table tfoot tr:last-child th:first-child, .characteristics_table tfoot tr:last-child th:last-child, .characteristics_table tfoot tr:last-child td:first-child, .characteristics_table tfoot tr:last-child td:last-child { -webkit-border-radius: 0; -moz-border-radius: 0; -ms-border-radius: 0; -o-border-radius: 0; border-radius: 0; }

#outcome_table .group_num_subjects, .characteristics_table .group_num_subjects { display: block; color: rgba(0, 0, 0, 0.7); background-color: transparent; }

#outcome_table .options_header, .characteristics_table .options_header { display: none; }
