/*------------------------------------*\
    Page's form stylesheet
    Adapted for v2 project
    ver: 2024-03-08
\*------------------------------------*/
input[type="checkBox"] {
    width: 20px !important;
    height: 20px !important;
    vertical-align: middle;
}
/*remove arrows from input type number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
select {
    padding:8px 10px 8px 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('../images/down.png') no-repeat left;
    background-size: contain;
    background-color: rgba(255, 255, 255, 0.4);
    background-blend-mode: overlay;
    border:1px solid #999999;
}

header {
    color: #1c2830;
    position: relative;
}
header h1 {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
}
#headerImg {
    width: 100%;
    border-radius: 5px;
}
label.error {
    color: red;
    font-size: 0.8em;
    margin: 0;
    padding: 0;
    max-height: 5px;
    position: absolute;
    bottom: 0;
    right: 0;
}
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.formContainer form {
    overflow: hidden;
}
.formContainer,
.formContainer div select {
    width: 100%;
    overflow: hidden;
    color: #1c2830;
}
.formContainer h1 {
    margin-right: 2.5%;
    text-align: center;
}

.carSelect,
.infoDiv {
    width: 45%;
    margin: 10px 2.5%;
}

.carSelect.infoDiv {
    float: none;
}

.carImageDisplay {
    text-align: center;
}

.carImageDisplay img {
    max-width: 390px;
    padding: 2px;
}

#modelImg {
    max-height: 95px;
    max-width: 154px;
}

form .infoDiv {
    float: right;
    position: relative;
    padding-bottom: 5px;
}

form .infoDiv > *:not(:first-child) {
    font-size: 16px;
}

form .infoDiv label {
    width: 100%;
    display: block;
    padding: 5px 0px;
    font-weight: bold;
}

form .infoDiv .errors {
    color: red;
    font-size: 0.8em;
    margin: 0;
    padding: 0;
    max-height: 5px;
    position: absolute;
    bottom: 0;
    right: 0;
}

form .infoDiv .errors span {
    float: right;
    margin: 0;
    margin-right: 5px;
    max-height: 13px;
}

form .infoDiv input:not(input[type='submit']):not(input[type='checkBox']):not(input[type='button']) {
    width: 100%;
    padding: 5px 0px;
}

form .infoDiv input[type='text'],
form .infoDiv input[type='tel'],
form .infoDiv input[type='email'],
form .infoDiv input[type='number'] {
    width: 100%;
    padding: 5px 0px;
}

form .infoDiv.confirmCheck {
    display: block;
    width: 100%;
}
form .infoDiv.confirmCheck * {
    width: auto;
    margin: 0px 5px;
    display: inline-block;
}
form .infoDiv.confirmCheck label {
    font-size: 0.9em;
}
form .infoDiv.confirmCheck span {
    width: 100%;
    margin-top: 10px;
    font-size: 0.8em;
    display: block;
}
form .infoDiv.confirmCheck h3 {
    font-size:1rem;
    font-weight: bold;
}
form .infoDiv.confirmCheck a {
    text-decoration:underline;
    font-weight:500;
}
form .infoDiv.submit {
    width: 100%;
    margin: auto;
    text-align: center;
}

.infoDiv.msgText {
    width: 95%;
}

.infoDiv.msgText textarea {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}

.infoDiv #timePicker,
.infoDiv #datepicker {
    width: 49%;
}

.infoDiv #datepicker.resetsize {
    width: 100%;
}

.infoDiv #datepicker {
    background-image: url(../images/calendar.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: right;
    padding-right: 30px;
}

.infoDiv .maxWidthPicker {
    width: 100% !important;
}

.infoDiv #msgTxt {
    width: 100%;
}

.formBtn {
    background-image: linear-gradient(to bottom, #1c2830 0, #232830 100%);
    background-repeat: repeat-x;
    color: white;
    font-size: 15px;
    border: none;
    height: 2.5em;
    margin-top: 5px;
    padding: 0px 15px;
}

.formBtn:hover {
    background-image: linear-gradient(to bottom, #181c1f 0, #1c2830 100%);
    text-decoration: underline !important;
    cursor: pointer;
}

.pageContainer .privacy {
    margin-right: 2.5%;
    opacity: 0.65;
}

.pageContainer .privacy .fadeInPrivacy {
    text-decoration: underline;
}

/*dialog*/
#dialog {
    display: none;
    position: fixed;
    top: 40%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    direction: rtl;
    background-color: #F5F5F5;
    /*width: 200px;*/
    max-width: 250px;
    text-align: center;
    padding: 15px;
    z-index: 1000;
    border-radius: 10px;
    color: #0074B6;
    box-shadow: 0 1px 30px #081229;
    /*border: 2px solid #0074B6;*/
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
}

#dialog button {
    border: none;
    outline: none;
    color: #F5F5F5;
    background-color: #1c2830;
    padding: 10px 20px;
    margin: 5px 20px;
    border-radius: 5px;
}

#dialog button:hover {
    cursor: pointer;
    box-shadow: 0 1px 20px #081229;
}

.privacy #fadeInPrivacy:hover {
    cursor: pointer;
}

.privacy p {
    border: 1px solid #1c2830;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
    display: none;
}

/* drop area */
.dropzone {
    position: relative;
    margin: 0 auto;
    width: 92%;
    height: 200px;
    border: 2px dashed #ccc;
    color: #ccc;
    line-height: 300px;
    text-align: center;
}
.dropzone.dragover {
    color: #000;
    border-color: #000;
}

#filesInput {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#dropzoneMessage {
    position: absolute;
    color: #333;
    display: block;
    width: 100%;
    line-height: 200px;
    margin: 0;
    left: 0;
}
.newToyotaCorollaHeader{
    font-size: 42px;
    text-align: center;
}
.newToyotaCorollaSecondaryHeader{
    font-size: 33px;
    text-align: center;
    display: block;
    font-weight: bold;
}

.newToyotaCorollaText{
    display: block;
    font-size: 23px;
    text-align: center;
    margin-bottom: 55px;
}

.privacy-statement, .privacy-statement-white {
    width:100%;
}
.privacy-statement h3, .privacy-statement-white h3{
    width:100%;
    text-decoration: none;
    font-size:1rem;
    cursor:default;
}
.privacy-statement a{
    text-decoration: underline;
    font-weight: 500;
    color:black;
}
.privacy-statement-white a{
    text-decoration: underline;
    font-weight: 500;
    color:white;
}

@media (max-width: 980px) {
    .infoDiv {
        width: 100%;
        margin: 8px 0;
    }
}

@media (max-width: 425px) {
    form .infoDiv.confirmCheck label {
        max-width: 80%;
    }

    #ui-datepicker-div {
        max-width: 90%;
        right: 5%;
    }
}
