/*
 Theme Name:   Radnis Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


body {
    overflow-x: hidden;
    font-size: 16px;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

}

h2,
h3,
h4,
h5,
h6 {}

a,
button,
input,
textarea {}


.wp-block-table td,
.wp-block-table th {
    padding: 1em 1.5em;
}

.front-heading {
    background-color: rgba(254, 254, 254, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

.front-heading {}

a {
    text-decoration: none;
}

h1 {
    font-size: 46px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

.m-w-1200 {
    max-width: 1200px;
    margin: 35px auto !important;
}

.green-strong strong {
    color: #2EB135;
}

.site-header {
    z-index: 99;
}

.front-slider-wrap {
    overflow: hidden;
}

.separate-containers .site-main {
    margin: 0px 20px;
}

.front-banner-content {
    max-width: 700px;
    margin: 0 auto;
}

.gutentor-button {
    position: relative;
}

.site-header {
    -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.3);
}


/* Base sticky styling */
.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: rgba(255, 255, 255, 1);
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    transition: all 0.3s ease;
}

.site-header.sticky .header-image {
    width: 80px;
}

/* Push page content down to avoid overlay */
body.has-sticky-header {
    padding-top: 80px;
    /* adjust based on header height */
}

.main-navigation .menu-bar-item {
    margin-left: 15px;
}

.main-navigation .menu-bar-item>a {
    padding-left: 10px;
    padding-right: 10px;
}

.site-header .gutentor-social .gutentor-social-item .gutentor-single-item {
    width: 40px;
    height: 40px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav.main-navigation button.menu-toggle {
    min-width: auto;
}

.header_wrapper {
    z-index: 99;
    position: absolute;
    width: 100%;
}




nav.main-navigation {
    position: relative;
    /* padding: 8px 0px; */
}

.menu-item-has-children .dropdown-menu-toggle {
    padding-right: 0px;
    padding-left: 5px;
}

.main-navigation .main-nav>ul {
    gap: 25px;
}

.menu-item-has-children .dropdown-menu-toggle .gp-icon svg {
    height: 1.1em;
    width: 1.1em;
    top: .35em;
    transform: rotate(-90deg);
}

.menu-item-has-children:hover .dropdown-menu-toggle .gp-icon svg {
    transform: rotate(0deg);
}

.main-navigation .main-nav ul li[class*="current-menu-"]>a,
.main-navigation .main-nav>ul>li a:hover,
.main-navigation .main-nav>ul>li.menu-item-has-children:hover {
    font-weight: 700;
    color: #2A2A2A;
}

.main-navigation .main-nav ul li ul li a:hover {
    font-weight: 700;
    color: #2A2A2A;
}


.main-navigation .main-nav>ul>li[class*="current-menu-"]>a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 18px;
    width: 100%;
    height: 2px;
    background-color:#D4CDEF;
}

.main-navigation .main-nav ul li {
    position: relative;
}

.main-navigation .main-nav ul li a {
    padding-left: 0px;
    padding-right: 0px;
    line-height: 65px;
    font-size: 16px;
    letter-spacing: 0.02em;
}

.main-navigation ul ul {
    width: 280px;
    padding-top: 15px;
    padding-bottom: 15px;
    -webkit-border-bottom-right-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -moz-border-radius-bottomright: 8px;
    -moz-border-radius-bottomleft: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    background-color: #D4CDEF;
}



/* 
.main-navigation ul ul:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #093D67;
} */

.main-navigation .main-nav ul ul li a {
    margin: 0px 20px;
    font-weight: 400;
    position: relative;
    padding: 8px 0px;
    line-height: 1.2;
    font-size: 14px;
}

.main-navigation .main-nav ul ul li.normal-menu>a {
    text-transform: none;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
}

.main-navigation .main-nav ul ul li a:after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    height: 0px;
    background-color: #E2E2E2;
}

