/* !GENERAL */
body {
	margin: 0;
	padding: 0;
	color: #333;
	line-height: 1.5;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	background: #fefefe;
}
a {
	color: #2C5B3B;
	cursor: pointer;
}
a:hover {
	color: #52A168;
}
.clear {
	clear: both;
}
.no-margin {
	margin: 0;
}
.rel {
	position: relative;
}
.text-right {
	text-align: right;
}
.hidden {
	display: none;
}

.gray {color: #bdbec2;} /*189,190,194*/
.green-light {color: #52A168;} /*82,161,104*/
.green-mid {color: #2C5B3B;} /*44,91,59*/
.green-dark {color: #01161E;} /*1,22,30*/

/*
.gray {color: #bdbec2;} /*189,190,194
.blue-light {color: #DBE2EF;} /*219,226,239
.blue-mid {color: #0e77bb;} /*14,119,187
.blue-dark {color: #112D4E;} /*17,45,78*/

.gray-box {
	border: 1px solid #ccc;
	background-color: #eee;
	padding: 0 1rem;
}
.comment {
	color: #aaa;
	font-size: 90%;
}
.error {
	color: #E2001A;
	border: 1px solid #E2001A;
	padding: 1em;
}
.success {
	color: #217851;
	border: 1px solid #369f70;
	background-color: #98f9d2;
	padding: 1em;
}

/* !FORMS general */
input[type="text"],
input[type="password"],
input[type="number"],
textarea {
	border-radius: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
label {
	display: inline-block;
	float: left;
	width: 20%;
	height: 40px;
	padding: 14px 6px 0 0;
	line-height: 14px;
	text-align: right;
	background-color: #eee;
	border: 1px solid #ddd;
	border-right: none;
	margin: 5px 0;
	color: #666;
	font-family: 'PT Sans Narrow', 'Arial Narrow', Arial, sans-serif;
	font-weight: 700;
}
label.no-styling {
	display: inline;
	float: none;
	width: auto;
	height: auto;
	padding: 0;
	line-height: 1em;
	text-align: left;
	background-color: transparent;
	border: none;
	margin: 0;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-weight: 400;
}
input[type="text"],
input[type="password"],
input[type="number"],
textarea {
	float: left;
	height: 40px;
	width: 80%;
	border: 1px solid #ddd;
	margin: 5px 0;
	padding: 1% 2%;
	font-size: 1em;
	background: #fff;
	filter: none;
}

textarea {
	height: 80px;
	font-size: 90%;
}
input[disabled],
input[readonly] {
	background: #eee;
	background: repeating-linear-gradient(-55deg, #ddd, #ddd 2px, #eee 2px, #eee 4px);
}
input.button[disabled],
input.button[disabled]:hover,
div.max_freight_comment p.button.disabled {
	opacity: 1;
	background: #ddd;
	color: #666;
}
form .button {
	margin: 1rem 0;
	font-weight: bold;
}
@media (max-width: 900px)
{
	label {
		width: 35%;
	}
	input[type="text"],
	input[type="password"],
	input[type="number"],
	textarea {
		width: 65%;
		font-size: .9rem;
	}
	.small-full	label {
		width: 100%;
		text-align: left;
		padding: 14px 0 0 6px;
		border-right: 1px solid #ddd;
		margin-bottom: 0;
	}
	.small-full	input[type="text"],
	.small-full	input[type="password"],
	.small-full input[type="number"],
	.small-full	textarea {
		width: 100%;
		margin-top: 0;
		border-top: none;
	}
	.small-full	select {
		margin: 15px 0;
	}
}
@media (min-width: 900px)
{
	label.large-less-padding {
		padding-top: 6px;
	}
	.small-full.textarea label {
		height: 80px;
	}
	.small-full.textarea .comment {
		display: block;
		margin-left: 20%;
	}
	.small-full.select label {
		border-right: 1px solid #ddd;
	}
	.small-full.select select {
		width: auto;
		margin: 15px;
	}
}

/* !TABLES */
table.responsive {width: 100%; margin: 1.4em 0;}
table.responsive tbody tr:nth-child(2n+1) {background-color: #efefef;}
table.responsive th {text-align: left;}
table.responsive th[align="center"] {text-align: center;}
table.responsive th, table.responsive td {padding: 6px;}
table.responsive th.center, table.responsive td.center {text-align: center;}
table.responsive .fa {color: #000;}

/* !HEADER */
header {
	color: #fff;
	height: 60px;
	overflow: hidden;
	background: #2C5B3B;
	-webkit-box-shadow: 0 0 2px 1px #666666;
	box-shadow: 0 0 2px 1px #666666;
}
header p {
	margin: 0;
	margin-top: 10px;
	padding: 0.5rem;
}
header a,
header a:hover {
	color: #fff;
	text-decoration: none;
	margin-left: .6rem;
}
header a.no-margin {
	margin-left: 0;
}
header p a {
	font-variant: small-caps;
	font-weight: 700;
}
header div.logo {
	width: 40px;
	height: 40px;
	display: inline-block;
	margin-right: 10px;
}
html.svg header div.logo {background: #fff url('../img/logo-liggend.svg') no-repeat center center; background-size: 120px 120px;}

header h1.logo {
	margin: 0;
	font-size: 100%;
	font-family: 'PT Sans Narrow', 'Arial Narrow', Arial, sans-serif;
	font-weight: 700;
	text-transform: uppercase;

	display: inline-block;
	position: absolute;
	top: 9px;
}
header h1.logo a {
	margin: 0;
}
header h1.logo span {
	color: #52A168;
}

/* !BANNER */
.row.banner {
	height: 300px;
	background: transparent url('../img/banner-green.jpg') no-repeat center center;
	background-size: cover;
}
@media (max-width: 600px)
{
	.row.banner {
		height: 200px;
	}
}
.row.banner .overlay {
	background-color: rgba(17,45,78, 0.2);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

/* !NAV */
.nav-wrap {
	background-color: #2C5B3B;
	box-shadow: 0 4px 4px -4px #333;
}
nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
nav ul li {
	float: left;
}
nav ul li.logout {
	float: right;
}
nav ul li a.button {
	color: #fff;
	margin: 0;
	padding: 1rem 0.85rem;
	font-family: 'PT Sans Narrow', 'Arial Narrow', Arial, sans-serif;
	font-size: 1rem;
	border-radius: 0;
	background: #2C5B3B;
}
.button {
	background: #2C5B3B;
}
.button:hover {
	background: #52A168;
}
nav ul li a.sel,
nav ul li a.sel:hover {
	background-color: #52A168;
}
nav ul li.logout a {
	background-color: #23492f;
}

/* !MOBILE NAV */
.hamburger {
	display: none;
	width: 30px;
	height: 25px;
	position: absolute;
	top: 12px;
	right: 25px;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	-webkit-transition: top 0.16s ease-in-out;
	-moz-transition: top 0.16s ease-in-out;
	-o-transition: top 0.16s ease-in-out;
	transition: top 0.16s ease-in-out;
	cursor: pointer;
	z-index: 200;
}
.hamburger span {
	display: block;
	position: absolute;
	height: 3px;
	width: 100%;
	background: #fff;
	border-radius: 9px;
	opacity: 1;
	left: 0;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
	z-index: 200;
}
.hamburger.open span {
	left: 0;
	z-index: 200;
}
.hamburger span:nth-child(1) {
	top: 2px;
}
.hamburger span:nth-child(2) {
	top: 12px;
}
.hamburger span:nth-child(3) {
	top: 22px;
}
.hamburger.open span:nth-child(1) {
	top: 14px;
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	-o-transform: rotate(135deg);
	transform: rotate(135deg);
}
.hamburger.open span:nth-child(2) {
	opacity: 0;
	left: -60px;
}
.hamburger.open span:nth-child(3) {
	top: 14px;
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	-o-transform: rotate(-135deg);
	transform: rotate(-135deg);
}
.mobilenav {
	display: none;
	width: 100%;
	z-index: 100;
	background: #2C5B3B;
	margin: 0;
	padding: 0;
	text-align: center;
	margin: 0 auto;
	padding-top: 1rem;
	box-shadow: 0 4px 4px -4px #333;
}
.mobilenav .first {
	list-style: none;
	margin: 0 0 40px 0;
	padding: 0;
}
.mobilenav .first li a {
	color: #fff;
	text-decoration: none;
	font-size: 1.4rem;
	font-family: 'PT Sans Narrow', 'Arial Narrow', Arial, sans-serif;
	display: block;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	background: #2C5B3B;
}
.mobilenav .first li a:hover,
.mobilenav .first li a.sel {
	background-color: #01161E;
}
@media (max-width: 860px)
{
	.nav-wrap {
		height: 50px;
	}
	.hamburger {
		display: block;
	}
	nav {
		display: none;
	}
}

/* !MAIN */
#main {
	padding-bottom: 2rem;
}
#main h1,
#main h2,
#main h3,
#main h4 {
	font-family: 'PT Sans Narrow', 'Arial Narrow', Arial, sans-serif;
}

/* !SIDEBAR public */
.sidebar h2 {
	margin-bottom: 0;
}
.sidebar p.contact {
	font-size: 95%;
}

/* !REGISTER */
form.register label.cargo_network {
	
}
form.register input[type="submit"] {
	margin-top: 2rem;
}

/* !FREIGHT CALC & INSURANCE REQUEST FORMS */
#wrap.freight-cover-calc .error,
#wrap.freight-cover-calc .success {
	margin-top: 2em;
	margin-bottom: 0;
}
#wrap.freight-cover-calc .calc_summary {
	background-color: #eee;
	border: 1px solid #ddd;
	padding: 1rem;
	margin-bottom: 1rem;
}
form.freight-calc input[name="freight_value"] {
	width: 35%;
	text-align: right;
}
form.freight-calc input[name="freight_value_dec"] {
	width: 60px;
}
form.freight-calc span.dec_separator {
	display: inline-block;
	float: left;
	width: 10px;
	height: 40px;
	padding-top: 25px;
	text-align: center;
}
form.freight-calc label[for="total_premium"],
form.freight-calc input#total_premium {
	background: #DBE2EF;
	border-color: #aaa;
}
form.freight-calc div.max_freight_comment {
	display: none;
}
/* -- */
form.insurance-request input#etd[readonly] {
	background: #fff;
}

form.insurance-request .comment {
	clear: left;
}
form.insurance-request .legal-disclaimer {
	color: #999;
	font-size: 0.9rem;
}


/* LOGIN SIDE */
form.login {
	font-size: small;
}
form.login label {
	padding: 0;
	line-height: 50px;
	text-align: center;
	font-size: 80%;
}
form.login input[type="text"],
form.login input[type="password"] {
	padding: 1% 3%;
}
form.login input[type="submit"].button {
	/*padding: 0.6em 2em;*/
}
form.login p.links {
	color: #888;
	font-size: 94%;
	margin: 0;
}

/* !FOOTER */
footer .row {
	border-top: 1px solid #ddd;
	font-size: .9rem;
	padding-top: .5rem;
	padding-bottom: .5rem;
	margin-bottom: 1rem;
}
footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
footer ul li {
	display: inline-block;
	margin-right: 3px;
	padding-right: 5px;
	border-right: 1px solid #ccc;
}
footer ul li:last-child {
	border: none;
	padding: 0;
	margin: 0;
}
footer .text-right {
	color: #aaa;
}
@media (max-width: 600px)
{
	footer ul li {
		display: block;
		padding: 0;
		margin: 0;
		border: none;
	}
	footer .text-right {
		text-align: left;
		margin-top: .6rem;
	}
}
footer a {
	color: #aaa;
}