/**
	 * Theme Name: Zoo Charitable Child
	 * Description: This is a child theme of Zoo Charitable
	 * Author: ZooTemplate
	 * Author URI: http://zootemlate.com
	 * Template: zoo-charitable
	 * Version: 2.1.6
	 */

/* header */

#main-navigation {
    background-color: transparent;
    color: #ffffff;
    padding-top: 10px;
}

.site-header .header-pc .header-action {
    padding-top: 10px;
    min-width: 175px;
}

#main-navigation {
    width: 100%;
}

.header-pc {
    display: flex;
    align-items: center;
}

.is-sticky #main-navigation li a {
    color: #000;
}

.is-sticky #main-navigation li a:hover,
.is-sticky #main-navigation li.current-menu-item a {
    color: #32ae8b;
}

#page .rit-cover-wrap {
    min-height: 400px;
}

.header-top-right ul.social-share {
    border-left: 1px solid #e9e9e9;
    padding-left: 10px;
}

.header-top-right .rit-social ul li a {
    font-size: 18px;
}

#main-navigation ul {
    display: flex;
    justify-content: center;
}

/* #main-navigation li.menu-item-language {
    margin-left: auto;
} */

.header-pc #logo, .header-pc #logo-retina {
    padding-top: 10px;
}

.header-pc #main-navigation li a {
    font-size: 16px;
}

#main-navigation .sub-menu, #main-navigation .children {
    display: block;
}

#masthead .container {
    width: 90%;
}

@media all and (max-width: 1366px) {
    .site-header .header-pc .header-action {
        min-width: 160px;
    }

    #masthead .container {
        width: 95%;
    }

    #header-top .header-top-left span {
        margin-right: 20px;
    }

    .header-pc #main-navigation li a {
        font-size: 14px;
        padding: 0 15px;
    }

    .header-action a.rit-button {
        padding: 0 10px;
    }
}

/* header logo */

.site-logo img {
    height: 115px;
    transition: 0.5s;
    background: rgb(255 255 255 / 40%);
    border-radius: 4px;
}

.site-logo img:hover {
    background: rgb(255 255 255 / 60%);
}

.is-sticky .site-logo img:hover {
    background: transparent;
}

.is-sticky .site-logo img {
    height: 50px;
    transition: 0.5s;
}

.is-sticky #logo,
.is-sticky #logo-retina,
.is-sticky #main-navigation,
.site-header .is-sticky .header-action {
    padding-top: 10px;
    padding-bottom: 10px;
}

.is-sticky .header-inner {
    min-height: 0;
    height: auto;
}

#main-navigation .sub-menu, #main-navigation .children {
    background-color: rgb(0 0 0 / 70%) !important;
}

#main-navigation li.menu-item-language .sub-menu {
    min-width: 0;
    background: transparent !important;
}

#main-navigation .sub-menu li a:hover, #main-navigation .children li a:hover {
    color: #32ae8b !important;
}

@media all and (max-width: 991px) {
    .site-logo-mobile img {
        height: 80px;
    }
}

/* pattern background */

.patternback {
    position: relative;
}

.patternback:after {
    content: '' !important;
    background: url(images/pattern.png);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: 20%;
    opacity: 0.1;
    z-index: 0;
    background-attachment: fixed;
}

.patternback * {
    z-index: 1;
}

footer .widget_nav_menu li {
    border-bottom: none;
}

footer .widget_nav_menu li a:before {
    content: none;
}

/* fontawesome fix */

i.fa.fa-facebook,
i.fa-instagram.fa,
i.fa.fa-facebook-f,
i.fa.fa-twitter,
i.fa.fa-google-plus,
i.fa.fa-youtube-play,
i.fa.fa-pinterest
{
    font-family: 'Font Awesome 5 Brands';
}

.fa-long-arrow-right:before {
    content: "\f061";
}

.fa-youtube-play:before {
    content: "\f167";
}

/* blog post */

body.single-post #header-top,
body.single-campaign #header-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
    background-color: transparent;
    color: #ffffff;
}

body.single-post #header-top a,
body.single-campaign #header-top a {
    color: #ffffff;
}

body.single-post #header-top a:hover,
body.single-campaign #header-top a:hover {
    color: #32ae8b;
}

body.single-post #main-navigation li a,
body.single-campaign #main-navigation li a {
    color: #ffffff;
}

body.single-post .is-sticky #main-navigation li a,
body.single-campaign .is-sticky #main-navigation li a {
    color: #000;
}

body.single-post #main-navigation .sub-menu li a,
body.single-post #main-navigation .children li a,
body.single-campaign #main-navigation .sub-menu li a,
body.single-campaign #main-navigation .children li a {
    color: #ffffff;
}

body.single-post #main-navigation li a:hover,
body.single-post #main-navigation li.current-menu-item a,
body.single-campaign #main-navigation li a:hover,
body.single-campaign #main-navigation li.current-menu-item a {
    color: #32ae8b;
}

body.single-post #page .rit-cover-wrap:after,
body.single-campaign #page .rit-cover-wrap:after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(0 0 0 / 20%);
}

.rit-cover-title {
    z-index: 1;
}

/* donations page */

.page-id-2897 .rit-cover-wrap .rit-cover-title {
    display: none !important;
}

.page-id-2897 .rit-cover-wrap:after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background: rgb(0 0 0 / 30%);
    position: absolute;
    top: 0;
    left: 0;
}

.donationsrow {
    display: flex;
    flex-flow: wrap;
}

.donationsrow .vc_column-inner,
.donationsrow .wpb_wrapper,
.donationsrow .rit-icon-box.rit-icon-box-image {
    height: 100%;
}

