﻿@font-face {
    font-family: DINNeuzeitGrotesk;
    src: url("fonts/DINNeuzeitGrotesk-BoldCond-Regular.ttf") format("truetype"), url("fonts/DINNeuzeitGrotesk-BoldCond-Regular.otf") format("opentype");
}
@media (min-width: 1200px) {
    .container {
        width: 860px;
    }
}

@media (max-height: 640px) {
    header.masthead { height: 480px; }
    .carousel { height: 480px;}
    .carousel-caption { top:200px; bottom: unset!important; }
    .carousel-control-next, .carousel-control-prev { height: 480px; }
}


header.masthead {
    /*background-image: url("../images/bg004.png") !important;*/
    background-image: none !important;
    position: relative;
    height: 800px;
}
.carousel { height: 800px;}
.carousel-caption { top:265px; bottom: unset!important; }
.carousel-control-next, .carousel-control-prev {
    height: 800px;
}

.bg-light {
    background-color: #ecedee!important;
}

#mainNavbar.scrolled {
    background-color: #212529 !important;
    transition: background-color 200ms linear;
}

#mainNav.navbar {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #fff; /*#212529; */
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.05);
    -moz-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.05);
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.05);
}
#mainNav .navbar-brand {
    font-size: 1.25em;
    padding: 12px 0;
}
#mainNav .navbar-nav .nav-item .nav-link {
    color: #212529;
}
header.banner,
section.banner {
    text-align: center;
    color: white;
    background-image: url("../images/bg002.png");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    position: relative;
}

section.banner{
    height: 400px;
}

header.banner .intro-text,
section.banner .intro-text {
    padding-top: 110px;
    padding-bottom: 70px;
}
header.banner .intro-text .intro-lead-in,
section.banner .intro-text .intro-lead-in {
    font-size: 22px;
    font-style: italic;
    line-height: 22px;
    margin-bottom: 25px;
    font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}
header.banner .intro-text .intro-heading,
section.banner .intro-text .intro-heading {
    font-size: 50px;
    font-weight: 700;
    line-height: 50px;
    /*margin-bottom: 25px;*/
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.parallax {
    background-attachment: fixed !important;
}
section#enlist:before,
section#contact:before,
section.banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-top: 30px solid #fff;
    border-right: 1900px solid transparent;
    width: 100%;
}
#mainNav:after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: 0;
    border-bottom: 30px solid transparent;
    border-left: 1900px solid #fff;
    width: 100%;
}
section#presentation:after,
section#contact:after,
header.masthead:after,
header.banner:after,
section.banner:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    border-bottom: 30px solid #fff;
    border-left: 1900px solid transparent;
    width: 100%;
}
section.banner:after,
header.masthead:after {
    border-bottom: 30px solid #ecedee;
}
section#contact:after {
    border-bottom: 30px solid #be1e2e;
}

@media (min-width: 768px) {
    header.banner .intro-text,
    section.banner .intro-text {
        padding-top: 110px;
        padding-bottom: 70px;
    }

    header.banner .intro-text .intro-lead-in,
    section.banner .intro-text .intro-lead-in {
        font-size: 40px;
        font-style: italic;
        line-height: 40px;
        margin-bottom: 50px;
        font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    }

    header.banner .intro-text .intro-heading,
    section.banner .intro-text .intro-heading,
    #activityModal .intro-text .intro-heading {
        font-size: 48px;
        font-weight: 700;
        line-height: 75px;
        margin-bottom: 25px;
        font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
        background: rgba(0,0,0,0.5);
    }
    
    section {
        padding: 50px 0;
    }
}
#content {
    padding: 50px 0;
    text-align: justify;
}
#presentation {
    position: relative;
}
#enlist, #team {
    position: relative;
    padding-top: 50px;
}
#contact {
    padding: 100px 0;
    position: relative;
}
#contact .g-recaptcha > div {
    width: auto!important;
}
#content h1, #content h2, #content h3, #content h4, #content h5,
#main h1, #main h2, #main h3, #main h4, #main h5, #enlist h4 {
    color: #be1e2e;
    text-transform: uppercase;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' !important;
}

#content h1, #enlist h1 {
    font-weight: 500;
    font-size: 38px;
    margin: 5px 0 15px;
}

#enlist h3 {
    /*font-weight: 600; /*400*/
    /*font-size: 2em; /*24px;*/
    /*margin: 5px 0 15px;*/
    font-size: 16px !important;
    font-weight: 400 !important;
    font-style: italic !important;
    margin-bottom: 75px !important;
    text-transform: none !important;
    font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' !important;
}
#content h3, #enlist h4 {
    font-weight: 600; /*400*/
    font-size: 2em; /*24px;*/
    margin: 5px 0 15px;
}

    #content .fullwidth h3 {
        width: 640px;
        margin: 25px auto 15px;
    }
