@import url("/static/css/bootstrap.min.css");
@import url("/static/css/datatables.min.css");
@import url("/static/css/chosen.min.css");
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');

.btn-primary, .btn-outline-primary:hover {
    background-color: #3d77bf !important;
    border-color: #3d77bf !important;
    color: #fff !important;;
}

.btn-primary:hover, .btn-outline-primary:active, .btn-outline-primary:visited {
    background-color: #3068ad !important;
    border-color: #3068ad !important;
}

.btn-outline-primary{
    border-color: #3d77bf !important;
    color: #3d77bf !important;
    background-color: transparent !important;;
}

.border-primary{
    border-color: #3d77bf !important;
}

.page-item.active .page-link {
    background-color: #3d77bf;
    border-color: #3d77bf;
}
.page-link {
    color: #3d77bf;
}
.text-primary {
    color: #356eb4 !important;
}

body {
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: 15px;
}

body a, body a:hover, .btn-link:focus, .btn-link:hover{
    text-decoration: none;
}

body .home_content {
    background-color: #6EB6DC;
    min-height: 100vh;
    /*height: 100%;*/
}

#landing-tier1-layer1 {
    background-color: #ececec;
}

#landing-tier1-layer2 {
    z-index: 200;
    background-image: url('/static/img/cytogenetics_hero.png');
    background-repeat: no-repeat;
    background-size: cover;
    /*background-position: 0 -120px;*/
}
#landing-tier1-layer3 {
    z-index: 300;
    background-image: linear-gradient(to right, rgba(236,236,236,1), rgba(236,236,236,0));
}
#landing-tier1-layer4 {
    padding-left: 8rem;
    padding-top: 6rem;
    z-index: 400;
}

.landing-tier1 {
    height: 450px;
}

.landing-tier-overlay{
    position: absolute;
    top: 0;
    left: 240px;
    right: 0;
    bottom: 0;
}



#landing-title1{
    font-weight: bold;
    font-size: 2.8rem;
    color: #1E3954;
    font-family: "Nunito";
}

#landing-title2 {
    font-size: 1.5rem;
    color: #1E3954;
    line-height: 2.2rem;
}

#landing-title-logo {
    height: 200px;
}

#landing-tier2 {
    background-color: #6EB6DC;
}

.landing-card {
    border-radius: 25px;
    background-color: white;
    padding: 2rem;
    text-align: center;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    z-index: 500;
}

.landing-card-text-1{
    font-size: 2rem;
    font-weight: bold;
    color: #d2822d;
    font-family: Nunito;
    padding-bottom: 1rem;
}
.page-header{
    font-family: Nunito;
    font-size: 2rem;
    font-weight: bold;
}
.footer{
    height: 91px;
    margin-top: -91px;
    background-color: white;
    font-size: 1rem;
    text-align: center;
    color: black;
    font-family: Nunito;
}

.landing-card-text-2{
    font-size: 1.5rem;
    color: #1E3954;
    line-height: 1.8rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

a {
   color: #364fd0;
}

a:hover{
    color: #c68f40;
}

h1 {
    font-size: 1.8rem;
    font-family: Nunito;
}

h2, h3 {
  font-size: 1.2rem;
}

.alert{
    z-index: 600;
    margin-bottom: 0;
}

.alert-light {
    background-color: white;
    color: #1E3954;
}

.footer a, .alert-light a{
    color: #0276b4;
}
.btn {
    font-size: 13px;
}

.btn-sm {
    padding: 2px 4px;
    font-size: 11px;
}

.ui-autocomplete-input {
    width: inherit !important;
}

.ui-menu-item {
    padding-left: 0.75rem;
}

.sidenav {
    height: 100%; /* Full-height: remove this if you want "auto" height */
    width: 240px; /* Set the width of the sidebar */
    position: fixed; /* Fixed Sidebar (stay in place on scroll) */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #1d3954;
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 20px;
    color: #e1edf7;
    padding-left: 10px;
}

.sidenav ul {
    padding-inline-start: 0;
}

/* The navigation menu links */
.sidenav ul li {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 15px;
    color: #afd9ee;
    display: block;
}

.sidenav ul li a {
    text-decoration: none;
    color: #afd9ee;
}

.sidenav ul li ul li a {
    padding-top: 0 !important;
    text-decoration: none;
    font-size: 15px;
    color: #66afe9;
    display: block;
}

.sidenav a:hover, .sidenav li.active a {
    color: #f0ad4e;
}

/* Style page content */
main {
    margin-left: 240px; /* Same as the width of the sidebar */
    color: #1d3954;
    /*padding-bottom: 8rem;*/
    /*min-height: 85vh;*/
}

h1 a {
    color: #1d3954;
}

.margin-r-10 {
    margin-right: 10%;
}

.spinner {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .3);
    z-index: 10;
}

