﻿/*********************************************/
/********      Search Bar Styles      ********/
/*********************************************/

#searchBar
{
    
    margin-top:0px;
    text-align: center;
    width: 100%;
    padding: 10px 0 0 0;
    display: block;
    overflow: hidden;

    color: #000;
}

#basicSearchFormFields
{
    width: auto;
    display: inline-block;
    text-align: center;
    padding-top:3px;
}

.searchStaticText
{
    color: #000;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    height: 20px;
    margin: 12px auto;
    vertical-align: top;
    width: 135px;
}

.searchBarBackground
{
    background-image: url(../images/TextboxBackground.png);
    /*width: 390px; Changing this for possible new search view*/
    width: 391px;
    height: 33px;
    margin: 2px auto;
    display: inline-block;
    vertical-align: top;
}

.keywordTextBox
{
    margin: 4px 0 0 0;
    background-color: #fff;
    border: 0 none;
    font-size: 15px;
    text-align: center;
    text-align: left;
    width: 374px;
    height: 23px;
    
}

.advancedSeachSwapButtons
{
    max-width: 30%;
    display: inline-block;
    text-align: left;
}

/*SEARCHBUTTON*/
#Search1,
#Search2
{
    border-style: none;
    display: inline-block;
    height: 38px;
    margin: auto 4px;
    width: 90px;
}

.advancedSearchLink,
.basicSearchLink
{
    display: inline-block;
    padding-top: 2px;
    text-align: left;
    vertical-align: top;
    color:#fff;
}


#advancedSearchFormFields
{
   
    width: auto;
}

.advancedSearchOptions
{
    /*max-width: 76%;
    display: inline-block;
    text-align: right;*/
}

.searchByBox
{
    display: inline-block;
    width: 100%;  
    color: #fff;
    height: 23px;
}

.searchForCity,
.searchForLogoType,
.searchForCompanyName,
.searchForContactName,
.searchForRadius
{
    display: inline-block;
    text-align: center;
    color: #fff;
    height: 23px;
}

.searchByDropDown,
.searchByCityDropDown,
.searchByLogoTypeDropDown,
.searchByCategoryDropDown,
.distanceDropDown,
.milesDropDown,
.searchByZipPostalTextBox,
.searchByCategoryDropDown
{
    display: inline-block;
    text-align: center;
}

.searchByCityDropDown,
.searchByZipPostalTextBox
{
    margin-right: 10px;
}

.milesDropDown
{
    margin-right: 6px;
}

.searchText
{
    padding-right: 5px;
    display: inline-block;
}

.searchByCompanyTextBox,
.searchByContactTextBox
{
    display: inline-block;
    text-align: center;
}

.companyTextBox,
.contactTextBox
{
    font-size: 14px;
    text-align: left;
    width: 195px;
    height: 15px;
}

.zipPostalTextBox
{
    font-size: 14px;
    text-align: left;
    width: 81px;
    height: 15px;
}

.Disappear{
    display: none;
}

.Appear{
    display: inline-block;
}

div#mainNavigationScreen 
{
    background-color:#eb3300;
    height: auto;
    font-size: 13px;
        font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
   
    width: auto;
    margin: 0;
    margin-bottom:7px;
    padding: 7px 0 7px 0;
    text-align: center;
    display: block;
    text-transform:uppercase;
}

div#mainNavigationScreen div,
div#mainNavigationScreen div.noPadding
{
    display: inline;
    color: #fff;
    padding: 0 10px;
}

div#mainNavigationScreen div.firstLink
{
    padding: 0 10px 0 0;   
}

div#mainNavigationScreen div.lastLink
{
    padding: 0 0 0 10px;   
}

div#mainNavigationScreen div.noPadding
{
    padding: 0;
}
    
div#mainNavigationScreen div.onlyMobile,
.headerGraphic div.onlyMobile
{
    display: none;    
}
div#mainNavigationScreen div a
{
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
}

