/*!
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
    height: 100%;
}

body {
    padding-top: 40px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}

.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}

/* Home Page Carousel */

header.carousel {
    height: 40%;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

/*.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}
*/
.period {
    display: block;
    font-style: italic;
}

/* Footer Styles */

footer {
    margin: 50px 0;
}

/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
}

.navbar .navbar-header .navbar-brand {
	color: #fff;
	background: #409710;
	text-align: center;
	width: 170px;
	height: 40px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.sub-brand {
	background: #82b83d;
	color: #555;
	text-align: center;
	font-size: 2.2em;
	width: 170px;
	position: absolute;
	z-index: 2;
	padding-top: 0.4em;
	padding-bottom: 0.4em;
}
.sub-brand img {
	width: 130px;
}
.search-form {
	width: 170px;
	top: 120px;
	position: absolute;
	padding: 0;
	margin: 0;
	z-index: 1;
}
.search-form form {
	padding: 0;
	margin: 0;
}
.navbar-nav > li > a {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}
.navbar {
	min-height: 40px !important;
	max-height: 40px !important;
}

.category {
	padding-bottom: 1em;
}
.category .wrap {
	font-size: 1em;
/*	background: #f5f5f5;*/
	padding: 0;
	border: 0px solid;
	border: 1px solid #ddd;
	border-radius: 4px 4px 0 0;
	overflow: hidden;
	position: relative;
}
.category h2 {
	font-size: 1.6em;
	position: absolute;
	top: 3.5em;
	left: 0em;
	text-overflow: ellipsis;
	overflow: hidden;
	background: red;
	padding: 0.25em 0.5em;
}
.category h2 a {
	color: white;
}
.category .img {
	height: 150px;
	background-size: 110% auto;
/*	background-position: 50% 50%;*/
	background-position: cover;
	background-repeat: no-repeat;
}
@media(max-width:767px) {
	.category .img {
		height: 250px;
	}
}
@media(max-width:991px) {
	.category .img {
		height: 200px;
	}
}
.category .info {
	padding: 0 1em 1em 1em;
	height: 150px;
}

.category .info .description {
	padding: 1em 0;
}

.product {
	padding-bottom: 1em;
}
.product .wrap {
	font-size: 0.85em;
/*	background: #f5f5f5;*/
	padding: 0;
	border: 0px solid;
	border: 1px solid #ddd;
	border-radius: 4px 4px 0 0;
	overflow: hidden;
	position: relative;
}
.product .price {
	position: absolute;
	background: #f44720;
	padding: 0.25em 0.5em;
/*	width: 5em;*/
	text-align: right;
	color: #fff;
	right: 0;
	bottom: 0em;
	font-weight: bold;
	font-size: 1.2em;
}
.product .remains {
	position: absolute;
	background: #777;
	padding: 0.5em 0em;
	width: 18.5em;
	text-align: center;
	color: #fff;
	left: -6.75em;
	top: 0.5em;
	z-index: 1;
	transform:rotate(-45deg);
	-ms-transform:rotate(-45deg);
	-webkit-transform:rotate(-45deg);
}
.product .photo_preview {
	padding: 0;
	margin: 0;
	border: 1px solid #eee; 
	background-size: contain;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-color: #fafafa;
}
.product .prices {
/*	font-size: small;*/
}
.product .prices .panel-heading {
/*	padding: 0.5em;*/
}
.product .prices .panel-body {
	padding: 0.5em;
}
.product .new {
	position: absolute;
	background: #a00;
	padding: 0.5em 0em;
	width: 18.5em;
	text-align: center;
	color: #fff;
	right: -7.0em;
	top: 1.0em;
	transform:rotate(45deg);
	-ms-transform:rotate(45deg);
	-webkit-transform:rotate(45deg);
}
.product .closed {
	position: absolute;
	background: #a00;
	padding: 0.5em 0em;
	width: 100%;
	text-align: center;
	color: #fff;
	left: 0em;
	top: 5em;
}
.product .img.img-full {
	opacity: 0.15;
	position: absolute;
	width: 100%;
	height: 100%;
}
.racestart .status {
	margin: 0;
	position: absolute;
	z-index: 2;
	bottom: 0em;
	width: 100%;
	height: 0.75em;
}
.racestart .status .progress {
	border-radius: 0;
	height: 0.75em;
}
.racestart .img {
	height: 150px;
	background-size: 110% auto;
/*	background-position: 50% 50%;*/
	background-position: cover;
	background-repeat: no-repeat;
}
@media(max-width:767px) {
	.racestart .img {
		height: 250px;
	}
}
@media(max-width:991px) {
	.racestart .img {
		height: 200px;
	}
}
.product .info {
	padding: 0 1em 1em 1em;
	height: 120px;
}

.category-cat {
	padding-bottom: 1em;
}
.category-cat .wrap {
	font-size: 1em;
/*	background: #f5f5f5;*/
	padding: 0;
	margin: 0;
	border: 0px solid;
	border: 1px solid #ddd;
	border-radius: 4px 4px 0 0;
	overflow: hidden;
	position: relative;
}
.category-cat h2 {
	font-size: 1.2em;
	text-overflow: ellipsis;
	overflow: hidden;
	background: red;
	padding: 0.25em 0.5em;
	margin: 0;
}
.category-cat h2 a {
	color: white;
}
.category-cat .img {
	height: 8em;
	background-size: 110% auto;
/*	background-position: 50% 50%;*/
	background-position: cover;
	background-repeat: no-repeat;
}
@media(max-width:767px) {
	.category-cat .img {
		height: 8em;
	}
}
@media(max-width:991px) {
	.category-cat .img {
		height: 8em;
	}
}
.category-cat .info {
	position: absolute;
	top: 3.5em;
	left: 0em;
	padding: 0 1em 1em 0em;
	height: 150px;
}

.category-tag {
	padding-bottom: 1em;
}
.category-tag .wrap {
	font-size: 1em;
/*	background: #f5f5f5;*/
	padding: 0;
	margin: 0;
	border: 0px solid;
	border: 1px solid #ddd;
	border-radius: 4px 4px 0 0;
	overflow: hidden;
	position: relative;
}
.category-tag h2 {
	font-size: 1.2em;
	text-overflow: ellipsis;
	overflow: hidden;
	background: blue;
	padding: 0.25em 0.5em;
	margin: 0;
}
.category-tag h2 a {
	color: white;
}
.category-tag .img {
	height: 8em;
	background-size: 110% auto;
/*	background-position: 50% 50%;*/
	background-position: cover;
	background-repeat: no-repeat;
}
@media(max-width:767px) {
	.category-tag .img {
		height: 8em;
	}
}
@media(max-width:991px) {
	.category-tag .img {
		height: 8em;
	}
}
.category-tag .info {
	position: absolute;
	top: 3.5em;
	left: 0em;
	padding: 0 1em 1em 0em;
	height: 150px;
}

.racestart .info {
}
.racestart h3 {
	font-size: 1.4em;
}
#footer {
	color: #aaa;
	background: #333;
	margin: 50px 0 0 0;
}
.footer-top {
	background: #494949;
	padding: 1em 0;
}
.footer-top h2 {
	margin: 0 0 0.25em 0;
}
.footer-widget {
	background: #292929;
}
.footer-bottom {
	background: #333;
	padding-top: 1em;
	padding-bottom: 1em;
}

