.header-right.module .jt-search-wrap nav {
    height: 8em;
    position: relative;
    margin: 0;
}

.header-right.module #port_search .jt-search-wrap .btn.search-btn {
    width: 40px !important;
    height: 40px !important;
    max-height: none;
    border-radius: 100% !important;
    border: none !important;
    font-size: 1.2em !important;
    cursor: pointer !important;
    transition: background-color 300ms ease-in, color 300ms ease-in !important;
    line-height: 1 !important;
    padding: 0px !important;
    display: block !important;
    place-items: center !important;
    margin-left: auto !important;
    align-self: flex-start !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    z-index: 10 !important;
}

.header-right.module .mod-jtsearch.form-search {
    height: 100%;
}

.header-right.module .jt-search-wrap .btn.btn-primary {
    position: absolute;
    width: 6em;
    height: 2em;
    right: 4em;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 0%;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    transition: background-color 300ms ease-in, color 300ms ease-in;
    padding: 1rem;
}

.header-right.module .jt-search-wrap .search-btn {
    background-color: #222;
    color: #fff;
}

.header-right.module #port_search .jt-search-wrap .search-btn:hover {
    color: #fff;
    background: var(--accent-orange);
}

.header-right.module .jt-search-wrap nav button.btn.search-btn {
    color: #fff;
    background-color: #222;
}

.header-right.module .btn.search-btn i.ti-ti-search {
    color: #fff;
    font-size: 1.2em !important;
}

.header-right.module .jt-search-wrap .close-btn {
    color: #fff;
    background-color: transparent;
    position: absolute;
    right: 30px;
    font-size: 1.5em;
    display: none;
    line-height: 1;
    padding: 5px;
}

.header-right.module .jt-search-wrap .close-btn:hover {
    background-color: #555;
    color: #fff;
}

.header-right.module .jt-search-wrap .jt-search.container {
    position: fixed !important;
    top: -100% !important;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1392px;
    min-width: 1206px;
    height: 100px !important;
    background-color: #222 !important;
    opacity: 0 !important;
    transition: all 300ms ease-in-out !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-right.module .jt-search-wrap .jt-search.container.show {
    top: 120px !important;
    height: 100px !important;
    opacity: 1 !important;
    transition: top 200ms ease-in, opacity 300ms ease-out 200ms !important;
    z-index: 99 !important;
}

.header-right.module .jt-search-wrap .jt-search.container.show .close-btn {
    display: block;
}

.header-right.module .jt-search-wrap .inner {
    margin: 0 15px !important;
    width: 70%;
}

/**********NOSTYLE***********/
.header-right.module .jt-search-wrap.nostyle {
    position: relative;
    align-self: flex-start;
}

.header-right.module .jt-search-wrap.nostyle nav {
    height: 38px;
    position: relative;
    margin: 0;
}

.header-right.module .jt-search-wrap .jt-search.container.nostyle {
    position: fixed !important;
    top: -100% !important;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 300px;
    height: 105px !important;
    background-color: #222 !important;
    opacity: 0 !important;
    transition: none !important;
    z-index: 999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-right.module .jt-search-wrap .jt-search.container.show-nostyle {
    top: 120px !important;
    height: 105px !important;
    opacity: 1 !important;
    transition: none !important;
}

.header-right.module .jt-search-wrap.nostyle .search-btn {
    z-index: 9;
    top: 50%;
    transform: translateY(-50%);
}

.header-right.module .jt-search-wrap.nostyle .close-btn {
    top: 0;
    z-index: 1;
    display: none;
    width: 34px;
    height: 38px;
    border-radius: 0px;
    transform: translateY(-100%);
}

.header-right.module .jt-search-wrap.nostyle .jt-search.container.show-nostyle .close-btn {
    display: inherit;
}

.header-right.module .jt-search-wrap.nostyle .search-btn,
.header-right.module .jt-search-wrap.nostyle .close-btn {
    color: #fff;
    background-color: #222;
    right: 0;
    font-size: 1rem;
    width: 34px;
    height: 38px;
    border-radius: 0px;
}

.header-right.module .jt-search-wrap.nostyle .btn.btn-primary {
    position: absolute;
    width: 34px;
    height: 38px;
    right: 0em;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 0%;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 300ms ease-in, color 300ms ease-in;
    background: #fff;
    color: #1e1e1e;
    display: grid;
    place-items: center;
    border-radius: 0px 3px 3px 0px;
    padding: 0;
}

.header-right.module .jt-search-wrap.nostyle .mod-jtsearch .awesomplete input[type="text"] {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    height: 38px;
    width: 225px;
    font-size: 1rem;
    background-color: #fff;
    border: 1px solid rgba(255, 255, 255, 1);
    outline: none;
    caret-color: #fff;
    color: #666;
    border-radius: 3px 0px 0px 3px;
    left: 0px;
}

.header-right.module .jt-search-wrap.nostyle .mod-jtsearch .awesomplete {
    display: block;
    width: 100%;
    height: 105px;
}

.header-right.module .jt-search-wrap.nostyle .mod-jtsearch .awesomplete input:focus {
    border: 2px solid blue;
    outline: 1.5px solid #fff;
}

.header-right.module .jt-search-wrap.nostyle .btn.btn-primary {
    margin-left: 0px !important;
}

.header-right.module .jt-search-wrap.nostyle input.js-finder-search-query::placeholder {
    color: #666;
}

.header-right.module .jt-search-wrap.nostyle .btn.btn-primary:hover {
    opacity: 1;
}

/******************************************/
.header-right.module .jt-search-wrap .mod-jtsearch .awesomplete input[type="text"] {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 80%;
    font-size: 20px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    outline: none;
    caret-color: #fff;
    color: #fff;
}

.header-right.module .jt-search-wrap input[type="text"] {
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    left: 10%;
    width: 80%;
    font-size: 1.5rem;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    outline: none;
    caret-color: #fff;
    color: #fff;
}

.header-right.module .jt-search-wrap input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Fira Sans', sans-serif;
}

.header-right.module .mod-jtsearch .awesomplete {
    display: block;
    width: 100%;
    position: relative;
    z-index: 100;
}

.header-right.module .mod-jtsearch .awesomplete > ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 101;
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fff;
    border: 1px solid #444;
    border-radius: 0.3em;
    box-shadow: 0 0.2em 0.6em rgba(0,0,0,0.2);
    min-height: 50px;
    height: auto;
    max-height: 200px;
    overflow-y: auto;
    font-family: 'Fira Sans', sans-serif;
}