div#mainNavigationScreen div a:hover
{
    color: #fff;
    text-decoration: underline;
}

div#mainNavigationMobile
{
    display: none;
}


div#mainNavigationScreen2 
{
    background-color:#eb3300;
    height: auto;
    font-size: 13px;
        font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
   
    width: auto;
    margin: 0;
    margin-bottom:7px;
    padding: 7px 0 7px 0;
    text-align: center;
    display: block;
    text-transform:uppercase;
}

div#mainNavigationScreen2 div,
div#mainNavigationScreen2 div.noPadding
{
    display: inline;
    color: #fff;
    padding: 0 10px;
}

div#mainNavigationScreen2 div.firstLink
{
    padding: 0 10px 0 0;   
}

div#mainNavigationScreen2 div.lastLink
{
    padding: 0 0 0 10px;   
}

div#mainNavigationScreen2 div.noPadding
{
    padding: 0;
}
    
div#mainNavigationScreen2 div.onlyMobile,
.headerGraphic div.onlyMobile
{
    display: none;    
}
div#mainNavigationScreen2 div a
{
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
}

div#mainNavigationScreen2 div a:hover
{
    color: #fff;
    text-decoration: underline;
}

div#mainNavigationMobile
{
    display: none;
}


/* Styles for iPads/Tablets*/
@media only screen and (min-width: 600px) and (max-width: 950px)
{
    .advancedSearchOptions {
        display: inline-block;
        /*max-width: 75%;*/
        text-align: right;
        margin: 0 0 5px 0;
    }
    
    #searchBar {
        
        color: #000;
        display: block;
        height: auto;
        overflow: hidden;
        padding: 5px 0 0 0;
        text-align: left;
    }
    
    .searchByCityDropDown,
    .searchByZipPostalTextBox
    {
        margin: 0 0 3px 0;    
    }
}

/* Styles for mobile devices, iPads would start at min width of 768px */
@media only screen and (min-width: 100px) and (max-width: 650px)
{
    #header
    {
        max-width: 650px;
        min-width: 100px;
        width: auto;    
        
    }
    
    .headerGraphic div.onlyMobile
    {
        display: block;
        float: right;
        margin: 0 10px 0 0;
        height: 37px;
    }
    
    .headerGraphic div.onlyMobile a
    {
        display: block;
        float: right;
        margin: 15px 10px 0 0;
        color: #0059AB;
        text-decoration: none;
        font-weight: bold;
    }
    
    div#mainNavigationScreen 
    {
        background: none repeat scroll 0 0 #FFFFFF;
        display: block;
        font-size: 19px;
        height: 140px;
        margin: 0;
        max-width: 650px;
        min-width: 100px;
        padding: 3px 0 0 0;
        text-align: center;
        white-space: nowrap;
        width: auto;
    }
    
    div#mainNavigationScreen div
    {
        background: none repeat scroll 0 0 #eb3300;
        color: #fff;
        display: block;
        padding: 0;
        margin: 0 0 5px 0;
        width: 100%;
        min-width: 100px;
        max-width: 650px;
    }
    
    div#mainNavigationScreen div.noPadding,
    div#mainNavigationScreen div.lastLink,
    div#mainNavigationScreen div.firstLink,
    div#mainNavigationScreen div.hideMobile
    {
        display: none;
    }
        
    div#mainNavigationScreen div.onlyMobile
    {
        display: block;
        max-width: 650px;
        min-width: 100px;
        padding: 0;
        text-align: center;
        width: auto;  
    }
    
    div#mainNavigationScreen div a 
    {
        display: block;
        width: 100%;
        color: #fff;
        text-align: center;
        text-decoration: none;
        height: 32px;
        max-width: 650px;
        min-width: 100px;
        padding: 8px 0 0 0;
        
    }

    #searchBar, div#mainNavigationScreen2
    {
        display: none;    
    }
}