/*--------------------------------------------------------
    FONT ASSIGNMENTS
--------------------------------------------------------*/

:root {
    --page-width: 100vw;
    --side-margin: calc((100vw - var(--page-width)) / -2);
    overflow-x: clip;
}

@media (min-width: 768px) {
    :root {
        --page-width: 750px;
    }
}

@media (min-width: 992px) {
    :root {
        --page-width: 970px;
    }
}

@media (min-width: 1201px) {
    :root {
        --page-width: 1170px;
    }
}

body {
    font-family: 'Cabin', sans-serif;
    color: #777;
    font-size: 16px;
    /* overflow: hidden; */
}

p {
    color: #777;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    font-family: 'Cabin', sans-serif;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

#main-page-container {
    --gap: 60px;
}

#main-page-container>#page>.col-md-12>.row {
    padding-block: calc(var(--gap) / 2);
}

#main-page-container>#page>.col-md-12>.row:first-child {
    padding-top: var(--gap);
}

#main-page-container>#page>.col-md-12>.row:last-of-type {
    padding-bottom: var(--gap);
}


@media (max-width: 990px) {
    #main-page-container>#page>.col-md-12>.row>.column:not(:first-child) {
        margin-top: calc(var(--gap) / 2);
    }
}


#main-page-container>#page>.col-md-12>.row>.column>.row {
    padding-block: calc(var(--gap) / 2);
}

#main-page-container>#page>.col-md-12>.row>.column>.row:first-child {
    padding-top: 0;
}

#main-page-container>#page>.col-md-12>.row>.column>.row:last-of-type {
    padding-bottom: 0;
}


/*--------------------------------------------------------
    ALIGNMENT
--------------------------------------------------------*/

.txt-c {
    text-align: center;
}

.txt-l {
    text-align: left;
}

.txt-r {
    text-align: right;
}


/*--------------------------------------------------------
    H1 - H6
--------------------------------------------------------*/

h1,
h2,
h3 {
    margin: 0px;
    padding: 0px;
}

h1 {
    color: #0D3692;
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0 20px 0;
    font-family: 'Cabin', sans-serif;
}

h2 {
    color: #dA0000;
    font-size: 18px;
    font-weight: 400;
    margin: 10px 0 10px 0;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
}

h3 {
    text-transform: uppercase;
}


/*--------------------------------------------------------
    LINKS
--------------------------------------------------------*/

a {
    color: #428bca;
}

a:hover {
    color: #EF373B;
}

a.black {
    color: #000000;
}

a.white {
    color: #ffffff;
}

a.white:hover {
    color: #cecece;
}

a:is(:hover, :focus) {
    outline: 0px;
}

a:focus-visible {
    outline: 2px solid #da0000; /*hex color can be replaced here with org color or link color*/
}

/*--------------------------------------------------------
    IMAGES
--------------------------------------------------------*/

img {
    border: 0px;
    max-width: 100%;
}

.officerlist4_object_fit_cover {
    object-fit: cover;
    width: 150px;
    height: 150px;
}

/* rows and columns margin inside grid+ */
#gm-canvas .row, #gm-canvas .column {
    margin-top: 1em;
    margin-bottom: 1em;
}

.embed-wrapper { display: contents; }

/*--------------------------------------------------------
    MODAL LOGIN
--------------------------------------------------------*/

.modal-content {
    width: 280px;
    border-radius: 0;
}

.modal-dialog {
    display: block;
    width: 19%;
    text-align: center;
}

.modal-body {
    padding: 10px 20px 20px;
}

.modal-title {
    text-align: center;
}

input[type="text"],
input[type="password"] {
    margin: 5px 0 5px;
    border: 1px solid #737373;
    padding: 5px 0;
    text-indent: 5px;
}


/*--------------------------------------------------------
    HEADER
--------------------------------------------------------*/

.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

#Q-menu.navbar-default {
    background-color: #dA0000;
    box-shadow: 0px 3px 0px rgba(0, 0, 0, .2);
    border-radius: 0;
    border: none;
    padding: 10px;
}

#Q-menu.navbar-default .navbar-nav>li>a {
    color: #fff;
    font-size: 14px;
    transition: 300ms ease-in-out;
    background-color: transparent !important;
}

.navbar-brand {
    padding: 5px 10px;
}

#Q-menu.navbar-default .navbar-nav>.open>a,
#Q-menu.navbar-default .navbar-nav>.open>a:focus,
#Q-menu.navbar-default .navbar-nav>.open>a:hover {
    color: #ffffff;
    background-color: #DA0000;
}

