


main {
	margin: 40px 5px;
}

.success {
	margin-bottom: 30px;
	font-size: 1.25em;
	text-align: center;
	color: #6371b5;
}


/* ===================== FORMS ===================== */


form {
	max-width: 350px;
	margin: 30px auto;
	padding: 0px 10px;
	text-align: left;
}

@media screen and (min-width: 850px) 
{form {
	max-width: 600px;
}}

form label {
	font-weight: normal;
}

@media screen and (min-width: 850px) 
{form label {
	width: 170px;
	text-align: right;
}}

@media screen and (min-width: 850px) 
{.form-control {
	display: inline-block;
	vertical-align: baseline;
	width: calc(100% - 180px);
	margin-left: 5px;
}}

@media screen and (min-width: 850px) 
{.form-group {
	margin: 0px 50px 15px 0px;
}}

@media screen and (min-width: 1000px) 
{.form-group {
	margin: 0px 100px 15px 0px;
}}

.submit {
	text-align: center;
	margin-top: 30px;
}

@media screen and (min-width: 550px) 
{.submit {
	margin: 30px 0px 0px 180px;
}}

@media screen and (min-width: 800px) 
{.submit {
	margin: 30px 50px 0px 180px;
}}

@media screen and (min-width: 1000px) 
{.submit {
	margin: 30px 100px 0px 180px;
}}

.submit input {
	min-width: 90px;
	font-size: .9em;
}

.buttons {
	text-align: center;
}

.buttons input {
	min-width: 100px;
	margin: 5px;
}

/* ===================== LOGIN ===================== */


.login {
	padding: 30px 0px;
	background-color: #e9ebf7;
	border-radius: 15px;
	border: 10px solid #283572;
	text-align: center;
}

.login > p {
	margin: 10px;
}

.login > p:first-child {
	margin-bottom: 30px;
	font-size: 1.25em;
	text-align: center;
}

.login form {
	max-width: 500px;
	margin: 30px auto 30px;
	text-align: left;
}



@media screen and (min-width: 550px)
{.login form label {
	width: 100px;
}}

@media screen and (min-width: 550px)
{.login form .form-control {
	width: calc(100% - 130px);
	margin-right: 20px;
}}


/* ===================== REGISTER ===================== */

.register {
	padding-top: 30px;
	background-color: #e9ebf7;
	border-radius: 15px;
	border: 10px solid #283572;
}

.register > p {
	margin-bottom: 30px;
	font-size: 1.25em;
	text-align: center;
}



/* ===================== FORGOT ===================== */

.forgot {
	padding-top: 30px;
	background-color: #e9ebf7;
	border-radius: 15px;
	border: 10px solid #283572;
}

.forgot > p {
	margin: 0px 10px 30px;
	font-size: 1.15em;
	text-align: center;
}

.forgot form {
	max-width: 300px;
	margin: 30px auto;
	text-align: center;
}

.forgot .form-group {
	margin: 50px 0px;
}

.forgot .form-group input {
	width: 100%;
}

.forgot .submit {
	margin-top: 30px;
}

.forgot .submit input {
	min-width: 120px;
}


/* ===================== LOGGED IN TEMPLATE ===================== */

.trader-menu {
	padding: 0px 10px;
	background-color: #283572;
	border-radius: 10px 10px 0px 0px;
}

@media screen and (max-width: 800px) 
{.trader-menu {
	padding: 5px 10px;
}}

.trader-menu a, trader-menu a:link, .trader-menu a:visited {
	display: inline-block;
	padding: 5px 12px;
	color: #fff;
}

.trader-menu a.active, .trader-menu a:hover, trader-menu a:focus, .trader-menu a:active {
	background-color: #3d487f;
}

@media screen and (max-width: 900px) 
{.trader-menu a {
	width: 100%;
}}


.trader-content {
	padding: 20px 3px;
	background-color: #e9ebf7;
	border: 10px solid #283572;
	border-radius: 0px 0px 10px 10px;
	border-top: 0px;
}


.logged-in {
	margin: 50px 20px 200px 20px;
	color: #359;
	font-size: 1.15em;
	text-align: center;
}





/* ===================== ACCOUNT ===================== */

.account .list {
	display: inline-block;
	max-width: 500px;
	margin: 40px 0px;
}

@media screen and (min-width: 500px) and (max-width: 600px) , (min-width: 700px)
{.account .list {
	font-size: 1.1em;
}}

.account .list p {
	margin: 0px;
}

@media screen and (min-width: 500px) and (max-width: 600px) , (min-width: 700px)
{.account .list p {
	border-bottom: 1px dotted #999;
}}

