.mb-lg-10 {
    margin-bottom: 10px;
}

#reg-form h2 {
    margin: 30px 0;
}

#reg-form h4 {
    background: url('../images/curriculum/blue-bg.jpg') center / cover;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 25px;
    float: left;
    width: 100%;
}

form {
    margin: 0 auto;
    max-width: 955px;
    width: 100%;
}

#photo div {
    text-align: center;
    height: 255px;
    width: 240px;
    color: #999;
    font-size: 24px;
    line-height: 30px;
    border: 1px dotted #000;
    float: right;
    /*padding-top: 83px;*/
    margin-bottom: 40px;
}

.small-padding {
    padding-left: 10px;
    padding-right: 10px;
}

.same-group {
    border: 1px solid #ccc;
    border-top: 0;
    float: left;
    width: 100%;
    padding:20px 0px 20px 25px;
    /*padding: 20px 25px;*/
}

.same-group h3 {
    margin: 20px 15px;
}

.choices {
    /*width: calc(100% - 280px);*/
    float: left;
}

#reg-form label {
    /*width: 296px;*/
    font-size: 15px;
    font-weight: normal;
    color: #666;
    float: left;
    margin-bottom: 5px;
    padding-right: 10px;
}

#reg-form label.small-height {
    line-height: 22px;
}

#reg-form input,
#reg-form select,
#reg-form textarea {
    padding: 8px 15px;
    /*width: calc(100% - 280px);*/
    float: left;
    font-size: 16px;
    line-height: 24px;
    border: 1px solid #ccc;
    outline: none !important;
    box-shadow: none !important;
    border-radius: none !important;
    /*-webkit-appearance: none;*/
    /*-moz-appearance:    none;*/
    /*appearance:         none;*/
    resize: none;
}
input, select, textarea {
    width: 100% !important;
}

.dynamic_field button,
input {
    margin-bottom: 0 !important;
    border-radius: 0 !important;
}

.dynamic_field td {
    border-top: none !important;
    padding-left: 0 !important;
}

.others-option {
    display: none;
}

.same-group {}

.ordered-list ol {
    padding-left: 15px;
}
.ordered-list ol li {
    /*display: block;*/
    padding-left: 15px;
    position: relative;
    list-style-type: decimal;
    margin-top: 10px;
}
/*.ordered-list ol li:before {
    content: counters(item, ".") " ";
    counter-increment: item;
    position: absolute;
    left: -40px;
}*/
.ordered-list ol li.level-1 {
    margin-top: 30px;
    padding-left: 15px;
    list-style-type: upper-alpha;
}
/*.ordered-list ol li.level-1:before {
    content: counters(item, ".") ". ";
    left: 0;
}*/
.table-responsive th,td{
    padding: 5px;    
}
.table-responsive *{ font-size: 14px; }
.table-responsive th{
    text-align: center;
}
.date-input {
    /*width: calc(100% - 250px);*/
    margin: 0 -15px;
    float: left;
}

.date-input select {
    width: 100% !important;
    height: 40px;
}

.date-input .selectbox::after {
    right: 22px !important;
}

#reg-form .selectbox {
    position: relative;
}

#reg-form .selectbox::after {
    content: "\f107";
    font-family: FontAwesome;
    position: absolute;
    right: 10px;
    top: 0;
    line-height: 40px;
    font-size: 24px;
    color: #666;
}

#reg-form select option {
    padding: 5px 15px;
}

#reg-form input:focus {
    border-color: #0b7ab2;
    box-shadow: 0 0 3px rgba(0, 102, 153, 0.53);
}

.form-group {
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.small-container .form-group:first-child {
    margin-top: 20px;
}

.small-container .form-group:last-child {
    margin-bottom: 20px;
}

.checkbox-container {
    max-width: 950px;
    margin-left: 155px;
    float: left;
    margin-bottom: 20px;
}

#reg-form .checkboxes {
    margin-top: 20px;
}

#reg-form input.checkbox {
    display: none;
}

#reg-form input.checkbox+label {
    padding-left: 50px;
    position: relative;
    line-height: 40px;
}

#reg-form input.checkbox+label::before {
    content: "";
    display: inline-block;
    height: 40px;
    width: 40px;
    border: 1px solid #ccc;
    left: 0;
    top: 0;
    position: absolute;
}

#reg-form input.centralize+label::before {
    left: calc(50% + 20px);
}

#reg-form input.checkbox+label:hover::before,
#reg-form input.checkbox+label:focus::before {
    border-color: #0b7ab2;
    box-shadow: 0 0 3px rgba(0, 102, 153, 0.53);
}

#reg-form input.checkbox:checked+label::before {
    content: "✓";
    text-align: center;
    font-weight: bold;
    line-height: 40px;
}

.columned-input input {
    width: 100% !important;
    margin-bottom: 20px;
}

/*Calendar img*/
.calendar-wrapper {
    max-width: 740px;
    margin: 0 auto;
}

section#calendar {
    padding: 70px 0;
    color: #666;
}

#legend {
    background-color: #f7f5f5;
    text-align: center;
    padding: 25px 20px;
    float: left;
    width: 100%;
}

#event-list {
    margin: 15px auto 0;
    max-width: 430px;
}

#legend span {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    width: 100%;
    float: left;
    text-align: left;
    margin-top: 10px;
}

#legend span::before {
    content: "";
    display: inline-block;
    position: absolute;
    height: 15px;
    width: 15px;
    border-radius: 100%;
    background-color: #ff9900;
    left: 5px;
    top: 2px;
}

