*, *:after, *:before {
	box-sizing: border-box;
}

/*start: form structure*/
#course-enrolment h3{
	margin-top: 1.5rem;
}
.form-row{
	overflow: hidden;
	display: block;
	width: 100%;
	vertical-align: middle;
	margin: 2px 0;
}

.form-label-wrap{
	float: left;
	width: 200px;
	vertical-align: top;
}

.form-field-wrap{
	display:block;
	overflow: hidden;
	max-width: 615px;
}

.form-field-wrap ul li{
	list-style-type: none;
}
.name-wrap .name-row .checkbox-single-name{
	margin: 0;
	width: auto;
	height: auto;
}
/*end: form structure*/


/*start: form elements*/
.form-field-wrap input[type=text]
,.form-field-wrap input[type=email]
,.form-field-wrap input[type=tel]
,.form-field-wrap input[type=password]
,.form-field-wrap select
,.form-field-wrap textarea{
	/*min-width: 300px;*/
	background: none repeat scroll 0 0 #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	display: block;
	/*font-family: monospace;*/
	font-size: 1em;
	height: 2.25em;
	line-height: 1.5;
	max-width: 100%;
	padding: 0.4em;
	width: 300px;
}
textarea{
	min-height: 150px;
}
.col-firstname input,.col-lastname input{
	width: 100% !important;
}
[name="enteredaddress"]{
	width: 100% !important;
}
.inline-select{
	float: left;
	margin-right: 5px;
	width: 75px !important;
}
.numberonly{
	width: 220px !important;
}

.f-study_reason .form-label-wrap{
	float: none;
	width: 100%;
}
.f-submit{
	margin-top: 30px;
}
/*end: form elements*/



.form-label-wrap label{
	margin: 2px 0 0 0;
}


/* status messages */
#course-enrolment .info, #course-enrolment .success, #course-enrolment .warning, #course-enrolment .error {
	border-style: solid;
	border-width: 1px;
	margin: 10px 0px;
	padding:12px 10px 12px 50px;
	background-repeat: no-repeat;
	background-position: 10px center;
	font-size: .9em;
}
#course-enrolment .success {
	color: #4F8A10;
	background-color: #DFF2BF;
	background-image:url('/app/templates/default/images/status-success.png');
}
#course-enrolment .info {
	color: #00529B;
	background-color: #BDE5F8;
	background-image:url('/app/templates/default/images/status-info.png');
}
#course-enrolment .warning {
	color: #9F6000;
	background-color: #FEEFB3;
	background-image: url('/app/templates/default/images/status-warning.png');
}
#course-enrolment .error {
	color: #D8000C;
	background-color: #FFBABA;
	background-image: url('/app/templates/default/images/status-error.png');
}

.required:before {
	content: " ";
}
.required {
	color: #FF0000;
	font-weight: bold;
}


/*validation*/
input.valid, select.valid, textarea.valid, select.valid, input.validation-error, select.validation-error, textarea.validation-error, select.validation-error {
	background: none repeat scroll 0 0 #fff !important;
}




/*start: radios and checkboxes*/
.form-field-wrap .radios label
,.form-field-wrap .checkboxes label{
	display: inline;
}

.form-field-wrap .radios {
	padding: 0;
	margin: 8px 3px 0;
}
.form-field-wrap .radios li{
	margin-right: 10px;
	float: left;
}

.form-field-wrap .checkboxes {
	margin: 8px 3px 0;
}
/*end: radios and checkboxes*/


/*postcode state*/
.readonly_state {
	display: inline-block;
	margin: 6px 0 0;
}


.formhelp{
	padding-top: 3px;
	font-size: x-small;
	text-transform: capitalize;
	background: url(/admin/images/icons/info_16.png) no-repeat 0 49%;
	margin: 3px 0px;
	padding: 0px 20px;
	background-position: 0 0;
	text-transform: none;
	font-style: italic;
	display: block;
	max-width: 250px;
}



/*group enrol*/
.addstudents {
	width: 960px;
}
.addstudents .form-label-wrap {
	display:none;
}
.addstudents .form-field-wrap input[type=text]
,.addstudents .form-field-wrap input[type=email]
,.addstudents .form-field-wrap input[type=tel]
,.addstudents .form-field-wrap input[type=password]
,.addstudents .form-field-wrap select
,.addstudents .form-field-wrap textarea{
	min-width: initial;
}
.addstudents .form-field-wrap{
	width:100%;
}
.row-number {
	white-space: nowrap;
}




/*start:horizontal*/
form.horizontal, form.enrolment{
	/*max-width:600px;*/
}

form.horizontal .form-label-wrap
,form.horizontal .form-field-wrap{
	width:100%;
	clear:both;
}
form.horizontal .formhelp{
	max-width: initial;
	display: block;
	clear: both;
}
form.horizontal > h3 {
	margin: 20px 0 5px;
}
form.horizontal .form-row {
	margin: 0 0 15px;
}

