/*
	Theme Name: Reta
	Description: Reta custom theme
	Version: 1.0.1
	Author: Kontra Agency
	Author URI: https://kontra.agency
*/

html {
  scroll-behavior: smooth;
}

main {
    overflow: hidden;
    /*position: fixed;*/
}
body {
    color: #130F38;
    background-color: white;
}

hr { 
    display: block; 
    height: 1px;
    border: 0; 
    border-top: 1px solid black;
    margin: 0;
    /*margin: 1em 0;*/
    /*padding: 0; */
}

img {
        max-width: 100%;
        max-height: 100%;
        display: block; /* remove extra space below image */
    }
    
.bg-video-wrapper {
    position: relative;
}

a {
    transition: all ease-in-out;
}

footer a:hover {
    color: #423e5f !important
}

a:hover {
    /*font-weight: bold !important;*/
    color: #130F38 !important;
}

.link-anim {
    position: relative;
    white-space: nowrap;
}
.link-anim::before {
    content: '';
    height: 100%;
    top: 0;
    opacity: 0;
}

.link-anim::after{
    content: '';
    transition: opacity 0.3s;
}

.link-anim::before, .link-anim::after {
    position: absolute;
    width: 100%;
    height: 1px;
    background: white;
    top: 100%;
    left: 0;
    pointer-events: none;
}

.link-anim:hover::before {
    opacity: 1;
    animation: coverUp 0.3s ease forwards;
}

.link--mneme:hover::after {
    opacity: 0;
}

@keyframes coverUp {
    0% {
        transform-origin: 50% 100%;
        transform: scale3d(1, 0.045, 1);
    }

    50% {
        transform-origin: 50% 100%;
        transform: scale3d(1, 1, 1);
    }

    51% {
        transform-origin: 50% 0%;
        transform: scale3d(1, 1, 1);
    }

    100% {
        transform-origin: 50% 0%;
        transform: scale3d(1, 0.045, 1);
    }
}

html.has-scroll-smooth {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;  
}



section {
    /*height: 50vh;*/
    /*background-color: white;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
}

iframe {
    /*pointer-events: none;*/
}

.site-header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    padding: 20px 0;
    z-index: 50;
    background-color: transparent;
    /*transition: transform .5s ease-in;*/
    transform: translate3d(0,0,0);
}

.remove-nav-bottom-padding {
    padding-bottom: 0;
}

html[data-direction="down"] #main-navigation {
  transform: translate3d(0,-100%,0);
  transition: all .5s ease-in-out;
}

html[data-direction="up"] #main-navigation {
    transform: translate3d(0,0,0);
    transition: all .5s ease-in-out;
}

.header-hidden {
    transform: translateY(-100%);
}

.white-fixed-nav {
    /*transition: all .5s ease-in-out;*/
    background-color: white;
    /*transition: all .5s ease-in-out;*/
    animation: toWhite .6s cubic-bezier(0.335, 0.040, 0.985, 0.015);
    
}

@keyframes toWhite {
  from {background-color: transparent;}
  to {background-color: white;}
}

.revert-to-top-nav {
    /*background-color: white;*/
    animation: mymove .5s cubic-bezier(0.335, 0.040, 0.985, 0.015);
    background-color: transparent;
    /*transition: background-color .5s ease-in-out;*/
}

.revert-to-top-nav-not-home {
    animation: mymove .5s cubic-bezier(0.335, 0.040, 0.985, 0.015);
    background-color: transparent;
    /*transition: all .5s ease-in-out;*/
    /*transition: all 1s ease;*/
}


@keyframes mymove {
  from {background-color: white;}
  to {background-color: transparent;}
}


.site-header .container {
    z-index: 50;
}

.site-header > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.site-header .logo-a {
    cursor: pointer;
}

@media all and (max-width: 500px) {
    .site-header .logo-a {
        max-width: 100px;
    }
}

.site-header nav {
    /*position: absolute;*/
    /*right: 0;*/
}

.nav-wrapper {
    /*display: none;*/
    
}

.hidden {
    display: none !important;
}

/* .container {
    width: 90% !important;
    margin-right: auto;
    margin-left: auto;
    position: relative;
} */

.container {
/*     width: 90% !important; */
    margin-right: auto;
    margin-left: auto;
    position: relative;
	width: 100% !important;;
    padding-right: 15px;
    padding-left: 15px;
}

@media all and (min-width: 576px) {
	.container {
    	max-width: 540px !important;
	}
}

@media all and (min-width: 768px) {
	.container {
    	max-width: 720px !important;
	}
}

@media all and (min-width: 992px) {
	.container {
    	max-width: 960px !important;
	}
}

@media all and (min-width: 1200px) {
	.container {
    	max-width: 1440px !important;
	}
}

.col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-offset-0, .col-sm-offset-1, .col-sm-offset-10, .col-sm-offset-11, .col-sm-offset-12, .col-sm-offset-2, .col-sm-offset-3, .col-sm-offset-4, .col-sm-offset-5, .col-sm-offset-6, .col-sm-offset-7, .col-sm-offset-8, .col-sm-offset-9 {
	padding-right: 15px !important;
    padding-left: 15px !important;
}

h1, h2 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 55px;
    line-height: 100%;
    color: #130F38;
}

h3 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 47px;
    line-height: 115%;
    color: #130F38;
}

p {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
}

#header-nav {
    
}
.desktop-nav {
    display: none;
}

.desktop-nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    height: 63px;
    align-items: center;
}

.desktop-nav ul li a {
    color: #130F38;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    text-decoration: inherit;
}

.desktop-nav ul li:not(:last-of-type) {
    padding-right: 30px;
}

@media all and (min-width: 992px) {
    .desktop-nav ul li:not(:last-of-type) {
        padding-right: 30px;
    }
}

@media all and (min-width: 1500px) {
    .desktop-nav ul li:not(:last-of-type) {
        padding-right: 65px;
    }
}



.nav-white ul li a {
    color: white;
}

.white-fixed-nav ul li a  {
    color: #130F38;
}

.white-fixed-nav #site-search svg path {
    stroke:  #130F38;
}

.revert-to-top-nav ul li a {
     color: white;
}

.revert-to-top-nav #site-search svg path {
    stroke:  white;
}

.revert-to-top-nav-not-home ul li a {
     color: #130F38;
}

#site-search, #site-search-mobile {
    background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

#site-search-mobile {
    margin-top: 35px;
}

.search-button-wrapper {
    z-index: 50;
}

.search-button-wrapper-mobile {
    display: block;
}

.mobile-nav {
    display: block;
}

@media (min-width: 993px) {
    .site-header {
        position: absolute;
    }
    .desktop-nav {
        display: block;
    }
    
    .mobile-nav {
        display: none;
    }
    
}

@media all and (max-width: 992px) {
    /*.search-button-wrapper {
        display: none;
    }*/
    
    .search-button-wrapper-mobile {
        display: block;
    }
}

.menu-main-menu-container li {
    /*position: relative;*/
}

.menu-main-menu-container ul ul {
    display: none;
    position: absolute;
    top: 3em;
    left: 0;
    z-index: 99999;
    width: 100vw;
    background: #fff;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
}

.menu-main-menu-container ul ul li a {
    color: #000000 !important;
}

.menu-main-menu-container ul li:hover > ul {
    display: block;
}

.max-index {
    z-index: 999;
}

#search-modal {
    z-index: 10;
}
#search-wrapper {
    position: absolute;
    top: -113px;
    left: 0;
    width: 100vw;
    height: 113px;
    background-color: white;
    transition: all .5s ease-in-out;
    z-index: 10;
    transform: translateY(0)
}

#search-wrapper form > div {
    display: flex;
}

#search-wrapper form input[type="text"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #130F38;
    outline: none;
    margin-right: 20px;
    padding-top: 0;
    padding-bottom: 5px;
}

.slide-in-seach {
    /*transform: translateY(113px) !important;*/
    transform: translateY(0) !important;
    transition: all .5s ease-in-out;
}

/* mega menu */
.menu {
    /*transition: opacity .6s ease-in-out !important;*/
}
.open {
    display: block !important;
    opacity: 1  !important;
    top: 0;
    visibility: visible  !important;
    z-index: 98;
    
    /*transform: perspective(1000px) translate3d(-50%, 0, 0);*/
    /*transition: all .5s ease-in-out;*/
    /*animation: megaMenuAnim .5s;*/
    /*transition: all .6s ease-in-out;*/
    background-color: white !important;
}

.hoverable {
    /*height: 105px;*/
    align-items: center;
    justify-content: center;
    display: flex;
    cursor: pointer;
}

.hoverable:hover a {
    color: #130F38;
}

.mega-menu-wrapper {
    position: relative;
    transition: all 500ms cubic-bezier(0.335, 0.040, 0.985, 0.015); /* custom */

transition-timing-function: cubic-bezier(0.335, 0.040, 0.985, 0.015);
}

.mega-menu-wrapper .first-copy span {
    transition: none !important;
}

.mega-menu-wrapper .open {
    transform: translateY(0) !important;
    /*transition: all .6s ease-in-out !important;*/
    animation: megaMenuSlideInAnim .6s cubic-bezier(0.335, 0.040, 0.985, 0.015) !important;
    
}

@keyframes megaMenuSlideInAnim {
  /*from {transform: translateY(-100%); opacity: 1;}*/
  /*to {transform: translateY(0); opacity: 1;}*/
  from {transform: translateY(-100%); }
  to {transform: translateY(0);}
}

.hide-mega-menu {
    transition: all .6s cubic-bezier(0.335, 0.040, 0.985, 0.015) !important;
    /*animation: hideMegamenu .6s cubic-bezier(0.335, 0.040, 0.985, 0.015) !important;*/
}

@keyframes hideMegamenu {
  from {opacity: 1;}
  to {opacity: 0;}
}