#nav_menu .dropdown-menu {
    border-radius: 0;
    background-color: #DA0000;
}

#nav_menu .dropdown-menu>li>a {
    color: #fff;
}

#nav_menu .dropdown-menu>li>a:focus,
#nav_menu .dropdown-menu>li>a:hover {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

#search-area #searchbox {
    float: left;
    width: 100%;
    border: 2px solid #fff;
    margin: 5px 0;
}

#search-area input#q {
    float: left;
    color: #fff;
    border: none;
    width: 80%;
    padding: 7px 0 7px 0;
    background: transparent;
    text-transform: Uppercase;
}

#search-area input.search-button {
    background-image: url('../images/search-icon.png');
    border: none;
    width: 25px;
    background-color: transparent;
    height: 25px;
    margin: 5px 5px 4px 0px;
    float: right;
}

.search-wrap #searchbox {
    float: left;
    width: 100%;
    border: 2px solid #fff;
    margin: 5px 0;
}

.search-wrap input#q {
    float: left;
    color: #fff;
    border: none;
    width: 80%;
    padding: 7px 0 7px 0;
    background: transparent;
    text-transform: Uppercase;
}

.search-wrap input.search-button {
    background-image: url('../images/search-icon.png');
    border: none;
    width: 25px;
    background-color: transparent;
    height: 25px;
    margin: 5px 5px 4px 0px;
    float: right;
}


.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
    width: 100%;
}

.carousel-control {
    display: none;
}

.carousel-caption {
    bottom: 90px;
    right: 5%;
    left: 5%;
}

.carousel-caption p {
    color: #fff;
    font-size: 58px;
    line-height: 60px;
    padding: 15px 0;
    font-family: 'Cinzel', serif;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.carousel-caption .alt-text:empty {
    display: none;
}

.carousel-caption span {
    color: #dA0000;
}

/* Homepage Slideshow - new styling */

#slide-container .carousel-caption {
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #33333396;
}

#slide-container .caption-wrapper {
    width: var(--page-width);
    margin-inline: calc(var(--side-margin) * -1) auto;
}

#slide-container .caption-text {
    border: 0;
    font-size: 34px;
    text-transform: none;
    padding-block: 0;
    font-family: raleway, serif;
    line-height: 1;
}

#slide-container .alt-text {
    font-family: raleway, serif;
    font-size: 16px;
    border-top: 0;
    border-bottom: 0;
    margin-bottom: 0;
    padding-top: 0;
    line-height: 1.2;
}

#slide-container .carousel-indicators {
    bottom: 0;
}

@media (max-width: 991px) {
    #slide-container .carousel-caption {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        padding-inline: 15px;
        background-color: #3366cc;
    }

    
    #slide-container .caption-wrapper {
        width: 100%;
        margin-inline: auto;
    }
}

/* Header slideshow logo that will appear over all slides*/

#slide-container {
    position: relative;
}

#slide-container:has(#slide-logo:not(:empty)) .caption-wrapper,
#slide-container:has(#slide-logo:not(:empty)) #slide-text>div {
    width: calc(var(--page-width) - 220px - 220px); /* room for logo on the right and centered still */
    margin-inline: auto;
}

#slide-container #slide-logo {
    position: absolute;
    bottom: 30px;
    right: calc(var(--side-margin) * -1);
    /* max-width: 150px; */
    font-size: 16px;
    color: white;
    z-index: 11;
    display: flex;
    justify-content: center;
}

#slide-container #slide-logo:empty {
    display: none;
}

@media (max-width: 767px) {
    #slide-container:has(#slide-logo:not(:empty)) .caption-wrapper,
    #slide-container:has(#slide-logo:not(:empty)) #slide-text>div {
        padding-bottom: 220px; /* room for logo on the bottom */
        width: 100%;
    }

    #slide-container #slide-logo {
        right: 0;
        left: 0;
        margin-inline: auto;
        bottom: 15px;
    }
}

/* Header slideshow text that will appear over all slides*/

#slide-container:has(#slide-text:not(:empty)) .carousel-caption {
    display: none;
}

#slide-container #slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #33333396;
    padding-block: 20px 45px;
    z-index: 10;
}

#slide-container #slide-text>div {
    width: var(--page-width);
    margin-inline: calc(var(--side-margin) * -1) auto;
    font-family: raleway, serif;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

#slide-container #slide-text>div :is(h1, h2, h3, h4, h5, h6, a) {
    color: white;
}

