﻿/**MB**/


.select-hint-mob {
    display: none;
}

@media(max-width: 768px) {
    .select-hint-mob {
        display: flex;
    }
}

.Chromosome-X svg, .Chromosome-Y svg {
    width: 70px !important;
}

.a-count, .b-count{
    font-size: 18px;
}

.gene-info-head {
    display: none;
}

.accord .heading h2 {
    font: bold 24px/30px 'OGT Raleway';
}

.select-hint {
    display: flex;
    text-align: center;
    margin-top: 100px;
}

.select-hint h2, .select-hint-mob h3{
    color: #575786;
}

.scroll-to-top {
    position: sticky;
    bottom: 30px;
    float: right;
    height: 50px;
    width: 50px;
    right: 30px;
    margin-bottom: 30px;
    cursor: pointer;
    background: url("../../../Umbraco/assets/icons/ogt-arrow_down.svg");
    background-size: contain;
}

.scroll-up {
    background: url("../../../Umbraco/assets/icons/ogt-arrow_up.svg");
    background-size: contain;
}

.chromo-left {
    position: relative;
    height: 100%;
}

.NGSpicker .chromosome-search-index li a {
    background-color: #FEC20E;
}

.chromo-selector svg {
    width: 60px;
    display: block;
    height: auto;
}



.summary-cont {
    min-height: 120px;
    margin-top: 10px;
    margin-bottom: 3%;
}

.chromosome-section .accord-dropdown:after {
    content: url('../Images/icon-minus.svg');
    width: 40px;
    height: 40px;
    position: absolute;
    right: 6px;
}

.chromosome-section .collapsed:after {
    content: url('../Images/icon-plus.svg');
    width: 40px;
    height: 40px;
    position: absolute;
    right: 6px;
}

.accord-dropdown .heading {
    display: flex;
    justify-content: space-between;
}

.selected-chromo svg {
    filter: invert(0.4) sepia(1) saturate(1.8) hue-rotate(133.2deg) brightness(1);
} 

.chromo-selector svg:hover {
    filter: invert(0.4) sepia(1) saturate(1.8) hue-rotate(133.2deg) brightness(1);
}

.sum-source {
    color: #57A077;
    font-weight: bold;
    display: inline;
}

.accord-content a {
    text-decoration: underline !important;
    color: #57A077;
    font-weight: bold;
}

.accord {
    border-bottom: 3px solid #4FBBBC;
    margin-bottom: 40px;
}

.accord-item {
    border-top: 3px solid #4FBBBC;
    padding-bottom: 15px;
}

.accord-dropdown {
    display: inline-block;
    width: 100%;
    padding-top: 15px;
}

.chromo-selector {
    cursor: pointer;
}
#arm-b-cont, #arm-a-cont {
    display: none;
}
.chromo-row-1 {
    display: flex;
}

.green-btn {
    background-color: #57a077;
    display: inline-block;
    text-align: center;
    color: #fff;
    padding: 20px;
    transition: .2s all linear;
}

.green-btn:hover {
    opacity: .8;
}

.chromo-img-cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 11em;
}
@media(max-width: 768px) {
    .chromo-title {
        text-align: center;
    }

    .select-hint {
        display: none;
    }

    .request-btn {
        display: none;
    }
}

/**MB**/
.chromo-row-1 .heading {
    width: auto;
}

.chromosome-search-index {
    clear: both;
    padding: 5.75rem 0 2rem;
}
.chromosome-search-index .heading,
.chromosome-search-index .heading h2{
    float: none;
}
.chromosome-search-index ul{
    display: flex;
    flex-wrap: wrap;
    clear: both;
    margin: 2.2rem -.625rem 4rem;
}
    .chromosome-search-index li {
        display: block;
        padding: .625rem;
    }
        .chromosome-search-index li a {
            display: flex;
            background: #FF3D9E;
            color: #fff;
            font-size: 16px;
            font-weight: bold;
            width:4.813rem;
            height: 2.688rem;
            flex-direction: column;
            justify-content: center;
            text-align: center;
        }
            .chromosome-search-index li span {
                display: block;
            }
            .chromosome-search-index li span:first-child {
            position: absolute;
            left: -99999px;
            top: -99999px;
            max-width: 5rem;
            max-height: 5rem;
            overflow: hidden;
        }
        .chromosome-search-index li.selected a {
            background: #585786;
        }

.chromosome-key {
    background: #f5f6ff;
    padding: 1.25rem 2.625rem 0;
    margin-bottom: 3.55rem;
    display: flex;
}
    .chromosome-key .heading {
        width: auto;
        margin-bottom: 1.25rem;
        display: flex;
        align-items: center;
        flex-grow: 0;
        flex-shrink: 0;
        align-items: flex-start;
    }
        .chromosome-key .heading h2 {
            font-size: 25px;
            margin-top: .2rem;
        }
    .chromosome-key .key-items {
        display: flex;
        flex-wrap: wrap;
        flex-grow: 1;
    }
    .chromosome-key .key-item {
        display: flex;
        align-items: center;
        margin-bottom: 1.25rem;
        padding-left: 2rem;
    }
        .chromosome-key .key-item div {
            display: flex;
            align-items: center;
            font-size: 21px;
            line-height: 1;
            color: #585786;
            font-weight: bold;
        }
    .chromosome-key .key-letter,
    .chromosome-search-table .key-letter{
        background: #585786;
        width: 3rem;
        height: 3rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 1.5rem;
        color: #fff;
        text-align: center;
        font-size: 25px;
        font-weight: bold;
        margin-right: .5rem;
        flex-grow: 0;
        flex-shrink: 0;
    }

        .chromosome-key .key-letter:last-child,
        .chromosome-search-table .key-letter:last-child {
            margin-right: 1rem;
        }

        .chromosome-search-details {
            display: flex;
            margin-bottom: 80px;
        }
