:root {
    --black: #000000;
    --CoE-blackgreen: #182828;
    --CoE-darkgreen: #0e423f;
    --eerie-black: #1a1a1a;
    --uni-blue: #3c7295;
    --dim-grey: #626262;
    --lion: #ab8c5f;
    --platinum: #d9d9d9;
    --yellow-green: #abd037;
    --uni-red: #ae0000;
    --uni-teal: #57c4c0;
    --white: #ffffff;
    --business: #3c7295;
    --education: #0e423f;
    --liberal: #57c4c0;
    --natural: #abd037;
    --scrollbar-width: calc(100vw - 100%);
    --viewport-width: calc(100vw - var(--scrollbar-width));
    font-family: 'Montserrat', sans-serif;
}

html {
    background-color: var(--eerie-black);
}

body {
    background: radial-gradient(circle farthest-side at 0% 50%,#FFFFFF 23.5%,#0000 0)33.6px 48px, radial-gradient(circle farthest-side at 0% 50%,#FBFBFB 24%,#0000 0)30.4px 48px, linear-gradient(#FFFFFF 14%,#0000 0, #0000 85%,#FFFFFF 0)0 0, linear-gradient(150deg,#FFFFFF 24%,#FBFBFB 0,#FBFBFB 26%,#0000 0,#0000 74%,#FBFBFB 0,#FBFBFB 76%,#FFFFFF 0)0 0, linear-gradient(30deg,#FFFFFF 24%,#FBFBFB 0,#FBFBFB 26%,#0000 0,#0000 74%,#FBFBFB 0,#FBFBFB 76%,#FFFFFF 0)0 0, linear-gradient(90deg,#FBFBFB 2%,#FFFFFF 0,#FFFFFF 98%,#FBFBFB 0%)0 0 #FFFFFF;
    background-size: 64px 96px;
    background-color: var(--white);
    color: var(--eerie-black);
    margin: 0 auto;
    max-width: 1920px;
    width: var(--viewport-width);
    font-size: 1rem;
}

li {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

header .hero {
    align-content: flex-end;
    background-image: url('https://www.uhv.edu/media/uhv/college-of-education/images/coe-hero-images/kidsOnCouch-1.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 650px;
    justify-content: center;
    /*padding: 2rem;*/
    text-align: center;
    position: relative;
}

header .hero h1 {
    text-wrap: balance; /*text-shadow: -2px 6.5px 0px rgba(14, 66, 63, 0.73), 0px 14px 10px rgba(0, 0, 0, 0.38), 0px 24px 2px rgba(92, 85, 85, 0.04), 0px 34px 30px rgba(0, 0, 0, 0.1), -1px 0 rgba(14, 66, 63), 0 1px rgba(14, 66, 63), 1px 0 rgba(14, 66, 63), 0 -1px rgba(14, 66, 63);*/
    text-align: center;
    margin: 0;
    font-weight: 700;
    font-size: 3.5rem;
    color: var(--white);
    background-color: transparent;
}

header .hero h1 span.smaller {
    font-size: 4rem;
}

header {
    background-color: var(--uni-red);
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: 1920px;
}

main {
    max-width: var(--viewport-width);
}

section {
    width: 100%;
}

.visually-hidden, .sr-only {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

:focus-visible {
    outline-color: currentColor;
    outline-offset: 2px;
    outline-style: dotted;
    outline-width: 2px;
}


.BG-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.BG-container > h2 {
    margin-top: 2rem;
}

.BG-container.coreCurriculum .content-container {
}

.BG-container.coreCurriculum .text-container {
    padding: 0 1rem 0 0;
}

.BG-container.coreCurriculum .text-container {
    flex: 30%;
}

.BG-container.coreCurriculum .text-container p {
    text-wrap: wrap; /*text-indent: -2.6rem;*/
    margin-left: 2.6rem;
    margin-top: 0rem;
    margin-bottom: 1rem;
}

.BG-container:not(.highlights) .media-container {
    align-items: center;
    display: flex;
    height: auto;
    justify-content: center;
    margin: auto;
    max-height: 600px;
    max-width: 600px;
}

.contact-us .content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-container {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.generalContent .content-container {
    flex-direction: column;
}

.coreCurriculum .content-container, .sideBySideTxt .content-container {
    align-items: flex-start;
    column-gap: 2rem;
}

.content-container.media-right { /* REVERSE DIRECTION */
    flex-direction: row-reverse;
}

.corner-container {
    width: 100%;
}

.CTA-button-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.2rem auto;
    gap: 2rem;
    width: 100%;
}

/*Buttons*/
.CTA-button-75:active {
    opacity: .5;
}

.CTA-button-75 {
    align-items: center;
    appearance: none;
    background-color: var(--white);
    border: 2px solid var(--education);
    border-radius: 5px;
    box-sizing: border-box;
    color: var(--uni-red);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    line-height: normal;
    margin: 0;
    max-width: 18rem;
    min-height: 60px;
    min-width: 0;
    outline: none;
    padding: 16px 24px;
    text-align: center;
    text-decoration: none;
    transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 100%;
    will-change: transform;
}

.CTA-button-75:hover, .CTA-button-75:focus {
    color: var(--white);
    background-color: var(--uni-red);
    border: 2px solid var(--uni-red);
    transform: translateY(-2px);
}

.CTA-button-75:active {
    box-shadow: none;
    transform: translateY(0);
}

.CTA-button-75:hover, .CTA-button-75:active {
}
/*End Buttons*/

.greenTexture .heading-container::after {
    background-color: var(--white);
}

.greenTexture .text-container h2 { /*text-shadow: 1px 1px 1px rgba(0, 0, 0, .45), 2px 2px 3px rgba(255, 255, 255, 0.4);*/
}

.greenTexture .text-container h2,
.greenTexture.highlights .text-container h2,
.greenTexture .text-container h3,
.greenTexture .text-container p,
.greenTexture .feedback-slider-item .testimonial-name {
    color: var(--white);
}

.greenTexture {
    background-color: #0e4441;
    /*background-image: url('<t4 type="media" formatter="path/*" id="70651" />');*/
    background-image: url('https://www.tamuv.edu/media/uhv/college-of-education/images/greenTexture.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
}

.greenTexture.mediaRight {
    /*background-image: url('<t4 type="media" formatter="path/*" id="70655" />');*/
    background-image: url('https://www.tamuv.edu/media/uhv/college-of-education/images/greenTexture-flipped.png');
}

.greyTexture { /*background-color: #dfdcd5;
    background-blend-mode: lighten;*/
    /*background-image: url('<t4 type="media" formatter="path/*" id="77409" />');*/
    background-image: url('https://www.tamuv.edu/media/uhv/college-of-education/images/greyTexture.png');
    background-position: 100% top;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--black);
}

.greyTexture.mediaRight {
  /*  background-image: url('<t4 type="media" formatter="path/*" id="70645" />');*/
    background-image: url('https://www.tamuv.edu/media/uhv/college-of-education/images/greyTexture-flipped.jpg');
}

.heading-container {
    position: relative;
    margin-bottom: 1rem;
}

.heading-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--CoE-darkgreen);
    height: 3px;
    width: 4.7rem;
}

.media-container > iframe:only-child {
    height: 100%;
    width: 100%;
    border-radius: 20px;
}

.media-container > img:only-child { /*aspect-ratio: 6 / 4;*/
    border-bottom-width: 5px;
    border-color: rgb(14 66 63 / 85%);
    border-radius: 20px;
    border-style: solid;
    border-top-width: 1px;
    max-height: 600px;
    max-width: 600px;
    object-fit: cover;
    overflow: hidden;
    width: auto; /*100%*/
}

.mediaRight .media-container > img:only-child {
    border-left-width: 1px;
    border-right-width: 5px;
    box-shadow: rgba(14, 66, 63, 0.4) 5px 5px, rgba(14, 66, 63, 0.3) 10px 10px, rgba(14, 66, 63, 0.2) 15px 15px, rgba(14, 66, 63, 0.1) 20px 20px, rgba(14, 66, 63, 0.05) 25px 25px;
    transition: 0.5s ease;
}

.mediaRight .media-container > img:only-child:hover {
    box-shadow: rgba(14, 66, 63, 0.4) 0 0, rgba(14, 66, 63, 0.3) 0 0, rgba(14, 66, 63, 0.2) 0 0, rgba(14, 66, 63, 0.1) 0 0, rgba(14, 66, 63, 0.05) 0 0;
    transition: 0.5s ease;
}

.mediaLeft .media-container > img:only-child {
    border-left-width: 5px;
    border-right-width: 1px;
    box-shadow: rgba(14, 66, 63, 0.4) -5px 5px, rgba(14, 66, 63, 0.3) -10px 10px, rgba(14, 66, 63, 0.2) -15px 15px, rgba(14, 66, 63, 0.1) -20px 20px, rgba(14, 66, 63, 0.05) -25px 25px;
    transition: 0.5s ease;
}

.mediaLeft .media-container > img:only-child:hover {
    box-shadow: rgba(14, 66, 63, 0.4) 0 0, rgba(14, 66, 63, 0.3) 0 0, rgba(14, 66, 63, 0.2) 0 0, rgba(14, 66, 63, 0.1) 0 0, rgba(14, 66, 63, 0.05) 0 0;
    transition: 0.5s ease;
}

.media-container.landscape-container { /* iframe video */
    aspect-ratio: 16 / 9;
    width: 600px;
    height: 337px;
}

.media-container.portrait-container { /* iframe video */
    aspect-ratio: 9/ 16;
    height: 600px;
}

.testimonial .heading-container {
    margin-bottom: 4rem;
}

.text-container {
    display: flex;
    flex: none;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    min-width: unset;
}

.text-container > h2 {
    color: var(--uni-red);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem; /*text-shadow: -1px 1px 0 #fff, 1px 1px 0 #0E423F, 1px -1px 0 #FDF6F5, -1px -1px 0 #E9E9E9;*/
}

.text-container > h3 {
    color: #0e423fcf;
    font-size: 2rem;
    font-weight: 800;
    text-align: left;
    text-transform: math-auto;
    margin-bottom: 1rem; /*text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.81),4px 4px 1px rgba(0,0,0,0.2);*/
}

.text-container > p > img, .text-container img {
    border: 3px solid;
    border-color: rgb(14 66 63 / 85%); /* box-shadow: rgba(14, 66, 63, 0.4) -5px 5px, rgba(14, 66, 63, 0.3) -10px 10px, rgba(14, 66, 63, 0.2) -15px 15px, rgba(14, 66, 63, 0.1) -20px 20px, rgba(14, 66, 63, 0.05) -25px 25px; */
    transition: 0.5s ease;
    border-radius: 20px;
}

.fourButtonCTA .text-container, .sideBySideTxt .text-container {
    flex: 1;
    max-width: unset;
}

.BG-container.sideBySideTxt .content-container {
    display: flex;
    flex-direction: row; /*align-content: flex-start;*/
    align-items: flex-start;
}

.mediaRight .text-container > ul,
.mediaLeft .text-container > ul,
.mediaRight .text-container > ol,
.mediaLeft .text-container > ol { /* margin: 0 auto; */
}

.text-container li ul, .text-container li ol {
    margin: 0 0 0 -1.2rem;
    list-style-type: circle;
}


.text-container .heading-container h2, .sideBySideTxt .corner-container h2 {
    color: var(--uni-red);
    font-size: 3rem;
    font-weight: 700;
    text-align: center; /* text-transform: math-auto; */
    margin-bottom: 1rem; /*text-shadow: -1px 1px 0 #fff, 1px 1px 0 #0E423F, 1px -1px 0 #FDF6F5, -1px -1px 0 #E9E9E9;*/
}

.text-container .heading-container h3, .sideBySideTxt .corner-container h3 {
    color: var(--eerie-black);
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.three-button-CTA h2 {
    text-align: center;
    color: var(--uni-red);
    font-size: 8.5rem;
    margin: 0;
    text-transform: uppercase; /*text-shadow: 4px 3px 0px #fff, 9px 8px 0px rgb(215, 212, 205) !important;*/
}

.three-button-CTA h2 span {
    color: var(--CoE-darkgreen);
    font-size: 90%;
    display: inline-block;
}

a.t4Edit-page, a.t4Edit-page:hover {
    text-decoration: none;
}

b, strong {
    font-weight: bolder;
}

main .greenTexture p a:link:hover, main .greenTexture li a:link:hover {
    color: var(--uni-red);
    text-decoration: underline;
}

main .greenTexture p a:link, main .greenTexture li a:link {
    color: var(--white);
}

main p a, main li a, .contact-details h3.contact-name a, .profile-details h3.contact-name a, .Prog-Info-Table td a {
    background-color: rgba(255, 255, 0, 0);
    color: var(--CoE-darkgreen);
    font-weight: 800;
    position: relative;
    text-decoration: none;
}

main p a:visited,
main li a:visited, .contact-details h3.contact-name a:visited, .profile-details h3.contact-name a:visited, .Prog-Info-Table td a:visited {
    color: var(--CoE-darkgreen);
}

main p a:hover,
main li a:hover, .contact-details h3.contact-name a:hover, .profile-details h3.contact-name a:hover, .Prog-Info-Table td a:hover {
    color: var(--uni-red);
}
/* The initial state of the ::after element */
main p a::after,
main li a::after, .contact-details h3.contact-name a::after, .profile-details h3.contact-name a::after, .Prog-Info-Table td a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 100%; /* Initially hide the border by setting right to 100% */
    border-bottom: 2px solid transparent;
    transition: right 0.2s ease-out, border-bottom 0.2s ease-out;
}

main p a:hover::after,
main li a:hover::after,
.contact-details h3.contact-name a:hover::after,
.profile-details h3.contact-name a:hover::after,
.Prog-Info-Table td a:hover::after,
main p a:focus-visible::after,
main li a:focus-visible::after,
.contact-details h3.contact-name a:focus-visible::after,
.profile-details h3.contact-name a:focus-visible::after,
.Prog-Info-Table td a:focus-visible::after {
    border-bottom: 2px solid var(--uni-red);
    bottom: -2px;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    transition: right 0.3s ease-out;
}

nav#secondnav h2 {
    font-size: 3.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

nav#topnav a:link {
    color: currentColor;
}

p {
    text-wrap: wrap;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.7;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

.CTA-button:active {
    opacity: .5;
}

.CTA-button {
    align-content: center;
    display: inline-block;
    text-decoration: none;
    background-color: white;
    color: var(--uni-red);
    border: 3px solid var(--CoE-darkgreen);
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 5px;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: inherit;
    margin: 1rem auto;
    padding: 10px 18px;
    text-align: center;
    text-transform: capitalize; /* max-width: 69%; */
    min-width: 250px;
    width: 300px;
}

.CTA-button:hover, .CTA-button:active {
    background-color: var(--CoE-darkgreen);
    background-position: 0 0;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1), 0px 0px 15px rgba(0, 0, 0, 0.1);
    color: var(--white);
}

.greenTexture .CTA-button:hover, .greenTexture .CTA-button:active {
    background-color: var(--eerie-black);
    background-position: 0 0;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1), 0px 0px 15px rgba(0, 0, 0, 0.1);
    color: var(--white);
}

