﻿/**
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: Astra is fast, fully customizable & beautiful WordPress theme suitable for blog, personal portfolio, business website and WooCommerce storefront. 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 and is Native AMP ready so search engines will love your site. It offers special features and templates so it works perfectly with all page builders like Elementor, Beaver Builder, Visual Composer, SiteOrigin, Divi, etc. Some of the other features: # WooCommerce Ready # Responsive # RTL & 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 WooCommerce ready theme that you can use for building any kind of website!
Version: 4.1.1
Requires at least: 5.3
Tested up to: 6.2
Requires PHP: 5.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astrachild
Template: astra
Domain Path: /languages
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
AMP: true

Astra WordPress Theme, Copyright 2020 WPAstra.
Astra is distributed under the terms of the GNU GPL.

Astra is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of.
Nicolas Gallagher and Jonathan Neal https://necolas.github.com/normalize.css/

Astra icon font is based on IcoMoon-Free vector icon by Keyamoon.
IcoMoon-Free vector icon distributed under terms of CC BY 4.0 or GPL. (https://creativecommons.org/licenses/by/4.0/ or https://www.gnu.org/licenses/gpl.html)
Source: http://keyamoon.com/

Flexibility is a JavaScript polyfill for Flexbox By Jonathan Neal, 10up. (https://github.com/jonathantneal/flexibility)
Licensed under MIT ( https://github.com/jonathantneal/flexibility/blob/master/LICENSE.md )

Screenshot image is a collage of actual sites created using the Astra WordPress Theme.

Icons used in the Screenshot image are all licensed under Creative Commons ( CC BY 4.0 ) License ( https://fontawesome.com/license/free )
https://fontawesome.com/v5.15/icons/store?style=solid
https://fontawesome.com/v5.15/icons/shopping-cart?style=solid
https://fontawesome.com/v5.15/icons/pen-square?style=solid
https://fontawesome.com/v5.15/icons/user-tie?style=solid
https://fontawesome.com/v5.15/icons/user-tie?style=solid

Illustrations used in the Screenshot images are all licensed under Creative Commons ( CC0 ) License ( https://gumroad.com/l/humaaans )
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/standing-24.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/sitting-2.png

Hand-drawn illustrations used are created by Brainstorm Force and released under Creative Commons ( CC0 ) License.
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/girl-with-image-container.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/boy-with-code-container.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/web-browser.png

The same site as screenshot can be imported from here https://websitedemos.net/web-design-agency-08/.

For more information, refer to this document on how to create a page like in the screenshot - https://wpastra.com/docs/replicating-the-screenshot/.

Astra default breadcrumb is based on Breadcrumb Trail by Justin Tadlock. (https://github.com/justintadlock/breadcrumb-trail)
Breadcrumb Trail is distributed under the terms of the GNU GPL v2 or later.

Astra local fonts feature is based on Webfonts Loader by WordPress Themes Team (WPTT). (https://github.com/WPTT/webfont-loader)
Licensed under MIT ( https://github.com/WPTT/webfont-loader/blob/master/LICENSE )

/* Note: The CSS files are loaded from assets/css/ folder. */

/* Set some standard values on body */
html{
    overflow-x: hidden;
    width:100%;
    min-width:100%;
    max-width:100%;
    margin:0;
    padding:0;

}
html body{
    overflow-x: hidden;
    width:100%;
    min-width:100%;
    max-width:100%;
    margin:0;
    padding:0;
}

html body,
html body p,
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body div.wp-block-column{
    overflow-wrap: normal !important;
    word-break: keep-all !important;
}

/* Margin fix header & main body */ 
body div#content div.ast-container{
    padding:0;
}
body div#content div.ast-container div#primary{
    margin-top:0;
}

/* START NEXTGEN FIXES */
figcaption.ngg-figcaption h6 {
    word-break: break-word;
}
/* END NEXTGEN FIXES */

/* START GENERAL FIXES */
div.wp-block-uagb-image--layout-overlay__inner.top-center{
    justify-content: center;
}
div.wp-block-uagb-image--layout-overlay__inner{
    padding: 15px;
}
/* END GENERAL FIXES */

/* START GENERAL MOBILE FIXES*/
@media all and (min-width: 777px) and (max-width: 976px){
    html body div#primary div.wp-block-uagb-container.alignfull.uagb-is-root-container h1.wp-block-heading,
    html body div#primary div.uagb-container-inner-blocks-wrap.alignfull.uagb-is-root-container h1.wp-block-heading{
        font-size:71px;
    }
}
@media all and (min-width: 577px) and (max-width: 776px){
    html body div#primary div.wp-block-uagb-container.alignfull.uagb-is-root-container h1.wp-block-heading,
    html body div#primary div.uagb-container-inner-blocks-wrap.alignfull.uagb-is-root-container h1.wp-block-heading{
        font-size:56px;
        margin-top:50px;
    }
}
@media all and (min-width:366px) and (max-width: 576px){
    html body div#primary div.wp-block-uagb-container.alignfull.uagb-is-root-container h1.wp-block-heading,
    html body div#primary div.uagb-container-inner-blocks-wrap.alignfull.uagb-is-root-container h1.wp-block-heading{
        font-size:42px;
        margin-top: 75px;
    }
}
@media all and (max-width: 366px){
    html body div#primary div.wp-block-uagb-container.alignfull.uagb-is-root-container h1.wp-block-heading,
    html body div#primary div.uagb-container-inner-blocks-wrap.alignfull.uagb-is-root-container h1.wp-block-heading{
        font-size:28px;
        margin-top: 75px;
    }
}

