﻿
#searchText {
    width: 392px;
    position: absolute;
    margin-top: 8px;
    background: rgb(250, 250, 250);
    overflow: hidden;
    text-align: left;
}

    #searchText ul {
        border-bottom: 1px solid #ddd;
        border-radius: 0px;
    }

    #searchText li {
        border-style: solid;
        border-width: 1px;
        border-color: #ddd;
        border-radius: 0px;
    }

.switchercontainer {
    height: 46px;
    background-color: #111111;
}


#switchers-colors-default,
#switchers-colors-square {
    margin-bottom: 15px;
}

    #switchers-colors-default .switcher,
    #switchers-colors-square .switcher,
    #switchers-colors-modern .switcher {
        margin-right: 15px;
        vertical-align: middle;
    }

.right-to-left #switchers-colors-default .switcher,
.right-to-left #switchers-colors-square .switcher,
.right-to-left #switchers-colors-modern .switcher {
    margin-left: 15px;
    margin-right: 0;
}

#searchText .swlbl {
    height: 23px;
    line-height: 23px;
    padding-right: 6px;
    float: left;
}



#searchText .mainli {
    height: 40px;
    padding-top: 7px;
    padding-left: 15px;
    padding-right: 6px;
}

#clearSeachHistory {
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.05)inset;
    box-shadow: 0 1px 0 rgba(255,255,255,.05)inset;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    text-align: center;
    padding: 8px 0 !important;
    border-top: 1px solid #e8e8e8;
    display: block;
    text-decoration: none !important;
    font-size: 9pt;
    color: #999;
    line-height: 18px !important;
    height: auto !important;
    cursor: pointer;
    background: #f4f5f7;
}
    #clearSeachHistory:hover {
        color: #555;
        background: #f1f1f1;
    }

    .search-box-bottom {
        /*width: 20%;*/
        /* margin-left: 10px; */
        float: right;
        opacity: 1;
    }

.search-link {
    cursor: pointer;
}

.search-list-icon {
    padding-left: 10px;
    width: 10%;
    font-size: large;
    cursor: pointer;
}


.search-control-base {
    position: absolute;
    top: 0px;
    z-index: 99999;
    left: 400px;
    right: 50px;
    display: block;
    width: 410px;
    padding-top: 6px;
    padding-left: 12px;
    padding-right: 6px;
}





.onmap.no-main-menu .search-control-base {
    left: 170px !important;
}



.no-main-menu .search-control-base {
    left: 220px !important;
}

.hide-banner .search-control-base {
    position: absolute;
    z-index: 99999;
    left: 400px;
    width: 410px;
    display: block;
}

.mmc .search-control-base {
    position: absolute;
    z-index: 99999;
    left: 220px;
    width: 410px;
    display: block;
}

.search-control-base .input-group {
    width: 100%;
}

.button-divider {
    padding: 1px;
}

.form-control-clear {
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
    /*margin-right: 75px*/
    top: 5px;
}

.searchInput {
    top: 3px !important;
}


@media (max-width: 768px) {

    .form-control-clear {
        z-index: 10;
        pointer-events: auto;
        cursor: pointer;
        margin-right: 20%;
        top: 5px;
    }

    .onmap.no-main-menu .search-control-base {
        left: 40px !important;
    }


    /*dashboard banner gizli iken*/
    .hide-banner .search-control-base {
        top: 0px;
        z-index: 99999;
        left: 58px;
        right: 40px;
        display: block;
        width: initial;
    }


    /*dashboard banner gizli değil iken*/
    .search-control-base {
        top: 0px;
        z-index: 99999;
        left: 58px;
        right: 40px;
        display: block;
        width: initial;
    }

    #searchText {
        width: 100%;
        position: fixed;
        margin-top: 8px;
        background: rgb(250, 250, 250);
        overflow: hidden;
        left: 0px;
        top: 38px;
    }
}



#spanSearchExact {
    cursor: pointer;
}

    #spanSearchExact .textExact {
        font-weight : 500;
    }

.search-list-group-item {
    cursor: pointer;
}

.navbar-search {
    display: table-cell !important;
    width: 1% !important;
}

    .navbar-search a {
        color: #666 !important;
        text-shadow: none !important;
        ;
    }

    .navbar-search.active a {
        background: 0 0 !important;
    }

#searchScroll ul.nav {
    border-bottom: none;
}

#searchScroll > ul > li:nth-child(1) {
    border-right: none;
}

#searchScroll > ul > li {
    border-bottom: none;
}

    #searchScroll > ul > li.navbar-search > a {
        height: 40px;
        line-height: 40px;
        border-radius: 0px;
    }

    #searchScroll > ul > li.navbar-search.active > a {
        background-color: #ababab !important;
        color: #fff !important;
    }

#searchScroll > ul {
    border-bottom: 5px solid #ababab !important;
}

.inwebview #searchScroll > ul > li.navbar-search.disabled {
    display: none !important;
}

.inwebview #searchText > div.search-box-bottom {
    display: none;
}