.main-navigation .main-nav ul ul li:last-child a:after {
    content: none;
}

.front_content_right {
    max-width: 600px;
}

.front_content_left {
    max-width: 600px;
    float: right;
}

.banner-blur {
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    /* white tint with transparency */
    backdrop-filter: blur(10px);
    /* blur effect */
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
}


.front_services .gutentor-single-item-image-box {
    margin-bottom: 0px !important;
}

.front_services .gutentor-single-item-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    max-width: 100%;
    margin: 0 auto;
}


.front_services .gutentor-single-item-wrap .gutentor-single-item-image-box .gutentor-image-thumb img {
    max-height: auto;
    width: auto;
    max-width: 100%;
}

.front_services .gutentor-single-item-wrap .gutentor-single-item-image-box .gutentor-image-thumb {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.front_services .gutentor-single-item-wrap .gutentor-single-item-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    background-color: rgba(9, 61, 103, 0.85);
    padding: 12px 15px;
    color: #FFF;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home .site-content {
    padding-top: 0;
    padding-bottom: 0px;
}

.site-content hr {
    margin-bottom: 20px;
    margin-top: 10px;
}

.front-grid-5 .grid-container .grid-row>.gutentor-single-column {
    padding-right: 5px;
    padding-left: 5px;
}

.box-rounded .grid-container>.grid-row {
    border-radius: 10px;
    overflow: hidden;
}


.col-line-wrap .grid-row>.gutentor-single-column {
    border-bottom: 1px solid #FFF;
    border-right: 1px solid #FFF;
}

.col-line-wrap .grid-row>.gutentor-single-column:last-child {
    border-right: 0px solid #FFF;
}

.col-line-wrap.last .grid-row>.gutentor-single-column {
    border-right: 1px solid #FFF;
    border-bottom: 0px solid #FFF;
}

.col-line-wrap.last .grid-row>.gutentor-single-column:last-child {
    border-right: 0px solid #FFF;
}

.col-line-wrap h3.gutentor-text {
    min-height: 80px;
    margin-bottom: 8px;
}

.front-post-wrapper .gutentor-post-item {
    position: relative;
    padding-bottom: 40px !important;
}

.front-post-wrapper .gutentor-post-item .gutentor-post-button {
    position: absolute;
    width: 100%;
    left: 0px;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}




/* Banner css */
.page__banner_section {
    width: 100%;
    position: relative;
    top: 0px;
    height: 350px;
    background-color: #78DBEA;
    margin-bottom: 0px;
}

.page__banner_section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9;
    width: 100%;
    height: 100%;
    background-color: rgba(120, 219, 234, 0.3);
}

