/*
Theme Name: GG Child Theme
Theme URI:
Description: Wordpress Child Theme based on new-theme
Author: Deividas Gabrielaitis
Requires at least: 5.7.4
Tested up to: 6.4.2
Requires PHP: 8.0
Version: 0.1
Template: new-theme
Text Domain: gg-new-theme
*/

html body {
    font-family: 'Roboto', sans-serif;
    color: #fff;
}
html body .bg-white {
    color: #000;
}

#main-menu {
    gap: 26px;
}
#main-menu li.has-children {
    padding: 0 !important;
}
#main-menu .menu-block {
    margin: 0;
}
html body header .container nav .menu-main-menu-container #main-menu li a {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 20px !important;
    margin: 0 !important;
    border-radius: 5px;
    border: none !important;
}
html body header .container nav .menu-main-menu-container #main-menu li:not(.red-background) a:hover,
html body header .container nav .menu-main-menu-container #main-menu li:not(.red-background) a.current-menu-item {
    color: var(--color-gg-red) !important;
}
html body header .container nav .menu-main-menu-container #main-menu li.red-background a {
    background: var(--color-gg-red);
}
footer ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
html b,
html strong {
    font-weight: 700;
}

.homepage-case-study-image img {
    max-height: 185px;
    width: 100%;
    object-fit: cover;
}
.hero-form-block form,
.contact-form-block form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 740px;
    width: 100%;
}
.hero-form-block .form-row p,
.contact-form-block .form-row p {
    display: flex;
    gap: 30px;
}
.hero-form-block .form-row p > *,
.contact-form-block .form-row p > * {
    width: 100%;
}
.hero-form-block .form-row span,
.contact-form-block .form-row span {
    width: 100%;
}
.hero-form-block .form-row textarea,
.contact-form-block .form-row textarea,
.hero-form-block .form-row input[type="url"],
.contact-form-block .form-row input[type="url"],
.hero-form-block .form-row input[type="text"],
.contact-form-block .form-row input[type="text"],
.hero-form-block .form-row input[type="email"],
.contact-form-block .form-row input[type="email"] {
    padding: 20px;
    border: 1px solid #fff;
    border-radius: 10px;
    font-size: 12px;
    line-height: 12px;
    width: 100%;
    font-weight: 400;
}
.hero-form-block .form-row input::placeholder,
.contact-form-block .form-row input::placeholder,
.hero-form-block .form-row textarea::placeholder,
.contact-form-block .form-row textarea::placeholder {
    color: #fff;
}
.contact-form-block input[type="submit"] {
    margin-top: 30px;
    padding: 8px 20px;
    background: var(--color-gg-red);
    color: #fff;
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
}

@media all and (max-width: 768px) {
    .contact-form-block .form-row p {
        flex-direction: column;
        gap: 20px;
    }
}

.about-us-career-block .background-image img {
    height: 100%;
}

.clients-scroll-wrapper {
    display: flex;
    animation: scroll-infinite 25s linear infinite;
    width: fit-content;
}
@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333333%);
    }
}
.clients-scroll-wrapper:hover {
    animation-play-state: paused;
}

.custom-textarea ul li {
    list-style: disc;
    margin-left: 20px;
}
.custom-textarea ol li {
    list-style: decimal;
    margin-left: 20px;
}
.faq-accordion-item.open .faq-accordion-content {
    max-height: 300px;
}
.faq-accordion-item.open .faq-arrow {
    transform: rotate(-90deg);
}
.mega-menu {
    left: 0;
    right: 0;
    max-width: 100% !important;
}
.mega-menu .mega-menu-wrapper {
    background: #000;
}
li.has-children.open a.menu-item-has-children span {
    font-size: 14px !important;
}
@media all and (min-width: 1280px) {
    .mega-menu .mega-menu-wrapper {
        border: 1px solid #fff;
    }
}
@media all and (max-width: 1279px) {
    .mega-menu .mega-menu-wrapper {
        padding-bottom: 0 !important;
    }
    .mega-menu .mega-menu-wrapper .menu-block {
        margin-bottom: 0 !important;
    }
}
li.has-children .has-children-icon svg {
    fill: #fff;
}
a.external-link::before {
    display: none;
}
.main-menu li.has-children {
    padding-left: 0 !important;
}
figure.wp-block-table,
body figure table td {
    background: #000;
}
body .content #rank-math-faq .rank-math-list-item > * {
    padding: 12px 36px !important;
    color: #000;
    position: relative;
}
