* {
    box-sizing: border-box
}
body {
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff
}

.tml-register {
  width: 75%;
  margin: 5%;
  position: relative;
}

.first-text {
    margin-bottom: 50px;
}

.controls {
    position: sticky;
    position: -webkit-sticky;
    bottom: 0;
    display: flex;
    align-items: center;
    list-style: none;
    padding: 15px 0;
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
}

.controls li a {
    display: block;
    padding: 10px 25px;
    margin-right: 15px;
    background-color: #eb890a !important;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.controls li a.disabled {
    background-color: #f0f0f0 !important;
    pointer-events: none;
}

.form-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
margin:0;
}

.form-field {
  width: calc(50% - 10px);
  margin-bottom: 10px;
  padding-top: 10px;
}

.form-field.full-width {
    width: 100%;
}

.check-group {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
}

.checkbox-wrap label span {
    flex: 1;
}

.form-field input[type=text],
.form-field input[type=date],
.form-field input[type=time],
.form-field input[type=email],
.form-field input[type=password],
.form-field select {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: none;
    /* border-bottom: 1px solid #f0f0f0; */
    border-bottom: 1px solid rgba(92,96,107,0.529); 
    color: #5C606B;
    outline: none;
    line-height: normal;
    font-size: 14px;
    height: 40px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-field select {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-progress-appearance: none;
    background-image: url(../img/down-arrow.svg);
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: 100%;
}

.form-field input[type=text]:focus,
.form-field input[type=date]:focus,
.form-field input[type=time]:focus,
.form-field input[type=email]:focus,
.form-field input[type=password]:focus,
.form-field select:focus {
    border-color: #eb890a;
}

.form-field input[type=checkbox] {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #f0f0f0;
    background-color: #fff;
    margin-right: 15px;
    outline: none!important;
    transition: all 0.3s ease;
}

.form-field input[type=checkbox]:checked {
    border-color: #eb890a;
    box-shadow: inset 0 0 0 3px #fff;
    background-color: #eb890a;
}

.select-field {
    position: relative;
}

.select-field.full-widt {
    width: 100%;
}

label.select-label {
    font-size: 14px;
    position: absolute;
    left: 15px;
    top: 20px;
    color: #5C606B;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-field .other-input.hidden {
    opacity: 0;
    max-height: 0;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.form-field .other-input {
    transition: all 0.3s ease;
    opacity: 1;
    max-height: 50px;
}

.select-field.focused label.select-label,
select:focus + label.select-label {
    top: -5px;
    color: #eb890a;
}

h4.form-title {
    font-weight: 200;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
    position: relative;
    cursor: pointer;
    padding-left: 15px;
    font-size: 16px;
    margin: 30px;
}

h4.form-title:after,
.form-text:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  height: 2px;
  width: 150px;
  background-color: #f0f0f0;
  transition: all 0.3s ease;
}

h4.form-title.active:after,
.form-section.active .form-text:after {
    background-color: #eb890a;
}

.form-switch {
    position: absolute;
    left: -50px;
    top: -20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 55px;
    text-align: center;
    border: 2px solid #eb890a;
    font-size: 18px;
    color: #eb890a;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 700;
}

.form-title.active .form-switch {
    color: #fff;
    background-color: #eb890a;
}

.form-section {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.form-section.active {
    transition: all 0.3s ease;
    opacity: 1;
    max-height: 3500px;
}
.form-section.active.students_section{
	max-height: 35000px;
} 


body .form-text {
  display: block;
  font-weight: 200;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
  position: relative;
  font-size: 18px;
  color: #545b62;
}

.form-text {
    width: 100%;
}

.small-text {
    display: block;
    font-size: 14px;
    color: #878787;
}

.captcha-block {
    width: 100%;
    text-align: center;
    margin: 15px 0 25px;
    overflow: hidden;
}
.checkbox-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 15px;
}
.checkbox-wrap label {
    display: flex;
    align-items: flex-start;
    width: calc(50% - 10px);
    margin: 0 0 5px;
    flex-wrap: wrap;
    align-content: flex-start;
}

.checkbox-wrap label span {
    flex: 1;
}

.form-textarea span {
    display: block;
    font-size: 14px;
    margin: 5px 0 10px;
    color: #878787;
}
.form-textarea textarea {
    width: 100%;
    height: 85px;
    resize: none;
    outline: none!important;
    padding: 20px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}
.form-textarea textarea:focus {
    border-color: #eb890a;
}
.sub-title {
    width: 100%;
    font-size: 16px;
    color: #333333;
    margin: 20px 0 10px;
}

.checkbox-wrap label .descriptions-checkbox {
    flex: inherit;
    width: 100%;
    display: block;
    font-size: 14px;
    font-style: italic;
    margin-bottom: 10px;
    margin-left: 35px;
    color: #878787;
}
.sub-title p {
    margin:0;
    font-size:14px;
    font-style:italic;
}
.add-btn {
    background-color: #eb890a;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 20px;
    padding: 10px 25px;
    cursor: pointer;
    margin-bottom: 10px;
    outline: none!important;
    transition: all 0.3s ease;
}
.add-btn:hover {
    opacity: 0.75;
}
.add-text {
    width: 100%;
    color: #878787;
}

.tml-register a {
    color: #eb890a;
    font-weight: 700;
    transition: all 0.3s ease;
}

.tml-register a:hover {
    opacity: 0.75;
}

.hidden {
    display: none;
}

.bool-field {
    max-height: 0;
    opacity: 0;
    animation: appear 1 0.3s forwards;
}

.check-group span {
    flex: 1;
}

.sub-title .small-text {
    margin-left: 15px;
}

@keyframes appear {
    to {
        max-height: 1000px;
        opacity: 1;
    }
}

.submit-row {
    justify-content: flex-start;
}

.submit-row .add-btn {
    margin-right: 15px;
}

.no-margin-bottom {
    margin-bottom: 0;
    padding-top: 0;
}

.no-margin-top {
    margin-top: 0;
}

body .form-field .error {
    border-color: red;
}

.thank-popup {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.3s ease;
   /*  display: flex; */
     
     display: none;
	
    justify-content: center;
    align-items: center;
}

.thank-popup.active {
    display: flex;
	opacity: 1;
    transform: translate(0);
}

.popup-inner {
    padding: 50px;
    background-color: #fff;
    border: 1px solid #eb890a;
    text-align: center;
    position: relative;
    z-index: 5;
    max-width: 500px;
}

.popup-inner p {
    font-size: 18px;
    margin: 10px 0;
}

.popup-inner img {
    display: block;
    width: 150px;
    margin: 25px auto;
}

.popup-overlay {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.75);
}

