﻿
.carousel {
    margin: 0;
    padding: 0 20px 20px 20px;

}

.carousel-inner {
    height: 380px;
}

.carousel .item {
    text-align: center;
    overflow: hidden;
    align-content: center;
}

.img-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px;
    height: 120px;
}

.logo {
    max-height: 100px;
    max-width: calc(100% - 20px);
    margin: 10px;
}

.carousel-indicators li {
    background-color: grey;
}

.carousel-indicators li.active {
    background-color: black;
}

.gld-btn-group-sm {
    display: flex;
    justify-content: center;
}
.image-banner-wrapper {
    position: relative;
    width: 100%;
    height: 500px; /* Or whatever fits your design */
    overflow: hidden;
}

.image-banner-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* This positions your ORIGINAL button content block */
.banner-overlay-content {
    position: absolute;
    top: 0;              /* Move overlay to top of banner */
    left: 0;
    width: 100%;
    padding: 15px 0;     /* Add some padding at top and bottom if needed */
    text-align: center;
    transform: none;     /* Remove the centering transform */
    z-index: 2;
}
.gld-btn-group-sm a {
    background-color: #cfb991;
    border: 2px solid #8e6f3e;
    color: black;
    margin: 0 5px;
    font-family: "United Sans", Impact, "Arial Black", "sans serif", serif;
    border-radius: 0;
    font-weight: 700;
    font-size: 20px;
    padding: 5px 20px;
}

.gld-btn-group-sm a:hover {
    color: black;
    box-shadow: 0 .5em 1em -0.125em rgb(0 0 0 / 60%), 0 0 0 2px rgb(0 0 0 / 10%);
    transition: all .3s;
}

.banner-text {
    position: relative;
    top: 0px;
    bottom: 20px;
    margin-bottom: 80px;
    padding-left: 40px;
    padding-right: 40px;
    font-weight: bolder;
    font-size: 420%;
    width: 100%;
    line-height: 60px;
    color: white;
    z-index: 3;
    text-align: center;
    font-family: "United Sans", Impact, "Arial Black", "sans serif";
}

#service-banner {
    text-align: center;
    background-color: white;
    color: black;
}

.section-title {
    font-size: 280%;
    margin-bottom: 0;
    text-align: center;
    font-weight: bolder;
}

.section-sub-title {
    font-size: 120%;
    margin: 10px auto 0 auto;
    text-align: center;
    max-width: 900px;
}
.bottom-border {
    /*
    border-bottom: 6px solid #000;
    */
    /*
    float: left;
    */
    width: 100%;
    position: relative;
    z-index: 150;
}
.card-text > a {
    text-decoration: none;
    color: white;
    transition: all .5s;
}

.card-text > a:hover {
    color: #c5a563;
    transition: all .5s;
}

.card-img-top {
    cursor: default;
}

.short-hr {
    width: 100px;
    border-width: 5px;
    border-color: #c5a563;
}

.modal-text {
    margin-bottom: 8px;
}

.instructions_text {
    margin-bottom: 8px;
    font-weight: bold;
}

.modal-content {
    align-content: center;
}

.boilerconnect-img {
    max-width: 100%;
    border: 1px solid grey;
}

#service-banner div.card {
    font-size: 160%;
    font-weight: bold;
    background-image: url(https://purdue.edu/purdue/images/templateElements/2015/stripes-tile.png);
    background-repeat: repeat;
    color: white;
    border-radius: 0;
    border: none;
}

#service-desc {
    text-align: left;
}

.gold-btn-group a {
    font-family: "United Sans", Impact, "Arial Black", "sans serif";
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 0.5rem;
    background: #CFB991;
    border: 2px solid #8e6f3e;
    color: #000 !important;
    text-decoration: none;
    transition: all ease 0.2s;
    letter-spacing: 0.05em;
    width: 100%;
    position: relative;
    line-height: 1.4;
}


