body {
    padding: 0;
    margin: 0;
    background-color: #ECEFF1;
}



nav#table-view-nav {
    position: absolute;
    z-index: 10;
    top: 0; left: 0; right: 0;

    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    height: 50px;
    padding: 11px 15px;

    background-color: #FAFAFA;
    border-bottom: 1px solid #E9E9E9;
}

nav#table-view-nav div {
    white-space: nowrap;
}

nav#table-view-nav div:not(:first-child):not(:last-child) {
    text-align: center;
    padding: 0 15px;
}

nav#table-view-nav div:nth-child(2) {
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    line-height: 27px;
    color: rgba(38, 50, 56, 0.7);
}

nav#table-view-nav div:nth-child(2) input[type="checkbox"] {
    vertical-align: top;
    margin-top: 7px;
}

nav#table-view-nav div span.help-text {
    font-family: "Roboto Mono", monospace;
    font-size: 0.65rem;
    line-height: 27px;
    color: rgba(38, 50, 56, 0.6);
}

nav#table-view-nav ul {
    display: inline-block;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
}

nav#table-view-nav ul li {
    display: inline-block;
    box-sizing: border-box;
    height: 28px;
    padding: 0 10px;
    margin-left: -1px;

    background-color: #FEFEFE;
    border: 1px solid #DFDFDF;
    border-bottom-color: #D3D3D3;

    font-family: "Roboto Mono", monospace;
    font-size: 0.75rem;
    line-height: 25px;
    color: rgba(38, 50, 56, 0.6);

    cursor: pointer;
    -moz-user-select: none;
    user-select: none;

    transition: all 0.15s ease-in-out;
}

nav#table-view-nav ul li:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

nav#table-view-nav ul li:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

nav#table-view-nav ul li:hover {
    border-color: #CFCFCF;
    border-bottom-color: #C3C3C3;

    color: rgba(38, 50, 56, 0.65);
}

nav#table-view-nav ul li.active {
    position: relative;
    z-index: 15;

    background: linear-gradient(#FCFCFC, #FEFEFE);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
    border-color: #BFBFBF;
    border-top-color: #B3B3B3;
    border-bottom-color: #BCBCBC;

    color: rgba(38, 50, 56, 0.85);
}

nav#table-view-nav button {
    padding: 0 10px;
    margin-left: 5px;
    height: 28px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    font-size: 0.75rem;
}

nav#table-view-nav button#show-export {
    border: 1px solid #2196F3;
    border-bottom-color: #1E88E5;
    background-color: #42A5F5;

    font-weight: bold;
    color: #E3F2FD;
}

nav#table-view-nav button#sidebar-toggle {
    padding: 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

nav#table-view-nav button#sidebar-toggle.active {
    background: linear-gradient(#FCFCFC, #FEFEFE);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
    border-color: #BFBFBF;
    border-top-color: #B3B3B3;
    border-bottom-color: #BCBCBC;

    color: rgba(38, 50, 56, 0.85);

    transition: all 0.15s ease-in-out;
}

nav#table-view-nav button#sidebar-toggle span.material-icons {
    min-width: 30px;
    font-size: 1.2rem;
    line-height: 25px;
}



main {
    position: fixed;
    z-index: 10;
    top: 70px; left: 15px; right: 240px; bottom: 15px;
    overflow: hidden;
    background-color: #FEFEFE;
    border: 1px solid #DCDCDC;
    border-bottom-color: #D3D3D3;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.07);

    transition: all 0.3s ease-in-out;
}

body.no-sidebar main {
    right: 15px;
}




header#main-header {
    position: fixed;
    z-index: 9;
    height: 50px;
    top: 15px; left: 15px; right: 15px;

    display: flex;

    padding: 0 15px;
}

body.no-sidebar header#main-header {
    right: 15px;
}

header#main-header div {
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

header#main-header div:last-child {
    text-align: right;
}


