.header {
    position: fixed !important;
    top: 0;
}

body.single-press_release main {
    margin-top: 150px;
}

main .block.product-hero {
    padding-top: 150px;
}

.header__main {
    background: white;
    box-shadow: 0px 4px 8px #00000029;
}

.header__main li.menu-item {
    position: relative;
    padding: 5px 7px;
}

.header__main li.menu-item a:hover {
    color: #7dc243;
}

.header__main li.menu-item .sub-menu {
    display: none;
    position: absolute;
    margin-top: 27px;
    width: 220px;
    padding-left: 0;
}

.header__main li.menu-item .sub-menu.visible {
    display: block;
    background: white;
    box-shadow: 0px 4px 8px #00000029;
}

.header__main li.menu-item .sub-menu li.menu-item::marker {
    font-size: 0;
}

.header__main li.menu-item .sub-menu li.menu-item {
    padding: 5px 10px;
    border: 2px solid white;
}

.header__main li.menu-item .sub-menu li.menu-item {
    line-height: 26px;
}

.header__main li.menu-item .sub-menu li.menu-item a {
    border-bottom: 1px solid #7dc243;
}

.header__main li.menu-item .sub-menu li.menu-item:last-of-type a {
    border-bottom: none;
}

ul.main-nav>li a:before {
    display: none;
}

ul.main-nav {
    position: relative;
    top: 15px;
}

ul.main-nav>li::after {
    content:'';
    background: transparent;
    width: 100%;
    height: 40px;
    position: absolute;
    top: 50px;
}

.green-button {
    background: #7dc243;
    color: white;
    border: 2px solid #7dc243;
    text-align: center;
    padding: 5px 7px;
    margin-left: 10px;
}

.green-button:hover {
    background: white;
    color: #7dc243;
    border: 2px solid #7dc243;
}


.green-button a {
    color: white !important;
}

.green-button:hover a {
    color: #7dc243 !important;
}

.toat-clearfix {
    height: 92px;
}

.blog-outer {
    max-width: 1000px;
    padding: 0 15px;
    margin: auto;
}

.blog-outer h1 {
    color: #7FC346;
    text-align: center;
    margin-bottom: 75px;
}

.z-0 {
    z-index: 0;
}

.z-1 {
    z-index: 1;
    position: relative;
}

.bg-white {
    background: white;
}

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

.height-380 {
    height: 380px;
    background: transparent;
}

h1.blog-title {
    padding-top: 75px;
}
.toat-blog p {
    line-height: 25px;
}

.toat-blog p:last-of-type {
    margin-bottom: 0;
}

main {
    padding-bottom: 50px;
}

body.single-blog main {
	padding-bottom: 0 !important
}

footer {
    margin-bottom: -15px;
    box-shadow: 0px -4px 8px #00000029;
}

.header__left {
    margin-left: auto;
}

.wide {
    max-width: 1240px !important;
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 60px 30px;
}

.grid-cols-3 h3 {
    text-align: center;
    font-size: 28px;
    color: #707070;
}

.grid-cols-3 div.holder {
    box-shadow: 0px 4px 8px #00000029;
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 15px;
    position: relative;
}

.grid-cols-3 div.holder::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent #BFE1A2 transparent transparent;
    position: absolute;
    top: 0;
    right: 0;
    clip-path: polygon(0% 0%, 88.5% 0%, 100% 19.3%, 100% 100%);
}

.grid-cols-3 > div::after {
    content: '';
    top: 0;
    right: 0;
    background: #BFE1A2;
    width: 15px;
    height: 15px;
    display: block;
    position: absolute;
    border-radius: 5px;
}

.grid-cols-3 > div p {
    margin: 15px 0 !important;
}

.footer__menus {
    display: grid !important;
    grid-template-columns: 15% 21% 21% 21.5% 21.5%;
}

.footer__main > .container > .row {
    display: grid !important;
    grid-template-columns: 12% 28% 60%;
    grid-gap: 30px;
}

#menu-item-1064, #menu-item-1065 {
    width: 280px;
}

.footer__menus ul li.current_page_item a {
    color: unset !important;
}

.column.column--sm-4.last, .footer_logos, .footer__socials {
    margin-left: auto;
}

.footer__las {
    display: flex;
    margin-left: auto;
    margin-top: 30px;
}