.spinner .spinner-group {
    position: fixed;
    top: 50vh;
    transform: translateY(-50%);
    left: 50%;
}

.fm-header {
    line-height: 33px;
    color: #3d77bf;
}

.search-header {
    color: white;
    background-color: #3d77bf;
    font-size: 20px;
    padding: 2px 20px;
}

.panel {
    padding: 20px;
}

.table-in-modal tbody {
    display: block;
    overflow: auto;
    max-height: 400px;
    width: 100%;
}

.table-in-modal tr, .table-in-modal td {
    display: block;
    width: 100%;
}

.table-in-modal thead th {
    display: block;
    text-align: center;
}


select.form-control[multiple], select.form-control[size] {
    height: calc(1.5em + .75rem + 2px);
}

.chosen-container-single .chosen-single, .chosen-container-multi .chosen-choices {
    border: 1px solid #ced4da;
    padding: 0.375rem .75rem;
    border-radius: .25rem;
    background-image: none;
}

.chosen-container-single .chosen-single {
    height: calc(1.5em + .75rem + 2px);
}

.chosen-container-active.chosen-with-drop .chosen-single {
    background-image: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 24px;
    margin: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

.btn-link {
    color: #3d77bf;
}

.latest-div.card {
    font-size: small;
    margin-top: 100px;
    color: #afd9ee;
    background-color: rgba(255,255,255, .2);

}

.latest-div.card p{
    margin: 8px 0;
}

.latest-div.card .btn {
    border-color: #afd9ee;
    color: #afd9ee;
}
.latest-div.card .btn:hover {
    border-color: #f0ad4e;
    color: #f0ad4e;
}

.release-note-div{
    height: 70px;
    overflow: auto;
}

.log-div, .log-div table{
    font-size: small;
    color: dimgrey;
}

i.gain{
    color: #808cf1;
}
i.loss{
    color: #ff9999;
}
i.amp{
    color: #5d589e;
}
i.del{
    color: #8a3036;
}
i.warning{
    color: #e6b800;
}
i.error{
    color: #cc0000;
}
.line-through{
    text-decoration: line-through;
}

/*#gain-histogram, #loss-histogram{*/
#histogram{
    max-width: 550px;
}
/*#gain-histogram svg, #loss-histogram svg{*/
#histogram svg{
    display: block;
}

tr.group,
tr.group:hover {
    background-color: #ddd !important;
}

#_ideogramInnerWrap{
    overflow: auto !important;
}

a.collapse-link[aria-expanded="true"]:before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    content: "\f068";
}
a.collapse-link[aria-expanded="false"]:before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    content: "\f067";
}

#bqstm{
    max-height: 50vh;
}

button.accordion-btn[aria-expanded=true]::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    content: "\f056";
}

button.accordion-btn[aria-expanded=false]::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    content: "\f055";
}

button.accordion-btn[aria-expanded=true]::after{
    content: "Hide Display Options";
}

button.accordion-btn[aria-expanded=false]::after{
    content: "Show Display Options";
    /*content: "Show Filters";*/
}
.d3tooltip {
    position: absolute;
    padding: 2px;
    font: 12px sans-serif;
    background: lightgrey;
    border: 0;
    border-radius: 8px;
    pointer-events: none;
}
.d3tooltip tr.gain{
    background-color: #808cf1;
}
.d3tooltip tr.loss{
    background-color: #ff9999;
}

.d3tooltip table td{
    padding: 1px 3px;
}

.tab-content-border{
    border-radius: 3px;
    border-top: none;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

#chr-imbal-table{
    width: 100% !important;
    /*font-size: small;*/
}

.nav-tabs .nav-link {
    border-color: #dee2e6 #dee2e6 #fff;
    background-color: rgba(0,0,0,.03);
    /*border-top: 1px solid #66afe9;*/
}
.nav-tabs .nav-link.active {
    border-top: 2px solid #66afe9;
}
#invalid_kary del{
    background-color: #ffe6d7;
}

/*.panel-title {*/
/*    font-family: Nunito;*/
/*}*/