header#main-header h1 {
    margin: 0 1.5rem;

    line-height: 36px;
    white-space: nowrap;

    font-family: "Roboto Mono", monospace;
    font-size: 1.2rem;
    font-weight: normal;
    text-align: center;
    color: #555;
}

header#main-header div#developed-by {
    height: 40px;
    text-align: left;
    white-space: nowrap;
}

header#main-header div#developed-by a {
    text-decoration: none;
}

header#main-header div#developed-by span {
    vertical-align: top;
    line-height: 38px;

    font-family: "Roboto Mono", monospace;
    font-size: 0.7rem;
    font-weight: normal;
    text-align: center;
    color: #555;
}

header#main-header div#developed-by img {
    margin-left: 0.5rem;
    height: 40px;
    width: auto;

    border: none;
}


header#main-header button {
    padding: 0;
    margin-left: 1.5rem;
    background: none;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #ECEFF1;

    font-size: 0.9rem;
    line-height: 38px;

    cursor: pointer;

    transition: border 0.15s ease-in-out;
}

header#main-header button:hover {
    border-bottom-color: #BBBDBF;
}

header#main-header button span.material-icons {
    /*font-size: 1.2rem;*/
    vertical-align: top;
    line-height: 39px;
}



section#table-display {
    position: absolute;
    top: 50px; left: 0; right: 0; bottom: 50px;
    overflow: auto;
    background-color: #F4F4F4;
}

section#table-display::after {
    position: fixed;
    top: 74px; left: 16px; right: 241px; bottom: 66px;
    z-index: 20;
    opacity: 0;
    background-color: #FEFEFE;
    border-radius: 4px;
    pointer-events: none;

    font-family: "Roboto Mono", monospace;
    text-align: center;
    color: #999;
    line-height: 80vh;

    content: "Loading...";

    transition: opacity 0.1s;
    animation-duration: 1s;
    animation-name: loading;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

body.no-sidebar section#table-display::after {
    right: 16px;
}

@keyframes loading {
    from { color: #999; }
    to { color: #333; }
}

section#table-display.loading::after {
    opacity: 1;
    pointer-events: auto;
}

section#table-pagination {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    box-sizing: border-box;
    height: 50px;
    display: flex;
    border-top: 1px solid #F0F0F0;
    background-color: #FCFCFC;
}

section#table-pagination > div {
    flex: 1;
    padding: 0 20px;
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    text-align: center;
    white-space: nowrap;
    line-height: 47px;
    color: #666;
}
section#table-pagination > div:first-of-type {
    text-align: left;
}
section#table-pagination > div:last-of-type {
    text-align: right;
}

section#table-pagination > div .vr {
    display: inline-block;
    vertical-align: top;
    width: 1px;
    height: 50px;
    margin: 0 20px;
    background-color: #F0F0F0;
}

section#table-pagination button {
    height: 26px;
    margin: 10px 0 0 5px;

    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);

    font-size: 0.75rem;
}
section#table-pagination button.icon-button {
    padding: 0;
}

section#table-pagination button#first-page {
    margin-left: 0;
}

section#table-pagination button span.material-icons {
    min-width: 30px;
    font-size: 1.2rem;
    line-height: 25px;
}

section#table-pagination div.button-row {
    display: inline-block;
    vertical-align: top;
}

section#table-pagination div.button-row button:not(:first-child) {
    margin-left: 2px;
}

section#table-pagination span#total-entries-text {
    color: #999;
}



aside#filter-options {
    position: fixed;
    z-index: 15;
    top: 70px; right: 0; bottom: 0;

    box-sizing: border-box;
    width: 240px;
    padding: 5px 15px 0 15px;

    background-color: #ECEFF1;

    overflow-y: auto;

    transition: all 0.3s ease-in-out;
}

body.no-sidebar aside#filter-options {
    right: -240px;
    opacity: 0;
}

aside#filter-options div#app-logo-container {
    margin: 20px auto 0 auto;
    width: 80px;
}

aside#filter-options img#app-logo {
    max-width: 100%;
    height: auto;
}

