#page {
    position: relative;
}

#masthead {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
}

#masthead_sticky {
    opacity: 0;
    visibility: hidden;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid #E7E7E7;
    transition: all 0.3s linear;
    height: 80px;
    display: flex;
    align-items: center;
}

#masthead_sticky.is-stuck {
    opacity: 1;
    visibility: visible;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
}

#masthead .navbar-nav {
    list-style: none;
    list-style-type: none;
    display: block;
}

#masthead .navbar-nav > li {
    display: inline-block;
}

#masthead_sticky .navbar {
    display: flex;
    justify-content: space-between;
}

#masthead_sticky .navbar-nav > li {
    display: inline-block;
    margin-right: 32px;
}

#masthead_sticky .navbar-nav > li > a {
    background: url(../images/stick-bgr.svg) no-repeat center;
    width: 134px;
    height: 44px;
    line-height: 44px;
    color: white;
    text-transform: uppercase;
    font-size: 21px;
    display: block;
    text-align: center;
}

#masthead_sticky .navbar-nav > li:last-child {
    margin-right: 0;
}

#masthead .navbar-nav > li.products > a {
    background: url(../images/products.svg) no-repeat center;
    width: 115px;
    margin-right: 32px;
}

#masthead .navbar-nav > li.about > a {
    background: url(../images/about.svg) no-repeat center;
    width: 83px;
}

#masthead .navbar-nav > li.contact > a {
    background: url(../images/contact.svg) no-repeat center;
    width: 107px;
}

#masthead .navbar-nav > li.find-us > a {
    background: url(../images/find-us.svg) no-repeat center;
    width: 122px;
}

#masthead .navbar-nav > li.contact {
    float: right;
    margin-right: 32px;
}

#masthead .navbar-nav > li.find-us {
    float: right;
}

#masthead .navbar-nav > li.lang-item {
    right: -140px;
    position: absolute !important;
    background: url(../images/contact.svg) no-repeat center;
    width: 107px;
}
#masthead .navbar-nav > li.lang-item .bg a,
#masthead .navbar-nav > li.lang-item .en a,
#masthead .navbar-nav > li.lang-item .cy a {
   /* text-indent: -9999px;*/
    position: relative;
    justify-content: center;
    align-items: center;
    display: flex !important;
    gap: .5rem;
}
#masthead .navbar-nav > li.lang-item .en a:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 40px;
    background: url(../images/flags/Flag_of_the_United_Kingdom.svg) no-repeat center;
    background-size: contain;    
}
#masthead .navbar-nav > li.lang-item .cy a:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 40px;
    background: url(../images/flags/Flag_of_Cyprus.svg) no-repeat center;
    background-size: contain;    
}

#masthead .navbar-nav > li.lang-item .bg a:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 40px;
    background: url(../images/flags/Flag_of_Bulgaria.svg) no-repeat center;
    background-size: contain;    
}

#masthead .navbar-nav > li > a {
    color: white;
    font-size: 21px;
    text-transform: uppercase;
    height: 44px;
    text-align: center;
    display: block;
    line-height: 44px;
}


#masthead .navbar-nav > li.menu-item-has-children,
#masthead_sticky .navbar-nav > li.menu-item-has-children {
    position: relative;
}

#masthead .navbar-nav > li.menu-item-has-children .sub-menu,
#masthead_sticky .navbar-nav > li.menu-item-has-children .sub-menu {
    position: absolute;
    list-style: none;
    list-style-type: none;
    display: none;
    padding-top: .5rem;
}

#masthead .navbar-nav > li.menu-item-has-children:hover .sub-menu,
#masthead_sticky .navbar-nav > li.menu-item-has-children:hover .sub-menu {
    display: block;
}

#masthead .navbar-nav > li.menu-item-has-children .sub-menu li,
#masthead_sticky .navbar-nav > li.menu-item-has-children .sub-menu li {
    display: block;
    margin-bottom: .5rem;
}

#masthead .navbar-nav > li.menu-item-has-children .sub-menu li a,
#masthead_sticky .navbar-nav > li.menu-item-has-children .sub-menu li a {
    background: url(../images/stick-bgr.svg) no-repeat left;
    font-size: 18px;
    text-align: center;
    color: white;
    display: block;
    height: 44px;
    line-height: 44px;
    width: 130px;
    transition: all 0.3s ease;
    transform: scale(1);
}

#masthead .navbar-nav > li.menu-item-has-children .sub-menu li a:hover,
#masthead_sticky .navbar-nav > li.menu-item-has-children .sub-menu li a:hover {
    transform: scale(1.1);
}

