/* Stylesheet used for the study phases partial view used on the Our Research page

/* Position the image container (needed to position the left and right arrows) */
.phase-container {
    position: relative;
    background-color: #000;
    padding: 2rem 2rem 2rem 2rem;
    width: 100%;
    margin: auto;
    border-radius: 1.5rem;
}

/* the prev and next buttons are <a> tags, so need to override color */
.phase-container > a {
    color: #000!important;
}
.phase-container > a:hover {
    color: #ddd!important;
}

.phaseinfo-part {
    height: 75%;
    display: block;
    border-radius: 0.5rem;
}

/* Hide the images by default */
div.phase-container > .myPhases {
    display: none;
    max-height: 400px;
}

.phase-container > .phaseinfo-part > .myPhases img {
    width:100%;
    max-width:100%;
    height:10rem!important;
    max-height:400px;
    border-style:none;
    object-fit:cover;
}

/* Next & previous buttons */
.phase-container .prev,
.phase-container .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    margin-left: -2rem;
    color: white!important;
    font-weight: bold;
    font-size: 20px;
    user-select: none;
    -webkit-user-select: none;
}

.phase-container .prev {
    border-radius: 0 10px 10px 0;
}
.phase-container .next {
    border-radius: 10px 0 0 10px;
}

/* On hover, add a black background color with a little bit see-through */
.phase-container .prev:hover,
.phase-container .next:hover {
    background-color: rgb(27, 189, 200, 0.8)
}

.w3-badge {
    background-color: #000;
    color: #fff;
    /*display: inline-block;*/
    display:none;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
    height: 13px;
    width: 13px;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
}
.w3-border {
    border: 1px solid #777!important;
}
.w3-white {
    color: #000!important;
    background-color: #fff!important;
}
.w3-white:hover {
    color: #000!important;
    background-color: #fff!important;
}
.w3-hover-white:hover {
    background-color: #ccc;
}
.w3-transparent, .w3-hover-none:hover {
    background-color: transparent;
}

.fun-fact {
    background: var(--ApexBlue);
    color: white;
    border-radius: 1rem;
    padding: 1rem;
}

.thumb-row {
    height:25%;
    max-height:150px;
    text-align: center;
}
.thumb-row:after {
    display: table;
    clear: both;
}