.submit-button-form-loading {
    background-image: url(../img/loading.svg);
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
    color: transparent!important;
}

@media (min-width: 769px) {

    .sub-title.half-width {
        width: 50%;
    }

}

@media (min-width: 1024px) {

   h4.form-title {
       margin-left: 50px;
   }

}

@media (max-width: 768px) {

   .form-field,
   .checkbox-wrap label {
       width: 100%;
   }
   
   .tml-register {
       width: 90%;
       margin: 0 auto;
   }

   .select-field {
        display: flex;
        flex-direction: column;
    }

    .select-field select {
        order: 2;
    }

    .select-field label,
    .select-field.focused label.select-label, 
    select:focus + label.select-label {
        order: 1;
        position: inherit;
        top: 0;
        left: 0;
    }

    h4.form-title {
        margin: 0 0 30px 30px;
    }

    .submit-row .add-btn {
        margin-right: 0;
        display: block;
        width: 100%;
        margin-bottom: 40px;
    }

}

@media (max-width: 480px) {

    .controls {
        flex-direction: column;
        padding: 5px 0;
    }

    .controls li {
        display: block;
        width: 100%;
        margin-top: 5px;
    }

    .controls li a {
        display: block;
        width: 100%;
        margin: 0;
    }

}

.is_new_student{
	display: none !important;
}

.ui-timepicker-container{
	z-index:7000!important;
}

.mobile-register {
	display:none;
	width:inherit;
}
@media (max-width: 1000px){
	.mobile-register {
		display: block;
	}
}

/** add 17.12*/
.close-popup-class{
	position: absolute;
	right: 0px;
	top: 0px;
	background: #eb890a;
	width: 20px;
	color: #FFF;
	vertical-align: top;
	font-size: 18px;
	line-height: 18px;
	padding: 2px 0px 6px;
	cursor: pointer;
}
ul#main-menu.navbar-nav li.num a{
	white-space:nowrap;
}