/* END GENERAL MOBILE FIXES*/

/* START GENERAL MARGIN FIXES*/
div#content div.wp-block-uagb-container.alignfull.uagb-is-root-container{
    margin: 0 calc(50% - 50vw);
}
/* END GENERAL MARGIN FIXES*/

/* START COOKIE COMPLIANCE */


html body div#hu {
    border: 1px solid #666;
    font-family:inherit !important;
}
html body div#hu div.hu-wrapper{
    padding:10px 20px;
}
html body div#hu div#hu-background pattern#hu-pattern{
    display:none;
}

html body div#hu div#hu-cookies-notice div#hu-cookies-notice-message,
html body div#hu div#hu-cookies-notice div#hu-cookies-notice-consent,
html body div#hu div#hu-cookies-notice div#hu-cookies-notice-about{
    margin: 10px 0;
    padding:0;
}
html body div#hu div#hu-cookies-notice div#hu-cookies-notice-consent div#hu-cookies-notice-consent-choices{
    margin:0;
}

html body div#hu div#hu-cookies-notice-consent-choices label.hu-radio-toggle.hu-toggle-group{
    border-radius:0;
}
html body div#hu div#hu-cookies-notice-consent-choices label.hu-radio-toggle.hu-toggle-group span.hu-toggle-heading{
    border-radius:0;
}
html body div#hu div#hu-cookies-notice-consent-choices label.hu-radio-toggle.hu-toggle-group span.hu-toggle-heading span.hu-toggle-switch{
    display:none;
}
html body div#hu div#hu-cookies-notice-consent-choices label.hu-radio-toggle.hu-toggle-group span.hu-toggle-heading span.hu-toggle-label{
    text-transform: initial;
}
@media (max-width: 576px){
    html body div#hu div#hu-cookies-notice-consent label.hu-radio-toggle span.hu-toggle-label {
        display: inline-block;
    }
}
@media (max-width: 344px){
    html body div#hu div#hu-cookies-notice-consent label.hu-radio-toggle:first-of-type {
        margin-bottom:15px;
    }
}
/* END COOKIE COMPLIANCE */






/* START FRONTPAGE FIXES*/
body.home div.wp-block-uagb-container.frontpage-pagaende-projekt{
    
}
body.home div.wp-block-uagb-container.frontpage-pagaende-projekt div.uagb-container-inner-blocks-wrap div.wp-block-columns {
    width:75%;
}
body.home div.wp-block-uagb-container.frontpage-pagaende-projekt div.uagb-container-inner-blocks-wrap div.wp-block-columns div.wp-block-column div.wp-block-uagb-image{
    
}

p.bt-frontpage-contact-boxes{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
p.bt-frontpage-contact-boxes a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}
/* END FRONTPAGE FIXES*/

/* START KUNDSIDOR VÄLKOMMEN */

body.page-id-33860 div#content div#primary main#main article.post-33860 div.wp-block-uagb-container.uagb-block-3800da63.alignfull.uagb-is-root-container a.uagb-marketing-btn__link.wp-block-button__link{
    min-width:350px;
    max-width:450px;
    
}
/* END KUNDSIDOR VÄLKOMMEN */



/*START LEDIGA JOBB FIXES*/
@media (max-width: 921px){
    body.page-id-32004 div#primary{
        margin: 4em 0;
    }
}
/*END LEDIGA JOBB FIXES*/