@media screen and (min-width: 500px) and (max-width: 600px) , (min-width: 700px)
{.account .list .divider {
	margin-bottom: 10px;
	border-bottom: 3px double #999;
}}

.account .list span {
	display: inline-block;
	vertical-align: top;
	padding: 5px 20px;
	text-align: left;
}

.account .list span:first-child {
	width: 95%;
	border-bottom: 1px dotted #ccc;
}

@media screen and (min-width: 500px) and (max-width: 600px) , (min-width: 700px)
{.account .list span:first-child {
	width: 180px;
	border: 0px;
}}

.account .list span:last-child {
	width: 95%;
	border-bottom: 1px dotted #999;
}

@media screen and (min-width: 500px) and (max-width: 600px) , (min-width: 700px)
{.account .list span:last-child {
	width: calc(100% - 190px);
	border: 0px;
}}

.account .divider span:last-child {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 3px double #999;
}

@media screen and (min-width: 500px) and (max-width: 600px) , (min-width: 700px)
{.account .divider span:last-child {
	border: 0px
}}

.account form {
	margin-top: 40px;
}

.account .error {
	margin: 40px 10px 0px;
}


.account .success {
	margin: 40px 10px 0px;
}



/* ===================== ORDERS ===================== */

.orders .error {
	margin: 70px 0px 150px;
}

.orders .empty {
	margin: 70px 0px 150px;
	font-size: 1.25em;
}

@media screen and (min-width: 676px) and (max-width: 750px)
{.orders {
	font-size: .85em;
}}

.orders .form-control {
	display: inline-block;
	vertical-align: middle;
	max-width: 180px;
	margin: 0px 0px;
}

.orders .list {
	margin: 40px auto;
} 

.orders .list th {
	padding: 3px 10px;
	text-align: center;
	border-bottom: 1px dotted #d4dad9;
	border-bottom: 1px dotted #2a6496;
}
 
@media screen and (max-width: 675px), (min-width: 900px)
{.orders .list th {
	padding: 3px 20px;
}}
	
.orders .list td {
	padding: 3px 10px;
	cursor: pointer;
	border-bottom: 1px dotted #d4dad9;
	border-bottom: 1px dotted #2a6496;
} 

@media screen and (max-width: 675px), (min-width: 900px)
{.orders .list td {
	padding: 3px 20px;
}}
	
.orders .list td.status {
	text-align: center;
} 

@media screen and (max-width: 675px)
{.orders td.status {
	display: none;
}}

@media screen and (max-width: 450px)
{.orders .order-id {
	display: none;
}}

.orders .list tr:first-child td {
	border-top: 1px dotted #2a6496;
}

.orders .list tr:hover td {
	background-color: #dae2e8;
	color: #2a6496;
}



.orders .details h3 {
	margin: 0px;
}

.orders .details h4 {
	margin: 5px 0px 0px;
	font-style: italic;
	font-size: .75em;
}

.orders .details a {
	padding: 10px 30px;
	line-height: 2.25em;
}


.orders .details .table-responsive {
	border: 0px;
}

.orders .details table {
	min-width: 70%;
	margin: 50px auto 0px;
}

@media screen and (min-width: 775px)
{.orders .details table {
	max-width: 80%;
}}


.orders .details {
	margin: 50px auto;
}

.orders .details th {
	padding: 3px 10px;
	text-align: left;
	border-bottom: 1px dotted #777;
}

@media screen and (min-width: 900px)
{.orders .details th {
	padding: 3px 30px;
}}

.orders .details .heading th {
	background-color: #777;
	color: #fff;
	border-top: 10px solid #e9ebf7;
	border-bottom: 5px solid #e9ebf7;
}

.orders .details td {
	padding: 6px 10px;
	text-align: left;
	border-bottom: 1px dotted #777;
}

@media screen and (min-width: 900px)
{.orders .details td {
	padding: 6px 30px;
}}

.orders .details tr:last-child td {
	padding-bottom: 10px;
}

.orders .details td span, .orders .details th span {
	font-size: .85em;
	font-weight: normal;
	font-style: italic;
}

.orders .order {
	font-size: .9em;
}

.orders .order tr:first-child th {
	font-size: 1.1em;
}

.orders .notification {
	width: auto;
	margin-top: 30px;
}



/* ===================== CHECKOUT ===================== */

.order {
	text-align: center;
}

p.required {
	margin-bottom: 30px;
}

.totals {
	margin: 40px 0px 20px;
	text-align: center;
	font-size: 1.4em;
}

.checkout .totals {
	border: 0px;
}

.totals em {
	display: block;
	font-size: .7em;
}

div.delivery {
	padding: 0px;
}

.checkout .success {
	margin: 50px 0px 70px;
}


























	