/*
Theme Name:     College of Engineering UMC2 Adaptation
Theme URI:
Description:    Umctheme2 child theme.
Author:         Matt Gauthier
Author URI:
Template:       umctheme2
Version:        0.1.0
*/

/* NOTE: Parent Theme styles are loaded via the parent themes functions file in 'parent-style' and then this stylesheet (style.css) for the child is loaded */

/* Site Specific Styles Start Here
------------------------------------------------------------ */

@import url("https://fonts.googleapis.com/css?family=Montserrat:400,600,700,800,900|Open+Sans:400,600,700");
@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
/*--------------------------------------------------------------
 *## BUTTONS
 *-------------------------------------------------------------- */

/*--------------------------------------------------------------
 *## GLOBAL
 *-------------------------------------------------------------- */

body {
    color: #585858;
    font-family: "Open Sans", sans-serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}
h1 {
    font-family: "Montserrat", sans-serif;
    font-size: 3.8em;
    font-weight: 800;
    letter-spacing: -2px;
    margin: 0px;
}
h1.subhead {
    font-size: 2em;
}
h2 {
    color: #372C2C;
    font-family: "Montserrat", sans-serif;
    font-size: 2.4em;
    line-height: 1;
    font-weight: 800;
    margin: 0px;
}
h2.subhead {
    font-size: 1.6em;
    line-height: 1;
    font-weight: 400;
    color: #585858;
}
h3 {
    color: #372C2C;
    font-family: "Montserrat", sans-serif;
    font-size: 1.2em;
    line-height: 1.5;
    font-weight: 800;
    margin: 0px;
}
hr {
    margin: 20px auto 40px 0px;
    height: 4px;
    width: 75px;
    background: linear-gradient(-20deg, #750000, #CC0000);
    border: none;
}
hr.centered {
    margin: 20px auto 40px auto;
}
.uu-section.red-bg hr {
    background: linear-gradient(-20deg, #000000, #372C2C);
}
article {
    width: 100%;
}
p {
    /*margin-bottom: 45px;*/
}
ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}
li.list-group-item:first-child{
    border-radius:0px;
}
li.list-group-item:last-child{
    border-radius:0px;
}
a, button {
    background: none;
    border: none;
    color: #CC0000;
}
a:hover, button:hover {
    cursor: pointer;
    text-decoration: none;
    color: #750000;
}
a:focus, button:focus {
    outline: none;
}
a.uu-link, button.uu-link {
    position: relative;
    transition: all 0.15s ease;
}
a.uu-link:after, button.uu-link:after {
    position: absolute;
    right: -10px;
    content: "ï„…";
    font-family: "FontAwesome";
}
a.uu-link:hover:after, button.uu-link:hover:after {
    right: -12px;
}
.container {
    padding-left: 15px;
    padding-right: 15px;
}
ol.numbered-list {
    list-style-type: none;
    counter-reset: item;
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}
ol.numbered-list>li {
    display: block;
    position: relative;
    padding-left: 25px;
}
ol.numbered-list>li:before {
    position: absolute;
    top: 0;
    left: 0;
    content: counter(item, decimal-leading-zero) " ";
    counter-increment: item;
    font-size: 1.2em;
    line-height: 1.5;
    font-weight: 400;
    margin-right: 5px;
    color: #7B7B7B;
}
ol.numbered-list li>ul {
    list-style-type: disc;
}
/*--------------------------------------------------------------
 *## Site Title
 *-------------------------------------------------------------- */

h1.uu-site-titles__heading {
    letter-spacing: 0px;
}
/*--------------------------------------------------------------
 *## Site Colors
 *-------------------------------------------------------------- */

.uu-red {
    color: #CC0000;
}
.uu-ebony {
    color: #372C2C;
}
.uu-smoke {
    color: #F7F9FB;
}
.uu-slate {
    color: #847A7A;
}
.uu-white {
    color: #FFFFFF;
}
.uu-black {
    color: #000000;
}
.uu-grey {
    color: #585858;
}
.bg-uu-red {
    background-color: #CC0000 !important;
}
.bg-uu-ebony {
    background-color: #372C2C !important;
}
.bg-uu-smoke {
    background-color: #F7F9FB !important;
}
.bg-uu-slate {
    background-color: #847A7A !important;
}
.bg-uu-white {
    background-color: #FFFFFF !important;
}
.bg-uu-black {
    background-color: #000000 !important;
}
.bg-uu-grey {
    background-color: #585858 !important;
}
/*--------------------------------------------------------------
 *## BUTTONS
 *-------------------------------------------------------------- */

.uu-btn {
    display: inline-block;
    margin: 10px auto;
    position: relative;
    background: #CC0000;
    color: #ffffff !important;
    padding: 15px 80px 15px 40px;
    border-radius: 50px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.15s ease;
    font-size: 18px;
    font-weight: 800;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
}
.uu-btn.flat{
    border-radius: .25em;
    padding: 10px 40px;
}
a.uu-btn {
    color: #ffffff;
}
.uu-btn:after {
    position: absolute;
    right: 30px;
    content: "ï„…";
    font-family: "FontAwesome";
}
.uu-btn.flat:after{
    content: '';
}

.uu-btn:hover {
    background: #750000 !important;
    color: #ffffff !important;
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
    box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.1);
}
.uu-btn.white {
    background: #ffffff;
    color: #CC0000 !important;
}
.uu-btn.white:hover {
    background: #F7F9FB;
    color: #372C2C !important;
}
.loadmore-btn {
    color: #ffffff !important;
}
.uu-btn.btn-xsm{
    padding: 4px 10px;
    width: 50%;
    font-weight: 300;
    font-size: 14px;
}
/*--------------------------------------------------------------
 *## Marquee Carousel (Owl Carousel)
 *-------------------------------------------------------------- */

