﻿/*MT*/

.mat-label {
  display: block;
  font-size: 16px;
  transform: translateY(25px);
  color: #e2e2e2;
  transition: all 0.5s;
}

.mat-input {
  position: relative;
  background: transparent;
  width: 100% !important;
  border: none;
  outline: none;
  padding: 8px 0;
  font-size: 16px;
}

.mat-div {
  padding: 15px 0 0 0;
  position: relative;
}

.mat-div:after, .mat-div:before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  bottom: 0;
  left: 0;
  transition: all 0.5s;
} 

.mat-div::after {
  transform: scaleX(0);
}

.is-active::after {
  transform: scaleX(1);
}

.is-active .mat-label {
  color: #8E8DBE;
}

.is-completed .mat-label {
  font-size: 12px;
  transform: translateY(0);
}
div.left_fields_outer label.mat-label {
    float: left;
    width: auto !important;
    background: #fff;
    display: inline-block !important;
    position: absolute;
    font-weight: 500;
    font-size: 15px !important;
    margin-top: 7px;
    z-index: 99;
}
div.left_fields_outer .is-completed label.mat-label {
    color: #1378D3;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus {
    border-color: #AAA;
    background-color: #ffffff;
}

/*MT*/

.form_fields .mat-label {
    position: absolute;
    z-index: 1000;
    font-weight: 500;
    color: #8e8e8e;
    font-size: 15px !important;
    left: 21px;
    top: 8px;
    font-weight: 300 !important;
}
.form_fields textarea{resize:none}
.form_fields .is-active .mat-label,.is-completed .mat-label{top: 13px;background:#fff;padding:0 6px;color:#03A9F4;}
.form_fields .mat-input {
    border: 1px solid #1378db !important;
    padding:8px 15px;
    font-weight:500;
    box-shadow: none;
    width: 100% !important;
	border-radius: 4px;
	z-index: 100;
	background-color: transparent;
}
.form_fields{float:left;margin-bottom:30px;}
.form_fields button{background-color:#1378db;border: 0;padding: 7px 15px;color: #fff;font-weight: 600;}
@media screen and (max-width:768px){
    .form_fields{width:100%;}
}
.form_fields .is-active .mat-input,.is-completed .mat-input{border-color:#9a9a9a !important}

.form_fields select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #03A9F4 !important;
    padding: 8px 15px;
    font-weight: 500;
    box-shadow: none;
    width: 125px;
}

.form_fields .life_time_rank::after{
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    z-index:0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid #1976D2;
    right: 12px;  
    top: 32px;
    }
.form_fields .life_time_rank{position:relative}
#language{margin-left: 9px;
    margin-right: -9px;}
#submit-button {
    margin: 0 auto;
    text-align: center;
}

#submit-button button {text-transform: uppercase;font-weight: 300;font-size: 18px;vertical-align: middle;padding: 7px 15px 4px 15px;margin-top: 15px;margin-bottom: 30px;border-radius: 4px; }
.coach_chat_hours {
    width: 30%;
    float: right;
    background: #FAFAFA;
    padding: 15px;
    border: 1px solid #ddd;
    position: relative;
    margin-top: 21%;
	margin-bottom: 30px;
	 
}
@media screen and (max-width:768px){
    .coach_chat_hours{width:100%; top:0}
}
#language .mat-label {
    top: 0px;
    left: 12px;
    background-color: #fff;
}
#lifetimerank {
    margin-left: 8px;
    margin-right: -8px;
}
#lifetimerank .mat-label{top:0;background-color:#fff;left: 13px;}

#lifetimerank .is-completed .mat-label{top: 4px;}
   #membertype .mat-label,#language .mat-label{
   /* z-index: 0 !important;*/
    background: #fff;
}

#membertype .is-completed .mat-label,#language .is-completed .mat-label{z-index: 1000 !important;top: 5px;}
#lifetimerank .mat-label{
   /* z-index: 0 !important;*/
    background: #fff;
}
#lifetimerank .is-completed .mat-label{z-index: 1000 !important;top: 5px;}

/* 19-Sep-2018 */
.box-style-email-popup {
	width: 540px;
	max-width: 100%;
}
.box-style-email-popup #file-upload label {
	position: relative;
}
@media screen and (max-width: 768px) {
	.box-style-email-popup #file-upload input[type="file"] {
		width: 103%;
	}
}
@media screen and (max-width: 480px) {
	.box-style-email-popup #file-upload input[type="file"] {
		width: 104%;
	}
}