.greenTexture .CTA-button, .greenTexture .CTA-button:visited {
    background-color: var(--white);
    border: 3px solid var(--white);
}

.greenTexture .CTA-button:hover {
    background-color: var(--uni-red);
    color: var(--white);
    border: 3px solid var(--white);
}

.BG-container.fourButtonCTA .content-container, .BG-container.three-button-CTA .content-container {
    flex-direction: column;
}

/* Full Width Image */
.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 400px;
    overflow: hidden;
}

.image-container .full-image {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.image-container .full-image .photo {
    width: 100%;
}

/* Dark mode styles */
/media only screen and (prefers-color-scheme: dark) {
    body

{
    background: unset;
    background-color: var(--eerie-black);
    color: white;
}

main .greyTexture p, main .noTexture p, main .greyTexture .text-container .heading-container h3, main .noTexture .text-container .heading-container h3 {
    color: inherit;
}

main .greyTexture.leftCorner .corner-container::before,
main .greyTexture.rightCorner .corner-container::before,
main .testimonial.greyTexture.leftCorner::before {
    background-image: none;
}

main .leftCorner, main .rightCorner {
    margin: unset;
}

main .heading-container::after {
    background-color: var(--uni-red);
}

main .noTexture .CTA-button {
    border: 3px solid var(--dim-grey);
    box-shadow: rgba(255, 255, 255, 0.1) 0px 0px 5px 5px;
}

main p a, main li a {
    color: var(--uni-red);
    text-decoration: none;
    border-bottom: none;
    background-color: rgb(0,0,0,0);
}

main p a:hover, main li a:hover, main p a:focus-visible, main li a:focus-visible {
    color: var(--black);
    background-color: var(--white);
}

main p a:hover::after,
main li a:hover::after, main p a:focus-visible::after,
main li afocus-visible::after {
    border-bottom: 2px solid var(--uni-red);
    bottom: -2px;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    transition: all 0.5s ease-in-out;
}

}

.GeckoChatWidget .UnreadMessages .unread-msg-close {
    height: 24px !important;
    width: 24px !important;
}


/*section:has(table) { align-items: flex-start; display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; }
section:has(table) > *:not(.table-wrapper):not(table) { width: 100%; }
section > div:has(table) { overflow-x: auto; }
table { border-collapse: collapse; border-spacing: 0; margin: 0 auto 1rem auto; table-layout: fixed; width: auto; max-width: 100%; }
table caption, table caption * { background-color: var(--uni-red); color: var(--white) !important; font-size: 1.5rem; font-weight: bold; line-height: 1.5; margin: 0; padding: 3px 5px; text-align: center; text-wrap: pretty; }
table tbody { background-color: #ffffff; border: 0; display: table-row-group; }
table tbody td { border-left: 1px solid var(--platinum); border-right: 1px solid var(--platinum); font-size: inherit; font-weight: inherit; line-height: 1.5; }
table tbody td:first-child { border-left: none; }
table tbody td:last-child { border-right: none; }
table tbody tr:hover { background-color: var(--bone) !important; cursor: default; }
table tbody td * { margin: 0; }
table tbody td p + p { line-height: 1.5; }
table tbody td ul { font-size: 0.9em; margin: 0; padding: 0 0 0 1rem; }
table tbody td ul li { text-align: left; text-wrap: pretty; }
table tbody td, table tbody th { margin: 0; padding: 3px 5px; text-wrap: pretty; vertical-align: middle; }
table tbody tr > :first-child { border-left: 1px var(--platinum) solid; }
table tbody tr > :last-child { border-right: 1px var(--platinum) solid; }
table tbody tr:last-child th, table tbody tr:last-child td { border-bottom: 1px var(--platinum) solid; }
table tbody tr:nth-child(even) { background-color: var(--white-smoke); }
table th p { display: block; line-height: 1.2; }
table td p { display: block; line-height: 1.2; white-space: normal; text-wrap: pretty; hyphens: auto; }
table thead td p + p { line-height: 1.5; }
table thead th { background-color: var(--platinum); border-bottom-color: transparent; border-left-color: var(--white-smoke); border-right-color: var(--white-smoke); border-style: solid; border-top-color: transparent; border-width: 0 1px 0 1px; color: var(--eerie-black); font-size: inherit; font-weight: bold; line-height: 1.5; margin: 0; padding: 3px 5px; text-align: center; text-wrap: pretty; vertical-align: bottom; }
table thead th:first-of-type { border-left-color: var(--platinum); }
table thead th:last-of-type { border-right-color: var(--platinum); }
td, th { padding: 0.5em 1em; word-break: keep-all;*/ /* Avoid breaking words mid-cell */ /*white-space: nowrap;*/ /* Prevent wrapping unless necessary */ /*}

@media screen and (max-width: 600px) {
    table { font-size: 0.9rem; }
}

@media only screen and (min-width: 1440px) and (max-width: 1920px) {
    section:has(table.side-by-side) > *:not(table) { width: 100%; }
    table.side-by-side { display: table; flex: 1 1 calc(50% - 10px); }
}

@media only screen and (min-width: 1921px) {
    table { max-width: 1920px; }
}*/
