/* FONT STACK */
@import url('https://fonts.googleapis.com/css?family=Lato:400,700,900');

body,
input, select, textarea {
    font-family: "Lato";
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.1;
}

/* BASE LAYOUT */

html {
    background-color: #ffffff;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#aaaaaa', EndColorStr='#dddddd');
    background-repeat: no-repeat;
    height: 100%;
    /* change the box model to exclude the padding from the calculation of 100% height (IE8+) */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 auto !important;
    max-width: 960px !important;
}

html.no-cssgradients {
    background-color: #aaa;
}

.ie6 html {
    height: 100%;
}

html * {
    margin: 0 auto;
}

body {
    background: #ffffff;
    color: #333333;
    margin: 0 auto;
    padding-top: 5% !important;
    max-width: 960px;
    overflow-x: hidden; /* prevents box-shadow causing a horizontal scrollbar in firefox when viewport < 960px wide */
    -moz-box-shadow: 0 0 0.3em #ffffff;
    -webkit-box-shadow: 0 0 0.3em #ffffff;
    box-shadow: 0 0 0.3em #ffffff;
}

#grailsLogo {
    background-color: white;
}

/* replace with .no-boxshadow body if you have modernizr available */
.ie6 body,
.ie7 body,
.ie8 body {
    border-color: #255b17;
    border-style: solid;
    border-width: 0 1px;
}

.ie6 body {
    height: 100%;
}

a:link, a:visited, a:hover {
    /*color: #0066ff;*/
}

a:hover, a:active {
    outline: none; /* prevents outline in webkit on active links but retains it for tab focus */
}

h1 {
    color: #ffffff;
    font-weight: normal;
    font-size: 1.25em;
    margin: 0.8em 0 0.3em 0;
}

h2 {
    font-size: 16pt !important;
    font-weight: bold;
}

ul {
    padding: 0;
}

img {
    border: 0;
}

/* GENERAL */

#grailsLogo a {
    display: inline-block;
    margin: 1em;
}

.content {
}

.content h1 {
    /*border-bottom: 1px solid #CCCCCC;*/
    margin: 0.8em 1em 0.3em;
    padding: 0 0.25em;
}

.scaffold-list h1 {
    border: none;
}

.footer {
    background: #fff;
    color: #000000;
    clear: both;
    font-size: 0.8em;
    margin-top: 1.5em;
    padding: 1em;
    min-height: 1em;
    /*text-align: top;*/
    vertical-align: top;
}

.footer a {
    color: #000000;
}

/* NAVIGATION MENU */

.nav {
    background-color: #fff;
    padding: 0.5em 0.75em;
    -moz-box-shadow: 0 0 3px 1px #6fd7ff;
    -webkit-box-shadow: 0 0 3px 1px #6fd7ff;
    box-shadow: 0 0 3px 1px #6fd7ff;
    zoom: 1;
}

.nav ul {
    overflow: hidden;
    padding-left: 0;
    zoom: 1;
}

.nav li {
    display: block;
    float: left;
    list-style-type: none;
    margin-right: 0.5em;
    padding: 0;
}

.nav a {
    display: block;
    padding: 0.25em 0.7em;
    text-decoration: none;
    -moz-border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    border-radius: 0.3em;
}

.nav a:active, .nav a:visited {
    color: #666666;
}