#mega-menu {
    transform: translateY(-100%);
    /*transition: opacity .5s ease-in-out;*/
    /*transition: all .6s ease-in-out !important;*/
    /*animation: megaMenuAnim .6s;*/
    transition: all 500ms cubic-bezier(0.335, 0.040, 0.985, 0.015) !important; /* custom */
    transition-timing-function: cubic-bezier(0.335, 0.040, 0.985, 0.015) !important;
    background-color: white;
    padding: 80px 0 70px 0;
    width: 100%;
    position: absolute;
    /*top: 20px;*/
    top: 100px;
    left: 0;
    opacity: 1;
    visibility: hidden;
    /*display: none;*/
    z-index: 49;
}


@keyframes megaMenuAnim {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes megaMenuAnimReverse {
    from {opacity: 1;}
  to {opacity: 0;}
}

#mega-menu .content {
    width: 100%;
}

#mega-menu .content .menu-category {
    padding-bottom: 50px;    
}

#mega-menu .content .menu-category > div {
    transform: scaleY(0);    
    transform-origin: bottom;
    transition: transform 1s ease;
}

#mega-menu .content .menu-category .scale-categories {
    transform: scaleY(1);
}

#mega-menu .content .menu-category div a {
    color: black; /* blue colors for links too */
    text-decoration: inherit; /* no underline */
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 130%;
}

#mega-menu .content .menu-category .main-categories {
    padding-top: 17px;
    padding-bottom: 17px;
    margin-bottom: 6px;
    border-bottom: 1px solid #E9E9E9;
}

#mega-menu .cat-image {
    height: 100%;
    background-image: url("../img/mega-menu-img-0.png");
    background-size: cover;
    background-repeat: no-repeat;
}

#mega-menu .cat-image img{
    visibility: hidden;
}

/* mobile navigation */
#popout {
    position: absolute;
    /*top: 200px;*/
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    overflow: auto;
    z-index: 97;
    height: 100vh;
    opacity: 0;
    display: none;
    /*transition: opacity .5s ease-in-out;*/
    margin-top: 19px;
}

#popout > .container {
    width: 100% !important;
}

.open-mobile-sidebar {
     opacity: 1 !important;
     transition: all .5s ease-in-out;
     display: block !important;
     animation: fadeOp .5s ease-in-out;
}


@keyframes fadeOp {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeOpReverse {
  from {opacity: 1;}
  to {opacity: 0;}
}

#menu-mobile-menu {
    margin-top: 60px;    
}

.menu-with-image {
    position: relative;
}

.mobile-nav-img-wrapper {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 40%;
    height: 80%;
    background-image: url("../img/mobile-nav-img.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-size: cover;
}

.mobile-nav-img-wrapper img {
    visibility: hidden;
}

.mobile-sidebar-menu ul {
     list-style-type: none;
     padding: 0;
}

.mobile-sidebar-menu ul li {
    padding-bottom: 15px;
}

.mobile-sidebar-menu ul li a {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 130%;
    color: #130F38;
    text-decoration: none;
}

.mobile-sidebar-menu .menu-item-has-children .sub-menu li, .sub-menu li{
    /*margin-left: 15px;*/
}

.mobile-sidebar-menu .menu-item-has-children .sub-menu li, .sub-menu li {
    position: relative;
    padding-left: 25px;
    padding-top: 9px;
    padding-bottom: 9px;
}

.mobile-sidebar-menu .menu-item-has-children .sub-menu li::before,  .sub-menu li::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 25px;
    height: 25px;
    transform: translateY(-50%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media all and (min-width: 768px) {
    .mobile-sidebar-menu .menu-item-has-children .sub-menu li::before,  .sub-menu li::before {
        width: 15px;
        height: 15px;
        left: 0;
    }
}

.menu-toggle svg {
    stroke: #000;
    transition: .2s;
}

.menu-toggle {
    background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

.menu-toggle svg g:first-child {
    opacity: 1;
    transition: opacity 0s .2s;
}

.menu-toggle svg g:first-child line {
    transition: transform .2s .2s;
    transform: translateY(0px);
}

.menu-toggle svg g:last-child {
    opacity: 0;
    transition: opacity 0s .2s;
}

.menu-toggle svg g:last-child line {
    transition: transform .2s;
    transform: rotate(0deg);
    transform-origin: center;
}

.-menu-open svg {
    stroke: #000;
}

.-menu-open svg g:first-child {
    opacity: 0;
}

.-menu-open svg g:first-child line {
    transition: transform .2s;
}

.-menu-open svg g:first-child line:first-child {
    transform: translateY(7px);
}

.-menu-open svg g:first-child line:last-child {
    transform: translateY(-7px);
}

.-menu-open svg g:last-child {
    opacity: 1;
}

.-menu-open svg g:last-child line {
    transition: transform .2s .2s;
}

.-menu-open svg g:last-child line:first-child {
    transform: rotate(45deg);
}

.-menu-open svg g:last-child line:last-child {
    transform: rotate(-45deg);
}

.open-mobile-menu {
    overflow: hidden;
}

.open-mobile-menu #fabricBgVideo {
    display: none;
}

/* mobile navigation end */

/* footer */

.footer-wrapper {
    background-color: #130F38;
    /* 373E42 */
    padding: 110px 0 100px 0;
}

.footer-wrapper .row div:nth-child(2) .footer-nav-links {
	margin-bottom: 72px
}

@media all and (max-width: 768px) {
    .footer-wrapper {
        padding: 50px 0;
    }
}

@media all and (min-width: 768px) {
	.footer-wrapper .row div:nth-child(2) .footer-nav-links {
		margin-bottom: 0
	}
}

.footer-wrapper * {
    color: white;
}

.footer-nav-title {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 130%;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-bottom: 0;
}

@media all and (min-width: 768px) {
	.footer-nav-links {
		margin-bottom: 72px;
	}
}

.footer-nav-links a {
    color: inherit; 
    text-decoration: inherit;
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 130%;
    padding-bottom: 8px;
}

.footer-line {
    position: relative;
    margin: 0 0 25px 0;
    height: 1px;
}

.footer-line hr {
    border-top: 1px solid white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
}


.footer-bottom * {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 130%;
    color: white;
}

.footer-bottom a {
    text-decoration: inherit;
    font-weight: 600;
}
/* footer end */

/* homepage */

.homepage-hero {
    /*height: 70vh;*/
    padding-top: 280px;
    padding-bottom: 150px;
    background-size: cover;
	background-position: center;
}

@media all and (max-width: 768px) {
    .homepage-hero {
        background-position: center;
    }
}
/* 
.hero-bg-0 {
    background: linear-gradient(to top, rgba(0, 108, 181, 0.5), rgba(0, 108, 181, 0.5)), url(../img/pozadina01.jpg) no-repeat center center;
    background-size: cover;
}

.hero-bg-1 {
    background: linear-gradient(to top, rgba(0, 108, 181, 0.5), rgba(0, 108, 181, 0.5)), url(../img/pozadina02.jpg) no-repeat center center;
    background-size: cover;
}

.hero-bg-2 {
    background: linear-gradient(to top, rgba(0, 108, 181, 0.5), rgba(0, 108, 181, 0.5)), url(../img/pozadina03.jpg) no-repeat center center;
    background-size: cover;
} */

.homepage-hero h1 {
    font-style: normal;
    font-weight: normal;
    font-size: 54px;
    line-height: 130%;
    color: #F2F2F2;
    max-width: 100%;
    margin: 0;
}

@media all and (min-width: 768px) {
    .homepage-hero h1 {
        margin: 1.34EM 0 0 0;
    }
    
}

@media all and (min-width: 992px) {
    .homepage-hero h1 {
        max-width: 60%;
    }
}
.home-gallery-section {
    margin-bottom: 180px;
}

@media all and (min-width: 1200px) {
    .home-gallery-section {
    	margin-bottom: 400px;
	}   
}



.home-gallery-section .gallery-title h2 {
    margin-bottom: 0;
}

.home-gallery-section .gallery-title svg {
    width: 100%;
}

.homepage-gallery {
    display: none;
}

.homepage-gallery-mobile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

@media all and (min-width: 992px) {
    .homepage-gallery {
        display: block;
    }
    
    .homepage-gallery-mobile {
        display: none;
    }
}

.homepage-gallery .gallery-row {
    height: 450px;
    position: relative;
    align-items: flex-start;
    margin: 100px 0;
}

.homepage-gallery .gallery-row .gallery-col {
    
}

.homepage-gallery .gallery-row .gallery-col .homepage-grid-img {
    position: absolute;
}

.homepage-gallery .gallery-col .top-50 {
    top: 50%;
    transform: translateY(-25%);
}

.homepage-gallery .gallery-col .bottom-0 {
    top: 100%;
}

.homepage-gallery .gallery-col .top-0 {
    /*top: 0;*/
    transform: translateY(-50%);
    top: 50%;
}

.homepage-gallery .gallery-col .pos-center {
    top: 50%;
    transform: translateY(-50%);
}

.homepage-gallery .gallery-col .pos-bottom {
    top: 0;
    transform: translateY(70%);
}

.homepage-gallery .gallery-col .z-top {
    z-index: 5;
}

.homepage-gallery .gallery-col .pos-bottom-full {
    top: 0;
    transform: translateY(130%);
}

.homepage-gallery-mobile .homepage-grid-img {
    position: relative;
    margin: 5px;
    width:  calc(100% - 10px);
}

.homepage-gallery-mobile .homepage-grid-img::after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.homepage-gallery-mobile .homepage-grid-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  visibility: visible !important;
}

.homepage-gallery-mobile .w-50 {
    width: calc(50% - 10px);
}

.homepage-grid-img .img-link {
    cursor: pointer;
    display: flex;
    background-size: 130%;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-size .5s ease-in-out;
  /*  transform: scale(1.2, 1.4);*/
  /*transform-origin: top left;*/
}

.homepage-grid-img .img-link:hover {
    cursor: pointer;
    transition: background-size .5s ease-in-out;
    background-size: 160%;
}

.homepage-grid-img .cat-nails-link, .cat-nails-link {
        /*width: 30%;*/
    background-image: url("../img/vrtiokucnica-min.jpg");
}

.homepage-grid-img .cat-frames-link {
    background-image: url("../img/grid-gallery-frames.png");
}

.homepage-grid-img .cat-locks-link {
    background-image: url("../img/grid-gallery-locks.png");
}

.homepage-grid-img .cat-wires-link {
    background-image: url("../img/grid-gallery-wires.png");
}

.homepage-grid-img .cat-construction-material-link {
    background-image: url("../img/grid-gallery-construction-material.png");
}

.homepage-grid-img .cat-weave-link {
    background-image: url("../img/grid-gallery-weave.png");
}

.homepage-grid-img .cat-fence-link {
    background-image: url("../img/grid-gallery-fence-systems.png");
}

.homepage-grid-img .cat-garden-link {
    background-image: url("../img/vrt_i_okucnica_image.jpg");
}

.homepage-grid-img .cat-interior-link {
    background-image: url("../img/grid-gallery-interior.png");
}

.homepage-grid-img .cat-zeljeznarija-link {
    background-image: url("../img/grid-gallery-zeljeznarija.png");
}

.gallery-card .cat-water-link {
    background-image: url("../img/Vodo_materijali_image.jpg");
}

.gallery-card .cat-construction-material-link {
    background-image: url("../img/gradevinski-materijal-small.png");
}

.gallery-card .cat-electric-material-link {
    background-image: url("../img/Elektro_materijal_image.jpg");
}

.gallery-card .cat-htz-link {
    background-image: url("../img/HTZ_oprema_image.jpg");
}

.gallery-card .cat-electric-tools-link {
    background-image: url("../img/elektricni_alati_image.jpg");
}

.gallery-card .cat-interior-decor-link {
    background-image: url("../img/uredjenje_interijera-min.jpg");
}

.gallery-card .cat-garden-link {
    background-image: url("../img/vrtiokucnica-min.jpg");
}

.gallery-card .cat-hand-tools-link {
    background-image: url("../img/rucni_alati_image.jpg");
}

.gallery-card .cat-hardware-store-link {
    background-image: url("../img/grid-gallery-zeljeznarija.png");
}

.gallery-card .cat-welding-link {
    background-image: url("../img/varilacki_pribor-min.jpg");
}

.gallery-card .cat-paints-link {
    background-image: url("../img/boje-i-lakovi-small.png");
}

.gallery-card .cat-tool-accesories-link {
    background-image: url("../img/pribor-za-alate-small.png");
}

.homepage-grid-img .img-link img {
    visibility: hidden;
}

.homepage-grid-img .img-link span, .fixed-homepage-gallery .gallery-card .img-link span {
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 25px;
    line-height: 130%;
    position: absolute;
    left: 10px;
    bottom: 10px;
}

.fixed-homepage-gallery {

}

.fixed-homepage-gallery .offset-col {
    display: flex;
}

.fixed-homepage-gallery .offset-col .gallery-section {
    margin-top: auto;
}

.fixed-homepage-gallery .row > div {
    padding: 0;
}

.fixed-homepage-gallery .gallery-section {
    display: flex;    
    align-items: flex-end;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.fixed-homepage-gallery .gallery-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 0.5rem;
}

.fixed-homepage-gallery  .gallery-card.width-16 {
    width: 16.66667%;
}

.fixed-homepage-gallery  .gallery-card.width-25 {
    width: 25%;
}

.fixed-homepage-gallery  .gallery-card.width-33 {
    width: 33.333333%;
}

.fixed-homepage-gallery  .gallery-card.width-75 {
    width: 75%;
}

.fixed-homepage-gallery  .gallery-card.width-60 {
    width: 60%;
}

.fixed-homepage-gallery  .gallery-card.width-40 {
    width: 40%;
}

.fixed-homepage-gallery  .gallery-card.height-280 .image-anim-wrapper {
    height: 280px;
}

.fixed-homepage-gallery .gallery-card.height-280.m-b-a, .fixed-homepage-gallery .gallery-card.m-b-a {
    margin-bottom: auto;
}

@media all and (max-width: 64em) {
    .fixed-homepage-gallery .gallery-card {
        width: 50% !important;
        height: 25vh !important;
    }

    .fixed-homepage-gallery .gallery-card.height-280, .fixed-homepage-gallery .gallery-card .image-anim-wrapper {
        height: 25vh !important;
    }
}


.fixed-homepage-gallery .gallery-card a {
    display: flex;
    /* background-size: 130%; */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-size .5s ease-in-out;
    position: relative;
}

.fixed-homepage-gallery .gallery-card a::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: inherit;
    background-size: cover;
    transform-origin: center;
    transition: transform .4s ease-in-out;
}