.uu-marquee .item {
    padding: 400px 0px;
}
.uu-marquee .item.background-img {
    background-size: cover;
    background-position: center right;
}
.uu-marquee .item h1 {
    font-size: 3.4em;
    color: #ffffff;
}
.uu-marquee .item h1.subhead {
    font-weight: 600;
    font-size: 2em;
    margin-bottom: 10px;
}
.marquee {
    position: relative;
}

.marquee::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;    
    z-index: 102;
    -webkit-animation: fadein 2s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s;
    /* Firefox < 16 */
    -ms-animation: fadein 2s;
    /* Internet Explorer */
    -o-animation: fadein 2s;
    /* Opera < 12.1 */
    animation: fadein 2s;
}
.marquee.red-gradient::before {
    background: linear-gradient(20deg, rgba(204, 0, 0, 1), rgba(204, 0, 0, 0));
}
.owl-carousel {
    position: relative;
    z-index: 1;
}
.owl-carousel .owl-nav {
    position: absolute;
    height: 100px;
    top: calc(50% - 50px);
    width: 100%;
    font-size: 60px;
    color: #ffffff;
    z-index: 3;
}
.owl-carousel .owl-nav .owl-prev {
    position: absolute;
    left: 30px;
    opacity: 0.2;
}
.owl-carousel .owl-nav .owl-prev:hover {
    opacity: 1;
}
.owl-carousel .owl-nav .owl-next {
    position: absolute;
    right: 30px;
    opacity: 0.2;
}
.owl-carousel .owl-nav .owl-next:hover {
    opacity: 1;
}
.owl-carousel .owl-dots {
    position: absolute;
    bottom: 8%;
    left: 0;
    right: 0;
    margin: 0px auto;
    z-index: 2;
    text-align: center;
}
.owl-carousel .owl-dots .owl-dot {
    width: 80px;
    height: 4px;
    background: #F7F9FB;
    margin: 0px 5px;
}
.owl-carousel .owl-dots .owl-dot.active, .owl-carousel .owl-dots .owl-dot:hover {
    background: #CC0000 !important;
}
/*--------------------------------------------------------------
 *## TABS
 *-------------------------------------------------------------- */

