
/* List head */
.list-head {
    padding: 2em 0;
}

/* Data Table */

.datatable-container {
    max-width: 94%;
    overflow: scroll;
    margin: 1em 3%;
    font-size: 0.75em;
    line-height: 1.3em;
    text-align: center;
}

.datatable-container a {
    font-weight: bold;
}

.datatable-container table {
    display: inline-block;
    margin: 0 auto;
}

.datatable-sort {
    display: inline-block;
    padding-left: 0.5em;
    line-height: 1em;
    vertical-align: middle;
}

.datatable-sort button {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    color: white;
    padding: 0 0.4em;
    text-align: center;
    text-decoration: none;
    display: block;
    line-height: 1em;
}

td,
th {
    padding: 0.8em;
    max-width: 100%;
}

#table-header-construction {
    min-width: 10em;
}

th.long {
    min-width: 20em;
}

thead {
    background: #b71540;
    color: white;
}

tbody {
    height: 3em;
    overflow: scroll;
}

tbody tr:nth-child(odd) {
    background: rgba(0, 0, 0, 0.15);
}

tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.05);
}

#nodatamsg-primary {
    font-size: 1.5em;
    margin: 1em;
}

#nodatamsg-secondary {
    font-size: 1em;
    margin-bottom: 5em;
}

/* Pagination */
.pagination {
    text-align: center;
    margin: 1em auto;
}

.pagination a {
    color: black;
}

.pagination-action,
.pagination-action-disabled {
    display: inline-block;
    margin: 1em;
}

.pagination-action-disabled {
    visibility: hidden;
}

.pagination-action-button {
    font-size: 2em;
    width: 2em;
    height: 1.4em;
    padding: 0.13em 0.2em 0.2em 0.2em;
}

.pagination-right {
    /* Right icons didn't centre properly with even padding */
    padding: 0.13em 0.2em 0.2em 0.3em;
}

.pagination-action .pagination-action-button {
    border: 0.2rem solid black;
}

.pagination-action .pagination-action-button:hover {
    text-decoration: none;
    background: #b71540;
    border: 0.2rem solid #b71540;
    color: white;
}

.pagination-action-label {
    font-size: 0.7em;
    padding-top: 0.3em;
}

.pagination-current {
    font-size: 1em;
    display: inline-block;
    font-weight: 500;
}

.hidden {
    display: none;
}

/* Detail */
#construction h2 {
    font-size: 2.7em;
    padding-top: 1em;
}

#construction h3 {
    font-weight: bold;
    margin-top: 2.7em;
    margin-bottom: 0.5em;
    text-decoration: underline;
}

#construction h4 {
    font-weight: bold;
    margin-top: 0.5em;
}

.construction-form-item {
    display: inline-block;
    vertical-align: top;
    padding-right: 2em;
}

.construction-form-item-name {
    line-height: 1.7em;
}

.construction-form-item label {
    margin: 0;
    padding-right: 0.5em;
    font-weight: bold;
}

#construction-examples {
    margin-left: -0.6em;
}

.construction-examples-example-segment {
    margin-left: 0.6em;
    display: inline-block;
    cursor: default;
}

.construction-examples-example-segment:hover {
    color: #b71540;
}

.construction-examples-example-segment-text {
    float: left;
}

.construction-examples-example sub {
    font-size: 0.8em;
    opacity: 0.8;
    margin: 1.3em 0.4em 0 0.2em;
    float: right;
}

.construction-fillers-filler-frame {
    background: #CCC;
    color: black;
    padding: 0.15em 0.5em;
    display: block;
    margin: 1.3em 0 0.2em 0;
    font-weight: bold;
}

a.construction-fillers-filler-frame:hover {
    color: white;
    text-decoration: none;
    background: #b71540;
}

span.construction-fillers-filler-frame {
    background: #FFF;
}

.construction-fillers-filler-lemma {
    display: inline-block;
    margin: 0.4em 0.2em;
    padding: 0.2em 0.4em;
    border: 1px solid #707070;
}

.construction-fillers-filler-example {
    position: absolute;
    background: black;
    color: white;
    padding: 0.7em 1em 0.3em 1em;
    display: none;
    font-size: 0.85em;
    line-height: 1.1em;
}

.construction-fillers-filler-example label {
    font-style: italic;
    margin-right: 0.3em;
}

#construction a {
    font-weight: bold;
}

.construction-phraseological-item,
.construction-subconstruction-item {
    margin-top: 1em;
}

.construction-phraseological-item-examples,
.construction-subconstruction-item-examples {
    padding-left: 1em;
    font-size: 0.9em;
}

.construction-phraseological-item-examples label,
.construction-subconstruction-item-examples label {
    opacity: 0.5;
}

.construction-meaning-roles-role-name {
    margin-top: 0.5em;
    font-weight: bold;
    font-style: italic;
}

.construction-meaning-roles-role-description {
    padding-left: 1em;
    font-size: 0.9em;
}
