@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.eot?v=4.4.0');
  src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.4.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.4.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.4.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.4.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.4.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

* {
	font-family: 'Open Sans', Arial, sans-serif;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
}

body {
	line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
	display:block;
}

nav ul {
	list-style:none;
}

blockquote, q {
	quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content:'';
	content:none;
}

a {
	margin:0;
	padding:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
}

/* change colours to suit your needs */
ins {
	background-color:#ff9;
	color:#000;
	text-decoration:none;
}

/* change colours to suit your needs */
mark {
	background-color:#ff9;
	color:#000;
	font-style:italic;
	font-weight:bold;
}

del {
	text-decoration: line-through;
}

abbr[title], dfn[title] {
	border-bottom:1px dotted;
	cursor:help;
}

table {
	border-collapse:collapse;
	border-spacing:0;
}

/* change border colour to suit your needs */
hr {
	display:block;
	height:1px;
	border:0;
	border-top: 1px solid #cccccc;
	margin:1em 0;
	padding:0;
}

input {
	-webkit-appearance: none;
	outline: 0;
}

input, select {
	vertical-align:middle;
}

html {
	height: 100%;
}

html, body {
	background:#f0f0f0;
	color: #919191;
}

body.login-page {
	background: #eae9e9;
	width: 100%;
	height: 100%;
}

.clear {
	clear:both;
}

i {
	font-family: 'FontAwesome';
	font-style: normal;
}

.button {
	display: inline-block;
	height: 42px;
	line-height: 42px;
	border: 0;
	border-bottom: 2px solid ##e60000;
	background-color: #e60000;
	text-align: center;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	padding: 0 20px;
	cursor: pointer;
	-webkit-box-sizing:border-box;
	   -moz-box-sizing:border-box;
			box-sizing:border-box;
}

.button.icon {
	font-family: 'FontAwesome';
}

.button.full {
	width: 100%;
}

.button.facebook {
	background-color: #3B5998;
	border-color: #8b9dc3;
}

.button.linkedin {
	background-color: #0077b5;
	border-color: #3b5998;
}

.button:hover {
	border-bottom-width: 0px;
}

.button i {
	font-family: 'FontAwesome';
	font-style: normal;
	font-weight: normal;
	margin-left: -10px;
	margin-right: 10px;
}

.button.no-label i {
	margin-right: -10px;
}

.red {
	background: #e9545a;
	border-color: #8E4245;
}

.blue {
	background: #5a91dc;
	border-color: #3566a8;
}

.select {
	display: inline-block;
	height: 34px;
	width: auto;
	vertical-align: middle;
	position: relative;
	background: #fff;
	overflow: hidden;
}

.select select {
	position: absolute;
	opacity: 0;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
	-webkit-appearance: menulist-button;
}

.select .select-text {
	line-height: 34px;
	padding-left: 10px;
	padding-right: 44px;
	position: relative;
	white-space: nowrap;
}

.select .select-text:before {
	content: '';
	width: 34px;
	height: 100%;
	background: #e60000;
	right: 0;
	top: 0;
	position: absolute;
}

.select .select-text:after {
	content: '';
	border: 6px solid transparent;
	border-top-color: #fff;
	position: absolute;
	right: 11px;
	top: 50%;
	margin-top: -3px;
}

.checkbox {
	display: block;
	width: 32px;
	height: 32px;
	border: 1px solid #cecece;
	background: #fff;
	cursor: pointer;
}

.checkbox input {
	position: absolute;
	left: -9999px;
}

.checkbox .tick {
	display: none;
}

.checkbox input.checked + .tick {
	display: block;
	height: 100%;
	width: 100%;
}

.checkbox input.checked + .tick:before {
	content: "\f00c";
	display: block;
	font-family: 'FontAwesome';
	color: #e60000;
	font-size: 28px;
	line-height: 32px;
	text-align: center;
	height: 100%;
	width: 100%;
}