.footer__img {
    display: inline-block;
}

.offcanvas-menu {
    right: unset !important;
    left: 0;
    transform: translateX(-100%) !important;
    max-width: 100vw !important;
    padding: 25px 50px !important;
}
.offcanvas-menu.offcanvas-menu__open {
    transform: translateX(0) !important;
}

.offcanvas-menu__close {
    text-align: right;
    cursor: pointer;
    position: relative;
    margin-top: 10px;
    left: 30px;
}

.holder small {
    font-size: 14px;
}

.holder h4.big {
    font-size: 36px;
    text-transform: uppercase;
    margin-top: 20px;
    color: #707070 !important;
}

.holder h4.big a {
    color: #707070 !important;
}

.offcanvas-menu ul li a {
    text-transform: none !important;
}

.grid-cols-3 > div .holder {
    height: 475px;
}

.grid-cols-3 > div .holder > a {
    position: absolute;
    bottom: 30px;
    text-decoration: none;
    font-weight: 600;
}

hr.green {
    background: var(--brand-color);
    height: 2px;
    border: none;
    margin: 100px 0 120px;
}

.trueflex-info__row:nth-of-type(5) .column--sm-3 img {
    margin-left: 33px;
}

.image-0 img, .image-1 img {
    width: 180px;
}

.image-2 img {
    width: 113px;
}

body .trueflex-info__content p, .about-us-hero p {
    font-size: 19px !important;
    line-height: 26px !important;
}

.trueflex-info__content h2, .blog-block h2, .about-us-hero .fs-5 {
    font-size: 48px !important;
}


@media only screen and (max-width: 1199px) {
    .grid-cols-3{
        grid-template-columns: 1fr 1fr;
    }
    .footer__main > .container > .row {
        display: block !important;
    }
    .footer__main > .container > .row > div:nth-of-type(1),
    .footer__main > .container > .row > div:nth-of-type(2) {
        width: 50%;
        float: left;
        margin-bottom: 50px;
    }
    .footer__main > .container > .row > div:nth-of-type(3) {
        width: 100%;
        clear: both;
        margin-top: 50px;
    }
    .home .grid-cols-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .grid-cols-3 > div .holder {
        height: auto;
    }
    .grid-cols-3 > div .holder > a {
        position: relative;
        bottom: 0;
    }
}

