﻿.header-search {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transform: translate(0px, -100%) scale(0, 0);
    transform: translate(0px, -100%) scale(0, 0);
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
}

    .header-search.open {
        -webkit-transform: translate(0px, 0px) scale(1, 1);
        transform: translate(0px, 0px) scale(1, 1);
        opacity: 1;
        visibility: visible;
        direction: rtl;
    }

    .header-search .header-search-form {
        text-align: center;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        max-width: 950px;
        margin: 0 auto;
    }

        .header-search .header-search-form input[type="search"] {
            width: 100%;
            color: #222D39;
            font-size: 20px;
            text-align: right;
            border-bottom: 1px solid #13c4a1;
            border-top: 1px solid #13c4a1;
            border-left: none;
            border-right: none;
            margin: 0px auto;
            padding: 25px 30px 25px 10px;
            outline: none;
            background: transparent;
            -webkit-transition: .4s;
            transition: .4s;
        }

    .header-search .close {
        position: absolute;
        color: #FF8A73;
        background-color: transparent;
        border: none;
        opacity: 1 !important;
        visibility: visible;
        padding: 0;
        font-size: 25px;
        font-weight: 300;
        border-radius: 50%;
        cursor: pointer;
        width: 35px;
        height: 35px;
        border: 1px solid #FF8A73;
        -webkit-transition: .4s;
        transition: .4s;
        left: 20%;
        margin: -100px auto 0;
        top: 50%;
    }

        .header-search .close:hover, .header-search .close:focus {
            background-color: #13c4a1 !important;
            color: #ffffff !important;
            border-color: #13c4a1 !important;
            opacity: 1 !important;
        }

    .header-search .header-search-form .btn {
        position: absolute;
        left: 0;
        bottom: 0;
        height: 100%;
        padding: 0 50px;
    }
