*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

ul, li {
	margin: 0;
	padding: 0;
}

.user-modal {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: contents;
}
/*
.user-modal.is-visible {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 0.3s 0, visibility 0 0;
  -moz-transition: opacity 0.3s 0, visibility 0 0;
  transition: opacity 0.3s 0, visibility 0 0;
}
.user-modal.is-visible .user-modal-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
*/
.user-modal-container {
  position: relative;
  width: 90%;
  max-width: 460px;
  cursor: auto;
  border-radius: 0.25em;


  
  border:4px solid #ededed;

-moz-border-radius:6px;
-webkit-border-radius: 6px;
border-radius: 6px;
-moz-box-sizing: border-box;
background: none repeat scroll 0 0 rgba(56, 145, 23, 0.8);
box-shadow: none;
padding:10px 10px;

margin: 3em 0 1em auto;



}
.user-modal-container .switcher:after {
  content: "";
  display: table;
  clear: both;
}
.user-modal-container .switcher li {
	width: 33.3333%;
	float: left;
	text-align: center;
	list-style:none;
}
.user-modal-container .switcher li:first-child a {
  border-radius: .25em 0 0 0;
}
.user-modal-container .switcher li:last-child a {
  border-radius: 0 .25em 0 0;
}
.user-modal-container .switcher a {
  display: block;
  width: 100%;
  height: 50px;
  line-height: 50px;
  color: #fff;
  font-weight: 700;
	text-decoration: none;
	font-size: 15px;
	line-height: 1.1 !important;
    padding: 7px 3px;
	/*
background: none repeat scroll 0 0 rgba(32, 114, 3, 0.8);
*/

}
.user-modal-container .switcher a.selected {
  background: #FFF;
  color: #f00;
  font-weight: bold;
}
@media only screen and (min-width: 600px) {
  .user-modal-container {
	margin: 3em 0px 0px auto;
  }
  .user-modal-container .switcher a {
    height: 50px;
    line-height: 50px;
  }
}

.form {
  padding: 1.4em;
}
.form .fieldset {
  position: relative;
  margin: 1.4em 0;
}
.form .fieldset:first-child {
  margin-top: 0;
}
.form .fieldset:last-child {
  margin-bottom: 0;
}
.form label {
  font-size: 14px;
  font-size: 0.875rem;
}
.form label.image-replace {
  /* replace text with an icon */
  display: inline-block;
  position: absolute;
  left: 10px;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  color: transparent;
  text-shadow: none;
  background-repeat: no-repeat;
  background-position: 50% 0;
}

.form label.company {
  background-image: url("../images/icons/new-company.png");
  background-size: 20px;
}
.form label.currency {
  background-image: url("../images/icons/exchange-euro.png");
  background-size: 20px;
}
.form label.vat {
  background-image: url("../images/icons/licence.png");
  background-size: 20px;
}
.form label.state {
  background-image: url("../images/icons/globe-earth.png");
  background-size: 20px;
}
.form label.email {
  background-image: url("../images/icons/mail-icon.png");
  background-size: 18px;
}
.form label.username {
  background-image: url("../images/icons/user-circle.png");
  background-size: 18px;
}
.form label.password {
  background-image: url("../images/icons/key.png");
  background-size: 18px;
}