@media screen and (max-width: 991px) {
    .green-button {
        text-align: left;
        margin-left: 0;
        padding: 0;
    }
    .home .grid-cols-3 {
        grid-template-columns: 1fr;
    }
    .homepage-hero .container .container {
        position: relative !important;
    }
    .social-icons {
        position: relative !important;
        bottom: 0 !important;
        justify-content: center;
    }
    ul.social-media__menu {
        margin-left: 0 !important;
    }
    .about-us-hero {
        padding: 30px !important;
    }
    .about-us-hero .container {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
}


@media only screen and (max-width: 767px) {
    .border-bottom-green.d-flex .d-grid {
        min-width: 100% !important;
        max-width: 100% !important;
    }
    .border-bottom-green.d-flex {
        display: block !important;
    }
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
    .footer__main > .container > .row > div {
        width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .footer__main {
        padding: 0 15px !important;
    }
    .footer__menus {
        display: block !important;
    }

    .footer__menus .footer__menu {
        width: 100% !important;
        margin-right: 0% !important;
        float: left !important;
    }
    .footer__menus .footer__menu:nth-of-type(even) {
        margin-right: 0 !important;
    }
    .footer__las {
        display: block;
        margin-left: 0 !important;
    }

    .footer__main > .container > .row {
        overflow: auto;
    }

    .footer__main > .container > div:not(.row) {
        clear: both;
        margin-top: 50px;
        margin-left: -15px;
    }

    #menu-primary li:last-of-type {
        border-bottom: none !important;
    }
    .offcanvas-menu {
        position: relative;
    }
    .offcanvas-menu::after {
        content:'';
        background: url(/wp-content/themes/smartkem/assets/images/menu-drop.svg) no-repeat center / contain;
        width: 100px;
        height: 150px;
        bottom: 30px;
        right: 30px;
        position: absolute;
        opacity: 0.5;
    }
    .about-us-hero p {
        font-size: 18px !important;
        line-height: 27px !important;
    }
    .blog-block h2, .toat-find-out-more, .trueflex-info__content h2 {
        font-size: 40px !important;
    }
    .trueflex-info img {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .trueflex-info__row:nth-of-type(5) .column--sm-3 img {
        margin-left: 0;
    }
}

@media screen and (min-width: 768px) {
    .homepage-hero {
        padding-top: 150px !important;
    }
}

/* Homepage */
.homepage-hero__content {
    margin: auto;
    text-align: center;
}
.homepage-hero__content p {
    max-width: 500px !important;
    color: #707070;
    font-weight: 600;
    margin: 0 auto 30px !important;
}

.homepage-hero__content h1 {
    text-transform: uppercase;
    color: #707070;
    margin-bottom: 30px !important;
}

.homepage-hero__content h1 span {
    color: #7FC346;
}

.homepage-hero__content .button {
    padding: 15px 20px;
    font-size: 16px;
    font-weight:400;
}

.social-icons {
    display: flex;
    position: absolute;
    bottom: 50px;
    right: 0;
}

.social-icons ul {
    margin-left: auto;
}

.social-media__item>a {
    background-color: #7FC346;
    border-radius: 50%;
    padding: 7px;
}

.social-media__item>a>svg path {
    fill: #fff !important;
}

.homepage-hero {
    position: relative;
    border-bottom: 2px solid #7FC346;
}

.social-icons {
    margin-top: 50px;
}

.homepage-hero .container .container {
    position: absolute;
    bottom: 0;
}

.trueflex-info__content {
    width: 100%;
}

.trueflex-info__content h2 {
    text-align: center;
    color: #59595B;
    font-size: 64px;
    margin-top: 30px;
    font-weight: 300;
}

.trueflex-info__content h2 span {
    color: #7FBB47;
}

.trueflex-info__content p {
    color: #59595B !important;
    font-weight: 300 !important;
    max-width: 850px;
    line-height: 40px !important;
    margin: 0 auto 30px;
    text-align: center;
}

.trueflex-info__row {
    padding: 25px 50px !important;
}

.trueflex-info__advantage:before {
    background-image: url(/wp-content/themes/smartkem/assets/images/icons/chevron-right-grey.svg) !important;
    width: 17px !important;
    height: 32px !important;
    background-size: contain !important;
    left: -60px !important;
}

.grey {
    color: #59595B !important;
}

:root{
    --brand-color: #7FC346;
}

/* generic helper */

/* button */
.btn {
    padding: 10px 20px;
    border-radius: 3px;
    font-size: 15px;
}
/* button colors */
.btn-brand {
    background-color: var(--brand-color);
    color: #fff;
}
/* end */
/* button size */
.btn-lg{
    font-size: 40px;
    padding: 30px 50px;
}
/* end */
/* text */
.text-white {
    color: #fff;
}
.text-brand{
    color: var(--brand-color);
}

/* alignment */
.text-center {
    text-align: center;
}
.text-start{
    text-align: left;
}
.text-end {
    text-align: right;
}
/* end */

/* font size */
.fs-normal {
    font-size: 17px;
    line-height: 1.8em;
}
.fs-1{
    font-size:10px;
}
.fs-2 {
    font-size: 20px;
}
.fs-3 {
    font-size: 30px;
}
.fs-4 {
    font-size: 40px;
}
.fs-5{
    font-size: 50px;
}
.text-uppercase{
    text-transform: uppercase;
}
/* end */

/* layout */
.container {
    width: 1280px;
    margin: 0px auto;
}
.content-container {
    display: grid;
    gap: 30px;
}
.d-grid {
    display: grid;
}
.d-flex{
    display: flex;
}
.align-items-center {
    align-items: center;
}
.justify-content-center {
    justify-content: center;
}
.justify-content-between{
    justify-content: space-between;
}
.justify-content-evenly {
    justify-content: space-around;
}
.flex-col {
    flex-direction: column;
}
.flex-row {
    flex-direction: row;
}
/* end */

/* margins */
.mx-50{
    margin-left: 50px;
    margin-right: 50px;
}
.mx-70{
    margin-left: 70px;
    margin-right: 70px;
}

/* padding */
.py-50{
    padding-top: 50px;
    padding-bottom: 50px;
}
.py-70 {
    padding-top: 70px;
    padding-bottom: 70px;
}
.px-20 {
    padding-right: 20px;
    padding-left: 20px;
}
.px-30{
    padding-right: 30px;
    padding-left: 30px;
}
.px-40 {
    padding-right: 40px;
    padding-left: 40px;
}
.px-50 {
    padding-right: 50px;
    padding-left: 50px;
}
.px-60 {
    padding-right: 60px;
    padding-left: 60px;
}
.px-70 {
    padding-right: 70px;
    padding-left: 70px;
}
/* blurb */
.blurb .blurb-image img{
    width: 130px;
}
.blurb .blurb-title{
    font-size: 20px;
    color: #707070;
}
.blurb .blurb-description {
    font-size: 16px;
    color: #707070;
}

/* gaps */
.gap-1{
    gap: 10px;
}
.gap-2 {
    gap: 20px;
}
.gap-3 {
    gap: 30px;
}

/* width */
.w-50{
    width: 50%;
}
/* end */

/* separator */
.h-line-brand{
    height: 3px;
    width: 100%;
    background-color: var(--brand-color);
    margin: 60px 0px;
    display: inline-block;
}

.about-us-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("/wp-content/themes/smartkem/assets/images/hero.jpg") no-repeat center/cover;
}

.find-out img {
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}
.find-out .find-out-title {
    display: inline-block;
    padding: 30px 0px;
    background-color: #fff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 6%);
    border-radius: 10px;
    color: #707070;
    font-size: 30px;
    width: 450px;
    transform: translateY(-60px);
}

@media only screen and (max-width: 600px) {
    .container{width: 90%;}
    .px-70{padding-right: 30px; padding-left: 30px;}
    .fs-5{font-size: 30px;}
    .fs-normal{font-size: 16px;}
    .sm-flex-col{flex-direction: column;}
    .find-out .find-out-title{width: 80%;font-size: 20px;}
    .w-50{width: 100%;}
    .btn-lg{font-size: 20px; padding: 30px 20px;}
}

.wp-block-group.is-style-sm-diamond-bg-left:before {
    display: none;
}

.about-us-hero {
    padding: 80px 50px 30px;
}

.about-us-hero span.fs-5 {
    font-weight: 600;
}

.about-us-hero p {
    color: white;
    font-size: 28px;
    line-height: 42px;
}

.about-us-hero a {
    text-decoration: none !important;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 20px;
}

.about-us-hero small {
    font-size: 16px;
    font-weight: 600;
}

.d-flex .d-grid {
    max-width: 33.333%;
    min-width: 33.333%;
    font-weight: 600;
    display: block;
}

.blurb-description {
    max-width: 300px;
    text-align: center;
    margin: 20px auto;
    display: block;
}

.blurb-image {
    height: 150px;
}

.border-bottom-green {
    border-bottom: 1px solid var(--brand-color);
    padding: 50px 0 70px;
}

.trueflex-info__row {
    box-shadow: 0px 4px 12px #00000029;
    border-radius: 12px;
}

.trueflex-info__row p {
    font-weight: normal !important;
}

.toat-find-out-more {
    text-transform: uppercase;
    font-size: 48px;
    text-align: center;
    color: #707070;
    margin-bottom: 50px;
}

.toat-find-out-more span {
    color: var(--brand-color);
}

.image-link-block__title a {
    color: #707070 !important;
    text-align: center;
    display: block !important;
    font-size: 32px;
}

.image-link-block__title a span {
    color: var(--brand-color);
}

.investing-block {
    background: var(--brand-color);
    max-width: 755px !important;
    margin: auto;
    padding: 30px;
    border-radius: 16px;
}

.investing-block a {
    color: white;
    text-align: center;
    text-transform: uppercase;
    display: block;
    text-decoration: none;
    font-size: 32px;
    font-weight: 600;
}

.investing-block a:hover {
    color: white;
}

.blog-block {
    border-top: 2px solid var(--brand-color);
    padding-top: 100px;
}

.blog-block h2 {
    text-align: center;
    color: #59595B;
    font-size: 64px;
    margin-top: 0;
    margin-bottom: 50px !important;
    font-weight: 300;
    text-transform: uppercase;
}
.blog-block h2 span {
    color: var(--brand-color);
    font-weight: 600;
}