#legend span#red::before {
    background-color: #ff3000;
}

#legend span#orange::before {
    background-color: #FF6600;
}

#legend span#blue::before {
    background-color: #004eff;
}

#legend span#green::before {
    background-color: #99CC00;
}

#legend span#light-pink::before {
    background-color: #FF99CC;
}

#legend span#purple::before {
    background-color: #CC99FF;
}

#legend span#pink::before {
    background-color: #FF00FF;
}

#legend span#gray::before {
    background-color: #999;
}

#section-5-grid .col-xs-12 {
    margin-top: 15px;
    margin-bottom: 15px;
}

#special-case-question {
    list-style: none;
    padding-left: 20px;
    float: left;
}

#special-case-question .row {
    margin-top: 15px;
    margin-bottom: 15px;
    position: relative;
}

#reg-form .btn {
    width: 100%;
    border-radius: 0;
    color: #fff;
    background-color: #01618E;
    border: none;
    margin-bottom: 50px;
    transition: 0.3s all ease;
    -webkit-transition: 0.3s all ease;
    -moz-transition: 0.3s all ease;
}

#reg-form .btn:hover {
    background-color: #999;
}

/*.parsley-errors-list {
    color: #ff0000;
    list-style: outside none none;
    margin: 0;
    padding-left: 280px;
}*/
.partsley-errors-list {
    color: #ff0000;
    list-style: outside none none;
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
    right: 0;
    float: initial;
}

.date-input .parsley-errors-list {
    padding-left: 0;
}

.choices {
    position: relative;
}

.choices .parsley-errors-list {
    position: absolute;
    padding-left: 50px;
    bottom: -15px;
}

#special-case-question .parsley-errors-list {
    padding-left: calc(33.33% + 65px);
    position: absolute;
    bottom: -15px;
}

.parsley-errors-list li {
    font-size: 12px;
}

/*ruban 20190107 new*/
.malaysian-only {
    display: block;
}

.non-malaysian-only, .non-malaysian-only-father, 
.non-malaysian-only-mother, .non-malaysian-only-guardian {
    display: none;
}
.print-only {
    display: none;
}
.mt-15 {
    margin-top: 10px;
}
.row {
    width: 100%;
}
.remove-padding {
    padding-left: 7px;
}
select {
    padding: 9px !important;
}

.cso { display: flex; }

 .cso .ot-box {min-width: 120px !important;}

/*end ruban*/
@media (max-width: 1199px) {
    .checkbox-container {
        margin-left: 40px;
    }
}

@media (max-width: 991px) {
    .mb-10 {
        margin-bottom: 10px !important;
    }

    .same-group ol,
    .same-group ol ul {
        padding-left: 20px;
    }

    #attention-deficit {
        margin-top: 11px;
    }

    #extreme-hyper {
        margin-top: 11px;
    }

    #dyslexia-m {
        margin-top: 11px;
    }

    .choices {
        width: auto;
        float: left;
    }

    .checkbox-container {
        margin-left: 0;
    }

    #special-case-question .parsley-errors-list {
        padding-left: 65px;
    }

    #int-school {
        text-align: left !important;
    }

    #reg-form input.centralize+label::before {
        left: 0;
    }

    .cso .ot-box {width: unset !important;}

    .col-sm-12 {
        float: left;
    }
}

@media (max-width: 767px) {
    #application-section-2 .text-center {
        text-align: left;
    }

    #section-3-from label {
        width: 100%;
        margin-top: 50px;
    }

    #photo div {
        margin: 0 auto 40px;
        float: none;
    }
    .table-responsive {
        border: none;
    }
    .same-group h3 {
        margin: 20px 0;
    }
}

@media (max-width: 679px) {
    #reg-form textarea {
        width: 100%;
    }

    #reg-form label,
    #reg-form input,
    #reg-form select {
        width: 100%;
    }

    .date-input {
        width: calc(100% + 30px) !important;
    }

    .eventCalendar-wrap {
        padding: 60px 15px !important;
    }

    .eventCalendar-daysList.eventCalendar-showAsWeek li.eventCalendar-day-header {
        font-size: 18px !important;
    }

    .parsley-errors-list {
        padding-left: 0;
    }

    .choices .parsley-errors-list {
        width: 300%;
    }
}

@media (max-width: 479px) {
    .checkbox-container>div {
        width: 100%;
    }

    .date-input .selectbox {
        width: 100%;
        margin-bottom: 10px;
    }

    .date-input .selectbox:last-child {
        margin-bottom: 0;
    }

    #reg-form h2 {
        font-size: 20px;
    }

    .eventCalendar-wrap {
        padding: 30px 15px 50px !important;
    }

    .eventCalendar-daysList.eventCalendar-showAsWeek li.eventCalendar-day-header,
    .eventCalendar-showAsWeek .eventCalendar-day a {
        font-size: 12px !important;
    }

    .eventCalendar-daysList.eventCalendar-showAsWeek li.eventCalendar-day-header {
        margin: 30px 0 !important;
    }

    #attention-deficit {
        line-height: 20px !important;
    }
}

@media (max-width: 475px) {
    #attention-deficit2 {
        line-height: 20px !important;
    }
}

@media (max-width: 376px) {

    #extreme-hyper,
    #deficit_disorder {
        line-height: 20px !important;
    }

    #extreme-hyper br {
        display: block !important;
    }
}