html,
body {
    /*background: #000 url('../images/skate.jpg') no-repeat center center fixed;*/
    background-color: #FAFAFA;
    box-sizing: border-box;
    color: #fff;
    font: 16px arial, helvetica, sans serif;
    margin: 0em;
    padding: 0;
}

h1 {
    background-color: rgba(0, 0, 0, 1);
    color: #ffc000;
    font-size: 3em;
    margin: 0 0 0 0px;
    padding: 10px 40px 10px 20px;
    vertical-align: middle;
    white-space: nowrap;
}

h3 {
    background-color: #000;
    border-top-right-radius: 3px;
    color: #ccc;
    margin: 0 0 5px;
    padding: 5px 15px;
}

section {
    margin: 25px 25px 100px;
}

input {
    background-color: rgba(85, 85, 85, .05);
    border-radius: 3px;
    border: 1px solid #dcdcdc;
    box-sizing: border-box;
    color: #000;
    display: inline-block;
    font: 16px arial, sans-serif;
    line-height: normal;
    margin: 0;
    padding: 0.5em .3em;
    text-align: left;
    vertical-align: middle;
    width: 80px
}

input.qty {
    color: #fff;
    border: 1px solid #333333;
}


/******************************************************************************
 * nav ********************************************************************
 ******************************************************************************/

nav {
    background: rgba(30, 33, 142, 0.67);
}

nav ul {
    background-color: rgba(2, 119, 189, 0.5);
    border-bottom: 1px solid rgba(49, 144, 201, .25);
    border-top: 1px solid rgb(1, 87, 155);
    cursor: pointer;
    display: inline-block;
    font: inherit;
    margin: 0;
    padding: 0;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    width: 100%;
}

nav ul li {
    display: inline-block;
    margin: 0;
    position: relative;
}

nav a {
    color: #fff;
    display: block;
    padding: 15px 30px;
    position: relative;
    text-decoration: none;
}

nav a:hover {
    background-color: rgba(1, 87, 155, .7);
    box-shadow: inset 0px 2px 8px rgba(0, 0, 0, 0.5);
    color: rgb(255, 255, 255);
}

nav a:active {
    color: #fff;
    position: relative;
}

nav a.active {
    background-color: #fff;
    color: #01579B
}

/******************************************************************************
 * Products ********************************************************************
 ******************************************************************************/

.product-card {
    background-color: #fff;
    border-radius: 3px;
    border: 1px solid #E0E0E0;
    color: #222;
    display: inline-block;
    margin: 15px;
    vertical-align: top;
    width: 400px;
}

.product-card img {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    float: left;
}

.title {
    color: #cccccc;
    font-size: 1.5em;
    font-weight: normal
}

p {
    color: #777;
    line-height: 1.3;
    margin: 0;
    padding: 3px 15px;
}

.price {
    color: #fff;
    float: right;
}

.item-info {
    float: left;
    margin: 0;
    padding: 0;
    width: 250px;
}

.quantity {
    display: inline-block;
}

.quantity input {
    border-radius: 3px;
    border: 1px solid #fff;
    box-shadow: inset 0 1px 2px #ddd;
    box-sizing: border-box;
    color: inherit;
    display: inline-block;
    font-family: sans-serif;
    font: inherit;
    line-height: normal;
    margin: 0;
    padding: 0.2em .3em;
    text-align: right;
    vertical-align: baseline;
    width: 40px;
}


button {
    background: #ff9900 url(../images/cart.png) 8px 0px no-repeat;
    border-radius: 3px;
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 1em;
    height: 25px;
    margin: 0 0 0 9px;
    outline: none;
    padding-left: 25px;
    text-align: center;
/*    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);*/
    width: 110px;
}

button:hover {
    background-color: #ff6600;
}

button:active {
    background-color: #ff9900;
    box-shadow: inset 0 1px 3px 2px rgba(0, 0, 0, .3);
}

