.light-blue-extention {
    border-left: 5px solid var(--powder-blue);
    padding-left: 10px;
    margin-top: 1rem;
}

.abstract {
    line-height: 1.4em;
    max-height: 4.8em;
    overflow-y: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.abstract.expanded {
    max-height: none;
    overflow-y: visible;
    display: block;
    text-overflow: clip;
}

#carousel-structuregallery {
    visibility: hidden;
}

#carousel-structuregallery.ready {
    visibility: visible;
}

#carousel-structuregallery.no-transition .carousel-item {
    transition: none !important;
}

.carousel-control-prev,
.carousel-control-next {
    align-items: flex-start;
    padding-top: 5px;
    filter: invert(0);
    height: 50px;
}

.imageCarouselItem .btn-enlargeImage {
    display: block;
    position: absolute;
    right: 5px;
    top: 53px;
    z-index: 10;
    height: 25px;
}

/* overwrite for the ssp image carousel footer*/


.card-footer {
    background-color: var(--gray0);
    border-radius: 0 0 5px 5px;
    --bs-card-inner-border-radius: 0 0 5px 5px;
}

.carousel-footer {
    border-radius: 0 0 5px 5px;
}

.querySearchLink {
    /* font-weight: bold;
    text-decoration: underline; */
}




/* Added by Cole - handles the long LONG text on ligand summary tables */
.table-ligandsummary {
    width: 100%;
}

.table-ligandsummary th {
    width: 150px;
    max-width: 150px;
}

.table-ligandsummary td {
    width: 500px;
    max-width: 500px;
    word-wrap: break-word;
}

/* Product Primary Actions
-------------------------------------------------- */
#ProductPrimaryActions .btn-info {
    /* background-color: #337ab7; */
}

#DisplayFilesButton .dropdown-menu {
    /* width: 250px; */
}

#DownloadFilesButton .dropdown-menu {
    left: -140px;
    width: fit-content;
}

/* Carousel Structure Gallery
-------------------------------------------------- */
#structureimagesection {
    padding: 0;
    background-color: #f5f5f5;
}




.panel-body #carousel-structuregallery .carousel-header,
.panel-body .structuredata-header {
    background-color: var(--gray6);
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 8px 0;
}

.panel-body #carousel-structuregallery .carousel-header {
    position: absolute;
    top: 0;
    left: 0;
    padding: 14px 0;
    font-size: 15px;
}

.panel-body #carousel-structuregallery .carousel-footer,
.panel-body .structuredata-footer {
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 10px 15px;
}

.panel-body #carousel-structuregallery .item {
    background-color: white;
}

.panel-body #carousel-structuregallery .item img {
    padding: 55px 20px 0 20px;
}

.imageCarouselItem .btn-enlargeImage {
    display: block;
    position: absolute;
    right: 3px;
    top: 53px;
}

/* Legend */
.legendTitleContainer {
    padding: 3px 6px;
    position: absolute;
    top: 51px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    background: rgba(204, 204, 204, 0.85);
}

.abstract {
    line-height: 1.4em;
    max-height: 4.8em;
    overflow-y: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.abstract.expanded {
    max-height: none;
    overflow-y: visible;
    display: block;
    text-overflow: clip;
}

#macromoleculespanel .tab-content {
    border: 1px solid #ddd;
    border-top: none;
    padding: 5px 10px;
}


.scrollBar-PFV {
    padding-right: 10px;
    padding-left: 10px;
}

.scrollBar-PFV button {
    height: 34px;
}

.scrollBar-PFV span {
    height: 35px;
    padding: 5px 20px;
}

#MacromoleculeTable .externalannotation {
    background-color: #DB9128;
    color: #fff;
    border-bottom-width: 1px;
    font-weight: normal;
}

#MacromoleculeTable .externalannotation a {
    color: #23669e;
}





/* Structure Tabs
-------------------------------------------------- */
.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    color: #fff;
    cursor: default;
    background-color: #5E6973;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}

#structuretabs>li.active>a,
#structuretabs>li.active>a:hover,
#structuretabs>li.active>a:focus {
    background-color: #325880;
    border: 1px solid transparent;
    border-bottom: none;
}

#structuretabs {
    border-bottom: 5px solid #325880;
}

#structuretabs>li {
    margin-bottom: 0;
}

#structuretabs>li>a {
    background-color: #EFEDED;
    border-bottom: none;
}

#structuretabs .open a,
#structuretabs .open a:hover {
    border-color: transparent;
}



