/**
 * General
 */
html {
	position: relative;
	min-height: 100%;
}

body {
	margin: 0 0 120px;
}

h1, h2, h3 {
	margin-top: 10px;
}

label,
select,
input[type="radio"] {
	cursor: pointer;
}

/**
 * Header
 */
#header {
	border-top: 5px solid #013568;
	border-bottom: 5px solid #3f688f;
	margin-bottom: 30px;
	box-shadow: 5px 5px 45px rgba(0, 0, 0, 0.5);
	background-image: linear-gradient(to bottom, #434343, #272727);
}

#header .top-bar {
	background: #000;
	height: 31px;
}

#header .container {
	position: relative;
	min-height: 48px;
}

#header .logo {
	position: absolute;
	top: -31px;
	display: block;
	width: 84px;
	height: 102px;
	box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.4);
	background: url('../img/iso.png') left 20px no-repeat #013568;
}

#header .menu {
	position: absolute;
	top: -31px;
	right: 50px;
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 12px;
}

#header .dropdown-menu {
	font-size: 12px;
	min-width: 0;
}

#header .menu .caret {
	border-top-color: #fff;
}

#header .menu > li {
	float: left;
	padding: 0 30px 0 0;
	height: 31px;
	line-height: 31px;
}

#header .menu > li > a {
	color: #fff;
	text-decoration: none;
}

#header .menu .btn {
	padding: 2px 10px;
	font-weight: bold;
	color: #333;
}

/**
 * Shopping steps
 */
.shopping-steps {
	height: 41px;
	width: 610px;
	margin: 30px auto;
	padding: 0;
	list-style-type: none;
	font-size: 12px;
	color: #bababa;
}

.shopping-steps li {
	float: left;
	width: 120px;
	height: inherit;
	background-image: url('../img/progress-tracker-sprite.png');
	background-repeat: no-repeat;
	text-align: center;
	margin-bottom: 30px;
}

.shopping-steps li.active,
.shopping-steps li.complete {
	color: 4087c5;
}

.shopping-steps li.step1 { background-position: 40px 0px; }
.shopping-steps li.step2 { background-position: -80px 0px; }
.shopping-steps li.step3 { background-position: -200px 0px; }
.shopping-steps li.step4 { background-position: -320px 0px; }
.shopping-steps li.step5 { background-position: -440px 0px; }
.shopping-steps li.step1.complete { background-position: 40px -60px; }
.shopping-steps li.step2.complete { background-position: -80px -60px; }
.shopping-steps li.step3.complete { background-position: -200px -60px; }
.shopping-steps li.step4.complete { background-position: -320px -60px; }
.shopping-steps li.step5.complete { background-position: -440px -60px; }
.shopping-steps li.step1.active { background-position: 40px -120px; }
.shopping-steps li.step2.active { background-position: -80px -120px; }
.shopping-steps li.step3.active { background-position: -200px -120px; }
.shopping-steps li.step4.active { background-position: -320px -120px; }
.shopping-steps li.step5.active { background-position: -440px -120px; }

.shopping-steps span {
	display: block;
	margin-top: -20px;
}

/**
 * Content - specific
 */
