/*
Theme Name: Energy Child
Theme URI: https://themeforest.net/item/energy-solar-and-alternative-energy-wordpress-theme/19153629
Author: WPRollers
Author URI: https://themeforest.net/user/wprollers/
Description: Energy - clean and simple WordPress blogging theme for websites.
Version: 1.5.2
Template: energy
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: yellow, blue, black, green, white, light, dark, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
/*

body {
    --wp--style--global--content-size: 1200px;
}

body .entry-content .alignfull {
    width: 100%;
    max-width: none;
    left: 50%;
    position: relative;
    !*margin: 0 0 25px calc((var(--fullwidth) / -2));*!
    margin: 0 0 0 calc(100% / -2);
}
*/

/* GENERAL LAYOUT */
/**************************************************************************************/

body, button, input, select, textarea { font-weight: 400; }

#page:not(.unyson-layout) .site-content > .container { width: auto; }

.entry-content > *:not(.fw-page-builder-content) {
    margin: 36px auto;
    max-width: 1200px;
    padding-left: 14px;
    padding-right: 14px;
}

.entry-content > .alignwide { max-width: 1370px; }
.entry-content > .alignfull { margin: 1.5em 0; max-width: 100%; }

/*  */
/**************************************************************************************/




/* logo modify size */
div.logo-use-image img.logo_big { max-height: 58px }




/* home override */
.home .site-content { padding: 0 }

/* PATTERNS */
/**************************************************************************************/

.entry-content .orodja-raziskave-pattern,
.entry-content .storitve-dejavnosti-pattern {
    margin: 0 !important;
}

/*.entry-content .storitve-group {
    max-width: 100%;
    width: 100%;
}*/
.entry-content .storitve-dejavnosti-pattern + .after-content { margin: 0 !important; }

.orodja-raziskave-pattern + .clear { margin-bottom: 0 !important; margin-top: 0 !important; }