.chromosome-search-table {
    min-width: 0;
    font-size: 18px;
    font-weight: bold;
    color: #585786;
    line-height: 1.3;
    width: 100%;
}

    .chromosome-search-table th,
    .chromosome-search-table td {
        border-bottom: 2px solid #ff3d9e;
        padding: 1rem .688rem;
    }
    .chromosome-graphic h2,
    .chromosome-search-table th {
        font-size: 25px;
        color: #575786;
        padding-bottom: 3.1rem;
    }

        .chromosome-search-table td > a {
            display: flex;
            align-items: center;
            color: #585786;
        }
        .chromosome-search-table td > a > span {
            display: block;
            flex-grow: 0;
            flex-shrink: 0;
        }
        .chromosome-search-table td > a > span.probe-name {
            flex-grow: 1;
            flex-shrink: 1;
        }
        .chromosome-search-table td > a > span.view-link {
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16.014" height="12.009" viewBox="0 0 16.014 12.009"><defs><style>.cls-1{fill:none;stroke:%23585786;stroke-miterlimit:10;stroke-width:1.5px}</style></defs><g id="arrow_white_small" data-name="arrow white small" transform="translate(0 .005)"><path id="Path_609" d="M10 11.5L15 6 10 .5" class="cls-1" data-name="Path 609"/><path id="Line_1169" d="M15 0L0 0" class="cls-1" data-name="Line 1169" transform="translate(0 6)"/></g></svg>') no-repeat 1rem .313rem;
            padding-left: 2.5rem;
            display: none;
        }

    .chromosome-search-table .key-letters {
        display: flex;
    }

    .chromosome-search-table .highlight {
        background: #ffebf5;
    }

    .chromosome-search-table .product {
        transition: 200ms background-color
    }

.chromosome-graphic {
    display: none;
    padding-top: 1.5rem;
    width: 162px;
    flex-shrink: 0;
    position: relative;
}

@media (min-width:560px) {
    .chromosome-search-table td > a > span.view-link {
        display: block;
    }
}

@media (min-width: 850px) {
    .chromosome-search-table .regions-cell {
        display: none;
    }
    
    .highlight .cell-link {
        position: relative
    }

        .highlight .cell-link::before {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="18"><path d="M23 1.9C23 .23 24.22-.47 25.71.34l13.17 7.18c1.49.81 1.49 2.14 0 3l-13.17 7.14c-1.49.81-2.71.11-2.71-1.57z" fill="%23585786"/><path stroke="%23585786" stroke-width="2" d="M25.5 9H0"/></svg> ');
            background-position: right bottom;
            background-repeat: no-repeat;
            content: "";
            display: block;
            height: 20px;
            position: absolute;
            left: -54px;
            top: 10px;
            width: 41px;
        }

    .chromosome-graphic {
        display: block;
        position: -webkit-sticky;
        position: sticky;
        top: 45px;
        align-self: flex-start;
    }
        .chromosome-graphic svg {
            display: block;
            height: auto;
            margin-left: 20px;
            overflow: visible;
            width: 60px
        }
        .chromosome-graphic svg[data-title='X'],
        .chromosome-graphic svg[data-title='Y'] {
            width: 70px
        }

    .highlight > *,
    rect.highlight {
        fill: #ff3d9e;
    }

    #Sections [id] > *, #Sections [data-name] > * {
        cursor: pointer;
        transition: 200ms fill
    }

    #Sections rect[data-name] {
        cursor: pointer;
        transition: 200ms fill
    }

    #Sections [id*='Shading'] {
        pointer-events: none
    }

    #bars {
        bottom: 0;
        position: absolute;
        right: 0;
        top: 5rem;
        width: 82px;
    }

    #divider {
        background: #585786;
        left: 50%;
        margin-left: -1px;
        position: absolute;
        width: 2px
    }

    .bar {
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="18"><path d="M17 16.1c0 1.67-1.22 2.38-2.71 1.56L1.12 10.48c-1.49-.81-1.49-2.14 0-3L14.29.34C15.78-.47 17 .23 17 1.9z" fill="%23585786"/><path stroke="%23585786" stroke-width="2" d="M14.5 9H40"/></svg>');
        background-position: left center;
        background-repeat: no-repeat;
        height: 20px;
        position: absolute
    }

    .bar_title {
        font-size: 21px;
        font-weight: bold;
        color: #ba2d73;
        position: absolute;
        right: 115px
    }
}

@media (min-width: 992px) {
    /*.chromosome-key .heading {
        width: 33%;
    }
    .chromosome-key .key-item {
        width: 50%;
    }*/
}

@media (min-width:1100px) {
    .chromosome-graphic {
        width: 220px;
    }
    .chromosome-graphic svg {
        margin-left: 70px;
    }
}

@media (min-width:1200px) {
    .chromosome-graphic {
        width: 322px;/*295px; +27*/
    }

    .chromosome-graphic svg {
        margin-left: 112px;/*88px;*/
    }

    #bars {
        right: 29px;
    }

    .highlight .cell-link::before {
        left: -81px;
    }

    .bar_title {
        right: 170px;
    }
}