aside#filter-options h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-family: "Roboto Mono", monospace;
    font-weight: normal;
    font-size: 0.725rem;
    color: #777;
    text-align: center;
    letter-spacing: 2px;
}

aside#filter-options h2 label {
    margin: 0;
    color: #777;
    font-size: 0.725rem;
}

aside#filter-options h3 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-family: "Roboto Mono", monospace;
    font-weight: normal;
    font-size: 0.775rem;
    color: #333;
}

aside#filter-options h3 span.controls {
    float: right;
    color: #777;
}
aside#filter-options h3 span.controls a {
    color: #607D8B;
    text-decoration: underline;
    cursor: pointer;
}

aside#filter-options label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
    font-family: "Roboto Mono", monospace;
    font-size: 0.775rem;
    color: #333;
}

aside#filter-options label.checkbox-label {
    margin: 2px 0;
    line-height: 18px;
    font-size: 0.725rem;
    white-space: nowrap;
}

aside#filter-options span.input-help-text {
    font-family: "Roboto Mono", monospace;
    font-size: 0.7rem;
    color: #777;
}

aside#filter-options select {
    width: 100%;
}

aside#filter-options input[type="checkbox"],
aside#filter-options input[type="radio"] {
    vertical-align: top;
}

aside#filter-options input[type="text"],
aside#filter-options input[type="number"] {
    width: 100%;
}

aside#filter-options button {
    margin: 10px 0;
    height: 30px;
    width: 100%;

    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0 1px 0 white;

    font-weight: normal;

    cursor: pointer;
}

aside#filter-options div#dataset-options label {
    display: inline-block;
    width: 50%;
}

aside#filter-options div#chromosome-checkboxes label {
    display: inline-block;
    width: 20%;
    margin: 0;
    font-size: 0.66rem;
    line-height: 19px;

    -moz-user-select: none;
    user-select: none;
}

aside#filter-options div#chromosome-checkboxes label input {
    vertical-align: top;
    margin-left: 0;
}

aside#filter-options div#gene-location-checkboxes label {
    margin: 0;
    width: 50%;
    display: inline-block;
}

aside#filter-options div#gene-location-checkboxes label input {
    margin-left: 0;
    margin-right: 0;
}

aside#filter-options button#apply-filters {
    margin: 5px 0;

    border: 1px solid #2196F3;
    border-bottom-color: #1E88E5;
    background-color: #42A5F5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);

    font-weight: bold;
    color: #E3F2FD;
}

aside#filter-options button#clear-filters {
    margin-top: 2px;
    margin-bottom: 5px;
}

aside#filter-options hr {
    margin: 12px 2px;
    border: none;
    border-top: 1px solid #DFDFDF;
}

aside#filter-options p {
    font-family: "Roboto Mono", monospace;
    font-size: 0.7rem;
    color: #666;
}



table#entry-table,
table#variant-guides-table {
    border-collapse: collapse;
    min-width: 100%;
    height: 1px; /* Needed for 100% height cells */
}

table#entry-table thead th,
table#variant-guides-table thead th {
    vertical-align: top;
    padding: 0;
    background-color: #F4F4F4;
    white-space: nowrap;
    cursor: default;
}

table#variant-guides-table thead th {
    background-color: #FEFEFE;
}

table#entry-table thead tr.group-row th,
table#variant-guides-table thead tr.group-row th {
    padding-left: 2px;
    padding-right: 2px;
}

table#entry-table thead tr.group-row th:first-child,
table#variant-guides-table thead tr.group-row th:first-child {
    padding-left: 15px;
}

table#entry-table thead tr.group-row th:last-child,
table#variant-guides-table thead tr.group-row th:last-child {
    padding-right: 15px;
}

table#entry-table thead tr.group-row th button.toggle-optional-columns,
table#variant-guides-table thead tr.group-row th button.toggle-optional-columns {
    position: absolute;
    right: -4px;
    padding-right: 0;

    border: none;
    background: none;
    box-shadow: none;

    text-align: right;

    cursor: pointer;
}