.secondaryheader h1 {
    float: left;
    margin-right: 10px;

}

.secondaryheader h4 {
    margin-top: 30px;
}

#entitynext {
    margin-top: 10px;
    background-color: #416D93;
}

#alternative2 .nav-tabs>li.active>a,
#alternative2 .nav-tabs>li.active>a:hover,
#alternative2 .nav-tabs>li.active>a:focus {
    color: #333;
    background-color: #E4E4E4;
    border-bottom-color: #ddd;
    ;
}

#alternative2 #structuretabs>li.active>a,
#alternative2 #structuretabs>li.active>a:hover,
#alternative2 #structuretabs>li.active>a:focus {
    background-color: #325880;
    color: #fff;
}

#alternative2 .panel-default>.panel-heading {
    color: #fff;
    background-color: #5E6973;
    border-color: #ddd;
}



.entityteaserpanel {
    margin-bottom: 15px;
}

#literaturepanel .nav-tabs>li,
#macromoleculespanel .nav-tabs>li {
    margin-bottom: 0;
}

#literaturepanel .nav-tabs,
#macromoleculespanel .nav-tabs {
    border-bottom: 5px solid #817F7F;
}

#literaturepanel .nav-tabs>li.active>a,
#literaturepanel .nav-tabs>li.active>a:hover,
#literaturepanel .nav-tabs>li.active>a:focus,
#macromoleculespanel .nav-tabs>li.active>a,
#macromoleculespanel .nav-tabs>li.active>a:hover,
#macromoleculespanel .nav-tabs>li.active>a:focus {
    color: #fff;
    background-color: #817F7F;
    /*	text-shadow: 0 1px 2px rgba(0,0,0,.6);*/
    border: 1px solid transparent;
    border-bottom: none;
}

.ellipsisToolTip {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 110px;
}

#literaturepanel .nav-tabs>li>a,
#macromoleculespanel .nav-tabs>li>a {
    background-color: #EFEDED;
    border-bottom: none;
}

.entitytitle {
    padding: 0 10px;
}

table tr td button {
    margin: 4px 1px;
}

table thead .externalannotation>th,
table .externalannotation tr th {
    background-color: #f0ad4e;
    color: #fff;
    border-bottom-width: 1px;
    font-weight: normal;
}

#entity h3 {
    font-size: 16px;
    background-color: #5E6973;
    color: #fff;
    border-color: #ddd;
    padding: 10px 15px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-weight: normal;
}

#structure h4 {
    padding-bottom: 0;
    border-bottom: 0;
}

#structure .secondaryheader h4 {
    padding-bottom: 0;
    border-bottom: 0;
}

#validationslider {
    /*	width: 360px;*/
    margin-bottom: 20px;
}

#changeorientation .pagination {
    margin: 5px 0 0 45px;
}

/* EXTRA */

.panel-default>.panel-heading {
    color: #fff;
    background-color: #5E6973;
    border-color: #ddd;
}

#experimentaldata-validation .experimentaldata {
    padding-left: 0;
}

/* MACROMOLECULE HIGHLIGHTS */
table .highlight td {
    background-color: #FFF2E0;
}

/* MACROMOLECULE HIGHLIGHTS */
table td ul {
    -webkit-padding-start: 15px;
}



#ligJSmol {
    height: 270px;
}


/* --------- DESKTOP AND ABOVE --------- */
@media print,
screen and (min-width: 992px) and (max-width: 1200px) {


    .verticalLine {
        border-left: none;
        border-top: 1px solid #e3e3e3;
        border-bottom: 1px solid #e3e3e3;
        margin-top: 10px;
        margin-bottom: 30px;
    }

}

/* --------- TABLET FORM FACTOR --------- */
@media screen and (min-width: 768px) and (max-width: 991px) {

    .verticalLine {
        border-left: none;
        border-top: 1px solid #e3e3e3;
        border-bottom: 1px solid #e3e3e3;
        margin-top: 10px;
        margin-bottom: 30px;
    }



}

/* --------- MOBILE PHONE FORM FACTOR --------- */
@media screen and (max-width: 767px) {

    #structuretabs {
        border: 0;
    }

    #structuretabs li {
        width: 100%;
    }

    #carousel-structuregallery .carousel-control .glyphicon-chevron-right {
        margin-right: -25px;
    }

    #summary .row .col-12 {
        padding: 0;
        margin-bottom: 10px;
    }

}