#slide-container #slide-text>div :is(h1, h2, h3, h4, h5, h6) {
    font-size: 46px;
}

#slide-container #slide-text>div :is(h1, h2, h3, h4, h5, h6):last-child {
    margin-bottom: 0;
}

#slide-container #slide-text:has(>div:empty) {
    display: none;
}

@media (max-width: 991px) {
    #slide-container #slide-text {
        position: relative;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        padding-inline: 15px;
        padding-block: 20px;
        background-color: #3366cc;
    }

    
    #slide-container #slide-text>div {
        width: 100%;
        margin-inline: auto;
    }
}


/*--------------------------------------------------------
    MOBILE MENU
--------------------------------------------------------*/

#mobileMenuWrapper {
    position: fixed;
    top: -1px;
    bottom: 0px;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
    left: -120%;
    width: 225px;
    max-width: 100%;
    background-color: #AD6336;
    transition: all 300ms cubic-bezier(1, 0.01, 0, 1) 0s;
}

#mobileMenuWrapper.open {
    left: 0px;
    bottom: 0px;
}

#mobileMenuWrapper #mobile-menu {
    overflow: auto;
    padding: 0px 20px 10px;
}

#mobileMenuWrapper ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

#mobile-menu>li#triggerClose {
    color: #fff;
    float: right;
    display: inline;
    font-size: 22px;
    cursor: pointer;
    transform: rotate(45deg);
}

#mobileMenuWrapper #mobile-menu a {
    width: 100%;
    color: #ffffff;
    display: inline-block;
    margin: 10px 0 0 0;
    font-size: 14px;
}

#mobileMenuWrapper ul.mDropdown {
    margin: 0 15px;
    display: none;
}

#mobileMenuWrapper .mDropdown.open {
    display: block;
}

/* #mobile-menu a {} */

#mobile-toggle {
    border: none;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

#mobile-menu-col {
    top: 10px;
    right: 20px;
    float: right;
    position: relative;
}

#mobile-logo {
    width: 40%;
    float: left;
    margin-top: 27px;
    margin-bottom: 20px;
}

#mobile-logo a {
    margin: 0 !important;
}

#mobile-logo svg#logo {
    width: 250px;
    max-width: 250px;
}

svg#burger {
    width: 35px;
    height: 35px;
}


/*.caret {
    border-top: 4px solid #fff;
}*/


/*--------------------------------------------------------
    INDEX / MAIN BODY
--------------------------------------------------------*/

#main-page-container {
    min-height: calc(100vh - 70px - 82.84px - 10px);
}

.Q-title {
    color: #444;
    text-align: center;
}

.Q-border-title {
    text-align: center;
    border-bottom-color: #ddd;
    border-bottom-width: 4px;
    border-bottom-style: double;
    padding: 10px 0px 30px;
}

.Q-colored {
    color: #dA0000;
}

h3.news-title {
    text-transform: none;
    font-size: 18px;
    padding-bottom: 5px;
}

.news-item a:hover {
    color: #428bca;
}

.news-blurb {
    line-height: 30px;
}

.welcome-msg {
    padding: 20px 0;
}

.news-feed {
    padding: 50px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

#middle-banner {
    background-image: url(../images/ELTI_students_outside_building.jpg);
    background-color: rgb(43, 43, 43);
    background-position: 50% -160px;
    height: 445px;
    width: 100%;
    max-width: 100%;
    background-attachment: fixed;
    padding: 0;
    background-repeat: no-repeat;
    background-size: cover;
}

#middle-banner h3 {
    color: #fff;
}

#middle-banner p {
    color: #fff;
    margin: 20px 0;
    text-transform: uppercase;
}

#mbanner-content {
    padding: 180px 20px;
}

#bottom-banner {
    background-image: url(../images/NYUSPS_1206_1920x650.jpg);
    background-color: rgb(43, 43, 43);
    background-position: 50% -7px;
    height: 596px;
    width: 100%;
    max-width: 100%;
    background-attachment: fixed;
    padding: 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.map h3 {
    text-align: center;
    padding: 60px 0 40px;
    border-bottom: 1px solid #ddd;
}

.map-embed {
    height: 380px;
}

.members h3 {
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding: 0 0 40px;
    margin: 30px 0;
}

.contact {
    text-align: center;
    padding-top: 30px;
    text-transform: uppercase;
    padding-bottom: 20px;
}

.contact h3 {
    padding: 15px 0;
}

#counter-wrap {
    background-color: #1E509D;
}

