/* ************************************************** */
/* FormManager codebook */
.wt-codebook_template {
}
.wt-codebook_template > table {
    width: 100%;
    height: 100%;
    border: 0px solid #d9e5ff;
    border-collapse: collapse;
    border-top: 2px solid #0c184c;
    color: #4c4c4f;
    /*font-size: 0.9em;*/
    font-size: 9.2pt;
    line-height: 1.4;
    text-align: left;
}
.wt-codebook_template > table > thead tr {
    background: #c8defd;
    color: #0c184c;
}
.wt-codebook_template > table > thead th {
    border: 1px solid #d9e5ff;
    border-width: 0 0 1px 1px;
    font-weight: bold;
    padding: 6px 4px;
}
.wt-codebook_template > table > thead th:first-child {
    border-width: 0 0 1px 0;
    padding-left: 8px;
}
.wt-codebook_template > table > tbody tr {
}
.wt-codebook_template > table > tbody th
, .wt-codebook_template > table > tbody td {
    padding: 2px 4px;
}
.wt-codebook_template > table > tbody th {
}
.wt-codebook_template > table > tbody td {
    border: 1px solid #d9e5ff;
    border-width: 0 0 1px 1px;
    white-space: pre-wrap; /* CSS3*/
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
    word-break: break-all;
}
.wt-codebook_template > table > tbody td:first-child {
    border-width: 0 0 1px 0;
}

/* ************************************************** */
/* w-Teresa Popup */
.wt-button {
    border: none 0px;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 0.73rem;
    height: 24px;
    line-height: 24px;
    margin-right: 8px;
    opacity: 0.9;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}
.wt-button:hover {
    opacity: 1;
}
.wt-bg-blue5 {
    background-color: #0A30A3;
}
.wt-border-blue1 {
    border: 2px solid #0A30A3;
    color: #0A30A3;
}
.w2ui-popup .w2ui-popup-button {
    background-color: #cccccc;
    display: none;
}
.w2ui-popup .w2ui-popup-body {
    background-color: #fff;
}
.w2ui-popup .w2ui-popup-title.big_title {
    line-height: 48px;
    border-radius: 0;
    background-image: none;
    background: #e9e9e9; /* For browsers that do not support gradients */
    color: #333;
    height: 50px;
    border-bottom: none;
    font-size: 22px;
}
.w2ui-popup .w2ui-popup-buttons.big_buttons {
    background-color: white;
    background-image: none;
    border-top: none;
    height: 64px;
    padding: 0;
    z-index: 99999;
}
.w2ui-popup .w2ui-popup-buttons.big_buttons button {
    width: 112px;
    height: 32px;
    font-size: 14px;
}
.w2ui-popup .w2ui-box.big_box {
    top: 56px;
    bottom: 64px;
}

/* ************************************************** */
/* w-Teresa Print */
.wt-print_template2-header {
    /*height: 85px;*/
    /*background: #f2f2f2;*/
    /*border: 1px solid #f5f5f5;*/
    border-radius: 6px;
    box-sizing: border-box;
    padding: 6px 0 4px 0;
}
.wt-print_template2-header_sub01 {
    /*height: 30px;*/
    line-height: 1.2;
    border-top: 2px solid #0c184c;
    border-bottom: 1px solid #cccccc;
    color: #0c184c;
    /*font-size: 1.2em;*/
    font-size: 14pt;
    font-weight: bold;
    padding: 4px 8px;
}
.wt-print_template2-header_sub02 {
    /*height: 40px;*/
    border-bottom: 1px solid #cccccc;
    padding: 2px 0;
}
.wt-print_template2-header_sub02 > table {
    color: #4c4c4c;
    /*font-size: 1em;*/
    font-size: 11pt;
    text-align: left;
}
.wt-print_template2-header_sub02 > table tr {
}
.wt-print_template2-header_sub02 > table th
, .wt-print_template2-header_sub02 > table td {
    padding: 2px 8px 2px 2px;
    line-height: 1.4;
    /*vertical-align: initial;*/
}
.wt-print_template2-header_sub02 > table th {
    font-weight: bold;
    padding-left: 8px;
}

.wt-codebook-shell {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 18px;
}

.wt-codebook-body {
    width: 100%;
    height: calc(100% - 80px);
    background: #fff;
    padding: 8px 0;
}

.wt-codebook-preview {
    width: 100%;
    height: 100%;
    overflow: auto;
}

.wt-codebook-description {
    background: #c8e2ed;
}

.wt-codebook-answer-table {
    width: 100%;
    background: #e8f6ff;
    border: 1px solid #d9e5ff;
}

.wt-codebook-answer-id {
    color: grey;
    font-size: smaller;
}

.dark .codebook-w2popup .w2ui-popup-body,
.dark .codebook-w2popup .wt-codebook-body,
.dark .codebook-w2popup .wt-codebook-preview {
    background: var(--ireport-surface-secondary);
    color: var(--ireport-text-secondary);
}

.dark .codebook-w2popup .wt-codebook_template > table {
    border-top-color: var(--ireport-accent);
    color: var(--ireport-text-secondary);
}

.dark .codebook-w2popup #tblCodebook thead > tr {
    background: var(--ireport-accent-soft) !important;
}

.dark .codebook-w2popup #tblCodebook thead > tr > th {
    color: var(--ireport-text-primary);
}

.dark .codebook-w2popup .wt-codebook_template > table > thead th,
.dark .codebook-w2popup .wt-codebook_template > table > tbody td {
    border-color: var(--ireport-border);
}

.dark .codebook-w2popup .wt-codebook-description {
    background: var(--ireport-accent-soft);
    color: var(--ireport-text-secondary);
}

.dark .codebook-w2popup .wt-codebook-answer-table {
    background: var(--ireport-surface-tertiary);
    border: 1px solid var(--ireport-border);
}

.dark .codebook-w2popup #tblCodebook tbody tr td table {
    border-color: var(--ireport-border) !important;
    background: var(--ireport-surface-tertiary);
}

.dark .codebook-w2popup #tblCodebook tbody tr td table tbody tr:nth-child(odd),
.dark .codebook-w2popup #tblCodebook tbody tr td table tbody tr:nth-child(even) {
    background: var(--ireport-surface-tertiary);
}

.dark .codebook-w2popup #tblCodebook tbody tr td table tbody tr td {
    background: transparent;
    color: var(--ireport-text-secondary);
    border-color: var(--ireport-border);
}

.dark .codebook-w2popup .wt-codebook-answer-id {
    color: var(--ireport-text-muted);
}

.dark .codebook-w2popup .wt-print_template2-header_sub01 {
    border-top-color: var(--ireport-accent);
    border-bottom-color: var(--ireport-border);
    color: var(--ireport-text-primary);
}

.dark .codebook-w2popup .wt-print_template2-header_sub02,
.dark .codebook-w2popup .wt-print_template2-header_sub02 > table,
.dark .codebook-w2popup .wt-print_template2-header_sub02 > table th,
.dark .codebook-w2popup .wt-print_template2-header_sub02 > table td {
    border-bottom-color: var(--ireport-border);
    color: var(--ireport-text-secondary);
}

.dark .codebook-w2popup .wt-button.wt-border-blue1 {
    background: transparent;
    border-color: var(--ireport-accent);
    color: var(--ireport-text-secondary);
}

.dark .codebook-w2popup .w2ui-popup-buttons.big_buttons {
    background: var(--ireport-surface-secondary);
    color: var(--ireport-text-secondary);
}

.dark .codebook-w2popup .wt-button.wt-bg-blue5 {
    background-color: var(--ireport-accent);
    color: #fff;
}