* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-size: 14px;

    font-family: "Source Sans Pro", sans-serif;

    background-color: #f9f9f9;

    color: #111111;

}



a {

    color: #094f9c;

    text-decoration: none;

}



.page-content {

    width: 100%;

    max-width: 1100px;

    margin: 3em auto;

    display: flex;

    flex-direction: column;

    padding: 2em;

    background-color: #ffffff;

    box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.05);

}



.page-title {

    display: flex;

    justify-content: center;

    align-items: center;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2px;

    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

}



.page-title h1 {

    font-size: 2em;

    color: #ffffff;

    background-color: royalblue;

    padding: 0.25em 1em;

    text-align: center;

    margin-bottom: 1em;

}





.top-row {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

}



.top-r-left {

    flex: 1;

    margin-right: 1em;

}


.cnic-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}


.field-set {

    display: flex;

    flex-direction: column;

    margin: 1em 1em;

}

.field-set.disabled {
    pointer-events: none;
}



.field-set label {
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    color: #094f9c;
}

.field-set.disabled label {
    color: #696969;
}

#vacarea{
    display: none;
}


.field-set input[type="text"],
.field-set input[type="number"],
.field-set input[type="email"],
.field-set input[type="date"],
.field-set select {
    font-family: inherit;
    font-size: 1em;
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 0.5em;
    border: none;
    border-bottom: 2px solid #094f9c;
    outline: none;
    margin: 0.6em 0;
}

.field-set input[type="date"]
{
    margin: 6px 0px !important;
}

.field-set.disabled input {
    color: #696969;
    border-bottom: 2px solid #696969;
}

.form-field-invalid {

    font-size: 0.9em;

    padding: 0.5em 1em;

    background-color: #f8dcdc;

    color: #9b1414;

    display: flex;

    align-items: center;

    margin-bottom: 0.5em;

}



.form-field-invalid span {

    font-size: 0.7em;

    margin-right: 1em;

}





.field-submit {

    display: flex;

    justify-content: center;

    margin: 2em 0 1em 0;

}



.field-submit button[type="submit"] {

    font-weight: 700;

    text-transform: uppercase;

    background-color: #094f9c;

    border-radius: 4px;

    border: none;

    color: #ffffff;

    font-family: inherit;

    padding: 0.6em 2em;

    letter-spacing: 1px;

    cursor: pointer;

}

.field-submit button[type="submit"] span {

    font-size: 0.8em;

    margin-left: 0.5em;

}



.top-r-right {

    min-width: 120px;

    display: flex;

    flex-direction: column;

    align-items: center;

}



.field-pic-preview {

    width: 150px;

    height: 150px;

    overflow: hidden;

    display: flex;

    margin-bottom: 1em;

}





.full-row {

    display: flex;

    flex-direction: column;

}

.half-row {

    display: flex;

    flex-wrap: wrap;

}

.half-row .field-set {

    flex: 1;

}





.field-pic-preview img {

    width: 100%;

    height: auto;

    display: block;

}





