* { box-sizing: border-box; }

body {
	font-family: sans-serif;
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 2.4rem;
	letter-spacing: 0rem;
	padding:0;
	padding-bottom: 70px;
}

body.grey {
	background-color: #f7f7f7;
}

@media (min-width: 1024px) {
	body {
		font-size: 1.6rem;
		line-height: 2.4rem;
		letter-spacing: 0rem;
	}
}

.bg-white {
	background-color: white;
}

.pl-0 {
	padding-left: 0;
}

.px-0 {
	padding-left: 0;
	padding-right: 0;
}

.container-fluid {
	padding: 0;
	margin: 0;
}

.container-fluid.padding {
	padding: 0 8px 0 8px;
}

@keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

@keyframes goTop {
	0% {
		top: 100%;
		transform: translateY(100%);
		z-index: 999;
	  }
	  100% {
		top: 0;
		transform: translateY(0);
		z-index: 999;
	  }
}
/*effects*/
.login {
	z-index: 999;
	-webkit-animation-name: goTop;
	-webkit-animation-duration: 1s;
}

/*navbar*/
.page .navbar {
	height: 51px;
	line-height: 51px;
	padding-left: 2rem;
	padding-right: 2rem;
	margin: 0;
	top: 0rem;
	border-bottom: 1px #ddd solid;
}

.page .navbar li a {
	padding-left: 12px;
	padding-right: 12px;
}

.page .navbar-small {
	height: 30px;
	line-height: 30px;
	padding-left: 4rem;
	padding-right: 0;
	margin: 0;
}

.page .navbar img {
	animation: fadeIn 2s;
}

.page .navbar img.logo {
	display: inline;
}

.page .navbar img.icon {
	display: none;	
}

@media (max-width: 1024px) {
	.page .navbar img.logo {
		display: none;
	}
	.page .navbar img.icon {
		display: inline;	
	}
}

.page .navbar .navbar-nav {
	background-color: #fff;
}

.page #maincontent {
	margin-top: 50px;
	padding-left: 5rem;
}

.page .title {
	margin: 2rem 2rem 2rem 0;
	font-size: 1.4rem;
	font-weight: bold;
	letter-spacing: 1px;
}

.page .title .pull-right {
	margin-right: 30px;
}