table#entry-table thead tr.group-row th button.toggle-optional-columns span.material-icons {
    vertical-align: top;
    transition: color 0.15s ease-in-out;
}

table#entry-table thead tr.group-row th button.toggle-optional-columns span.material-icons:last-of-type {
    margin-left: -0.7em;
}

table#entry-table thead tr.group-row th button.toggle-optional-columns:hover span.material-icons {
    color: #777;
}

table#entry-table thead tr.group-row th button.toggle-optional-columns.hidden {
    display: none;
}

table#entry-table thead th div,
table#variant-guides-table thead th div {
    position: relative;

    padding: 5px 10px 6px 10px;
    background-color: #FEFEFE;
    box-shadow: inset 0 -1px 0 #E6E6E6, 0 1px 10px rgba(0, 0, 0, 0.01);

    color: #444;
    font-size: 0.7rem;
    font-family: "Roboto Mono", monospace;
}

table#entry-table thead tr.group-row th div,
table#variant-guides-table thead tr.group-row th div {
    padding-left: 15px;
    padding-right: 15px;
}

table#entry-table thead tr.group-row th div,
table#variant-guides-table thead tr.group-row th div {
    box-shadow: inset 0 -1px 0 #E9E9E9;
    background-color: #F4F4F4;
    color: #666;
    font-size: 0.65rem;
}

table#variant-guides-table thead tr.group-row th div {
    background-color: #FEFEFE;
}

table#entry-table thead tr.group-row th {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 10;
}

table#entry-table thead tr.group-row th.frozen {
    left: 0;
    z-index: 11;
}

table#entry-table thead tr.header-row th {
    position: sticky;
    position: -webkit-sticky;
    top: 25px;
    z-index: 10;

    cursor: pointer;
}

table#entry-table thead tr.header-row th.frozen {
    left: 0;
    z-index: 11;
}

table#entry-table thead tr.header-row th.odd div,
table#variant-guides-table thead tr.header-row th.odd div {
    background-color: #f2f9fc;
}

table#entry-table thead th.first,
table#variant-guides-table thead th.first {
    padding-left: 1px;
}

table#entry-table thead th.first:first-child,
table#variant-guides-table thead th.first:first-child {
    padding-left: 14px;
}

table#entry-table thead th.first > div,
table#variant-guides-table thead th.first > div {
    border-left: 1px solid #E6E6E6;
}

table#entry-table thead th.last,
table#variant-guides-table thead th.last {
    padding-right: 1px;
}

table#entry-table thead th.last:last-child,
table#variant-guides-table thead th.last:last-child {
    padding-right: 14px;
}

table#entry-table thead th.last > div,
table#variant-guides-table thead th.last > div {
    border-right: 1px solid #E6E6E6;
}

table#entry-table thead th.no-click {
    cursor: default;
}

table#entry-table thead th div span.material-icons {
    margin-left: 2px;
    vertical-align: top;
    font-size: 1rem;
    color: #999;
}

table#entry-table.guides thead th {
    cursor: auto;
}

table#entry-table.guides thead tr.header-row th > div span.material-icons {
    display: none;
}

table#entry-table tbody tr:nth-child(even) td > div,
table#variant-guides-table tbody tr:nth-child(even) td > div {
    background-color: #F8F8F8;
}

table#entry-table tbody tr:nth-child(odd) td > div,
table#variant-guides-table tbody tr:nth-child(odd) td > div {
    background-color: #FEFEFE;
}

table#entry-table tbody td,
table#variant-guides-table tbody td {
    padding: 0;
    background-color: #F4F4F4;
    height: 100%;
}

table#variant-guides-table tbody td {
    background-color: #FEFEFE;
}

table#entry-table tbody td.first,
table#variant-guides-table tbody td.first {
    padding-left: 1px;
}

table#entry-table tbody td.first:first-child,
table#variant-guides-table tbody td.first:first-child {
    padding-left: 14px;
}

table#entry-table tbody td.last,
table#variant-guides-table tbody td.last {
    padding-right: 1px;
}