.text-primary:hover { color: #428bca; }
.text-success:hover { color: #468847; }
.text-danger:hover { color: #b94a48; }
.text-warning:hover { color: #c09853; }

a.pop {
	text-decoration: none;
	border-bottom: 1px dotted #5a5a5a;
	color: #5a5a5a;
	cursor: help;
}

a.toggle-expand .glyphicon {
	margin-left: 10px;
}

a.remove {
	color: #d10000;
}

.collection-content {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.collection-content li {
	padding: 2px 0 2px 20px;
	background: url('../img/tree-listing.png') repeat-y left 50%;
}

.expand-content {
	margin: 10px 0;
}

#data-agreement-block label {
	font-weight: normal;
}

#shipping-address-block {
	background: #f5f5f5;
	padding: 30px 0 20px 0;
}

.panel-title .glyphicon {
	margin: 0 10px 0 0;
}

.pop.text-success {
	font-weight: bold;
	color: #108400;
}

.calculation-sum-total {
	width: 100%;
	margin: 20px 0;
}

.calculation-sum-total td {
	border-top: 1px solid #ddd;
	text-align: right;
	padding: 5px 0;
}

.calculation-sum-total #promotional-code {
	max-width: 70px;
	display: inline-block;
}

.cardtype {
	margin: 0 2px;
}

#payment-field-monthexpire,
#payment-field-yearexpire {
	display: inline;
	width: 80px;
}

.btn-primary {
	background-repeat: repeat-x;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4891d3), color-stop(100%, #266dbf));
	background-image: -webkit-linear-gradient(#4891d3, #266dbf);
	background-image: -moz-linear-gradient(#4891d3, #266dbf);
	background-image: -o-linear-gradient(#4891d3, #266dbf);
	background-image: linear-gradient(#4891d3, #266dbf);
}

.btn-primary:hover {
	background-color: #4891d3;
	background-image: none;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}

input.short,
select.short {
	max-width: 90px;
	display: inline-block;
}

.centered {
	margin: 0 auto;
}

.confirmation .panel-heading {
	background: #e9fae8;
}

.confirmation .panel-body {
	padding: 30px;
}

.confirmation .order-number {
	padding-right: 20px;
}

.panel-heading .text-success:hover {
	color: #468847;
}

/**
 * Temporary code!!
 * The following property is meant to be removed.
 * It is here for demo purposes only...
 */
#discount-applied,
#form-promotional-code,
#discount-form {
	display: none;
}
/*** End Temporary code ***/

#toggle-discount-form {
	position: absolute;
	right: 2px;
	top: 72px;
}

.nowrap { white-space: nowrap; }

.striked-price {
	color: #b94a48;
	font-size: 12px;
	font-weight: normal;
	text-decoration: line-through;
}

.striked-price .inner {
	color: #333;
}

/**
 * Tables - specific
 */
th { white-space: nowrap; }
tr.sum { color: #999; }
tr.total { font-weight: bold; }
tr.discount { background-color: #faf8f0; }
.discount td:last-child { padding-right: 10px; }
.discount td { padding-left: 5px; }

/**
 * Footer
 */
#footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
	min-height: 50px;
	background: #080808;
	border-bottom: 5px solid #1a3e62;
	padding: 10px 0;
}

#footer ul {
	max-width: 300px;
	margin: 0 auto;
	padding: 0;
	list-style-type: none;
}

#footer li {
	float: left;
	padding-right: 20px;
}

#footer a {
	color: #828e99;
}

/**
 * Media Queries
 */
@media screen and (max-width: 767px) {

	#header .menu {
		right: 0;
	}

	.row {
		margin-right: 0;
		margin-left: 0;
	}

	.shopping-steps {
		border-top: 2px solid rgba(80, 147, 206, 0.3);
		list-style-type: decimal;
		height: auto;
		margin: 10px auto;
		padding: 10px 0 0 0;
	}

	.shopping-steps li {
		background-image: none;
		width: auto;
		margin: 0 0 0 40px;
		padding: 0 0 10px 0;
	}

	.shopping-steps span {
		display: inline;
		margin: 0;
		padding: 0 0 0 5px;
	}

	a.toggle-expand {
		color: #333;
		cursor: default;
		text-decoration: none;
	}

	a.toggle-expand .glyphicon,
	.expand-content {
		display: none;
	}

	.centered {
		margin: 0;
	}
}

@media screen and (max-width: 991px) {
	.shopping-steps {
		width: auto;
	}

	.confirmation-table {
		margin-top: 40px;
	}

	.confirmation-table .btn-success {
		float: none !important;
	}

	#toggle-discount-form {
		position: relative;
		right: auto;
		top: auto;
	}
}

.loader {
    margin: 60px auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(128, 255, 255, 0.2);
    border-right: 1.1em solid rgba(128, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(128, 255, 255, 0.2);
    border-left: 1.1em solid lightskyblue;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}
.loader,
.loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}
@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