/* START PROJEKT & FASTIGHETER LIST*/

    @media (min-width: 922px){
        body.page-template-fastigheter-page div#content div.ast-container,
        body.page-template-projekt-page div#content div.ast-container {
            max-width: 100%;
        }
    }

    body.page-template-fastigheter-page div#primary,
    body.page-template-projekt-page div#primary {
        border-right: 0;
        padding-right:0;
        width: 100%;
    }
    
    body.page-template-projekt-page div#content div#primary div#bt_projekt_list_top_section{
        margin-bottom: 25px;
    }
    body.page-template-projekt-page div#content div#primary div#bt_projekt_list_top_section div.wp-block-button__width-75{
        max-width: 300px;
    }
    

    /* START LÄNKAR STÄDER*/
    body.page-template-fastigheter-page div#primary div#main_link_section.wp-block-uagb-container.alignfull.uagb-is-root-container{
        margin:50px calc(50% - 50vw);
    }
    body.page-template-fastigheter-page div#primary div#main_link_section div.wp-block-buttons div.wp-block-button a.wp-block-button__link.wp-element-button{
        text-transform:uppercase;
    }
    /* END LÄNKAR STÄDER*/
    
    
    /* PROJEKT/FASTIGHET LISTA */
        body.page-template-fastigheter-page div#fastigheter_list_header div.bt_fastigheter_projekt_links {
            margin:0 20px 0 20px;
        }
        
        
        div.fastigheter_list div.fastigheter-stad-anchor{
            margin-bottom:100px; /* Make sure the screen does not scroll past the h2 */
        }
        div.fastigheter_list h2.stad{
            margin-bottom:0;
        }
        
        ul.fastigheter_list,
        ul.projekt_list{
            /* font-family:"Helvetica Neue", Helvetica, Arial, sans-serif; */
        }
        
        
        ul.fastigheter_list li.fastigheter div.projekt_list_fastigheter_status h4,
        ul.projekt_list li.projekt div.projekt_list_projekt_status h4{
             font-size:16px;
           /* font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; */
        }
        ul.fastigheter_list li.fastighet h4.fastighet_title,
        ul.projekt_list li.projekt h4.projekt_title{
            /* font-family:"Helvetica Neue", Helvetica, Arial, sans-serif; */
            font-size:16px;
            font-weight:400;
            text-transform:uppercase;
        }

        ul.fastigheter_list li.fastighet h5{
            font-size:16px;
            font-weight:600;
        }
        ul.projekt_list li.projekt h5{
            /* font-family:"Helvetica Neue", Helvetica, Arial, sans-serif; */
            font-size:14px;
            font-weight:400;
        }
        ul.fastigheter_list li.fastighet h6{
            font-size:14px;
            font-weight:400;
        }
        ul.projekt_list li.projekt h6{
            /* font-family:"Helvetica Neue", Helvetica, Arial, sans-serif; */
           font-size:16px;
            font-weight:600;
        }
        ul.projekt_list li.projekt div.projekt_pris{
            font-size:14px;
            font-weight:400;
        }
        ul.projekt_list li.projekt  p.projekt_snabbtext{
            font-size:12px;
            line-height:20px;
        }
        ul.projekt_list li.projekt  div.projekt_data_row span.storlek{
            font-size:12px;
                font-weight:400;
        }
        ul.projekt_list li.projekt div.projekt_data_row span.rum{
            font-size:12px;
                font-weight:400;
        }
        ul.projekt_list li.projekt div.projekt_data_row span.inflytt{
            font-size:12px;
            font-weight:400;
        }
    
    
        div.fastigheter_list_container,
        div.projekt_list_container {
            text-align:center;
            /* background-color: #fff; */
            background-color:#eee; 
            padding-top:25px;
        }
        div.projekt_list_container h2{
            margin:0;
        }

        
        div.fastigheter_list_container ul.fastigheter_list,
        div.projekt_list_container ul.projekt_list{
            padding:0;
            margin:0 auto;
            vertical-align:top;
            width:80%;
        }


        div.fastigheter_list_container ul.fastigheter_list li.fastighet,
        div.projekt_list_container ul.projekt_list li.projekt{
            padding:0;
            margin:35px 2vw;
            display:inline-block;
            vertical-align:top;
            position:relative;
            width:325px;
            min-height: 455px;
            /* background-color:#eee; */
            background-color: #fff;
            /* box-shadow: 0 0 5px rgba(75,75,75, 0.5); */
            /* border-radius: 5px; */
            border: 0px transparent;
            overflow: hidden;
            
        }
        div.fastigheter_list_container ul.fastigheter_list li.fastighet{
            width: 275px;
            min-height: 325px;
            margin: 15px 15px;
            
        }
        
            @media all and (min-width:330px) and (max-width: 400px) {
                div.fastigheter_list_container ul.fastigheter_list li.fastighet,
                div.projekt_list_container ul.projekt_list li.projekt{
                    margin:35px 5px;
                }
            }
            @media all and (min-width:320px) and (max-width: 330px) {
                div.fastigheter_list_container ul.fastigheter_list li.fastighet,
                div.projekt_list_container ul.projekt_list li.projekt{
                    margin:35px 0;
                }
            }
            @media all and (max-width: 320px) {
                div.fastigheter_list_container ul.fastigheter_list li.fastighet,
                div.projekt_list_container ul.projekt_list li.projekt{
                    margin:35px -5px;
                }
            }

        div.fastigheter_list_container ul.fastigheter_list li.fastighet:hover,
        div.projekt_list_container ul.projekt_list li.projekt:hover{
            /* box-shadow: 0 0 20px rgba(75,75,75, 0.9); */
            box-shadow: 0 0 10px 5px rgba(75,75,75, 0.9);
        }
        div.fastigheter_list_container ul.fastigheter_list li.fastighet a,
        div.projekt_list_container ul.projekt_list li.projekt a{
            text-decoration:none;color:#000;
        }
        div.projekt_list_container ul.projekt_list li.projekt div.projekt_list_projekt_status{
            Width:100%;
            position:absolute;
            top:0;
            left:0;
        }
        div.projekt_list_container ul.projekt_list li.projekt div.projekt_list_projekt_status h4{
            background-color: #808C83DB; 
            color:#fff;
            padding:10px 20px;
            margin:0 0 0 0;
        }
        div.projekt_list_container ul.projekt_list li.projekt div.projekt_list_projekt_status.saljstart h4{
            background-color: #808C83DB; 
            color:#fff;
            border: 2px solid #ff3333;
            border-radius: 4px;
        }

        div.fastigheter_list_container ul.fastigheter_list li.fastighet div.fastigheter_list_fastighetstyp{
            position:absolute;
            top:171px;
            left:0;
        }
        
        div.projekt_list_container ul.projekt_list li.projekt div.projekt_list_projekt_sales_blurb{
            position:absolute;
            top:171px;
            left:0;
        }
        
        div.fastigheter_list_container ul.fastigheter_list li.fastighet div.fastigheter_list_fastighetstyp h4.fastighetstyp{
            background-color: #CB9766;
            color:#fff;
            font-size:12px;
            font-weight:400;
            padding:5px 10px;
            margin:0 0 0 0;
            border-radius: 0 10px 0 0;
        }
        
        div.projekt_list_container ul.projekt_list li.projekt div.projekt_list_projekt_sales_blurb h4.projekt_sales_blurb{
            background-color: #CB9766;
            color:#fff;
            font-size:12px;
            font-weight:400;
            padding:5px 10px;
            margin:0 0 0 0;
            border-radius: 0 10px 0 0;
        }

        div.fastigheter_list_container ul.fastigheter_list li.fastighet div.image_container,
        div.projekt_list_container ul.projekt_list li.projekt div.image_container{
            padding:0px;
            border: 0px solid #666;
            width:325px;
        }

        div.projekt_list_container ul.projekt_list li.projekt div.image_container img{
            /* max-width:199px; */
        }
        div.fastigheter_list_container ul.fastigheter_list li.fastighet div.image_container div.fastighet_img,
        div.projekt_list_container ul.projekt_list li.projekt  div.image_container div.projekt_img{
            width:325px;
            height:199px;
            background-position: center;
            background-size: cover;
            display: block;
        }

        div.fastigheter_list_container ul.fastigheter_list li.fastighet div.text_container,
        div.projekt_list_container ul.projekt_list li.projekt div.text_container {
            text-align:left;
            margin:0;
            padding:20px;
        }
        
        div.fastigheter_list_container ul.fastigheter_list li.fastighet div.text_container{
            padding:10px 10px;
        }
        
        div.fastigheter_list_container ul.fastigheter_list li.fastighet div.text_container h4,
        div.projekt_list_container ul.projekt_list li.projekt div.text_container h4{

        }
        div.fastigheter_list_container ul.fastigheter_list li.fastighet div.text_container h5,
        div.projekt_list_container ul.projekt_list li.projekt div.text_container h5{
            margin:0;
        }
        div.fastigheter_list_container ul.fastigheter_list li.fastighet div.text_container h6,
        div.projekt_list_container ul.projekt_list li.projekt div.text_container h6{
            margin:10px 0 0 0;
        }
        div.projekt_list_container ul.projekt_list li.projekt div.text_container div.projekt_pris{
            margin:5px 0 0 0;
            min-height:25px;
        }
        div.projekt_list_container ul.projekt_list li.projekt div.text_container p.projekt_snabbtext{
            margin:10px 0 0 0;
            min-height: 60px;
        }
        div.projekt_list_container ul.projekt_list li.projekt div.text_container div.projekt_data_row{
            margin:20px 0 0 0;
        }
        div.projekt_list_container ul.projekt_list li.projekt div.text_container div.projekt_data_row img:first-of-type{
            margin-left:0;
        }
        div.projekt_list_container ul.projekt_list li.projekt div.text_container div.projekt_data_row img{
            margin:0 5px 0 10px;
            max-height: 20px;
            width:auto;
        }
        div.projekt_list_container ul.projekt_list li.projekt div.text_container div.projekt_data_row span.storlek{
            font-variant-numeric: tabular-nums;
        }
        div.projekt_list_container ul.projekt_list li.projekt div.text_container div.projekt_data_row span.rum{
            font-variant-numeric: tabular-nums;
        }
        div.projekt_list_container ul.projekt_list li.projekt div.text_container div.projekt_data_row span.inflytt{
            font-variant-numeric: tabular-nums;
        }

        div.no_active_fastigheter,
        div.no_active_projects{
            padding:45px 0;
        }
        div.no_active_fastigheter h4,
        div.no_active_projects h4{
            font-size:24px;
        }
        /* END PROJEKT LISTA */


