body{
    margin: 20px;
    background-color: white;
}

header,footer{
    text-align: center;
    margin: 50px auto 30px auto;
}

#container{
    max-width: 960px;
    margin: 0 auto;
}

h1,h2{
    font-size: 1.8em;
}

h3{
    font-size: 1.3rem;
    margin: 40px 0px 20px 0px;
}

form{
    padding: 20px 0px;
}

img{
    max-width: 100%;
}

input[type="text"]{
    box-sizing: border-box;
    display: inline-block;
    padding: 3px 10px;
    border: none;
    border: 1px solid #ccc;
    border-radius: 8px;
    line-height: 1.875;
    outline: none;
    vertical-align: middle;
    box-shadow: none;
}

input[type="submit"],
input[type="button"]{
    font-family: FontAwesome;
}

input.update{
    margin-left: 20px;
}

/** Item Page **/
.table th{
    background-color: #f6faf2;
    width: 30%;
    vertical-align: middle;
}

.add-cart{
    text-align: center;
}

figcaption{
    font-size: 80%;
}

/** Cart **/
.cart{
    border-top: 1px solid #ccc;
    width: 100%;
}
.cart-item{
    border-bottom: 1px solid #ccc;
    padding: 20px 0px;
    position: relative;
    margin: 0px;
}

.remove{
    position: absolute;
    top: 10px;
    right: 0px;
    color: #fff;
    font-size: 15px;
    vertical-align: top;
    cursor: pointer;
    background: #333;
    border: none;
    z-index: 100;
    padding: 0;
    margin: 0;
    width: 34px;
    height: 34px;
    line-height: 26px;
    text-align: center;
    display: inline-block;
    border: 4px solid #fff;
    border-radius: 50%;
}

.cart img{
    z-index: 1;
}

input.amount{
    width: 20%;
}

input.checkout{
    margin-left: 5px;
}

/** Regi **/
.required{
    display: inline-block;
    margin-left: 10px;
    padding: 0 7px;
    background-color: #cc4646;
    border-radius: 4px;
    color: #fff;
    font-size: small;
    line-height: 1.85714;
}

.p-locality,.p-street-address,.p-extended-address{
    width: 100%;
}

.p-postal-code,.p-region-id,.p-locality,.p-street-address{
    margin-bottom: 10px;
}

/** Error **/
.error-title{
    margin-top: 0px;
}

.fa-exclamation-triangle{
    background-color: #444;
    padding: 10px;
    border-radius: 50%;
    border: 3px solid #fff;
    font-size: 0.8em;
    font-weight: 500;
    color: yellow;
    line-height: 1.5rem;
}

/** Complete **/
.comp h3,.maintenance h3{
    margin-top: 20px;
}

/***************
/* SmartPhone
****************/

@media screen and (max-width: 48em){

    .table td {
        display: block;
    }
    .table th {
        display: block;
        width: 100%;
    }

    /** Item Page **/
    .order-parts{
        margin-top: 20px;
    }

    /** Cart **/    
    input.amount{
        width: 30%;
    }



}