﻿#fadeMe {
    opacity: 0.5;
    background: #000;
    width: 100%;
    height: 100%;
    z-index: 9;
    left: 0;
    position: fixed;
}

#ribbon {
    color: white;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

#read {
    padding-left: 0;
    overflow: hidden;
}

    #read a {
        text-decoration:none;
        color:white;
    }

        #read a:visited {
            text-decoration: none;
            color: white;
        }
    
#sign-in {
    font-weight: 600;
    text-align: right;
    padding-right: 0;
}

    #sign-in a {
        text-decoration: none;
        color: white;
    }

    #head {
    box-sizing: border-box;
    line-height: 100px;
    height: 100px;
    display: flex;
    justify-content: space-between;
    vertical-align: middle;
    position: relative;
}

#menu {
    margin-top: 25px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: none;
}

    #menu span {
        background: #666;
        display: block;
        width: 26px;
        height: 2px;
        margin-bottom: 6px;
        -webkit-transition: all 0.1s linear;
        transition: all 0.1s linear;
    }

    #menu.open span:nth-child(1), #menu.open span:nth-child(3) {
        transform: translate(0px, 10px) rotate(-45deg);
        margin: 0;
    }

    #menu.open span:nth-child(2) {
        height: 0;
        margin: 0;
    }

    #menu.open span:nth-child(3) {
        transform: translate(0px, 8px) rotate(45deg);
    }

#logo img {
    margin-top: 10px;
}

#search-box {
    position: relative;
    width: 40%;
    text-align: center;
    box-sizing:border-box;
}

    #search-box .rounded {
        vertical-align: middle;
        font-size: 18px;
        height: 30px;
        padding: 4px 0px 4px 10px;
        outline: 0;
        -webkit-appearance: none;
        border: 1px solid #e0e0e0;
        border-right: none;
        -moz-border-radius: 4px 0 0 4px;
        -webkit-border-radius: 4px 0 0 4px;
        border-radius: 4px 0 0 4px;
    }

    #search-box .search {
        width: calc(90% - 40px);
    }

#search-btn {
    display: inline-block;
    vertical-align: middle;
    width: 38px;
    height: 38px;
    border: 1px solid #e0e0e0;
    border-left: none;
    -moz-border-radius: 0 4px 4px 0;
    -webkit-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    background-image: url(/Images/Icon-Search.png);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

#back-btn {
    display: none;
    vertical-align: middle;
    margin-left: 0;
    padding-left: 0;
    width: 20px;
    height: 20px;
    background-image: url(/Images/Back.png);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

#call {
    text-align: center;
    line-height: 20px;
    box-sizing: border-box;
}

    #call #toll-free {
        padding-top: 25px;
        font-size: 20px;
        font-weight: 600;
        line-height: 30px;
    }

        #call #toll-free a {
            text-decoration: none;
        }

    #call #weekday {
        font-size: 14px;
        margin-right: 5px;
        display: inline-block;
        line-height: 20px;
    }

    #call #weekend {
        font-size: 14px;
        display: inline-block;
        line-height: 20px;
    }

#cart {
    line-height: 20px;
    text-align: center;
    padding-top: 36px;
    color: #ff0000;
    cursor: pointer;
    background-image: url(/Images/Icon-Cart.png);
    background-position: center;
    background-repeat: no-repeat;
    width: 50px;
}

nav {
    height: 50px;
    display: block;
    border-top: solid 1px #e0e0e0;
    border-bottom: solid 1px #e0e0e0;
    box-sizing:border-box;
}

    nav ul {
        width: 100%;
        margin: 0;
        padding: 0;
        display: table;
    }

        nav ul li {
            display: table-cell;
            text-align: center;
            font-size: 16px;
            font-weight: 600;
            line-height: 50px;
            padding: 0;
            color: #333333;
            vertical-align: middle;
        }

            nav ul li a {
                text-decoration: none;
                color: #333333;
            }

                nav ul li a:visited {
                    text-decoration: none;
                    color: #333333;
                }

                nav ul li a img {
                    border: none;
                    display: none;
                }

.auto_comp {
    display: none;
    z-index: 99;
    position: absolute;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    list-style-type: none;
    border: solid 1px #cccccc;
    overflow-x: hidden;
    text-align: left;
    line-height: 30px;
}

    .auto_comp li {
        cursor: pointer;
        color: #666;
        font-size: large;
        padding-left: 10px;
        margin: 0;
        box-sizing: border-box;
    }

        .auto_comp li:hover {
            background: #ccc;
        }


.chk {
    background: #ccc;
}


/*******************************************************************************/
@media screen and (max-width: 1187px) {
    #read {
        padding-left: 10px;
    }

    #sign-in {
        padding-right: 10px;
    }

    #logo {
        padding-left: 10px;
    }
}

/*******************************************************************************/
@media screen and (max-width: 957px) {
    #search-box {
        width: 30%;
    }
}

/********************** Mobile Device *********************************************************/
@media screen and (max-width: 857px) {
    #read {
        display: none;
    }

    #sign-in {
        width: 100%;
    }

    #menu {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100px;
        left: 0px;
        z-index: 9;
        background-color: #FCFCFC;
        width: 290px;
        height: 100%;
    }

        nav ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
            display: block;
        }

            nav ul li {
                font-size: 14px;
                line-height: 10px;
                margin: 0px;
                padding: 20px;
                display: block;
                text-align: left;
                border-bottom: solid 1px #e0e0e0;
                cursor: pointer;
            }

                nav ul li::after {
                    content: url(/Images/arrow.png);
                    float: right;
                }

                nav ul li a {
                    text-decoration: none;
                }

                nav ul li:hover {
                    background-color: #CCCCCC;
                }

    #head {
        line-height: 60px;
        height: 110px;
    }

    #cart {
        height: 60px;
        padding-top: 16px;
        box-sizing: border-box;
    }

    #call #toll-free {
        padding-top: 15px;
    }

    #logo {
        padding: 0 5px;
        width: 100px;
        box-sizing: border-box;
    }

        #logo img {
            max-width: 100%;
            height: auto;
        }

    #search-box {
        position: absolute;
        top: 60px;
        width: calc(100% - 20px);
        box-sizing:border-box;
    }

        #search-box .rounded {
            -moz-border-radius: 3px 0 0 3px;
            -webkit-border-radius: 3px 0 0 3px;
            border-radius: 3px 0 0 3px;
            height: 26px;
            padding: 3px 10px;
            font-size: 16px;
        }

        #search-box .search {
            width: calc(100% - 80px);
        }

    #search-btn {
        width: 32px;
        height: 32px;
        -moz-border-radius: 0 3px 3px 0;
        -webkit-border-radius: 0 3px 3px 0;
        border-radius: 0 3px 3px 0;
    }
}
/*******************************************************************************/
@media screen and (max-width: 615px) {
    #call #toll-free {
        font-size: 18px;
    }

    #call #weekday {
        font-size: 12px;
    }

    #call #weekend {
        font-size: 12px;
    }

    #logo {
        width: 100px;
        box-sizing: border-box;
    }
}

/*******************************************************************************/
@media screen and (max-width: 540px) {
    nav {
        width: 100%;
    }

    #call #toll-free {
        padding-top:20px;
        font-size: 18px;
    }

    #toll-label {
        display: none;
    }

    #call #weekday {
        display: none;
    }

    #call #weekend {
        display: none;
    }
}