.header-right.module .mod-jtsearch .awesomplete > ul:empty {
    display: none;
}

.header-right.module .mod-jtsearch .awesomplete > ul > li {
    position: relative;
    padding: 0.2em 0.5em;
    cursor: pointer;
    background: #222;
}

.header-right.module .mod-jtsearch .awesomplete > ul > li:hover {
    background: #333;
    color: #fff;
}

.header-right.module .mod-jtsearch .awesomplete > ul > li[aria-selected="true"] {
    background: #444;
    color: #fff;
}

.header-right.module .mod-jtsearch .awesomplete mark {
    background: #555;
    color: #fff;
}

.header-right.module .mod-jtsearch .awesomplete li:hover mark {
    background: #666;
}

.header-right.module .mod-jtsearch .awesomplete li[aria-selected="true"] mark {
    background: #777;
    color: #fff;
}

@media (max-width: 1235px) {
    .header-right.module .jt-search-wrap .jt-search.container.show {
        top: 100px !important;
    }
    .header-right.module .jt-search-wrap .jt-search.container {
        min-width: 0;
        height: 80px !important;
        background-color: #222 !important;
    }
    .header-right.module .mod-jtsearch .awesomplete {
        position: relative;
    }
    .header-right.module .mod-jtsearch .awesomplete > ul {
        max-height: 150px;
        width: 100%;
    }
    .header-right.module .jt-search-wrap .jt-search.container.show {
        top: 95px !important;
    }
    .header-right.module .jt-search-wrap .jt-search.container.nostyle {
        max-width: 90%;
        height: 90px !important;
        background-color: #222 !important;
    }
    .header-right.module .jt-search-wrap .jt-search.container.show-nostyle {
        top: 90px !important;
    }
    .header-right.module .jt-search-wrap .inner {
        margin: 0 20px !important;
        width: 70%;
    }
    .header-right.module .jt-search-wrap .btn.btn-primary {
        width: 4em;
        height: 1.5em;
        right: 20px;
        font-size: 1.5rem;
        color: #fff;
        background-color: #444;
    }
    .header-right.module .jt-search-wrap input[type="text"] {
        font-size: 1.2rem;
        width: 70%;
        color: #fff;
    }
    .header-right.module .jt-search-wrap .close-btn {
        right: 20px;
        top: 50px;
        color: #fff;
        z-index: 100;
    }
}