.fixed-homepage-gallery .gallery-card a .image-anim-wrapper {
    width: 100%;
}

.fixed-homepage-gallery .gallery-card a:hover {
    transition: background-size .5s ease-in-out;
    /* background-size: 160%; */
    /* background-size: 220%; */
}

.fixed-homepage-gallery .gallery-card a:hover::before {
    transform: scale(1.05);
}

.fixed-homepage-gallery  .gallery-card img {
    visibility: hidden;
}

.why-reta-section {
    padding: 280px 0 180px 0;
}

.why-title {
    padding-bottom: 30px;
    margin-top: 0;
}

@media all and (min-width: 768px) {
   .why-title {
        padding-bottom: 0;
    } 
}

.motivator-element {
    margin-bottom: 62px;
}

.motivator-icon-wrapper {
    position: relative;
    z-index: 0;
}

.motivator-icon-wrapper img {
    width: 50px;
    height: 50px;
}

@media all and (min-width: 768px) {
   .motivator-icon-wrapper img {
        width: 67px;
        height: 67px;
    }
}

.line-draw::after {
    display: inline-block;
    content: "";
    border-top: 1px solid #130F38;
    width: 0;
    position: absolute;
    top: 50%;
    z-index: -1;
    transition: width 1s;
    height: 1px;
}

.line-draw-full::after {
    width: 100% !important;
}

.line-draw-motivator::after {
    display: inline-block;
    content: "";
    border-top: 1px solid #130F38;
    width: 0;
    position: absolute;
    top: 50%;
    z-index: -1;
    transition: width 1s;
    height: 1px;
}

.line-draw-full-motivator::after {
    width: 200vw !important;
}

.line-draw:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 1s;
}

.motivator-text {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 130%;
    color: #130F38;
    max-width: 50%;
	margin-top: 12px;
}

.icon-text-double {
    display: flex;
}

.icon-text-double > div {
    width: 50%;
}

.icon-text-double .motivator-text {
    max-width: 100%;
}

.newsletter-posts-section {
    padding: 200px 0;
    background-color: #E1EAF5;
}

.newsletter-posts-section .wpcf7-not-valid-tip {
    position: absolute;
}

.newsletter-title {
    position: relative;
    z-index: 0;
}

.newsletter-title h3 {
    margin-top: 0;
}

.newsletter-title::after {
    display: inline-block;
    content: "";
    border-top: 1px solid #130F38;
    width: 200vw;
    position: absolute;
    top: 100%;
    transform: translateY(36px);
    z-index: -1;
}

.newsletter-content p {
    margin-top: 36px;
    margin-bottom: 80px;
}

.newsletter-wrapper {
    display: flex;
    width: 100%;
    /*justify-content: space-between;*/
    align-items: center;
    flex-wrap: wrap;
}

.newsletter-input {
    width: 75%;
    /*margin-right: 20px;*/
}

input[type="email"], input[type="text"], input[type="tel"], textarea {
    width: 90%;
    border: 1px solid #130F38;
    border-radius: 10px;
    padding: 15px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    color: #130F38;
    background: transparent;
}

textarea {
    resize: none;
}

.wpcf7-form label {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    color: #130F38;
}

.wpcf7-form .form-input {
    margin-bottom: 20px;
}

.wpcf7-form .form-input > div {
    margin-top: 13px;
}

.newsletter-submit {
    width: 20%;
    text-align: right;
    margin-left: -17px;
}

button[type="submit"]:not(.search-submit), .btn-link, .new-btn {
    background: black;
    border-radius: 50px;
    border: 1px solid #130F38;
    cursor: pointer;
    outline: inherit;
    color: white;
    padding: 15px 18px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    display: flex;
    
    position: relative;
    overflow: hidden;
}

.nav-links li > .page-numbers {
    background: transparent;
    border-radius: 0;
    cursor: pointer;
    outline: inherit;
    color: white;
    display: flex;
    
    position: relative;
    overflow: hidden;
}

.nav-links li > .current {
    background: #130F38;
    border-radius: 0;
    cursor: pointer;
    outline: inherit;
    color: white;
    display: flex;
    
    position: relative;
    overflow: hidden;
}

.new-btn span, button[type="submit"]:not(.search-submit) span, .btn-link span, .nav-links li > .page-numbers span {
    display: block;
    position: relative;
}

.new-btn > span, button[type="submit"]:not(.search-submit) > span, .btn-link > span, .nav-links li > .page-numbers > span {
    overflow: hidden;
}

.new-btn > span > span, button[type="submit"]:not(.search-submit) > span > span, .btn-link > span > span {
    overflow: hidden;
    /*mix-blend-mode: difference;*/
    color: white;
    z-index: 1;
}

.nav-links li > .page-numbers > span > span {
    overflow: hidden;
    color: #130F38;
     z-index: 1;
}