.nav a:focus, .nav a:hover {
    background-color: #72bc11;
    color: #fff;
    outline: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

.no-borderradius .nav a:focus, .no-borderradius .nav a:hover {
    background-color: transparent;
    color: #444444;
    text-decoration: underline;
}

.nav a.home, .nav a.list, .nav a.create {
    background-position: 0.7em center;
    background-repeat: no-repeat;
    /*text-indent: 25px;*/
}

.nav a.home {
    /*background-image: url(XZxwq2CdhKQxLth7CqP7LcbI3LaYjCwJKkxHLHDpe0x.png);*/
}

.nav a.list {
    background-image: url(RdALDCN57QSCqXqRNdXsEvVFyPLe8pmO0DRCrEZJtEW.png);
}

.nav a.create {
    background-image: url(0yisl7281lTvwY6VcTEi0AwvMESNU2VvH0gCkLacD7T.png);
}

/* CREATE/EDIT FORMS AND SHOW PAGES */

fieldset,
.property-list {
    margin: 0.6em 1.25em 0 1.25em;
    padding: 0.3em 1.8em 1.25em;
    position: relative;
    zoom: 1;
    border: none;
}

.property-list .fieldcontain {
    list-style: none;
    overflow: hidden;
    zoom: 1;
}

.fieldcontain {
    /*margin-top: 1em;*/
}

.fieldcontain label,
.fieldcontain .property-label {
    color: #666666;
    /*text-align: right;*/
    width: 100px !important;
}

.fieldcontain .property-label {
    float: left;
}

.fieldcontain .property-value {
    display: block;
    margin-left: 27%;
}

label {
    cursor: pointer;
    display: inline-block;
    margin: 0 0.25em 0 0;
}

input, select, textarea {
    background-color: #fcfcfc;
    /*border: 1px solid #cccccc;*/
    font-size: 1em;
    padding: 0.2em 0.4em;
}

select {
    padding: 0.2em 0.2em 0.2em 0;
}

select[multiple] {
    vertical-align: top;
}

textarea {
    width: 100%;
    height: 150px;
    overflow: auto; /* IE always renders vertical scrollbar without this */
    vertical-align: top;
}

input[type=checkbox], input[type=radio] {
    background-color: transparent;
    border: 0;
    padding: 0;
}

input:focus, select:focus, textarea:focus {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    outline: 0;
    -moz-box-shadow: 0 0 0.5em #ffffff;
    -webkit-box-shadow: 0 0 0.5em #ffffff;
    box-shadow: 0 0 0.5em #ffffff;
}

.required-indicator {
    color: #48802C;
    display: inline-block;
    font-weight: bold;
    margin-left: 0.3em;
    position: relative;
    top: 0.1em;
}

ul.one-to-many {
    display: inline-block;
    list-style-position: inside;
    vertical-align: top;
}

.ie6 ul.one-to-many, .ie7 ul.one-to-many {
    display: inline;
    zoom: 1;
}

ul.one-to-many li.add {
    list-style-type: none;
}

/* EMBEDDED PROPERTIES */

fieldset.embedded {
    background-color: transparent;
    border: 1px solid #CCCCCC;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

fieldset.embedded legend {
    margin: 0 1em;
}

/* MESSAGES AND ERRORS */

.errors,
.message {
    font-size: 0.8em;
    line-height: 2;
    margin: 1em 2em;
    padding: 0.25em;
}

.message {
    background: #f3f3ff;
    border: 1px solid #b2d1ff;
    color: #006dba;
    -moz-box-shadow: 0 0 0.25em #b2d1ff;
    -webkit-box-shadow: 0 0 0.25em #b2d1ff;
    box-shadow: 0 0 0.25em #b2d1ff;
}

.errors {
    background: #fff3f3;
    border: 1px solid #ffaaaa;
    color: #cc0000;
    -moz-box-shadow: 0 0 0.25em #ff8888;
    -webkit-box-shadow: 0 0 0.25em #ff8888;
    box-shadow: 0 0 0.25em #ff8888;
}

.errors ul,
.message {
    padding: 0;
}

.errors li {
    list-style: none;
    background: transparent url(X2My6nLGuGXO73LuKEeTYWgyGjihrVLVBKfMfLY17mq.png) 0.5em 50% no-repeat;
    text-indent: 2.2em;
}

.message {
    background: transparent url(5r7Rwd8PayLGhpjX1Cu8uUF6AB9prDYFb0MemFibdy.png) 0.5em 50% no-repeat;
    text-indent: 2.2em;
}

/* form fields with errors */

.error input, .error select, .error textarea {
    background: #fff3f3;
    border-color: #ffaaaa;
    color: #cc0000;
}

.error input:focus, .error select:focus, .error textarea:focus {
    -moz-box-shadow: 0 0 0.5em #ffaaaa;
    -webkit-box-shadow: 0 0 0.5em #ffaaaa;
    box-shadow: 0 0 0.5em #ffaaaa;
}

/* same effects for browsers that support HTML5 client-side validation (these have to be specified separately or IE will ignore the entire rule) */

input:invalid, select:invalid, textarea:invalid {
    background: #fff3f3;
    border-color: #ffaaaa;
    color: #cc0000;
}

input:invalid:focus, select:invalid:focus, textarea:invalid:focus {
    -moz-box-shadow: 0 0 0.5em #ffaaaa;
    -webkit-box-shadow: 0 0 0.5em #ffaaaa;
    box-shadow: 0 0 0.5em #ffaaaa;
}

/* TABLES */

table {
    border-top: 1px solid #DFDFDF;
    border-collapse: collapse;
    /*width: 100%;*/
    /*margin-bottom: 1em;*/
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.selection {
    /*border-top: none;*/
    /*height: 250px;*/
}

tr {
    border: 0;
}

.metadata tr > td:first-child, tr > th:first-child {
    /*width: 100%;*/
    width: 325px !important;
}

tr > td:last-child, tr > th:last-child {
    /*padding-right: 1.25em;*/
}

td, th {
    line-height: 1.5em;
    /*padding: 0.5em 0.6em;*/
    text-align: left;
    vertical-align: top;
}

th {
    /*background-color: #0066ff;*/
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#eaeaea');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', EndColorStr='#eaeaea')";
    /*color: #666666;*/
    font-weight: bold;
    /*font-size: 20px;*/
    line-height: 1.7em;
    padding: 0.2em 0.6em;
}

thead th {
    white-space: nowrap;
}

th a {
    display: block;
    text-decoration: none;
}

/*th a:link, th a:visited {
	color: #666666;
}

th a:hover, th a:focus {
	color: #333333;
}*/

th.sortable a {
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 1.1em;
}

th.asc a {
    background-image: url(RXl7rSoN1AVnxXlZT2CrwXA7PXpoSw226yjB1A1N2HZ.gif);
}

th.desc a {
    background-image: url(f3V8fyTt1I004HCWmfaK3dijJYB1pRuaCoNtuCWfmZt.gif);
}

.odd {
    background: #f7f7f7;
}

.even {
    background: #ffffff;
}

/* PAGINATION */

.pagination {
    border-top: 0;
    margin: 0;
    padding: 0.3em 0.2em;
    text-align: center;
    -moz-box-shadow: 0 0 3px 1px #AAAAAA;
    -webkit-box-shadow: 0 0 3px 1px #AAAAAA;
    box-shadow: 0 0 3px 1px #AAAAAA;
    background-color: #EFEFEF;
}

.pagination a,
.pagination .currentStep {
    color: #666666;
    display: inline-block;
    margin: 0 0.1em;
    padding: 0.25em 0.7em;
    text-decoration: none;
    -moz-border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    border-radius: 0.3em;
}

.pagination a:hover, .pagination a:focus,
.pagination .currentStep {
    background-color: #999999;
    color: #ffffff;
    outline: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

.no-borderradius .pagination a:hover, .no-borderradius .pagination a:focus,
.no-borderradius .pagination .currentStep {
    background-color: transparent;
    color: #444444;
    text-decoration: underline;
}

/* ACTION BUTTONS */

.buttons {
    overflow: hidden;
    padding: 0.3em;
    -moz-box-shadow: 0 0 3px 1px #aaaaaa;
    -webkit-box-shadow: 0 0 3px 1px #aaaaaa;
    box-shadow: 0 0 3px 1px #aaaaaa;
    margin: 0.1em 0 0 0;
    border: none;
}

.buttons input,
.buttons a {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    display: inline-block;
    margin: 0 0.25em 0;
    overflow: visible;
    padding: 0.25em 0.7em;
    text-decoration: none;

    -moz-border-radius: 0.3em;
    -webkit-border-radius: 0.3em;
    border-radius: 0.3em;
}

.buttons input:hover, .buttons input:focus,
.buttons a:hover, .buttons a:focus {
    /*background-color: #000000;*/
    /*color: #ffffff;*/
    outline: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.filebutton {
    position: relative;
    /*left: -1px;*/
    background-color: #ffffff;
    cursor: pointer;
    color: #000000;
    border-width: medium;
    width: 130px;
    height: 30px;
}

.filebutton:hover {
    background-color: #000000;
    color: #ffffff;
}

.filebutton:focus {
    background-color: #0066ff;
}

.buttons .delete, .buttons .edit, .buttons .save {
    background-position: 0.7em center;
    background-repeat: no-repeat;
    text-indent: 25px;
}

.buttons .delete {
    background-image: url(ss6KmFAHwuHg1DyNPDkahZ1ZiycD7T96evRysdmaiEm.png);
}

.buttons .edit {
    background-image: url(El0e01veMPBnf1OAeE8CxbYtoSWHtdzL7sWbN0u6SRa.png);
}

.buttons .save {
    background-image: url(9jLQuJhY3Jlq4wV1AeE2l5sWVWUENNWa9XdeTwXJjrB.png);
}

a.skip {
    position: absolute;
    left: -9999px;
}

/*#s2ui_login_link_container {
    position: relative;
    top: 10px;
    right: 15px;
    float: right;
}*/

/*#s2ui_login_link_container #loginLink {
    color: blue;
}*/

button {
    margin-left: 20px;
}

span.bold {
    font-weight: bold;
}

p {
    padding-top: 10px;
}

h1, h3 {
    padding: 20px;
}

div.table-wrap {
    padding-left: 40px;
    padding-right: 40px;
}

td.bold {
    font-weight: bold;
}

.center {
    text-align: center;
}

.bottomShadow {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.bottomShadow th {
    background-color: #0066ff;
    color: #ffffff;
}

.bottomShadow tr:nth-child(odd) {
    background: #d0d8e8;
}

.bottomShadow tr:nth-child(even) {
    background: #e9edf4;
}

.bottomShadow td {
    /*text-align: center;*/
}

.sup {
    position: relative;
    bottom: 1ex;
    font-size: 80%;
}

table.bottomShadow {
    border: 0;
    /*border-bottom: 2px;*/
}

table caption {
    padding-bottom: 10px;
}

td.align-right, .align-right {
    text-align: right;
}

.float-right {
    float: right;
}

#select {

}

#reset {
    margin-right: 20px;
    width: 100px;
}

#news-list {
    color: blue;
    padding-left: 100px;
}

#selection-table-wrapper {
    /*margin-top: -2em;*/
    /*padding-bottom: 2em;*/
}

#selection-table-wrapper tr td:first-child {
    /*padding-left: 75px;*/
}

#criteria-tree-wrapper {
    height: 100%;
    width: 100% !important;
    border: 1px solid lightgrey !important;
    padding-left: 1em;
}

