﻿/* --------------------------------------------------------------------------*\
    Capabilities Page

    Page-specific styles for capabilities pages including R&D 
    and Network Support
\* --------------------------------------------------------------------------*/

#toTop {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 60px; /* Place the button at the bottom of the page */
    right: 8px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    cursor: pointer; /* Add a mouse pointer on hover */
}

.toTop_container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .toTop_container div {
    cursor: pointer;
  }
    .toTop_container div:hover {
        background-color: rgb(48, 48, 48);
    }
    
  .upArrow1 {
    width: 45px;
    height: 45px;
    margin: 30px;
    background: rgba(70, 70, 70, 0.651);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px; /* Rounded corners */
  }
  
  .upArrow1::before {
    content: "";
    width: 15px;
    height: 15px;
    margin-top: 3px;
    border-top: 3px solid white;
    border-left: 3px solid white;
    position: absolute;
    transform: rotate(45deg);
  }
  
#contact-btn {
    display: block;
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 41px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    outline: none; /* Remove outline */
    color: var(--text-color); /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    border: none;
    transition: all 0.5s;
    text-decoration: none;
}

    #contact-btn a {
        color: var(--text-color); /* Text color */
        padding: 15px; /* Some padding */
        border-radius: 8px; /* Rounded corners */
        text-decoration: none;
    }

    #contact-btn:hover {
        background: var(--mits-blue);
    }

#wcb-logo {
    height: 100px;
    width: 200px;
    margin: 0px auto;
}

    #wcb-logo div {
        background-image: var(--wcb-logo-link);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        height: 100%;
        width: 100%;
    }

/* 
 * Carousel 
 */
#album-rotator {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    word-break: keep-all;
    padding: 2rem 0;
}

#album-rotator-holder {
    position: relative;
    user-select: none;
    will-change: transform;
    transition: all 0.01s ease-out;
    transition: all 0.01s linear;
}

#album-rotator:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(-90deg, var(--bkg-color) 5%, transparent 40%);
}

.album-item {
    word-break: keep-all;
    box-shadow: 0 2px 30px rgba(0,0,0,0.5);
    position: relative;
    width: 20vw;
    -webkit-user-drag: none;
    height: 40vh;
    user-select: none;
    border-radius: 10px;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    margin: 0 3rem 0 0;
    transition: all 0.2s ease-out;
    transform: scale(1);
    box-sizing: border-box;
}

    .album-item img {
        object-fit: cover;
        object-position: center center;
        height: 100%;
    }

    .album-item:hover {
        transform: scale(1.02);
        border: 2px solid var(--border-color);
    }

.album-details {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
    padding: 1rem;
    white-space: initial;
    float: left;
    box-sizing: border-box;
    color: white;
    height: 100%;
    font-size: 2.5rem;
    font-weight: 600;
    z-index: 99;
}

.bar {
    background-color: #060606;
    display: none;
    height: 2px;
    left: 20px;
    margin: 10px auto;
    position: absolute;
    top: 100px;
    transition: all 0.3s ease-in-out;
    width: 2em;
    -webkit-transition: all 0.3s ease-in-out;
}

.card-img {
    height: 100%;
    width: 80%;
    border-radius: 5%;
}

.card-img-holder {
    height: 120px;
    width: 13vw;
    position: absolute;
    top: 130px;
    text-align: center;
}

.carousel-container2 {
    position: absolute;
    height: 300px;
    width: 80%;
    top: 60px;
    left: calc(10%);
    display: flex;
}

.carousel-nav {
    height: 100%;
    width: 100%;
}

    .carousel-nav button {
        background-color: transparent;
        box-shadow: none;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        transform: rotate(270deg);
        cursor: pointer;
        padding: 10px;
    }

    .carousel-nav .prev {
        left: 50px;
        transform: rotate(90deg);
        display: none;
    }

        .carousel-nav .prev.show {
            display: block;
        }

    .carousel-nav .next {
        right: 50px;
    }

        .carousel-nav .next.hide {
            display: none;
        }

.carousel-card {
    display: flex;
    height: 280px;
    width: 40vw;
    background-color: #15191c;
    border-radius: 10px;
    box-shadow: -1rem 0 3rem #000;
    transition: 0.4s ease-out;
    position: relative;
    left: 0px;
    cursor: pointer;
}

    .carousel-card:hover .filledbar {
        width: 120px;
        transition: 0.4s ease-out;
    }

    .carousel-card:hover .stroke {
        stroke-dashoffset: 100;
        transition: 0.6s ease-out;
    }

    .carousel-card:not(:first-child) {
        margin-left: -50px;
    }

    .carousel-card:hover {
        transform: translateY(-20px);
        transition: 0.4s ease-out;
        border: solid 2px var(--mits-light-green);
    }

        .carousel-card:hover ~ .card {
            position: relative;
            left: 50px;
            transition: 0.4s ease-out;
        }

.carousel-title {
    color: white;
    position: absolute;
    left: 20px;
    top: 15px;
    font-size: 1em;
}

.filledbar {
    position: absolute;
    top: 0px;
    z-index: 3;
    width: 0px;
    height: 100%;
    background: rgb(0,154,217);
    background: linear-gradient(90deg, rgba(0,154,217,1) 0%, rgba(217,147,0,1) 65%, rgba(255,186,0,1) 100%);
    transition: 0.6s ease-out;
}

