﻿/* Overriding existing search classes */
.searchmain {
    display: none !important;
}

.top-nav.accessible-megamenu > .accessible-megamenu-top-nav-item.search {
   display: none !important;
}

.accessible-megamenu-top-nav-item a[href="https://blog.swedish.org/swedish-news"] + .accessible-megamenu-panel {
	width: 18em;
}

* {
    -webkit-box-sizing: initial;
    -moz-box-sizing: initial;
    box-sizing: initial;
}

#go-search {
    display: inline-block;
    background-color: #ffffff;
    height: 40px;
    width: 40px;
    background-image: url("/assets/global-search/images/searchiconwhite.PNG");
    margin-left: -5px;
    cursor: pointer;
}
/* Overriding main.css classes */
.search-input-container.active .search-input {
    width: 571px;
    background-image: none;
    vertical-align: bottom;
    outline: none !important;
}

.search-suggestions {
    text-align: left;
}

    .search-suggestions.results {
        padding-top: 10px;
        padding-bottom: 5px;
        height: auto;
        /*min-height: 120px;*/
    }

.category-suggestions {
    text-align: left;
    /*min-height: 325px;*/
    height: auto;
}

.category-header {
    font-size: 12px;
    list-style-type: none;
    text-align: left;
    padding: 0;
    padding-bottom: 5px;
    color: #00192e;
    font-weight: bold;
}

.recommendations .list-image img {
    
    height: 100% !important;
}

.recommendations .list-image .doctor-img {
    height: auto !important;
    width: 100% !important;
    text-align: center !important;
}
/* Algolia Override Classes */
.algolia-override {
    position: inherit !important;
    display: inline-block !important;
    width: auto !important;
}

.algolia-override-suggestions {
    position: inherit !important;
    display: inline-block !important;
    width: inherit !important;
    overflow: hidden !important;
    height: auto !important;
}

.suggestions {
    display: inline-block !important;
    padding-bottom: 5px;
}

.algolia-ddl-override > div {
    display: inline-block;
    width: 100%;
    padding-bottom: 5px;
}

.algolia-ddl-override-suggestions div {
    line-height: 10px;
}

.row.search-input-inner > .doctor-info {
    /*height: 445px !important;*/
}

    .row.search-input-inner > .doctor-info > .info-panel-mobile-buttons {
        display: none;
    }

    .row.search-input-inner > .doctor-info .info-panel-mobile-continue {
        display: none;
    }

.row.search-input-inner > .location-info {
    /*height: 445px !important;*/
}

    .row.search-input-inner > .location-info > .info-panel-mobile-buttons {
        display: none;
    }

    .row.search-input-inner > .location-info .info-panel-mobile-continue {
        display: none;
    }

.info-panel-mobile-continue {
    width: 135px;
    height: 25px;
    border-radius: 5px;
    background-color: #005079;
    padding: 5px 25px;
    color: #FFF;
    margin: auto;
    cursor: pointer;
    font-size: 11px;
    margin-top: 10px;
}

    .info-panel-mobile-continue a {
        color: #FFF;
    }

        .info-panel-mobile-continue a:hover {
            color: #FFF;
            text-decoration: underline;
        }

.info-panel-mobile-buttons {
    padding: 10px 5px;
}

.info-panel-mobile-button-back {
    float: left;
    cursor: pointer;
    font-size: 12px;
    line-height: 25px;
    color: #0070a9;
}

    .info-panel-mobile-button-back:hover {
        text-decoration: underline;
    }

.info-panel-mobile-button-close {
    float: right;
    cursor: pointer;
    width: 25px;
    height: 25px;
}

    .info-panel-mobile-button-close img {
        height: inherit;
        width: inherit;
    }

.row.search-input-inner > .info-panel {
    height: 100%;
    padding: 12px;
}
/* Mobile Styles for locations and physicians*/
.row.search-input-inner > .info-panel-mobile {
    position: absolute;
    top: 0px;
    background-color: #FFFFFF;
    min-height: 500px;
    height: auto;
    margin: 10px;
    width: -webkit-fill-available;
}

    .row.search-input-inner > .info-panel-mobile > span {
        display: none;
    }

    .row.search-input-inner > .info-panel-mobile > .info-panel-mobile-buttons {
        display: block;
    }

.row-search-input-inner > .info-panel-mobile .info-panel-mobile-continue {
    display: block;
}

.row.search-input-inner > .info-panel-mobile > div > ul {
    background-color: #FFFFFF;
}

.search-suggestions {
    border-right: 1px solid rgb(203, 203, 203);
}

.search-input-inner .search-categories {
    border-right: 1px solid rgb(203, 203, 203);
    height: 100%;
}

.search-bar-area-inactive {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 55px;
}

.list-item-cta-buttons-searchbox-mobile {
    display: none;
}

.list-item-call-office-searchbox-mobile {
    display: none;
}
/* Mobile styles for searchbox */
@media only screen and (max-width: 768px) {
    .search-bar-container {
        max-width: 610px;
        margin: 0 auto;
    }

    .search-bar-area {
        display: flex;
    }

        .search-bar-area > #go-search {
            width: 45px;
        }

        .search-bar-area > .search-input {
            width: 100% !important;
        }

    .info-panel-mobile-continue {
        display: block !important;
    }

        .info-panel-mobile-continue a {
            color: #FFFFFF !important;
            line-height: 15px;
        }
    /* Hide on mobile */
    .search-bar-area {
        display: none;
    }

    .searchmain {
        display: inline-block !important;
    }

    .list-item-cta-buttons-searchbox {
        display: none;
    }

    .list-item-call-office-searchbox-mobile {
        display: block;
        font-weight: bold;
        margin-bottom: 20px !important;
        font-size: 11px;
    }

        .list-item-call-office-searchbox-mobile a {
            font-weight: normal;
        }

    .list-item-cta-buttons-searchbox-mobile {
        display: block;
        margin-bottom: 10px !important;
    }

        .list-item-cta-buttons-searchbox-mobile > div {
            display: inline-block;
            width: 45%;
        }

        .list-item-cta-buttons-searchbox-mobile img {
            width: 20px;
        }

    .map-link {
        display: none;
    }

    .list-item-phone {
        display: none;
    }
}
.search-bar-container, .search-input-inner{
	margin-left: auto !important;
	margin-right: auto !important;
}