.home-top-section svg {
    display: block;
    width: 100%;
    height: auto;
}


.home-certificates {
    padding: 80px 0;
}

.home-certificates h2 {
    text-transform: uppercase;
    width: 302px;
    height: 62px;
    line-height: 62px;
    font-size: 42px;
    color: white;
    text-align: center;
    background: url(../images/title-svg.svg) no-repeat center;
    margin: 0 auto 50px;
    display: block;
    opacity: 0;
}

.home-certificates .container {
    max-width: 1000px;
}

.home-certificates img {
    max-width: 100%;
    height: auto;
    display: block;
    opacity: 0;
}

#animated_stamp {
    padding: 80px 0;
}

#animated_stamp h2 {
    font-size: 80px;
    color: #00AD50;
    line-height: 112px;
    text-transform: uppercase;
}

.py-50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.py-80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mb-16 {
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

.opacity-1 {
    opacity: 1 !important;
}

.align-bottom {
    align-items: flex-end;
}

.align-center {
    align-items: center;
}



#free_content p a,
#free_content p {
    margin-bottom: 1rem;
    color: #712817;
    font-size: 24px;
}

#free_content .green-button {
    background: url(../images/find-us.svg) no-repeat center;
    width: 122px;
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    height: 44px;
    text-align: center;
    display: inline-block;
    line-height: 44px;
}

#free_content .bottom-line {
    height: 300px;
    background: url(../images/Banner_150925-1.png) no-repeat right;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
}

#free_content .container {
    position: static;
}


#animated_stamp .bird {
    transition: all 0.3s linear;
    position: relative;
    margin-top: -800px;
}

#animated_stamp .bird.move-down {
    margin-top: 0;
}

#animated_stamp .stamp,
#animated_stamp h2 {
    opacity: 0;
}

#home_products {
    position: relative;
}

#home_products .container {
    max-width: 1570px;
}

#home_products .prod {
    transform: scale(0.7);
    transition: all 0.3s linear;
}

#home_products .prod.zoom-in {
    transform: scale(1);
}

#home_products .product-bg {
    position: absolute;
    bottom: 0;
    margin-bottom: -100px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    transition: all 0.3s linear;
}

#home_products .product-bg.move-up {
    margin-bottom: 0;
}


#home_products h2 {
    text-transform: uppercase;
    width: 230px;
    height: 62px;
    line-height: 62px;
    font-size: 42px;
    color: white;
    text-align: center;
    background: url(../images/brown-title-bg.svg) no-repeat center;
    margin: 0 auto 50px;
    display: block;
    opacity: 0;
}


#how_its_made {
    background-color: #00AD50;
}

#how_its_made h2 {
    text-transform: uppercase;
    width: 298px;
    height: 62px;
    line-height: 62px;
    font-size: 42px;
    text-align: center;
    background: url(../images/hw-title.svg) no-repeat center;
    margin: 0 auto 50px;
    display: block;
    color: #182D55;
}


#rotating_blocks .container {
    max-width: 1570px;
}

#rotating_blocks .pile-left {
    transition: all 0.4s ease-in-out;
    transform: rotate(-14deg);
    opacity: 0;
}

#rotating_blocks .pile-left.show {
    transform: rotate(0deg);
    opacity: 1;
}

#rotating_blocks h2 {
    color: #84BD00;
    text-align: right;
    position: relative;
    font-size: 100px;
    line-height: 110px;
    margin-bottom: 50px;
    text-transform: uppercase;
    margin-top: -250px;
    opacity: 0;
}

#rotating_blocks p {
    color: #73381D;
    font-size: 28px;
    line-height: 40px;
    text-align: right;
    opacity: 0;
}

#rotating_blocks .blocks-grid svg {
    display: block;
    width: 100%;
    height: auto;
    opacity: .5;
    transition: all 0.4s ease-in-out;
    transform: rotate(90deg);
    border-radius: 0;

    g {
        opacity: 0;
        transition: all 0.4s ease-in-out;
    }
}

#rotating_blocks .blocks-grid svg.rotate {
    opacity: 1;
    transform: rotate(0);
    border-radius: 100%;

    g {
        opacity: 1;
    }
}

.delay-1 {
    animation-delay: 150ms;
}

.delay-2 {
    animation-delay: 250ms;
}

.delay-3 {
    animation-delay: 350ms;
}

.floatVertical {
    position: relative;
    display: block;
    animation: floatVertical 3s ease-in-out infinite;
}

.floatHorizontal-1 {
    position: relative;
    display: block;
    animation: floatHorizontal 3s ease-in-out infinite;
}