#form-add-course-date{
	max-width:initial;
}

#form-add-course-date .radios > li {
	clear: both;
}


/*responsive*/
@media (min-width: 768px){
	/*field indentation*/
	.form-row {
		margin: 0px 0 15px 0px;
	}
	form.horizontal .form-row {
		margin: 0 0 15px 10px;
	}

	/*dob's inline*/
	.date_day {
		display: inline-block !important;
		width: 27% !important;
	}
	.date_month {
		display: inline-block !important;
		width: 40% !important;
	}
	.date_year {
		display: inline-block !important;
		width: 30% !important;
	}
}

@media (max-width: 767px){
	.form-label-wrap
	,.form-field-wrap{
		width:100%;
		clear:both;
	}


	.form-field-wrap input[type=text]
	,.form-field-wrap input[type=email]
	,.form-field-wrap input[type=tel]
	,.form-field-wrap input[type=password]
	,.form-field-wrap select
	,.form-field-wrap textarea{
		width: 100%;
	}
}

@media (max-width: 550px){
	/*collapse the table*/
	#coursestable {
		min-width: 270px;
	}
	#coursestable th, #coursestable td {
		display:flex;
	}
	#coursestable tr{
		float: left;
	}
	#coursestable > tbody > tr:nth-child(3), #coursestable > tbody > tr:nth-child(4) {
		float: none;
	}
	.unitlisting, .classlisting{
		width:100%;
	}
	.classlisting tr:nth-child(n+3) {
		clear: right;
		float: right;
		width: 100%;
	}
	.classlisting tr:nth-child(2) {
		display: none;
	}
	.classlisting td:nth-child(3) {
		display: none !important;
	}
}


/* skip updates 14.8.0 */




/* START: updates 14.9.3 */
/*info panel styles update*/
.infopanel {
	background-color:#fcfcfc;
	width: 71%;
	padding:10px;
	margin: 10px;
	border: 1px solid #ddd;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
}

.infopanelclose{
	font-size:0;
}

.infopanelclose:after {
	content: "\d7";
	font-size: 27px;
	font-weight: bold;
	text-decoration: none;
	line-height: 13px;
}

.formhelp {
	font-size: smaller;
	font-style: italic;
	margin-left: 10px;
	padding-left: 20px;
	background: url(/admin/images/icons/info_16.png) no-repeat 0 1px;
}

/*requied class updates*/
.form-label-wrap.has-required span.required {
	display: none;
}

.form-label-wrap.has-required span:after {
	color: red;
	content: " *";
	white-space: nowrap;
}
/* server side validation messages */
.question-validation{
	color:red;
}
/* END: updates 14.9.3 */






/* START: updates VET-867 */
.infopanel {
	margin: 10px !important;
	padding: 10px !important;
	width: 100% !important;
	max-width: 600px;
}
.form-row.horizontal .form-field-wrap .checkboxes{
	width: 100%;
}
/* END: updates VET-867 */







/* START: updates VET-869 */
.f-avetmiss_prior_education .form-field-wrap .form-field-wrap {
	width: 70%;
	float: right;
	height: 55px;
}

.f-avetmiss_prior_education .form-field-wrap .form-label-wrap{
	width:30%;
}

.f-avetmiss_prior_education .form-field-wrap .form-label-wrap label {
	display: inline-block;
	margin: 8px 0 0 20px;
}

span.form-error.help-block{
	clear:both;
}
/* END: updates VET-869 */









/* START: updates 15.9.0 */
.formhelp{
	max-width: inherit;
	display: block;
	min-height: 16px;
    padding-top: 1px;
}
.form-label-wrap.horizontal {
	width: 100%;
	clear: both;
}
/* END: updates 15.9.0 */








/* START: updates 16.2.0 */
button.site-button{
    line-height: 1.5em;
    padding: .25em 1em;
    border-radius: 4px;
}

/* employer history step */
.employer-row-display {
    clear: both;
    display: inline-block;
    margin: 0 0 10px;
}
.employer-row-display ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    clear: both;
}
.employer-row-display li {
    display: inline-block;
    float: left;
    margin-left: 10px;
}
.employment-history-container{
	clear:both;
	display: inline-block;
	width: 100%;
}
.add-employment-history {
    margin: 10px 0;
    clear:both;
}
.employer-row-display .title {
    font-weight: bold;
}
/* END: updates 16.2.0 */





/* START: updates 17.3.0 */
.icheck-item span.form-error.help-block{
	display:none !important;
}
/* END: updates 17.3.0 */












