/* form starting stylings ------------------------------- */
.group 			  { 
  position:relative; 
  margin-top:12px;
  margin-bottom:32px;
}
.group_pass        { 
  position:relative; 
  /*margin-bottom:42px; */
}
.paper input,
.paper textarea	{
  font-size:18px;
  padding:10px 10px 10px 5px;
  display:block;
  width: 100%;
  border:none;
  border-bottom:1px solid #757575;
}
.paper input:focus,
.paper textarea:focus { 
  outline:none;
}





/* LABEL ======================================= */
.paper label 				 {
  /*color:#999; Also caused IE problem*/
  color:#999;
  font-size:18px;
  font-weight:normal;
  position:absolute;
  pointer-events:none;
  left:5px;
  /*top:10px; This caused an error in IE */
  top:10px;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
  line-height: initial;
}

/* active state */
.paper input:focus ~ label, .paper input:valid ~ label,
.paper textarea:focus ~ label, .paper textarea:valid ~ label,
.paper input:disabled ~ label, .paper input.show ~ label {
  /*top:-20px; This caused a problem in IE*/
  top:-20px;
  font-size:14px;
  color:#4a4a4a;
}

/* BOTTOM BARS ================================= */
.bar 	{ position:relative; display:block; width:100%; }
.bar:before, .bar:after 	{
  content:'';
  height:2px; 
  width:0;
  bottom:1px; 
  position:absolute;
  background:#3db7d5; 
  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 */
.paper input:focus ~ .bar:before, .paper input:focus ~ .bar:after,
.paper textarea:focus ~ .bar:before, .paper textarea:focus ~ .bar:after {
  width:50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
  position:absolute;
  height:60%; 
  width:100px; max-width: 100%;
  top:25%; 
  left:0;
  pointer-events:none;
  opacity:0.5;
}

/* active state */
.paper input:focus ~ .highlight,
.paper textarea: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:#3db7d5; }
  to 	{ width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
	from { background:#3db7d5; }
  to 	{ width:0; background:transparent; }
}
@keyframes inputHighlighter {
	from { background:#3db7d5; }
  to 	{ width:0; background:transparent; }
}

/* Paper Toggle Button CSS*/
.paper-toggle {
  display: inline-block;
  position: relative;
  width: 100%;
  clear: both;
  margin: 20px 0;
}

.paper-toggle input,
.paper-toggle textarea {
  display: none;
}

.paper-toggle input:empty,
.paper-toggle textarea:empty {
  margin-left: -999px;
}

.paper-toggle input:empty ~ label,
.paper-toggle textarea:empty ~ label {
  position: relative;
  float: left;
  line-height: 1.6em;
  width: 150px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.paper-toggle input:empty ~ label:before, .paper-toggle input:empty ~ label:after,
.paper-toggle textarea:empty ~ label:before, .paper-toggle textarea:empty ~ label:after {
  position: absolute;
  display: block;
  content: ' ';
  -webkit-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}

.paper-toggle input:empty ~ label:before,
.paper-toggle textarea:empty ~ label:before {
    top: 8px;
    left: 115px;
    width: 32px;
    height: 1px;
    background-color: #5a5a5a;
}

input.switch:empty ~ label:after,
textarea.switch:empty ~ label:after
{
    top: 0px;
    left: 100px;
    width: 1.4em;
    height: 8px;
    bottom: 0.1em;
    margin-left: 0.1em;
    background-color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: solid 2px;
    border-color: #5a5a5a;
}

.paper-toggle input:checked ~ label:before,
.paper-toggle textarea:checked ~ label:before
{
  background-color: #90aa4a;
}

.paper-toggle input:checked ~ label:after,
.paper-toggle textarea:checked ~ label:after
{
  left: 140px;
  background-color: #90aa4a;
  border-color: #90aa4a;
}



/* Paper radio button look-alike CSS */

.polymer-radio {
  position: relative;
  padding-bottom: 0px;
  height: 30px;
}
.polymer-radio input {
  display:none;
}
.polymer-radio input + label article {
  position:absolute;
  top:-2px;
  left:30px;
  padding-bottom:0px;
  width:auto;
  white-space: nowrap;
  overflow-x:show;
}
.polymer-radio input + label {
  border-radius:50%;
  position:absolute;
  transition:0.2s;
  width:0;
  height:0;
  top:4px;
  left:4px;
  padding-left:16px;
  padding-top:16px;
}
.polymer-radio input:checked + label {
  width:16px;
  height:16px;
  padding-left:0px;
  padding-top:0px;
  transition:0.2s;
}
.polymer-radio input + label:after {
  content:'';
  border:2px solid #5A5A5A;
  border-radius:50%;
  position:absolute;
  width:16px;
  height:16px;
  top: 0px;
  left:0px;
}
.polymer-radio input:checked + label {
  background-color: #3db7d5;
}
.polymer-radio.green input:checked + label {
  background-color: #90aa4a;
}

.polymer-radio h3 {
  margin: 0px;
}



.check_group {
  display: block;
  position: relative;
  width: auto; height: auto;
}

.check_group input {
  display: inline-block !important;
  position: relative;
  font-size:18px;
  padding:initial;
  display:block;
  width: auto;
  border:none;
  border-bottom:1px solid #757575;
}

.check_group label {
  display: inline-block;
  position: relative;
  width: auto; height: auto;
  top: initial !important;
  left: initial !important;
  pointer-events: initial !important; 

  color: initial;
  font-size: 16px !important;
  margin-right: 20px;
}

.group .dob{
  display: inline-block;
  position: relative;
  width:75px;

  /*margin-right: 20px;*/
}
.group.middle{
  vertical-align:middle;
}


.is-ie #sign_in_wrapper .paper label {
    top: 0px;
}

.is-ie #sign_in_wrapper .paper input:focus ~ label {
    top: -35px;
}