.error-page-content .btn-link > span > span, .search-404-content .btn-link > span > span {
    color: white;
}

.nav-links li > .page-numbers > svg {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.nav-links li > .page-numbers > svg * {
    stroke: #130F38;
    z-index: 1;
}

.nav-links li > .current > span > span {
    color: white;
}


.new-btn::after, button[type="submit"]:not(.search-submit)::after, .btn-link::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: #130F38;
    transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);
    transform-origin: 100% 50%;
}

.nav-links li > .page-numbers::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: transparent;
    transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);
    transform-origin: 100% 50%;
}

.nav-links li > .current::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: #130F38;
    transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);
    transform-origin: 100% 50%;
}

.new-btn:hover::after, button[type="submit"]:not(.search-submit):hover::after, .btn-link:hover::after, .nav-links li > .page-numbers:hover::after {
    transform: scale3d(0,1,1);
    transform-origin: 0% 50%;
}

.new-btn:hover > span > span, button[type="submit"]:not(.search-submit):hover > span > span, .btn-link:hover > span > span, .nav-links li > .page-numbers:hover > span > span {
	animation: MoveUpInitial 0.2s forwards, MoveUpEnd 0.2s forwards 0.2s;
	color: white;
}

.nav-links li > .page-numbers:hover > svg * {
    animation: MoveUpInitial 0.2s forwards, MoveUpEnd 0.2s forwards 0.2s;
    stroke: white;
}

@keyframes MoveUpInitial {
	to {
		transform: translate3d(0,-105%,0);
	}
}

@keyframes MoveUpEnd {
	from {
		transform: translate3d(0,100%,0);
	}
	to {
		transform: translate3d(0,0,0);
	}
}

/*.btn-link {*/
/*    position: relative;*/
    /*display: inline-block;*/
/*    overflow: hidden;*/
/*}*/

/*button[type="submit"]:not(.search-submit) span, .btn-link span {*/
/*    position: relative;*/
    /*mix-blend-mode: difference;*/
/*    z-index: 10;*/
/*    color: white;*/
/*}*/

/*button[type="submit"]:not(.search-submit)::after, .btn-link::after {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    content: '';*/
/*    background: #130F38;*/
/*    width: 120%;*/
/*    left: -10%;*/
/*    transform: skew(30deg);*/
/*    transition: transform 0.4s cubic-bezier(0.3, 1, 0.8, 1);*/
/*}*/

/*button[type="submit"]:not(.search-submit):hover::after, .btn-link:hover::after {*/
/*    transform: translate3d(100%,0,0);*/
/*}*/

button[type="submit"]:not(.search-submit)::before, .btn-link::before  {
    content: "";
    display: block;
    background: url("../img/submit-btn-icon.svg") no-repeat;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    z-index: 10;
}

.btn-link {
    color: white;
    text-decoration: inherit;
}

.btn-link:hover {
    color: white !important;
}

.inline-space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-cat-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
}

.post-cat-date > span {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 130%;
    color: #1C1C1C;
    opacity: 0.56;
}

.related-post-info h3 {
    margin: 20px 0;
}

.recent-posts-section {
    margin-bottom: 50px;
}

@media all and (min-width: 768px) {
    .recent-posts-section {
        margin-bottom: 180px;
    }
}

.recent-publications-section {
    margin-top: 250px;
}

.three-posts {
    margin-top: 0;
}

@media all and (min-width: 768px) {
    .three-posts {
        margin-top: 80px;
    }
}

@media all and (min-width: 1024px) {
    .three-posts {
        margin-top: 0;
    }
}
.post-reduced-view {
    border-top: 1px solid #C4C4C4;    
}

.post-reduced-view a {
    text-decoration: inherit;
}

.post-reduced-view .post-cat-date {
    margin-top: 20px;
}

.post-reduced-view .post-cat-date > span, .recent-publications-section .post-cat-date > span, .related-post-card .post-cat-date > span {
    font-size: 13px;
    color: #130F38;
    opacity: 0.4;
}
 .recent-publications-section .post-cat-date, .related-post-card .post-cat-date {
     margin-top: 8px;
 }
.post-reduced-view h4 {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 130%;
    color: #130F38;
    margin: 9px 0 80px 0;
}

/* homepage end */

/* contact page */

.contact-page {
    padding: 220px 0 250px 0;
}

.contact-form-wrapper-margin-top {
    margin-top: 200px;
}

.contact-info-wrapper h4 {
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 130%;
    font-family: 'DM Sans', sans-serif;
    color: #130F38;
    width: fit-content;
}

.contact-info-wrapper .info-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

.contact-info-wrapper .info-wrapper .info-left {
	margin-right: 10px;
}

.contact-info-wrapper .info-wrapper .info-left, .contact-info-wrapper .info-wrapper .info-right {
    width: calc(50% - 10px);
}

.contact-info-wrapper .info-wrapper .info-left .no-bold-info, .contact-info-wrapper .info-wrapper .info-right .no-bold-info {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 130%;
    color: #130F38;
    padding-top: 20px;
}

.contact-info-wrapper .info-wrapper .info-left > div, .contact-info-wrapper .info-wrapper .info-right > div {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 130%;
    color: black;
    padding-top: 20px;
}

.contact-info-wrapper .info-wrapper .info-left > .bg-img-paralax, .contact-info-wrapper .info-wrapper .info-right > .bg-img-paralax {
    padding-top: 0;
	margin-top: 20px;
	background-size: cover;
	background-repeat: no-repeat;
/* 	min-height: 150px;
    padding-top: 60%; */
}

.contact-info-wrapper .info-wrapper .info-left > .bg-img-paralax img, .contact-info-wrapper .info-wrapper .info-right > .bg-img-paralax img {
	visibility: hidden;
}

.contact-info-wrapper .location-title, .contact-info-wrapper .contact-title {
    position: relative;
}

.contact-info-wrapper .location-title:before {
    content: "";
    display: block;
    background: url("../img/location-icon.svg") no-repeat;
    width: 30px;
    height: 33px;
    right: -38px;
    left: unset;
    position: absolute;
}

.contact-info-wrapper .contact-title:before {
    content: "";
    display: block;
    background: url("../img/contact-icon.svg") no-repeat;
    width: 30px;
    height: 30px;
    right: -38px;
    left: unset;
    top: 5px;
    position: absolute;
}

@media all and (min-width: 1024px) {
    .contact-info-wrapper .location-title:before {
        left: -38px;
    }
    
    .contact-info-wrapper .contact-title:before {
        left: -38px;
        top: 5px;
    }   
}

.map-section {
    background-color: #E1EAF5;
}

.map-wrapper {
    height: 450px;
    width: 100%;
    position: relative;
}
.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*@media all and (min-width: 768px) {
    .map-wrapper {
        width: 90%;
    }
}*/

.wpgmza_map {
    position: absolute !important;
    top: -150px;
    height: 600px !important;
}

/* contact page end */

/* about us page start */

.hero-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 120px;
    /*line-height: 107%;  */
    line-height: 117%;
    color: #130F38;
    margin: 0;
}

.hero-description {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 54px;
    line-height: 130%;
    color: #130F38;
    margin-top: 80px;
}

@media all and (min-width: 768px) {
    .hero-description {
        margin-top: 120px;
    }
}

.about-us-content-section {
    margin-bottom: 250px;
    display: none;
}