.inwebview .slimScrollDiv {
    height: 170px !important;
    max-width: 85%;
}

.inwebview #searchScroll {
    height: 170px !important;
}


.workspaceDropdown li {
    border: 0 !important;
}

.workspaceRow a {
    border: 0 !important;
    color: #333333 !important;
}

.workspaceRow .btn-group button {
    background: white !important;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top: none;
    border-bottom: none;
    border-radius: 0;
    height: 40px;
}

.workspaceRow .btn-group .dropdown-toggle {
    border-right: none;
    padding-left: 12px;
}

.workspaceRow {
    border-bottom: 1.3px solid #ddd;
    margin: 0 !important;
}

    .workspaceRow .list-group-item {
        border: none;
        background: transparent;
    }

#listResult {
    background-color: white;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .workspaceRow {
        margin-bottom: 0 !important;
    }
}

.cutomSearchA, .errorA {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

    .cutomSearchA[data-filterid=""] {
        width: 100% !important;
    }

.errorSpan {
    width: 45px;
    margin-top: 4px !important;
}

.search-link {
    background: #5BC0DE !important;
}

.workspaceDropdown {
    min-width: 130px;
    font-size: 13px;
    padding: 0 !important;
    margin: 0;
    top: -30%;
    margin-right: 25px;
    background: white !important;
    border: 2px solid #ccc !important;
    border-bottom: 1px solid #ddd !important;
}

ul.dropdown-menu.dropdown-menu-right.workspaceDropdown:before {
    content: '';
    display: inline-block;
    background-color: white;
    height: 10px;
    width: 10px;
    right: -6px;
    position: absolute;
    top: 10px;
    transform: rotate(135deg);
    border-left: 2px solid #ccc;
    border-top: 2px solid #ccc;
    z-index: -1;
}


.mapIconSpan {
    float: right;
    margin-right: 12px;
    margin-top: 11px;
    font-size: 18px;
    cursor: pointer;
}

.fa-caret-down {
    font-size: 15px;
    margin-left: 8px;
}

.search-link {
    float: left;
    margin-right: 10px;
    margin-left: -2px;
    top: 2px !important;
    width: 50px;
    font-size: 12px;
    font-weight: 500;
}

#searchText {
    margin-top: 6px !important;
    box-shadow: 0px 4px 10px #0000001A;
    border-radius: 0px 0px 4px 4px;
    border-top: none;
    background: #FFFFFF 0% 0% no-repeat padding-box;
}

.mapIconInSearch {
    background: url("../../Images/search/mapIconInSearch.png") no-repeat top left;
    width: 18px;
    height: 14px;
    display: inline-block;
}

.inwebview #spanSearchExact {
    display: none;
}

.inwebview #searchText {
    border: none !important;
}


.inwebview .cutomSearchA {
    width: 100% !important;
}

.cutomSearchA {
    float: left;
    width: 85%;
}

.has-clear {
    background-color: transparent;
    border-radius: 4px;
}


.form-control-clear {
    top: 0;
    background-color: white;
    z-index: 5 !important;
    position: unset !important;
}

.nonFixedIcons {
    padding: 0 !important;
    background-color: transparent;
    border: none !important;
    border-radius: 4px !important;
}

.exactDiv {
    padding: 0 !important;
    border: 0 !important;
    width: auto !important;
    background-color: white !important;
    border-radius: 0px 4px 4px 0px !important;
}


@media only screen and (min-device-width: 320px) and (max-device-width: 768px) {
    .has-clear {
        width: 100% !important;
    }


    .form-control-feedback {
        position: static;
    }

    #chkSearchExact {
        margin-top: 8px;
    }

    .exactDiv {
        background-color: transparent !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .form-control-clear {
        margin-right: unset;
    }
}

.app-search .form-control{
    width:200px;
    line-height: 20px;
}

.app-search .form-control:focus {
    width: 392px;
    padding-right:110px;
}

.exactAnClearIcons {
    right: 30px !important;
    display: none;
}

.focusSearch .exactAnClearIcons {
    display: inline-block;
}

.focusSearch input {
    width: 392px !important;
}

@media (max-width: 768px) {
    .app-search .form-control:focus {
        width: calc(100vw - 175px) !important;
    }
}

@media (max-width: 620px) {
    .focusSearch input {
        width: 200px !important;
        padding-right: 110px !important;
    }
}

#autosearchcont::-ms-clear {
    display: none;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    #autosearchcont{
        line-height: 20px;
    }
}

/*for tablet screen*/
@media only screen and (min-width: 641px) and (max-width: 961px) {
    .app-search .form-control:focus {
        width: calc(100vw - 250px) !important;
    }
}

.darkTheme #searchText, .darkTheme #listResult, .darkTheme .workspaceRow a {
    color: #dce3ec !important;
    background: #4f5467 !important;
}

.darkTheme .workspaceRow {
    border-color: #4f5467 !important;
}

.darkTheme .mapIconInSearch{
    filter: invert(1);
}

.darkTheme #searchScroll > ul {
    border-bottom: 0 !important;
}