@media (max-width: 576px) {
    .header-right.module .jt-search-wrap .jt-search.container {
        max-width: 100%;
        padding: 0 10px;
        height: 70px !important;
        background-color: #222 !important;
    }
    .header-right.module .jt-search-wrap .jt-search.container.show {
        top: 100px !important;
    }
    .header-right.module .jt-search-wrap .jt-search.container.nostyle {
        max-width: 100%;
        padding: 0 10px;
        height: 80px !important;
        background-color: #222 !important;
    }
    .header-right.module .jt-search-wrap .jt-search.container.show-nostyle {
        top: 70px !important;
    }
    .header-right.module .jt-search-wrap .inner {
        margin: 0 20px !important;
        width: 70%;
    }
    .header-right.module .jt-search-wrap .btn.btn-primary {
        width: 3.5em;
        height: 1.2em;
        right: 15px;
        font-size: 1.2rem;
        color: #fff;
        background-color: #444;
    }
    .header-right.module .jt-search-wrap input[type="text"] {
        font-size: 1rem;
        width: 60%;
        color: #fff;
    }
    .header-right.module .jt-search-wrap .close-btn {
        right: 15px;
        top: 50px;
        color: #fff;
        z-index: 100;
    }
    .header-right.module .mod-jtsearch .awesomplete {
        position: relative;
    }
    .header-right.module .mod-jtsearch .awesomplete > ul {
        max-height: 120px;
        width: 100%;
    }
}

/* Dołączony awesomplete.css */
.awesomplete [hidden] {
    display: none;
}

.awesomplete .visually-hidden {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

.awesomplete {
    display: inline-block;
    position: relative;
}

.awesomplete > input {
    display: block;
}

.awesomplete > ul {
    position: absolute;
    left: 0;
    z-index: 1;
    min-width: 100%;
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
}

.awesomplete > ul:empty {
    display: none;
}

.awesomplete > ul {
    border-radius: .3em;
    margin: .2em 0 0;
    background: hsla(0,0%,100%,.9);
    background: linear-gradient(to bottom right, white, hsla(0,0%,100%,.8));
    border: 1px solid rgba(0,0,0,.3);
    box-shadow: .05em .2em .6em rgba(0,0,0,.2);
    text-shadow: none;
}

@supports (transform: scale(0)) {
    .awesomplete > ul {
        transition: .3s cubic-bezier(.4,.2,.5,1.4);
        transform-origin: 1.43em -.43em;
    }
    
    .awesomplete > ul[hidden],
    .awesomplete > ul:empty {
        opacity: 0;
        transform: scale(0);
        display: block;
        transition-timing-function: ease;
    }
}

/* Pointer */
.awesomplete > ul:before {
    content: "";
    position: absolute;
    top: -.43em;
    left: 1em;
    width: 0;
    height: 0;
    padding: .4em;
    background: white;
    border: inherit;
    border-right: 0;
    border-bottom: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Dodatkowe style dla spójności z portalem */
.awesomplete > ul > li {
    position: relative;
    padding: .2em .5em;
    cursor: pointer;
}

.header-right.module .jt-search-wrap input[type="text"] {
    font-size: 20px !important;
    top: 50% !important;
}

.header-right.module .mod-jtsearch .awesomplete > ul > li {
    position: relative;
    padding: 0.2em 0.5em;
    cursor: pointer;
    background: #222;
}

.header-right.module .mod-jtsearch .awesomplete > ul:before {
    content: "";
    position: absolute;
    top: -0.43em;
    left: 1em;
    width: 0;
    height: 0;
    padding: 0.4em;
    background: #222;
    border: 1px solid #444;
    border-right: 0;
    border-bottom: 0;
    transform: rotate(45deg);
}