/* GSE Desktop Search */
#block-search-form{
    display:  none !important;
}
#pid-search-gss .cse .gsc-control-cse,
#pid-search-gss .gsc-control-cse,
#pid-search-gss .gsc-input-box table tbody tr,
#pid-search-gss .gsc-input-box table tbody,
#pid-search-gss .gsc-input-box table,
#pid-search-gss .gs-no-results-result .gs-snippet, .gs-error-result .gs-snippet {
    background-color: #eee !important;
    border-color:#eee !important;
    padding-left:0px !important;
}

#pid-search-gss .gsc-control-cse #gsc-i-id1{
    background:none !important;
    background-color: #fff !important;
    padding-left:5px !important;
    height: 1.5em !important;
}
#gse-desktop-content-form .gsc-search-box input.gsc-input,
#gse-desktop-content-form #cse input.gsc-input{
    background : #fff !important;
    height: 24px !important;
    padding-left:5px !important;
}
#gse-desktop-content-form #gs_tti51{
    padding-left:0px;
}
#pid-search-gss .gsc-above-wrapper-area .gsc-above-wrapper-area-container tbody{
    border-top:1px solid #dee4e4 !important;
}

#pid-search-gss .gsc-input-box,
#pid-search-gss .gsc-search-box tbody,
#pid-search-gss .gsc-search-box .gsc-input>input:hover,
#pid-search-gss .gsc-input-box-hover,
#pid-search-gss .gsc-table-result table tbody,
#pid-search-gss .gsq_a table tbody,
#pid-search-gss .gsc-table-result tbody,
.gsc-input-box{
    border:none !important;
}

#pid-search-gss .gcsc-branding{
    display:none;
}

#pid-search-gss .cse .gsc-webResult.gsc-result:hover,
#pid-search-gss .gsc-webResult.gsc-result:hover,
#pid-search-gss .gsc-webResult.gsc-result.gsc-promotion:hover,
#pid-search-gss .gsc-results .gsc-imageResult-classic:hover,
#pid-search-gss .gsc-results .gsc-imageResult-column:hover,
#pid-search-gss .gsc-webResult.gsc-result{
    border-top: 1px solid #eee !important;
    border-left: 1px solid #eee !important;
    border-right: 1px solid #eee !important;
    border-bottom: 1px solid #ccc !important;
}

#pid-search-gss .gs-result a.gs-visibleUrl,
#pid-search-gss .gs-result .gs-visibleUrl{
    color: #1d6ab1 !important;
}

#pid-search-gss .gsc-thumbnail-inside,
#pid-search-gss .gsc-url-top{
    padding-left: 0px !important;
}

body#pid-search-gss #edit-submit{
    margin-top:0px !important;
}

#pid-search-gss .gsc-above-wrapper-area {
    border-bottom: 1px solid #ccc !important;
}

#pid-search-gss .cse .gsc-search-button input.gsc-search-button-v2,
#pid-search-gss input.gsc-search-button-v2{
    margin-top:10px !important;
}

#pid-search-gss table.gsc-search-box{
    width:95% !important;
}

#pid-search-gss .gsc-results .gsc-cursor-box .gsc-cursor-current-page{
    color: #fff !important;
    background-color: #777;
}

#pid-search-gss .gsc-cursor-box {
    text-align: center;
}

#pid-search-gss .gsc-cursor-box .gsc-cursor-page {
    padding: 3px 7px 2px;
    border:1px solid #333;
    color: #1d6ab1;
    font-size: 90%;
}

#pid-search-gss .gsc-cursor-box .gsc-cursor-page:hover{
    background-color: #777;
}

#pid-search-gss .cse .gsc-control-cse, .gsc-control-cse{
    padding:0px !important;
}

#pid-search-gss #cse{
    margin-top: 0px !important;
}

/*Search Box on header*/
.form-item-search-block-form ,
#search-block-form #edit-actions,
#search-block-form .gsc-search-box-tools .gsc-input-box .gsib_b{
    display:none !important;
}

#search-block-form table.gsc-search-box,
#search-block-form table.gsc-search-box tbody,
#search-block-form table.gsc-search-box tbody tr,
#search-block-form table.gsc-search-box tbody tr td,
#search-block-form .gsc-input-box table,
#search-block-form .gsc-input-box table tbody,
#search-block-form .gsc-input-box table tbody tr,
#search-block-form .gsc-input-box table tbody tr td{
    border-color:transparent !important;
    background: transparent !important;
}


#search-block-form .gsc-search-box .cse input.gsc-search-button:hover,
#search-block-form .gsc-search-box input.gsc-search-button:hover,
#search-block-form .gsc-search-box .cse input.gsc-search-button,
#search-block-form .gsc-search-box input.gsc-search-button{
    background: none !important;
    border:none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    padding:0px !important;
    width:0px !important;
    height:0px !important;
}

#search-block-form .gsc-search-box input.gsc-input,
#search-block-form #cse-search-form input.gsc-input{
    background : url('/profiles/subaru/themes/custom/subaru/images/search-btn-afs.png') #eee 3% 50% no-repeat !important;
    width: 150px !important;
    height: 40px !important;
    padding-left: 30px !important;
    box-shadow: none !important;
    color: #666;
    border:none !important;
    border-radius: 5px;

}

#search-block-form table.gsc-search-box tbody tr td.gsc-clear-button{
    display: none !important;
}

input.gsc-input{
    font-size: 14px !important;
    font-weight: normal !important;
    font-family: "Avenir", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

#pid-search-gss.not-front .header-group{
    height: 355px;
}

#pid-search-gss #sidebar-first{
    margin-top: -248px;
}

#pid-search-gss #search-block-form table.gsc-search-box{
    margin-top: -20px;
}

#pid-search-gss #search-block-form .gsc-results-wrapper-nooverlay{
     display: none;
 }
/* For Ipad */

@media only screen and (device-width: 768px) {
    /* For general iPad layouts */
    #search-block-form .gsc-search-box input.gsc-input,
    #search-block-form #cse-search-form input.gsc-input {
        width: 130% !important;
    }
    @viewport {
        width: 500px;
        /*zoom: .5;*/
    }

}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    /* For portrait layouts only */
    #search-block-form .gsc-search-box input.gsc-input,
    #search-block-form #cse-search-form input.gsc-input {
        width: 130% !important;
    }
    @viewport {
        width: 500px;
        /*zoom: .5;*/
    }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
    /* For landscape layouts only */
    #search-block-form .gsc-search-box input.gsc-input,
    #search-block-form #cse-search-form input.gsc-input {
        width: 130% !important;
    }
    #view-id-home_slider-page_homepage_slider img{
        width: 100% !important;
        height: auto !important;
    }

}
