/**
  Theme Name: PP2
  Author: <a href="https://wisemedia.hr">Gregor Bogdanovic</a>
  Author URI: https://wisemedia.hr
  Template: rubenz
  Version: 2.0
*/

:root {
  --dark-bg: var(--e-global-color-secondary);
  --accent-dark: var(--e-global-color-9f5855);
  /* --accent: #61802e; */
  --accent: var(--e-global-color-accent);
  --accent-rgb: 152, 209, 58;
}


a {
  transition: var(--e-a-transition-hover);
  background-image: none;
}
a:hover, a:focus {
  color: var(--e-global-color-accent) !important;
  opacity: 1;
  text-decoration: none !important;
}
.social__item a:hover {
  text-decoration: none;
}

/* logo */
  #header-logo {
    width: 60px;
    height: 60px;
    cursor: pointer;
  }
  #header-logo .st0{
    fill: #fff;
    fill-rule: evenodd;
  }
  #header-logo:hover .st0 {
    fill: var( --e-global-color-accent ) !important;
  } 

  .header__controls {transition: all 0.5s ease;}
  header.scrolled .header__controls {
    padding-top: 10px;
    padding-bottom: 10px;
    transition: all 0.5s ease;
    background-color: rgba(var(--accent-rgb), 0.2);
  }
  #header-logo {transition: all 0.5s ease;}
  header.scrolled #header-logo {
    width: 40px;
    height: 40px;
    transition: all 0.5s ease;
  }

/* menu */
  .current-menu-item a, body.single-projekti .menu-projekti a {
    color: var( --e-global-color-accent ) !important;
    opacity: 1;
  }
  .header_white .menu > li a:hover {
    text-decoration: none;
  }
  .menu > li:not(.menu-item-has-children).current-menu-item a::before, 
  body.single-projekti .menu > li:not(.menu-item-has-children).menu-projekti a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    background-color: var( --e-global-color-accent ) !important;
    bottom: 5px;
    right: 15px;
    transition: all 0.4s cubic-bezier(0.785, 0.135, 0.15, 0.86);
    left: 15px;
    width: calc(100% - 30px) !important;
  }
  .header_white .menu > li:not(.menu-item-has-children) > a::before {
    background-color: var( --e-global-color-accent ) !important;
  }


/* fix */

body.single-projekti .e-con-inner p {margin-top: 0;}
  .bg-blue-grey, .elementor-section.bg-blue-grey,
  .bg-dark-2 {
    /* background-color: #0f0f0f !important; */
    background-color: var( --e-global-color-7c2fd16 ) !important;
  }
  .attachment-266x266, .thumbnail img {
    width: 100% !important;
    height: auto !important;
  }
  .link-no_underline a{
    background: none !important;
  }
  .card-no_opacity:hover,
  .link-no_opacity a:hover {
    opacity: 1;
  }
  .elementor-button svg {
    transition: all .3s;
  }
  .link-arrow_hover_black a:hover .elementor-button-icon .st0 {
    fill: var( --e-global-color-secondary ) !important;
  }
  .link-arrow_hover_green a:hover .elementor-button-icon .st0 {
    fill: var( --e-global-color-accent ) !important;
  }
  
  .section-intro.noMargin  {
    margin: 0 !important;
    font-size: unset;
    line-height: unset;
  }
  .section-intro.noMargin .split-text span {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
  }
  .section-intro.noMargin > .container-fluid {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
  }
  .section-intro.noMargin .section-intro__header h1 {
    margin: 0;
  }
  
  .bg-blue-grey .slider-header-testimonials::before, .elementor-section.bg-blue-grey .slider-header-testimonials::before,
  .bg-blue-grey .slider-header-testimonials::after, .elementor-section.bg-blue-grey .slider-header-testimonials::after {
    background: transparent;
  }
  
  .figure-member__position {
    font-family: var(--font-primary);
    position: unset;
    color: #fff;
    transform: unset;
    transform-origin: unset;
    font-style: italic;
    font-weight: 400;
  }
  
  .button {
    border-radius: 0;
    font-size: 14px;
  }

/* portoflio/works */
  body.single-projekti .section-blog {
    /* background-color: #0f0f0f !important; */
    background-color: var( --e-global-color-7c2fd16 ) !important;
    padding: 3em 0;
  }
  
  .all_text_right .figure-portfolio__content {
    text-align: left !important;
  }
  .filter__item {
    color: #fff;
  }
  .filter__item_active,
  .filter__item:not(.filter__item_active):hover {
    color: var(--e-global-color-accent);
  }
  .figure-portfolio:hover, .figure-portfolio:hover h3 {
    color: var(--e-global-color-accent);
    text-decoration: none !important;
    transition: var(--e-a-transition-hover);
  }
  .figure-portfolio h3 {
    transition: var(--e-a-transition-hover);
    font-size: 24px !important;
  }
  
  /* projekt single */
  .projekt-meta {
    display: flex;
    margin: 1em 0 0 0;
  }
  .projekti-single-meta span.accent {
    color: var(--e-global-color-accent);
    display: block;
  }
  .projekti-single-meta {
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px dashed var(--e-global-color-accent);
    padding-bottom: 1em;
  }
  .meta-meta {
    flex: 0 0 calc(50% - 5px);
    padding-bottom: 0.5em;
  }
  @media all and (max-width: 768px) {
    .meta-meta {
      flex: 100%;
      padding-bottom: 0.5em;
    }
  }

/*footer */
 @media all and (max-width: 768px) {
   .pre-footer {flex-wrap: wrap; margin-bottom: 50px;}
   .footer .widget {margin-bottom: 0;}
   .site-author {text-align: left !important;}
 }
  .pre-footer {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
  }
  /* .pre-footer .footer .widget {
    margin-bottom: 0;
  } */
  
  footer a:hover{
    opacity: 0.8;
    text-decoration: underline;
  }
  
  .footer__area-secondary,
  .footer__area-secondary a {
    color: #888888;
    font-size: .9em;
  }
  .footer__area-secondary a {
    text-decoration: none;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
  }


/* cursor */
  #js-cursor {
    pointer-events: none;
  }
  #js-cursor .cursor__follower svg {
    display: block;
    width: 40px;
    height: 40px;
  }
  #js-cursor .cursor-corner {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round; 
  }