.page__banner_section .banner-container {
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
    z-index: 9;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.page__banner_section .banner_thumb {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: 100%;
    overflow: hidden;
}

.page__banner_section .banner_thumb img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.page__banner_section .banner-content {
    text-align: center;
    position: relative;
    color: #2A2A2A;
    padding: 40px 30px;
    width: 100%;
}

.page__banner_section .banner-content .banner-heading {
    color: #2A2A2A;
    position: relative;
    padding: 5px 10px;
}

.page__banner_section .banner-content .banner-heading h1 {
    font-size: 40px;
    margin-bottom: 10px !important;
    word-wrap: break-word;
    /* text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5); */
    text-transform: uppercase;
}

.page__banner_section .banner-content .banner-heading h2 {
    font-size: 26px;
    font-weight: 700;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
}

.page__banner_section .banner-content .banner-heading p {
    font-size: 20px;
    margin-bottom: 0px;
}


/* contact page */

.contact_form_wrapper {
    max-width: 100%;
    margin: 0 auto 25px;
}

.contact_form_wrapper .field_row {
    display: block;
}

.contact_form_wrapper .field_row.half_field {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.contact_form_wrapper .field_row.half_field .field_item {
    /* flex: 0 0 50%; */
    width: 50%;
}

.contact_form_wrapper .field_row .field_item {
    padding: 10px 0px;
}

.contact_form_wrapper .field_row .field_item label {
    font-size: 13px;
    padding-bottom: 5px;
    clear: both;
    display: inline-block;
    width: 100%;
    font-weight: normal;
    color: #000;
}

.contact_form_wrapper .field_row .field_item label span {
    color: #D80006;
}

.contact_form_wrapper .field_row .field_item h3 {
    margin-bottom: 5px;
    color: #F96800;
}

.contact_form_wrapper .field_row .field_item>p {
    margin-bottom: 0px;
}

.contact_form_wrapper .field_row .field_item .form-control {
    width: 100%;
    background-color: #FFF;
    border: 1px solid #7e7e7e;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 15px !important;
    border-radius: 5px;
}

.contact_form_wrapper .field_row .field_item textarea {
    height: 180px;
}

.contact_form_wrapper .field_row .field_item .form-control.wpcf7-checkbox {
    border: 0;
    padding: 10px 0px !important;
    background-color: transparent;
    box-shadow: none;
    font-size: 18px;
}

.contact_form_wrapper .field_row.field_button {
    text-align: center;
}

.front-contact-form .field_row .field_item textarea {
    height: 100px;
}

.front-contact-form .field_row .field_item .form-control {
    border: 1px solid #FFF;
    border-radius: 15px;
    -webkit-box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.3);
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
a.wp-block-button__link:not(.has-background) {
    /* border-radius: 8px; */
    color: #2A2A2A;
    background-color: var(--global-color-11);
    padding: 10px 35px 10px 35px;
    font-size: 15px;
    border-radius: 25px;
    min-width: 130px;
    text-transform: uppercase;
    font-weight: 600;
}

button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.button:hover,
a.wp-block-button__link:not(.has-background):hover,
.contact_form_wrapper .field_row .field-btn:hover {
    color: #2A2A2A;
    background-color: #E6E1D5;
}

.contact_form_wrapper .wpcf7-spinner {
    position: absolute;
}

iframe {
    display: block;
}

.menu-toggle {
    text-transform: uppercase;
    font-size: 20px !important;
    padding: 0 5px;
    background-color: transparent !important;
    letter-spacing: 0.15em;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
    background-color: #FFF;
    font-size: 14px;
    padding: 10px 15px !important;
    border-color: #62734F;
}

.has-inline-mobile-toggle #site-navigation.toggled {
    /* margin-top: 4.5em; */
    padding-top: 15px;
    padding-bottom: 15px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #009100;
    text-align: center;
    color: #009100;
}

.site-footer .footer-widgets .footer-widget-3 a {
    color: #D4CDEF !important;
    font-weight: 600;
}

.site-footer ul.menu li.menu-item {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 30px;

}

.site-footer ul.menu li.menu-item a {
    display: flex;
    align-items: center;
}

.site-footer ul.menu li.menu-item a:after {
    content: "";
    background-image: url(assets/images/arrow-icon.png);
    background-position: center center;
    background-size: 29px 29px;
    background-repeat: no-repeat;
    margin-left: 15px;
    width: 29px;
    height: 29px;
    display: inline-block;
}

.site-footer .ft-social-bar .gutentor-element-image-box {}

.site-footer .ft-social-bar .grid-row>.gutentor-single-column .gutentor-col-wrap {
    display: flex;
    gap: 15px;
    align-items: center;
}


.site-footer .widget i.fa.fa-phone {
    transform: rotate(90deg);
    margin-right: 8px;
}

.footer-widgets .widget {
    margin-bottom: 10px;
}

/* .footer-widgets .gutentor-social .inline-wrapper {
    justify-content: center;
} */

.footer-widgets .gutentor-social .gutentor-social-item>.gutentor-single-item {
    border-radius: 50px;
}

.footer-widgets .gutentor-social .gutentor-single-item-content a.gutentor-social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.copyright-bar {}


.entry-content ol,
.entry-content ul {
    margin: 0 0 1em 1em;
}

.entry-content ul.gutentor-grid-item-wrap {
    margin-left: 0px;
}

.entry-content ul.gutentor-grid-item-wrap li.gutentor-list-item {
    padding-left: 10px;
    padding-right: 10px;
}

.single-post .site-content {
    padding-top: 35px;
    padding-bottom: 35px;
}

.single-post .site-content .featured-image {
    padding: 0px;
    height: 500px;
    border-radius: 25px;
    overflow: hidden;
}

.single-post .site-content .featured-image img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.single-post .entry-header h1.entry-title {
    font-size: 32px;
}

.single-asiakasryhmat .site-content .featured-image {
    padding: 0px;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
}

.single-asiakasryhmat .site-content .featured-image img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.single-asiakasryhmat .entry-header h1.entry-title {
    font-size: 32px;
}

.site-main .post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 35px;
}