.login {}
.login table { width: 100%; }
.login tr {}
.login td { padding: 0.25em 0.5em; }

/*.form-control { width: auto; }*/

input[type=submit] { width: auto; }

.cart .product-quantity {
	width: 5em;
}

.cart .product-quantity input {
	text-align: right;
}

.cart .product-price {
	text-align: right;
	white-space: nowrap;
}

.cart .product-subtotal {
	text-align: right;
	white-space: nowrap;
}

.cart-summary .cart-tax td {
	text-align: right;
	white-space: nowrap;
}

.cart-summary .cart-tax th {
	text-align: right;
	white-space: nowrap;
}

.cart .actions {
	text-align: right;
}

.cart .actions .button {
	display: inline-block;
}

table.cart tr td {
	vertical-align: middle;
}

table.cart tr td.product-name {
	vertical-align: top;
}

table.cart tr td.product-name .name {
	font-weight: bold;
}

.cart .img {
	height: 100px;
	width: 100px;
	background-size: 110% auto;
	background-position: cover;
	background-repeat: no-repeat;
}

@media(max-width:767px) {
	.cart .img {
		height: 100px;
		width: 100px;
	}
}
@media(max-width:991px) {
	.cart .img {
		height: 100px;
		width: 100px;
	}
}

.orders .order-iterate { text-align: right; }
.orders .order-number {}
.orders .order-quantity { text-align: right; }
.orders .order-state {}
.orders .order-total { text-align: right; }


.properties {
	margin: 0;
	padding: 0;
}
.properties li {
	list-style-type: none;
}
.properties .property::after {
	content: ": ";
}
