.fixedheight{
	height: 22px;
	margin-top:10px;
	margin-bottom:10px;
}

/* inputtext */
.inputtext {
  font-family:
    'Roboto','Helvetica','Arial',sans-serif;
	position: relative;
	width: 100%;
}

.inputtext-text {
	position: relative;
	font-family: inherit;
	background-color: transparent;
	width: 100%;
	padding: 10px 10px 10px 0;
	font-size: inherit;
	border-radius: 0;
	border: none;
	border-bottom: 1px solid rgba(0,0,0, 1);
	box-sizing: border-box;
}

.inputtext-text:focus {
	outline: none;
	border-bottom: 1px solid rgba(0,0,0, 0);
}

.inputtext-text.inverted {
  border-bottom: 1px solid rgba(255,255,255, 1);
  color:#FFFFFF;
}

.inputtext-text.inverted:focus {
  outline: none;
  border-bottom: 1px solid rgba(255,255,255, 0.5);
}

.inputtext-text.inverted::placeholder{
  color:rgba(255,255,255, 0.5);
}

.inputtext-text.inverted:-ms-input-placeholder{
  color:rgba(255,255,255, 0.5);
}

.inputtext-text.inverted::-ms-input-placeholder{
  color:rgba(255,255,255, 0.5);
}

.inputtext .inputtext-text {
	appearance: none;
	-webkit-appearance:none
}

.inputtext-label {
	color: rgba(0,0,0, 0.85);
  line-height: 12px;
	font-size: 0.8em;
	font-weight: normal;
	position: absolute;
	pointer-events: none;
	left: 0;
	top: 10px;
	transition: 0.2s ease all;
}

.inputtext-text:focus ~ .inputtext-label, .inputtext-text:valid ~ .inputtext-label {
	color: #007E83;
	top: -16px;
	transition: 0.2s ease all;
	/*font-size: 0.8px;*/
}

.inputtext-text:disabled ~ .inputtext-label {
  color: #007E83;
	top: -16px;
	transition: 0.2s ease all;
	/*font-size: 0.8px;*/
}

.inputtext-label.disabled-button{opacity:1;}

.inputtext-bar {
	position: relative;
	display: block;
	width: 100%;
}

.inputtext-bar:before, .inputtext-bar:after {
	content: '';
	height: 2px;
	width: 0;
	bottom: 1px;
	position: absolute;
	background: #007E83;
	transition: 0.2s ease all;
}

.inputtext-bar:before {
	left: 50%;
}

.inputtext-bar:after {
	right: 50%;
}

.inputtext-text:focus ~ .inputtext-bar:before, .inputtext-text:focus ~ .inputtext-bar:after {
	width: 50%;
}

.inputtext-highlight {
	position: absolute;
	height: 60%;
	width: 100px;
	top: 25%;
	left: 0;
	pointer-events: none;
	opacity: 0.5;
}



/* select */
.select {
 	font-family: 'Roboto','Helvetica','Arial',sans-serif;
	position: relative;
	width: 100%;
}

option{
  -moz-font-family:'Roboto','Helvetica','Arial',sans-serif;
  font-family:'Roboto','Helvetica','Arial',sans-serif;
  font-size: 1rem;
}

.select-text {
	position: relative;
	font-family: inherit;
	background-color: transparent;
	width: 100%;
	padding: 10px 10px 10px 0;
	font-size: inherit;
	border-radius: 0;
	border: none;
	border-bottom: 1px solid rgba(0,0,0, 1);
	box-sizing: border-box;
}

.select-text:disabled {
	opacity: 0.35;
}

.select-text:focus {
	outline: none;
	border-bottom: 1px solid rgba(0,0,0, 0);
}

.select .select-text {
	appearance: none;
	-moz-appearance:none;
  -webkit-appearance:none;
  -ms-appearance:none;
}

.select:after {
	position: absolute;
	top: 18px;
	right: 10px;
	/* Styling the down arrow */
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid rgba(0, 0, 0, 1);
	pointer-events: none;
}


.select-label {
	color: rgba(0,0,0, 0.85);
	font-size: 0.8em;
	font-weight: normal;
	position: absolute;
	pointer-events: none;
	left: 0;
	top: 10px;
	transition: 0.2s ease all;
}

