/* search input adminHeader.css file*/
.searchings {
    padding: 10px;
}

#search-input-wrapper {
    background-color: #fff;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0 0  5px rgb(164, 164, 164);
    width: 100%;
    display: none;
}

#search-input-wrapper img {
    width: 40px;
    padding: 8px;
    transition: 0.2s ease;
    cursor: pointer;
}

#search-input-wrapper img:hover {
    background: #f7f7f7;
}

#search-input-wrapper form {
    display: flex;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
}

#search-input-wrapper form input {
    padding: 10px;
    font-size: 13px;
    outline: none;
    border: none;
    flex-grow: 1;
    letter-spacing: .5px;
    background: transparent;
}

#search-input-wrapper form button {
    color: var(--active1);
    background-color: none;
    text-transform: capitalize;
    border: none;
    transition: 0.2s ease;
    padding: 10px;
    width: 20%;
    min-width: fit-content;
    font-size: 13px;
    letter-spacing: .5px;
    font-weight: 500;
    position: relative;
    background: transparent;
}

#search-input-wrapper form button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    background: #ccc;
    min-width: 2px;
    max-width: 2px;
    min-height: 18px;
    max-height: 18px;
}

#search-input-wrapper form button:hover {
    background: #eee;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.upper-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background: #fff;
    z-index: 100001;
    position: sticky;
    top: 0;
    left: 0;
    border-bottom: 1.5px solid #ccc;
}

.logo-menu-cancel-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: inherit;
    min-height: 80px;
}

.our-logo img {
    width: 50px;
    padding: 10px;
}

.menu-toggle {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: space-between;
}

.menu-toggle img {
    width: 28px;
    cursor: pointer;
    padding: 5px;
    transition: 0.2s ease;
}

.menu-toggle img:hover, .menu-toggle img:active {
    background: #f7f7f7;
}

.alert-num {
    background: rgb(156, 3, 3);
    display: grid;
    place-content: center;
    width: 18px;
    height: 18px;
    padding: 2px;
    font-size: 8px;
    border-radius: 50%;
    position: absolute;
    top: -4px;
    right: -8px;
    color: rgb(255, 255, 255);
}

#user_profile {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #ccc;
    display: grid;
    place-content: center;
    position: relative;
}

#user_profile img {
    width: 31px;
    height: 31px;
    padding: 8px;
    border-radius: 50%;
    transition: .2s ease;
}

#user_profile img:hover {
    background: #ccc;
    box-shadow: 0 0 5px #c2c2c2;
    border-radius: 50%;
}

#desktop-logout {
    padding: 5px;
    text-transform: capitalize;
    font-size: 1rem;
    color: var(--active1);
    border-radius: 5px;
    border: 3px solid var(--active);
    font-weight: 400;
    transition: 0.2s ease;
}

#desktop-logout:hover {
    background: var(--active1);
    color: white;
}


#login {
    background: transparent;
    color: var(--active1);
    padding: 4px 6px;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

#login::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 1.5px;
    background: var(--active1);
    transform: scaleX(0.1);
    border-radius: 5px;
    transition: 0.3s ease;
}

#login:hover::after {
    transform: scaleX(0.8);
}


/* cover all web content when nav-links display */
.hide-bodyContentWhenNavlink-display {
    background: rgba(0, 0, 0, 0.032);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    z-index: 1000000;
    display: none;
}

/* header navigation links */
.nav-links-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000000;
    width: 85%;
    height: 100vh;
    background: white;
    overflow-y: scroll;  
    box-shadow: 2px 2px 8px #151515;
    display: none;
}

.logoAndCancel-nav {
    width: 100%;
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toClient_dashboard_wrapper {
    width: 80%;
    padding: 15px 10px;
    display: flex;
    text-transform: capitalize;
    gap: 15px;
    padding: 5px;
}

.toClient_dashboard_wrapper h1 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    align-self: center;
    text-transform: var(--primary-text-color);
}

.toClient_dashboard_wrapper h1 span {
    color: var(--secondary-text-color);
}

