html {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Remove the navbar's default rounded borders and increase the bottom margin */ 
.navbar {
    margin-bottom: 50px;
    border-radius: 0;
    font-size: 17px;
}
.navbar-nav>li>.dropdown-menu {
    background-color: #080808;
    border-color: #222;
}
.navbar-nav>li>.dropdown-menu>li>a {
    color: #9d9d9d;
    padding: 5px 20px;
}
.navbar-nav>li>.dropdown-menu>li>a:hover {
    background-color: inherit;
    color: #fff;
}

/* Remove the jumbotron's default bottom margin */ 
.jumbotron {
    margin-bottom: 0;
}

/* Add a gray background color and some padding to the footer */
footer {
    background-color: #f2f2f2;
    padding: 25px;
}

/* for cart style */
.item-name          { width: auto; text-align: left !important; }
.item-price         { width: 90px; text-align: right !important; }
.item-size          { width: 50px; text-align: right !important; }
.item-decrement     { width: 25px; text-align: center !important; }
.item-quantity      { width: 30px; text-align: right !important; }
.item-increment     { width: 25px; text-align: center !important; }
.item-total         { width: 90px;text-align: right !important;}
.item-remove        { width: 70px; text-align: center !important; }
.simpleCart_input {
    width: 50px;
    height: 25px;
    text-align: center;
}
.simpleCart_items table th {
    text-align: center !important;
}
.simpleCart_items table .headerRow {
    height: 50px;
}
.simpleCart_items table th, .simpleCart_itemsX table td {
    height: 30px; 
    font-size: 17px;
    font-weight: normal;
    background-color:#222222;
    border-top: #333 1px solid;
    color: #eee;
}
.simpleCart_items table, .simpleCart_itemsX table {
    width: 100%; 
    font: 12px normal 'courier new';
    border-left: #333 1px solid;
    border-right: #333 1px solid;
    border-collapse: collapse;
}
.simpleCart_items table td, .simpleCart_itemsX table td {
    height: 25px; 
    padding: 5px; 
    border-bottom: #333 1px solid;
}
.simpleCart_decrement, .simpleCart_increment, .simpleCart_remove {
    height: 25px;
    display: block;
    text-decoration: none;
    background-color: #eee;
    border: #ccc 1px solid;
}
.simpleCart_decrement:hover, .simpleCart_increment:hover, simpleCart_remove:hover {
    text-decoration: none;
    background-color: red;
    color: white;
}

/* others */
input[type=search] {
    padding: 6px;
    margin-top: 8px;
    font-size: 17px;
    border: none;
    height: 35px;
}

.search-container {
    float: right;
}
.search-container button {
    float: right;
    padding: 6px 10px;
    margin-top: 8px;
    margin-right: 16px;
    background: #ddd;
    font-size: 17px;
    border: none;
    cursor: pointer;
    height: 35px;
}
.search-container button:hover {
    background: #ccc;
}
.dropdown-menu{
    background-color: #F4CFCE;
    border: 1px solid #D9534F;
}

.panel-body {
    background: #D7D7D7;
}
.preview {
    height: 250px;
}
.preview img {
    clear: left;
    cursor: pointer;
    position: relative;
    margin: auto;
    width: 100%;
    height: calc(100% - 50px);
    object-fit: contain;
    object-position: bottom;
}

.preview input[type='radio'] {
    -webkit-appearance: none;  
    -moz-appearance: none;  
    width: 20px;  
    height: 20px;  
    margin: 5px 0 5px 5px;  
    background-size: 225px 70px;  
    position: relative;  
    float: left;  
    display: inline;  
    top: 0;  
    border-radius: 3px; 
    cursor: pointer;  
    box-shadow: 1px 1px 1px #000;  
}
.preview input[type='radio']:hover {
    -webkit-filter: opacity(.4);  
    filter: opacity(.4);        
}
.preview input[value='black'] {
    background: black;  
}
.preview input[value='white'] { 
    background: white;  
}
.preview input[value='white']:checked {
    background: linear-gradient(white);  
}
.preview input[value='white']:checked ~ img {
    -webkit-filter: opacity(.5) drop-shadow(0 0 0 white);  
    filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(163deg) brightness(109%) contrast(101%);
    background: transparent;
}
.preview input[value='grey'] { 
    background: grey;  
}
.preview input[value='grey']:checked {
    background: linear-gradient(grey);  
}
.preview input[value='grey']:checked ~ img {
    -webkit-filter: opacity(.5) drop-shadow(0 0 0 grey);  
    filter: invert(35%) sepia(0%) saturate(0%) hue-rotate(44deg) brightness(101%) contrast(90%);
}
.preview input[value='red'] {
    background: red;  
}
.preview input[value='red']:checked {
    background: linear-gradient(red)  
}
.preview input[value='red']:checked ~ img {
    -webkit-filter: opacity(.5) drop-shadow(0 0 0 red);  
    filter: invert(24%) sepia(70%) saturate(6360%) hue-rotate(353deg) brightness(96%) contrast(132%);
}
.preview input[value='lightgreen'] {
    background: lime;  
}
.preview input[value='lightgreen']:checked { 
    background: linear-gradient(lime);  
}
.preview input[value='lightgreen']:checked ~ img {
    -webkit-filter: opacity(.5) drop-shadow(0 0 0 green);  
    filter: invert(69%) sepia(58%) saturate(4819%) hue-rotate(79deg) brightness(114%) contrast(128%);
}
.preview input[value='darkgreen'] {
    background: green;  
}
.preview input[value='darkgreen']:checked { 
    background: linear-gradient(green);  
}
.preview input[value='darkgreen']:checked ~ img {
    -webkit-filter: opacity(.5) drop-shadow(0 0 0 green);  
    filter: invert(30%) sepia(64%) saturate(1289%) hue-rotate(72deg) brightness(95%) contrast(107%);
}
.preview input[value='yellow'] {
    background: yellow;  
}
.preview input[value='yellow']:checked {
    background: linear-gradient(yellow);  
}
.preview input[value='yellow']:checked ~ img {
    -webkit-filter: opacity(.5) drop-shadow(0 0 0 yellow);  
    filter: invert(100%) sepia(82%) saturate(5596%) hue-rotate(0deg) brightness(106%) contrast(102%);
}
.preview input[value='purple'] {
    background: purple;  
}
.preview input[value='purple']:checked {
    background: linear-gradient(purple);  
}
.preview input[value='purple']:checked ~ img {
    -webkit-filter: opacity(.5) drop-shadow(0 0 0 purple);  
    filter: invert(9%) sepia(71%) saturate(5823%) hue-rotate(306deg) brightness(99%) contrast(101%);  
}
.preview input[value='pink'] { 
    background: pink;  
}
.preview input[value='pink']:checked {
    background: linear-gradient(pink);  
}
.preview input[value='pink']:checked ~ img {
    -webkit-filter: opacity(.5) drop-shadow(0 0 0 pink);  
    filter: invert(83%) sepia(37%) saturate(4584%) hue-rotate(280deg) brightness(95%) contrast(96%);
}
.preview input[value='lightblue'] { 
    background: lightblue;  
}
.preview input[value='lightblue']:checked {
    background: linear-gradient(lightblue);  
}
.preview input[value='lightblue']:checked ~ img {
    -webkit-filter: opacity(.5) drop-shadow(0 0 0 lightblue);  
    filter: invert(63%) sepia(50%) saturate(336%) hue-rotate(157deg) brightness(104%) contrast(97%);
}
.preview input[value='darkblue'] { 
    background: darkblue;  
}
.preview input[value='darkblue']:checked {
    background: linear-gradient(darkblue);  
}
.preview input[value='darkblue']:checked ~ img {
    -webkit-filter: opacity(.5) drop-shadow(0 0 0 darkblue);  
    filter: invert(14%) sepia(37%) saturate(3759%) hue-rotate(228deg) brightness(84%) contrast(117%);
}