button.remove {
    background: #ff0000;
    border: none;
  /*  border-bottom: 1px solid #dc210c;
    border-top: 1px solid #ff3019;*/
    color: #fff;
    padding-left: 5px;
    width: 80px;
    margin-left: 60px;
}

button.remove:hover {
    background-color: #cc0001
}

button.remove:active {

    box-shadow: inset 0 1px 3px 2px rgba(0, 0, 0, .3);
}


/******************************************************************************
 * Cart Container *************************************************************
 ******************************************************************************/

footer {
    background-color: #fafafa;
    border-top: 1px solid #eee;
    /*box-shadow: -3px 0 2px 1px rgba(0,0,0,.5);*/
    bottom: 0px;
    height: 40px;
    left: 0px;
    margin: 0;
    padding: 15px;
    position: fixed;
    white-space: nowrap;
    width: 100%;
    z-index: 1;
}

footer p {
    color: #999;
    display: inline-block;
    margin: 0 20px 0 0;
    padding: 0px;
}

.cart,
.total {
    background-color: #333;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    margin-right: 20px;
    padding: 0px;
}

.cart p,
.total p {
    color: #fff;
    margin: 0;
    padding: 10px 15px;
}

p.description {    
    min-height: 65px;
}

.cart-count,
.amount {
    background: #ff9900;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    color: #fff;
    margin-left: 5px;
    text-align: center;
    width: 15px;
}

.cart-count:after {
     border-left: solid transparent 10px;
     border-right: solid transparent 10px;
     border-bottom: solid #ff9900 10px;
     top: -10px;
     content: " ";
     right:17%;
     position: absolute;
     width: 0;
 }

.amount {
    width: auto;
}

footer a {
    background-color: #333;
    border-radius: 3px;
    color: #999;
    display: inline-block;
    padding: 10px 25px;
    text-decoration: none;
}

footer a:hover {
    background-color: #ff9900;
    color: #fff;
}

footer a:active {
    box-shadow: inset 0 1px 3px 2px rgba(0, 0, 0, .3);
}

footer a#apply-code {
    background-color: #ff9900;
    margin-left: 10px;
    color: #fff;
}
/******************************************************************************
 * Tooltip  *******************************************************************
 ******************************************************************************/
 div.tooltip {
     position: relative;
     display: inline-block;
  }

 /* hide tooltip */
 div.tooltip .wrapper {
     display: none;
 }

 .wrapper h3 {
    padding-left: 10px;
    background: none;
    color: #ffc000;
 }

 /* show and style tooltip */
div.tooltip:hover .wrapper {
    background: #111;
    border-radius: 3px;
    border: 1px solid #444;
    box-shadow: 0px 1px 5px 1px rgba(0,0,0,0.5);
    bottom: 43px;
    color: #eee;
    display: block;
    max-height: 250px;
    min-width: 390px;
    overflow-y: scroll;
    padding: 0.5em;
    position: absolute;
}


 .wrapper p {
    display: block;
    padding: 10px;
    margin-right:0;
    color: #fff;
    border-bottom: 1px solid #333;
 }

 .wrapper p:last-of-type {
    border: 0px;
    padding-bottom: 0;
 }

 .wrapper p span {
    display: inline-block;
    vertical-align: middle;
    width: 80px;
    
 }

 .wrapper p:first-of-type span {
    text-align: left;
 }

 .wrapper p:first-of-type span:nth-child(2) {
    text-align: left;
    width: 30px;
 }

 .wrapper p:first-of-type span:nth-child(3), .cart-price {
    text-align: right;
    margin-left: 25px;
 }

 .wrapper p:first-of-type span:nth-child(4) {
    width: 110px;
 }


 .qty {
    text-align: center;
    width: 30px;
 }


 .hidden {
    display: none;
 }

/******************************************************************************
* Clear Fix ******************************************************************
******************************************************************************/

.cf:before,
.cf:after {
    content: '';
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    *zoom: 1;
}