table#entry-table tbody td.last:last-child,
table#variant-guides-table tbody td.last:last-child {
    padding-right: 14px;
}

table#entry-table tbody td > div,
table#variant-guides-table tbody td > div {
    height: 100%;
    padding: 4px 10px;
    box-sizing: border-box;

    border-bottom: 1px solid #ECECEC;

    font-size: 0.8rem;
    font-family: "Roboto Mono", monospace;
    color: #333;

    transition: background-color 0.1s ease-in-out;
}

table#entry-table tbody td.first > div,
table#variant-guides-table tbody td.first > div {
    border-left: 1px solid #E9E9E9;
}

table#entry-table tbody td.last > div,
table#variant-guides-table tbody td.last > div {
    border-right: 1px solid #E9E9E9;
}

table#entry-table tbody td.lighter > div,
table#variant-guides-table tbody td.lighter > div {
    color: #B0B0B0;
}

table#entry-table tbody td.no-results > div,
table#variant-guides-table tbody td.no-results > div {
    text-align: center;
    height: 200px;
    line-height: 190px;
    font-size: 1rem;
}

table#entry-table tbody td > div pre,
table#variant-guides-table tbody td > div pre {
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    color: #333;
}

table#entry-table tbody td.frozen {
    position: sticky;
    position: -webkit-sticky;
    left: 0;
    z-index: 9;
}

table#entry-table tbody td a {
    color: #1E88E5;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
}
table#entry-table tbody td a:hover {
    color: #42A5F5;
}



div.progress-bar-container {
    display: flex;
    height: 22px;
}

div.progress-bar-outer {
    flex: 1;
    min-width: 100px;
    background-color: rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.05);
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    overflow: hidden;
}

div.progress-bar-inner {
    background-color: #9ccc65;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    height: 22px;
}

div.progress-bar-scalar {
    padding: 0 8px;
    box-sizing: border-box;
    min-width: 75px;

    border-left: 1px solid #DDD;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    background-color: rgba(0, 0, 0, 0.02);
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.05);
    line-height: 22px;
}



div.modal-container {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 50;

    background-color: rgba(236, 239, 241, 0.6);
    opacity: 0;

    pointer-events: none;

    transition: opacity 0.3s ease-in-out;
}

div.modal-container.shown {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 50;

    background-color: rgba(236, 239, 241, 0.6);
    opacity: 1;

    pointer-events: auto;
}

div.modal {
    position: absolute;
    top: 60px; left: 260px; right: 260px; bottom: 60px;
    z-index: 100;

    overflow: hidden;

    background-color: #FEFEFE;
    border: 1px solid #D5D5D5;
    border-bottom: 1px solid #C9C9C9;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.09);
}

div.modal h2 {
    margin-top: 0;
    font-family: "Roboto Mono", monospace;
    font-weight: normal;
    color: #555;
}

div.modal h3 {
    margin: 15px 0 10px 0;
    font-family: "Roboto Mono", monospace;
    font-weight: normal;
    color: #555;
}

div.modal p,
div.modal li {
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    color: #333;
}

div.modal a {
    color: #1E88E5;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
}
div.modal a:hover {
    color: #42A5F5;
}

div.modal-options {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    box-sizing: border-box;
    height: 50px;
    display: flex;
    border-top: 1px solid #F0F0F0;
    background-color: #FCFCFC;
}

div.modal-options div {
    flex: 1;
    padding: 0 20px;
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    text-align: center;
    line-height: 47px;
    color: #666;
}
div.modal-options div:first-of-type {
    text-align: left;
}
div.modal-options div:last-of-type {
    text-align: right;
}

div.modal-options button {
    height: 28px;
    padding: 0 8px;
    margin-top: 10px;

    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);

    font-size: 0.75rem;
    line-height: 14px;
}
div.modal-options button.with-icon {
    padding-left: 6px;
}
div.modal-options button span.material-icons {
    vertical-align: top;
    font-size: 1rem;
}