.floatHorizontal-2 {
    position: relative;
    display: block;
    animation: floatHorizontal 3.2s ease-in-out infinite;
}

.floatHorizontal-3 {
    position: relative;
    display: block;
    animation: floatHorizontal 2.8s ease-in-out infinite;
}

@keyframes floatVertical {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes floatHorizontal {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-20px);
    }

    100% {
        transform: translateX(0);
    }
}

@media (min-width: 576px) {
    #free_content .bottom-line {
        background: url(../images/Banner_150925-1-desktop.png) no-repeat bottom right;
    }
}
@media (max-width: 575px) {
    #free_content .bottom-line .container {
        display: none !important;
    }
}
@media (max-width: 480px) {
    .container {
        width: auto;
    }

    .order-mobile-1 {
        order: 1;
    }

    .order-mobile-2 {
        order: 2;
    }

    .footer-info .qodef-qi-grid.qodef-layout--qi-columns > .qodef-grid-inner {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .footer-info .qodef-qi-grid.qodef-layout--qi-columns > .qodef-grid-inner > .qodef-grid-item:first-child {
        grid-column: span 2;
    }

    #home_products .qodef-qi-grid.qodef-layout--qi-template > .qodef-grid-inner > .qodef-grid-item.qodef-col--4 {
        width: 100%;
    }
    #home_products .qodef-qi-grid.qodef-layout--qi-template > .qodef-grid-inner > .qodef-grid-item.qodef-col--3 {
        width: 100%;
    }

    #free_content .qodef-qi-grid.qodef-layout--qi-template > .qodef-grid-inner {
        flex-direction: column;
    }

    #free_content .qodef-qi-grid.qodef-layout--qi-template > .qodef-grid-inner > .qodef-grid-item.qodef-col--6 {
        width: 100%;
    }

    img.lakomnici {
        bottom: 0 !important;
        left: 0 !important;
        margin-left: 0 !important;
    }

    #free_content .bottom-line {
        height: 150px;
        background-size: auto 150px;
        margin-right: -70px;
        width: 200% !important;
    }

    #free_content .container {
        padding: 0;
    }
    #free_content p a,
    #free_content p {
        font-size: 18px;
    }

    #free_content p br {
        display: none !important;
    }

    #home_products .qodef-qi-grid.qodef-layout--qi-template > .qodef-grid-inner {
        display: grid;
    }

    #page {
        overflow: hidden;
    }

    #home_certificates .qodef-qi-grid.qodef-layout--qi-template > .qodef-grid-inner {
        flex-wrap: wrap;
    }

    #home_certificates .qodef-qi-grid.qodef-layout--qi-template > .qodef-grid-inner > .qodef-grid-item.qodef-col--3 {
        width: 42%;
    }

    #rotating_blocks {
        padding: 50px 0;
    }

    #rotating_blocks .qodef-qi-grid.qodef-layout--qi-template > .qodef-grid-inner > .qodef-grid-item.qodef-col--6 {
        width: 100%;
    }

    #rotating_blocks h2 {
        margin-top: 0;
        font-size: 80px;
        line-height: 90px;
    }

    #rotating_blocks .qodef-qi-grid.qodef-layout--qi-template > .qodef-grid-inner {
        display: grid;
    }

    .home-certificates h2,
    .home-certificates img {
        opacity: 1;
    }

    #footer_top {
        padding-top: 92px;
    }

    #footer_top svg {
        bottom: 92px;
    }
}


ul li.current-lang {
    display: none;
}

.d-block {
    display: block !important;
}

b.op0 {
    -webkit-opacity: 1;
    -moz-opacity: 1;
    -ms-opacity: 1;
    -o-opacity: 1;
    opacity: 1;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background: #fff;
    height: 10px;
    width: 10px;
    position: absolute;
    top: -10px;
    z-index: 1001;
}

b.op1 {
    -webkit-opacity: 0.8;
    -moz-opacity: 0.8;
    -ms-opacity: 0.8;
    -o-opacity: 0.8;
    opacity: 0.8;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background: #fff;
    height: 10px;
    width: 10px;
    position: absolute;
    top: -10px;
    z-index: 1001;
}

b.op2 {
    -webkit-opacity: 0.7;
    -moz-opacity: 0.7;
    -ms-opacity: 0.7;
    -o-opacity: 0.7;
    opacity: 0.7;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background: #fff;
    height: 10px;
    width: 10px;
    position: absolute;
    top: -10px;
    z-index: 1001;
}

@media (max-width: 1300px) {
    .container {
        padding: 0 8px;
    }
}

@media (min-width: 768px) {
    .d-md-inline-block {
        display: inline-block !important;
    }
}