/*  
Description: Header Styles for the Revel Outdoors website
Author: Jamie Wightman
Author URI: http://jamiewightman.com/
*/

#header_top {
    float: left;
    background-color: #f3f3f3;
    width: 100%;
    margin-bottom: 10px;
}

#header_top p {
    margin: 5px;
    color: #666666;
}

#header_topPhone {
    float: left; 
    width: 100%;
}

#header_topPhone p {
    text-align: center;
}

#header_topEmail {
    float: right; 
    width: 100%;
}

#header_topEmail p {
    text-align: center;
}

#tag_line {
    display: none;
    float: left;
    width: 38%;
}

#tag_line p {
    text-align: center;
}

#header_menu_mobile {
    float: left;
    width: 30%;
    margin-top: 5px;
}

#header_logo {
    float: left;
    width: 37%;
    margin-bottom: 5px;
}

#header_logo img {
    width: 100%;
    max-width: 221px;
}

#header_utilities {
    display: none;
    margin-top: 0px;
    float: left;
    text-align: center;
    width: 38%;
}

#header_utilities p {
    text-align: center;
    margin: 5px;
}

#header_cart_mobile {
    float: right;
    margin-top: 5px;
    width: 30%; 
    text-align: right;
}

#header_cart_mobile a {
    margin: auto;
    width: 50px;
    border: 1px solid;
    padding: 5px;
    padding-right: 20px;
    font-size: 1.4em;
    display: inline-block;
    color: #000000;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#header_cart_mobile a:hover {
    text-decoration: none;
}

#header_cart_mobile a:visited {
    color: #000000;
}

#header_menu_mobile a {
    margin: auto;
    width: 50px;
    border: 1px solid;
    padding: 5px;
    padding-left: 15px;
    font-size: 1.4em;
    display: inline-block;
    color: #000000;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

#header_menu_mobile a:hover {
    text-decoration: none;
}

#header_menu_mobile a:visited {
    color: #000000;
}

#header_cart {
    float: right;
    width: 170px; 
    text-align: right;
    margin-right: 15px;
    border: 1px solid #cccccc;
    display: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#header_cart p {
    margin: 0px;
    text-align: right;
    padding: 5px;
}

#header_cart img {
    float: left;
}

#header_cart a {
    display: block; 
    color: #000000;
}
#header_cart a:hover {
    text-decoration: none;
    background-color: #ffffff;
    color: #000000;
}

#header_search_desktop {
    display: none;
}

.header_search {
    margin: 0px;
    margin-top: 0px;
    float: left;
    text-align: center;
    padding: 2px;
    width: 100%;
    background-color: #000000;
    margin-bottom: 10px;
}

.searchInput {
    background: #ffffff;
    border: 1px solid #015a84;
    border-right: 0px;
    padding: 5px;
    width: 50%;
}

.searchButton {
    cursor: pointer;
    position: relative;
    padding-top: 7px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    left: -3px;
    color: #ffffff;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.searchButton:hover {
    background-color: #ffffff;
}

.header_search p {
    vertical-align: top;
    text-align: center;
    padding: 0px;
    margin: 0px;
}

@media only screen and (min-width: 480px) {
    #header_topPhone {
        width: 40%; 
    }
    #header_topPhone p {
        text-align: left; 
    }
    #header_topEmail {
        width: auto; 
        margin-right: 10px;
    }
    #header_topEmail p {
        text-align: right; 
    }
}

@media only screen and (min-width: 760px) {
    #header_topPhone {
        width: 31%; 
    }
    #tag_line {
        display: block;
    }

    #header_search_mobile {
        display: none;
    }
    
    #header_search_desktop {
        display: block;
    }

    .header_search {
        width: 38%;
        background-color: transparent;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;           
    }
    #header_menu_mobile {
        display: none;
    }
    #header_cart_mobile {
        display: none;
    }
    #header_cart {
        display: block;
    }
    #header_logo {
        width: 29%;
    }

    #header_utilities {
        display: block;
    }
}
 