div.modal-scroll-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 50px;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 24px 30px;
}
div.modal-scroll-container::after {
    display: block;
    height: 24px;
    content: "";
}

div.modal button.close-modal {
    position: absolute;
    top: 21px; right: 24px;
    z-index: 150;
    padding: 0;
    border: none;
    background: none;
    color: #AAA;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
}

div.modal button.close-modal:hover {
    color: #999;
}
div.modal button.close-modal span.material-icons {
    font-size: 2rem;
}

div.modal button.toggle-modal-help {
    padding: 0;
    border: none;
    background: none;
    color: #CCC;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
}

div.modal button.toggle-modal-help:hover {
    color: #BBB;
}
div.modal button.toggle-modal-help span.material-icons {
    font-size: 2rem;
}



div#advanced-search-modal div#advanced-search-modal-scroll-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 50px;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 24px 30px;
}
div#advanced-search-modal div#advanced-search-modal-scroll-container::after {
    display: block;
    height: 24px;
    content: "";
}

div#advanced-search-help {
    overflow: hidden;
    max-height: 0;
    padding: 0 15px;
    margin-bottom: 0;

    background: #FCFCFC;
    border: 1px solid #DFDFDF;
    border-top-color: #D3D3D3;
    border-radius: 4px;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.03);

    opacity: 0;

    transition: all 0.3s ease-in-out;
}
div#advanced-search-help.shown {
    max-height: 600px;
    padding: 1px 15px;
    margin-bottom: 15px;
    opacity: 1;
}

div#advanced-search-modal div.code-comparison {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #EFEFEF;
}

ul#advanced-search-conditions {
    list-style: none;
    margin: 0; padding: 0;
}

ul#advanced-search-conditions li {
    display: flex;
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    color: #333;
}
ul#advanced-search-conditions li:not(:first-child) {
    margin-top: 10px;
}

ul#advanced-search-conditions li select {
    margin-right: 5px;
    vertical-align: top;
}

ul#advanced-search-conditions li select,
ul#advanced-search-conditions li input {
    vertical-align: top;
}

ul#advanced-search-conditions li input[type="text"] {
    flex: 1;
}

ul#advanced-search-conditions li div.boolean-type-placeholder {
    display: inline-block;
    width: 60px;
}

ul#advanced-search-conditions li button.remove-search-condition {
    background: none;
    border: none;
}
ul#advanced-search-conditions li button.remove-search-condition span.material-icons {
    margin-top: 6px;
    font-size: 1.1rem;
    color: #AAA;
    transition: color 0.15s ease-in-out;
}
ul#advanced-search-conditions li button.remove-search-condition:hover span.material-icons {
    color: #999;
}



div#export-options-modal {
    max-width: 600px;
    min-height: 275px;
    margin: auto;
    bottom: auto;
}

div#export-options-modal label {
    display: block;
    margin-right: 0.4em;
    margin-bottom: 0.8em;
    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
}

div#export-options-modal label:last-of-type {
    margin-bottom: 0;
}

div#export-options-modal input[type="checkbox"] {
    vertical-align: top;
    margin-top: 2px;
}



div#variant-guides-modal div.modal-scroll-container {
    padding: 24px 0;
}

div#variant-guides-modal h2 {
    margin-left: 30px;
    margin-right: 30px;
}



div#report-bug-modal {
    max-width: 600px;
    max-height: 355px;
    margin: auto;
}

div#report-bug-modal label {
    display: block;
    margin-bottom: 3px;

    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    color: #444;
}

div#report-bug-modal label:not(:first-of-type) {
    margin-top: 10px;
}

div#report-bug-modal input[type="email"],
div#report-bug-modal textarea {
    width: 100%;
}



code {
    background-color: #FCFCFC;
    border: 1px solid #DFDFDF;
    border-top-color: #D3D3D3;
    border-radius: 4px;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.03);
    color: #444;
}

