
/* standard styling */

.has-float-label {
    display: block;
    position: relative;
		margin-bottom: 15px;
}

.has-float-label label,
.has-float-label>span {
    position: absolute;
    cursor: text;
    font-size: 85%;
    opacity: 1;
    -webkit-transition: all .2s;
    transition: all .2s;
    top: -.8em;
    left: 5px;
	padding: 0 5px;
    z-index: 3;
    line-height: 1;
    padding: 0 1px;
	background: #fff;
}

.email-signup .has-float-label label,
.email-signup .has-float-label>span {
	top: -1.5em;
	background: transparent;
}

#msform .has-float-label label,
#msform .has-float-label>span {

}

.has-float-label label::after,
.has-float-label>span::after {
    content: " ";
    display: block;
    position: absolute;
    background: #fff;
    height: 2px;
    top: 50%;
    left: -.2em;
    right: -.2em;
    z-index: -1
}

.email-signup .has-float-label label::after,
.email-signup .has-float-label>span::after {
    background: transparent;
}
.has-float-label .form-control::-webkit-input-placeholder {
    opacity: 1;
    -webkit-transition: all .2s;
    transition: all .2s
}

.has-float-label .form-control::-moz-placeholder {
    opacity: 1;
    transition: all .2s
}

.has-float-label .form-control:-ms-input-placeholder {
    opacity: 1;
    transition: all .2s
}

.has-float-label .form-control::placeholder {
    opacity: .8;
    -webkit-transition: all .2s;
    transition: all .2s
}

.has-float-label .form-control:placeholder-shown:not(:focus)::-webkit-input-placeholder {
    opacity: 0
}

.has-float-label .form-control:placeholder-shown:not(:focus)::-moz-placeholder {
    opacity: 0
}

.has-float-label .form-control:placeholder-shown:not(:focus):-ms-input-placeholder {
    opacity: 0
}

.has-float-label .form-control:placeholder-shown:not(:focus)::placeholder {
    opacity: 0
}

#msform .has-float-label .form-control:placeholder-shown:not(:focus)+* {
  margin-left: 10px;
}

.has-float-label .form-control:placeholder-shown:not(:focus)+* {
    font-size: 150%;
    opacity: .5;
    top: .3em;
    font-weight: 400
}

.input-group .has-float-label {
    display: table-cell
}

.input-group .has-float-label .form-control {
    border-radius: 4px
}

.input-group .has-float-label:not(:last-child) .form-control {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0
}

.input-group .has-float-label:not(:first-child) .form-control {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    margin-left: -1px
}



