/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! Itâ€™s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. Itâ€™s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.9.0.1744803274
Updated: 2025-04-16 13:34:34

*/

        
    /* Shared button style */
    .toggle-btn {
        background-color: transparent;
        color: green;
        border: 1px solid green;
        transition: background-color 0.3s, color 0.3s;
    }

    /* Hover effect for both buttons */
    .toggle-btn:hover {
        background-color: green;
        color: white;
    }

    /* When in "Collapsed" or similar state */
    .toggle-btn.collapsed-state {
        background-color: transparent; /* Ensure the background stays transparent */
        color: green; /* Keep the text color green when in collapsed state */
        border: 1px solid green; /* Keep the border green */
    }

    /* Remove default blue outline when button is focused or clicked */
    .toggle-btn:focus, .toggle-btn:active {
        outline: none; /* Remove focus outline */
        box-shadow: none; /* Remove any box-shadow effect */
        border-color: green; /* Make sure border color remains green */
    }


    .floating-damage-filters {
        position: fixed;
        bottom: 20px;  /* Holder knappene nederst */
        right: 20px;
        z-index: 900;
        background: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column; /* SÃ¸rger for at radene er i riktig rekkefÃ¸lge */
        align-items: flex-end;
    }

    /* FÃ¸rste rad (med "Collect") */
    .first-row-buttons {
        display: flex;
        flex-direction: row;
        gap: 10px;
        min-height: 50px;
        align-items: center;
        justify-content: flex-end;
        position: absolute; /* Endret fra static */
       /*  bottom: 70px; Flytter fÃ¸rste rad oppover */
        right: 0;
    }

    /* Andre rad (med Hide Minor, New Case, Expand All) */
    .second-row-buttons {
        display: flex;
        flex-direction: row;
        gap: 10px;
        min-height: 50px;
        align-items: center;
        justify-content: flex-end;
    }

    /* Flagget skal dytte seg oppover */
    .language-switcher {
        margin-bottom: 40px; /* Justerer posisjon opp */
    }

    /* Felles stil for alle knapper */
    .apply-filters__button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 9px 16px;
        font-size: 14px;
        font-weight: bold;
        background: #fff;
        color: #000;
        text-decoration: none;
        border-radius: 6px;
        border: 1px solid #28a745; /* GrÃ¸nn kantlinje */
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .apply-filters__button:hover {
        background: #28a745;
        color: #fff;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
    }

    /* RÃ¸d spesialknapp */
    .apply-filters__button.red-btn {
        background: #ff0000;
        color: #fff;
        border: 1px solid #cc0000;
    }

    .apply-filters__button.red-btn:hover {
        background: #cc0000;
        border-color: #990000;
    }

    /* Justering for sjekkboksen */
    .apply-filters__button input[type="checkbox"] {
        margin-right: 6px;
        transform: scale(1.2);
    }
    
    /* Base style for toggle buttons */
    .toggle-btn {
        background-color: transparent;
        color: green;
        border: 1px solid green;
        transition: background-color 0.3s, color 0.3s;
        font-size: 0.9rem;
    }

    /* Hover effect */
    .toggle-btn:hover,
    .toggle-btn.collapsed-state {
        background-color: green;
        color: white;
    }

    /* Responsive layout on small screens */
    @media (max-width: 576px) {
        /* .btn-group {
            flex-direction: column;
            width: 100%;
            gap: 0.5rem;
            align-items: flex-end;
        }

        .btn-group .btn,
        .btn-group .apply-filters__button {
            width: 100%;
            text-align: center;
            margin-right: 0 !important;
        } */

        .position-fixed.bottom-0.end-0 {
            right: 1rem;
            bottom: 1rem;
            margin-right: 0 !important;
        }
    }
    
    .damage-img {
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        object-position: center;
    }
    .entry-div .card {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .card-img-top {
        flex-shrink: 0;
        flex-grow: 0;
        /* max-height: 50%; */
    }
    .card-body {
        flex-grow: 1;
    }

    .image-wrap {
    display: block;
    /* height: 50%; */
    overflow: hidden;
    }
    .damage-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 1 / 1;
    }
   .floating_buttons-container  {
        top: 90px !important;
    }

   .custom-main-header {
 
    padding: 20px 20px !important;
    position: fixed;
    z-index: 99999;
    right: 0;
   }

@media (max-width: 768px) {
    .custom-main-header {
        position: absolute !important;
	top: 0;
    }
}

 @media (min-width: 992px) {
    .main-container {
        width: 106%;
    }
}


.listing-info {
padding-left: 20px !important;
}

.main-container {
	
padding: 20px !important;

    /* background: #fff !important;
    border-radius: 20px !important;
  box-shadow: offset-x offset-y blur-radius spread-radius color !important; */
}

@media (max-width: 767px) {
  .listing-info strong {
    font-size: 14px; /* Adjust size as needed */
  }
}


 .accordion-button:not(.collapsed) {
    background-color: #f0f0f0 !important; /* Light gray */
    color: #000 !important; /* Text color */
    box-shadow: none !important; /* Remove blue shadow */
    outline: none !important; /* Remove outline */
}

.accordion-button:hover,
.accordion-button:focus {
    background-color: #e0e0e0 !important; /* Slightly darker gray */
    color: #000 !important;
    box-shadow: none !important; /* No shadow on hover/focus */
    outline: none !important; /* Remove outline */
}

/* When accordion button loses focus (blur), make it lighter gray instead of default */
.accordion-button:focus-visible {
    outline: none !important; /* Remove default focus outline */
    box-shadow: 0 0 5px rgba(0,0,0,0.1) !important; /* subtle shadow */
    background-color: #f5f5f5 !important;
    color: #000 !important;
}

/* Sørg for at chat alltid ligger over knappene */
.position-fixed.bottom-0.end-0.mb-4 {
  z-index: 500 !important; /* lavere enn chat-widget */
}

.mwai-window,
.aa-chat-sticky,
#mwai-chatbot {
  z-index: 2000 !important; /* høyere enn knappene */
}

