﻿/* add GI Army font files with weights and styles */
@font-face {
    font-family: 'GI-Army';
    font-weight: normal;
    font-style: normal;
    src: url("/Content/fonts/G.I.-400.woff2") format('woff2');
}

@font-face {
    font-family: 'GI-Army';
    font-weight: 530;
    font-style: normal;
    src: url("/Content/fonts/G.I.-530.woff2") format('woff2');
}

@font-face {
    font-family: 'GI-Army';
    font-weight: bold;
    font-style: normal;
    src: url("/Content/fonts/G.I.-700.woff2") format('woff2');
}

@font-face {
    font-family: 'GI-Army';
    font-weight: normal;
    font-style: italic;
    src: url("/Content/fonts/G.I.-400Italic.woff2") format('woff2');
}

@font-face {
    font-family: 'GI-Army';
    font-weight: 530;
    font-style: italic;
    src: url("/Content/fonts/G.I.-530Italic.woff2") format('woff2');
}

@font-face {
    font-family: 'GI-Army';
    font-weight: bold;
    font-style: italic;
    src: url("/Content/fonts/G.I.-700Italic.woff2") format('woff2');
}

:root {
    /* PRIMARY COLOR PALETTE */
    --army-gold: #FFCC01;
    --army-black: #221F20;
    --army-green: #2F372F;
    
    /* SECONDARY COLOR PALETTE */
    --army-tan: #F1E4C7;
    --army-field01: #727365;
    --army-field02: #BFB8A6;
    --army-grey01: #565557;
    --army-grey02: #D5D5D7;
    
    /* SPECIAL COLORS */
    --army-highlight-orange: #F16521;
    --army-highlight-green: #2DAA27;
    --army-highlight-red: #CF0000;
    
    
    /* FIXED NAVBAR HEIGHT */
    --sfl-navbar-max-height: 124px;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}


html {
    height: 100%;
}


body {
    height: 100%;
}

h2 {
    font-weight: bold;
}

ul.diamond {
    font-family: monospace;
    font-size: 1em;
    list-style: none;
    margin: 1em;
    padding: 0;
}

ul.diamond > li {
    margin: 0;
    margin-bottom: 1em;
    padding-left: 1.5em;
    position: relative;
}

ul.diamond > li::after {
    content: '';
    height: .4em;
    width: .4em;
    background: #ffc107;
    display: block;
    position: absolute;
    transform: rotate(45deg);
    top: .25em;
    left: 0;
}

ul.dash {
    list-style-type: none;
}

ul.dash > li {
    text-indent: -5px;
}

ul.dash > li:before {
    content: "-";
    text-indent: -5px;
}

