/* 
    Created on : 13-Aug-2014, 15:51:02
    Author     : ashley
*/

.SearchWidget {
    
}

.SearchWidget-wrapper {
    min-height: 330px;
    padding-top: 150px;
}

.SearchWidget input {
    border-radius: 0px;
    padding: 0px;
}

/* Fix IE7 stupid borders */
.lt-ie8 .SearchWidget input[type="text"] {
    border-color: #FFF;
}

/*////////////////
// Large Search //
////////////////*/

.SearchWidget-large {
/*    margin: auto auto 20px auto;*/
}

.SearchWidget-large .form-container {
    max-width: 800px;
    margin: auto;
    padding: 18px;
    border-bottom: 2px solid #3C8C0E;
}

.SearchWidget-large .SearchWidget-term-container,
.SearchWidget-large .SearchWidget-location-container,
.SearchWidget-large .SearchWidget-submit-container,
.SearchWidget-large .form-container .field-margin {
    display: inline-block;
    float: left;
    margin: 0px;
}

.SearchWidget-large .form-container .field-margin {
    width: 2.5%;
    min-width: 10px;
}

.SearchWidget-large .SearchWidget-term-container {
    width: 45%;
    max-width: 370px;
}

.SearchWidget-large .SearchWidget-location-container {
    width: 45%;
    max-width: 370px;
}

.SearchWidget-large .SearchWidget-submit-container {
    width: 5%;
    min-width: 32px;
}

.SearchWidget-large .SearchWidget-submit-container input {
    display: block;
    width: 40px;
    height: 32px;
}

.SearchWidget-large .SearchWidget-term-container .field-wrapper,
.SearchWidget-large .SearchWidget-location-container .field-wrapper {
    width: auto;
    padding: 5px;
    background: #FFF;
}

.SearchWidget-large .SearchWidget-term-container input[type="text"],
.SearchWidget-large .SearchWidget-location-container input[type="text"] {
    border: none;
    width: 100%;
}

.SearchWidget-entity-links-container {
    padding: 30px 20px 0px 20px;
}

.SearchWidget-entity-links-container p { font-size: 17px; }

/*////////////////
// Small Search //
////////////////*/

.SearchWidget-small .form-container {
    float: right;
    margin: 6px 10px 10px auto;
    min-width: 540px;
}

.SearchWidget-small .SearchWidget-term-container,
.SearchWidget-small .SearchWidget-location-container,
.SearchWidget-small .SearchWidget-submit-container,
.SearchWidget-small .form-container .field-margin {
    display: inline-block;
    float: left;
    margin: 0px;
}

.SearchWidget-small .SearchWidget-term-container {
    width: 250px;
}

.SearchWidget-small .SearchWidget-location-container {
    width: 250px;
}

.SearchWidget-small .SearchWidget-submit-container {
    
}

.SearchWidget-small .form-container .field-margin {
    
}

.SearchWidget-small .SearchWidget-term-container .field-wrapper,
.SearchWidget-small .SearchWidget-location-container .field-wrapper {
    width: auto;
    padding: 4px 5px;
    background: #FFF;
}

.SearchWidget-small .SearchWidget-term-container input[type="text"],
.SearchWidget-small .SearchWidget-location-container input[type="text"] {
    border: none;
    width: 100%;
    background: none;
    outline: none;
}

.SearchWidget-small .SearchWidget-submit-container input {
    display: block;
}

/*//////////////////
// Search Preview //
//////////////////*/

.SearchWidget-search-preview {
    position: relative;
    background: #FFFFFF;
/*    background: rgba(255,255,255,0.9);*/
    max-width: 1400px;
    width: 98%;
    margin: auto auto 20px auto;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.25);
}

.lt-ie9 .SearchWidget-search-preview {
    border: 1px solid #DDD;
    border-top: none;
}

/* Small Search Preview */
.SearchWidget-small .SearchWidget-search-preview {
    position: absolute;
    top: 40px;
    right: 0px;
    z-index: 3;
}

/* IE 7 fix to stop laying bug on preview results. */
.lt-ie8 .SearchWidget-small .SearchWidget-search-preview {
    position: static;
    top: auto;
    right: auto;
}

.SearchWidget-search-results-info {
    padding: 15px 20px;
}

.SearchWidget-results-total {
    
}

.SearchWidget-search-preview .SearchWidget-category-container {
    display: inline-block;
    float: left;
    width: 33.33%;
}

/* IE7 Fix, stop third columns exceeding total width */
.lt-ie8 .SearchWidget-search-preview .SearchWidget-category-container {
    width: 33.3%;
}

.SearchWidget-search-preview .SearchWidget-category-container.Hospital,
.SearchWidget-search-preview .SearchWidget-category-container.GpSurgery {
/*    width: 50%;*/
}

.SearchWidget-search-preview .SearchWidget-category {
    padding: 20px;
    min-height: 310px;
}

.SearchWidget-search-preview .SearchWidget-category .category-title {
    display: block;
    font-size: 18px;
    border-bottom: 1px solid;
    padding-bottom: 5px;
    margin-bottom: 5px;
    color: #566767;
}

.SearchWidget-search-preview .SearchWidget-category .category-title:hover {
    text-decoration: none;
}

.SearchWidget-search-preview .SearchWidget-category ul {
    list-style: none;
    margin: 0;
    padding:0;
    font-size: 14px;
}

.SearchWidget-search-preview .SearchWidget-category ul li {
    padding: 3px 0px;
    border-bottom: 1px dotted #CDDEDE;
}
/*

.SearchWidget-search-preview .SearchWidget-category ul li a,
.SearchWidget-search-preview .SearchWidget-category ul li a:hover {
    color: #566767;
    text-decoration: none;
} */

/* Search Preview Links */
#SearchWidget-closePreviewButton {
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -6px;
}

#SearchWidget-closePreviewButton img {
    width: 13px;
    height:13px;
}

#SearchWidget-show-all {
    color: #358bE8;
}

.SearchWidget-item .top,
.SearchWidget-item .bottom {
    display: block;
    width: 100%;
}

.SearchWidget-item .bottom {
    font-size: 12px;
}

.SearchWidget-item .top .top-left {
    display: inline-block;
    float: left;
}

.SearchWidget-item .top .top-right {
    display: inline-block;
    float: right;
}

.SearchWidget-item .entity-link {
    font-size: 13px;
    font-weight: 700;
    color: #358bE8;
    
}

.SearchWidget-item .review-count {
    color: #47a511;
}

.SearchWidget-item .address {
    font-style: italic;
}

.SearchWidget-item .add-review-link, 
.SearchWidget-item .view-profile-link {
    color: #566767;
    font-weight: 700;
}

.SearchWidget-item .raty-rating-wrapper-readonly img {
    margin-top: -5px;
    margin-right: 1px;
}

/* Small Search Preview */
.SearchWidget-small .SearchWidget-search-preview {
    margin-right: 10px;
}

.SearchWidget-category-container .more {
    padding-top: 10px;
    display: block;
    float: right;
    color: #566767;
    font-size: 13px;
    font-weight: 700;
    
}

/*////////////////////////
// Toggle Scroll Button //
////////////////////////*/

#btn-search-widget-toggle {
    margin-right: 10px;
}