/*!
Theme Name: SDBX Studio
Theme URI: http://underscores.me/
Author: Craig Tran
Author URI: https://www.sdbxstudio.com
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sdbx-wp-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

SDBX Studio is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

body {
    font-family: 'acumin-variable', sans-serif;
    font-weight: 400;
    font-style: normal;
}

.fadein {
    opacity: 0;
}
article.post ul {
    list-style: disc !important;
}
article.post ol {
    list-style: number !important;
}
#glt-translate-trigger {
    background: #b57916 !important;
    font-family: brandon-grotesque, sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    font-size: 1rem;
}
.wave::before {
    content: url('/wp-content/themes/sdbx-wp-theme/assets/wave.svg');
}
.nf-form-content label {
    font-size: 16px !important;
}
/* Menu */
.logo.open {
    display: none;
}
.menu-button.active span:nth-of-type(1) {
    transform: translateY(0.5rem) rotate(-45deg);
}
.menu-button.active span:nth-of-type(2) {
    transform: translateX(1.5rem);
    opacity: 0;
}
.menu-button.active span:nth-of-type(3) {
    transform: translateY(-0.5rem) rotate(45deg);
}
.menu-overlay.open {
    transform: translateX(0);
}
.menu-overlay.open .menu-overlay__image img {
    animation: fadeIn 0.8s ease-in-out 0.6s forwards;
}
.menu-overlay.open .nav {
    animation: fadeIn 0.8s ease-in-out 0.2s forwards;
}
.nav__items:not(:first-child) {
    margin-top: 4rem;
}
.menu-item a {
    color: #181d5b;
    margin-top: 1rem;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease-in-out;
}
.menu-item a::before {
    content: '';
    height: 1px;
    width: 0;
    background-color: #181d5b;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: all 0.2s ease-in-out;
}
.menu-item a:hover,
.menu-item.current-menu-item a {
    padding-left: calc(2rem + 1rem);
}
.menu-item a:hover::before,
.menu-item.current-menu-item a::before {
    width: 2rem;
}
footer .menu-item a:hover,
footer .menu-item.current-menu-item a {
    padding-left: calc(1rem + 0.5rem);
}
footer .menu-item a:hover::before,
footer .menu-item.current-menu-item a::before {
    width: 1rem;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.nf-form-content button,
.nf-form-content input[type='button'],
.nf-form-content input[type='submit'] {
    background: #1a4999 !important;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
}
.nf-form-content button:hover,
.nf-form-content input[type='button']:hover,
.nf-form-content input[type='submit']:hover {
    background: #00adef !important;
    color: #fff !important;
}

/* Button */
button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

button.learn-more .round {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: transparent;
    border: 1px solid #00adef;
    border-radius: 1.625rem;
}
button.learn-more .round .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #1a4999;
}
button.learn-more .round .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}
button.learn-more .round .icon.arrow::before {
    position: absolute;
    content: '';
    top: -0.25rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #1a4999;
    border-right: 0.125rem solid #1a4999;
    transform: rotate(45deg);
}
button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #1a4999;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}
button:hover .round {
    width: 100%;
    background: #00adef;
}
button:hover .round .icon.arrow {
    background: blue;
    transform: translate(1rem, 0);
}
button:hover .button-text {
    color: #fff;
}
/* End Button */

.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}
/* Close Button */
.close-icon {
    margin: auto;
    text-align: center;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    position: relative;
    cursor: pointer;
}
.close-icon::before,
.close-icon::after {
    content: '';
    background: #000;
    position: absolute;
    height: 100%;
    width: 1px;
}
.close-icon.close-white::before,
.close-icon.close-white::after {
    background: #fff;
}
.close-icon::before {
    transform: rotate(45deg);
}
.close-icon::after {
    transform: rotate(-45deg);
}
/* Blog */
#ajax-load-more {
    padding: 0 2%;
    background: #f5f3ee;
}
.alm-btn-wrap {
    background: #f5f3ee;
    margin: 0 !important;
}

/* Default Template */
.page-template-default #text-main p strong {
    font-weight: 700;
    font-family: 'acumin-pro-condensed', 'sans-serif';
    font-size: 1.25rem;
}
.page-template-default #text-main a {
    color: #2784ad;
}
.page-template-default #text-main p {
    margin: 2rem 0;
}
.page-template-default #text-main p.highlight-text {
    display: inline;
    background: #17445f;
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: 600;
}
.page-id-22 img#page-icon {
    max-width: 80px !important;
}

/* Member Login Page */
#loginform-custom #user_login,
#user_pass {
    background: #f4f4f5;
    border: 1px solid #ef5ba1;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    width: 20rem;
    color: #013b82;
}
#loginform-custom .login-username,
.login-password {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
#loginform-custom label {
    color: #013b82;
}

