/**
Theme Name: DRHM
Author: Cobalt
Author URI: https://www.cobaltweb.tech/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: drhm
Template: astra
*/

/*
 * Standard Elements
 */

 /* Typography */
p {
    text-indent: 1.625rem;
}
p.no-indent {
    text-indent: 0;
}
figcaption {
    font-size: .75em;
    font-style: italic;
    font-weight: 300;
}

/*
 * Layouts
 */

/* Change margin and padding on parent wrappers */
@media (min-width: 993px) { 
    .ast-separate-container.ast-right-sidebar #primary,
    .ast-separate-container.ast-left-sidebar #primary,
    .ast-separate-container #primary {
      margin: 0;
      padding: 0;
    }
}
/* Add margin to page wrapper */
#main {
    margin: 2rem 0;
}
.home #main {
    margin: 0; /* No margin on the homepage */
}
/* Apply full width of viewport to the wrapper with this class */
.full-width {
    margin-left: calc( -50vw + 50%);
    margin-right: calc( -50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}
/* Submenu Layout (add CSS Grid) */
#primary-site-navigation .sub-menu {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-flow: row;
    gap: 10px 10px;
    width: auto;
}
#primary-site-navigation .sub-menu li a {
    white-space: nowrap;
}
#section-get-involved .uagb-section__wrap {
    height: 100%;
}
#section-get-involved .uagb-section__wrap .uagb-section__inner-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}
#section-get-involved .wp-block-buttons {
    margin-top: auto;
}
#grid-exhibits .uagb-section__wrap {
    height: 100%;
}

 /*
  * Thematic Styling
  */

/*.ast-separate-container {
    background-color:#ffe57e;
}*/
/* Primary Nav Menu (desktop */
#primary-site-navigation .menu-item a:hover {
    transform: scaleX(1.05);
    transition: all .25s ease;
}
/* Submenu (these styles are overriding theme settings for the submenu in Astra) */
#primary-site-navigation .sub-menu {
    background-color: #faecd0;
}
#primary-site-navigation .sub-menu li i {
    margin-right: .5em;
}
#primary-site-navigation .sub-menu li a {
    color: #333333;
}
#primary-site-navigation .sub-menu li a:hover {
    background: none;
    color: #db4b14;
    text-decoration: underline;
}
/* Custom Elements */
.large-button {
    font-weight: 700;
}
.large-button a {
    font-size: 1.125rem;
}
.cta-icon {
    font-size: 5rem;
    text-align: center;
}
#section-explore .cta-icon {
    color: #faecd0;
}
#section-get-involved .cta-icon {
    color: #1d8fcf;
}
@media (min-width: 768px) { /* Apply to tablets and above */
    #homepage-events-tab .uagb-tabs-list {
        padding: 1em 6em;
    }
    /*CSS arrow on events tab active item */
    #homepage-events-tab .uagb-tabs__active::after {
        content: "";
        position: absolute;
        bottom: -24px;
        left: calc(50% - 24px);
        border-left: 24px solid transparent;
        border-right: 24px solid transparent;
        border-top: 24px solid #0274be;;
        background: transparent;
        z-index: 1;
        pointer-events: none;
    }
    .img-wrap-right { /* Wrap long text around images */
        float: right;
        padding: 0 0 20px 20px;
    }
    .img-wrap-left { /* Wrap long text around images */
        float: left;
        padding: 0 20px 20px 0;
    }
    .clearfloat{
        clear: both;
    }
}
#section-get-involved p {
    text-align: justify;
    text-indent: 0;
}
#section-get-involved .cta-section-wrap,
#grid-exhibits .grids-area {
    box-shadow: 0 0 10px 1px #B6B6B6;
}
#grid-exhibits .grid-exhibits-link-wrap {
    display: inline-block;
    font-size: 1.25rem;
    position: relative;
    margin-right: auto;
}
#grid-exhibits .grid-exhibits-link-wrap:hover {
    transform: scale(1.25) translateX(16px);
    transition: all .25s cubic-bezier(.12,.75,.31,.88);
}
#grid-exhibits .grid-exhibits-link-wrap::after {
    content: "";
    width: 100%;
    height: 4px;
    background: var(--ast-global-color-6);
    position: absolute;
    bottom: 0;
    left: 0;
}
#grid-exhibits .grid-exhibits-link-wrap:hover::after {
    background: var(--ast-global-color-2);
}
/* Forminator form styles */
.forminator-description {
    font-size: .75rem;
}
/* Additional button styles added inside Forminator plugin due to priority */
.forminator-button .forminator-button--text {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
}
.forminator-field .donate-form-text {
    font-size: .75rem;
}
.donate-form-card-brand .forminator-field {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   gap: 1.5em;
}
.donate-form-card-brand .card-brands-wrap {
    padding: 1em .5em;
}
#card-brands {
   width: 50%;
}
#stripe-badge {
   width: 30%;
} 
/* CSS Animations (using animate.css library) */
.cta-icon {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: var(--animate-duration);
    animation-duration: var(--animate-duration);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.cta-section-wrap:hover > .uagb-section__inner-wrap > .cta-icon {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    animation-name: bounceIn;
}
#section-explore:hover > .uagb-columns__inner-wrap >
.uagb-column__wrap > .cta-icon {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    animation-name: swing;
}