/* BOTTOM BARS ================================= */
.bar 	{ position:relative; display:block; width:100%; height: 0; }
.bar:before, .bar:after 	{
  content:'';
  height:2px; 
  width:0;
  bottom:1px; 
  position:absolute;
  background: #f79513;
  top: -1px;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
.bar:before {
  left:50%;
}
.bar:after {
  right:50%; 
}


/* active state
/* active state */
 .form-control:focus ~ .bar:before,  .form-control:focus ~ .bar:after {
  width:50%;
}


/* HIGHLIGHTER ================================== */
 .highlight {
  position:absolute;
  height:60%; 
  width:100px; 
  top:4%; 
  left:0;
  pointer-events:none;
  opacity:0.5;
	display: none;
}


/* active state */
.form-control:focus ~ .highlight {
  -webkit-animation:inputHighlighter 0.3s ease;
  -moz-animation:inputHighlighter 0.3s ease;
  animation:inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
	from { background:#d1002e; }
  to 	{ width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
	from { background:#d1002e; }
  to 	{ width:0; background:transparent; }
}
@keyframes inputHighlighter {
	from { background:#d1002e; }
  to 	{ width:0; background:transparent; }
}
.simple-form .errMsg{
	font-size: 14px;
	margin-bottom: 25px;
	margin-top: 25px;
}


/* /// custom styling for FFO 
.has-float-label label, .has-float-label>span{
	    color: #999 !important;
    font-weight: 100;
	font-size: 100% !important;
	opacity: 1 !important;
}
input.form-control{
	width: 100% !important;
	border: none !important;
	border-bottom: 1px solid #757575 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: 16px !important;
	height: 45px;
}
.has-float-label .form-control:placeholder-shown:not(:focus)+*{
	font-size: 18px !important;
	top: .9em;
}

.has-float-label label, .has-float-label>span{
left: 5px !important;
}

*/

#msform input:focus, #msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(247,149,19,0.64);
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;
}
.has-float-label input:focus, .has-float-label textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid  rgba(247,149,19,0.64);
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;
}

.email-signup .has-float-label .form-control:placeholder-shown:not(:focus)+*{
    top: .55em !important;
	font-size: 15px !important;
}


.has-float-label .form-control:placeholder-shown:not(:focus)+*{
	font-size: 20px;
    top: .5em;
	margin-left: 5px !important;
}

#ms-form .has-float-label .form-control:placeholder-shown:not(:focus)+*{
	font-size: 20px;
    top: .5em;
	margin-left: 15px !important;
}

.has-float-label input, .has-float-label textarea{
	padding: 15px 11px 10px 11px;
    border: 1px solid #ccc;
    border-radius: 0px;
    /* margin-bottom: 10px; */
    width: 100%;
    box-sizing: border-box;
    /* font-family: montserrat; */
    color: #656060;
    font-size: 20px;
	font: inherit !important;
}
.email-signup .has-float-label textarea{
	padding: 15px 11px 10px 11px !important;
	font-size: 16px !important;
}


#login-box .orange-btn {
	    float: none;
    margin-top: 1em;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
}



/*Checkboxes */


*{ box-sizing: border-box; user-select: none; }
html, body{ margin: 0; height: 100%; }


input[type='checkbox']{ height: 0; width: 0; }

input[type='checkbox'] + label{
  position: relative;
  display: flex;
  margin: .4em 0;
  align-items: center;
  color: #9e9e9e;
  transition: color 250ms cubic-bezier(.4,.0,.23,1);
}
input[type='checkbox'] + label > ins{
  position: absolute;
  display: block;
  bottom: 0;
  left: 2em;
  height: 0;
  width: 100%;
  overflow: hidden;
  text-decoration: none;
  transition: height 300ms cubic-bezier(.4,.0,.23,1);
}
input[type='checkbox'] + label > ins > i{
  position: absolute;
  bottom: 0;
  font-style: normal;
  color: #4FC3F7;
}
input[type='checkbox'] + label > span{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
  width: 1em;
  height: 1em;
  background: transparent;
  border: 2px solid #9E9E9E;
  border-radius: 2px;
  cursor: pointer;  
  transition: all 250ms cubic-bezier(.4,.0,.23,1);
}

input[type='checkbox'] + label:hover, input[type='checkbox']:focus + label{
  color: #f79513;
}
input[type='checkbox'] + label:hover > span, input[type='checkbox']:focus + label > span{
  background: rgba(255,255,255,.1);
}
input[type='checkbox']:checked + label > ins{ height: 100%; }

input[type='checkbox']:checked + label > span{
  border: .5em solid #f79513;
  animation: shrink-bounce 200ms cubic-bezier(.4,.0,.23,1);
}
input[type='checkbox']:checked + label > span:before{
  content: "";
  position: absolute;
    top: .5em;
    left: .1em;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transform: rotate(45deg);
  transform-origin: 0% 100%;
  animation: checkbox-check 125ms 250ms cubic-bezier(.4,.0,.23,1) forwards;
}

@keyframes shrink-bounce{
  0%{
    transform: scale(1);
  }
  33%{    
    transform: scale(.85);
  }
  100%{
    transform: scale(1);    
  }
}
@keyframes checkbox-check{
  0%{
    width: 0;
    height: 0;
    border-color: #212121;
    transform: translate3d(0,0,0) rotate(45deg);
  }
  33%{
    width: .2em;
    height: 0;
    transform: translate3d(0,0,0) rotate(45deg);
  }
  100%{    
    width: .2em;
    height: .5em;    
    border-color: #212121;
    transform: translate3d(0,-.5em,0) rotate(45deg);
  }
}

.checkbox-group label{
	width: 33% !important;
	flex: 1 !important;
}

input[type='checkbox']{
	display: none !important;
}