.about-uciep {
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding: 40px 0 30px;
    margin-bottom: 40px;
}

.about-uciep h3.Q-title {
    text-transform: uppercase;
}

.about-uciep p {
    text-transform: uppercase;
}

#history-uciep {
    padding: 60px 0 30px;
    border-top: 1px solid #ddd;
    margin: 40px 0;
}

#history-uciep h3.Q-title {
    text-transform: none;
}

.counter {
    text-align: center;
    padding: 30px 0 60px;
}

.Q-white {
    color: #fff;
    text-transform: none;
}
.Q-number {
    font-size: 80px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
}

#featured-program {
    background: #1e509d;
    padding: 80px 0;
    margin: 164px 0;
    text-align: center;
}

#featured-program h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

#featured-program p {
    color: #ffffff;
    text-transform: uppercase;
    line-height: 30px;
}

.members {
    margin-bottom: 50px;
}

.members a:hover {
    color: #2a6496;
}


/*--------------------------------------------------------
    New Homepage Styles
--------------------------------------------------------*/

/* Welcome Row */

.welcome-row h1 {
    color: #dA0000;
    font-size: 18px;
    font-weight: 400;
    margin: 10px 0 10px 0;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 25px;
    border-bottom: 4px double #ddd;
    padding-bottom: 25px;
}

/* News Row */

.news-row h2 {
    margin-bottom: 25px;
    border-bottom: 4px double #ddd;
    padding-bottom: 25px;
}

/* About Row */

.about-row h2 {
    margin-bottom: 25px;
    border-bottom: 4px double #ddd;
    padding-bottom: 25px;
}

#page .about-row h3:not(.news-title) {
    font-size: 16px;
    color: #444;
    border-bottom: 0;
    padding: 0;
    margin-bottom: 10px;
}

.about-row>.column>.x_content>p:last-of-type {
    margin-bottom: 25px;
    border-bottom: 4px double #ddd;
    padding-bottom: 25px;
}


/* Stats Row */

.stat-row {
    position: relative;
}

.stat-row:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--side-margin) - 30px);
    right: calc(var(--side-margin) - 30px);
    display: block;
    width: 100vw;
    background: #1E509D;
    z-index: -1;
}

#gm-canvas .stat-row:before {
    left: 0;
    right: 0;
}

.stat-row .column p {
    color: white;
    line-height: 1;
}

.stat-row .column p:first-of-type {
    font-size: 80px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
}

.stat-row .column p:first-of-type::first-letter {
    color: #b22222;
}

.stat-row .column p:nth-of-type(2) {
    font-size: 24px;
    font-weight: 500;
}


/* Quote Row */

.quote-row {
    position: relative;
    min-height: 445px;
    display: flex;
    flex-wrap: wrap;
}

.quote-row:not(#gm-canvas .quote-row)::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: calc(var(--side-margin) - 30px);
    left: calc(var(--side-margin) - 30px);
    bottom: 0;
    width: 100vw;
    max-width: unset;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/ELTI_students_outside_building.jpg);
    background-color: rgb(43, 43, 43);
    /* background-position: 50% -160px; */
    background-attachment: fixed;
    padding: 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.quote-row:not(#gm-canvas .quote-row):after {
    display: none;
}

.quote-row:not(#gm-canvas .quote-row) .column {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.quote-row:not(#gm-canvas .quote-row) p {
    color: white;
}

.quote-row p:first-of-type {
    font-size: 24px;
    text-transform: uppercase;
}

/* Banner Row */

/* .banner-row {
    position: relative;
    min-height: 445px;
}

.banner-row .column:has(img:last-of-type) {
    position: unset;
}

.banner-row img:last-of-type {
    display: block;
    position: absolute;
    top: 0;
    right: calc(var(--side-margin) - 30px);
    left: calc(var(--side-margin) - 30px);
    bottom: 0;
    width: 100vw;
    max-width: unset;
    height: 100%;
    z-index: -1;
} */

.banner-row {
    position: relative;
    min-height: 445px;
}