.toClient_dashboard_wrapper img {
    background: #eee;
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.logoAndCancel-nav {
    width: fit-content;
}

.cancel-icon {
    margin: 10px;
    padding: 5px;
    width: 30px;
    border-radius: 4px;
    border: 1px solid #eee;
    transition: 0.5s ease;
    cursor: pointer;
}

.cancel-icon:hover {
    background: #f7f7f7;
}

/* the navigation links in header */
.links {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.links a {
    font-size: 14px;
    text-transform: capitalize;
    color: var(--primary-text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    position: relative;
}

.links a:hover {
    background: #f7f7f7;
}

/* new link in nav bar */
.links a span {
    color: #ffa500;
    border: .5px solid #ffa500;
    padding: 1px 4px;
    font-size: 10px;
    border-radius: 5px;
    position: absolute;
    top: -30px;
    right: 0px;
}

.navigation-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ai */
.ai {
    margin: 5px 10px;
    border: 1px solid #ffa500;
    border-radius: 10px;
    font-size: 14px;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: #ffa500;
    padding: 10px 40px 10px 10px;
    letter-spacing: 1px;
    transition: .2s ease;
}

.ai:hover {
    background: #ffeac4;
    border-color: #ffeac4;
}

.ai img {
    width: 20px;
}

/* sign up and sign in link in navigation link */
.signup_and_signin {
    width: 100%;
    display: flex;
    gap: 10px;
    padding: 10px;
    flex-wrap: wrap;
}

.signup_and_signin a {
    padding: 6px;
    display: flex;
    flex-grow: 1;
    min-width: 40%;
    text-transform: capitalize;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    border-radius: 4px;
    transition: 0.2s ease;
    gap: 5px;
    font-size: 13px;
    text-decoration-skip: center;
}

.signup_and_signin a img {
    width: 20px;
}

.signup_and_signin a:nth-child(1) {
    background: var(--active1);
    color: white;
}

.signup_and_signin a:nth-child(1):hover {
    background: var(--hover);
}

.signup_and_signin a:nth-child(2) {
    color: var(--active1);
    background: white;
    border: 1px solid var(--active1);
}

.signup_and_signin a:nth-child(2):hover {
    background: var(--active);
    border-color: var(--active);
}

#logout {
    background: #f3f3f3;
    border: none;
    transition: 0.2s ease;
}

#logout:hover {
    background-color: #eee;
}

#logout p {
    color: #001224;
    font-weight: 500;
}

.side_social_mediaLinks {
    display: flex;
    min-height: 70px;
    width: fit-content;
    position: fixed;
    top: 50%;
    z-index: 1000000;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 0 10px #0c0c0c50;
}

.mediaLinks {
    background: #fff;
    width: fit-content;
    align-items: center;
    gap: 10px;
    padding: 10px;
    flex-wrap: wrap;
    display: none;
}

.mediaLinks h1 {
    flex: 0 0 100%;
    width: fit-content;
    font-size: 13px;
    letter-spacing: .5px;
}

.mediaLinks a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    border-radius: 10px;
    border-right: 1px solid #ccc;
}

.mediaLinks a img {
    width: 22px;
    height: 22px;
}

.mediaLinks a:hover {
    background: #6a6a6a09;
}

.mediaLinksToggler {
    background: var(--active1);
    display: flex;
    align-items: center;
    padding: 3px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
}

.mediaLinksToggler img {
    transform: rotate(90deg);
    width: 12px;
}

.return-on-top {
    background: var(--active1);
    position: fixed;
    bottom: 10px;  
    right: 10px;  
    width: 35px;
    height: 35px;
    border-radius: 4px;
    cursor: pointer;
    padding: 8px;
    z-index: 10000000;
    display: none;
}

/* footer */
footer {
    background-color: #001224;
    padding: 20px 10px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-links {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.quick-links h1 {
    font-size: 16px;
    text-transform: capitalize;
    padding: 0;
    margin: 0;
    color: #fff;
}

.quick-links a {
    padding: 10px;
    color: #ccc;
    text-transform: capitalize;
    font-size: 14px;
}

.quick-links a:hover {
    background-color: #eeeeee1b;
}

.subscribe-newsletter {
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.subscribe-newsletter h1 {
    color: #ccc;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 10px;
}

#newsletter_form2 {
    display: flex;
    border-radius: 5px;
    background: #ccc;
}

#newsletter_form2 input {
    width: 90%;
    outline: none;
    padding: 10px;
}

#newsletter_form2 button {
    background-color: none;
    border: none;
    background-color: var(--active1);
    color: white;
    text-transform: capitalize;
    font-weight: 500;
    transition: 0.5s ease;
    width: 10%;
    min-width: fit-content;
    padding: 10px;
}