/* SERVICES PATTERN */
.services-item--wrapper {
    /*min-height: 418px;*/
}
.services-item--title {
    min-height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.entry-content .services-item--title a {
    overflow: visible !important;
    height: auto !important;
    color: #333333;
}
.entry-content .services-item--readmore a { color: #000000; }
.entry-content .services-item--readmore a:hover { color: #FFFFFF; }




/* orodja-raziskave PATTERN alignfull modify */
.orodja-raziskave-pattern > .alignfull,
.storitve-dejavnosti-pattern > .alignfull {
    margin-right: calc(var(--wp--style--root--padding-right) * -1.5);
    margin-left: calc(var(--wp--style--root--padding-left) * -1.5);
}

/* menu correction - current menu item */
.current-menu-parent > a { color: #ffffff; }




.fw-testimonials .caroufredsel_wrapper { overflow: visible !important; }
.fw-testimonials .fw-testimonials-list { min-height: 369px; }

.boxshadow { box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.05); }





/* LIST ELEMENTS */

.editor-styles-wrapper > ul, .editor-styles-wrapper > ol,
.entry-content > ul,  .entry-content > ol,
.wp-block-column > ul, .wp-block-column > ol {
    padding-left: 50px !important;
    margin-top: 10px !important;
}

/* all paragraphs before list element */
.editor-styles-wrapper > p:has(+ ul), .editor-styles-wrapper > p:has(+ ol),
.entry-content > p:has(+ ul), .entry-content > p:has(+ ol),
.wp-block-column > p:has(+ ul), .wp-block-column > p:has(+ ol) {
    margin-bottom: 10px !important;
}





.site-content { padding-bottom: 0 !important; }
.entry-content__inner { margin-bottom: 0 !important; }



.after-content { margin: 0 !important; }

.main-nav ul.sub-menu li.current-menu-item > a {
    color: #ea573e !important;
}

/* heading - remove bottom margin */
.ss-block-heading { margin-bottom: 0 !important; }
.ss-block-heading + p.has-text-align-center { margin-top: 0 !important; }


/* list item marker */
.site-content li::marker {
    content: url("data:image/svg+xml,%3Csvg id='f_bullet' data-name='f_bullet' height='12' width='18' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23.538 35.355'%3E%3Cg%3E%3Crect x='9.365' y='-1.451' width='6.25' height='25' transform='translate(29.134 10.029) rotate(135)' fill='%23EA573E' stroke-width='0'/%3E%3Crect x='9.365' y='11.807' width='6.25' height='25' transform='translate(20.846 -1.712) rotate(45)' fill='%23EA573E' stroke-width='0'/%3E%3C/g%3E%3Crect x='1.014' y='15.234' width='4.95' height='4.917' transform='translate(18.466 27.736) rotate(135)' fill='%23EA573E' stroke-width='0'/%3E%3C/svg%3E");
}




/** WP BLOCKQUOTE **/
blockquote.wp-block-quote {
    max-width: 600px !important;
    height: auto;
    background-image:
            url("data:image/svg+xml,%3Csvg id='f_kot-bl' data-name='f_kot-bl' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 25'%3E%3Cg%3E%3Crect x='9.375' y='-9.375' width='6.25' height='25' transform='translate(15.625 -9.375) rotate(90)' fill='%23010101' stroke-width='0'/%3E%3Crect x='18.75' y='0' width='6.25' height='25' fill='%23010101' stroke-width='0'/%3E%3C/g%3E%3Crect x='8.358' y='11.729' width='4.95' height='4.917' transform='translate(25.021 3.355) rotate(90)' fill='%23010101' stroke-width='0'/%3E%3C/svg%3E"),
            url("data:image/svg+xml,%3Csvg id='f_kot-tr' data-name='f_kot-tr' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 25'%3E%3Cg%3E%3Crect x='9.375' y='9.375' width='6.25' height='25' transform='translate(-9.375 34.375) rotate(-90)' fill='%23010101' stroke-width='0'/%3E%3Crect x='0' y='0' width='6.25' height='25' transform='translate(6.25 25) rotate(180)' fill='%23010101' stroke-width='0'/%3E%3C/g%3E%3Crect x='11.692' y='8.354' width='4.95' height='4.917' transform='translate(3.355 24.979) rotate(-90)' fill='%23010101' stroke-width='0'/%3E%3C/svg%3E"),
            url("data:image/svg+xml,%3Csvg id='f_kot-tl' data-name='f_kot-tl' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 25'%3E%3Cg%3E%3Crect x='18.75' y='0' width='6.25' height='25' transform='translate(43.75 25) rotate(180)' fill='%23010101' stroke-width='0'/%3E%3Crect x='9.375' y='9.375' width='6.25' height='25' transform='translate(34.375 9.375) rotate(90)' fill='%23010101' stroke-width='0'/%3E%3C/g%3E%3Crect x='8.337' y='8.375' width='4.95' height='4.917' transform='translate(21.624 21.666) rotate(-180)' fill='%23010101' stroke-width='0'/%3E%3C/svg%3E"),
            url("data:image/svg+xml,%3Csvg id='f_kot-br' data-name='f_kot-br' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25 25'%3E%3Cg%3E%3Crect x='0' y='0' width='6.25' height='25' fill='%23010101' stroke-width='0'/%3E%3Crect x='9.375' y='-9.375' width='6.25' height='25' transform='translate(9.375 15.625) rotate(-90)' fill='%23010101' stroke-width='0'/%3E%3C/g%3E%3Crect x='11.713' y='11.709' width='4.95' height='4.917' fill='%23010101' stroke-width='0'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position:
            bottom left,
            top right,
            top left,
            bottom right;
    background-size: 15px;
    border: 0;
    margin: 0;
    padding: 0 !important;
}

blockquote.wp-block-quote p {
    background-color: #51C7CD;
    margin: 17px;
    padding: 30px 60px;
    font-weight: bold;
    font-style: normal;
    font-size: 18px;
    display: inline-block;
    color: #000000;
    position: relative;
}

blockquote.wp-block-quote p:before {
    content: url("data:image/svg+xml,%3Csvg id='f_bullet' data-name='f_bullet' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 23.538 35.355'%3E%3Cg%3E%3Crect x='9.365' y='-1.451' width='6.25' height='25' transform='translate(29.134 10.029) rotate(135)' fill='%23EA573E' stroke-width='0'/%3E%3Crect x='9.365' y='11.807' width='6.25' height='25' transform='translate(20.846 -1.712) rotate(45)' fill='%23EA573E' stroke-width='0'/%3E%3C/g%3E%3Crect x='1.014' y='15.234' width='4.95' height='4.917' transform='translate(18.466 27.736) rotate(135)' fill='%23EA573E' stroke-width='0'/%3E%3C/svg%3E");
    width: 11px;
    height: 11px;
    display: inline-block;
    position: absolute;
    left: 30px;
}
/** WP BLOCKQUOTE **/





.fw-testimonials-2 .fw-testimonials-avatar svg {
    width: auto;
    height: 70px;
    max-height: 70px;
    padding: 0;
    margin-top: -35px;
    border-radius: 50%;
    /*border: solid 2px #ea573e;*/
}

.entry-content a,
.entry-content a strong {
    outline: 0;
    text-decoration: none;
    color: #ea573e;
}
.entry-content a:hover,
.entry-content a:hover strong {
    color: #000;
}





/* NAŠA ORODJA GROUP */
.fw-testimonials-meta.title-top {
    padding: 6px 30px 15px 30px;
    background-color: #FFFFFF;
    margin-top: 0;
    margin-bottom: 0;
}
.fw-testimonials-meta.title-top + .fw-testimonials-text {
    position: relative;
    padding: 30px 30px 8px 30px;
}
.fw-testimonials-meta.title-top + .fw-testimonials-text::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin-left: -30px;
    top: 0;
    left: 50%;
    position: absolute;
    background-color: #ea573e;
}

.fw-testimonials-meta.title-top .fw-testimonials-author {
    margin-bottom: 7px;
}

/*  FOOTER LOGO  */
.footer-logo {
    background-color: #020202;
    display: flex;
    padding: 100px 0 20px 0;
    justify-content: center;
    align-items: center;
}
.footer-logo a { max-width: 250px; }
.footer.footer-style-2 { padding-top: 20px; }



.orodja-raziskave-pattern .fw-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.orodja-raziskave-pattern .fw-row > div { width: auto }


@media (max-width:880px) {
    .services-item--title {
        min-height: 96px;
    }
}

@media (max-width:767px) {
    .footer-logo { padding-left: 30px; padding-right: 30px; justify-content: flex-start; }
    .footer-logo a { max-width: 300px; }
    footer .footer-widgets > div { padding-left: 30px; padding-right: 30px}


    blockquote.wp-block-quote p {
        padding: 30px 30px;
        line-height: 1.6;
        font-size: 16px
    }
    blockquote.wp-block-quote p::before { display: none; }

}