.banner-row:not(#gm-canvas .banner-row)::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: calc(var(--side-margin) - 30px);
    left: calc(var(--side-margin) - 30px);
    bottom: 0;
    width: 100vw;
    max-width: unset;
    height: 100%;
    z-index: -1;
    background-image: url(../images/NYUSPS_1206_1920x650.jpg);
    background-color: rgb(43, 43, 43);
    /* background-position: 50% -160px; */
    /* background-attachment: fixed; */
    padding: 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.banner-row:not(#gm-canvas .banner-row) .column {
    color: white;
}

.banner-row:not(#gm-canvas .banner-row) p {
    color: white;
}

/* Contact Row */ 

.contact-row h2 {
    padding: 15px 0;
    color: #444;
    text-align: center;
    font-size: 24px;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
}

.contact-row * {
    text-transform: uppercase;
}


/*--------------------------------------------------------
    CSS STYLE FOR INNER PAGES
--------------------------------------------------------*/

#page h3:not(.news-title) {
    border-bottom: 1px solid #ddd;
    padding: 20px 0 30px;
    margin-bottom: 40px;
}


/*--------------------------------------------------------
    FOOTER
--------------------------------------------------------*/

.Q-footer {
    padding-top: 30px;
    padding-bottom: 30px;
}

.Q-margin10 {
    margin-top: 10px;
}

.Q-footer.Q-margin10 {
    background: #14141e;
    color: #444;
    color: white;
}

.Q-footer img {
    width: 100%;
}


/*--------------------------------------------------------
    MEDIA QUERY
--------------------------------------------------------*/

@media (min-width: 1000px) {
    /* .container {} */
    #main-menu {
        width: 90%;
    }
}

@media (min-width: 990px) and (max-width: 1199px) {
    /* .container {} */
    .contact {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    #mobile-menu-col {
        display: none;
    }
    #main-menu {
        width: 70%;
        float: left;
    }
    .navbar-default .navbar-nav>li>a {
        padding: 15px 10px;
    }
    #search-area {
        float: right;
    }
    #search-area input#q {
        width: 70%;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    /* .container {} */
    #history-uciep {
        padding: 30px 0 50px;
    }
    #history-uciep img {
        margin-bottom: 30px;
    }
    #mbanner-content {
        padding: 152px 20px;
    }
    #featured-program {
        margin: 150px 0;
    }
    .contact {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .carousel-caption {
        bottom: 0;
        right: 0;
        left: 0;
        position: absolute;
    }
    .carousel-indicators {
        display: none;
    }
    .carousel-caption p {
        font-size: 34px;
        line-height: 36px;
    }
}

@media (max-width: 767px) {
    /* .container {} */
    .welcome-msg {
        padding-left: 15px;
        padding-right: 15px;
    }
    #history-uciep {
        padding: 30px 0 50px;
    }
    #history-uciep img {
        margin-bottom: 30px;
    }
    .map-embed {
        width: 100%;
        max-width: 100%;
    }
    .map-embed iframe {
        width: 100%;
        max-width: 100%;
    }
    .contact {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    #mbanner-content {
        padding: 88px 20px;
    }
    #featured-program {
        margin: 150px 0;
    }
    .carousel-caption {
        bottom: 0;
        right: 0;
        left: 0;
        position: relative;
        background: #1F1D1D;
        /* display: none; */
    }
    .carousel-indicators {
        display: none;
    }
    .carousel-caption p {
        font-size: 34px;
        line-height: 36px;
    }
}

@media (max-width: 480px) {
    /* .container {} */
    .welcome-msg {
        padding-left: 15px;
        padding-right: 15px;
    }
    #history-uciep {
        padding: 30px 0 50px;
    }
    #history-uciep img {
        margin-bottom: 30px;
    }
    .map-embed {
        width: 100%;
        max-width: 100%;
    }
    .map-embed iframe {
        width: 100%;
        max-width: 100%;
    }
    .contact {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    #mbanner-content {
        padding: 88px 20px;
    }
    #featured-program {
        margin: 150px 0;
    }
    .carousel-caption {
        bottom: 0;
        right: 0;
        left: 0;
        position: relative;
        background: #1F1D1D;
    }
    .carousel-indicators {
        display: none;
    }
    .carousel-caption p {
        font-size: 34px;
        line-height: 36px;
    }
}

#map_canvas {
    width: 100%;
    height: 500px;
    border: 1px solid #999;
    margin: 0px auto;
}

#map_loader {
    width: 100%;
    height: 502px;
    background-color: rgba(0, 0, 0, .8);
    margin-top: -502px;
    border: 1px solid #999;
    position: relative;
    color: #FFFFFF;
    font-size: 16px;
}


/* Remove slideshow from MMS header per CV email 6-7-24 */

.mms-body #slide-container {
    display: none;
}

#mheader_5_wrapper .ui-accordion h3.ui-accordion-header {
    padding: .5em .5em .5em .7em;
    margin: 2px 0 0 0;
}