/* Globally used variables etc */
:root {
    --ewpa-orange: #FE7112;
    --ewpa-lightgrey: #F4F4F4;
    --ewpa-darkgrey: #948E94;
}



body {
    overflow-x:hidden;
}

img.center, .captionImage.center {
    max-width: 100%;
    height: auto;
    display:block;
    margin:0 auto !important;
}
img.left {
    max-width: 100%;
    height: auto;
    float:left;
    margin: 0 12px 12px 0;
}
img.right {
    max-width: 100%;
    height: auto;
    float:right;
    margin: 0 0 12px 12px;
}

/* Typography CSS */
/* Fonts */
body {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}

header,
footer {
    font-size: 14px;
    font-family: 'Noto Sans', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Noto Sans', sans-serif;
}

h1 {
    font-size: 50px;
    font-weight: bold;
}

h2 {
    font-size: 40px;
    font-weight: bold;
}

h3 {
    font-size: 30px;
    font-weight: bold;
}

h4 {
    font-size: 20px;
    font-weight: bold;
}

h5 {
    font-size: 16px;
    font-weight: bold;
}

body .main-content p a {
    color: var(--ewpa-orange);
    font-weight: bold;
}

body .main-content a.btn {
    color: #ffffff;
}

.btn-primary {
    background-color: var(--ewpa-orange);
    border: none;
}
.btn-primary:hover {
    background-color: #e0630f;
}
.btn-secondary {
    background-color: var(--ewpa-darkgrey);
    border: none;
}
.btn-secondary:hover {
    background-color: #7b767b;
}

body .main-content p a:hover {
    text-decoration: underline;
}

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

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

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

/* css for elemental and other components */
.element {

}

.bg-ewpa-grey {
    background-color: var(--ewpa-lightgrey);
}

/* Carousel Element */
.carousel {
    width: 100%;
}

.carousel-inner {
    height: 400px;
}

.carousel-indicators {
    justify-content: end;
}

.carousel-indicators li {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--ewpa-darkgrey);
}

.carousel-indicators li.active {
    background-color: var(--ewpa-orange);
}

.carousel-item img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

/* Carousel Diamond */
.diamond {
    position: absolute;
    top: 25px;
    left: -205px;
    height: 334px;
    width: 334px;
    margin: 10px 40px;
    text-align: center;
}

.diamond:before {
    position: absolute;
    content: '';
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    transform: rotateX(30deg) rotateZ(45deg);
    box-shadow: 5px 5px 10px #000;
    border-radius: 20px;
    background-color: #6e6e6e;
    border: 4px solid var(--ewpa-orange);
    color: #fff;
}

.diamond a {
    display: block;
    font-family: "Noto Sans", sans-serif;
    font-weight: bold;
    font-size: 35px;
    position: relative;
    color: #fff;
    width: 140px;
    top: 90px;
    left: 172px;
    margin-bottom: 0;
}

/* Feature Text Element */
.ewpa-feature-text-element {
    padding-bottom: 50px;
}

.ewpa-feature-text-element .row > div {
    margin-bottom: 40px;
}

#heading-container {
    width: 100%;
    margin: 0;
    text-align: center;
    position: relative;
}

#feature-text-bg-text {
    font-family: 'Oswald', sans-serif;
    font-size: 167px;
    letter-spacing: 1.5rem;
    color: #E7E7E7;
    margin-bottom: 0;
    margin-top: -45px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#feature-text-heading {
    font-size: 40px;
    letter-spacing: 0.5rem;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    margin-bottom: 0px;
    margin-top: 100px;
}

#column-container {
    margin-top: 70px;
    width: 100%;
    display: grid;
    row-gap: 24px;
    grid-template-rows: repeat(3, 1fr);
    text-align: center;
}

#feature-text-column-1 {
    grid-row: 1;
}

#feature-text-column-2 {
    grid-row: 2;
}

#feature-text-column-3 {
    grid-row: 3;
}

#feature-text-link {
    width: 100%;
    text-align: end;
}


/* Media Queries */
@media only screen and (min-width: 992px) {
    #column-container {
        grid-template-rows: 1fr;
        grid-template-columns: repeat(3, 1fr);
        row-gap: 0;
        column-gap: 40px;
    }

    #feature-text-column-1 {
        grid-row: 1;
    }

    #feature-text-column-2 {
        grid-row: 1;
        grid-column: 2;
    }

    #feature-text-column-3 {
        grid-row: 1;
        grid-column: 3;
    }
}

@media only screen and (min-width: 1200px) {
    #column-container {
        column-gap: 200px;
    }
}

/* Logo List Element */
.logo-section-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 35px;
    margin-bottom: 25px;
}

.logo-container {
    display: flex;
    align-items: center;
    height: 150px;
    width: 180px;
    margin: 15px 28px 15px 28px;
}

/* Column Content */
.columncontent_element h2 {
    font-size: 30px;
}

/* Marketing Element */
.marketing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 35px;
    margin-bottom: 25px;
}

.marketing-block {
    width: 317px;
    margin: 15px 45px 15px 45px;
}

.marketing-block-heading {
    margin-bottom: 26px;
}