@media all and (max-width: 1200px) {
    .donationsrow .vc_column_container {
        width: 50%;
        max-width: 50%;
    }
}

@media all and (max-width: 768px) {
    .donationsrow .vc_column_container {
        width: 100%;
        max-width: 100%;
    }
}

/* donation receipt page */

body.campaign-donation-receipt {
    padding-top: 200px;
}

/* about us page */

.page-id-1471 #page .rit-cover-wrap {
    min-height: 600px;
}

.page-id-1471 .rit-cover-wrap:after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background: rgb(0 0 0 / 30%);
    position: absolute;
    top: 0;
    left: 0;
}

@media all and (max-width: 1200px) {
    .page-id-1471 #page .rit-cover-wrap {
        min-height: 400px;
    }
}

@media all and (max-width: 600px) {
    .page-id-1471 #page .rit-cover-wrap {
        min-height: 250px;
    }
}

@media all and (max-width: 420px) {
    .page-id-1471 #page .rit-cover-wrap {
        min-height: 150px;
    }
}

/* back to top button */

footer #back-to-top {
    background-color: #32ae8b;
    padding-top: 5px;
}

/* green button */

.greenbutton a.vc_general.vc_btn3 {
    background: #32ae8b;
    border-color: #32ae8b;
}

.greenbutton a.vc_general.vc_btn3:hover {
    background-color: #333;
    border-color: #333;
}

/* blog home */

.latestnews .rit-recent-item .post-image img {
    height: 250px;
    object-fit: cover;
}

/* blog related */

.post-related .item-related img {
    height: 200px;
    max-width: 450px;
    object-fit: cover;
}

@media all and (max-width: 768px) {
    .post-related .item-related {
        margin-bottom: 30px;
    }
}

/* campaigns home */

.homecampaigns .rit-course-posts > .row {
    display: flex;
    flex-flow: wrap;
}

.homecampaigns .rit-course-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.homecampaigns .rit-course-inner .post-meta {
    min-height: 85px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homecampaigns .rit-course-inner .post-image img {
    height: 170px;
    object-fit: cover;
}

.homecampaigns .rit-course-inner .short-des {
    min-height: 200px;
    align-items: center;
    display: flex;
}

@media all and (max-width: 1366px) {
    .homecampaigns .rit-element-course .rit-recent-item {
        width: 50%;
        max-width: 50%;
    }

    .homecampaigns .rit-course-inner .short-des {
        min-height: 145px;
    }
}

@media all and (max-width: 768px) {
    .homecampaigns .rit-element-course .rit-recent-item {
        width: 100%;
        max-width: 100%;
    }

    .homecampaigns .rit-course-inner .short-des {
        min-height: 0;
    }
}

/* home newsletter */

.comment-form > p, .wpcf7 p {
    margin-bottom: 0 !important;
}

.wpcf7 input[type="email"] {
    padding: 10px !important;
}

.fullwhitenewsletter.homenewsletter h2,
.fullwhitenewsletter.homenewsletter p,
.fullwhitenewsletter.homenewsletter .wpcf7-response-output {
    color: #fff !important;
}

@media all and (max-width: 1366px) {
    .homenewsletter .vc_parallax-inner {
        background-position: 22% !important;
    }

    .homenewsletter h2,
    .homenewsletter p,
    .homenewsletter .wpcf7-response-output {
        color: #fff !important;
    }

    .homenewsletter .newsletter-email {
        width: 100% !important;
        margin-bottom: 10px;
    } 
}

/* inner pages banner */

@media all and (max-width: 1366px) {
    .rit-cover-title .h1 {
        font-size: 36px;
    }
}

@media all and (max-width: 768px) {
    .rit-cover-title .h1 {
        font-size: 26px;
    }

    .rit-cover-wrap {
        margin-top: 80px;
    }
}

/* radio younan */

.page-id-2511 .rit-cover-wrap:after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background: rgb(0 0 0 / 30%);
    position: absolute;
    top: 0;
    left: 0;
}

/* blog page */

.rit-blog-grid-alt-layout .rit-news-item .post-image img,
.rit-blog-large-layout .rit-news-item .post-image img {
    height: 250px;
    object-fit: cover;
}

@media all and (max-width: 1200px) {
    .rit-blog-grid-alt-layout .rit-news-item {
        width: 100%;
        margin-bottom: 30px;
    }
}

/* gallery page */

.page-id-2679 .rit-cover-wrap:after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background: rgb(0 0 0 / 30%);
    position: absolute;
    top: 0;
    left: 0;
}

@media all and (max-width: 768px) {
    .galleryspace {
        display: none !important;
    }
}

/* contact page */

.page-id-37 .rit-cover-wrap:after {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background: rgb(0 0 0 / 30%);
    position: absolute;
    top: 0;
    left: 0;
}

@media all and (max-width: 576px) {
    .page-id-37 #page .rit-cover-wrap {
        min-height: 150px;
    }
}

/* slider home */

@media all and (max-width: 768px) {
    .slider-wrap.slider-revo {
        margin-top: 80px;
    }
}

/* disable search on mobile */
.header-mobile .search-icon {
    display: none !important;
}

/* donations popup */
@media all and (max-width: 576px) {
    .zoo-show-popup .zoo-popup-inner.show-content {
        left: 10%;
        -webkit-transform: translate(-5%,-5%);
        transform: translate(-5%,-5%);
        top: 10%;
    }
}

.site-footer #custom_html-2 .textwidget {
    display: flex !important;
}