#criteriaTree {
    padding-top: 1em;
    padding-left: 0;
    width: 100%;
}

#spinner {
    float: right;
    background-color: white;
    padding: 5px;
    margin: 6px;
    clear: both;
}

#show-btn {
    padding-left: 20px;
}

#system-list {
    padding-left: 40px;
}

#next-btn {
    /*width: 100px;*/
}

#start-over {
    /*margin-right: 40px;*/
    /*width: 300px;*/
}

#back-btn {
    /*width: 100px;*/
}

.divider {
    /*margin-bottom: 5%;*/
}

#start-here {
    width: 200px;
    margin-right: 50px;
}

/*span.ui-button-text {*/
/*color: #000000;*/
/*}*/

/*span.ui-button-text:hover {*/
/*color: #ffffff;*/
/*}*/

.geneInput {
    white-space: pre-wrap;
}

.geneTextArea {
    /*box-sizing: border-box;*/
    /*!important;*/
    height: 150% !important;
    resize: none;
    text-transform: uppercase;
    /*width: 250px !important;*/
}

/*ui.button-disabled > span.ui-button-text {*/
/*color: black !important;*/
/*}*/

.pageheader {
    align-content: center !important;
    margin-top: -10px !important;
    height: 30px !important;
    text-align: center !important;
    margin: 10px;
    margin-bottom: 50px;
    /*text-align: left !important;*/
}