.tabs-container,
.umc-tab .so-widget-sow-tabs .sow-tabs {
    margin: 50px auto;
}
.tabs-container .tabs-nav,
.umc-tab .so-widget-sow-tabs .sow-tabs .sow-tabs-tab-container {
    font-size: 16px;
    line-height: 18px;
    border-bottom: 3px solid #f0f3f7;
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.umc-tab .so-widget-sow-tabs .sow-tabs .sow-tabs-tab-container{
        display: flex!important;
            flex-wrap: wrap;
}

.tabs-container .tabs-nav .nav-item,
.umc-tab .so-widget-sow-tabs .sow-tabs .sow-tabs-tab-container .sow-tabs-tab {
    position: relative;
    top: 3px;
    display:inline-block;
}
.umc-tab .so-widget-sow-tabs .sow-tabs .sow-tabs-tab-container .sow-tabs-tab{
    flex: 1 1 auto;
    text-align: center;
}

.tabs-container .tabs-nav .nav-item .nav-link,
.umc-tab .so-widget-sow-tabs .sow-tabs .sow-tabs-tab-container .sow-tabs-tab{
    position: relative;
    color: #372C2C;
    font-weight: 600;
    border: 0px;
    padding-bottom: 30px;
}
.tabs-container .tabs-nav .nav-item .nav-link.active,
.umc-tab .so-widget-sow-tabs .sow-tabs .sow-tabs-tab-container .sow-tabs-tab.sow-tabs-tab-selected {
    position: relative;
    color: #CC0000;
    background-color: inherit;
    outline: none !important;
}
.tabs-container .tabs-nav .nav-item .nav-link.active:after,
.umc-tab .so-widget-sow-tabs .sow-tabs .sow-tabs-tab-container .sow-tabs-tab.sow-tabs-tab-selected:after {
    position: absolute;
    bottom: 1px;
    left: 0;
    right: 0;
    content: "";
    widows: 100%;
    height: 6px;
    background: linear-gradient(-20deg, #750000, #CC0000);
    box-shadow: 0 4px 10px -2px #CC0000;
}
.tabs-container .tab-content,
.umc-tab .so-widget-sow-tabs .sow-tabs .sow-tabs-panel-container .sow-tabs-panel{
    text-align: left;
    margin-top: 30px;
    padding: 30px;
}
/*--------------------------------------------------------------
 *## SECTIONS
 *-------------------------------------------------------------- */

.uu-section {
    padding: 8% 0px;
}
.uu-section.white-bg {
    background-color: #ffffff;
    color: #585858;
}
.uu-section.red-bg {
    background-color: #CC0000;
    color: #ffffff;
}
.uu-section.red-bg h2 {
    color: #ffffff;
}
.uu-section.red-bg h2.subhead {
    color: #ffffff;
}
.uu-section.black-bg {
    background-color: #1C1616;
    color: #ffffff;
}
.uu-section.black-bg h2 {
    color: #CC0000;
}
.uu-section.black-bg h2.subhead {
    color: #ffffff;
}
.uu-section.ebony-bg {
    background-color: #372C2C;
    color: #ffffff;
}
.uu-section.smoke-bg {
    background-color: #F7F9FB;
    color: #585858;
}
.uu-section.top-slant-right {
    -webkit-clip-path: polygon(0 12%, 100% 0%, 100% 100%, 0% 100%);
    clip-path: polygon(0 12%, 100% 0%, 100% 100%, 0% 100%);
    padding-top: 160px;
}
.uu-section.background-img {
    background-size: cover;
    background-position: center right;
}
.cta-section {
    padding: 6%;
    background: url("images/cta-bg1.png") left center no-repeat;
}
.cta-section h2 {
    color: #ffffff;
}
/*--------------------------------------------------------------
 *## HOMEPAGE
 *-------------------------------------------------------------- */

.eae-logo {
    margin-bottom: 30px;
}
.u-block {
    max-width: 100px;
    margin-bottom: 30px;
}
.highlight-container {
    position: relative;
    display: inline-flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.highlight-container .num-highlight {
    flex-grow: 1;
    font-family: "Montserrat", sans-serif;
    font-size: 60px;
    font-weight: 800;
    margin-right: 10px;
}
.highlight-container .num-highlight span {
    position: absolute;
    top: 0;
    left: 0;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 400;
    color: #939393;
}
.highlight-container .highlight-content {
    flex-grow: 1;
    text-align: left;
    margin-top: 25px;
}
.highlight-container .highlight-content .highlight-title {
    font-size: 16px;
    font-weight: 600;
}
.highlight-container .highlight-content .highlight-description {
    font-size: 12px;
    font-weight: 400;
}
.uu-logo-carousel {
    max-width: 1140px;
    margin: 30px auto;
}
.uu-logo-carousel .uu-card {
    margin: 30px 15px;
}
.uu-photo-carousel {
    max-width: 1140px;
    margin: 30px auto;
}
.uu-photo-carousel .item {
    border-radius: 30px;
    box-shadow: 0px 0px 20px 0px rgba(192, 201, 213, 0.5);
    padding: 0px;
    width: 100%;
}
.uu-photo-carousel .item img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
/*--------------------------------------------------------------
 *## MODALS
 *-------------------------------------------------------------- */

.modal-body {
    padding: 0px !important;
}
/*--------------------------------------------------------------
 *## ABOUT PAGE
 *-------------------------------------------------------------- */

.about-image-grid h3.widget-title {
    position: absolute;
    top: calc(50% - 23px);
    left: 0;
    right: 0;
    margin: 0px auto;
    border: none;
    color: #ffffff;
    font-size: 36px;
    line-height: 36px;
    pointer-events: none;
    z-index: 102;
}
.about-image-grid .so-widget-sow-image .sow-image-container {
    position: relative;
    overflow: hidden;
    z-index: 100;
}
.about-image-grid .so-widget-sow-image .sow-image-container::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: linear-gradient(20deg, rgba(204, 0, 0, 1), rgba(204, 0, 0, 0));
    z-index: 101;
    -webkit-animation: fadein 2s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s;
    /* Firefox < 16 */
    -ms-animation: fadein 2s;
    /* Internet Explorer */
    -o-animation: fadein 2s;
    /* Opera < 12.1 */
    animation: fadein 2s;
    pointer-events: none;
}
.about-image-grid .so-widget-sow-image {
    position: relative;
}
.about-image-grid .so-widget-sow-image:hover {
    cursor: pointer;
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
    box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.1);
}
.about-image-grid .so-widget-sow-image img {
    transition: all 0.3s ease;
}
.about-image-grid .so-widget-sow-image:hover img {
    transform: scale(1.2);
}
/*--------------------------------------------------------------
 *## DROPDOWN MENU
 *-------------------------------------------------------------- */

.uu-dropdown {
    width: 100%;
}
.uu-dropdown button.dropdown-toggle {
    width: 100%;
    border: 1px solid #E6E6E6;
    border-radius: 20px 20px 0px 0px;
    padding: 15px;
}
.uu-dropdown button.dropdown-toggle:after {
    position: absolute;
    right: 30px;
    content: "";
    font-family: "FontAwesome";
    border: 0px;
    margin: 0px;
    vertical-align: middle;
}
.uu-dropdown .dropdown-menu {
    width: 100%;
    margin: 0px;
    padding: 0px;
    border-top: none;
    border-color: #E6E6E6;
    border-radius: 0px 0px 20px 20px;
    transform: translate3d(0px, 57px, 0px) !important;
}
.uu-dropdown .dropdown-menu .dropdown-item {
    font-size: 16px;
    line-height: 1;
    padding: 15px;
    border-bottom: 1px solid #E6E6E6;
}
.uu-dropdown .dropdown-menu .dropdown-item:last-child {
    border-radius: 0px 0px 20px 20px;
    border-bottom: none;
}
.uu-dropdown .dropdown-menu .dropdown-item:hover {
    background: linear-gradient(-20deg, #750000, #CC0000);
    color: #ffffff;
}
/*--------------------------------------------------------------
 *## CARDS
 *-------------------------------------------------------------- */

.uu-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
}
.link-card {
    position: relative;
    padding-left: 90px;
    min-height: 115px;
}
.link-card:hover {
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
    box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.1);
}
.link-card-icon {
    position: absolute;
    top: 20px;
    left: 30px;
}
.link-card-title {
    font-size: 1em;
    line-height: 1.2;
    margin-bottom: 10px;
}
/*--------------------------------------------------------------
 *## Student Portfolios
 *-------------------------------------------------------------- */