.login-submit {
    margin-top: 1rem;
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
}
.login-submit {
    width: 10rem;
    height: auto;
}
.login-submit .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #fff;
    border-radius: 1.625rem;
    border: 1px solid #00adef;
}
.login-submit .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}
.login-submit .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}
.login-submit .circle .icon.arrow::before {
    position: absolute;
    content: '';
    top: -0.25rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #1a4999;
    border-right: 0.125rem solid #1a4999;
    transform: rotate(45deg);
}
.login-submit .button-primary {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #1a4999;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}
.login-submit:hover .circle {
    width: 100%;
    background: #00adef;
}
.login-submit:hover .circle .icon.arrow {
    background: #1a4999;
    transform: translate(1rem, 0);
}
.login-submit:hover .button-primary {
    color: #fff;
    z-index: 9;
}
.nf-form-content .list-select-wrap .nf-field-element > div,
.nf-form-content input:not([type='button']),
.nf-form-content textarea {
    border: 1px solid #ef5ba1 !important;
    border-radius: 0.25rem !important;
}
.nf-form-content input[type='submit'] {
    border-radius: 0.25rem !important;
    border: none !important;
    cursor: pointer;
}

@media only screen and (min-width: 767px) {
}
/* Medium devices (landscape tablets, 1024px and up) */
@media only screen and (min-width: 1024px) {
}

/* Large desktop */
@media only screen and (min-width: 1280px) {
}
@media only screen and (min-width: 1440px) {
}

@media (max-width: 1024px) {
    .menu-item a:hover,
    .menu-item.current-menu-item a {
        padding-left: calc(1rem + 1rem);
    }
    .menu-item a:hover::before,
    .menu-item.current-menu-item a::before {
        width: 1rem;
    }
    .remove-mobile {
        display: none;
    }
    #loginform-custom #user_login,
    #user_pass {
        width: 16rem;
    }
}

/* Slider */

/* Slider */
.slick-slider {
    position: relative;
    width: 100%;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-list:focus {
    outline: none;
}

.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    max-height: 731px;
    overflow: hidden;
}

.slick-track:before,
.slick-track:after {
    display: table;
    content: '';
}

.slick-track:after {
    clear: both;
}

.slick-loading .slick-track {
    visibility: hidden;
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
    width: 100%;
    border-radius: 0.375rem;
}
.slick-slide:focus,
.slick-slide:hover {
    outline: 0;
}

[dir='rtl'] .slick-slide {
    float: right;
}

.slick-slide img {
    display: block;
    height: auto;
    width: 100%;
}

.slick-slide.slick-loading img {
    display: none;
}

.slick-slide.dragging img {
    pointer-events: none;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-loading .slick-slide {
    visibility: hidden;
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
    display: none;
}

/* Slider */
.slick-loading .slick-list {
    background: #fff url('./ajax-loader.gif') center center no-repeat;
}

/* Arrows */
.slick-prev,
.slick-next {
    font-size: 0;
    line-height: 0;
    height: 100%;
    position: absolute;
    top: 50%;
    display: block;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
    color: transparent;
    outline: none;
    background: transparent;
}

.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before {
    opacity: 1;
}

.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before {
    opacity: 0.25;
}

.slick-prev:before,
.slick-next:before {
    font-size: 1rem;
    line-height: 1;
    content: '';
    background-image: url(./assets/arrow-next.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.slick-prev:before {
    background-image: url(./assets/arrow-prev.svg);
}

.slick-prev {
    left: 1.5%;
    z-index: 1;
}

[dir='rtl'] .slick-prev {
    right: 0;
    left: auto;
}

.slick-prev:before {
    content: '';
}

[dir='rtl'] .slick-prev:before {
    content: '';
}

.slick-next {
    right: 1.5%;
}

[dir='rtl'] .slick-next {
    right: auto;
    left: 0;
}

.slick-next:before {
    content: '';
}

[dir='rtl'] .slick-next:before {
    content: '';
}

/* Dots */
.slick-dotted.slick-slider {
    margin-bottom: 0;
}

.slick-dots {
    position: absolute;
    bottom: 16px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}

.slick-dots li {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 8px;
    padding: 0;
    cursor: pointer;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 16px;
    height: 16px;
    padding: 8px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
    outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
    opacity: 1;
}

.slick-dots li button:before {
    font-family: 'FontAwesome';
    font-size: 16px;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    content: '';
    text-align: center;
    opacity: 0.25;
    color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: opacity 0.25s;
}

.slick-dots li.slick-active button:before {
    opacity: 0.75;
    color: black;
}

@keyframes scale {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1) rotate(0.01deg);
    }
}

@media screen and (min-width: 640px) {
    .slick-prev:before,
    .slick-next:before {
        font-size: 2.5rem;
    }
}

/* Flowchart styles */
.flow-list ol {
    counter-reset: flow-counter;
    list-style: none;
    padding: 0;
    margin: 0;
}

.flow-list li {
    counter-increment: flow-counter;

    display: flex;
    align-items: center;
    gap: 1.5rem;

    background: #fff;
    border-radius: 0.25rem;

    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;

    color: #21479b;
    font-size: 1.35rem;
    line-height: 1.25;

    /* subtle shadow */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 8px 20px rgba(0, 0, 0, 0.04);

    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.flow-list li:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08), 0 12px 28px rgba(0, 0, 0, 0.06);

    transform: translateY(-2px);
}

.flow-list li::before {
    content: counter(flow-counter);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 3rem;
    min-width: 3rem;

    font-family: Georgia, serif;
    font-size: 3rem;
    line-height: 1;

    font-variant-numeric: lining-nums tabular-nums;
    font-feature-settings: 'lnum', 'tnum';

    color: #ec5aa6;
}

.flow-list li:nth-child(even)::before {
    color: #00aeef;
}

@media (max-width: 768px) {
    .flow-list li {
        gap: 1rem;
        padding: 1.25rem;
        font-size: 1.05rem;
    }

    .flow-list li::before {
        width: 2.25rem;
        min-width: 2.25rem;
        font-size: 2.25rem;
    }
}
