.qodef-main-menu li:hover .second,
.qodef-main-menu li:focus-within .second {
    opacity: 1 !important;
    overflow: visible !important;
    visibility: visible !important;
    height: auto !important;
}

.qodef-main-menu .second li.menu-item-has-children:hover ul,
.qodef-main-menu .second li.menu-item-has-children:focus-within ul {
    opacity: 1 !important;
    z-index: 20 !important;
}

.qodef-main-menu-line {
    display: none !important;
}

.qodef-main-menu > ul > li {
    border-top: 2px solid transparent;
}

.qodef-main-menu > ul > li:hover,
.qodef-main-menu > ul > li:focus-within {
    border-top: 2px solid #000;
}

.qodef-main-menu.qodef-drop-down .second {
    top: calc(100% - 2px) !important;
}

/* Base style */
button,
a,
input,
textarea {
  transition: box-shadow 0.2s ease, outline 0.2s ease;
}

/* Focus style */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none; /* remove default outline */
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.6); /* glowing ring */
  border-radius: 4px;
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 25px;
    background: #000;
    color: #fff;
    padding: 8px;
    z-index: 999099;
}
.skip-link:focus {
    top: 40px;
}

/** Ensure next/prev buttons also change color on focus */
.qodef-owl-slider .owl-nav .owl-prev:focus, .qodef-owl-slider .owl-nav .owl-next:focus {
    color: #2f65a7;
}

.qodef-portfolio-list-holder.qodef-pl-gallery-slide-from-image-bottom article:focus-within .qodef-pli-text-holder, .qodef-portfolio-list-holder.qodef-pl-gallery-slide-from-image-bottom article:focus-within .qodef-pli-text-wrapper {
    transform: translateY(0);
}

.qodef-portfolio-list-holder.qodef-pl-gallery-slide-from-image-bottom article:focus .qodef-pli-text-holder, .qodef-portfolio-list-holder.qodef-pl-gallery-slide-from-image-bottom article:focus .qodef-pli-text-wrapper {
    transform: translateY(0);
}

.qodef-portfolio-list-holder article .qodef-pli-link {
    color: transparent;
}

.simple-banner {
    z-index: 99999 !important;
}

.qodef-portfolio-single-holder h1.qodef-ps-title {
    color: #000;
}

html {
    scroll-behavior: smooth;
}

.qodef-container > main {
    padding-top: 70px;
    padding-bottom: 40px;
}

@media (prefers-reduced-motion: reduce) {
    .qodef-section-title-holder .qodef-st-title .qodef-st-title-emphasize.-show>span {
        transition: none !important;
    }

    .qodef-text-with-number-holder.-show .qodef-num {
        transition: none !important;
    }
}

@media only screen and (max-width: 1445px) {
    .qodef-main-menu>ul>li>a {
        padding: 0px 14px !important;
    }
}

@media only screen and (max-width: 1200px) {
    .qodef-page-header {
        display: none !important;
    }

    .qodef-mobile-header {
        display: block !important;
    }
}

@media only screen and (max-width: 500px) {
    .qodef-mobile-logo-wrapper > a {
        height: 42px !important;
    }
}