.portfolio-post-item {
    margin: 15px auto;
    text-align: center;
    width: 100%;
    height: 100%;
    -webkit -animation: fadein 2s;
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s;
    /* Firefox < 16 */
    -ms-animation: fadein 2s;
    /* Internet Explorer */
    -o-animation: fadein 2s;
    /* Opera < 12.1 */
    animation: fadein 2s;
}
.portfolio-post-item .portfolio-post-image {
    position: relative;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 5px;
}
/*--------------------------------------------------------------
 *## Category Pages
 *-------------------------------------------------------------- */

.cat-post-item {
    margin: 15px auto;
    width: 100%;
    height: 100%;
}
.cat-post-item .cat-post-image {
    position: relative;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 320px;
    overflow: hidden;
    margin-bottom: 5px;
}
.cat-post-item h3.cat-post-title {
    color: #372C2C;
    margin-top: 10px;
}
.cat-post-item .cat-post-date {
    /* display: block; */
    color: #8B8B8B;
    font-size: 1em;
    font-weight: 600;
    margin: 5px 0px;
}
.cat-post-item p {
    margin: 0px 0px 30px 0px;
    font-size: 1em;
    font-weight: 400;
    color: #8B8B8B;
}




/*--------------------------------------------------------------
 *## UU TEAM WIDGET OVERWRITES
 *-------------------------------------------------------------- */