.select-text:focus ~ .select-label, .select-text:valid ~ .select-label, .select-text:disabled ~ .select-label {
	color: #007E83;
	top: -16px;
	transition: 0.2s ease all;
	font-size: 0.8em;
}

.select-bar {
	position: relative;
	display: block;
	width: 100%;
}

.select-bar:before, .select-bar:after {
	content: '';
	height: 2px;
	width: 0;
	bottom: 1px;
	position: absolute;
	background: #007E83;
	transition: 0.2s ease all;
}

.select-bar:before {
	left: 50%;
}

.select-bar:after {
	right: 50%;
}

.select-text:focus ~ .select-bar:before, .select-text:focus ~ .select-bar:after {
	width: 50%;
}

.select-highlight {
	position: absolute;
	height: 60%;
	width: 100px;
	top: 25%;
	left: 0;
	pointer-events: none;
	opacity: 0.5;
}

/* checkbox */
.checkbox {
  	font-family: 'Roboto','Helvetica','Arial',sans-serif;
	position: relative;
	width: 100%;
}

.checkbox .checkbox-label {
  cursor: pointer;
  display: inline;
  line-height: 1.25em;
  vertical-align: top;
  clear: both;
  padding-left: 1px;
  pointer-events: none;
  font-size: 0.8em;
}

.checkbox .checkbox-label a{
  pointer-events: all;
}

.checkbox .checkbox-label:not(:empty) {
  padding-left: 1.75em;
}

.checkbox .checkbox-label:before, .checkbox .checkbox-label:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
}

.checkbox .checkbox-label:before {
  width: 1.2em;
  height: 1.2em;
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.54);
  border-radius: 0.125em;
  cursor: pointer;
  transition: background 0.3s;
  pointer-events: none;
  opacity: 1;
}
.checkbox .checkbox-check {
  outline: 0;
  /*visibility: hidden;*/
  opacity: 0;
  width: 1.25em;
  margin: 0;
  display: block;
  float: left;
  font-size: inherit;
  cursor: pointer;
  transform: scale(2);
  margin-left:0.25em;
  margin-top:0.25em;
}

.checkbox .checkbox-check:checked + label:before {
  background: #007E83;
  border-color: #007E83;
}
.checkbox .checkbox-check:checked + label:after {
  transform: translate(0.25em, 0.30em) rotate(-45deg);
  width: 0.75em;
  height: 0.375em;
  border: 0.125em solid #fff;
  border-top-style: none;
  border-right-style: none;
  pointer-events: none;
}
.checkbox .checkbox-check:disabled + label:before {
  border-color: rgba(0, 0, 0, 0.26);
}
.checkbox .checkbox-check:disabled:checked + label:before {
  background: rgba(0, 0, 0, 0.26);
}

.checkbox .checkbox-label span{
  display: inline-block;
  font-size:0.85rem;
  transform: translateY(-25%);
}

.filters .checkbox .checkbox-label span{
  font-size:1.0rem;
  transform: translateY(0);
}

/* radio */
@keyframes ripple {
  0% {
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0);
  }
  50% {
    box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, 0.1);
  }
  100% {
    box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, 0);
  }
}
.radio {
  margin: 0.9em 0;
}
.radio.radio-inline {
  display: inline-block;
}
.radio input[type="radio"] {
  display: none;
}
.radio input[type="radio"]:checked + label:before {
  border-color: #007E83;
  /*animation: ripple 0.2s linear forwards;*/
}
.radio input[type="radio"]:checked + label:after {
  transform: scale(1);
}
.radio label {
  display: inline-block;
  height: 1.3em;
  position: relative;
  padding: 0 30px;
  margin-bottom: 0;
  cursor: pointer;
  vertical-align: bottom;
}
.radio label:before, .radio label:after {
  position: absolute;
  content: '';
  border-radius: 50%;
  transition: all .3s ease;
  transition-property: transform, border-color;
}
.radio label:before {
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.54);
}
.radio label:after {
  top: 0.35em;
  left: 0.35em;
  width: 0.75em;
  height: 0.75em;
  transform: scale(0);
  background: #007E83;
}


/* button */
button, a.button {
  position: relative;
  display: inline-block;
  margin:auto;
  overflow: hidden;
  border-width: 0;
  outline: none;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  background-color: #007E83;
  color: #FFFFFF;
  transition: background-color .3s;
  padding: 0.5em 2em 0.5em 3em;
  text-transform: uppercase;
  cursor: pointer;
}