.step {
    height: 5px !important;
    margin: 10px;
    text-align: center;
}

@keyframes fade-in {
    from {
        background-color: white;
    }
    to {
        background-color: yellow;
    }
}

.curStep {
    background-color: yellow;
    background-clip: content-box;
    animation-name: fade-in;
    animation-duration: 2s;
}

#results body {
    background: #ffffff;
    color: #333333;
    margin: 0 auto;
    max-width: 960px !important;
    overflow-x: hidden; /* prevents box-shadow causing a horizontal scrollbar in firefox when viewport < 960px wide */
    -moz-box-shadow: 0 0 0.3em #ffffff;
    -webkit-box-shadow: 0 0 0.3em #ffffff;
    box-shadow: 0 0 0.3em #ffffff;
    margin-bottom: 5em !important;
    margin-top: 1em;
}

#results .float-right {
    float: right;
}

/*#results table * {*/
/*text-align: center;*/
/*}*/

/*#results table th {*/
/*background: #E5E5E5;*/
/*}*/

/*#results th, td {*/
/*border-style: solid;*/
/*border-color: lightgrey;*/
/*border-width: 1px;*/
/*}*/

#results .heatmap {
    position: relative;
}

#results #genes {
    transform: rotate(-90deg);
    position: absolute;
    bottom: 180px;
}

#results #patients {
    position: absolute;
    bottom: 50px;
    left: 200px;
}

#loader {
    margin-top: 100px;
    margin-bottom: 50px;
}