.emptybar {
    background-color: #2e3033;
    width: 100%;
    height: 100%;
}

.icon {
    font-size: 1rem;
    line-height: 1rem;
    display: block;
    padding: 0 0 0.5rem 0;
}

.title {
    display: inline-block;
    width: 100%;
    font-size: 1.5rem;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    text-shadow: 0 0 40px #000000, 0px 0px 30px rgb(0 0 0);
    font-family: "banker_squarebold";
    line-height: 1em;
}

section.responsive-list {
    visibility: hidden;
    cursor: pointer;
}
section.responsive-list ul{
    background-color: rgb(32, 32, 32);
    width: 100%;
    padding: 5px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 10px;
}
section.responsive-list li {
    padding: 5px;
    list-style:none;
    padding-left: 20px;
}
    section.responsive-list li:hover {
        border: 2px solid var(--mits-light-green);
        border-radius: 7px;
        z-index: -1;
    }

section.responsive-list a{
    display: block;
    text-decoration: none;
    color: white;
    width:100%;
}
    section.responsive-list a:hover{
        display: block;
    }

/* 
 * Network Support 
 */
.accent-background {
    background-color: var(--accent-color);
}

/* 
 * Research and Development  
 */
#academic {
    background-image: var(--academic-icon-link);
}

#blue-tech {
    background-image: var(--bluetech-icon-link);
}

#cybersecurity-bg {
    position: relative;
    background-image: linear-gradient(rgb(32 33 36 / 50%), rgb(32 33 36 / 50%)), url(/Images/Capabilities/Capabilities_CyberSecurity-1200x800.jpg);
    background-size: cover;
    background-position: center
}

#driver-safety {
    background-image: var(--safety-icon-link);
}

#gridColumns4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));
    justify-content: space-around;
    flex-flow: column wrap;
    object-fit: contain;
}

    #gridColumns4 ul {
        margin: 25px 10px;
        padding: 0px;
    }

#hardware-bg {
    background-image: url(/Images/R&D/hardware-bg.png);
    background-position-x: 25%;
}

#health-safety {
    background-image: var(--safety-icon-link);
}

#professional-associations {
    background-image: var(--professionalassoc-icon-link);
}

#mlai-bg {
    position: relative;
    background-image: linear-gradient(rgb(32 33 36 / 50%), rgb(32 33 36 / 50%)), url(/Images/Capabilities/Capabilities_MLAI-1200x675.jpg);
    background-size: cover;
    background-position: center
}

#mobile-maintenance-bg {
    background-image: url(/Images/R&D/mmcs-bg-1280x724.jpg);
    background-position-x: 60%;
}

#network-support-bg {
    background-image: linear-gradient(rgb(32 33 36 / 50%), rgb(32 33 36 / 50%)), url(/images/Capabilities/networking-1200x675.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

#innovation-bg {
    position: relative;
    background-image: linear-gradient(rgb(32 33 36 / 50%), rgb(32 33 36 / 50%)), url(/Images/Capabilities/r&d-2-1200x675.jpg);
    background-size: cover;
    background-position: center
}

#hardware-bg {
    position: relative;
    background-image: linear-gradient(rgb(32 33 36 / 50%), rgb(32 33 36 / 50%)), url(/Images/Capabilities/hardware-capabilities-1200x675.jpg);
    background-size: cover;
    background-position: center
}

#science-entre {
    background-image: var(--science-icon-link);
}

#score-snairs-bg {
    background-image: url(/Images/R&D/BinaryStyleBlocksBlueBackground-1280x720.jpg);
}

#training-bg {
    position: relative;
    background-image: linear-gradient(rgb(32 33 36 / 50%), rgb(32 33 36 / 50%)), url(/Images/Capabilities/Capabilities_training-1200x675.jpg);
    background-size: cover;
    background-position: center
}

#vet-career-adv {
    background-image: var(--advancement-icon-link);
}

#wireless-communication-bg {
    position: relative;
    background-image: linear-gradient(rgb(32 33 36 / 50%), rgb(32 33 36 / 50%)), url(/Images/Capabilities/WCB_WorkOnAShip.jpg);
    background-size: cover;
    background-position: center
}


#CNRMC-logo {
    margin-right: 4em;
}

.affiliate-link:visited {
    color: var(--mits-blue);
}

.icon-container {
    width: 6vh;
    height: 6vh;
    margin: 0px auto;
}

    .icon-container > .icon-image {
        width: 100%;
        height: 100%;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }

.ul_affiliates {
    text-align: left;
}

.mt-250px {
    margin-top: 250px;
}

@media(max-width: 992px) {
    .mt-250px {
        margin-top: 0;
    }
}

@media(max-width: 1000px) {
    section.responsive-list {
        visibility: visible;
    }

    .carousel-container2 {
        visibility: hidden;
    }
}

/* score GSA video */
#score-video video {
    width: 100%;
    border-radius: 20px; /* Rounded corners */
    padding: 10px 10px 10px 10px;
}

@media (max-width: 992px) {

    #score-video {
        margin: 0px auto;
        width: 80%;
    }

        #score-video video {
            border-radius: 10px; /* Rounded corners */
        }
}
/* arrow common style */
.arrow {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
  }
  .arrow-right {
    transform: rotate(45deg);
  }