button.noicon, a.button.noicon{
  padding: 0.5em 2em 0.5em 2em;
}

button.noicon.small, a.button.noicon.small{
  padding: 0.2em 1em 0.2em 1em;
}

button.lefticon, a.button.lefticon{
  padding: 0.5em 3em 0.5em 2em;
}

button.lefticon.small, a.button.lefticon.small{
    padding: 0.2em 2em 0.2em 1em;
}


button.big, a.button.big{
  padding: 1.8em 1em 1.8em 1em;
}

button.transparent, a.button.transparent{
  background-color:transparent;
}

button:hover, a.button:hover  {
  background-color: #5fb9bc;
  text-decoration: none;
} 

a.button.fullwidth{
  width: 100%;
  text-align: center;
  display: block;
}

/* button */
button i, a.button i{
  vertical-align: -0.2em;
} 

button.whitebutton, a.button.whitebutton{
  background-color:#FFFFFF;
  color:#007E83;
}

.dashboard-top-wrapper button.whitebutton, .dashboard-top-wrapper a.button.whitebutton{
  color:#0A4D6E;
}

button.whitebutton:hover, a.button.whitebutton:hover{
  background-color:#EDEDED;
}

button.aiadvisorbutton, a.button.aiadvisorbutton{
  background-color:#0A4D6E;
  color:#FFFFFF;
}


button.rightchevron:after, a.button.rightchevron:after{
  font-family: 'Material Icons';
  content: "\e5cc";
  position: absolute;
  top:50%;
  right:20px;
  color:inherit;
  -webkit-font-feature-settings: 'liga' 1;
  -moz-font-feature-settings: 'liga' 1;
  font-feature-settings: 'liga' 1;
  transform:translateY(-40%);
  line-height: 1;
  font-size: 2rem;
}

@media screen and (max-width: 1440px){
  button.rightchevron:after, a.button.rightchevron:after{
    right:0px;
  }
}

.roundbtnicon {
  display: inline-block;
  position: relative;
  padding: 0;
  z-index: 98;
  margin: 0 auto;
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  height: 60px;
  width: 60px;
  background-color: #008b86;
  transition: background 0.2s ease;
  text-align: center;
  color:#FFFFFF;
}
.roundbtnicon:active {
  
  -webkit-transform: scale(0.9);
          transform: scale(0.9);
  box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.3);
}
.roundbtnicon:hover {
  cursor: pointer;
  background-color: #5fb9bc;
  box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.3);
  color:#FFFFFF;
}
.roundbtnicon img, .roundbtnicon i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

@media screen and (max-width: 321px){
  button.lefticon, a.button.lefticon {
      padding: 0.5em 2em 0.5em 1em;
  }
}


/* textarea */
textarea {
  display: block;
  width: 100%;
  border: 1;
  padding: 10px 5px;
  background: white no-repeat;
  
  /*
  * IMPORTANT PART HERE
  */
  
  /* 2 imgs : 1px gray line (normal state) AND 2px green line (focus state) */
  background-image: linear-gradient(to bottom, #007E83, #007E83), linear-gradient(to bottom, silver, silver);
  /* sizes for the 2 images (default state) */
  background-size: 0 2px, 100% 1px;
  /* positions for the 2 images. Change both "50%" to "0%" or "100%" and tri again */
  background-position: 50% 100%, 50% 100%;

  /* animation solely on background-size */
  transition: background-size 0.3s cubic-bezier(0.64, 0.09, 0.08, 1);

}

textarea:focus{
  /* sizes for the 2 images (focus state) */
  background-size: 100% 2px, 100% 1px;
  outline: none;
}


form.superpadding{
  max-width: 80%;
  margin:2em auto;
}

.inputtext.inputfile input[type="file"]{
  display: none;
}

.inputtext.inputfile .fakefileinput{
  display: flex;
  align-items: flex-end;
}
.inputtext.inputfile .fakefileinput .fakebutton{
    text-align: right;
    width: auto;
    cursor: pointer;
    white-space: nowrap;
}
.inputtext.inputfile .fakefileinput .fakeinput{
  flex: 0 100%;
}
.inputtext.inputfile .fakebutton span{
  vertical-align: -0.2em;
}

.disabled-button-loading span{
  margin-right:1rem;
  animation: rotation 2s infinite linear;
}

@keyframes rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