#enlist ol, #content ol, #content ul {
    list-style: none;
}
#enlist ol {
    margin: 25px auto 15px;
}
#content.fullwidth ol, #content.fullwidth ul, #content.columns ul, #content ul {
    width: 480px;
    margin: 25px auto 15px;
}
#enlist ol > li,
#content ol > li {
    counter-increment: item;
    margin-bottom: 20px;
    padding-left: 25px;
    padding-right: 20px;
}
#enlist ol > li:before, 
#content ol > li:before {
    color: #be1e2e;
    text-transform: uppercase;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' !important;
    font-weight: 600;
    font-size: 24px;
    content: counter(item);
    display: inline-block;
    float: left;
    margin-top: -5px;
    margin-left: -25px;
    padding-right: 10px;
}
#news .portfolio-item {
    margin: 0 0 10px!important;
    padding: 0 5px!important;
}
#news .portfolio-item .portfolio-caption {
    padding: 15px;
}
#news .portfolio-item .portfolio-caption h4 {
    font-size: 1.2rem;
}
#news .portfolio-item .portfolio-item-container:hover {
    box-shadow: rgba(0,0,0,0.4) 0 0 5px;
}
footer {
    background-color: #be1e2e;
    color: #fff;
    padding: 15px 0 25px;
}
footer a {
    color: #fff;
}
footer span.copyright {
    font-size: 0.8em;
    line-height: 50px;
    float: left;
}
ul.social-buttons {text-align: right; }
ul.social-buttons li { text-align: center; }
ul.social-buttons li a:hover {
    background-color: #eaeaea;
    color: #be1e2e;
    text-decoration: none;
}

.searchbar {
    margin-bottom: auto;
    margin-top: auto;
    height: 50px;
    background-color: #353b48;
    border-radius: 30px;
}

.search_input {
    color: white;
    border: 0;
    outline: 0;
    background: none;
    width: 0;
    caret-color: transparent;
    line-height: 52px;
    transition: width 0.4s linear;
}

.searchbar:hover > .search_input {
    padding: 0 10px 15px 20px;
    width: 300px;
    caret-color: #be1e2e;
    transition: width 0.4s linear;
}

.searchbar:hover > .search_icon {
    background: white;
    color: #be1e2e;
}

.search_icon {
    height: 40px;
    width: 40px;
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
}
/*img
{
    max-width: 100%;
}*/
section.post-featured-image {
    padding: 0;
}
section.post-content {
    padding: 25px 0;
    text-align: justify;
}

.recent-posts h3 {
    font-weight: normal;
    font-size: 100%;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.recent-posts h5 {
font-size: 1.25em;}
.recent-post {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edeae6;
}

#filter-panel {
    margin: 10px 16px 25px;
    padding: 20px;
    background: #ecedee;
    position: relative;
    text-align: left;
}
#filter-panel input[type=text] {
    padding: 5px;
    width: 250px;
    border: none;
}
#filter-panel .btn-primary {
    padding: 2px 8px;
    border-radius: 0;
    font-size: 1.2em;
    margin-left: -4px;
    margin-top: -2px;
}

/*#filter-panel:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-top: 20px solid #fff;
    border-right: 980px solid transparent;
    width: 100%;
}

#filter-panel:after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: 0;
    border-bottom: 20px solid #fff;
    border-left: 980px solid transparent;
    width: 100%;
}*/

table.members {
    width: 100%;
    margin: 0 auto;
    /*border: 1px solid #E5E5E5;*/
    border-collapse: separate;
    border-spacing: 0;
}

table.member thead, table.member tbody {
    border: none !important;
}

table.members thead tr {
    background: #be1e2e !important;
    border-bottom: 1px solid #E5E5E5;
}

table.members thead td {
    font-size: 24px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' !important;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    padding: 5px 10px;
}

/*table.members tbody tr{
	background: #f9f9f9;
}*/
/*table.members tbody tr:nth-child(odd) { 
	background: #f9f9f9;
}
table.members tbody tr:nth-child(even) {
	background: #FFF;
}*/
table.members tbody tr:hover {
    background-color: rgba(190, 30, 46, 0.2);
    /*cursor: pointer;*/
}

table.members tbody td {
    padding-left: 50px;
}

table.members a { /*font-weight: bold;*/
    color: #000; /*#d35c28;*/
}

table.members a:hover {
    color: #be1e2e;
    text-decoration: none;
}