.entry-meta {
    font-size: 100%;
}

.social-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
    font-size: 32px;
    margin-top: 15px;
}

.social-heading img {
    max-width: 50px;
}

.error404 .site-content .site-main {
    padding: 35px 0px;
    text-align: center;
}

.footer-images>.gutentor-col-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.footer-images img {
    max-height: 100px;
    max-width: max-content;
}

.single-post .entry-meta .byline {
    display: none;
}

.front-post-wrapper article.gutentor-post-no-thumb {
    margin-bottom: 35px;
}


.front-post-wrap .gutentor-post:last-child .gutentor-post-item {
    border-bottom: 0px !important;
}

.front-post-wrap .gutentor-post .gutentor-post-item .gutentor-post-image-box .gutentor-image-thumb {
    height: 250px;
}


.front-post-wrap .gutentor-post .gutentor-post-item .gutentor-post-image-box .gutentor-image-thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

.front-social-nav .gutentor-single-item-title-link .gutentor-list-item-wrap {
    align-items: center !important;
}

.logo_wrapper .gutentor-single-column>.gutentor-col-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.logo_wrapper .gutentor-single-column>.gutentor-col-wrap img {
    max-height: 120px;
}

.team-wrapper .gutentor-image-thumb img {
    max-height: 300px;
    max-width: none;
    width: auto;
}

.logo-gallery .g-gm-item-wrap .gutentor-image-thumb {
    margin: 15px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.logo-gallery .g-gm-item-wrap .gutentor-image-thumb img {
    max-height: 80px;
}

.material-listing .gutentor-single-item-title a {
    color: #3f7eb3;
}

.team-wrapper .gutentor-single-item-content .gutentor-single-item-title a {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
}

.front-services-col .gutentor-single-item-image-box .gutentor-image-thumb {
    height: 280px;
    width: 100%;
}

.front-services-col .gutentor-single-item-image-box .gutentor-image-thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
}


@media (min-width:768px) {


    .main-navigation .main-nav ul li.nav-button {
        position: absolute;
        right: -80px;
        top: 0;
    }

    .main-navigation ul ul {
        text-align: center;
        left: 50% !important;
        transform: translateX(-50%);
        top: 100%;
        /* position below parent */
        position: absolute;
        white-space: wrap;
        /* optional to keep menu in one line */
        z-index: 9999;
        overflow: hidden !important;
    }

    .front-post-wrap .gutentor-post .gutentor-post-item .gutentor-post-image-box {
        width: 30% !important;
    }

    .front-post-wrap .gutentor-post .gutentor-post-item .gutentor-post-content {
        width: calc(100% - 30%) !important;
    }


}

@media (max-width:768px) {

    .main-navigation .main-nav>ul>li[class*="current-menu-"]>a:after {
        bottom: 0px;
    }

    .main-navigation.toggled .main-nav ul ul.toggled-on {
        left: 50% !important;
    }
}

