/*
Theme Name: My Selwyn House
Template: generatepress
Theme URI: https://
Author: Weave Digital Studio
Author URI: https://weave.co.nz/
Description: This is the Weave child theme for GeneratePress 
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gpc
*/

/*

CONTENTS:
1. Globals
    1.1 Theme Colours
    1.2 Fonts
    1.3 Layouts
    1.4 Headings
    1.5 Text
    1.6 Lists
    1.7 Links
    1.8 Icons
    1.9 Misc
2. Header
    2.1
    2.2
    2.3
3. Footer
    3.1
    3.2
4. Modules
    4.1 Gravity Forms
5. About Us
6. Contact
7. Search Results
8. Styles Page

*/


/*/////////////////////////////////////////////////////*/
/* GLOBAL */
/*/////////////////////////////////////////////////////*/

/* ---------------------- */
/* THEME COLOUR VARIABLES */
/* ---------------------- */



/* ---------------------- */
/* FONTS */
/* ---------------------- */



/* ---------------------- */
/* LAYOUT */
/* ---------------------- */




/* ---------------------- */
/* HEADINGS */
/* ---------------------- */


/* ---------------------- */
/* TEXT */
/* ---------------------- */



/* ---------------------- */
/* LISTS */
/* ---------------------- */



/* ---------------------- */
/* LINKS */
/* ---------------------- */



/* ---------------------- */
/* ICONS */
/* ---------------------- */



/* ---------------------- */
/* MISC */
/* ---------------------- */



/* ---------------------- */
/* MISC */
/* ---------------------- */


/*/////////////////////////////////////////////////////*/
/* HEADER */
/*/////////////////////////////////////////////////////*/





/*/////////////////////////////////////////////////////*/
/* FOOTER */
/*/////////////////////////////////////////////////////*/




/*/////////////////////////////////////////////////////*/
/* MODULES */
/*/////////////////////////////////////////////////////*/

/* ---------------------- */
/* GRAVITY FORMS */
/* ---------------------- */







/*/////////////////////////////////////////////////////*/
/* ABOUT US */
/*/////////////////////////////////////////////////////*/



/*/////////////////////////////////////////////////////*/
/* CONTACT */
/*/////////////////////////////////////////////////////*/


/*///////////////////////////////*/
/* SEARCH RESULTS */
/*///////////////////////////////*/



/*/////////////////////////////////////////////////////*/
/* MISC */
/*/////////////////////////////////////////////////////*/

.fl-builder-block-thumbnail {
    display: none;
}

/* --- responsive embed --- */
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.embed-container iframe, .embed-container object, .embed-container embed, .embed-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/*--------------------------
POST GRID: TEAM
--------------------------*/

/* ON PAGE */

#sh-grid-directory [class*="sh-card"]:hover {
    cursor: pointer;
}
#sh-grid-directory .sh-bt-underline a {
    font-size: clamp(0.875rem, 0.838rem + 0.1852vw, 1rem); /* 14-16 */
}
#sh-grid-directory .sh-modal {
    position: absolute;
}

/* MICROMODAL */ 

.modal.jr-team-member .jr-post-image {
    margin-bottom: clamp(15px, 8.0769px + 1.9231vw, 35px);
}
.modal.jr-team-member .jr-post-image img {
    object-fit: cover;
    object-position: 50% 30%;
    width: clamp(180px, 129.6296px + 15.7407vw, 350px);
    height: auto;
    aspect-ratio: 1;
}
.modal.jr-team-member .jr-post-title {
    margin-bottom: 5px;
}
.modal.jr-team-member .jr-post-meta {
    font-weight: 300;
}
.modal.jr-team-member .jr-post-content {
    margin-top: clamp(15px, 11.5385px + 0.9615vw, 25px);
}
.modal.jr-team-member .jr-post-content p {
    margin-bottom: .75em;
}

/* --------------------------
MICROMODAL (plugin)
-------------------------- */

/* body.fl-builder-edit .modal,  */
.modal {
    display: none;
}
html .modal__overlay {
    z-index: 1000;
    padding: 20px;
    background-color: rgba(196, 186, 166, 0.95);
}
html .modal__container {
    position: relative;
    max-width: 750px;
    max-height: 90vh;
    padding: clamp(20px, 11.1111px + 2.7778vw, 50px);
    border-radius: clamp(10px, 8.8148px + 0.3704vw, 14px);
    cursor: default;
}
html .modal__content {
    margin: 0;
    line-height: inherit;
    color: var(--primary);
}
html .modal__close {
    position: absolute;
    top: clamp(0px, -2.963px + 0.9259vw, 10px);
    right: clamp(0px, -2.963px + 0.9259vw, 10px);
    width: clamp(40px, 37.037px + 0.9259vw, 50px);
    height: clamp(40px, 37.037px + 0.9259vw, 50px);
    background-image: none;
    background-color: transparent !important;
}
html .modal__close::before, 
html .modal__close::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: calc(50% - clamp(12.5px, 11.0185px + 0.463vw, 17.5px));
    width: clamp(25px, 22.037px + 0.9259vw, 35px);
    height: 2px;
    background-color: var(--secondary);
    opacity: .7;
}
html .modal__close::before {
    transform: rotate(45deg);
}
html .modal__close::after {
    transform: rotate(-45deg);
}
html .modal__close:hover::before, 
html .modal__close:hover::after {
    opacity: 1;
}

/* GLOBAL */

[class*="sh-card"] {
    transition: var(--transition-1);
}
:where(.sh-card-business) .fl-module-button {
    margin-top: auto;
}

/* CARD - VENUE-TEAM */

.sh-card-business .sh-img img {
    max-width: clamp(180px, 145.3846px + 9.6154vw, 280px);
    aspect-ratio: 0.7;
}
.sh-card-business:hover {
    background-color: var(--primary) !important;
}

/* CARD - TEAM */

.sh-directory .sh-card-business {
    background-color: var(--beige-light) !important;
}
.sh-directory .sh-card-business:hover {
    background-color: var(--beige-medium) !important;
}
.sh-directory .sh-card-business .sh-img img {
    aspect-ratio: 0.8;
}
.sh-directory .sh-card-business :where(.sh-post-title, .sh-post-position) p {
    transition: var(--transition-1);
}
.sh-directory .sh-card-business:hover :where(.sh-post-title, .sh-post-position) p {
    color: var(--primary) !important;
}

@media (max-width: 768px) {
    .sh-directory .sh-card-business {
        /* max-width: fit-content; */
        margin: 0 auto;
    }
}


/*/////////////////////////////////////////////////////*/
/* STYLES TEMPLATE */
/*/////////////////////////////////////////////////////*/

[class*="av-demo-font-"] {
    font-size: 24px;
}
[class*="av-demo-font-"] h2, 
[class*="av-demo-font-"] h3 {
    margin-bottom: .75em; 
}
.av-demo-font-1, 
.av-demo-font-1 h2, 
.av-demo-font-1 h3 {
    font-family: "Font 1"; 
}
.av-demo-font-2, 
.av-demo-font-2 h2, 
.av-demo-font-2 h3 {
    font-family: "Font 2"; 
}