.form input, .form select {
  margin: 0;
  padding: 0;
  border-radius: 0.25em;
}
.form input.full-width, .form select.full-width {
  width: 100%;
}
.form input.has-padding {
  /* padding: 12px 20px 12px 50px; ORIGINAL*/
    padding: 6px 20px 6px 50px;
}
.form select.has-padding {
  padding: 6px 20px 6px 50px;
  color: #858585;
}
.form input.has-border, .form select.has-border {
  border: 1px solid #d2d8d8;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
}
.form input.has-border:focus, .form select.has-border:focus {
  border-color: #343642;
  box-shadow: 0 0 5px rgba(52, 54, 66, 0.1);
  outline: none;
}
.form input.has-error, .form select.has-error {
  border: 1px solid #d76666;
}
.form input[type=password] {
  /* space left for the HIDE button */
  padding-right: 65px;
}
.form input[type=button] {
  padding: 16px 0;
  cursor: pointer;
  background: #F64747;
  color: #FFF;
  font-weight: bold;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
	-webkit-transition: all 0.30s ease-in-out;
  	-moz-transition: all 0.30s ease-in-out;
  	-ms-transition: all 0.30s ease-in-out;
  	-o-transition: all 0.30s ease-in-out;
}
.form input[type=button]:hover {
	background: #d83d3d;
}
.no-touch .form input[type=button]:hover, .no-touch .form input[type=button]:focus {
  background: #d83d3d;
  outline: none;
}
.form .hide-password {
  display: inline-block;
  position: absolute;
	text-decoration: none;
  right: 0;
  top: 0;
  padding: 6px 15px;
  border-left: 1px solid #d2d8d8;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 14px;
  font-size: 0.875rem;
  color: #343642;
}
.form .error-message {
  display: inline-block;
  position: absolute;
  left: -5px;
  bottom: -50px;
  background: rgba(215, 102, 102, 0.9);
  padding: .8em;
  z-index: 2;
  color: #FFF;
  font-size: 13px;
  font-size: 0.8125rem;
  border-radius: 0.25em;
  /* prevent click and touch events */
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.2s 0, visibility 0 0.2s;
  -moz-transition: opacity 0.2s 0, visibility 0 0.2s;
  transition: opacity 0.2s 0, visibility 0 0.2s;
}
.form .error-message::after {
  /* triangle */
  content: '';
  position: absolute;
  left: 22px;
  bottom: 100%;
  height: 0;
  width: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(215, 102, 102, 0.9);
}
.form .error-message.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.2s 0, visibility 0 0;
  -moz-transition: opacity 0.2s 0, visibility 0 0;
  transition: opacity 0.2s 0, visibility 0 0;
}
@media only screen and (min-width: 600px) {
  .form {
    padding: 1.5em;
  }
  .form .fieldset {
    margin: 1em 0;
  }
  .form .fieldset:first-child {
    margin-top: 0;
  }
  .form .fieldset:last-child {
    margin-bottom: 0;
  }
  .form input.has-padding {
    padding: 6px 20px 6px 40px;
  }
  .form input[type=submit] {
    padding: 12px 0;
  }
}

.form-message {
  padding: 1.4em 1.4em 0;
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: center;


}


/* /////// VERSION 576px ///////////////////////////////////////////////// */
/* /////// VERSION ///////////////////////////////////////////////// */
/* /////// VERSION ///////////////////////////////////////////////// */
/* /////// VERSION ///////////////////////////////////////////////// */
/* /////// VERSION ///////////////////////////////////////////////// */
@media (max-width: 576px) { 



.user-modal-container {
    position: relative;
    width: 100%;
    max-width: 460px;
    -moz-box-sizing: border-box;
    box-shadow: none;
    padding: 10px 10px;
    margin: 3em 0 1em auto;
}


  .form-message {
    padding: 2em 2em 0;
	font-size: 14px;
	text-align: left;
  }
}

.form-bottom-message {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -40px;
  text-align: center;
  font-size: 14px;
  font-size: 0.875rem;
}
.form-bottom-message a {
  color: #212121;
  text-decoration: none;
	border-bottom: 1px solid #79fa20;
	padding: 0 0 0 2px;
	-webkit-transition: all 0.30s ease-in-out;
  	-moz-transition: all 0.30s ease-in-out;
  	-ms-transition: all 0.30s ease-in-out;
  	-o-transition: all 0.30s ease-in-out;
}
.form-bottom-message a:hover {
	animation: borderslide-3px .5s;
	border-bottom: 1px solid Red;
	padding-bottom: 3px;
}

@keyframes borderslide-3px {
  0% {
		padding-bottom: 1px;
  }
  50% {
		padding-bottom: 3px;
  }
}

@keyframes borderslide-2px {
  0% {
		padding-bottom: 1px;
  }
  50% {
		padding-bottom: 2px;
  }
}

.close-form {
  /* form X button on top right */
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  right: 0;
  top: -40px;
  background: url("../img/icon-close.svg") no-repeat center center;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}


/* /////// VERSION 1170px ///////////////////////////////////////////////// */
/* /////// VERSION ///////////////////////////////////////////////// */
/* /////// VERSION ///////////////////////////////////////////////// */
/* /////// VERSION ///////////////////////////////////////////////// */
/* /////// VERSION ///////////////////////////////////////////////// */

@media only screen and (min-width: 1170px) {
  .close-form {
    display: none;
  }
}

.accept-terms {
	color: #F64747;
	text-decoration: none;
	padding: 0 1px 1px 2px;
	border-bottom: 1px solid rgba(246, 71, 71, .0);
	-webkit-transition: all 0.30s ease-in-out;
  	-moz-transition: all 0.30s ease-in-out;
  	-ms-transition: all 0.30s ease-in-out;
  	-o-transition: all 0.30s ease-in-out;
}

.accept-terms:hover {
	animation: borderslide-2px .5s;
	padding-bottom: 2px;
	border-bottom: 1px solid #0EAB01; /*rgba(246, 71, 71, 1);*/
}

#login, #signup, #demo, #reset-password {
  display: none;
  background-color: #fff;
}

#login.is-selected, #signup.is-selected, #demo.is-selected, #reset-password.is-selected {
  display: block;
}