@media only screen and (min-device-width: 300px) {
    .landing-tier1 {
        height: 600px;
    }

    #landing-tier1-layer3 {
        background-image: linear-gradient(to right, rgba(236, 236, 236, 1), rgba(236, 236, 236, 0.5));
    }

    #landing-tier1-layer4 {
        padding-left: 100px;
        padding-top: 185px;
    }

    .landing-card-text-1 {
        font-size: 2rem;
    }

    .landing-card-text-2 {
        font-size: 1.7rem;
    }

    .landing-card {
        margin: 1rem;
    }

    .footer {
        height: 8rem;
        margin-top: -8rem;
    }

}

@media only screen and (min-device-width: 365px) {
    .landing-tier1 {
        height: 500px;
    }

    #landing-tier1-layer4 {
        padding-top: 150px;
    }

}

@media only screen and (min-device-width: 540px){
    .landing-tier1 {
        height: 250px;
    }

    #landing-tier1-layer2 {
        background-position: 0 -150px;
    }

    #landing-tier1-layer4 {
        padding-top: 30px;
    }

    .landing-card {
        padding: 1rem 1.5rem;
        /*padding: 1.5rem;*/
    }

}

@media only screen and (min-device-width: 768px) and (max-device-width: 992px){

    #landing-tier1-layer4 {
        padding-left: 50px;
    }

    #landing-title1 {
        font-size: 2.2rem;
    }

    #landing-title2 {
        font-size: 1.8rem;
    }

    #landing-title-logo {
        height: 175px;
    }
    .landing-card-text-1 {
        font-size: 1.8rem;
    }
    .landing-card-text-2 {
        font-size: 1.2rem;
    }

    .footer {
        font-size: .9rem;
    }

}

@media only screen and (min-device-width: 1024px) {
/*@media only screen and (min-device-width: 1024px) and (max-device-height: 600px) {*/
    .landing-tier1 {
        height: 300px;
    }

    #landing-title1 {
        font-size: 2.3rem;
    }

    #landing-title2 {
        font-size: 1.3rem;
    }

    #landing-title-logo {
        height: 175px;
    }

    .landing-card {
        margin: -4rem .5rem 5rem .5rem;
        padding: 1.2rem .5rem;
    }

    .landing-card-text-1 {
        font-size: 1.2rem;
    }

    .landing-card-text-2 {
        font-size: .9rem;
        line-height: 1.3rem;
    }

    .footer {
        height: 7rem;
        margin-top: -7rem;
    }
}

@media only screen and (min-device-width: 1200px) {
    .landing-tier1 {
        height: 450px;
    }

    #landing-tier1-layer4 {
        padding-left: 100px;
        padding-top: 100px;
    }

    #landing-tier1-layer2 {
        background-position: 0 -120px;
    }

    #landing-tier2 {
        height: 230px;
    }

    .landing-card-text-1 {
        font-size: 1.5rem;
    }

    .landing-card-text-2 {
        font-size: 1rem;
        line-height: 1.4rem;
    }
    .landing-card {
        margin: -7rem 1rem 5rem 1rem;
        padding: 1.5rem 1rem;
    }

}

@media only screen and (min-device-width: 1500px) {

    #landing-title1 {
        font-size: 3rem;
    }

    #landing-title2 {
        font-size: 1.6rem;
    }

    #landing-title-logo{
        height: 225px;
    }

    .landing-tier1 {
        height: 450px;
    }

    #landing-tier1-layer4 {
        padding-top: 6.5rem;
    }

    #landing-tier2 {
        height: 350px;
    }

    .landing-card-text-1 {
        font-size: 1.5rem;
    }

    .landing-card-text-2 {
        font-size: 1.3rem;
        line-height: 1.8rem;
    }

    .landing-card {
        margin: -5rem 1rem 5rem 1rem;
        padding: 1.8rem 1.3rem;
    }

}

@media only screen and (max-device-height: 599px) and (orientation: landscape) {
    .footer {
        margin-top: 0;
    }
}

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

table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:before, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:before, table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order:before, table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:before {
    font-size: .7em;
    font-family: 'SansSerif';
}
table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order:after, table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order:after, table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order:after, table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order:after {
    font-size: .7em;
    font-family: 'SansSerif;';
}
table.dataTable th .dt-column-title
{
    white-space: nowrap;
}

table.table.dataTable.table-striped>tbody>tr:nth-of-type(n).selected>* {
     box-shadow: inset 0 0 0 9999px #b0bed9;
}

table.table.dataTable>tbody>tr.selected > td {
    color: inherit;
}

table.table.dataTable>tbody>tr.selected>td >a {
    color: #364fd0;
}


table.dataTable th.dt-type-numeric div.dt-column-header,
table.dataTable td.dt-type-numeric div.dt-column-header {
    flex-direction: row;
}
#chr-imbal-table {
    border-collapse: collapse !important;
}