table.members tr { line-height: 2em; }
table.members tr:nth-child(even) { background: #ecedee }
table.members tr:nth-child(odd) { background: #FFF }

table.member-detail-table {
    border: none !important;
    border-spacing: 5px !important;
    border-collapse: separate !important;
    font-size: 0.9em !important;
    font-weight: normal !important;
    font-family: 'Open Sans', sans-serif;
    margin: 10px;
    /*width: 100%;*/
}

table.member-detail-table th, table.member-detail-table td {
    border: none !important;
    padding: 5px;
    text-align: left;
}

table.member-detail-table th {
    width: 25%;
    color: #5a5a5a;/*#be1e2e;*/
    text-transform: uppercase;
}

table.member-detail-table td {
    background-color: #efefef !important; /* !rgba(190, 30, 46, 0.2);*/
    color: #5a5a5a;
}

.pagination > li > a, .pagination > li > a:hover {
    border: none;
    border-radius: 0 !important;
    margin-right: 4px;
    padding: 6px 10px;
    color: #be1e2e;
    text-transform: uppercase;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    background-color: #ecedee;
}

.pagination > li > a:hover {
    background-color: #be1e2e;
    color: #fff;
    text-decoration: none;
}

.pagination > li > a.active {
    color: #fff !important;
    background-color: #be1e2e;
}
.team-member {
    text-align: left;
    background-color: #fff;
    padding: 25px;
}
.team-member:hover {
    /*background: #eaeaea;*/
    box-shadow: rgba(0,0,0,0.4) 0 0 5px; /*#be1e2e 0 0 5px; */
}
.team-member h4 {margin-top: 0;}
.team-member ul.social-buttons {text-align: center; }
.team-member > ul.social-buttons li a:hover {
    color: #fff !important;
    background-color: #be1e2e;
}
.team-member img {
    width: 100px;
    height: auto;
    border: none;
    background-color: #fff;
}
.alert {
    border: none !important;
    border-radius: unset !important;
    margin: 0 17px;
}
.modal-content {
    border-radius: 0 !important;
}
.modal-footer {
    color: #303030;
    font-style: italic;
    font-size: 11px;
}
.registration-modal,
.portfolio-modal {
    z-index: 9999 !important;
}
.registration-modal .modal-dialog,
.portfolio-modal .modal-dialog {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
.registration-modal .modal-content h2,
.portfolio-modal .modal-content h2 {
    text-align: left !important;
    color: #be1e2e !important;
    padding-left: 20px !important;
    font-size: 32px;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 0 !important;
    background: rgba(0,0,0,0.1);
    padding: 10px;
}
.portfolio-modal .modal-content h2.person {
    background: none!important;
}
.registration-modal .modal-content h4,
.portfolio-modal .modal-content h4 {
    text-align: left !important;
    padding-left: 20px !important;
    font-size: 16px;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 0 !important;
    background: rgba(0,0,0,0.1);
    padding: 0 10px 10px;
}
.registration-modal .modal-content,
.portfolio-modal .modal-content {
    padding: 100px 0 50px !important;
}
.registration-modal .modal-content p,
.portfolio-modal .modal-content p { text-align: justify; }
.registration-modal .modal-content .post-featured-image img,
.portfolio-modal .modal-content .post-featured-image img {
    margin-bottom: 0 !important;
    margin-top: -100px;
    /*width: 100%;*/
}
.registration-modal .modal-content img,
.portfolio-modal .modal-content img
{
    /*margin-bottom: 0!important;
    margin-top: -100px;*/
    width: 100%;
}   
.registration-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    cursor: pointer;
    background-color: transparent;
}
.registration-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #212529;
}
.registration-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 75px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    background-color: #212529;
}

/*#resources .portfolio-item {
    padding: 0 5px 10px;
}
#resources .portfolio-caption {
    background: #FFF;
    padding: 15px 15px 5px;
}
#resources .portfolio-caption:hover {
    box-shadow: rgba(0,0,0,0.4) 0 0 5px;
}
#resources .portfolio-caption a:hover {
    text-decoration: none;
}
#resources .portfolio-caption {text-align: justify;}*/


#search-results .search-result {
    background: #fff;
    padding: 5px 10px;
    margin: 0 0 10px;
    position: relative;
}
#search-results .search-result:hover {
    box-shadow: rgba(0,0,0,0.4) 0 0 5px;
}
#events .search-result img {
    width: 200px;
    float: left;
}
#search-results .calendar-caption {
    margin-left: 200px;
    padding: 15px;
}
#search-results .calendar-item .calendar-link {
    /*position: relative;*/
    display: block;
    /*max-width: 400px;*/
    margin: 0 auto;
    cursor: pointer;
}
#search-results .search-result .search-result-link .search-result-hover {
    position: absolute;
    width: 200px;
    height: 100%;
    -webkit-transition: all ease 0.5s;
    transition: all ease 0.5s;
    opacity: 0;
    background: rgba(190, 30, 46, 0.6);
}
#search-results .search-result .search-result-link .search-result-hover:hover {
    opacity: 1;
}
#search-results .search-result .search-result-link .search-result-hover .search-result-hover-content {
    font-size: 20px;
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -30px;
    text-align: center;
    color: white;
}
#search-results .search-result-location {
    font-style: italic;
    color: #303030;
    margin: -5px 0 5px;
}