/* START: updates VET-18192 */
@media only screen and (min-width: 768px) {
	#course-dates,#coursestable{
		border-collapse: separate;
        border-radius: .25rem;
        border: 1px solid #ddd;
    }
	#course-dates td,#course-dates th,
	#coursestable td,#coursestable th{
        padding: .5rem;
        line-height: 1.2rem;
        font-size: 1em;
        text-align: left;
    }
    #course-dates [align="right"],
    #coursestable [align="right"]{
		text-align: right;
	}
    #course-dates .xs-label,#coursestable .xs-label{
        display: none;
    }
    #course-dates .classrow,#course-dates .unitrow,
    #coursestable .classrow,#coursestable .unitrow{
        display: table-row;
    }
    #course-dates .classrow > td,#course-dates .unitrow > td,
    #coursestable .classrow > td,#coursestable .unitrow > td{
        border-bottom: 0;
    }
    #course-dates .vacancies-display,#course-dates .enrol-display,
    #coursestable .vacancies-display,#coursestable .enrol-display{
        text-align: right;
    }
    #course-dates .classrow .classlisting > table,#course-dates .unitrow .unitlisting > table,
    #coursestable .classrow .classlisting > table,#coursestable .unitrow .unitlisting > table{
        margin:0;
    }
}
@media only screen and (max-width: 767px) {
    #course-dates,#coursestable{
        border-radius: .25rem;
        border: 1px solid #ddd;
    }
	#course-enrolment h2,#course-enrolment h3{
		padding:0 .5rem;
	}
	.form-label-wrap{
		padding:0 .5rem;
	}
	.form-field-wrap{
		padding:0 .5rem;
		width:100%
	}
	#course-enrolment > p{
		padding:0 .5rem;
	}
	#course-enrolment .form-row{
		margin-bottom: 1rem;
	}
    #course-dates .table-header,#coursestable .table-header{
        display: none;
    }
    #course-dates td,#course-dates th,
    #coursestable td,#coursestable th{
        font-size: 1em;
    }
    #course-dates .course-row,#coursestable .course-row{
        display: block;
        float: none;
        border-radius: 0.25rem;
    }
    #course-dates .course-row td,#coursestable .course-row td{
        display: flex;
        padding:0.5rem;
        line-height: 1.4;
        font-size: 15px;
    }
    #course-dates .course-row td:last-child,#coursestable .course-row td:last-child{
        border-bottom: 0;
    }
    #course-dates .xs-label,#coursestable .xs-label{
        display: inline-block;
        flex: 0 0 75px;
        padding-right: 1rem;
        font-weight: bold;
        text-align: left;
    }
    #course-dates .classrow > td,#course-dates .unitrow > td,
    #coursestable .classrow > td,#coursestable .unitrow > td{
    	display: block;
        padding:0;
	}
    #course-dates .classrow,#course-dates .unitrow,
    #coursestable .classrow,#coursestable .unitrow{
        float: none;
        display: block;
        margin:.75rem;
        font-size: 14px;
    }
    #course-dates .classrow > td,#course-dates .unitrow > td,
    #coursestable .classrow > td,#coursestable .unitrow > td{
        border-bottom: 0;
    }
    #course-dates .classrow .classlisting > table,#course-dates .unitrow .unitlisting > table,
    #coursestable .classrow .classlisting > table,#coursestable .unitrow .unitlisting > table{
        width:100%
    }
    #course-dates .classrow .classlisting tr,#course-dates .unitrow .unitlisting tr,
    #coursestable .classrow .classlisting tr,#coursestable .unitrow .unitlisting tr{
        float: none;
    }
    #course-dates .classrow .classlisting td,#course-dates .unitrow .unitlisting td,
    #coursestable .classrow .classlisting td,#coursestable .unitrow .unitlisting td{
        display: table-cell;
        padding-right: 10px;
        line-height: 1.4;
    }
    #coursestable .pricecell span:not(.xs-label){
        display: block;
        margin-right: 10px;
    }
    #coursestable .pricecell span:not(.xs-label):nth-child(n+3){
        margin:0 10px 0 20px;
    }
    .addstudents{
    	width: auto;
	}
	.addstudents .studentRow{
		position: relative;
	}
	.addstudents .studentRow > div > .row-number{
		display:block;
		margin-top:15px;
	}
	.addstudents .studentRow > div > .name{
		display:block;
	}
	.addstudents .studentRow > div > .price{
		position:absolute;
		right:0.2em;
		top:25px;
		margin:0
	}
	.addstudents .studentRow .remove{
		position:absolute;
		right:0.2em;
		top:0px;
	}
	.addstudents .studentRow > .tableRow{
		padding:0;
	}
    .addstudents .studentRow > .tableRow > .tableCell{
    	float:none;
    	width:100% !important;
	}
	.addstudents .studentRow > .tableRow > .tableCell .form-field-wrap{
		padding:0;
	}
	.addstudents .form-field-wrap input[type="text"],
	.addstudents .form-field-wrap input[type="email"],
	.addstudents .form-field-wrap input[type="tel"],
	.addstudents .form-field-wrap input[type="password"],
	.addstudents .form-field-wrap select,
	.addstudents .form-field-wrap textarea{
		width: 100%;
	}
	#studenttable{
		padding:0 .5rem;
	}
}
/* END: updates VET-18192 */










