body {
    margin-bottom: 16rem;
}
.mainForm {
    background-color: white;
    padding: 4rem;
    box-shadow:rgba(0, 0, 0, 0.05) 4px 4px 18px;
    margin:2rem auto 0 auto;
    max-width: 60rem;
}
    .mainForm.noPadding {
        padding:0;
    }
.btnBelow {
    margin-top:2rem;
    margin-bottom:12rem;
}
h3 {
    margin-bottom:0;
}
    h3.small {
        font-size:24px;
    }
h4 {
    font-size:24px;
    margin-bottom:2rem;
}

.mainForm .w:not(:last-child) {    
    margin-bottom:2rem;
}
.q {
    font-weight: bold;
    margin-bottom:0.5rem
}

ul, ol {
    padding-left:2rem;
}
.liMarginLeft {
    margin-left:2rem;
}


div.condition {
    display: none;
}

.link {
    text-decoration: underline;
    cursor: pointer;
}

.linkGray {
    color:gray;
    cursor: pointer;
}
    .linkGray:hover {
        text-decoration: underline;
    }


.datepicker-container {
    position: relative;
    display: inline-block;
}

.datepicker-input {
    width: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.datepicker-calendar {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.datepicker-calendar table {
    border-collapse: collapse;
    width: 100%;
}

.datepicker-calendar th,
.datepicker-calendar td {
    text-align: center;
    padding: 10px;
    cursor: pointer;
}

.datepicker-calendar th {
    background-color: #f0f0f0;
    font-weight: bold;
}

.datepicker-calendar td:hover {
    background-color: #007bff;
    color: white;
    border-radius: 50%;
}

.datepicker-calendar .current {
    background-color: #007bff;
    color: white;
    border-radius: 50%;
}

.wPicker {
    display: flex;
    gap: 4rem;
}
.picker-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.inputLong {
    width: 24rem;
}

.tableTwoColumnForm {
    border-collapse: collapse;
    margin-bottom:4rem;
}
    .tableTwoColumnForm > tbody > tr:not(:last-child) {
        border-bottom:1px solid #b1b2852b;
    }
    .tableTwoColumnForm > tbody > tr > td {
        vertical-align: middle;
        padding:1rem 2rem;
    }
    .tableTwoColumnForm > tbody > tr > td:first-child {
        background-color:#b1b28536;
    }

.mainForm.noPadding .tableTwoColumnForm tbody > tr:last-child > td {
    padding-bottom:4rem;
}



.divForm {
    width: 100%;
    max-width: 60rem;
    margin: 0 auto;
    background-color: #ffffff;
    margin-bottom:2rem;
    box-shadow: rgba(0, 0, 0, 0.05) 4px 4px 18px;
}
.divForm .r {
    display:grid;
    grid-template-columns: 16rem auto;
    align-items: stretch; 
    gap:0;
}
.divForm .r > div{
    padding:1rem 2rem;
}
.divForm > .r:last-child > div {
    padding-bottom:2rem;
}
.divForm .r > div:first-child{
    background-color:#eeefe5;
    border-bottom:1px solid #e4e5d4;
}
.divForm .r > div:last-child{
    background-color:#ffffff;
    border-bottom:1px solid #f2f2ea;
}
.divForm .mid {
    display: flex;
    align-items: center;
}
.divForm label,
.divForm li
{           
    margin-bottom:0.5rem;
}
.divForm input[type=text],
.divForm input[type=email] {
    width:100%;
    max-width: 20rem;
}
    .divForm input[type=text].fullWidth,
    .divForm input[type=email].fullWidth {        
        max-width:none;
    }
.fiLink {
    max-width: unset !important;
    width: calc(100% - 4rem) !important;
}



/* Special */
input[name=fiLink] {
    width: 100%;
    max-width: 600px;
}

.divForm input[type=text].zipCode {
    display: inline-block;
    width:5rem;
}
.divForm input[type=text].postPlace {
    display: inline-block;
    width:15rem;
}
.postPlace {
    display: inline-block;
    width:14rem;
}

#employmentContainer {
    margin-bottom:1rem;
}
#employmentContainer > .employmentEntry:not(:last-child) {
    margin-bottom:1rem;
}
.employmentEntry {
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid #dddddd;
    background-color: #f5f5f5;
}
.employmentEntry input[type=text],
.employmentEntry textarea 
{
    background-color: #ffffff;
}
.employmentEntry .entry-header {
    text-align: right;
}
.employmentEntry img {    
    height:1rem;
}
.employmentEntry .form-group {    
    margin-bottom:1rem;
}

.flexTwoColumn {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.infoIcon {
    height:20px;
    cursor: pointer;
}
#reasonDiv {
    position:absolute;left:-9999px;
}

.pnrWrapper {
    display: flex;
    gap:10px;
    align-items: center;
    font-style: italic;
}
@media only screen and (max-width: 800px) {
    .wPicker {
        display: block;        
    }
    .wPicker > div:first-child{
        margin-bottom:1rem; 
    }
}
@media only screen and (max-width: 600px) {
    .divForm .r {
        display: block;
    }
    .divForm .r > div:first-child {
        padding: 0.5rem;
        font-size: 16px;
    }
    .divForm .r > div:last-child {
        padding: 1rem 0.5rem 2rem 0.5rem;
    }
    .divForm input[type=text], .divForm input[type=email] {
        max-width: none;
    }
 }