.uu-team-container {
    position: relative;
    top: -50px;
    min-height: 479px;
}
.uu-team-container hr {
    margin-left: auto;
    margin-right: auto;
}
.uu-team-container h3 {}
.uu-team-container strong {
    color: #585858;
    font-family: "Open Sans", sans-serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.6;
}
.student-grid .uu-team-container {
    min-height: 200px;
}
/*--------------------------------------------------------------
 *## FOOTER
 *-------------------------------------------------------------- */

#footer-container footer{
    max-width: 100%;
    padding: 20px;
    color: white;
    font-size: 12px;
}

#footer-container footer .so-panel strong:first-child{
    font-size: 14px;
}


#footer-container footer .brand-area {
    margin-bottom: 0px !important;
    margin-top: 10px;
}

footer .dept-logo img{
    max-width: 90% !important;
}

footer.uu-footer .uu-footer-top {
    background: #1C1616;
    color: #ffffff;
    padding: 5%;
}
footer.uu-footer .uu-footer-bottom {
    background: #372C2C;
    color: #ffffff;
    padding: 2%;
}

#footer-container .footer-bottom-links{
    text-align: center;
}

/*--------------------------------------------------------------
 *## LOGOS
 *-------------------------------------------------------------- */

#site-logo-dekstop {
    width: 220px;
    height: 40px;
    position: absolute;
    top: 14px;
    left: 14px;
}
#site-logo-mobile {
    width: auto;
    height: 40px;
    position: absolute;
    top: 14px;
    left: 14px;
    display: none;
}



/*--------------------------------------------------------------
 *## MEDIA QUERIES
 *-------------------------------------------------------------- */