@media (max-width:767px) {
    .col-line-wrap h3.gutentor-text {
        min-height: auto;
        margin-bottom: 15px;
    }

    .col-line-wrap .grid-row>.gutentor-single-column {
        border-right: 0px solid #FFF !important;
    }

    .col-line-wrap.last .grid-row>.gutentor-single-column {
        border-right: 0px solid #FFF;
        border-bottom: 1px solid #FFF;
    }

    .front-post-wrapper article.gutentor-post-no-thumb {
        margin-bottom: 25px;
    }


    .site-header .header-image {
        width: 140px;
    }

    .mob-border-none>.gutentor-col-wrap {
        border: 0px;
    }

    .top-bar {
        display: none;
    }

    .mob_none {
        display: none;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 22px;
    }

    .site-logo {
        top: 0px;
    }

    .main-navigation .main-nav ul ul li a {
        padding: 12px 0px;
    }

    .main-navigation .menu-bar-item {
        margin-right: 15px;
    }

    .site-header .header-widget {
        margin-top: 0px;
        margin-bottom: 10px;
    }

    .main-navigation .main-nav>ul {
        padding-bottom: 25px;
    }

    .main-navigation .main-nav ul li {
        text-align: center !important;
    }

    .main-navigation .main-nav ul li a {
        line-height: 45px;
    }

    .gutentor-social .inline-wrapper {
        justify-content: center !important;
    }

    .page__banner_section .banner-container {
        justify-content: center;
    }

    .page__banner_section {
        height: 220px;
    }

    .page__banner_section .banner-content {
        padding: 30px 15px 30px 15px;
        width: 80%;
    }

    .page__banner_section .banner-content .banner-heading h1 {
        font-size: 28px;
        line-height: 1;
    }

    .page__banner_section .banner-content .banner-heading h2 {
        font-size: 16px;
    }

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

    .site-footer .gutentor-social .inline-wrapper {
        justify-content: center;
    }

    .contact_form_wrapper {
        padding: 0px;
    }

    .contact_form_wrapper .field_row.half_field {
        flex-direction: column;
        gap: 0;
    }

    .contact_form_wrapper .field_row.half_field .field_item {
        /* flex: 0 0 50%; */
        width: 100%;
    }

    .inside-footer-widgets .footer-widget-1,
    .inside-footer-widgets .footer-widget-2 {
        flex: 1 1 0;
        width: auto;
    }

    .gutentor-gallery-item .gutentor-gallery-item-wrap .gutentor-single-item-image-box .gutentor-image-thumb {
        height: 120px;
    }

    .footer-images>.gutentor-col-wrap {
        justify-content: center;
    }

    .footer-images img {
        max-height: 70px;
    }

    .site-footer ul.menu li.menu-item {
        font-size: 16px;
    }

    .front-post-wrap .gutentor-post .gutentor-post-item {
        flex-direction: column;
    }

    .front-post-wrap .gutentor-post .gutentor-post-item .gutentor-post-image-box,
    .front-post-wrap .gutentor-post .gutentor-post-item .gutentor-post-content {
        width: 100% !important;
    }

    .logo_wrapper .gutentor-single-column>.gutentor-col-wrap {
        flex-wrap: wrap;
        gap: 10%;
    }

    .logo_wrapper .gutentor-single-column>.gutentor-col-wrap>.gutentor-element-image {
        flex: 0 0 40%;
        /* Two columns (50% each) */
        box-sizing: border-box;
        margin: 20px 0px;
    }

    .site-footer .ft-social-bar .grid-row>.gutentor-single-column .gutentor-col-wrap {
        justify-content: center;
    }

    .main-navigation.toggled .main-nav ul ul.toggled-on {
        left: auto !important;
    }

    .toggled .menu-item-has-children .dropdown-menu-toggle {
        position: absolute;
        right: 0;
    }

}