#docs-panel {
    margin: 0;
    width: 100%;
    position: fixed;
    top: 0;
    height: 59px;
    padding: 0;
    z-index: 10;
    background: #fff;
    display: flex;
    flex-flow: row;
    transition: all 0.3s ease;
    max-width: 1440px;
    left: calc(50% - 720px);
}

#docs-panel .container-left {
    width: calc(50% - 439px);
    height: 59px;
    display: flex;
    flex-flow: row;
    justify-content: flex-end;
    align-items: center;
    padding: 5px 87px 0 0;
}

#docs-panel a.logo img {
    border: none;
    padding: 0;
}

#docs-panel a.docs-logo {
    background: rgba(229, 240, 255, 0.5);
    padding: 2px 9px;
    border-radius: 5px;
    text-transform: uppercase;
    color: #28293d;
    font-family: "Nunito Sans";
    font-size: 14px;
    letter-spacing: 0.3px;
    margin: -7px 0 0 5px;
    transform: scaleY(0.96);
}

#docs-panel .container {
    display: flex;
    align-items: center;
    height: 100%;
    border-bottom: 1px solid var(--light);
    width: calc(50% + 439px);
    padding: 0 10px 0 23px;
    transition: border-color 0.3s ease;
}

#docs-panel form {
    width: calc(100% - 450px);
    max-width: 560px;
    padding: 0;
    height: 36px;
    display: flex;
    align-items: center;
}

#docs-search-form label:not(:first-child) {
    display: none;
}

#docs-search-form label:nth-child(2) {
    display: inline-block;
    width: 0;
    height: 0;
}

#docs-panel form label {
    width: 100%;
}

#docs-panel input[type="search"] {
    background: url(../svg/search-icon.svg) no-repeat left 11px center;
    border: 1px solid #ebebf0;
    border-radius: 8px;
    width: 100%;
    padding: 0.5em 0.5em 0.5em 2em;
    font-size: 14px;
    outline: none;
    color: var(--regular);
    transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

#docs-panel form:not(.search-open) input[type="search"] {
    border: 1px solid #ebebf0;
    border-radius: 8px;
    padding: 9px 18px 9px 39px;
}

#docs-panel form.search-open input[type="search"] {
    border: 1px solid transparent;
}

#docs-panel form:not(.search-open) input[type="search"]:focus {
    border-color: var(--primary);
}

#docs-panel input[type="search"]::-webkit-input-placeholder {
    color: var(--dark6);
}

#docs-panel input[type="search"]:-ms-input-placeholder {
    color: var(--dark6);
}

#docs-panel input[type="search"]::placeholder {
    color: var(--dark6);
}

#docs-panel #header-links {
    width: 450px;
    padding: 0 0 0 0;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
}

#header-links a {
    margin-left: 35px;
    color: var(--regular);
    font-family: "Nunito Sans";
    font-size: 14px;
}

#header-links a.sign-in {
    color: #d02129;
}

#header-links a:hover {
    color: var(--primary);
}

#header-links a.sign-up {
    background: #d02129;
    height: 32px;
    display: flex!important;
    justify-content: center;
    align-items: center;
    width: 110px;
    font-size: 12px;
    color: #fafafc;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

#header-links a.sign-up:hover {
    background: #fafafc;
    color: #d02129;
    border: 1px solid #d02129;
}

.mob-menu {
    display: none;
}

@media(max-width:1440px) {
    #docs-panel {
        left: 0;
    }
}

@media(max-width:1400px) {
    #docs-panel .container-left {
        width: 260px;
    }
    #docs-panel .container {
        width: calc(100% - 260px);
    }
}

@media (max-width:1023px) {
    #docs-panel {
        border-bottom: 1px solid var(--light);
    }
    #docs-panel .container {
        border-bottom: none;
    }
    .mob-menu {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        font-size: 0;
    }
    #docs-panel .container #header-links,
    #docs-panel>.container>div {
        display: none;
    }
    #docs-panel input[type="search"] {
        padding: 15px 60px;
        background-position: 22px 14px;
    }
    #search-menu,
    #page-menu {
        width: 57px;
        height: 57px;
        border: 1px solid transparent;
        display: inline-block;
        background: url(../svg/search-icon.svg) no-repeat center center;
    }
    #page-menu {
        border-left: 0;
        background: url(../svg/mob-menu.svg) no-repeat center center;
        position: relative;
    }
    #page-menu:before,
    #page-menu:after {
        content: "";
        width: 100%;
        height: 4px;
        background: url(../svg/mob-menu.svg) no-repeat center center;
        position: absolute;
        top: 20px;
    }
    #page-menu:after {
        top: inherit;
        bottom: 19px;
    }
    #header-links a.sign-up {
        margin-top: 10px;
    }
}