.about-us-content-section .img-1-wrapper {
    background-image: url("../img/nails.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.about-us-content-section .img-2-wrapper {
    background-image: url("../img/reta-about-building.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.about-us-content-section .img-1-wrapper img, .about-us-content-section .img-2-wrapper img {
    visibility:hidden;
}

.about-us-content-section-mobile {
    display: block;
}

.about-us-content-section-mobile .col-xs-8 {
    margin-left: auto;
    z-index: 1;
}

.about-us-content-section-mobile .col-xs-6 .img-1-wrapper {
    margin-top: -160px;
}

@media all and (min-width: 900px) {
    .about-us-content-section-mobile {
        display: none;
    }
    .about-us-content-section {
        display: block;
    }
}

.about-us-content {
    margin-bottom: 150px;
    text-align: left;
}

.history-section {
    padding: 300px 0;
    position: relative;
    z-index: 0;
}

.history-title {
	display: none;
}

.history-title svg {
	width: 100%;
}

.history-section::after {
    content: 'Povijest';
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 159.824px;
    line-height: 130%;
    color: white;
    text-shadow: #130F38 0px 0px 1px;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    right: -200px;
    top: 50%;
    transform: translateY(-50%)  rotate(-90deg);
    z-index: 10;
}

.history-en::after {
	content: 'History' !important;
}


@media all and (max-width: 1000px) {
    .history-section::after {
            right: unset;
    top: 15%;
        transform: translateY(-50%)  rotate(0);
    }
}

.history-table {
    display: flex;
}

.history-right {
    margin-left: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
}

@media all and (min-width: 768px) {
    .history-right {
        margin-left: 120px;
    }
}

.history-year {
    font-family: 'DM Mono', monospace;
    font-style: normal;
    font-weight: 500;
    font-size: 25px;
    line-height: 175%;
    color: #130F38;
    z-index: 0;
    position: relative;
    cursor: pointer;
}

.history-year:hover {
    font-weight: 300;
    font-style: italic;
}

.history-year::before {
    display: inline-block;
    content: "";
    border-top: 1px solid #130F38;
    width: 200vw;
    position: absolute;
    top: 50%;
    left: -202vw;
    z-index: -1;
}

.history-description {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 175%;
    color: #130F38;
}

.history-description::after {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: white;
    
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 64px;
    line-height: 114%;
    color: #130F38;
}

.history-description-big {
    display: none;
    position: absolute;
    width: 90%;
    height: 100%;
    left: 0;
    top: 0;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 64px;
    line-height: 114%;
    color: #130F38;
    transition: opacity 1s ease-out;
    animation: fadeOp 1s;
}

@media all and (min-width: 768px) {
	.history-year {
		font-size: 36px;
	}
	
	.history-year, .history-description {
		line-height: 130%;
	}
}

.fly-up-anim {
    transition: all 1s ease-in-out;
    overflow: hidden;
    perspective: 250px;
    transform: translate3d(0%, 110%, 0px) rotateX(10deg);
}

.hover-fly-up {
    animation: hoverFlyUp .5s;
    transform: translate3d(0%, 0%, 0px) rotateX(0deg);
}

@keyframes hoverFlyUp {
  from {transform: translate3d(0%, 0%, 0px) rotateX(0deg);}
  to {transform: translate3d(0%, 110%, 0px) rotateX(10deg);}
}

@media all and (max-width: 768px) {
    .history-description::after {
        font-size: 27px;
    }
    
    .history-description-big {
        font-size: 27px;
    }
}

.history-description-show::after {
    display: flex;
    width: 90%;
    transition: opacity 1s ease-out;
    animation: fadeOp 1s;
}

@media all and (max-width: 1000px) {
    .history-description-show::after {
        width: 100%;
    }
    
    .history-description-big {
        width: 100%;
    }
}

.desc-1::after {
    content: 'Osnovana je tvrtka RETA d.o.o. u suvlasništvu obitelji Horvat i obitelji Vrbanek';
}

.desc-2::after {
    content: 'RETA d.o.o. preuzima tvrtku te počinje djelova na tržištu pod novim imenom ŽEČE NOVI d.o.o.';
}

.desc-3::after {
    content: 'Proširenje prozivodnog asormana tvrtke ŽEČE NOVI d.o.o.';
}

.desc-4::after {
    content: 'Osiguravanje CE i EPAL cerfikata za dio asormana proizvodnje čavala';
}

.desc-5::after {
    content: 'Završena gradnja nove Retine proizvodno skladišne hale';
}

@media all and (min-width: 768px) {
    .history-description {
        font-size: 16px;
    }
}

.references-section {
    padding: 200px 0;
    background-color: #E1EAF5;
}

.references-intro-info {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 54px;
    line-height: 130%;
    color: #130F38;
}

.references-title {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 36px;
    line-height: 130%;
    color: #130F38;
}

.references-table > a {
	text-decoration: none;
}

.reference-item {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 130%;
    color: #130F38;
    border-bottom: 1px solid #130F38;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.full-width-image-section {
    background-image: url(https://reta.kontra.page/wp-content/themes/reta/img/reta-warehouse.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.full-width-image-section img {
    visiblity: hidden !important;
}

.street-view-section iframe {
    height: 500px !important;
}

@media all and (min-width: 768px) {
    .street-view-section iframe {
        height: 750px !important;
    }   
}

/* about us page end */

/* legal pages start*/

.legal-page {	
    padding: 100px 0;	
}	

@media all and (min-width: 768px) {	
	.legal-page {	
		padding: 250px 0;	
	}	
}

.title-with-line, .product-title-no-line {
    font-size: 40px;
    line-height: 130%;
}

@media all and (max-width: 768px) {
    .title-with-line, .product-title-no-line {
        margin-bottom: 30px !important;
        padding-bottom: 10px !important;
    }
    .product-title-no-line {
        margin-bottom: 0 !important;
    }
}

@media all and (min-width: 768px) {
    .title-with-line, .product-title-no-line {
        font-size: 54px;
    }
}

.title-with-line {
    margin: 0;	
    /*     margin-bottom: 103px; */	
    margin-bottom: 0;
    position: relative;
}

.title-with-line:after {
    content: '';
    border: 1px solid #130F38;
    width: 55px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.product-title-no-line {
    margin: 0;
    margin-bottom: 103px;
    padding-bottom: 46px; 
}

.legal-page h2 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
}

.legal-page h3 {	
    font-family: 'DM Sans', sans-serif;	
    font-weight: 600;	
    font-size: 14px;	
    line-height: 130%;	
}

.legal-one-row-images {
	display: flex;
    align-items: center;
    justify-content: space-evenly;
	margin: 50px 0;
}
.center-legal-image {
	display: flex;
    align-items: center;
	justify-content: center;
	margin: 50px 0;
}

.legal-list {
	display: flex;
    flex-direction: column;
	align-items: center;
}

.legal-list p {
	display: flex;
	width: 90%;
}
@media all and (min-width: 992px) {
	.legal-list p {
		display: flex;
		width: 50%;
	}	
}
.legal-list strong {
	margin-right: auto;
}
/* legal pages end */

#breadcrumbs {	
    margin: 20px 0 20px 0;    	
}	
@media all and (min-width: 768px) {	
	#breadcrumbs {	
		margin: 50px 0 50px 0;    	
	}	
}

#breadcrumbs a {
    text-decoration: inherit;
    color: #130F38;
    font-family: 'DM Sans', sans-serif;
}

#breadcrumbs [aria-current] {
    font-weight: bold;
    color: #130F38;
}

/* blog page start */