@media screen and (max-width: 1200px) {
    .highlight-container {
        display: block;
        text-align: center;
    }
    .highlight-container .num-highlight {
        position: relative;
        text-align: center;
        margin: 0px auto;
    }
    .highlight-container .num-highlight span {
        right: 0;
        margin: 0px auto;
    }
    .highlight-container .highlight-content {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0px;
    }
    #site-logo-dekstop {
        width: 160px;
        height: 30px;
    }
}
@media only screen and (min-width: 1024px) {
    .content-single {
        width: 100%;
        margin: 0 auto;
    }
}
@media screen and (max-width: 1078px) {
    #site-logo-dekstop {
        width: 140px;
        height: 30px;
    }
}
@media screen and (max-width: 998px) {
    .uu-section {
        padding: 12% 0px;
    }
    .uu-section.top-slant-right {
        -webkit-clip-path: polygon(0 6%, 100% 0%, 100% 100%, 0% 100%);
        clip-path: polygon(0 6%, 100% 0%, 100% 100%, 0% 100%);
    }
    .uu-section.top-slant-right .widget_siteorigin-panels-builder {
        margin-left: auto;
        margin-right: auto;
    }
    .uu-marquee .item {
        height: 100vh;
        padding: 100px 0px;
    }
    .uu-logo-carousel .uu-card {
        padding: 20px;
    }
    h1 {
        font-size: 3em;
        letter-spacing: -2px;
    }
    h1.subhead {
        font-size: 1.5em;
    }
    h2 {
        font-size: 2em;
    }
    h2.subhead {
        font-size: 1.5em;
    }
    #site-logo-dekstop {
        display: none;
    }
    #site-logo-mobile {
        display: inline;
    }
}

@media only screen and (min-width: 950px){}
    #footer-container .brand-area {
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2em;
        letter-spacing: -1px;
    }
    h1.subhead {
        font-size: 1.2em;
    }
    h2 {
        font-size: 1.5em;
    }
    h2.subhead {
        font-size: 1.2em;
    }
    .uu-btn {
        padding: 15px 60px 15px 30px;
    }
    .uu-logo-carousel .uu-card {
        padding: 10px;
    }
}
@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Firefox < 16 */

@-moz-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Safari, Chrome and Opera > 12.1 */

@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Internet Explorer */

@-ms-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Opera < 12.1 */

@-o-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* Hide Post Date */

.post .entry-meta, .cat-post-date {
    display: none;
}
.event-date {
    font-size: 2.1;
    font-weight: 600;
    color: #cc0000;
    margin-bottom: 30px;
}
.cat-post-item .event-date {
    margin-bottom: 10px;
}

.post .next-prev-post-navigation{
    position: absolute;
    width: 100%;
    left: 0px;
    bottom: 0px;
    outline-color: #eaeaea;
    background-color: #f7f7f7;
    color: #303133;
    padding: 10px 22%;
    font-size: 20px;
    font-weight: bold;
    border-top: 1px #eaeaea solid;
}

.post .next-prev-post-navigation a{
    font-size: 20px;
    font-weight: normal;
    color: #303133;
}

/* Modals */

.modal-post-content {
    padding: 30px;
}


/** RELATED POSTS **/

.post .content-single .rp4wp-related-posts {
    margin-bottom: 60px;
}



.post .content-single .rp4wp-related-posts h3{
    font-size: 23px;
    font-family: "Encode Sans Condensed",Helvetica,Arial,sans-serif;
    line-height: 1.3;
    font-weight: 400;
    color: #000;
    border-bottom: none; /* 2px #CC0000 solid;*/
    margin-top: 40px;
    padding-bottom: 0px;
    display:inline-block;
}
.post .content-single .rp4wp-related-posts ul {
    width:100%;
    padding:0;
    margin:0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
    list-style-type: none;
    margin-top: 20px;
}
.post .content-single .rp4wp-related-post-image {
    width:100%;
    padding:0;
    float:none;
    margin-bottom: 10px;
}