.dynamicContainer > div:not(:first-child) {
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .dynamicContainer > div:not(:first-child) {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .dynamicContainer > div:not(:first-child) {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .dynamicContainer > div:not(:first-child) {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .dynamicContainer > div:not(:first-child) {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .dynamicContainer > div:not(:first-child) {
    max-width: 1320px;
  }
}


.proTip-Green {
    border-radius: 10px;
    background: #006400;
    background: -moz-linear-gradient(90deg, #006400 5%, #8FBC8F 5%);
    background: -webkit-linear-gradient(90deg, #006400 5%, #8FBC8F 5%);
    background: linear-gradient(90deg, #006400 5%, #8FBC8F 5%);
}

.proTip-Yellow {
    border-radius: 10px;
    background: #ffde08;
    background: -moz-linear-gradient(90deg, #ffde08 5%, #ffff08 5%);
    background: -webkit-linear-gradient(90deg, #ffde08 5%, #ffff08 5%);
    background: linear-gradient(90deg, #ffde08 5%, #ffff08 5%);
}

.breadcrumb-item::before {
    color: #FFFFFF !important;
}

.breadcrumb-item {
    color: #FFFFFF !important;
}

.imageCard {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 20px;
    max-height: 100px;
    /*padding: 4px;*/
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

/*Below code is for the search control in the banner */
.NavContainer {
    display: block;
    max-width: 900px;
    margin: auto;
    height: 100%;
    outline: none;
}

.search-container {
    overflow: hidden;
    float: right;
    height: 4em;
    width: 4em;
    border-radius: 2em;
    box-shadow: 0 0 5px #6A5D4F;
    -moz-transition: all 0.35s;
    -webkit-transition: all 0.35s;
}

.search-container:hover, .search-container:focus, .search-container:focus-within {
    width: 25em;
    border-radius: 5px 2em 2em 5px;
    outline: none;
}

.search-container:hover input, .search-container:focus input, .search-container:focus-within input {
    display: inline-block;
    width: 19em;
    padding: 10px;
}


.button {
    display: flex;
    align-items: center;
    justify-content: center;
    float: right;
    width: 1.75em;
    height: 1.75em;
    margin: 0.125em;
    background: #000;
    text-align: center;
    font-size: 2em;
    color: #000;
    border-radius: 50%;
    box-shadow: 0 -1px 1px rgba(255, 255, 255, 0.25), 0 1px 1px rgba(0, 0, 0, 0.25);
    text-shadow: 0 -2px 1px rgba(0, 0, 0, 0.3);
}

.button:active {
    border: 0 !important;
    text-shadow: 0 0 0;
}

.button svg {
    font-size: 85%;
}

/* End search control*/

/* ~~~~~~~~~~ Accordion Testing added by June Zheng 01/14/2024 ~~~~~~~~~~ */

.accordion-button {
   
    background: #E4E4E4;
    max-height: 3rem;
    font-weight: bold;
}  
  
.accordion-button:not(.active) {
    background-color: #E4E4E4 !important;
    color: #000000 !important;
    text-decoration: none !important;
    border: hidden !important;
    box-shadow: inherit;
    max-height: 3rem;
    
}

.accordion-button:active {
    background-color: var(--army-gold) !important;
    color: #000000 !important;
    text-decoration: none !important;
    border: hidden !important;
    box-shadow: inherit;
    max-height: 3rem;
   
}

.accordion-button:focus {
    box-shadow: inherit;
         
}

.accordion-button:hover {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    text-decoration: none !important;
    border: hidden !important;
    box-shadow: inherit;
    
}

.accordion-button:not(.collapsed) {
    background-color: var(--army-gold) !important;
    color: #000000 !important;
    text-decoration: none !important;
    border: hidden !important;
    box-shadow: inherit;
    max-height: 3rem;
}

.accordion-body {
    border: var(--army-gold) 3px solid;
  
}
 
.accordion-button::after {       
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-plus' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
    transition: all 0.5s;
}

.accordion-button:not(.collapsed)::after {
   
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-dash' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
}
/* ~~~~~~~~~~ Accordion Testing added by June Zheng 01/14/2024 ~~~~~~~~~~ */

/* IMAGE CARD START */
.card-group {
    justify-content: space-between;
}

.card.v-image-card {
    height: 450px !important;
    max-width: 320px;
    border-radius: 0;
}

.card-body.v-image-card {
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.25rem 1rem 0 1rem;
}

.card-body.v-image-card:has(> .expand-text):first-child {
    padding-top: 1rem;
}


.card-footer {
    /* Overriding Bootstrap styles here */
    background-color: white !important;
    border-top: none !important
}

.card-footer.v-image-card {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-direction: column;
    padding-top: 0;
}

.card-footer.v-image-card > i {
    cursor: pointer;
    transform: scaleY(-1);
    -webkit-text-stroke: 2px black;
    font-size: larger;
}

.card-footer.v-image-card > a {
    margin-top: 1rem;
}

.mobile-image-card {
    display: none;

    background-color: white;
    border-radius: 8px;
    margin-block: 0.5rem;
    width: 100%;
    height: 128px;
}

.mobile-image-card > a {
    display: flex;
    flex-direction: row;
    width: 100%;
    text-decoration: none;
    align-items: center;
}

.mobile-image-card > a:hover{
    text-decoration: none;
}

.mobile-image-card img {
    width: 50vw;
    height: 100%;
    max-width: 12rem;
    border-radius: 8px 0 0 8px;
    object-fit: cover;
    border-right: 1px solid lightgrey;
}

.mobile-image-card p {
    display: flex;
    font-size: clamp(0.8rem, 6cqw, 1.3rem);
    font-weight: bold;
    text-align: center;
    align-items: center;
    justify-content: center;
    color: black;
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    margin: 0;
}


@media screen and (max-width: 768px) {
    .desktop-card {
        display: none;
    }
    
    .mobile-image-card {
        display: flex;
    }
    
    .card-group {
        display: flex;
        flex-flow: row wrap;
    }
}

.ellipse-text {
    display: -webkit-box;
    padding-inline: 5px;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin: 0;
    word-break: break-word;
}

.transition-text {
    height: 100%;
    overflow-y: auto;
    max-height: none;
    padding: 5px 5px 0 5px;
}

.expand-text {
    -webkit-line-clamp: none;
}


.vertical-flip {
    transform: scaleY(1) !important;
}

.card-img-top {
    max-height: 230px;
    object-fit: contain;
}
/* IMAGE CARD END */
   
footer .footer-bottom {
    list-style: none;
    color: #FFFFFF !important;
    padding: 5px 0 15px;
    margin: 0;
    font-size: .84em;
    padding: 25px 0 0;
    text-align: center;
    text-transform: uppercase;
}

footer .footer-bottom ul li {
    display: inline-block;
    margin: 0 10px;
}

footer .footer-bottom ul a {
    color: #FFFFFF !important;
    display: inline-block;
    position: relative;
    text-decoration: none;
}

footer .footer-bottom ul a:after {
    background: #fff;
    bottom: 2px;
    content: '';
    height: 1px;
    left: 0;
    position: absolute;
    width: 0;
    -webkit-transition: width .25s ease;
    transition: width .25s ease;
}

footer .social {
    color: #fff;
    text-align: center;
}

footer section {
    margin: 0;
}

/* For Breadcrumbs link colors*/

a[name="breadCrumb"]:link {
    color: white;
    background-color: transparent;
    text-decoration: none;
}

a[name="breadCrumb"]:visited {
    color: white;
    background-color: transparent;
    text-decoration: none;
}

a[name="breadCrumb"]:hover {
    color: gray;
    background-color: transparent;
    text-decoration: none;
}

a[name="breadCrumb"]:active {
    color: white;
    background-color: transparent;
    text-decoration: none;
}

a[name="breadCrumb"]:before {
    color: white;
    background-color: transparent;
    text-decoration: none;
}

/* This allows designers to put text in front of a picture */

/* Image and text go inside this div */
.overlay-content {
    text-align: center;
    position: relative;
}

/* Use this div to lighten an image and put dark text overlayed */
.overlay-lighten {
    opacity: 0.8;
}

/* Use this div to darken an image and put light text overlayed */
.overlay-darken {
    filter: brightness(50%);
}

/* Use this class in a div, h2, or p to center the overlayed text */
.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.parallax {
    /* The image used */
    background-image: url(@Model.Value.Trim());
    /* Set a specific height */
    min-height: 500px;
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-image-uniform {
    height: 350px;
    width: 100%; 
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat:no-repeat;
    background-position: center;
    background-size: cover;
}

.img-card-text-uniform {
    height: 128px;
}

.horiz-img-card {
    border-bottom-left-radius: var(--bs-border-radius);
    border-top-left-radius: var(--bs-border-radius);
    border-top-right-radius: 0;
}

.ratio-16x9 {
    padding-block: 5%;
}

@media (max-width: 768px) {
    .horiz-img-card {
        border-bottom-left-radius: 0;
        border-top-right-radius: var(--bs-border-radius);
    }
}

#hero-image-text {
    /* Override the booststrap style to make the H1 not have margin */
    margin: 0;
}

.ytp-pause-overlay {
    display: none !important;
}

.rso-page-title span{
    text-decoration: underline;
}

