/*
* FooGallery Custom CSS
* This file is created by adding custom CSS on FooGallery Settings page in wp-admin
* Created : 16 Nov 2025, 10:27 am
*/

:root {
    --arjens-background-dark: #919288;
    --arjens-background-dark-rgba: rgba(145,146,136, 0.6);
    --arjens-background-light: #e5e5de;
    --arjens-background-medium: #c0c0b4;
    --arjens-background-medium-rgba: rgba(192,192,180, 0.6);
    --arjens-text: #22221D;
    --arjens-button-right: var(--arjens-background-dark);
    --arjens-button-left: var(--arjens-background-light);
    --arjens-background-image: url(https://arjens.eu/wp-content/uploads/Background_LR-scaled.jpg);


    --arjens-background-gradient: radial-gradient(var(--arjens-background-dark), var(--arjens-background-light));    

    --fg-button-text: #ff0000;  /* NO IDEA */
    --fg-button-text-secondary: #ff0000;  /* NO IDEA #6c757d;*/
    --fg-button-background: #ff0000;  /* NO IDEA #FFF; */
    --fg-button-gradient: linear-gradient(to right, var(--arjens-button-left), var(--arjens-button-right));  /*  Border of buttons in image viewer */
    --fg-panel-text: var(--arjens-text);  /* Colour of info text in image viewer #FFF; */
    --fg-panel-background: var(--arjens-background-dark-rgba);  /* Background colour of info panel and thumbnails in image viewer */
    --fg-panel-background-image: var(--arjens-background-image);
    --fg-panel-border: var(--arjens-text);  /* Colour of border of info panel and thumbnails in image viewer #0F0220; */
    --fg-panel-button-text: var(--arjens-text);  /* Colour of the text on the buttons of image viewer #FFF; */
    --fg-panel-button-background: var(--arjens-background-medium);  /* Background colour of the buttons in the image viewer #0F0220; */
    --fg-panel-button-gradient: var(--fg-button-gradient);
}

/* Style the filtering & paging to match the theme */
.fg-custom .fg-load-more,
.fg-custom .fg-tag-item .fg-tag-link,
.fg-custom .fg-page-item .fg-page-link {
    position: relative;
    box-sizing: border-box;
    margin: 1px;
    padding: calc(.4em - 3px) calc(1em - 3px);
    color: var(--fg-button-text-secondary);
    background: transparent;
    border: 6px solid transparent;
    border-radius: .6rem;
    font-weight: 500;
    line-height: 1.5;
    transition-property: none;
}
.fg-custom .fg-load-more {
    padding: .4em 1em;
}
.fg-custom .fg-load-more::before,
.fg-custom .fg-tag-item .fg-tag-link::before,
.fg-custom .fg-page-item .fg-page-link::before {
    content: "";
    position: absolute;
    top: -3px;
    bottom: -3px;
    left: -3px;
    right: -3px;
    border: 6px solid transparent;
    border-radius: .4em;
}
.fg-custom .fg-load-more,
.fg-custom .fg-tag-item:not(.fg-disabled):hover .fg-tag-link,
.fg-custom .fg-tag-item.fg-selected .fg-tag-link,
.fg-custom .fg-page-item:not(.fg-disabled):hover .fg-page-link,
.fg-custom .fg-page-item.fg-selected .fg-page-link {
    color: var(--fg-button-text);
    background: linear-gradient(var(--fg-button-background), var(--fg-button-background)), var(--fg-button-gradient);
    background-repeat: no-repeat;
    background-origin: padding-box, border-box;
}
.fg-custom .fg-load-more::before,
.fg-custom .fg-tag-item:not(.fg-disabled):hover .fg-tag-link::before,
.fg-custom .fg-tag-item.fg-selected .fg-tag-link::before,
.fg-custom .fg-page-item:not(.fg-disabled):hover .fg-page-link::before,
.fg-custom .fg-page-item.fg-selected .fg-page-link::before {
    border-color: var(--fg-button-background);
}

/* Style the lightbox */
.fg-panel.fg-custom,
.fg-panel.fg-custom .fg-panel-thumbs-button,
.fg-panel.fg-custom .fg-panel-area-toggle {
    color: var(--fg-panel-text);
}
.fg-panel.fg-custom {
    background: var(--fg-panel-background-image) no-repeat center bottom;
    background-size: cover;
}
.fg-panel.fg-custom,
.fg-panel.fg-custom .fg-panel-button,
.fg-panel.fg-custom .fg-panel-thumb,
.fg-panel.fg-custom .fg-panel-thumbs-button,
.fg-panel.fg-custom .fg-panel-info-inner,
.fg-panel.fg-custom .fg-panel-cart-inner,
.fg-panel.fg-custom .fg-panel-thumbs-inner,
.fg-panel.fg-custom.fg-panel-preserve-button-space .fg-media-iframe .fg-media-content,
.fg-panel.fg-custom .fg-panel-thumb.fg-idle .fg-panel-thumb-media,
.fg-panel.fg-custom .fg-panel-thumb.fg-loading .fg-panel-thumb-media,
.fg-panel.fg-custom .fg-panel-thumb.fg-error .fg-panel-thumb-media {
    border-color: var(--fg-panel-border);
}
.fg-panel.fg-custom .fg-media-product-body {
    border-color: var(--fg-panel-text);
}
.fg-panel.fg-custom .fg-panel-button,
.fg-panel.fg-custom .fg-panel-cart-inner,
.fg-panel.fg-custom .fg-panel-info-inner,
.fg-panel.fg-custom .fg-panel-thumbs-inner,
.fg-panel.fg-custom .fg-panel-thumb.fg-idle .fg-panel-thumb-media,
.fg-panel.fg-custom .fg-panel-thumb.fg-loading .fg-panel-thumb-media,
.fg-panel.fg-custom .fg-panel-thumb.fg-error .fg-panel-thumb-media {
    background-color: var(--fg-panel-background);
}

.fg-panel.fg-custom .fg-panel-button {
    position: relative;
    box-sizing: border-box;
    color: var(--fg-panel-button-text);
    border-color: transparent;
    border-style: solid;
    border-width: 0;
    border-radius: 0;
    font-weight: 500;
    line-height: 1.5;
    font-size: 14px;
    transition-property: none;
    overflow: visible;
}
.fg-panel.fg-custom.fg-medium .fg-panel-buttons .fg-panel-button,
.fg-panel.fg-custom.fg-panel-no-mobile .fg-panel-buttons .fg-panel-button {
    border-radius: .6em;
    border-width: 6px;
    background-image: linear-gradient(var(--fg-panel-button-background), var(--fg-panel-button-background)), var(--fg-panel-button-gradient);
    background-repeat: no-repeat;
    background-origin: padding-box, border-box;
}
.fg-panel.fg-custom.fg-medium .fg-panel-button::before {
    content: "";
    position: absolute;
    top: -3px;
    bottom: -3px;
    left: -3px;
    right: -3px;
    border: 6px solid var(--fg-panel-button-background);
    border-radius: .4em;
}
.fg-panel.fg-custom .fg-panel-button.fg-loading::after {
    box-shadow: 0 -2.6em 0 0    rgba(255, 255, 255, 1),
    1.8em -1.8em 0 0            rgba(255, 255, 255, 0.2),
    2.5em 0 0 0                 rgba(255, 255, 255, 0.2),
    1.75em 1.75em 0 0           rgba(255, 255, 255, 0.2),
    0 2.5em 0 0                 rgba(255, 255, 255, 0.2),
    -1.8em 1.8em 0 0            rgba(255, 255, 255, 0.2),
    -2.6em 0 0 0                rgba(255, 255, 255, 0.5),
    -1.8em -1.8em 0 0           rgba(255, 255, 255, 0.7);
}

/* Define the shape of the thumbnails */
.fg-item-inner, .fg-item-inner {
   background: var(--arjens-background-gradient); /* Background of the thumbnail */
   outline: 5px solid var(--arjens-text);  /* Thickness and colour of the border for the thumbnail */
   border-radius: 15% 85% 14% 86% / 87% 23% 77% 14%;  /* Shape of the thumbnail */
}