#loader-footer {
    text-align: center;
    padding-bottom: 50px;
    margin-bottom: 50px;
}

#download {
    margin-right: 20px;
}

:root {
    --color-white: #fff;
    --color-black: #333;
    --color-gray: #75787b;
    --color-gray-light: #bbb;
    --color-gray-disabled: #e8e8e8;
    --color-green: #53a318;
    --color-green-dark: #383;
    --font-size-small: .75rem;
    --font-size-default: .875rem;
}

* {
    box-sizing: border-box;
}


/*h2 {*/
/*color: var(--color-gray);*/
/*font-size: var(--font-size-small);*/
/*line-height: 1.5;*/
/*font-weight: 400;*/
/*text-transform: uppercase;*/
/*letter-spacing: 3px;*/
/*}*/
section {
    margin-bottom: 3rem;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.progress-bar li {
    flex: 2;
    position: relative;
    padding: 0 0 14px 0;
    font-size: var(--font-size-default);
    line-height: 1.5;
    color: #e8e8e8;
    font-weight: 600;
    white-space: nowrap;
    overflow: visible;
    min-width: 0;
    text-align: center;
    border-bottom: 2px solid var(--color-gray-disabled);
}

.progress-bar .is-complete, .progress-bar .is-active {
    color: #4db6ac;
}

.progress-bar li:first-child,
.progress-bar li:last-child {
    flex: 1;
}

.progress-bar li:last-child {
    text-align: right;
}

.progress-bar li:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--color-gray-disabled);
    /*opacity: 0;*/
    border-radius: 50%;
    border: 2px solid var(--color-white);
    position: absolute;
    left: calc(50% - 6px);
    bottom: -7px;
    z-index: 3;
    /*transition: all .2s ease-in-out;*/
    margin-bottom: 1px;
}

.progress-bar li:first-child:before {
    left: 0;
}

.progress-bar li:last-child:before {
    right: 0;
    left: auto;
}

.progress-bar span {
    /*transition: opacity .3s ease-in-out;*/
}

.progress-bar li:not(.is-active) span {
    /*opacity: 0;*/
    color: #A9A9A9;
}

.progress-bar .is-complete:not(:first-child):after,
.progress-bar .is-active:not(:first-child):after {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    bottom: -2px;
    left: -50%;
    z-index: 2;
    border-bottom: 2px solid #4db6ac;
}

.progress-bar li:last-child span {
    width: 200%;
    display: inline-block;
    position: absolute;
    left: -100%;
}

.progress-bar .is-complete:last-child:after,
.progress-bar .is-active:last-child:after {
    width: 200%;
    left: -100%;
}

.progress-bar .is-complete:before {
    background-color: #4db6ac;
}

.progress-bar .is-active:before,
.progress-bar li.is-complete:hover:before,
.progress-bar .is-hovered:before {
    background-color: var(--color-white);
    border-color: #4db6ac;
}

.progress-bar li:hover:before,
.progress-bar .is-hovered:before {
    transform: scale(1.33);
}

.progress-bar li:hover span,
.progress-bar li.is-hovered span {
    opacity: 1;
}

.progress-bar:hover li:not(:hover) span {
    /*opacity: 0;*/
}

.x-ray .progress-bar,
.x-ray .progress-bar li {
    border: 1px dashed red;
}

.progress-bar .has-changes {
    opacity: 1 !important;
}

.progress-bar .has-changes:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    left: calc(50% - 4px);
    bottom: -20px;
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%208%208%22%3E%3Cpath%20fill%3D%22%23ed1c24%22%20d%3D%22M4%200l4%208H0z%22%2F%3E%3C%2Fsvg%3E');
}

.progress-bar .disabled {
    content: "";
    display: none !important;
    width: 8px;
    height: 8px;
    background-color: var(--color-gray-disabled);
    border-radius: 50%;
    border: 2px solid var(--color-white);
    position: absolute;
    left: calc(50% - 6px);
    bottom: -7px;
    z-index: 3;
    /*transition: all .2s ease-in-out;*/
}

.progress-bar .end {
    /*flex: 2;*/
    /*position: relative;*/
    /*padding: 0 0 14px 0;*/
    /*font-size: var(--font-size-default);*/
    /*line-height: 1.5;*/
    /*color: #4db6ac;*/
    /*font-weight: 600;*/
    /*white-space: nowrap;*/
    /*overflow: visible;*/
    /*min-width: 0;*/
    /*text-align: center;*/
    border-bottom: 2px solid #4db6ac !important;
}