.page .table-striped>tbody>tr>td { color: #555; }
.page .table-striped>tbody>tr:nth-child(odd) { background-color: #f9f9fb; }
.page .table-hover>tbody>tr:hover { background-color: #f2f2f4; }

.error-message .modal-header {
	color: #a94442;
}
.success-message .modal-header {
	color: #3c763d;
}

.messageContainer {
	float: right;
	margin-right: 50px;
}

.messageContainer .messageText {
	font-size:1.4rem;
	font-weight:600;
	letter-spacing:1px;
	background:#65bff9;
	color:white;
	border-radius: 10px;
	height:100%;
	padding: 0px 10px 0px 10px;
	margin-top:10px;
}

.messageContainer .messageText a {
	color:#0989df;
}

/*Bootstrap button outline override*/
.btn-outline {
    background-color: transparent;
    color: inherit;
    transition: all .5s;
}

.btn-primary.btn-outline { color: #428bca; }
.btn-success.btn-outline { color: #5cb85c; }
.btn-info.btn-outline { color: #5bc0de; }
.btn-warning.btn-outline { color: #f0ad4e; }
.btn-danger.btn-outline { color: #d9534f; }

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

button.btn[disabled],
button.btn[disabled]:hover{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}

.panel {
	width: calc(100% - 5rem);
	background-color: white;
	padding: 10px 12px 0px 12px;
	margin-bottom: 30px;
	border-radius: 4px;
	overflow: hidden;
	text-align: justify;
	border: 1px #ddd solid;
}

.panel.home .banner {
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important;
}

.panel.home .banner img {
	width: 100%;
	border-radius: 2px !important;
}

.panel .widget_container {
	padding: 10px;
}

.panel .widget {
	padding: 10px 15px 10px 15px;
	border: 1px #ccc solid;
	border-radius: 2px;
	min-height: 180px;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.panel .widget.short {
	min-height: 100px;
	padding-bottom: 20px;
}

.panel .widget.product {
	min-height: 300px;
}

.panel .widget .title {
	margin: -5px -15px 10px -15px;
	padding: 0 15px 0 15px;
	border-bottom: 1px #ccc solid;
}

.panel .widget p {
	margin-bottom: 2px;
}

.panel .widget .no-padding {
	padding-left: 0;
	padding-right: 0;
}

.panel .widget strong {
	font-size: 14px;
}

.panel .widget table {
	margin-bottom: 0;
}

.panel .widget table tr td {
	padding-top: 3px;
	padding-bottom: 3px;
}

.panel.login {
	padding: 3px 3px 3px 3px;
}

.panel .form-container {
	padding-left: 0;
	padding-right: 0;
}

.panel .form-container-left {
	padding-left: 0;
	padding-right: 30px;
}

@media (max-width: 768px) {
	.panel .form-container-left {
		padding-right: 0px;
	}
}

.panel .button_options {
	text-align: right;
	padding-top: 5px;
	padding-bottom: 5px;
	border-top: 1px #eeeeee solid;
	border-bottom: 1px #eeeeee solid;
}

.panel .button_options a {
	margin-left: 10px;
}

@media (max-width: 1024px) {
	.panel .button_options .tag {
		display: none;
	}
}

.panel .tabbable ul.nav-tabs li a {
	padding-left: 13px;
	padding-right: 13px;
}

@media (max-width: 960px) {
	.panel .tabbable ul.nav-tabs li a {
		padding-left: 12px;
		padding-right: 12px;
	}
	.panel .tabbable ul.nav-tabs li a span.desc {
		display: none;
	}
	.panel .tabbable ul.nav-tabs li.active a span.desc {
		display: inline;
	}	
}

.panel.tabs-content {
	padding: 0;
	border: none;
}

.panel .tab-content {
	border-left: 1px #ddd solid;
	border-right: 1px #ddd solid;
	border-bottom: 1px #ddd solid;
}

@media (max-width: 768px) {
	.page .title .pull-right {
		margin-right: 0px;
	}	
	.page #maincontent {
		padding-left: 1rem;
	}
	.panel {
    	width: calc(100% - 1rem);
	}
	.messageContainer {
		margin-right: 10px;
	}
}

.page ul.links {
	padding-left: 20px;
}

.page ul.links li {
	list-style: none;
}

.panel .panel-form {
	font-size: 13px;
	border: 1px #ccc solid;
	border-radius: 3px;
	padding: 10px 20px 5px 20px;
}

@media (max-width: 512px) {
	.panel .panel-form {
		padding: 5px 10px 0px 10px;
	}
}


/*form*/
.panel form#form-login {
	position:relative;
	background-color: white;
	margin:3rem;
	font-size: 1.4rem;
	width: 350px;
}

.panel form .form-required {
	color:red;
	font-size: 120%;
}

.login form {
	padding: 4rem 2rem 2rem 2rem;
	-webkit-box-shadow: 0px 0px 30px 5px #ccc;
    -moz-box-shadow: 0px 0px 30px 5px #ccc;
    box-shadow: 0px 0px 30px 5px #ccc;
    border-radius: 10px;
	min-width: 250px;
	max-width: 350px;
}

@media (max-width: 767px) {
	.navbar .messageText {
		font-size: 1.2rem;
		padding: 4px 4px 4px 4px !impotant;
	}
}


/*ESD logo*/
.login form img {
    display: block;
    margin: 0 auto;
	padding-bottom:1rem;
}

/*input*/
.panel form label {
	_height: 36px;
    margin: 0;
    min-width: 0;
    padding: 0;
    position: relative;
    width:100%;
    
}

.panel form label.desc {
	font-weight: normal;
}


.page .prefix {
	position: absolute;
    top: 45%;
	left: 10px;
    transform: translateY(-50%);
    line-height: 0;
    color: #aaa;
	z-index: 999;
}

.page .input-big .prefix {
    top: 70%;
	left: 25px;
}

.panel form input, .panel form select {
	padding: 4px 0 2px 8px;
	margin: 0;
 	color: #262626;
	background: #fafafa;
    border: 1px solid #dbdbdb;
	border-radius: 3px;
	box-shadow: none;
}

.panel form input.login {
	font-size: 1.2rem;
	font-weight:normal;
	letter-spacing:1px;
}

@media (max-width: 768px) {
	.input-prefix {
		width: 100%;
	}
	.login .input-prefix {
		width: auto;
	}
}

.input-prefix form input, .input-group.input-prefix input, .input-group.input-prefix select, .input-prefix.input-big input {
	padding-left:30px;
}

.login form input {
	position:absolute;
	z-index: -1;
}

.login form div {
	display: block;
    margin: 0 auto;
	width: 100%;
}

.g-recaptcha {
	padding-bottom: 1rem;
}

/*links*/
.panel a {
	text-decoration:none;
	color: #337ab7;
	-o-transition:all .5s linear;
	-ms-transition:all .5s linear;
  	-moz-transition:all .5s linear;
  	-webkit-transition:all .5s linear;
  	transition:all .5s linear;
}

.panel a:hover {
	text-decoration:underline;
	border:0;
}

.panel a:active, .panel a:focus {
  outline: 0;
  border: none;
  -moz-outline-style: none;
  outline-style: none;
}

.panel a.question {
	color: #00376b;
	font-size: 1.2rem;
	line-height: 1.2rem;
	margin-top: 12px;
}

.panel .log {
	padding: 5px;
	margin-top: 10px;
	background-color: #efeffa;
	border: 1px #888 solid;
	overflow-y: scroll;
	height: 450px;
}

.panel .log.mini {
	height: 250px;
}

@media (max-width: 767px) {
	.panel .log {
		font-size: 10px;
	}
}

/*submit*/
.login form button[type="submit"], .register form button[type="submit"]  {
	background-color: #0095f6;
    border: 1px solid transparent;
	border-radius: 4px;
    color: #fff;
    position: relative;
	padding: 5px 9px;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: inherit;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
	line-height:1.6rem;
	transition: 0.3s;
	opacity: .6;
}

.login form button[type="submit"]:hover, .register form button[type="submit"]:hover  {
	opacity: 1;
}

/*curve*/
.curve::before {
    content: '';
    display: block;
    position: absolute;
	height: 200%;
	width: 80%;
	border-radius: 90% 10%;
	background-color: white;
	transform: translate(80%, -10%);
	z-index: 1;
}

@media (max-width: 768px) {
	.curve::before {
		background-color: transparent !important;
	}
}

@media (max-width: 992px) {
	.curve::before {
		background-color: white;
		width: 200%;
		transform: translate(30%, -10%);
	}
}

/*register form*/
.register form {
	margin: 4rem 4rem 3rem 4rem;
}

.register label, label.register {
	display:inline;
	font-size: 1.4rem;
	font-weight: normal;
	margin-bottom: 0;
}

.register .row {
	padding-bottom: 1rem;
}

.register .illustration {
	background: #e6c1e5;
	padding-top: 3rem;
	height:100%;
    padding-bottom: 100%;
    margin-bottom: -100%;
	-webkit-animation-name: goTop;
	-webkit-animation-duration: 1s;
}

/*footer*/
footer {
	height:2rem;
	padding-top: 2rem;
	margin-top: 2rem;
}
.b2b_nav_footer {
	background-color: #f0f0f0;
	border-color: transparent !important;
	opacity: .8;
}

.b2b_nav_footer a {
    color: #333;
}

@media (max-width: 1024px) {
	.b2b_nav_footer .hideMedium {
		display: none;
	}
}

.b2b_nav_footer .showSmall {
	display: none !important;
}

@media (max-width: 768px) {
	.b2b_nav_footer .hideSmall {
		display: none !important;
	}	
	.b2b_nav_footer .showSmall {
		display: inline !important;
	}
}
