body.title-search-open {
    overflow-y: hidden;
}

body.title-search-open header {
    z-index: 9999;
}

.title-search-overlay {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    z-index: 9999;
}

.title-search-overlay.open {
    top: 0;
    opacity: 1;
}

.title-search-wrap {
    position: relative;
    width: 80%;
    margin: -150px auto 0;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.title-search-wrap.show {
    margin-top: 30px;
}

.search-form-wrap {
    position: relative;
    padding-right: 70px;
}

.title-search-wrap .search-form {
    display: flex;
    position: relative;
    width: 100%;
    background: #fff;
    border: none;
    border-radius: 4px;
    overflow: hidden;
}

.title-search-wrap .search-form .form-control {
    width: 100%;
    font-size: 1.5rem;
    line-height: 1.5rem;
    padding: 15px 60px 15px 25px;
    border: none !important;
    background: #fff;
}

.title-search-wrap .search-submit {
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
    right: 10px;
    width: 40px;
    height: 40px;
    border: none;
    background: url("../../../../img/svg/loupe.svg") center no-repeat;
    background-size: 35px;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.title-search-wrap .search-submit:hover {
    opacity: 0.8;
}

.search-button-wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.search-button {
    font-size: 20px;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    opacity: 0.5;
    cursor: pointer;
}

.search-button:hover {
    opacity: 1;
}

.search-button-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    background: url("../../../../img/close.png") center no-repeat, #fff;
    background-size: 40px;
    opacity: 1;
}

@media all and (max-width: 768px){
    .title-search-wrap {
        width: 100%;
    }

    .title-search-wrap .search-submit {
        width: 30px;
        height: 30px;
        background-size: 25px;
    }

    div.title-search-result {
        left: 0 !important;
        width: 100% !important;
    }

    table.title-search-result th {
        display: none;
    }
}

/**************************/
div.title-search-result {
    border: 1px solid #c6c6c6;
    display: none;
    overflow: hidden;
    z-index: 99999;
}

@media all and (min-width: 992px){
    div.title-search-result {
        min-width: 400px;
    }
}

table.title-search-result {
    border-collapse: collapse;
    border: none;
    width: 100%;
}

table.title-search-result th {
    background-color: #F7F7F7;
    border-right: 1px solid #e8e8e8;
    color: #949494;
    font-weight: normal;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 14px;
    padding-right: 12px;
    text-align: right;
    vertical-align: top;
    white-space: nowrap;
    width: 1%;
}

table.title-search-result td {
    background-color: white;
    color: black;
    font-weight: normal;
    padding-top: 2px;
    padding-bottom: 2px;
    text-align: left;
    white-space: nowrap;
}

table.title-search-result td.title-search-item {
    padding-left: 8px;
    padding-right: 15px;
}

table.title-search-result td.title-search-item a {
    padding-left: 4px;
    padding-right: 15px;
    text-decoration: none;
    color: black;
    vertical-align: top;
    display: block;
}

table.title-search-result td.title-search-item img {
    vertical-align: middle;
}

table.title-search-result td.title-search-item b {
    color: #cf0000;
    font-weight: normal;
}

table.title-search-result tr.title-search-selected td, table.title-search-result tr.title-search-selected a, table.title-search-result tr.title-search-selected td.title-search-more a {
    background-color: #fff2be;
}

table.title-search-result td.title-search-more {
    font-size: 11px;
    font-weight: normal;
    padding-right: 15px;
    padding-left: 24px;
    padding-top: 0px;
}

table.title-search-result td.title-search-more a {
    padding-left: 12px;
    padding-right: 15px;
    text-decoration: none;
    color: #999999;
}

table.title-search-result td.title-search-all {
    padding-left: 24px;
    padding-right: 15px;
}

table.title-search-result td.title-search-all a {
    padding-left: 4px;
    text-decoration: none;
    color: #808080;
}

table.title-search-result td.title-search-separator, table.title-search-result th.title-search-separator {
    padding-top: 0px;
    padding-bottom: 0px;
    font-size: 4px;
}

div.title-search-fader {
    display: none;
    background-image: url('images/fader.png');
    background-position: right top;
    background-repeat: repeat-y;
    position: absolute;
}