/* END PROJEKT LIST*/

/* START PROJEKT STAD */
        body.page-template-projekt-city-page div#content div.ast-container {
            max-width:100%;
        }
        body.page-template-projekt-city-page div.wp-block-uagb-container.alignfull {
            min-height: 500px;
            box-shadow: 0px 0px #00000070;
            padding: 0;
            row-gap: 20px;
            column-gap: 20px;
            overflow: visible;
            border-color: inherit;
            background-repeat: no-repeat;
            background-position: 50% 50%;
            background-size: cover;
            background-attachment: scroll;
            background-clip: padding-box;
            position:relative;
        }
        body.page-template-projekt-city-page div.wp-block-uagb-container.alignfull div.uagb-container-inner-blocks-wrap {
            
            
        }
        
        body.page-template-projekt-city-page div.wp-block-uagb-container.alignfull div#bt-city_desc_container{
            /* position:absolute; */
            bottom:40px;
            display:block;
            height: 100%;
            margin-left:15%;
            margin-right:15%;
            max-width: 650px;
            margin-top:190px;
            padding:20px;
            background-color:#ffffffd1;
        }
        body.page-template-projekt-city-page div.wp-block-uagb-container.alignfull div#bt-city_planerade_link_container{
            position:absolute;
            bottom:35px;
            width: 350px;
            left: calc(50vw - 175px);
            margin: 0 auto;
        }
        @media all and (min-width:600px) and (max-width:800px) {
            
        }
        @media all and (min-width:545px) and (max-width:767px) {
            body.page-template-projekt-city-page div.wp-block-uagb-container.alignfull div.wp-block-column.has-background.is-layout-flow.wp-block-column-is-layout-flow{
                margin: 200px 5% 0 5%;
                max-width: 450px;
            }
        }
        @media all and (min-width:0px) and (max-width:544px) {
            body.page-template-projekt-city-page div.wp-block-uagb-container.alignfull div.wp-block-column.has-background.is-layout-flow.wp-block-column-is-layout-flow{
                margin: 180px 5% 0 5%;
                max-width: 90%;
                padding:15px;
            }
            body.page-template-projekt-city-page div.wp-block-uagb-container.alignfull div.wp-block-column.has-background.is-layout-flow.wp-block-column-is-layout-flow h2{
                font-size:25px;
                margin-bottom:5px;
            }
            body.page-template-projekt-city-page div.wp-block-uagb-container.alignfull div.wp-block-column.has-background.is-layout-flow.wp-block-column-is-layout-flow p{
                font-size:14px;
            }
        }

