/*custom font*/
@import url(https://fonts.googleapis.com/css?family=Montserrat);

body {
    /* font-family: Montserrat, arial, verdana;
    background: transparent;
    overflow: hidden;  */
    word-wrap: break-word;
}

/*form styles*/
#msform {
    text-align: center;
    position: relative;
    margin-top: 30px;
    margin-bottom: 50px;
}

#msform fieldset {
    background: white;
    border: 1px solid #dee2e6;
    box-sizing: border-box;
    position: relative;
}

#msform fieldset:not(:first-of-type) {
    display: none;
}

/*inputs*/
#msform input, #msform textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #2C3E50;
    font-size: 13px;
}

#msform input:focus, #msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #2098ce;
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;
}

/*buttons*/
#msform .action-button {
    width: 100px;
    background: #2098ce;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#msform .action-button:hover, #msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #2098ce;
}

#msform .action-button-previous {
    width: 100px;
    background: #aCbEd0;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#msform .action-button-previous:hover, #msform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #aCbEd0;
}

/*headings*/
.fs-title {
    font-size: 18px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: bold;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    counter-reset: step;
    padding: 0;
}

#progressbar li {
    list-style-type: none;
    color: #666;
    font-size: 13px;
    width: 16.6%;
    float: left;
    position: relative;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 24px;
    height: 24px;
    line-height: 26px;
    display: block;
    font-size: 12px;
    color: #ffffff;
    background: #333333;
    border-radius: 25px;
    margin: 0 auto 10px auto;
}

/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #333333;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1;
}

#progressbar li:first-child:after {
    content: none;
}

#progressbar li.active:before, #progressbar li.active:after {
    background: #2098ce;
    color: white;
}





/* --------------- */
p.containt {
    text-indent: 80px;
}

#msform fieldset .table {
    margin-bottom: 0;
}
#msform fieldset .table thead {
    background: #e2e2e2;
}

#msform fieldset .table thead th, #msform fieldset .table tbody td {
    text-align: start;
    width: 25%;
    height: 50px;
    border-color: #dee2e6;
}

.border-right, .border-bottom {
    border-color: #dee2e6 !important;
}

#msform fieldset .table thead th {
    border-top: none;
    border-bottom: none;
}

#msform fieldset .table .form-group {
    display: flex;
    /* justify-content: center; */
    margin-bottom: 0;
    align-items: center;
    position: relative;
}

#msform fieldset .table .form-group label.form-check-label {
    flex: 1 50%;
    padding-left: 15px;
}

#msform fieldset .table .form-group input.form-control, 
#msform fieldset .table .form-group select {
    margin-bottom: 0;
    height: 50px;
    min-height: 50px;
    border: 0;
    font-size: 16px;
    color: #212529;
    border-radius: 0;
}

#msform fieldset .table .form-group input:focus, 
#msform fieldset .table .form-group select:focus {
    outline: none;
    box-shadow: none;
}

#msform fieldset .table .form-group .form-check, #msform .form-group .form-check {
    display: flex;
}

#msform fieldset .table .form-group .form-check input, #msform .form-group .form-check input {
    margin: 0;
    position: inherit;
}


#msform fieldset .table .form-group .form-check .form-check-label, #msform .form-group .form-check .form-check-label {
    margin-right: 5px;
}

#msform fieldset .table .form-group input.form-control.dob {
    width: 40%;
}

#msform fieldset .table .personal-information .form-check {
    display: flex;
}

#msform fieldset .table .personal-information .form-check label.form-check-label {
    margin-right: 10px;
}

#msform fieldset .table .personal-information .form-check input {
    display: flex;
    position: inherit;
    width: inherit;
    margin: 0;
    margin-left: auto;
}

#msform fieldset .table.qualifications thead th, #msform fieldset .table.qualifications tbody td {
    width: auto;
}

#msform fieldset .table thead th span.title {
    margin-right: 10px;
    font-weight: 600;
}

#msform fieldset .table thead p {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}


.help-block {
    color: red;
    position: absolute;
    right: 10px;
    top: -3px;
    font-size: 11px;
}

section.step-form {
    padding-top: 170px;
    padding-bottom: 80px;
}

#msform fieldset .table tbody tr td, #msform fieldset .table thead th {
    white-space: inherit;
}

#msform fieldset .table tbody tr {
    border-bottom: 1px solid #dee2e6;
}

.bottom-section {
    padding: 15px 20px 20px 20px;
}

#msform fieldset .table tbody tr td textarea {
    border: 0;
    margin-bottom: 0;
}


.add-qualification, .add-history, .add-references {
    width: 100px;
    background: #aCbEd0;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 15px 5px;
    margin: 10px 5px;
    font-size: 13px!important;
    line-height: initial !important;
}

.footer-input{
    border: none;
    border-bottom: 1px solid;
    border-radius: 0;
}

@media screen and (max-width: 991px) {
    section.step-form {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    /* #msform fieldset {
        overflow-x: scroll;
    } */
    
    #msform fieldset .table {
        display: grid;
    }

    #msform fieldset .table tbody tr {
        display: grid;
        border-bottom: none;
    }

    #msform fieldset .table thead th, #msform fieldset .table tbody td {
        height: auto;
        width: 100%;
        border-color: #dee2e6 !important;
    }

    #msform fieldset .table tbody td.border-right {
        border-right: none !important;
        border-color: #dee2e6 !important;
    }

    #msform fieldset .table .form-group input.form-control.dob {
        width: 100%;
    }

    #msform fieldset .table.references tbody tr td:last-child, #msform fieldset .table.qualifications tbody tr td:last-child {
        border-bottom: 1px solid #dee2e6;
    }

    #msform fieldset .table .form-group input.form-control, #msform fieldset .table .form-group select {
        font-size: 14px;
    }
    
    #msform fieldset .table .personal-information .form-check {
        padding-left: 0;
    }
    
}

@media screen and (max-width: 767px) {
    #progressbar {
        padding: 0;
        text-align: left;
    }
    #progressbar li {
        width: 100%;
        float: inherit;
    }

    #progressbar li:after {
        width: 2px;
        height: 15px;
        left: 11px;
        top: -15px;
    }

    #progressbar li:before { 
        display: inline-flex;
        justify-content: center;
        margin-right: 15px;
    }
}