/**
Theme Name: ACOR Jordan
Author: Raven's Eye Design, LLC
Author URI: https://ravenseyedesign.com
Description: This is a child theme of Astra created for ACOR Jordan as a stop-gap measure to keep the site running with current software.
Version: 2.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acor-jordan
Template: astra
*/

/* Astra customizations */
.custom-logo-link {
    transition: 0.3s filter ease, 0.3s opacity ease;
}

.custom-logo-link:hover {
    opacity: 0.75;
    filter: grayscale(100%);
}


#masthead .ast-container {
	max-width: 1080px;
}

@media (min-width: 1800px) {
    .ast-col-md-3 {
        width: 20%;
    }
    .ast-no-sidebar .entry-content .alignwide {
        margin-left: calc(-28vw + 50%);
        margin-right: calc(-28vw + 50%);
    }
}

.wp-block-group__inner-container {
    padding: 1.5rem;
}

.wp-block-group.margin-bottom {
    margin-bottom: 1.5rem;
}

.home #primary {
    margin: 0;
    padding: 0;
}

.js_active .ast-plain-container.ast-single-post #primary {
	padding-bottom: 1.5rem;
}

.archive.woocommerce .ast-container {
    max-width: 1200px;
}

/*.woocommerce-products-header__title.page-title,
.term-description,
.product_title.entry-title,
.woocommerce-breadcrumb {
 display: none;
}*/

.ast-woocommerce-container {
    padding-top: 2rem;
}

@media (min-width: 768px) {
.ast-col-md-3 {
width: 33%;
    }
}

@media (min-width: 1366px) {
.ast-col-md-3 {
width: 25%;
    }
}

@media (min-width: 1500px) {
    .ast-col-md-3 {
        width: 20%;
    }
}

@media only screen and (min-width: 641px) {
    #gform_widget-2 .gform_wrapper ul.gform_fields:not(.top_label) .gfield_label {
        text-align: right;
    }
}

/* Overrides Astar footer background bug */
.footer-adv-overlay {
    background: #32251f url('https://acorjordan.org/wp-content/uploads/2020/08/footer-back.jpg');
}

#secondary li {
    line-height: 1.4;
    margin-bottom: 1rem;
}

.vc_images_carousel {
    max-width: 100%;
}

.rtl-content {
  text-align: right;
  direction: rtl;
}

.kb-gallery-ul.kb-gallery-type-carousel .kt-blocks-carousel .slick-slider .kb-slide-item,
.kb-gallery-ul.kb-gallery-type-slider .kt-blocks-carousel .slick-slider .kb-slide-item,
.kb-gallery-ul.kb-gallery-type-thumbslider .kt-blocks-carousel .slick-slider .kb-slide-item {
	padding: 0 !important;
}

.wp-block-gallery.longcaptions .blocks-gallery-item figure {
    flex-direction: column;
}

.wp-block-gallery.longcaptions .blocks-gallery-item figcaption {
    position: relative;
    bottom: auto;
    width: 100%;
    max-height: 100%;
    overflow: auto;
    padding: 10px 0 20px 0;
    color: #333;
    text-align: left;
    font-size: 13px;
    background: linear-gradient(0deg,rgba(0,0,0,0),rgba(0,0,0,0) 0%,transparent);
}

.wp-block-separator {
    border: none;
}

body .is-layout-flex {
    flex-wrap: wrap;
    align-items: center;
}
body .is-layout-flex {
    display: flex;
}
body .is-layout-flex {
    gap: 24px;
}

.rcp_logged_in {
    background: #1D2758 !important;
}

.rcp_logged_in:hover {
    background: #6d5348 !important;
}