.gold-btn-group-1 a {
    font-family: "United Sans", Impact, "Arial Black", "sans serif";
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 0.5rem;
    background-image: url(https://purdue.edu/purdue/images/templateElements/2015/stripes-tile.png);
    border: 2px solid #8e6f3e;
    color: white !important;
    text-decoration: none;
    transition: all ease 0.2s;
    letter-spacing: 0.05em;
    width: 100%;
    position: relative;
    line-height: 1.4;
}
.gold-btn-group-1 a:hover {
    box-shadow: 0 .5em 1em -0.125em rgb(0 0 0 / 60%), 0 0 0 2px rgb(0 0 0 / 10%);
    transition: all .3s;
}

.gold-btn-group a:hover {
    box-shadow: 0 .5em 1em -0.125em rgb(0 0 0 / 60%), 0 0 0 2px rgb(0 0 0 / 10%);
    transition: all .3s;
}

.top-left-banner {
    border: 5px solid black;
}

.banner-container {
    position: relative;
    width: 100vw; /* full viewport width */
    height: 300px; /* adjust height as needed */
    background-image: url('~/Content/Home/revisedHomepageBanner.png');
    background-size: cover; /* cover full container */
    background-position: center; /* center the image */
    background-repeat: no-repeat;
    display: flex;
    align-items: center; /* vertical center text */
    justify-content: center; /* horizontal center text */
}

.side-btn-group {
   /* display: flex; !* already inline style, better to move to CSS *!*/
    /*
    flex-direction: row; !* change from column to row *!
    */
    gap: 10px; /* spacing between buttons */
    /*
    height: auto; !* adjust if needed *!
    */
    width: 100%; /* full width container */
}

.side-btn-group a {
    flex: 1 1 0; /* each link takes equal width */
    display: flex;
    height: 100%; /* keep full height if you want */
    background-image: url(https://purdue.edu/purdue/images/templateElements/2015/stripes-tile.png);
    background-repeat: repeat;
    color: white;
    font-weight: bold;
    font-size: 200%;
    align-items: center; /* center content vertically */
    justify-content: center; /* center content horizontally */
    text-decoration: none;
    transition: all 0.5s;
}

.side-btn-group a:hover {
    color: #c5a563;
    transition: all .5s;
}


.purdue-sub-header {
    font-family: "United Sans", Impact, "Arial Black", "sans serif";
    font-weight: 950;
    font-size: 1.875rem;
    color: #8e6f3e;
    text-transform: uppercase;

}


.card {
    text-align: center;
    max-height: 500px;
    overflow-y: auto;
    border-radius: 0;
    padding: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.accordion .card {
    text-align: start;
}

.expand-service-btn:hover {
    cursor: pointer;
}

.card-body {
    display: block;
}

.card-text {
    font-family: "United Sans", Impact, "Arial Black", "sans serif";
    text-decoration: none;
    text-align: left;
    cursor: pointer;
}

a {
    color: grey;
}

a:hover {
    text-decoration: none;
    color: #727272;
}

.canvas-container {
    display: none;
}

.donut-inner {
    height: 50px;
    position: absolute;
    top: calc(50% - 35px);
    line-height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.doughnut-chart > canvas {
    margin: 0 50px;
}

.doughnut-container a {
    font-weight: bold;
    font-size: 14pt;
    color: black;
}

.instagram {
    display: flex;
    align-items: stretch;
    flex-direction: column
}

section h3 {
    font-family: "United Sans", Impact, "Arial Black", "sans serif";
    font-weight: 700;
    font-size: 1.25rem;
    color: #727272;
}

#inside-tracks-list {
    height: 560px;
    column-gap: 10px;
    row-gap: 10px;
}

.inside-track {
    position: relative;
    flex-grow: 1;
    width: calc(50% - 5px);
    cursor: pointer;
}

.inside-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.inside-track:hover {
    transition: 0.25s;
    transform: translateY(-0.3em);
    box-shadow: 0px 3px 5px black;
    text-decoration: underline;
}

.inside-track .inside-track-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column-reverse;
    align-content: flex-end;
    color: #fff;
    font-family: United Sans, Impact, Arial Black, sans serif, serif;
    background: rgb(0, 0, 0, 0);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    word-wrap: break-word;
    padding-bottom: 10px;
    text-decoration: inherit;
}

.inside-track .inside-track-title:hover {
    background: rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.inside-track .inside-track-title span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    align-self: center;
    width: 90%;
    background-color: black;
    color: white;
    padding: 4px;
}

@media only screen and (max-width: 992px) {
    .donut-inner {
        height: 50px;
        top: calc(50% - 35px);
        line-height: 50px;
        font-size: 2rem;
    }

    .doughnut-chart > canvas {
        margin: 0 20px;
    }
}

@media only screen and (max-width: 768px) {
    .canvas-container {
        display: block;
        padding: 0 20px;
    }

    .doughnut-container {
        display: none;
    }

    #service-banner div.card {
        margin-bottom: 10px;
    }

    .card-text {
        width: 100%;
        text-align: center;
    }

    .card-img-top {
        display: none;
    }
}

@media only screen and (max-width: 620px) {
    .banner-text {
        top: 20px;
        padding-left: 30px;
        font-size: 250%;
        max-width: 100%;
        line-height: 40px;
        margin-bottom: 25px
        
    }
}

@media only screen and (max-width: 440px) {
    .banner-text {
        top: 10px;
        padding-left: 20px;
        font-size: 220%;
        width: 100%;
        line-height: 35px;
        margin-bottom: 20px;
        padding-right: 20px;
    }

    .card-text {
        font-size: 80%;
    }

    .card-body {
        padding: 5px;
    }


    .img-container {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 10px;
        height: 70px;
    }

    .logo {
        max-height: 50px;
        max-width: calc(100% - 20px);
        margin: 10px;
    }

    .carousel-inner {
        height: 230px;
    }

    .inside-tracks-list {
        height: 90%;
    }

    .inside-track {
        width: 100%;
    }

    .inside-track:nth-last-child(-n + 2) {
        display: none;
    }
}