.post .content-single .rp4wp-related-posts ul > li{
  border: 1px #eee solid;
  padding: 10px

}

/** Feature Icons **/
.spin-icons .sow-icon-container{

}

.spin-icons .sow-features-feature:hover .sow-icon-container {
  -webkit-transition: -webkit-transform .5s ease-in-out;
          transition:         transform .5s ease-in-out;
  -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
}

/** Directory Listings **/
/** Directory Page **/

.department-directory .flexbox{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.department-directory .filter-options{
    text-align:left;
    margin-bottom: 50px;
    flex-basis: 80%;
}

.department-directory .filter-options .btn{
    margin: 0px;
    padding: 5px 10px;
}


.department-directory .filter-options .btn.active{
    margin: 0px;
    padding: 5px 10px;
    background: #440000 !important;
}

.department-directory .filter-options .btn.active:focus{
    color: white !important;
}
.department-directory .btn-group{
    flex-wrap:wrap;
}

.department-directory .btn-group > .btn{
    flex: none;
}

.minw_768.maxw_979 .department-directory .filter-options,
.maxw_767 .department-directory .filter-options{
    flex-basis: 100%;
}
.minw_768.maxw_979 .department-directory .filter-options button,
.maxw_767 .department-directory .filter-options button{
    padding: 9px 10px 9px 10px !important;
}

.department-directory .filter-search-container{
    margin-top: 20px;
}

.department-directory .filter-options button,
.department-directory .filter-options button a,
.department-directory .filter-options button a:hover{
    color: #000;
}

.department-directory .filter-options button:hover a,
.department-directory .filter-options button:hover a:hover{
    color: #eee;
}

.department-directory .filter-options button.active,
.department-directory .filter-options button.active a,
.department-directory .filter-options button.active a:hover{
    color: #eee;
}

.department-directory .search{
    align-self: stretch;
}

.department-directory .search,
.department-directory .search input.quicksearch,
.department-directory .search .close-icon{
    position:relative;
}


.department-directory .search input.quicksearch{
    margin: 0px;
    margin-bottom: 20px;
    display:inline-block;
    padding:5px;
    min-width: 300px;
}

.department-directory .search .close-icon {
    border:1px solid transparent;
    background-color: transparent;
    display: inline-block;
    vertical-align: middle;
    outline: 0;
    cursor: pointer;
    width: 0px;
    height: 0px;
    margin: 0px;
    padding: 0px;
    border: 0px;
}
.department-directory .search .close-icon:after {
    content: "X";
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    z-index:1;
    right: 10px;
    top: -3px;
    bottom: 0;
    margin: auto;
    border-radius: 50%;
    text-align: center;
    color: #aaa;
    border: 1px #aaa solid;
    font-weight: normal;
    font-size: 10px;
    line-height: 15px;
    cursor: pointer;
}
.department-directory .search input.quicksearch:not(:valid) ~ .close-icon {
    display: none;
}

.department-directory #no-results-container{
    display:none;
}

.department-directory .isotope-wrapper .isotope-container{
    margin:0px auto;
}

.department-directory .person-container{
    /*width: 300px !important;*/
    /*max-width: 300px;*/
    /*text-align:left;*/
    /*margin: 0px auto;*/
    margin-bottom: 100px;
    background-color:rgba(256,256,256, 1);
    padding: 10px;
    border-radius: 10px;
}

.department-directory .t-entry{
    text-align:left;
    max-height: 400px;
    overflow: hidden;
}

/* fluid 4 columns */
.department-directory .isotope-item {
    width: 22%;
    /*max-width: 400px;*/
}

/* fluid 4% gutter */
.department-directory .gutter-sizer {
    width: 4%;
}

@media all and (max-width: 380px){
    .department-directory .person-container{
        width: 300px !important;
    }

    .department-directory .btn-group > .btn{
        flex: 1 1 auto;
    }
}

