/**
Theme Name: Netkinetix
Author: Netkinetix
Author URI: https://www.netkinetix.com/
Description: Astra child theme for Netkinetix 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: netkinetix
Template: astra
*/
.netk_text-red {
    color: var(--ast-global-color-0);
}

.netk_text-white {
    color: var(--ast-global-color-4)
}

.netk_text-blue {
    color: var(--ast-global-color-5);
}

.netk_text-dark-blue {
    color: var(--ast-global-color-3);
}


.netk_text-dark {
    color: var(--ast-global-color-1);
}

.netk_pill {
    max-width: fit-content;
    border-radius: 30px;
    line-height: 1;
}

.cursor-pointer {
    cursor: pointer;
}

.grecaptcha-badge[data-style="bottomright"] {
    display: none;
}

.loading-spinner {
    width: 48px !important;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: var(--ast-global-color-1);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 

.home .content-inner {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.home .content-inner.loaded {
  opacity: 1;
}

.home .hero-services-list .wp-block-uagb-icon-list-child {
    background-color: #f5f5f5cc;
    border: 2px solid var(--ast-global-color-0);
    border-radius: 30px;
    padding: 10px 30px;
    width: 250px;
}

.home .hero-services-list .wp-block-uagb-icon-list-child:hover {
    background-color: #f5f5f5;
}

.home .technologies-wrap {
    position: absolute;
    bottom: 0;
}

.home-contact-form .srfm-block-label,
.home-contact-form .srfm-description {
    color: var(--ast-global-color-4) !important;
}

.home-contact-form .srfm-input-common {
    background-color: var(--ast-global-color-4) !important;
}

.core-services-tiles-wrap .uagb-post-grid-byline,
.case-study-carousel .uagb-post-grid-byline {
    display: none;
}

.core-services-tiles-wrap .uagb-post__inner-wrap.hentry {
    margin-bottom: 0;
}

.core-services-tiles-wrap .wp-block-uagb-post-grid.is-grid {
    grid-template-columns: repeat(3, minmax(0, 200px));
    justify-content: center;
}

.core-services-tiles-wrap .services-grid-item {
    aspect-ratio: 1;
    transition: transform .2s ease-in-out;
    cursor: pointer;
    box-shadow: 0 8px 12px rgba(0,0,0,.12);
    border-radius: 8px;
}

.core-services-tiles-wrap .wp-block-uagb-post-grid.is-grid .uagb-post__inner-wrap {
    width: 100%;
    height: 100%;
}

.core-services-tiles-wrap .services-grid-item .uagb-post__inner-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 4px;
}

.core-services-tiles-wrap .services-grid-item.active .uagb-post__inner-wrap {
    border-color: var(--ast-global-color-0);
    border-width: 2px;
}

.core-services-tiles-wrap .services-grid-item .services-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.core-services-tiles-wrap .services-grid-item .services-icon img {
    width: 100px;
    height: 100px;
}

.core-services-tiles-wrap .services-grid-item .uagb-post__title {
    pointer-events: none;
}

.core-services-tiles-wrap .services-content-wrap {
    height: 100%;
}

.core-services-tiles-wrap .services-content-wrap p {
    font-size: 20px;
}

.selected-service-content .ast-custom-button {
    background-color: transparent;
    color: var(--ast-global-color-5);
    border: 2px solid var(--ast-global-color-5);
}

.selected-service-content .ast-custom-button:hover {
    background-color: var(--ast-global-color-5);
    color: var(--ast-global-color-4);
    border: 1px solid var(--ast-global-color-5);
}

.services-content-wrap .service-children-list {
    margin-left: 10px;
}

/* .case-study-carousel .uagb-post__image {
    height: 275px;
} */

.case-study-carousel .uagb-post__inner-wrap {
    height: 450px;
    position: relative;
}

.case-study-carousel .uagb-post__inner-wrap .uagb-post__cta {
    position: absolute;
    left: 25%;
    bottom: 5px;
}

.case-study-carousel .uagb-post__image a {
    display: inline-block;
    height: 100%;
}

.case-study-carousel .uagb-post__image a img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.case-study-carousel .uagb-post__title {
    font-size: 1.3rem;
}

.case-study-carousel .slick-dots button,
.case-study-carousel .slick-arrow {
    box-shadow: none !important;
}
/*==========================================================*/

.services-selector .uagb-icon-list__wrap {
    width: 100%;
    justify-content: space-between !important;
}

.services-selector .uagb-icon-list__wrap .cursor-pointer {
    text-decoration-color: var(--ast-global-color-5);
}

.services-selector .uagb-icon-list__wrap .cursor-pointer:hover,
.services-selector .uagb-icon-list__wrap .single-selector.active {
    text-decoration: underline;
    text-decoration-color: var(--ast-global-color-5);
    text-decoration-thickness: 2px;
}

/*==========================================================*/

.our-technologies .swiper-slide {
    display: flex;
    justify-content: center;
}

.icon-red-bg svg {
    background: radial-gradient(var(--ast-global-color-0) 50%, var(--ast-global-color-5) 60%)
}

.request-consultation .hero-list a {
    text-decoration: underline;
}

.request-consultation .hero-list a:hover {
    text-decoration: none;
}

.build-vs-buy-table thead tr th {
    background-color: var(--ast-global-color-1);
    color: var(--ast-global-color-4);
}

.build-vs-buy-table tbody tr:not(:last-child) td {
    border-bottom: 1px solid var(--ast-global-color-1);
}

.build-vs-buy-table thead tr th,
.build-vs-buy-table tbody tr td {
    padding: .75em;
}

.ps-solution-card,
.creating-a-web-application .industry-card  {
    position: relative !important;
    cursor: pointer;
}

.ps-solution-card .uagb-buttons__outer-wrap,
.ps-solution-card > .wp-block-uagb-container,
.creating-a-web-application .industry-card .wp-block-uagb-buttons {
    position: unset !important;
}

.ps-solution-card a::after,
.creating-a-web-application .industry-card a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.creating-a-web-application .industry-card a .uagb-button__icon {
    transition: transform .2s ease-in-out;
}

.creating-a-web-application .industry-card:hover a .uagb-button__icon {
    transform: translateX(4px);
}

/* Post Type Archive */
.ast-article-post .post-thumb-img-content img {
    object-fit: contain;
}

.archive .entry-title {
    text-align: center;
}

.post-type-archive-netk_services .services-grid-item .uagb-post__inner-wrap {
    height: 100% !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    transition: transform .2s ease-in-out, border .2s ease-in-out;
}

.post-type-archive-netk_services .services-grid-item .uagb-post__inner-wrap:hover {
    transform: translateY(-4px);
    border-top: 2px solid rgba(179, 0, 27, .75);
}

.post-type-archive-netk_services .services-grid-item .services-icon {
    padding: 10px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.post-type-archive-netk_services .services-grid-item .uagb-post__inner-wrap .uagb-post__cta a {
    box-shadow: none;
    font-weight: 600;
}

.post-type-archive-netk_services .services-grid-item .uagb-post__inner-wrap .uagb-post__cta a::after {
    content: '';
    background-image: url('./assets/images/icon_blue_arrow-forward.svg');
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 7px;
    background-size: contain;
    vertical-align: middle;
    transition: transform .2s ease-in-out;
}

.post-type-archive-netk_services .services-grid-item .uagb-post__inner-wrap:hover .uagb-post__cta a::after {
    transform: translateX(4px);
}

.post-type-archive-netk_services .services-grid-item .service-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.post-type-archive-netk_services .services-grid-item .uagb-post__inner-wrap .service-title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.post-type-archive-netk_services .services-grid-item .uagb-post-grid-byline {
    display: none;
}

.post-type-archive-netk_services .services-grid-item .uagb-post__cta {
    display: block;
    margin-top: 2em;
    margin-bottom: 1em;
}

.case-study-contact-form a {
    /* text-shadow: 0 1px 2px rgba(0,0,0,.55); */
    text-decoration: underline;
    text-underline-offset: 2px;
}

.case-study-contact-form .contact-option-list li::marker {
    color: var(--ast-global-color-0);
}

/*Sure Forms*/
.srfm-form-container.remove-row-gap .srfm-form {
    row-gap: 0 !important;
}

.request-whitepaper-form .srfm-submit-button {
    border: 1px solid var(--ast-global-color-5);
}

.request-whitepaper-form .srfm-input-common:hover,
.request-whitepaper-form .srfm-input-common:focus {
    border-color: var(--srfm-color-input-border) !important;
}

.request-whitepaper-form .srfm-submit-button:hover {
    background-color: var(--ast-global-color-5);
    color: var(--ast-global-color-4);
}

/* Archive Page(s) */
.post-type-archive-netk_casestudy .post-grid__case-studies .uagb-post__inner-wrap img {
    object-fit: contain;
    height: unset !important;
}

.post-type-archive-netk_casestudy .post-grid__case-studies .uagb-post__inner-wrap {
    display: flex;
    flex-direction: column;
}

.post-type-archive-netk_casestudy .post-grid__case-studies .uagb-post__inner-wrap .uagb-post-grid-byline{
    display: none;
}

.post-type-archive-netk_casestudy .post-grid__case-studies .uagb-post__inner-wrap .uagb-post__title {
    margin-bottom: 1.5em;
}

.post-type-archive-netk_casestudy .post-grid__case-studies .uagb-post__inner-wrap .wp-block-button {
    margin-top: auto;
}

.post-type-archive-netk_casestudy .uagb-post-grid.is-grid.uagb-post__image-position-top .uagb-post__image a.uagb-image-ratio-2-3 {
    padding-bottom: 58%;
}

/* Home hero linked/landing pages */
.service-card-wrap .service-card .wp-block-uagb-buttons {
    margin-top: auto;
}


/* Site Builder Layouts */
.netk_our-process .process-column .process-line {
    position: absolute !important;
    top: 50px;
    left: 110px;
    z-index: 0;
    width: calc(100% - 80px) !important;
}

.netk_our-process .process-column .process-line .wp-block-uagb-separator__inner {
    width: 100% !important;
}

/* Hide cookie yes label */
div[data-cky-tag="powered-by"],
div[data-cky-tag="optout-powered-by"] {
    display: none !important;
}


/* Responsive */
/* Tablet */
@media screen and (max-width: 1100px) {
    /* General */
    .entry-content p.tab-mb-1 {
        margin-bottom: 4px;
    }
}

@media screen and (max-width: 1150px) {
    .home .why-netk-contact-wrap {
        flex-wrap: wrap;
    }

    .home .why-netk-contact-wrap .wp-block-uagb-container {
        max-width: 100%;
    }

    .home .why-netk-contact-wrap .wp-block-uagb-container:first-child {
        flex-grow: 1;
    }

    .home .why-netk-contact-wrap .wp-block-uagb-buttons .uagb-buttons__wrap {
        justify-content: flex-start;
    }

    .core-services-tiles-wrap .wp-block-uagb-post-grid.is-grid {
        grid-template-columns: repeat(3, minmax(0, 170px));
        justify-content: center;
    }

    .home .selected-service-content {
        margin-top: 25px;
    }

    .home .content-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 700px;
    }

    .home .content-inner h2, 
    .home .content-inner p,
    .home .content-inner a {
        text-align: center;
    }

    .case-study-carousel .uagb-post__image {
        height: 175px;
    }

    .case-study-carousel .uagb-post__inner-wrap {
        height: 350px;
    }

    .case-study-carousel .uagb-post__image a img {
        object-fit: contain;
    }

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

    .hero-landing-page .why-netk-card-wrap .why-netk-card .icon-wrap {
        flex: 0 0 20%
    }

    .hero-landing-page .why-netk-card-wrap .why-netk-card .wp-block-uagb-advanced-heading {
        min-height: 48px;
        margin-bottom: 0.8em;
        display: flex;
        align-items: center;
    }

    .hero-landing-page .why-netk-card-wrap .why-netk-card .wp-block-uagb-advanced-heading .uagb-heading-text {
        line-height: 1em !important;
    }

    /* Public Sector solution cards */
    /* Text/Container */
    .ps-solution-card .wp-block-uagb-container:first-child {
        order: 2;
        justify-content: flex-start;
        height: calc(100% - 200px);
    }

    .ps-solution-card .wp-block-uagb-container:first-child .wp-block-uagb-advanced-heading {
        min-height: 48px;
        display: flex;
        align-items: center;
        margin-bottom: 0.8em;
    }

    .ps-solution-card .wp-block-uagb-container:first-child .wp-block-uagb-buttons {
        margin-top: auto;
    }

    /* Image/Container */
    .ps-solution-card .wp-block-uagb-container:nth-child(2) {
        order: 1;
        height: 200px;
        overflow-y: hidden;
    }

    .ps-solution-card .wp-block-uagb-container:nth-child(2) .wp-block-uagb-image {
        height: 100%;
    }

    .ps-solution-card .wp-block-uagb-container:nth-child(2) .wp-block-uagb-image.alignright {
        margin-left: 0;
    }

    .ps-solution-card .wp-block-uagb-container:nth-child(2) img {
        object-fit: cover;
    }

    /* The following need important tags to override the inline
    styles wordpress puts on the element */
    .remove-padding-tablet {
        padding: 0 !important;
    }

    .px-100-tablet {
        padding-left: 100px !important;
        padding-right: 100px !important;
    }
}

@media screen and (max-width: 1150px) and (min-width: 767px) {
    .technologies .section-summary {
        padding-left: 25px;
        padding-right: 25px;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    /* Home */
    .home .mobile-invert-wrap .left-col {
        order: 2;
    }

    .home .mobile-invert-wrap .right-col {
        order: 1;
    }

    .home .why-netk-contact-wrap .wp-block-uagb-buttons .uagb-buttons__wrap {
        justify-content: center;
    }

    .home .core-services-tiles-wrap .wp-block-uagb-post-grid.is-grid {
        display: flex;
        justify-content: flex-start;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }

    .home .core-services-tiles-wrap .wp-block-uagb-post-grid.is-grid .services-grid-item {
        width: calc((100vw - 100px)/2);
        height: 170px;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .core-services-tiles-wrap .services-grid-item {
        box-shadow: none;
    }

    .core-services-tiles-wrap .services-content-wrap p {
        font-size: 16px;
    }

    .request-consultation .what-happens-next-list-wrap .uagb-icon-list__source-wrap {
        margin-top: 8px;
    }

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

    .hero-landing-page .why-netk-card-wrap .why-netk-card .wp-block-uagb-advanced-heading {
        justify-content: center;
    }
	
	.btn_text-center-mobile .uagb-button__link {
		text-align: center;
	}
	
    /* The following need important tags to override the inline
    styles wordpress puts on the element */
    .remove-padding-mobile {
        padding: 0 !important;
    }
}