.radio {
	display: block;
	width: 32px;
	height: 32px;
	border: 1px solid #cecece;
	background: #fff;
	cursor: pointer;
    border-radius: 50%;
}

.radio input {
	position: absolute;
	left: -9999px;
}

.radio .tick {
	display: none;
}

.radio input.checked + .tick {
	display: block;
	height: 100%;
	width: 100%;
}

.radio input.checked + .tick:before {
	content: "";
	display: block;
	background-color: #e60000;
	text-align: center;
    width: 50%;
    height: 50%;
    border-radius: 50%;
    margin-top: 25%;
    margin-left: 25%;
}

.ajax-form {}

.ajax-form .group {
	display: block;
	margin-bottom: 15px;
}

.ajax-form .group p {
	float: left;
	line-height: 34px;
	width: 250px;
	height: 34px;
}

.ajax-form .group .controls {
	float: left;
}

.ajax-form .group .controls.editor {
	width: 100%;
}

.ajax-form .group .controls.editor .input {
	width: 100%;
}

.ajax-form .group .controls .input {
	float: left;
	position: relative;
}

.ajax-form .group .controls .input .text-input {
	width: 250px;
	height: 34px;
	padding: 0 5px;
	color: #545454;
	border: 1px solid #cecece;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

.ajax-form .group .controls .input.file-input {
	background: #e60000;
	width: 250px;
	height: 34px;
	line-height: 34px;
	padding-left: 15px;
	font-size: 14px;
	color: #fff;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

.ajax-form .group .controls .input.file-input:after {
	position: absolute;
	top: 0;
	right: 0;
	height: 34px;
	width: 50px;
	border-left: 1px solid #177676;
	font-size: 15px;
	text-align: center;
	line-height: 34px;
	background: #e60000;
	font-family: 'FontAwesome';
	content: '\f067';
}

.ajax-form .group .controls .input.file-input input {
	opacity: 0;
	width: 250px;
	height: 34px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

.ajax-form .group .controls .input .medium-x {
	width: 210px;
}

.ajax-form .group .controls .input .medium {
	width: 180px;
}

.ajax-form .group .controls .input .small {
	width: 130px;
}

.ajax-form .group .controls .input .small-x {
	width: 80px;
}

.ajax-form .group .controls .input textarea {
	width: 600px;
	max-width: 600px;
	min-width: 600px;
	min-height: 150px;
	padding: 5px;
	resize: none;
	color: #545454;
	outline: 0;
	border: 1px solid #cecece;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}

.ajax-form .group .controls .input .error {
	font-size: 14px;
	color: #fff;
	position: absolute;
	opacity: 0;
	top: 50%;
	left: 100%;
	background-color: #e9545a;
	display: block;
	height: 32px;
	white-space: nowrap;
	line-height: 32px;
	margin-top: -16px;
	padding: 0 10px;
	margin-left: 20px;
	z-index: 1;
}

.ajax-form .group .controls .input .error.show {
	opacity: 1;
	margin-left: 10px;
	-webkit-transition: margin 0.3s, opacity 0.3s;
		 -o-transition: margin 0.3s, opacity 0.3s;
			transition: margin 0.3s, opacity 0.3s;
}

.ajax-form .group .controls .input .error:before {
	content: '';
	position: absolute;
	border: 16px solid transparent;
	border-right-color: #e9545a;
	left: -32px;
}

.ajax-form .group .controls.controls-grid .row {
	padding-bottom: 10px;
}

.ajax-form .group .controls.controls-grid .row .cell {
	float: left;
}

.ajax-form .group .controls.controls-grid .row .cell + .cell {
	margin-left: 10px;
}

.ajax-form .group .controls.controls-grid .row .cell p {
	float: none;
	text-align: center;
	width: auto;
	font-size: 15px;
}

.ajax-form .group .controls.controls-grid .row .cell .input {
	float: none;
}

.ajax-form .group .controls.controls-grid .row .cell .input + .input {
	margin-top: 10px;
}

.ajax-form .group .controls.controls-grid .row .cell .input .error {
	top: -38px;
	left: 0;
	margin-top: -10px;
	margin-left: 0;
}

.ajax-form .group .controls.controls-grid .row .cell .input .error.show {
	margin-left: 0;
	margin-top: 0;
}

.ajax-form .group .controls.controls-grid .row .cell .input .error:before {
	border-top-color: #e9545a;
	border-right-color: transparent;
	left: 0;
	top: 100%;
}

.ajax-form .group .controls.controls-grid .row .cell .button {
	line-height: 34px;
	height: 34px;
	padding: 0 15px;
}

.modal {
	position: fixed;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
	z-index: 10;
	display: none;
}

#login-container {
	width: 476px;
    height: 265px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -238px;
    margin-top: -110px;
}

#login-container .logo {
	position: absolute;
	width: 432px;
	height: 150px;
	background: url('../images/index/havas_showroom_logo_rgb.png') center no-repeat;
	background-size: contain;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	top: -180px;
	margin-top: 0;
	opacity: 1;
	-webkit-transition: opacity 0.5s 0.1s, margin 0.5s 0.1s;
		 -o-transition: opacity 0.5s 0.1s, margin 0.5s 0.1s;
			transition: opacity 0.5s 0.1s, margin 0.5s 0.1s;
}

#login-container.hidden .logo {
	opacity: 0;
	margin-top: -30px;
}

#login-container .login-box {
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: 1;
	border: 1px solid #d2d1d1;
	-webkit-border-radius: 8px;
			border-radius: 8px;
	-webkit-box-shadow: 0 0 2px 2px rgba(169,166,166,0.14);
			box-shadow: 0 0 2px 2px rgba(169,166,166,0.14);
	-webkit-transition: opacity 0.4s 0.8s
;         -o-transition: opacity 0.4s 0.8s;
			transition: opacity 0.4s 0.8s;
}