.blog-grid-hero {
    padding: 100px 0 50px 0;
    /*background-color: #EDF0F4;*/
    background-image: linear-gradient(top, #EDF0F4, #EDF0F4 150vh, transparent 150vh, transparent 100%);
    background-image: -webkit-linear-gradient(top, #EDF0F4, #EDF0F4 150vh, transparent 150vh, transparent 100%);
}

@media all and (min-width: 768px) {	
	.blog-grid-hero {	
    	padding: 220px 0 150px 0;	
	}	
}

@media all and (min-width: 992px) {	
	.blog-grid-hero {	
    	padding: 220px 0 250px 0;	
	}	
}

.date-wrapper-large {
    width: 70% !important;
    height: 14%;
}

/* blog page end */

/* product page start */

.product-grid-hero {
    padding: 100px 0 70px 0;
    background-color: #EDF0F4;
}

@media all and (min-width: 768px) {	
	.product-grid-hero {	
		padding: 220px 0 70px 0;	
	}	
}

.product-grid-hero .hero-title {
    margin-bottom: 40px;
}

.product-grid .archive-posts-row {
    padding: 80px 20px;
}

#product-grid {
	padding: 100px 0;
}

@media all and (min-width: 768px) {
    .product-grid-hero .hero-title {
        margin-bottom: 150px;
    }
    
    .product-grid .archive-posts-row {
        padding: 130px 0 130px 0;
    }
}



.product-desc {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 130%;
    color: #130F38;
}

.main-filter-categories-mobile {
    display: block;
}

.main-filter-categories-mobile .swiper-wrapper {
    margin-bottom: 30px;
}

.main-filter-categories {
    display: none;
    flex-direction: row;
    width: 100%;
    /* justify-content: space-between; */
    justify-content: flex-start;
    /*padding-bottom: 26px;*/
    height: 46px;
    /* border-bottom: 1px solid #130F38; */
}

@media all and (min-width: 768px) {
    .subcategories-tabs {
        border-top: 1px solid #130F38;
    }
}


@media all and (min-width: 900px) {
    .main-filter-categories-mobile {
        display: none;
    }
    
    .main-filter-categories {
        display: flex;
        flex-wrap: wrap;
        width: 75%;
        height: auto;
    }

    .main-filter-categories > div {
        width: calc(100% / 5);
        margin: 15px 0;
    }
}

.main-filter-categories .parent-filter-category {
    /* width: calc(100%/5); */
    cursor: pointer;
    position: relative;
}

.parent-filter-category .active-filter {
    position: relative;
}

.active-parent-category::after {
    content: '';
    width: 129px;
    height: 3px;
    background: #130F38;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: .5s ease-in-out;
}

@media all and (min-width: 768px) {
    .active-parent-category::after {
        bottom: -15px;
    }
}

.translate-right-animation::after {
    transform: translateX(100%);
    animation: slideOutFade .5s;
    background: transparent;
}


@keyframes slideOutFade {
  from {background:  #130F38;}
  to {background: transparent;}
}

.parent-filter-category .active-filter::after {
    width: 129px;
    height: 3px;
    background: #130F38;
}

.main-filter-categories div a {
    color: inherit; 
    text-decoration: inherit !important;
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 130%;
    color: #130F38 !important;
    position: relative;
    padding-left: 50px;
}

.filter-swiper-container .swiper-slide div a {
    color: inherit; 
    text-decoration: inherit !important;
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 130%;
    color: #130F38 !important;
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.filter-swiper-container .left-align-slider {
    padding-bottom: 15px;
}

.main-categories {
    position: relative;
    padding-left: 50px;
}

.main-filter-categories div a:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.filter-swiper-container .swiper-slide div a:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.main-categories div a:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 30px;
    /*transform: translateY(-50%);*/
    transform: translate(-150%, -50%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.main-filter-categories .cat-gradnja:before, .main-categories .cat-gradnja:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-gradnja:before, .swiper-slide div .cat-gradnja:before, .sub-menu .cat-gradnja:before,
.main-filter-categories .cat-construction:before, .main-categories .cat-construction:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-construction:before, .swiper-slide div .cat-construction:before, .sub-menu .cat-construction:before{
    background-image: url("../img/gradevinski-materijal-icon.svg");
}

.main-filter-categories .cat-interijer:before, .main-categories .cat-interijer:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-interijer:before, .swiper-slide div .cat-interijer:before, .sub-menu .cat-interijer:before,
.main-filter-categories .cat-interior:before, .main-categories .cat-interior:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-interior:before, .swiper-slide div .cat-interior:before, .sub-menu .cat-interior:before{
    background-image: url("../img/interijer-icon.svg");

}

.main-filter-categories .cat-vlastita-proizvodnja:before, .main-categories .cat-vlastita-proizvodnja:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-vlastita-proizvodnja:before, .swiper-slide div .cat-vlastita-proizvodnja:before, .sub-menu .cat-vlastita-proizvodnja:before,
.main-filter-categories .cat-our-production:before, .main-categories .cat-our-production:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-our-production:before, .swiper-slide div .cat-our-production:before, .sub-menu .cat-our-production:before{
    background-image: url("../img/vlastita-proizvodnja-icon.svg");
}

.main-filter-categories .cat-vrt-i-okucnica:before, .main-categories .cat-vrt-i-okucnica:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-vrt-i-okucnica:before, .swiper-slide div .cat-vrt-i-okucnica:before, .sub-menu .cat-vrt-i-okucnica:before,
.main-filter-categories .cat-garden-and-backyard:before, .main-categories .cat-garden-and-backyard:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-garden-and-backyard:before, .swiper-slide div .cat-garden-and-backyard:before, .sub-menu .cat-garden-and-backyard:before{
    background-image: url("../img/vrt-i-okucnica-icon.svg");
}

.main-filter-categories .cat-zeljeznarija:before,  .main-categories .cat-zeljeznarija:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-zeljeznarija:before, .swiper-slide div .cat-zeljeznarija:before, .sub-menu .cat-zeljeznarija:before,
.main-filter-categories .cat-hardware-store:before,  .main-categories .cat-hardware-store:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-hardware-store:before, .swiper-slide div .cat-hardware-store:before, .sub-menu .cat-hardware-store:before{
    background-image: url("../img/zeljeznarija-icon.svg");
}

.main-filter-categories .cat-gradevinski-materijal:before,  .main-categories .cat-gradevinski-materijal:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-gradevinski-materijal:before, .swiper-slide div .cat-gradevinski-materijal:before, .sub-menu .cat-gradevinski-materijal:before,
.main-filter-categories .cat-construction-material:before,  .main-categories .cat-construction-material:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-construction-material:before, .swiper-slide div .cat-construction-material:before, .sub-menu .cat-construction-material:before{
    background-image: url("../img/gradevinski-materijal-icon.svg");
}

.main-filter-categories .cat-vodo-materijal:before,  .main-categories .cat-vodo-materijal:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-vodo-materijal:before, .swiper-slide div .cat-vodo-materijal:before, .sub-menu .cat-vodo-materijal:before,
.main-filter-categories .cat-water-material:before,  .main-categories .cat-water-material:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-water-material:before, .swiper-slide div .cat-water-material:before, .sub-menu .cat-water-material:before{
    background-image: url("../img/vodo-materijal-icon.svg");
}

.main-filter-categories .cat-elektro-materijal:before,  .main-categories .cat-elektro-materijal:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-elektro-materijal:before, .swiper-slide div .cat-elektro-materijal:before, .sub-menu .cat-elektro-materijal:before,
.main-filter-categories .cat-electro-material:before,  .main-categories .cat-electro-material:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-electro-material:before, .swiper-slide div .cat-electro-material:before, .sub-menu .cat-electro-material:before{
    background-image: url("../img/elektro-materijal-icon.svg");
}

.main-filter-categories .cat-rucni-alati:before,  .main-categories .cat-rucni-alati:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-rucni-alati:before, .swiper-slide div .cat-rucni-alati:before, .sub-menu .cat-rucni-alati:before,
.main-filter-categories .cat-hand-tools:before,  .main-categories .cat-hand-tools:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-hand-tools:before, .swiper-slide div .cat-hand-tools:before, .sub-menu .cat-hand-tools:before{
    background-image: url("../img/rucni-alati-icon.svg");
}

.main-filter-categories .cat-elektricni-alati:before,  .main-categories .cat-elektricni-alati:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-elektricni-alati:before, .swiper-slide div .cat-elektricni-alati:before, .sub-menu .cat-elektricni-alati:before,
.main-filter-categories .cat-electric-tools:before,  .main-categories .cat-electric-tools:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-electric-tools:before, .swiper-slide div .cat-electric-tools:before, .sub-menu .cat-electric-tools:before{
    background-image: url("../img/elektricni-alati-icon.svg");
}

.main-filter-categories .cat-pribor-za-alate:before,  .main-categories .cat-pribor-za-alate:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-pribor-za-alate:before, .swiper-slide div .cat-pribor-za-alate:before, .sub-menu .cat-pribor-za-alate:before,
.main-filter-categories .cat-tool-accessories:before,  .main-categories .cat-tool-accessories:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-tool-accessories:before, .swiper-slide div .cat-tool-accessories:before, .sub-menu .cat-tool-accessories:before{
    background-image: url("../img/pribor-za-alate-icon.svg");
}

.main-filter-categories .cat-varilacki-pribor:before,  .main-categories .cat-varilacki-pribor:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-varilacki-pribor:before, .swiper-slide div .cat-varilacki-pribor:before, .sub-menu .cat-varilacki-pribor:before,
.main-filter-categories .cat-welding-accessories:before,  .main-categories .cat-welding-accessories:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-welding-accessories:before, .swiper-slide div .cat-welding-accessories:before, .sub-menu .cat-welding-accessories:before{
    background-image: url("../img/varilacki-pribor-icon.svg");
}

.main-filter-categories .cat-htz-oprema:before,  .main-categories .cat-htz-oprema:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-htz-oprema:before, .swiper-slide div .cat-htz-oprema:before, .sub-menu .cat-htz-oprema:before,
.main-filter-categories .cat-htz-equipment:before,  .main-categories .cat-htz-equipment:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-htz-equipment:before, .swiper-slide div .cat-htz-equipment:before, .sub-menu .cat-htz-equipment:before{
    background-image: url("../img/htz-oprema-icon.svg");
}

.main-filter-categories .cat-boje-i-lakovi:before,  .main-categories .cat-boje-i-lakovi:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-boje-i-lakovi:before, .swiper-slide div .cat-boje-i-lakovi:before, .sub-menu .cat-boje-i-lakovi:before,
.main-filter-categories .cat-paints-and-varnishes:before,  .main-categories .cat-paints-and-varnishes:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-paints-and-varnishes:before, .swiper-slide div .cat-paints-and-varnishes:before, .sub-menu .cat-paints-and-varnishes:before{
    background-image: url("../img/boje-i-lakovi-icon.svg");
}

.main-filter-categories .cat-izrada-kljuceva:before,  .main-categories .cat-izrada-kljuceva:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-izrada-kljuceva:before, .swiper-slide div .cat-izrada-kljuceva:before, .sub-menu .cat-izrada-kljuceva:before,
.main-filter-categories .cat-key-making:before,  .main-categories .cat-key-making:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-key-making:before, .swiper-slide div .cat-key-making:before, .sub-menu .cat-key-making:before{
    background-image: url("../img/izrada-kljuceva-icon.svg");
}

.main-filter-categories .cat-uredenje-interijera:before,  .main-categories .cat-uredenje-interijera:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-uredenje-interijera:before, .swiper-slide div .cat-uredenje-interijera:before, .sub-menu .cat-uredenje-interijera:before,
.main-filter-categories .cat-interior-decor:before,  .main-categories .cat-interior-decor:before, .mobile-sidebar-menu .menu-item-has-children .sub-menu .cat-interior-decor:before, .swiper-slide div .cat-interior-decor:before, .sub-menu .cat-interior-decor:before{
    background-image: url("../img/interijer-icon.svg");
}

.child-filter-categories {
    margin-top: 30px;
    margin-bottom: 45px;
    width: 90%;
    display: none;
}

@media all and (min-width: 768px) {
    .child-filter-categories {
        margin-top: 75px;
        margin-bottom: 85px;
    }
}

.active-category-tab {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.child-filter-categories div {
    width: 100%;
}

@media all and (min-width: 500px) {
    .child-filter-categories div {
        width: calc(100%/2);
    }    
}

@media all and (min-width: 768px) {
    .child-filter-categories div {
        width: calc(100%/3);
    }    
}

@media all and (min-width: 1200px) {
    .child-filter-categories div {
        width: calc(100%/4);
    }
}

.child-filter-categories div a {
     color: inherit; 
    text-decoration: inherit;
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 130%;
    color: #130F38;
}

.active-filter {
    font-weight: bold !important;
}

/* product page end */

/* single blog post start */

.blog-hero {
    padding: 100px 0 250px 0;
    background-color: #EDF0F4;
}

@media all and (min-width: 768px) {	
	.blog-hero {	
		padding: 150px 0 200px 0;	
	}	
}

.blog-single-header-image {
    margin-top: -200px;
}

.blog-single-header-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.blog-content-wrapper {	
/*     margin-top: 90px; */	
    margin-top: 50px;	
}

.blog-content {
	margin-bottom: 100px;
}

.blog-content p {
    margin-top: 0;
}

.blog-content .gallery {
	display: flex;
    flex-wrap: wrap;
    margin: 0 -8px !important;
}

.blog-content .gallery dl.gallery-item {
	float: none !important;
    margin-top: 0 !important;
    margin-bottom: 20px;
    width: 100% !important;
    padding: 0 8px;
}

.blog-content .gallery dl.gallery-item a {
    display: block;
    pointer-events: none;
}
.blog-content iframe {	
	width: 100%;	
	overflow-x: hidden !important;	
}
.blog-content .gallery dl.gallery-item img {
    border: none !important;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
}

@media all and (min-width: 768px) {
	.blog-content .gallery dl.gallery-item {
    	width: 50% !important;
	}
    .blog-content iframe {	
		min-height: 600px !important;	
	}
}

.post-card a {
    color: inherit; /* blue colors for links too */
    text-decoration: inherit; /* no underline */
}

.post-card a:hover {
    color: inherit !important;
}

 



.related-post-card {
    margin-bottom: 35px;
    position: relative;
}

.related-post-card .related-post-image {
    position: relative;
}

.related-post-card .related-post-image img  {
    /*transition: transform .5s ease-in-out;*/
    /*transform-origin: bottom;*/
    clip-path: polygon(0 0, 100% 0, 100% 100%, 70% 100%, 70% 82%, 0 82%);
}

/*.related-post-card .related-post-image:hover img {*/
/*    transition: transform .5s ease-in-out;*/
/*    transform: scale(1.1);*/
/*    transform-origin: bottom;*/
/*}*/

.related-post-card .remove-clip-path img {
    clip-path: none !important;
    transition: transform .5s ease-in-out;
}

.related-post-card .remove-clip-path:hover img {
    cursor: pointer;
    transition: transform .5s ease-in-out;
    transform: scale(1.1);
}

.remove-thumbnail-format {
    padding-bottom: 0 !important;
    height: 500px;
}

.remove-thumbnail-format img {
    position: relative !important;
}

@media all and (max-width: 768px) {
   .remove-thumbnail-format {
        padding-bottom: 100% !important;
        height: unset;
    } 
    
    .remove-thumbnail-format img {
        position: absolute !important;
    }
}



.archive-post-image, .related-post-image {
    position: relative;
    padding-bottom: 100%;
}

.archive-post-image img, .related-post-image img {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/* 	object-fit: cover; */
	object-fit: contain;
}

.recent-posts-section .archive-post-image img, .related-post-image img {
	object-fit: cover;
}

.related-post-card .related-post-image .date-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: transparent;
    padding: 5px 0;
    width: 120px;
    width: 70% !important;
    height: 14%;
}

.related-post-card .related-post-image .date-wrapper .date, .related-post-card .related-post-image .date-wrapper .year {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    color: #000000;
}

@media all and (max-width: 768px) {
    .related-post-card .related-post-info {
        margin-top: 20px;
    }
    .related-post-card .related-post-image .date-wrapper {
        height: 17%;
    }
    
    .related-post-card .related-post-image .date-wrapper .date {
        font-size: 18px !important;
    }
    
    .related-post-card .related-post-image .date-wrapper .year {
        font-size: 14px !important;
    } 
}

.related-post-card .related-post-image .date-wrapper .date {
    font-size: 24px;
}

.related-post-card .related-post-image .date-wrapper .year {
    font-size: 16px;
}

.related-post-card .related-post-image img {
    /*max-height: 350px;*/
}

.related-post-card .related-post-info {
    font-family:  'DM Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 130%;
    color: #130F38;
}

.related-post-card .related-post-info .post-title {
    font-family:  'DM Sans', sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 130%;
    color: #130F38;
    margin: 9px 0;
}

.related-post-card .related-post-info p {
    margin: 0;
    font-family:  'DM Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 130%;
    color: #130F38;
}

/* single blog post end */

/* single product start */
.product-single-wrapper {
    padding: 130px 0 50px 0;
}
.product-single-wrapper .archive-posts-row {
	width: 100%;
}
@media all and (min-width: 768px) {
	.product-single-wrapper {
        padding: 130px 0 100px 0;
    }
}
@media all and (min-width: 992px) {
    .product-single-wrapper {
    	padding: 250px 0 100px 0;
	}
}

.product-single-image {
    /*margin-top: -200px;*/
	aspect-ratio: 1/1;
	display: flex;
}

.product-single-image img {
    /*width: 100%;*/
    height: 400px;
/*     object-fit: cover; */
	object-fit: contain;
}

@media all and (min-width: 768px) {
    .product-single-image img {
        object-fit: contain;
		margin: auto;
    }
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-short-desc h2 {
    font-family:  'DM Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    line-height: 130%;
    color: #130F38;
    padding-bottom: 26px;
    margin-top: 26px;
    margin-bottom: 60px;
    position: relative;
}

@media all and (min-width: 768px) {
    .product-short-desc h2 {
        font-size: 40px;
    }  
}

@media all and (min-width: 992px) {
    .product-short-desc h2 {
        font-size: 54px;
        padding-bottom: 46px;
        margin-top: 0;
    }   
}

.product-short-desc h2:after {
    content: '';
    border: 1px solid #130F38;
    background-color: #130F38;
    width: 55px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.product-long-desc {
	margin-bottom: 50px;
}
@media all and (min-width: 768px) {
    .product-long-desc {
        margin-bottom: 100px;
    }
}
.product-long-desc p {
    margin-top: 0;
    margin-bottom: 16px;
}

.product-download-pdf a {
    width: fit-content;
}

.product-gallery-line {
    opacity: 0.2;
    border-top: 1px solid #130F38;
    margin-bottom: 150px;
}
/* single product end */

/* pagination start */

.archive-pagination {
    width: 100%;
}

.nav-links {
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}
ul.page-numbers:before,
nav.woocommerce-pagination ul.page-numbers:after {
	display: none;
}
nav.woocommerce-pagination ul.page-numbers {
	white-space: normal;
	padding: 0;
	clear: none;
	border: none;
	border-radius: 0;
	margin: 0;
}
nav.navigation.pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	list-style: none;
}
nav.woocommerce-pagination ul.page-numbers > li {
	border-right: none;
	padding: 0;
	margin: 0;
	float: none;
	overflow: visible;
}
nav.navigation.pagination ul.page-numbers > li {
	display: block;
	flex: 0 0 auto;
	width: auto;
	max-width: 100%;
	line-height: 1;
}
ul.page-numbers > li > a:hover,
ul.page-numbers > li > a:focus,
ul.page-numbers > li > span.current {
	background: transparent;
	background-color: #130F38;
	color: white !important;
	/*opacity: 0.5;*/
}

ul.page-numbers > li > span, .page-numbers {
    color: #130F38;
  text-decoration: inherit;
}
nav.woocommerce-pagination ul.page-numbers > li > span.current {
	pointer-events: none;
}
nav.navigation.pagination ul.page-numbers > li > .page-numbers{
	display: table;
	min-width: 51px;
	height: 51px;
	/*padding: 1rem;*/
	font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 130%;
	text-align: center;
	border: 1px solid #130F38;
	margin-left: 0;
}

nav.navigation.pagination ul.page-numbers > li > .page-numbers:nth-child(even) {
	border-left: 0;
	border-right: 0;
}

nav.navigation.pagination ul.page-numbers > li > .page-numbers:first-child {
	border-left: 1px solid #130F38;	
}

nav.navigation.pagination ul.page-numbers > li > .page-numbers:last-child {
	border-left: 0;
	border-right: 1px solid #130F38;
}
nav.navigation.pagination ul.page-numbers > li > .page-numbers:nth-child(n+2) {
    margin-left: 0;
}
nav.navigation.pagination ul.page-numbers > li > .page-numbers > span{
    display:table-cell;
    vertical-align:middle;
}

@media all and (min-width: 768px) {
	nav.navigation.pagination ul.page-numbers > li > .page-numbers:nth-child(n+2) {
		margin-left: -1px;
	}
	
	nav.navigation.pagination ul.page-numbers > li > .page-numbers {
		margin-left: -1px;
	}
}

nav.navigation.pagination ul.page-numbers > li > .dots {
    display: table-cell;
    vertical-align: middle;
    margin-left: -1px;
    border-left: 0;
}

nav.navigation.pagination ul.page-numbers > li > .next,
nav.navigation.pagination ul.page-numbers > li > .prev {
    display: flex;
    align-items: center;
}

nav.navigation.pagination ul.page-numbers > li > .next > svg,
nav.navigation.pagination ul.page-numbers > li > .prev > svg {
    margin: auto;
}

nav.navigation.pagination ul.page-numbers > li > a.prev.page-numbers,
nav.navigation.pagination ul.page-numbers > li > a.next.page-numbers{
	/*min-width: calc(1em + 1.75rem);*/
	/*height: calc(1em + 1.75rem);*/
	/*padding: 0.875rem;*/
	min-width: 51px;
	height: 51px;
	font-size: 16px;
}
nav.woocommerce-pagination ul.page-numbers > li > a.prev.page-numbers > svg,
nav.woocommerce-pagination ul.page-numbers > li > a.next.page-numbers > svg {
	height: 100%;
	width: 100%;
}
/* pagination end */

/* image swiper component start */

.image-swiper-section {
    margin-bottom: 250px;
    position: relative;
}

.image-swiper-section .swiper-parent {
    width: 95%;
    margin-left: auto;    
}

.acf-swiper-parent {
   width: 95%;
    margin-left: auto; 
}

#slider-controls {
    display: none;
    margin-top: 15px;
}

#slider-controls div {
    text-align: center;
    cursor: pointer;
    transform: all .5s ease-in-out;
    position: relative;
}

#slider-controls > div > svg {
    height: 67px !important;
    width: 67px !important;
}

@media all and (min-width: 768px) {
    #slider-controls {
        display: flex;
    }
}

.swiper-wrapper {
    align-items: center;
    left: -10px;
}

.swiper-button-prev {
    margin-right: 10px;
}


.swiper-button-prev:after, .swiper-button-next:after {
    display: none;
}

.swiper-button-next, .swiper-button-prev {
    position: relative !important;
    width: auto !important;
    height: auto !important;
    justify-content: flex-start;
}


.swiper-button-prev {
    left: 0 !important;
    margin-top: 0 !important;
}

.swiper-button-next {
    right: 0 !important;
    margin-top: 0 !important;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
}

@media all and (min-width: 768px) {
    .swiper-slide {
        width: 25% !important;
    }
}

.left-align-slider {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 40%;
    height: 50px;
    border-bottom: 1px solid #130F38;
}

.swiper-scrollbar {
    width: 100%;
    height: 3px;    
}

.swiper-slide img {
    display: block;
    /*width: 100%;*/
    /*height: 100%;*/
    object-fit: cover;
    margin: auto;
    width: calc(100vw/4);
 }
 
 @media all and (max-width: 500px) {
     .swiper-slide img {
        width: 100%; 
     }
 }

/* image swiper component end */

/* blue elipse decorator start */

.elipse-parent {
    position: relative !important;
	overflow: visible !important;
}

.elipse-element {
    position:absolute;
}

.elipse-element .elipse-svg {
    width: 535px;
    height: 535px;
}
/*.elipse-left::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 0;*/
/*    transform: translate(-50%, -50%);*/
/*    width: 570px;*/
/*    height: 570px;*/
/*    background-image: url("../img/blue-elipse.svg");*/
/*    background-size: contain;*/
/*    background-repeat: no-repeat;*/
/*    background-position: center;*/
/*}*/

.white-section {
    position: relative;
}

.elipse-left-element {
    position: absolute;
    /*top: 50%;*/
    /*left: 0;*/
    /*transform: translate(-50%, -50%);*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    
    z-index: -1;
}

.elipse-left-element #loopPath {
    width: 100vw;
    height: 100%;
}

#loopPath path {
    transform: scale(2);
}

.eclipse-left-element .elipse-element {
    width: 570px !important;
    height: 570px !important;
}


/* blue elipse decorator end */

/* filters start */
.filters-content {
	opacity: 1;
	transition: opacity 0.25s cubic-bezier(0.34, 0.615, 0.4, 0.985);
}

.filters-content.loading {
	opacity: 0;
}

.archive-post {
    color: inherit; /* blue colors for links too */
  text-decoration: inherit; /* no underline */
}
/* filters end */

/* responsive fonts */
@media all and (max-width: 992px) {
    .homepage-hero {
        padding: 220px 0 100px 0;
    }
    .why-reta-section, .newsletter-posts-section {
        padding: 100px 0;
    }
    .recent-publications-section {
        margin-top: 180px;
    }
    .home-gallery-section {
        margin-bottom: 180px;
    }
    .footer-nav-title {
        font-size: 25px;
		margin: 32px 0 13px 0;
    }
    .references-section  {
        padding: 100px 0;
    }
}
@media all and (max-width: 768px) {
    .homepage-hero {
        padding: 150px 0 50px 0;
    }
    
    h3 {
        font-size: 25px;
    }
    
    .homepage-hero h1 {
        font-size: 32px;
    }
    
    .why-title {
        font-size: 46px;
    }
    
    .why-reta-section, .newsletter-posts-section {
        padding: 50px 0;
    }
    
    .motivator-text {
        font-size: 13px;
        margin-top: 7px;
    }
    
    .gallery-title {
        margin: 0;
    }
    
    .home-gallery-section {
        margin-bottom: 50px;
    }
    
    .related-post-card .related-post-info p {
        font-size: 13px;
    }
    
    .post-cat-date > span {
        font-size: 16px;
    }
    
    .post-reduced-view h4 {
        margin-bottom: 0;
		padding-bottom: 9px;
    }
    
    .newsletter-content p {
        font-size: 14px;
        margin-bottom: 50px;
    }
    
    .recent-publications-section {
        margin-top: 100px;
    }
    
    .newsletter-wrapper {
        justify-content: flex-start;
    }
    
    .newsletter-input {
        width: 65%;
    }
    
    .newsletter-input input {
        padding-right: 5px;
        padding-left: 5px;
    }
    
    .newsletter-submit {
        margin-left: 0;
    }
    
    .hero-title {
        font-size: 55px;
    }
    
    .hero-description, .references-intro-info {
        font-size: 26px;
    }
    
    .history-section::after {
/*         font-size: 25px;
        right: -100px;
        left: 5%;
		width: 100%; */
		content: '';
		display: none;
    }
	
	.history-title {
		display: block;
	}
    
    .history-section {
        padding: 50px 0 50px 0;
    }
    
    .history-right {
        margin-left: 20px;
    }
    
    .references-section  {
        padding: 50px 0;
    }
    
    .image-swiper-section, .about-us-content-section, .about-us-content-section-mobile {
        margin-bottom: 50px;
    }
    
    .about-us-content {
        margin-bottom: 0;
    }
    
    .contact-page {
        padding: 100px 0 100px 0;
    }
    
    .references-title {
        font-size: 32px;
    }
    
    .contact-form-wrapper-margin-top {
        margin-top: 50px;
    }
    
    .wpcf7-form label {
        font-size: 13px;
    }
    
    .wpcf7-form .form-input {
        margin-bottom: 16px;
    }
    
    .wpcf7-form .form-input > div {
        margin-top: 10px;
    }
    
    button[type="submit"]:not(.search-submit), .btn-link {
        font-size: 13px;
		line-height: 20px;
    }
    
    .contact-info-wrapper .info-wrapper .info-left > div, .contact-info-wrapper .info-wrapper .info-right > div {
        font-size: 10px;
        padding-top: 10px;
    }
    
    .contact-info-wrapper .info-wrapper .info-left .no-bold-info, .contact-info-wrapper .info-wrapper .info-right .no-bold-info {
        font-size: 10px;
        padding-top: 10px;
    }
    
    .contact-info-wrapper .location-title, .contact-info-wrapper .contact-title {
        margin-bottom: 10px;
    }
    
    .map-wrapper {
        position: relative;
        height: 400px;
        overflow: hidden;
    }
    
    #wpgmza_map {
        height: 400px !important;
        position: absolute;
        top: 0;
        left: 0;
    }
    
    .footer-nav-title {
        font-size: 25px;
		margin: 0px 0 13px 0;
    }
    
    .footer-nav-links a, .footer-bottom * {
        font-size: 14px;
    }
    
    .footer-bottom * {
        width: 100%;
    }
    
    .footer-bottom .bottom-left {
        padding-bottom: 16px;
    }
    
    .footer-bottom {
        flex-wrap: wrap;
    }
    
    
    .about-us-content, .img-1-wrapper {
        margin-bottom: 80px;
    }
    
    .homepage-grid-img .img-link span, .fixed-homepage-gallery .gallery-card .img-link span {
        font-size: 16px;
    }
}
/*responsive fonts end */

/* segmentation and animation */

.segment-title {
    display: flex;
    flex-wrap: wrap;
    opacity: 0;
}

.segment-word {
    overflow: hidden;
    perspective: 250px;
}

.segment-word span {
    display: inline-block;
    transform: translate3d(0%, 110%, 0px) rotateX(10deg) !important;
    transition: all 1s ease-in-out;
}

.fly-in span {
    transform: translate3d(0%, 0%, 0px) rotateX(0deg) !important;
}
/* segmentation and animation end */

/* fly in pseudo animation */

.has-pseudo {
	overflow: hidden;
    perspective: 250px;
}

.has-pseudo::before {
	display: inline-block;
    transform: translate3d(0%, 110%, 0px) rotateX(10deg) !important;
    transition: all 1s ease-in-out;	
	opacity: 0;
}

.fly-in-pseudo::before {
	transform: translate3d(0%, 0%, 0px) rotateX(0deg) !important;
	opacity: 1;
}

/* fly in pseudo animation end */

/* link animation */
.link-roll {
    position: relative;
    overflow: hidden;
    display: block;
}

.link-roll:hover .first-copy span{
    transition: all .3s ease-in-out;
    transform: translateY(-100%);
}

.link-roll:hover .second-copy span {
    transition: all .3s ease-in-out;
    transform: translateY(-100%);
    transition-delay: 250ms;
}

.first-copy span, .second-copy span {
    display: inline-block;
}

.first-copy span {
    transform: translateY(0%);
}

.second-copy {
   position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%);
}