/* END PROJEKT STAD */


/* START SINGLE FASTIGHET */
    
    body.single-fastighet div#primary div#single-fastighet-container div#bt_ngg_gallery_container {
        margin-left: calc( -34vw + 50%);
        margin-right: calc( -34vw + 50%);
        max-width: 68vw;
        width: 68vw;
        padding-right: var(--wp--preset--spacing--60);
        padding-left: var(--wp--preset--spacing--60);
    }
    body.single-fastighet div#primary div#single-fastighet-container div#bt_ngg_gallery_container div.nextgen_pro_sidescroll.nextgen_pro_sidescroll_open{
        /* position:static; */
    }
    body.single-fastighet div#primary div#single-fastighet-container div#bt_ngg_gallery_container div.nextgen_pro_sidescroll_wrapper{
        /* width: 66vw !important; */
        /* margin-left: -14vw; */
    }
    
    body.single-fastighet div#primary div#single-fastighet-container div.alignfull.uagb-is-root-container{
        margin-left: calc( -35vw + 50%);
        margin-right: calc( -35vw + 50%);
        max-width: 70vw;
        width: 70vw;
        margin-top: 25px;
    }
    body.single-fastighet div#primary div#single-fastighet-container div.alignfull.uagb-is-root-container h1{
        font-size:3em;
        margin: 0 0 0 25px;
    }
    body.single-fastighet div#primary div#single-fastighet-container div.alignfull.uagb-is-root-container div#fastighet_wp_content{
        padding:25px;
        margin:0;
    }
    
    body.single-fastighet div#primary div#single-fastighet-container div#fastighet_faktaruta{
        color:white;
        text-align:center;
        padding:25px 100px;
    }
    body.single-fastighet div#primary div#single-fastighet-container div#fastighet_faktaruta p{
        margin:0;
    }
    body.single-fastighet div#primary div#single-fastighet-container div#fastighet_faktaruta h3{
        color:white;
        margin:0 0 10px 0;
    }
    body.single-fastighet div#primary div#single-fastighet-container div#fastighet_faktaruta svg{
        height: 30px;
        fill: white;
    }
    body.single-fastighet div#primary div#single-fastighet-container div#fastighet_faktaruta svg path{
        
    }

/* END SINGLE FASTIGHET */