.marketing-block-heading::after {
    content: "";
    background: -webkit-linear-gradient(left, #000, var(--ewpa-orange) 100%);
    display: block;
    height: 2px;
    width: 100%;
    margin-top: 2px;
}

.marketing-block-blurb {
    margin-top: 16px;
    margin-bottom: 0;
    max-width: 270px;
}

.marketing-block-link {
    float: right;
    margin-top: 20px;
}

/* Committee Element */
.committee-element {
    padding-top: 60px;
    padding-bottom: 40px;
}

.committee-list {
    padding-top: 80px;
}

.committee-list h5 {
    font-size: 18px;
    color: var(--ewpa-orange);
}

.committee-list .collapsed h5 {
    font-size: 16px;
    color: #000;
}

.committee-list .collapsed h5:hover {
    color: var(--ewpa-orange);
}

.committee-list h2 {
    border-left: 8px solid var(--ewpa-orange);
    padding-left: 20px;
    margin-bottom: 50px;
}

.committee-members {
    list-style: none;
    padding: 0;
}

.committee-content h2 {
    font-size: 35px;
    font-weight: normal;
}

.committee-content h4 {
    font-weight: normal;
    margin-bottom: 10px;
}

.committee-content hr {
    border-top: 2px solid var(--ewpa-darkgrey);
    width: 90%;
    margin-left: 0;
    margin-top: 20px;
    margin-bottom: 60px;
}

.committee-content .email a {
    color: var(--ewpa-orange);
}

.committee-content .body-content {
    display: grid;
    justify-items: center;
}

.body-content .profile-pic {
    border: 2px solid #707070;
    box-shadow: 0px 0px 6px #ccc;
    grid-row: 1;
    width: 240px;
    height: 320px;
    object-fit: cover;
}

.body-content .bio {
    grid-row: 2;
}

@media only screen and (min-width: 992px) {
    .committee-content .body-content {
        grid-template-columns: 30% 60%;
        grid-gap: 28px;
        justify-items: normal;
    }

    .body-content .profile-pic {
        grid-row: 1;
        grid-column: 1;
    }

    .body-content .bio {
        grid-row: 1;
        grid-column: 2;
    }
}

/* Page Banner */
.banner-container {
    height: 300px;
    background-size: cover !important;
    margin-top: 16px;
}

.banner-container .container {
    height: 100%;
    display: flex;
    align-items: end;
}

.banner-container h1 {
    margin-bottom: 60px;
}

.non-banner-container .container {
    text-align: center;
}

.breadcrumbs a {
    color: var(--ewpa-darkgrey);
}

/* Elemental User Form */
.userform-fields input,
.userform-fields textarea {
    max-width: 100%;
    width: 40%;
}

/* Header CSS*/
header {
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: height 0s, background-color 0.4s;
}

header.fixed {
    position:fixed;
    top:0;
    width:100%;
    z-index:1010;
    background-color: var(--white);
}
.w-fixed-member-navigation header.fixed {
    top:56px;
}
body.fixed-menu {
    padding-top: 284px;
}
body.w-fixed-member-navigation.fixed-menu {
    padding-top: 340px;
}

a {
    color: black;
}

a:hover {
    color: var(--ewpa-orange);
    text-decoration: none;
}

header {
    padding-top: 30px;
    padding-bottom: 10px;
}

header div.main-container {
    display: grid;
    grid-gap: 6px;
}

#header-logo {
    grid-row: 1;
    justify-self: center;
}

#header-navigation {
    grid-row: 3;
}

#header-navigation-tagline {
    display: none;
}

#header-links {
    grid-row: 2;
    justify-self: center;
    display: grid;
}

#header-buttons,
#header-social-media {
    justify-self: center;
}

#header-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
}

header.fixed #header-navigation-tagline {
    display: none;
}

/* Media Queries */
@media only screen and (min-width: 576px) {
    body.fixed-menu {
        padding-top: 204px;
    }
    body.w-fixed-member-navigation.fixed-menu {
        padding-top: 260px;
    }
    #header-logo {
        grid-column: 1;
    }

    #header-links {
        grid-column: 2;
        grid-row: 1;
    }

    #header-navigation {
        grid-column: 1/3;
        grid-row: 2;
    }
    header.fixed #header-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
}

@media only screen and (min-width: 768px) {
    body.fixed-menu {
        padding-top: 254px;
    }
    body.w-fixed-member-navigation.fixed-menu {
        padding-top: 310px;
    }
    #header-navigation-tagline {
        display: grid;
        justify-items: center;
    }

    #header-navigation-tagline p {
        text-align: center;
        max-width: 530px;
    }
}

@media only screen and (min-width: 992px) {
    header.fixed .main-container {
        align-items: center;
    }
    header.fixed {
        grid-template-columns: 100px 2fr 1fr;
        grid-template-rows: 1fr;
    }
    header.fixed #header-logo {
        grid-column: 1;
        grid-row: 1;
    }
    header.fixed #header-navigation {
        grid-column: 2;
        grid-row: 1;
    }
    header.fixed #header-links {
        grid-column: 3;
        grid-row: 1;
    }
}

