/* ==========================================================================
# Fullscreen search - start
========================================================================== */


/* Fullscreen search general style - start
========================================================================== */

.edge-fullscreen-search-holder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 105;
    opacity: 0;

    .edge-fullscreen-search-logo{
        position: relative;
        top: 90px;
        left: 18%;
    }


    .edge-fullscreen-search-table {
        display: table;
        width: 100%;
        height: 100%;
    }

    .edge-fullscreen-search-cell {
        display: table-cell;
        vertical-align: middle;
        width: 100%;
        height: 100%;
        text-align: center;
    }

    .edge-form-holder-inner {
        position: relative;
        width: 27%;
        margin: auto;

        .edge-line {
            position: absolute;
            left: 0;
            bottom: -2px;
            width: 0;
            border-bottom: 1px solid $default-border-color;
            @include edgeTransition(all .3s .2s);

            .edge-fullscreen-search-opened & {
                width: 100%;
                @include edgeTransition(width 0.5s ease .6s);
            }
        }
    }

    .edge-field-holder {
        display: block;
        position: relative;
    }

    .edge-search-field {
        position: relative;
        height: 100%;
        width: 100%;
        border: 0;
        background: transparent;
        outline: none;
        font-family: $heading-font;
        font-size: 16px;
        color: $additional-color;
        line-height: 23px;

        @include edgePlaceholder{
            color: #666;
        }
    }

    .edge-search-submit {
        position: absolute;
        right: 0;
        bottom: -20px;
        width: auto;
        font-size: 15px;
        line-height: 23px;
        color: $first-main-color;
        background-color: transparent;
        border: none;
        outline: none;
        opacity: 0;
        cursor: pointer;
        @include edgeTransition(all .3s .2s);

        .edge-fullscreen-search-opened & {
            opacity: 1;
            bottom: 5px;
            @include edgeTransition(color 0.2s ease, opacity .2s ease-out 1.1s, bottom .4s ease-out .9s);
            @include edgeTransform(rotate(270deg));
        }
    }

    .edge-search-submit:hover {
        color: $default-heading-color;
    }

    .edge-search-close-holder {
        float: right;
        margin-right: 45px;
    }

    .edge-fullscreen-search-close-container {
        position: absolute;
        right: 18%;
        top: 65px;
        width: 100%;

        a {
            position: absolute;
            top: 40px;
            right: 40px;
            color: $first-main-color;
            font-size: 25px;
            opacity: 0;
            visibility: hidden;
            line-height: 24px;

            &:before{
                content: "CLOSE";
                font-family: $heading-font;
                font-size: 16px;
                color: $first-main-color;
                float: left;
                position: relative;
            }


            &:hover {
                color: $dark-color;
            }
        }
    }
}

//placeholders
.edge-fullscreen-search-opened {

    .edge-page-header .edge-menu-area{
        background-color: $header-light-color !important;
    }

    @include edgePlaceholder {
        color: $default-heading-color;
    }
}

/* Fullscreen search general style - end
========================================================================== */

/* Fullscreen search fade style - start
========================================================================== */

.edge-search-fade .edge-fullscreen-search-holder {
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    opacity: 0;
    z-index: 112;
    box-sizing: border-box;

    .edge-fullscreen-search-table {
        background-color: $header-light-color;
    }
}

.edge-search-fade-out.edge-search-fade .edge-fullscreen-search-holder {
    @include edgeAnimation(search_fade_out .2s ease-out both);
}

.edge-search-fade-in.edge-search-fade .edge-fullscreen-search-holder.edge-animate {
    @include edgeAnimation(search_fade_in .3s ease both);
}

.edge-search-fade .edge-fullscreen-search-holder.edge-animate .edge-fullscreen-search-close {
    opacity: 1;
    visibility: visible;
}

@-webkit-keyframes search_fade_out {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes search_fade_out {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@-webkit-keyframes search_fade_in {
    0% {
        opacity: 0;
        visibility: hidden;
    }
    100% {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes search_fade_in {
    0% {
        opacity: 0;
        visibility: hidden;
    }
    100% {
        opacity: 1;
        visibility: visible;
    }
}

/* Fullscreen search fade style - end
========================================================================== */

/* ==========================================================================
# Fullscreen search - end
========================================================================== */
