#bg {
	z-index: -1;
	position: absolute;
	top: -1px;
	width: 100%;
	height: 100%;
}


#bg img {
	height: auto; width: auto; width:100%;height:100%;
}



/*@media screen and (min-width: 1200px) {
     #bg img{
			background-repeat: no-repeat;
		    background-size: cover;
		    font-size: 1.6rem;
		    width: 50%;
		    height: 52%;
		    padding-top: 12%;
		    padding-left: 25%;
		    padding-bottom: 20%;
	}
}
@media screen and(min-width: 960px) and (max-width: 1199px) {
     #bg img{
			background-repeat: no-repeat;
		    background-size: cover;
		    font-size: 1.6rem;
		    width: 50%;
		    height: 52%;
		    padding-top: 12%;
		    padding-left: 25%;
		    padding-bottom: 20%;
	}
}
@media screen and(min-width: 768px) and (max-width: 959px) {
    #bg img{
			background-repeat: no-repeat;
		    background-size: cover;
		    font-size: 1.6rem;
		    width: 50%;
		    height: 52%;
		    padding-top: 12%;
		    padding-left: 25%;
		    padding-bottom: 20%;
	}
}
@media screen and(min-width: 480px) and (max-width: 767px) {
    #bg img{
			background-repeat: no-repeat;
		    background-size: cover;
		    font-size: 1.6rem;
		    width: 50%;
		    height: 52%;
		    padding-top: 12%;
		    padding-left: 25%;
		    padding-bottom: 20%;
	}
}
@media screen and (max-width: 479px) {
     #bg img{
		background-repeat: no-repeat;
		    background-size: cover;
		    font-size: 1.6rem;
		    width: 50%;
		    height: 52%;
		    padding-top: 12%;
		    padding-left: 25%;
		    padding-bottom: 20%;
	}
}*/


/*@media screen and (max-width:1200px){
	#bg img{
		background-repeat: no-repeat;
    background-size: cover;
    padding-top: 15%;
    font-size: 1.6rem;
    width: 100%;
    height: 100%;
    position: absolute;
    padding-left: 25%;
    padding-right: 35%;
	}
}

@media screen and (max-width:1500px){
	#bg img{
		background-repeat: no-repeat;
    background-size: cover;
    padding-top: 15%;
    font-size: 1.6rem;
    width: 100%;
    height: 100%;
    position: absolute;
    padding-left: 25%;
    padding-right: 35%;
	}
}*/

#errorMessage{
	padding:0.5em 0 0.5em 0;
	border-top: 1px solid #19191a;
	color:#FF0000;
	text-align: center;
}

#formLogo img {
	display: block;
	margin: 0.5em auto 0.5em auto;
}

#formLogo{
	border-top: 1px solid #19191a;
}

body {
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light",
	"Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;

	display: block;
	margin: 0px;


}

form {
	background: #050505;
	z-index: 10;
	width: 22em;
	margin: 2em auto;
	border-radius: 0.4em;
	border: 1px solid #191919;
	overflow: hidden;
	position: relative;
	box-shadow: 0 5px 10px 5px rgba(0, 0, 0, 0.2);
}


.inset {
	padding: 20px;
	border-top: 1px solid #19191a;
}

form h1 {
	font-size:1.5em;
	color: white;
	text-shadow: 0 1px 0 black;
	text-align: center;
	border-bottom: 1px solid rgba(0, 0, 0, 1);
	position: relative;
}

form h1:after {


	content: "";
	display: block;
	width: 250px;
	height: 100px;
	position: absolute;
	top: 0;
	left: 50px;
	pointer-events: none;
	transform: rotate(70deg);
	-webkit-transform: rotate(70deg);
	background: linear-gradient(50deg, rgba(255, 255, 255, 0.15),
	rgba(0, 0, 0, 0));
	background-image: -webkit-linear-gradient(50deg, rgba(255, 255, 255, 0.05),
	rgba(0, 0, 0, 0)); /* For Safari */
}

label {
	color: #888;
	display: inline-block;
	padding-bottom: 1em;
	padding-right: 1em;
	cursor: pointer !important;
}

input[type=text],input[type=password] {
	color: white;
	width: 100%;
	box-sizing: border-box;
	padding: 8px 5px;
	background: linear-gradient(#1f2124, #27292c);
	border: 1px solid #222;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
	border-radius: 0.3em;
}

label[for=remember] {
	color: white;
	display: inline-block;
	padding-bottom: 0;
	padding-top: 5px;
}

input[type=checkbox] {
	display: inline-block;
	vertical-align: top;
}

.p-container {
	padding: 0 20px 20px 20px;
}


input[type=submit] {
	padding: 5px 20px;
	border: 1px solid rgba(0, 0, 0, 0.4);
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 10px 10px
	rgba(255, 255, 255, 0.1);
	border-radius: 0.3em;
	background: #0184ff;
	color: white;
	float: right;
	font-weight: bold;
	cursor: pointer;
	font-size: 13px;
}

input[type=submit]:hover {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -10px 10px
	rgba(255, 255, 255, 0.1);
}

input[type=text]:hover,input[type=password]:hover,label:hover ~ input[type=text],label:hover
~ input[type=password] {
	background: #27292c;
}

#footer {
	background: transparent;
	zoom: 1;
	z-index: 5;
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0 0 0 0;
	width: 100%;
	color: white;
	background-color: rgba(10, 10, 10, 0.8);
}

#footer img {
	width: 10em;
	height: 3em;
	background-color: transparent;
}

#footerFreightgateLogo {
	margin: 0 0 0 0;
	padding: 0.5em;
	float: left;
	background-color:transparent;

}

#footerText {
	margin: 0 0 0 0;
	padding-top: 0.5em;
	height: 3em;
	text-align: center;
	overflow: hidden;
}

#footerTariffLogo {
	margin: 0 0 0 0;
	padding: 0.5em;
	float: right;
}

.new-icon:after {
	content: "NEW";
	background: #35baf6
}

.new-icon:after {
	border-radius: 5px;
	height: 18px;
	width: 34px;
	display: inline-block;
	position: absolute;
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 10px;
	line-height: 18px;
	margin-left: 10px;
}

.deprecated-icon:after {
	content: "End of Support MAR 2017";
	background: #e3495a
}

.deprecated-icon:after {
	border-radius: 5px;
	height: 18px;
	width: 125px;
	display: inline-block;
	position: absolute;
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 10px;
	line-height: 18px;
	margin-left: 10px;
}

img {
	border: none;
}