@media only screen and (min-width: 1200px) {
    body.fixed-menu {
        padding-top: 154px;
    }
    body.w-fixed-member-navigation.fixed-menu {
        padding-top: 210px;
    }
    #header-logo {
        grid-column: 1;
        grid-row: 1;
    }

    #header-links {
        grid-column: 3;
        grid-row: 1;
    }

    #header-navigation {
        grid-column: 2;
        grid-row: 1;
    }

    #header-button-1 {
        grid-column: 1/3;
        grid-row: 1;
    }

    #header-button-2 {
        grid-column: 1/3;
        grid-row: 2;
    }

    header.fixed #header-logo {
    }
    header.fixed #header-navigation {
    }
    header.fixed #header-links {
        grid-template-rows: 1fr;
        grid-template-columns: 1fr 1fr;
    }
    header.fixed #header-buttons {
        grid-column: 2;
        grid-row: 1;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }
    header.fixed #header-social-media {
        grid-column: 1;
        grid-row: 1;
    }
    header.fixed #header-button-1 {
        grid-column: 1;
        grid-row: 1;
    }
    header.fixed #header-button-2 {
        grid-column: 2;
        grid-row: 1;
    }
}

#header-buttons a {
    border-radius: 0;
    border-color: black;
    color: black;
    margin: 5px;
    width: 150px;
    position: relative;
    transition: none;
}

#header-buttons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid black;
    opacity: 0;
    z-index: 0;
    transition: all 0.1s;
}

#header-buttons a:hover::before,
#header-buttons a:active::before {
    border: 3px solid var(--ewpa-orange);
    background: none;
    opacity: 1;
}

#header-buttons a:hover,
#header-buttons a:active {
    border-color: transparent;
    background: none;
}

/* Navigation */
#header-navigation {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    justify-content: center;
}

#navigation {
    display: grid;
    align-content: end;
}

#main-navbar {
    justify-content: center;
}

header .navbar-nav {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    justify-content: space-between;
    margin: 0;
}

header .nav-item {
    font-weight: 700;
}

header .dropdown-item {
    font-size: 14px;
}

header .dropdown-item:active {
    background-color: var(--ewpa-orange);
}

header .dropdown-menu {
    box-shadow: none;
}

header .nav-link {
    display: inline;
}

header .dropdown-toggle {
    padding: 8px;
}

/* Media Queries */
@media only screen and (min-width: 992px) {
    .dropdown-menu {
        border: 1px #000 solid;
        border-radius: 0;
        border-top: 0;
        border-right: 0;
        box-shadow: 5px 5px 8px -5px #000;
    }

    header .navbar-nav {
        grid-template-rows: 1fr;
        grid-template-columns: auto;
    }

    header .nav-item {
        grid-row: 1;
    }

    header .nav-item .nav-link {
        display: block;
    }

    header .nav-item .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: visibility 0s linear 300ms, opacity 300ms;
    }

    header .nav-link {
        border: 1px solid transparent;
    }

    header .nav-item.dropdown:hover .nav-link {
        border-left: 1px black solid;
        transform-origin: 0 50%;
        -webkit-transform: scale(1.1);
    }

    header .dropdown-item {
        position: relative;
        margin-bottom: 4px;
    }

    header .dropdown-item:focus,
    header .dropdown-item:active {
        background-color: var(--ewpa-orange);
        color: #fff;
    }

    header .dropdown-item::after {
        content: "";
        background: -webkit-linear-gradient(left, #000, var(--ewpa-orange) 100%);
        display: block;
        opacity: 0;
        max-height: 4px;
        height: 4px;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 9999999;
        width: 100%;
        transform: scale(.4) translateX(-50%);
        transition: all 0.2s;
    }

    header .dropdown-item:hover::after {
        left: -5%;
        width: 180%;
        opacity: 1;
    }

    .navbar .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transition: visibility 0s linear 0s, opacity 300ms;
    }

    .navbar .nav-item .dropdown-menu {
        margin-top: 0;
    }

    header .dropdown-toggle {
        display: none;
    }
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 80px;
    margin-bottom: 120px;
}

.sidebar-button {
    color: #fff;
    background-color: #2E2E2E;
    border: 3px solid var(--ewpa-orange);
    border-radius: 50px;
    width: 250px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
}

.sidebar-button:hover {
    color: #fff;
    background-color: var(--ewpa-darkgrey);
}

/* Footer CSS */
footer {
    background-color: var(--ewpa-lightgrey);
    padding-top: 30px;
    padding-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#footer-information {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    justify-items: center;
    align-items: center;
}

.footer-links {
    grid-column: 2;
}

.footer-social-media {
    grid-column: 3;
}

#footer-copyright {
    color: #6E6E6E;
}

#footer-copyright p {
    margin: 0;
}

/* Media Queries */
@media only screen and (min-width: 768px) {
    .footer-links ul li {
        display: inline-block;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media only screen and (min-width: 1200px) {
    #footer-information {
        grid-template-columns: 150px 1fr 150px;
    }

    .footer-links ul li {
        display: inline-block;
        padding-left: 70px;
        padding-right: 70px;
    }
}