div.code-comparison {
    display: flex;
    flex-direction: row;
    margin: 10px 0;
}
div.code-comparison code {
    flex: 1;
    margin: 0 5px;
    padding: 5px 7px;
}
div.code-comparison code:first-child { margin-left: 0; }
div.code-comparison code:last-child { margin-right: 0; }



input[type="text"],
input[type="email"],
input[type="number"],
textarea {
    box-sizing: border-box;
    padding: 5px 7px;

    border: 1px solid #DFDFDF;
    border-bottom-color: #D3D3D3;
    border-radius: 4px;
    background-color: #FCFCFC;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0 1px 2px rgba(0, 0, 0, 0.05);

    font-size: 0.8rem;
    font-family: "Roboto Mono", monospace;

    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
input[type="text"]:hover,
input[type="email"]:hover,
input[type="number"]:hover,
textarea:hover {
    border-color: #CFCFCF;
    border-bottom-color: #C3C3C3;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus {
    border-color: #AFAFAF;
    border-bottom-color: #A3A3A3;
}
input[type="text"][disabled],
input[type="email"][disabled],
input[type="number"][disabled],
textarea[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    padding: 4px 20px 4px 4px;

    border: 1px solid #DFDFDF;
    border-bottom-color: #D3D3D3;
    border-radius: 4px;
    background: url('./unfold_more.svg') no-repeat calc(100% - 5px), linear-gradient(#FEFEFE, #FAFAFA);
    background-size: 16px 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

    font-family: "Roboto Mono", monospace;
    font-size: 0.75rem;
}

button {
    vertical-align: top;
    box-sizing: border-box;
    padding: 0 8px;

    border: 1px solid #DFDFDF;
    border-bottom-color: #D3D3D3;
    border-radius: 4px;
    background-color: #FEFEFE;
    outline: none;

    font-family: "Roboto Mono", monospace;
    font-size: 0.8rem;
    white-space: nowrap;
    color: #555;

    transition: color 0.15s ease-in-out, border-color 0.15s ease-in-out, opacity 0.15s ease-in-out;
}
button:hover {
    border-color: #CFCFCF;
    border-bottom-color: #C3C3C3;
    color: #444;
}
button:focus {
    border-color: #AFAFAF;
    border-bottom-color: #A3A3A3;
}
button[disabled] {
    opacity: 0.6;
    cursor: not-allowed !important;
}
button::-moz-focus-inner {
    border: none;
}



div.row {
    display: flex;
    flex-direction: row;
}
div.row .col {
    flex: 1;
    vertical-align: top;
}



div#help-text {
    position: fixed;
    z-index: 175;

    /*top: 200px; left: 400px;*/

    box-sizing: border-box;
    padding: 6px 10px;
    min-width: 125px;
    max-width: 250px;

    background-color: rgba(250, 250, 250, 0.95);
    border: 1px solid #DFDFDF;
    border-bottom-color: #D3D3D3;
    border-radius: 4px;
    box-shadow: 1px 3px 8px rgba(0, 0, 0, 0.08);
    opacity: 0;

    font-family: "Roboto Mono", sans-serif;
    font-size: 0.8rem;
    line-height: 1.3em;
    color: #555;

    pointer-events: none;

    transition: opacity 0.15s ease-in-out;
}

div#help-text.shown {
    opacity: 1;
}



@media screen and (max-width: 1400px) {
    div.modal {
        position: absolute;
        top: 60px; left: 120px; right: 120px; bottom: 60px;
    }
}

@media screen and (max-width: 1300px) {
    nav#table-view-nav div span.help-text {
        display: none;
    }
}

@media screen and (max-width: 1175px) {
    section#table-pagination > div {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 1080px) {
    div.modal {
        position: absolute;
        top: 40px; left: 80px; right: 80px; bottom: 40px;
    }

    div#developed-by span {
        display: none;
    }

    section#table-pagination {
        overflow-x: auto;
    }

    section#table-pagination span#total-entries-text {
        display: none;
    }

    nav#table-view-nav button {
        font-size: 0.7rem;
    }

    nav#table-view-nav ul li {
        font-size: 0.7rem;
    }
}