/* START SINGLE PROJEKT */

    /* DOKUMENTLISTA IKONER 
     * 
     * Standardikon är doc_thumb.jpg
     * Se respektive regel nedanför för 
     * specifika ikoner
     * 
     * Kolla klasserna på den ikon ni vill byta
     * och lägg på en motsvarande ny sektion
     * som t.ex. kopprocessen
     * 
     * Klasserna baseras på ursprungliga filnamnet
     * fram till första "-",åäö ersätts automatiskt.
     * T.ex. 
     * "En trygg affär-1.pdf" blir "entryggaffar"
     * */
    body.single-projekt div#dokument ul.dokument li div.attachment_icon {
    background-image: url("/wp-content/themes/astra-child/img/doc_thumb.jpg");
    }
    /* Specifik ikon för kopprocessen */
    body.single-projekt div#dokument ul.dokument li div.attachment_icon.kopprocessen{
    background-image: url("/wp-content/themes/astra-child/img/doc_thumb_kopprocessen.jpg");
    }
    /* Specifik ikon för "bofaktablad" */
    body.single-projekt div#dokument ul.dokument li div.attachment_icon.bofaktablad{
    background-image: url("/wp-content/themes/astra-child/img/doc_thumb_bofakta.jpg");
    }
    /* Specifik ikon för "en trygg affär" */
    body.single-projekt div#dokument ul.dokument li div.attachment_icon.entryggaffar{
    background-image: url("/wp-content/themes/astra-child/img/doc_thumb_trygg.jpg");
    }
    /* Specifik ikon för "stadgar" */
    body.single-projekt div#dokument ul.dokument li div.attachment_icon.stadgarbrfnyagatan{
    background-image: url("/wp-content/themes/astra-child/img/stadgar.png");
    }
    /* END DOKUMENTLISTA IKONER */

    /* DOKUMENT LIST & MAP */
        body.single-projekt div#content div#primary div.entry-content div#dokument{
            text-align: center;
            padding: 10px 0;
            background-color: #FFF;
            height: 100%;
            min-height: 350px;
            margin-top: 50px;
            position: relative;
            background-attachment: fixed;
            width: 100vw;
            max-width: 100vw;
            margin-left: calc(50% - 50vw);
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }
        body.single-projekt div#content div#primary div.entry-content div#dokument ul.dokument{
            width: fit-content;
            margin: 0 auto;
            padding: 0;
            list-style: none;
            text-align: center;
        }
        body.single-projekt div#content div#primary div.entry-content div#dokument ul.dokument li {
            display: inline-block;
            margin: 25px 20px 25px 20px;
            text-align: center;
        }    
        body.single-projekt div#content div#primary div.entry-content div#dokument ul.dokument li h6 {
            font-family:"cambria math", serif;
            font-size:14px;
            font-weight:600;
        }
        body.single-projekt div#content div#primary div.entry-content div#dokument ul.dokument li a {
            color: #404040;
            text-decoration: none;
            display: block;
            min-width: 250px;
            cursor:pointer;
        }
        body.single-projekt div#content div#primary div.entry-content div#dokument ul.dokument li div.attachment_icon {
            width:85px;
            height:85px;
            margin:0 auto;
            background-size:cover;
        }
        body.single-projekt div#content div#primary div.entry-content div#dokument ul.dokument li a img {
            vertical-align: middle;
        }
        body.single-projekt div#content div#primary div.entry-content div#dokument ul.dokument li a img:first-of-type {
            display: block;
            margin: 0 auto;
        }
    /* END DOKUMENT LIST */

    /* Intresse button */
    html body.single-projekt div#intresse_btn{
        margin:50px auto 0 auto;
        min-width:175px;
        width:175px;
    }
    html body.single-projekt div#intresse_btn a.wp-block-button__link{
        background-color: #952122;
        word-break: normal;
    }
    /* End intresse btn */


    /* TABLEPRESS */
    body div#primary table.tablepress .fas.red {
    color: red;
}
    body div#primary table.tablepress .fas.orange {
        color: orange;
    }
    body div#primary table.tablepress .fas.green {
        color: green;
    }
    body div#primary h2.tablepress-table-name {
        margin-bottom: 0 !important;
    }

    body div#primary table.tablepress thead tr th {
    /*background-color: #706f6f;*/
        background: #999f8b;
        color: #fff;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: normal;
    }

    body div#primary table.tablepress thead tr th:hover {
        background: #757a6a;
    }

    body div#primary table.tablepress thead tr:first-of-type th:first-of-type {
        width: 45px;
    }

    /*5 = V�n */
    /* table.tablepress thead tr:first-of-type th:nth-of-type(5) { */
        /* min-width: 85px; */
    /* } */

    /*6 = Pris*/
    table.tablepress thead tr:first-of-type th:nth-of-type(6) {
        min-width: 85px;
    }

    /*9 = Adress*/
    table.tablepress thead tr:first-of-type th:nth-of-type(9) {
        min-width: 110px;
    }

    /*10 = Bofakta*/
    table.tablepress tbody tr td:nth-of-type(10) {
        text-align: center;
    }

    table.tablepress tbody tr td a.bofakta img {
        max-height: 25px;
    }

    table.tablepress span.sorter {
        display: none;
    }

    div.dataTables_wrapper div.dataTables_filter > label > input {
        height: 35px;
    }

    table.tablepress i.bt-tooltip {
        position: relative; /* making the .tooltip span a container for the tooltip text */
    }

    table.tablepress i.bt-tooltip:after {
        content: attr(data-text); /* here's the magic */
        position: absolute; /* vertically center */
        top: 50%;
        transform: translateY(-50%); /* move to right */
        left: 100%;
        margin-left: 10px; /* and add a small left margin */
    /* basic styles */
        width: auto;
        padding: 3px 10px;
        border-radius: 5px;
        background: #706f6f;
        color: #fff;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 12px;
        text-transform: Initial;
        letter-spacing: .5px;
        text-align: center;
        display: none; /* hide by default */
    }

    table.tablepress i.bt-tooltip:hover:after {
        display: block;
    }


        
        @media all and (min-width:600px) {
            table.tablepress thead tr th{
                text-transform:uppercase;
            }
        }
        @media all and (max-width:600px) {
            table.tablepress thead tr th{
                width:20px !important;
                padding: 2px 4px 2px 0 !important;
                font-size:10px;
                text-transform:initial;
            }
        }
        @media all and (min-width:600px) and (max-width:800px) {
            table.tablepress thead tr th{
                width:20px !important;
                padding: 3px 6px 3px 1px !important;
            }
        }
        @media all and (max-width:800px) {
            
            table.tablepress {
                table-layout: fixed;
                max-width: 700px;
                width: 100% !important;
            }

            table.tablepress tbody tr td{
                padding:3px;
            }

            table.tablepress thead tr th:first-of-type {

            }
            
           table.tablepress thead tr th.column-1{
                content-visibility:hidden;
                padding:0;
                width:5px !important;
           }
           table.tablepress tbody tr td.column-1{
                padding: 3px 3px 3px 6px !important;
           }
           table.tablepress thead tr th.column-2{
               width:15px !important;
           }
           table.tablepress tbody tr td.column-2{
                
           }
           table.tablepress thead tr th.column-3{
               width:15px !important;
           }
           table.tablepress tbody tr td.column-3{
                
           }
           table.tablepress thead tr th.column-4{
               width:12px !important;
           }
           table.tablepress tbody tr td.column-4{
                
           }
           table.tablepress thead tr th.column-5{
               width:15px !important;
           }
           table.tablepress tbody tr td.column-5{
                
           }
           table.tablepress thead tr th.column-6{
               width:20px !important;
           }
           table.tablepress tbody tr td.column-6{
                
           }
           table.tablepress thead tr th.column-7{
               width:18px !important;
           }
           table.tablepress tbody tr td.column-7{
                
           }
           table.tablepress thead tr th.column-8{
               width:24px !important;
           }
           table.tablepress tbody tr td.column-8{
                
           }
           /* D�lj v�ning */
           table.tablepress .column-5{ 
                display:none;
           }
           table.tablepress .column-9{
               display:none;
           }
           table.tablepress thead tr th.column-9{
               
           }
           table.tablepress tbody tr td.column-9{
                
           }
           table.tablepress thead tr th.column-10{
                content-visibility:hidden;
                padding:0;
                width:12px !important;
           }
           table.tablepress tbody tr td.column-10{
                
           }
            
        }
    /* END TABLEPRESS */

    /* START TOP SECTION */

        body.single-projekt div#page div#content div.ast-container div#primary div#top_bg_logo_section {
            margin: 0 calc(50% - 50vw);
            min-height:400px;
        }
        body.single-projekt div#page div#content div.ast-container div#primary div#top_bg_logo_section div.wp-block-cover__image-background.has-parallax{
            background-attachment: local;
        }
        body.single-projekt div#page div#top_bg_logo_section div#projekt_logo{
            /*bg and padding to set a transparent background for contrast */
            background-color: rgba(225, 225, 225, 0.5);
            padding: 45px;
            /*end bg&padding*/
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        body.single-projekt div#page div#top_bg_logo_section  div#projekt_logo img{max-width:400px;}
        @media (min-width:400px) and (max-width:800px){body.single-projekt div#page  div#top_bg_logo_section div#projekt_logo img{max-width:300px;}}
        @media (max-width:400px){body.single-projekt div#page div#top_bg_logo_section div#projekt_logo img{max-width:200px;}}
        body.single-projekt div#page div#top_bg_logo_section div#top_bg_logo_section_links{
            margin-top: 200px;
        }
    /* END TOP SECTION */

    body.single-projekt div#page div#bt_projekt_content{
        margin-top:100px;
    }

    /* START SALES SPLASH */
        @media all and (min-width: 1200px) {
            body.single-projekt div#page div#top_bg_logo_section img#sales_splash{
                display:block;
                position: absolute;
                right: 10%;
                top: 25%;
                width: 30%;
                max-width: 450px;
            }
        }
        @media all and (min-width: 900px) and (max-width: 1200px) {
            body.single-projekt div#page div#top_bg_logo_section img#sales_splash{
                display:block;
                position: absolute;
                right: 3%;
                top: 25%;
                width: 20%;
            }
        }
        @media all and (min-width: 500px) and (max-width: 900px) {
            body.single-projekt div#page div#top_bg_logo_section img#sales_splash{
                display:block;
                position: absolute;
                right: 2%;
                top: 15%;
                width: 25%;
            }
        }
        @media all and (max-width: 500px) {
            body.single-projekt div#page div#top_bg_logo_section img#sales_splash{
                display:block;
                position: absolute;
                right: 0;
                top: 15%;
                width: 40%;
            }
        }
    /* END SALES SPLASH */


    /* PROJEKT MIDPAGE MENU */
        body.single-projekt div#page section.projekt_navigation_midpage{
            padding: 0;
            margin: 0 calc(50% - 50vw);
            text-align: center;
            background-color: #706f6f;
        }
        body.single-projekt div#page section.projekt_navigation_midpage ul#menu-projektmeny{
            padding: 0;
            margin:0;
        }
        body.single-projekt div#page section.projekt_navigation_midpage ul#menu-projektmeny li{
            padding: 0;
            margin:0;
            display: inline-block;
        }
        body.single-projekt div#page section.projekt_navigation_midpage ul#menu-projektmeny li a:hover{background-color: #555 !important;color:#fff !important;}
        body.single-projekt div#page section.projekt_navigation_midpage ul#menu-projektmeny li a{
            padding: 1em 1.75em;
            margin:0;
            /*min-width: 175px;*/ /* min-width will make the distance uniform */
            text-decoration: none;
            /* font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; */
            font-size: 16px;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: normal;
            font-style: normal;
            text-decoration: none;
            /*background-color: #fcfcfc; */ /*activate background-color to make distinct buttons rather then row with text*/
            color: rgba(255,255,255,0.8);
            -moz-osx-font-smoothing: auto;
            -webkit-font-smoothing: subpixel-antialiased;
            display: inline-block;
            line-height: 1em;
            border: none;
            border-radius: 0;
        }
    /* END PROJEKT MIDPAGE MENU */




    /* DOKUMENTLISTA IKONER 
     * 
     * Standardikon �r doc_thumb.jpg
     * Se respektive regel nedanf�r f�r 
     * specifika ikoner
     * 
     * Kolla klasserna p� den ikon ni vill byta
     * och l�gg p� en motsvarande ny sektion
     * som t.ex. kopprocessen
     * 
     * Klasserna baseras p� ursprungliga filnamnet
     * fram till f�rsta "-",��� ers�tts automatiskt.
     * T.ex. 
     * "En trygg aff�r-1.pdf" blir "entryggaffar"
     * */
        body.single-projekt div#dokument ul.dokument li div.attachment_icon {
            background-image: url("https://projekt.botrygg.se/wp-content/themes/shapely-child/img/doc_thumb.jpg");
        }
        /* Specifik ikon f�r kopprocessen */
        body.single-projekt div#dokument ul.dokument li div.attachment_icon.kopprocessen{
            background-image: url("https://projekt.botrygg.se/wp-content/themes/shapely-child/img/doc_thumb_kopprocessen.jpg");
        }
        /* Specifik ikon f�r "bofaktablad" */
        body.single-projekt div#dokument ul.dokument li div.attachment_icon.bofaktablad{
            background-image: url("https://projekt.botrygg.se/wp-content/themes/shapely-child/img/doc_thumb_bofakta.jpg");
        }
        /* Specifik ikon f�r "en trygg aff�r" */
        body.single-projekt div#dokument ul.dokument li div.attachment_icon.entryggaffar{
            background-image: url("https://projekt.botrygg.se/wp-content/themes/shapely-child/img/doc_thumb_trygg.jpg");
        }
        /* Specifik ikon f�r "stadgar" */
        body.single-projekt div#dokument ul.dokument li div.attachment_icon.stadgarbrfnyagatan{
            background-image: url("https://projekt.botrygg.se/wp-content/themes/shapely-child/img/stadgar.png");
        }
    /* END DOKUMENTLISTA IKONER */






/* END SINGLE PROJEKT */


/* START NYHETER/MEDIA */
/*
    page-id-35725 = https://dev23.botrygg.se/mediaarkiv/
    page-id-34475 = https://dev23.botrygg.se/nyheter/
*/

    body.page-id-35725 div#content article.ast-article-single div.wp-block-uagb-container.uagb-block-ac061955 div.uagb-post__text.uagb-post__excerpt em,
    body.page-id-34475 div#content article.ast-article-single div.wp-block-uagb-container.uagb-block-8a522b71 div.uagb-post__text.uagb-post__excerpt em{
        font-weight:400;
    }

/* END NYHETER/MEDIA */




/* START FOOTER */

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
padding-top:0;
padding-bottom:0;
}
.site-below-footer-wrap[data-section="section-below-footer-builder"] {
padding-top:0;
padding-bottom:0;
}

/* END FOOTER*/
