#eventsSection{
    background-color: #E5E2E0;
    padding: 1.5em;
    margin-top: -70px;
    margin-left: 10%;
    margin-right: 10%;
    overflow: hidden;
}

#eventCategorySelect{
    width: 200px;
    padding: 1px 15px;
    border-radius: 0;
    font-size: 16px;
    border: 1px solid #e5e5f8;
    color: #00529B;
    font-family: "gentona", "Georgia", serif;
    font-weight: 500;
}
#upcomingEventsTitle{
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.no-padding{
    padding: 0px;
}
#events{
    /* display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center; */
}
#viewAllEvents{
    font-weight: 500;
    font-family: inherit;
    text-transform: uppercase;
    font-size: 16px;
    margin-left: 5px;
}
.eventsButton:before{
    color: #f37123 !important;
}

.eventHome{
    background-color: white;
    min-height: 8em;
    width: 11em;
    padding: 5px 10px;
    margin-right: 25px;
    margin-left: 25px;
}
.eventDateHome {
    font-family: inherit;
    text-transform: capitalize;
    color: rgb(62, 62, 64);
    font-weight: 500;
}
.eventTitleHome{
    font-weight: 700;
    font-family: inherit;
    text-transform: capitalize;
    color: #005496; 
    font-size: 16px;
    margin: 0px;
    line-height: normal;
}
.eventTimeHome{
    font-family: inherit;
    color: rgb(62, 62, 64); 
    margin-top:10px;
    margin-bottom: 0px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
}
.learnMoreLink{
    font-weight: 500;
    font-family: inherit;
    text-transform: uppercase;
    font-size: 16px;
    text-align: right;
}
.happenPics {
    position: relative;
    margin-right: -15px;
    margin-left: -15px;
    padding-bottom: 73%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
}
.happenBigPic{
    position: relative;
    margin-right: -15px;
    margin-left: -15px;
    padding-bottom: 69%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.triangle{
width: 0;
height: 0;
border-top: 30px solid transparent;
border-bottom: 30px solid transparent;
-ms-transform: rotate(45deg);
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
position: absolute;
top: -19px;
left: -4px;

}

.blogType{
    position: absolute;
    top: 5px;
    left: 10px;
}
.blogType p {
    font-weight: 400;
    color: white;
    font-family: inherit;
    text-transform: uppercase;
    text-shadow: 1px 1px black;
    font-size: 16px;
}

.blogTitle{
    position: absolute;
    bottom:15px;
    left: 10px;
    max-width: 75%;
}

.blogTitle p{
    font-weight: 400;
    color: white;
    font-family: inherit;
    text-transform: capitalize;
    margin: 0;
    padding: 3px;
    font-size: 18px;
    line-height: 18px;
    /*text-shadow: #000000 1px 1px;*/
}


.readMore{
    position: absolute;
    bottom: 10px;
    right: 15px;
    -ms-transform: skewX(-20deg);
    -webkit-transform: skewX(-20deg);
    transform: skewX(-20deg);
    background-color: #ffffff;

}
.readMore span{
    color: #F37123;
    border-radius: 0em;
    border: 0px solid;
    font-weight: 600;
    text-transform: uppercase;
    padding: 1px 10px;
    -ms-transform: skewX(20deg);
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);  
    display: inline-block;
}
.readMore span a {
    font-size: 15px;
}

.happening-submenu{
    text-align: center;
    padding: 12px 0px 12px 0px; 
  }
  
.happening-submenu a {
    color: black;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: "gentona","Georgia",serif;
}

@media(max-width:768px){

    .happening-submenu a {
        font-size: 16px;
    }
}

@media(max-width:480px){

    .happening-submenu a {
        font-size: 14px;
    }
}

.happening-submenu .active a{
    color: #f37123;
}
#happeningSection .tab-pane {
    display: none;
}
#happeningSection .tab-pane.active {
    display: block;
}
#happeningTitle h2{
    color: black;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    font-size: 35px
}
#opportunitiesCategories{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.pageCategory{
    color: black;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin-left: 15px;
    margin-right: 15px;
    cursor: pointer;
}

@media(max-width:768px){

.pageCategory{
    font-size: 14px;
}

}
.activePageCategory{
    color: #f37023;
}
    
#opportunities {
    /*background-color: #f37023;*/
    background-image: url(/wp-content/plugins/ufsa_cornerstone/assets/styles/images/Orange_BG-Element.png);
    padding-top: 30px;
    padding-bottom: 30px;
}

.opportunity{
    min-height: 13em;
    width: 11em;
    padding: 30px 10px 0px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin-left: 20px;
    margin-right: 20px;
}

@media(max-width: 768px){
.opportunity{
    min-height: 10em;

}
}
.opportunityTitle{
    margin: 20% 0%;
    font-weight: 400;
    color: white;
    font-family: inherit;
    text-transform: uppercase;
    font-size: 1em;
    text-align: center;
    padding: 3px;
}
.opportunityLink{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.slick-list.draggable {
    padding-left: 20px; 
    padding-right: 20px;
}

@media (max-width: 700px) {
    #happeningTitle h2{
        font-size: 20px
    }
    .blogTitle p{
        font-size: 16px;
        padding: 5px 3px;
        line-height: initial;
    }
    .blogTitle{
        bottom: 7px;
    }
    .readMore{
        display: none;
    }
    .happenPics{
        padding-bottom: 100%;
    }
    
}


.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction{
    bottom: 40px;
}

@media (max-width: 767px) {
    .learnMoreLink{
        display: none;
    }
    .nav-justified{
        display: flex;
        justify-content: space-around;
    }
    #eventsSelectSection{
        display: flex;
        justify-content: center;
    }
    #upcomingEventsTitle{
        text-align: center;
    }
    .eventHome {
        min-height: 6em;
    }
    #eventsSection{
        padding: 1em;
        margin-top: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }

    h3#upcomingEventsTitle{
        font-size: 20px;
        line-height: 20px;
    }
    .swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction{
    bottom: 10px;
}
}