#newsletter_form2 button:hover {
    color: white;
    min-width: fit-content;
}

.bottom-footer {
    padding: 10px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.bottom-footer h1 {
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 500;
}

.bottom-footer p {
    font-size: 12px;
    text-align: center;
}

.footer-follow-us {
    display: flex;
    gap: 10px;
    padding: 15px 0;
}

.footer-follow-us a {
    border: 1px solid #ccc;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
    width: 38px;
    height: 38px;
}

.footer-follow-us a img {
    max-width: 30px;
    max-height: 30px;
}

.footer-follow-us a:hover {
    background: var(--hover);
    border-color: var(--hover);
    border-radius: 50%;
}

.developers-facebook-profile a {
    font-weight: 600;
    padding: 5px;
    color: white;
    text-decoration: underline;}

.policy_and_term {
    font-size: 16px;
    display: flex;
    gap: 5px;
    justify-content: center;
    padding: 10px;
    font-weight: 400;
}

.policy_and_term a {
    font-size: 14px;
    font-weight: 400;
}

.footer-follow-us a img {
    padding: 5px;
    width: 100%;
    margin: 5px;
}

.bottom-footer a {
    color: white;
}


@media (min-width: 680px) {
    #search-input-wrapper img {
        padding: 7px;
    }
    
    #search-input-wrapper form {
        width: 80%;
    }
    
    #search-input-wrapper form input {
        font-size: 14px;
    }
    
    #search-input-wrapper form button {
        font-size: 14px;
    }

    .our-logo img {
        padding: 8px;
    }

    #user_profile {
        width: 33px;
        height: 33px;
    }

    #user_profile img {
        width: 33px;
        height: 33px;
    }

    .alert-num {
        width: 19px;
        height: 19px;
        font-size: 9px;
    }

    .links a {
        font-size: 17px;
        position: relative;
    }

    .quick-links {
        width: 50%;
    }

    .subscribe-newsletter {
        width: 70%;
        align-self: center;
    }
    
    .subscribe-newsletter h1 {
        font-size: 18px;
    }
    
    #newsletter_form2 button {
        font-size: 16px;
    }
    
    .subscribe-newsletter h1 {
        font-size: 18px;
    }

    .bottom-footer h1 {
        font-size: 18px;
    }
    
    .bottom-footer p {
        font-size: 14px;
    }
    
    .policy_and_term {
        font-size: 18px;
    }

}

@media (min-width: 1200px) {
    footer {
        display: grid;
        grid-template-columns: 2fr 2fr;
    }

    .bottom-footer {
        align-items: center;
        justify-content: center;
    }

    .subscribe-newsletter {
        justify-content: center;
    }

    #search-input-wrapper img {
        padding: 8px;
    }
    
    #search-input-wrapper form {
        width: 60%;
    }
    
    #search-input-wrapper form input {
        font-size: 15px;
    }
    
    #search-input-wrapper form button {
        font-size: 15px;
    }

    .upper-header {
        padding: 20px;
    }

    .menu-toggle img {
        display: block;
    }

    #signin {
        display: block;
    }

    #desktop-logout {
        display: block;
    }

    #user_profile {
        width: 35px;
        height: 35px;
    }

    .alert-num {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }

    #user_profile img {
        width: 35px;
        height: 35px;
    }

    .nav-links-wrapper {
        display: block;
        box-shadow: unset;
        overflow: unset;
        height: fit-content;
        padding: 0;
        width: fit-content;
        position: fixed;
        translate: -50% -50%;
        left: 40%;
        top: 50px;
    }

    .links {
        flex-direction: row;
    }
    
    .links a {
        font-size: 16px;
        position: relative;
        min-width: fit-content;
        display: flex;
        justify-content: center;
    }

    .ai{
        display: none;
    }

    .logoAndCancel-nav {
        display: none;
    }

    #contact, #about, #expired-post {
        display: none;
    }

    #search-form {
        display: none;
    }

    .sign-links_in-header {
        display: none;
    }

    .subscribe-newsletter h1 {
        font-size: 20px;
    }
    
    .subscribe-newsletter h1 {
        font-size: 20px;
    }
    
    #newsletter_form2 button {
        font-size: 18px;
    }

    .bottom-footer h1 {
        font-size: 22px;
    }
    
    .bottom-footer p {
        font-size: 16px;
    }
    
    .policy_and_term {
        font-size: 20px;
    }
}