.second-copy span {
    color: #130F38;
    transform: translateY(0%);
}

/* link animation end */

/* search button lottie styling */

#searchsubmit {
    width: 20px;
    padding: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    cursor: default;
}

.lottie-search svg {
    height: 19px !important;
    width: 19px !important;
}

.black-search .lottie-search svg path {
    stroke:  #130F38;
}

.black-lottie svg path {
    stroke:  #130F38;
}

/* search button lottie styling end */

/* image height/overlay animation */

.image-anim-wrapper {
    position: relative;
    overflow: hidden;
}

.image-anim-wrapper::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: white;
    transition: all 1.5s ease-in-out;
}

.image-anim-wrapper-hero {
    position: relative;
    overflow: hidden;
}

.image-anim-wrapper-hero::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: white;
    transition: all 1.2s ease-in-out;
}

.image-anim-wrapper-blue::after {
    background-color: #E1EAF5 !important;
}

.remove-overlay::after {
    transform: translateY(100%);
}

.image-overlay-wrapper > div {
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all 1.5s ease-in-out;
}

.remove-overlay-clip > div {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.add-overlay::after {
    transform: translateY(0);
}

.error-page {
    background-color: #EDF0F4;
    height: 100vh;
    display: flex;
    align-items: center;
}

/*@media all and (min-width: 768px) {*/
/*    .error-page {*/
/*        padding: 204px 0 230px 0;*/
/*        display: block;*/
/*        height: auto;   */
/*    }*/
/*}*/

.error-page-content h2{
    font-size: 28px;
    line-height: 130%;
    margin-top: 0;
    margin-bottom: 80px;
}

@media all and (min-width: 768px) {
    .error-page {
        padding: 404px 0 330px 0;
    }
    
    .error-page-content h2 {
        font-size: 55px;
    }
    
}

.error-page-content h1, .error-page-content p {
    margin: 0;
}

.error-page-content h1 {
    padding-bottom: 0;
}

.error-page-content h2 {
    font-weight: normal;
}

.error-page-content p {
    padding-bottom: 80px;
}

.error-page-content a, .search-404-content a {
    max-width: max-content;
}

.archive-pagination .page-numbers {
	color: #130F38 !important;
}
.legal-info {
	text-align: center;
	font-size: 12px;
	width: 80%;
	margin-bottom: 25px;
	margin-left: auto;
	margin-right: auto;
}