#login-container.hidden .login-box {
	opacity: 0;
}

#login-container .login-box form {
	width: 432px;
	margin: 0 auto;
	padding: 25px 0;
}

#login-container .login-box form .group {
	margin-bottom: 20px;
	display: block;
	position: relative;
}

#login-container .login-box form .group .controls {
	width: 100%;
}

#login-container .login-box form .group .controls .input {
	width: 100%;
}

#login-container .login-box form .group .controls .input .error {
	margin-top: -16px;
}

#login-container .login-box form .group .controls .input .text-input-icon {
	width: 100%;
	height: 59px;
	padding: 0 10px 0 60px;
	line-height: 59px;
	display: inline-block;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
	position: relative;
	background: #f0f0f0 no-repeat;
	border:0;
	outline: 0;
	color: #919191;
}

#login-container .login-box form .group .controls .input .text-input-icon.icon-user {
	background-image: url('../images/icon-user.png');
	background-position: 20px center;
}

#login-container .login-box form .group .controls .input .text-input-icon.icon-lock {
	background-image: url('../images/icon-lock.png');
	background-position: 20px center;
}

.forgotten {
	font-size: 13px;
    text-decoration: none;
    display: block;
    margin-top: 10px;
    color: #e60000;
}

.forgotten:hover {
	text-decoration: underline;
}


/* Media query */

@media only screen and (max-width: 600px) {

	#login-container {
	    width: 90% !important;
	    height: 305px;
	    position: absolute;
	    left: 5%;
	    top: 50%;
	    margin-left: 0px;
	    margin-top: -275px;
	}

	#login-container .login-box form {
		width: 90%;
	}

	#login-container .logo {
	    position: relative;
	    width: 300px;
	    height: 150px;
	    background: url(../images/index/havas_showroom_logo_rgb.png) center no-repeat;
		background-size: contain;
	    left: 0%;
	    transform: translateX(-50%);
	    -webkit-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	    top: 0px;
	    margin-top: 0;
	    margin-left: 50%;
    	margin-bottom: 30px;
	}
}