#resources .portfolio-item,
#events .calendar-item {
    background: #fff;
    padding: 0;
    margin: 0 0 10px;
    position: relative;
    height: 150px;
}
#resources .portfolio-item:hover,
#events .calendar-item:hover {
    box-shadow: rgba(0,0,0,0.4) 0 0 5px;
}
#events .calendar-item-date {
    position: absolute;
    left: -8px;
    top: 10px;
    width: 60px;
    background: #be1e2e;
    padding: 5px 15px 5px;
    color: #fff;
    text-align: center;
    box-shadow: rgba(0,0,0,0.3) 5px 0 5px;
}
#events .calendar-item-date:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0px;
    border-top: 50px solid transparent;
    border-left: 4px solid #ecedee;
    width: 100%;
}
#resources .portfolio-item img {
    width: 175px;
    float: left;
}
#events .calendar-item img {
    width: 200px;
    float: left;
}
#resources .portfolio-caption {
    margin-left: 175px;
    padding: 10px 15px;
}
#events .calendar-caption {
    max-height: 90%;
    /*height: 175px;*/
    margin-left: 200px;
    padding: 15px;
    overflow-y: hidden;
}
#resources .portfolio-categories, .portfolio-modal .post-categories {
    margin: 10px -5px;
    padding: 0;
}
.portfolio-modal .post-categories {
    text-align: left;
    margin-top: 20px;
}
#resources .portfolio-categories ul {
    list-style: none;
    padding: 0;
}
#resources .portfolio-categories ul li {
    display: inline-block;
}
#resources .portfolio-categories ul li a {
    padding: 5px 8px;
}
#resources .portfolio-categories ul li a:hover {
    background: #be1e2e;
    color: #fff!important;
    text-decoration: none;
}
#resources .portfolio-categories span,
.portfolio-modal .post-categories span {
    background: #be1e2e;
    color: #fff;
    padding: 5px;
    margin: 0 5px;
}
#resources .portfolio-item .portfolio-link
#events .calendar-item .calendar-link {
    /*position: relative;*/
    display: block;
    /*max-width: 400px;*/
    margin: 0 auto;
    cursor: pointer;
}
#resources .portfolio-item .portfolio-link .portfolio-hover,
#events .calendar-item .calendar-link .calendar-hover {
    position: absolute;
    width: 200px;
    height: 100%;
    -webkit-transition: all ease 0.5s;
    transition: all ease 0.5s;
    opacity: 0;
    background: rgba(190, 30, 46, 0.6);
}
#resources .portfolio-item .portfolio-link .portfolio-hover {
    width: 175px;
}
#resources .portfolio-item .portfolio-link .portfolio-hover:hover,
#events .calendar-item .calendar-link .calendar-hover:hover {
    opacity: 1;
}
#resources .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content,
#events .calendar-item .calendar-link .calendar-hover .calendar-hover-content {
    font-size: 20px;
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -30px;
    text-align: center;
    color: white;
}
#events .calendar-item-location {
    font-style: italic;
    color: #303030;
    margin: -5px 0 5px;
}
#activityModal article .calendar-item-date-description,
#activityModal .calendar-item-location {
    font-style: italic;
    color: #303030;
    margin: 5px 0;
    text-align: justify;
}

#activityModal .calendar-item-date {
    position: absolute;
    left: -8px;
    top: 10px;
    max-width: 130px;
    background: #be1e2e;
    padding: 5px 15px 5px 20px;
    color: #fff;
    text-align: center;
    box-shadow: rgba(0,0,0,0.3) 5px 0 5px;
}

#activityModal .calendar-item-date:before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    border-top: 48px solid #be1e2e;
    border-left: 4px solid transparent;
    width: 100%;
    z-index: -1;
}

#activityModal .intro-text {
    padding-top: 110px;
    padding-bottom: 70px;
    position: absolute;
    top: 250px;
}
#activityModal .intro-text .intro-lead-in {
    font-size: 22px;
    font-style: italic;
    line-height: 22px;
    margin-bottom: 25px;
    font-family: 'Droid Serif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}
#activityModal .intro-text .intro-heading {
    font-size: 32px;
    font-weight: 700;
    line-height: 50px;
    /*margin-bottom: 25px;*/
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    color: #fff;
}