/* ---- grid ---- */

.grid {
  background: #DDD;
}

/* clear fix */
.isotope-container:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

/* 5 columns, percentage width */
.isotope-item{
  width: 22%;
}

.department-directory .filter-search-container:after{
    clear: both;
}

.department-directory .t-entry-visual{
    max-width: 190px;
}

.department-directory .image-container{
    text-align:center;
    margin-bottom: 30px;
}

.department-directory .image-container hr{
    display:none;
    height: 3px;
    margin: 30px auto;
    margin-bottom: 10px;
    width: 80px;
    border-radius: 20px;
}

.department-directory .image-container img{
    width: 70%;
    max-width: 250px;
  /*  box-shadow: 3px 3px 8px rgba(130,130,130,0.7);*/
  border-radius: 50%;
}


.department-directory h3.t-entry-title{
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 0px;
  margin-top: 10px;
}

.department-directory h4.t-entry-meta{
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 200;
  color: #999;
}

.department-directory p.t-entry-excerpt{
    font-size: 16px;
    text-align:left;
}

.department-directory .t-entry.expand{
    max-height: none;
    z-index: 1000;
}

.department-directory .t-entry .expand-more{
    display:block;
}

.department-directory .t-entry .collapse-more{
    display:none;
}

.department-directory .t-entry.expand .expand-more{
    display:none;
}

.department-directory .t-entry.expand .collapse-more{
    position:absolute;
    left: 0px;
    width: 100%;
    display:block;
    transform: none;
    background-color: #fff;
    color: #000;
    font-weight: 600;
    text-align: center;
    transform: none;
}

.department-directory .t-entry .expand-more{
    position: absolute;
    bottom: -48px;
    left: 0px;
    width: 100%;
    background-color: #fff;
    color: #000;
    font-weight: 600;
    text-align: center;
    transform: none;
}

.department-directory hr{
    margin-top: 10px;
    margin-bottom: 10px;
    height: 1px;
    width: 50%;
}

.department-directory ul.t-entry-contact-details.card-links-list{
    text-align:left;
    color: #999;
}

.department-directory ul.card-links-list{
   margin-top: 10px;
   margin-bottom: 10px;
  padding-left: 0px;
  list-style-type: none;
}

.department-directory ul.card-links-list li,
.department-directory ul.card-links-list li a,
.department-directory ul.card-links-list li a:visited{
  line-height: 24px;
  font-size: 14px;

}

@media all and (max-width: 684px){
    .department-directory .isotope-wrapper .isotope-container{
        max-width: 400px;
        margin:0px auto;
    }

    .department-directory .isotope-wrapper .isotope-container .person-container{
        width: 100% !important;
        padding-right: 0px !important;
    }

    .department-directory .btn-group > .btn{
        flex: 1 1 auto;
    }
}

/** Person Containers **/
.person-container.small.horizontal {

}

.person-container.small.horizontal .t-entry{
    max-height: none;
}

.person-container.small.horizontal .image-container{
    width: 30%;
    display: inline-block;
    vertical-align:top;
}

.person-container.small.horizontal .t-entry-text{
    width: 62%;
    display:inline-block;
    margin-left: 20px;
}

.person-container.small.horizontal .no-image .t-entry-text{
    width: 100%;
}

.person-container.small.horizontal .t-entry-text .t-entry-title{
    font-size: 20px;
}

.person-container.small.horizontal .t-entry-text .t-entry-meta{
    font-size: 18px;
}

.person-container.small.horizontal .t-entry-text .t-entry-text-tc.half-block-padding{
    padding-top: 0px;
    vertical-align: top;
}


/** HERO HELPERS **/
.hero-flex-center{
    height: 100%;
    width: 100%;
    display: flex;    
    justify-content: center;
    flex-direction: column;
}

/** NEXT PREV BAR **/
article.type-post{    
    margin-bottom: 100px;    
}