/* CSS Document */
#masthead-homelink:link,
#masthead-homelink:visited {
    font-size: 200%;
    color: #006f9a;
}
div.masthead-login {
    width: 150px;
    text-align: center;
    float: right;
    margin-top: 3px;
    padding: 5px;
    background-color: #50b949;
    border-radius: 5px;
}
div a.masthead-login {
    color: white;
}
#nav-capsonline,
#nav-capsonline-mobile,
#nav-capsonline-mobile-switch {
    background-color: #006f9a;
    border-bottom: 4px solid #84a73f;
}
#nav-capsonline.nav #nav-list li ul {
    background-color: #006f9a;
}
#home-top_panel {
    position: relative;
    background-image: url('../capsonline/images/March_23_2018_WEB_RES_0297.jpg');
    background-position: left 20%;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 300px;
}
#home-top_panel-inset_image {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 150px;
    height: auto;
}
h2 {
    text-align: center;
    margin-top: 30px;
}
#login-btn {
    text-align: center;
}
#more-info-contact {
    display: flex;
    margin-top: 30px;
    background-color: #2995bc;
    color: #fff;
    font-size: 120%;
    padding: 20px 40px;
    border-radius: 10px;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
}
#more-info-contact a:link,
#more-info-contact a:visited {
    color: #fff;
}
.topic-panel {
    float: left;
    width: 50%;
    min-height: 300px;
    text-align: center;
    position: relative;
    padding: 10px;
}
#topic-panel-right {
    float: right;
}
.topic-panel .topic-description {
    margin: 20px 0px 10px;
    padding: 0px 30px;
    min-height: 60px;
}
.topic-links {
    list-style: none;
    text-align: center;
}
.topic-links li {
    padding: 4px 0px;
}
.topic-divider {
    position: absolute;
    top: 35px;
    right: 0px;
    height: 500px;
    border-right: 1px solid #ccc;
}
.announcement-cta:link,
.announcement-cta:visited {
    display: block;
    float: right;
    font-size: 130%;
    margin: 0px 0px 0px 30px;
    padding: 20px 20px 30px 20px;
    text-align: center;
    border-radius: 8px;
    background-color: #84a73f;
    color: #fff;
}
.announcement-cta:hover {
}
.announcement-button-wrapper {
    display: flex;
}
.announcement-title-body-wrapper {
    flex: 4;
}
.announcement-button-wrapper a {
    color: #fff;
    font-size: 120%;
}
.promo-btn-wrapper {
    flex: 2;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.promo-btn {
    display: inline-block;
    min-width: 180px;
    margin: 10px;
    background-color: #84a73f;
    font-size: 130%;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    color: #fff;
}
.promo-btn-text {
    font-size: 150%;
}
#team-description {
}
#cdsc-credits {
    font-style: italic;
}
#special-feature {
    font-size: 110%;
}
#special-feature li {
    padding: 6px;
}
.landing-announcement {
    /*border-bottom:4px solid #006F9A;*/
    border-top: 2px solid #006f9a;
    padding: 16px 8px;
}
.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.popup-content h2 {
    display: flex;
}
.popup-content iframe {
    display: flex;
}
#tutorial-break {
    border-bottom: 4px solid #006f9a;
    padding: 10px;
}
/* #first-more-info {
    border-right: 2px solid #fff;
} */

.home {
    padding: 10px;
    border-bottom: 4px solid #006f9a;
}
#home-content {
    max-width: 1200px;
    margin-inline: auto;
}
.card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 550px;
    padding: 16px;
    background-color: #f6fced;
    border-radius: 5px;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
}
.card-title {
    font-size: 150%;
    text-align: center;
}
.card-description {
    font-size: 120%;
    text-align: center;
}
.card-thumbnail-wrapper {
    text-align: center;
    position: relative;
}
.card-thumbnail-wrapper img {
    width: 80%;
    height: auto;
    padding: 1rem;
}
.play-button-container {
    width: 75px; /* Width of the button */
    height: 75px; /* Height of the button */
    background-color: #00000042; /* Background of the play button */
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%; /* Makes the container circular */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.play-button-container:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 0 20px 30px; /* Adjust size of play triangle */
    border-color: transparent transparent transparent white; /* Triangle color */
    position: absolute;
}
@media screen and (max-width: 700px) {
    #more-info-contact {
        flex-direction: column;
        font-size: 1.2rem;
    }
    #first-more-info {
        border-bottom: 2px solid #fff;
        border-right: none;
        padding-bottom: 1.5rem;
    }
    div#more-info-contact {
        width: auto;
    }
}
@media screen and (max-width: 768px) {
    .card-wrapper {
        display: flex;
        flex-direction: column;
    }
    .card {
        max-width: none;
        width: 95%;
    }
    .announcement-button-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .promo-btn {
        font-size: 100%;
        padding: 10px;
    }
    .promo-btn-text {
        font-size: 100%;
    }
}
