/* Site Navigation */
#site-navigation {
    float: right;
}

#site-navigation.open {
    display: block !important;
}

#site-navigation li a {
    font-size: 20px;
    padding: 0 0.5em;
}

.mobile-menu {
    display: none;
}

#site-navigation #menu-item-3306 .sub-menu,
#site-navigation #menu-item-3692 .sub-menu {
    right: 0;
}

/* Header Search */
.search-form label {
    margin-bottom: 0;
    width: 140px;
}

.search-form input.search-field {
    max-width: 140px;
}

/* Header Buttons */
.mobile-header-btns {
    display: none;
}

/* Footer */
.footer-container .row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 80px;
}

.footer-container .row .menu-col {
    float: none;
    margin-left: 0;
    width: auto;
}

.footer-container .row .menu-col .wrap {
    margin-left: 0;
}

.footer-container .row div[itemprop=address] {
    padding-left: 0;
}

.footer-container .row #menu-footer {
    columns: 2;
    list-style-type: none;
    margin-bottom: 0;
}

.footer-container .row #menu-footer li a {
    font-size: 16px;
    margin: 0 56px 4px 0;
    text-decoration: underline;
}

.site-footer .copyright {
    float: none;
    text-align: center;
}

/* Slider Plugin */
.owl-stage .sa_hover_container {
    align-items: center;
    display: flex;
    justify-content: center;
}

.owl-stage .sa_hover_container div {
    color: #FFF;
    max-width: 560px;
    z-index: 1;
}

.owl-stage .sa_hover_container div a {
    background-color: #00b2bf;
    color: #ffffff;
    display: inline-block;
    margin-top: 24px;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 2;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.owl-stage .sa_hover_container div a:hover {
    color: #ffffff;
    background-color: #009da8;
    text-decoration: none;
    transition: background 0.2s ease-in-out;
}

.owl-stage .owl-item:after {
    background: rgba(0, 0, 0, 0.5);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Content and Titles */

.entry-header.template-page {
    align-items: center;
    background-color: #00b2bf;
    color: #fff;
    display: flex;
    height: 180px;
    justify-content: center;
    margin: 20px 0;
    text-align: center;
}

.entry-header .entry-title {
    margin: 0;
}

.entry-content .white {
    padding: 0 !important;
}

.page-content, .entry-content, .entry-summary {
    margin: 1.5em 0 3em;
}

/* Wordpress Block Image */
.wp-block-image.size-full img {
    width: 100%;
}

/* Site posts */
.site-posts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 40px 0;
}

.site-posts article {
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    border-radius: 10px;
    margin-bottom: 40px;
    width: 30%;
}

.site-posts article .entry-title {
    font-size: 24px;
    padding: 20px 24px 0;
}

.site-posts article .entry-content {
    margin: 0;
    padding: 16px 24px 32px;
}

.site-posts article img {
    border-radius: 10px 10px 0 0;
    width: 100%;
}

.site-posts .posts-navigation {
    display: none;
}

/* Site Post */
.content-area-post {
    float: none;
    margin: auto;
}

.site-post {
    margin: 40px 0;
}

/* Mobile Nav Icon */
#nav-icon {
    float: right;
    width: 45px;
    height: 45px;
    position: relative;
    margin: 38px auto 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 99;
}
  
#nav-icon span {
    display: block;
    position: absolute;
    height: 6px;
    width: 100%;
    background: #00b2bf;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#nav-icon.open span {
    background-color: #fff;
}
  
#nav-icon span:nth-child(1) {
    top: 0px;
}
  
#nav-icon span:nth-child(2),#nav-icon span:nth-child(3) {
    top: 14px;
}
  
#nav-icon span:nth-child(4) {
    top: 28px;
}
  
#nav-icon.open span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}
  
#nav-icon.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
  
#nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
  
#nav-icon.open span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

/* Team */
.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member img {
    border-radius: 100% !important;
    cursor: pointer;
    height: 250px;
    object-fit: cover;
    object-position: top;
    width: 250px !important;
}

.team-member img:hover {
    -webkit-filter: brightness(70%);
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.team-member p {
    text-align: center;
    max-width: 240px;
}

/* Tile */
.nirdp-tile {
    box-shadow: 0 -2px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    border-radius: 10px;
    margin-bottom: 40px;
    padding: 28px;
}

.nirdp-tile h1 {
    margin-top: 0;
}

/* Responsive */
@media only screen and (max-device-width: 1023px) {
    .site-posts article {
        width: 48%;
    }
}

@media only screen and (max-device-width: 767px) {
    #site-navigation {
        background-color: #00b2bf;
        height: 100%;
        left: 0;
        overflow: auto;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 9;
    }

    #site-navigation ul {
        align-items: center;
        display: flex;
        flex-direction: column;
        padding: 40px 40px 0;
    }

    #site-navigation li a {
        color: #FFF;
        padding: 20px 0;
    }

    .mobile-menu {
        display: block;
    }

    .desktop-header-btns {
        display: none;
    }

    .mobile-header-btns {
        display: block;
    }

    .mobile-header-btns.featured-btns {
        display: flex;
        float: none;
        padding: 0 !important;
    }

    .search-form {
        float: right;
        margin-top: 0;
        padding-top: 20px;
    }

    .search-form label {
        width: 250px;
    }

    .search-form input.search-field {
        max-width: 250px;
    }

    .footer-container .row {
        align-items: center;
        flex-direction: column;
        text-align: center;
        margin-bottom: 24px;
    }

    .footer-container .row #menu-footer {
        columns: 1;
    }

    .footer-container .row .logo-col, 
    .footer-container .row .menu-col .wrap {
        margin-bottom: 24px;
    }

    .footer-container .row .footer-links {
        margin-bottom: 20px;
    }

    .site-posts article {
        width: 100%;
    }
}