body {
    background-image: url('goLocalBackground.png');
    overflow-y: scroll;
    margin: 0 auto;
    font-family: 'Gotham', sans-serif;
    font-family: 'Jost', sans-serif;
    font-family: 'Gotham Black', sans-serif;
    font-family: 'Gotham Light', sans-serif;
    font-family: 'Gotham Thin', sans-serif;
    font-family: 'Gotham XLight', sans-serif;
    font-family: 'Carnero', sans-serif;
    font-family: 'Gotham Book', sans-serif;
    font-family: 'Gotham Ultra', sans-serif;
}

#card0{
    background-color: transparent;
    width: 75%;
    align-content: left;
    margin-left: 12.5%;
    border-color: transparent;
    margin-top: 1%;
    margin-bottom: 1%;
}

#card1{
    width: 75%;
    height: 110%;
    background-color: white;
    align-content: center;
    margin-left: 12.5%;
}

#card2{
    width: 75%;
    height: 10%;
    border-color: transparent;
    margin-left: 12.5%;
}

.square{
    height: 100%;
    width: 100%;
    background-color: red;
    border-color: transparent;
}

h5,h6 {
    font-family: 'Gotham', sans-serif;
}

h5 {
    color: darkblue;
}

h6 {
    color: grey;
}

p {
    font-family: 'Gotham', sans-serif;
    color: darkblue;
}


.dataInput {
    height: 42px;
    padding: 4px;
    border-style: solid;
    border-width: 1px;
    border-color: gray;
    border-radius: 5px;
}

#divPersonalDataHeader,#divResidenceHeader,
#divCharacteristicsHeader,#divRateHeader,#divFilesHeader{
    width: 75%;
    display: flex;
    flex-direction: row;
    font-family: 'Gotham', sans-serif;
    color:darkblue;
    margin-top: 4px;
    margin-top: 10px;
}

#cardbasicData1 {
    width: 75%;
    display: flex;
    flex-direction: row;
    font-family: 'Gotham', sans-serif;
}

#cardbasicData1 .data1 {
    flex: 1 1 33.33%;
    /* Each input occupies 33.33% of the container width */
    margin: 5px;
}

#cardbasicData2 {
    width: 78%;
    display: flex;
    flex-direction: row;
    font-family: 'Gotham', sans-serif;
}

#cardbasicData2 .divData2 {
    flex: 1 1 33.33%;
    /* Each div occupies 33.33% of the container width */
    margin: 5px;
}


#cardbasicData3 {
    width: 75%;
    display: flex;
    flex-direction: row;
    font-family: 'Gotham', sans-serif;
}

#cardbasicData3 .data3 {
    flex: 1 1 33.33%;
    /* Each field occupies 25% of the container width */
    margin: 5px;
}

#cardbasicDataZipCode {
    width: 75%;
    display: flex;
    flex-direction: row;
    font-family: 'Gotham', sans-serif;
}

#personZipCode{
    flex: 0 0 32%;
    margin: 5px;

}


#divLabelsHeightWeight{
    width: 75%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-family: 'Gotham', sans-serif;
}

#divLabelsHeightWeight #labelPersonHeight{
    flex: 1 1 33.33%;
    margin: 5px;
}

#divLabelsHeightWeight #labelPersonWeight{
    flex: 1 1 66.66%;
    margin: 5px;
}


#cardbasicData4 {
    width: 75%;
    display: flex;
    flex-direction: row;
    font-family: 'Gotham', sans-serif;
}

#cardbasicData4 .data4 {
    flex: 0 0 25%;
    margin: 5px;
}

#personHeightFeet, #personHeightInches{
    flex: 0 0 25%;
    ;
    max-width: 15.1%;
}

#personWeightLb{

    min-width: 32%;
    max-width: 32%;
}

#selectPersonEyesColor{

    min-width: 32%;
    max-width: 32%;
}

#cardbasicData5 {
    width: 75%;
    display: flex;
    flex-direction: row;
    font-family: 'Gotham', sans-serif;
}

#cardbasicData5 .data5 {
    flex: 1 1 33.33%;
    margin: 5px;
}

#cardbasicData6 {
    width: 75%;
    display: flex;
    flex-direction: row;
    font-family: 'Gotham', sans-serif;
}

#cardbasicData6 .data6 {
    flex: 1 1 33%;
    margin: 5px;
}

#cardbasicData7 {
    width: 75%;
    display: flex;
    flex-direction: row;
    font-family: 'Gotham', sans-serif;
}

#cardbasicData7 .data7 {
    flex: 1 1 33%;
    margin: 5px;
}

#cardbasicData8 {
    width: 75%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    font-family: 'Gotham', sans-serif;
}

#cardbasicData8 .data8 {
    flex: 0 0 25%;
    margin: 5px;
    text-align: left;
    vertical-align: middle;
}

#cardbasicData9 {
    width: 75%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-family: 'Gotham', sans-serif;
}

#cardbasicData9 .divData9 {
    width: 49%;
    height: 100px;
    flex: 0 0 49%;
    flex-direction: column;
    margin: 5px;
}

/*
.fileInput {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}
*/ 

#cardbasicData9 .divData9 label{
    display: flex;
    align-self: flex-start;
    margin-left: 0;
}

#cardbasicData9 .divData9 label {
    align-self: flex-start;
  }

#cardbasicData9 .divData9 input {
    align-self: stretch;
}


/**********************************************************
***********************************************************
    Adjust style to mobile devices 
***********************************************************
**********************************************************/


@media (max-width: 767px) {

    #card0{
        background-color: transparent;
        width: 100%;
        align-content: center;
        border-color: transparent;
        margin-top: 2%;
        margin-bottom: 1%;
    }

    #card1{
        width: 100%;
        background-color: white;
        align-content: center;
    }

    #cardbasicData1 {
        flex-direction: column;
        flex: 1 1 90%;
        align-items: center;
    }

    .data1 {
        width: 90%;
    }

    /**********************************************************
    Special style for email (div son of cardbasicData2 div)
    **********************************************************/
    #cardbasicData2 {
        flex-direction: column;
        flex: 1 1 90%;
        align-items: center;
    }

    #cardbasicData2email {
        flex-direction: column;
        flex: 1 1 50%;
        align-items: center;
    }

    #personEmail {
        width: 90%;
    }

    #cardbasicData2phone {
        flex-direction: column;
        flex: 1 1 50%;
        align-items: center;
    }

    #personPhone {
        width: 90%;
    }

    /**********************************************************
    Special style (2 columns) for birthdate and its label
    (div son of cardbasicData2 div)
    **********************************************************/

    #cardbasicData2birthdate {
        flex-direction: row;
        flex: 1 1 50%;
        align-items: center;
    }

    #personDateBirthLabel {
        flex: 1;
        width: 40%;
    }

    #personDateBirth {
        flex: 1;
        width: 40%;
    }

    #cardbasicData3 {
        flex-direction: column;
        flex: 1 1 90%;
        align-items: center;
    }

    .data3 {
        width: 90%;
    }

    #cardbasicData4 {
        flex-direction: column;
        flex: 1 1 90%;
        align-items: center;
    }

    .data4 {
        width: 90%;
    }

    #cardbasicData5 {
        flex-direction: column;
        flex: 1 1 90%;
        align-items: center;
    }

    .data5 {
        width: 90%;
    }

    #cardbasicData6 {
        flex-direction: column;
        flex: 1 1 90%;
        align-items: center;
    }

    .data6 {
        width: 90%;
    }

    #cardbasicData7 {
        flex-direction: column;
        flex: 1 1 90%;
        align-items: center;
    }

    .data7 {
        width: 90%;
    }

    /**********************************************************
    Special style (2 columns) for rate and its label
    **********************************************************/
    #cardbasicData8 {
        flex-direction: row;
        flex: 1 1 90%;
        align-items: left;
    }

    .data8 {
        flex: 1
    }

    .labelRate {
        width: 40%;
    }

    .inputRate {
        width: 40%;
    }



}

/*
.invalid {
    border: 1px solid rgba(255, 255, 255, 0.758);
    background-color: aliceblue;
}

.valid {
    border: 1px solid rgba(255, 255, 255, 0.758);
    background-color: aliceblue;
}
*/

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 20px;
    font-size: 12px;
    background-color: darkblue;
    color: white;
    text-align: center;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(30, 3.333%);
    grid-template-rows: repeat(30, 7.692%);
    gap: 10px;
}

.phone::-webkit-outer-spin-button,
.phone::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
}

.phone[type=number] {
    -moz-appearance: textfield;
    /* Firefox */
}


.selectInput {
    height: 42px;
    padding: 0px;
    border-radius: 5px;
}


.selectBox:after {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #FF4032;
    position: absolute;
    top: 40%;
    right: 5px;
    content: "";
    z-index: 98;
}


.mainTitle {
    display: grid;
    grid-column-start: 2;
    grid-column-end: 25;
    grid-row-start: 1;
    grid-row-end: 1;
    color:#FF4032;
    font-family: Arial;
    height: 100%;
}

.brandName {
    color: white;
    background-color: #FF4032;
    font-family: Arial;
    height: 100%;
}


.pageName {

    color: white;
    background-color: black;
    font-family: Arial;
    height: 100%;
}


#btnCreateCandidate {
    width: 80px;
    height: 29px;
    padding: 0 0 0 0;
    margin-top: -4px;
}


.heightInput {
    height: 26px;
}

.labelMax {
    margin-left: 10px;
}

.weightInput {
    height: 26px;
}

#ssn {
    background-color: white;
}

#dln {
    background-color: white;
}

/**********************************************************
    Special style for Birthdate input and label
**********************************************************/
/*
.birthdate-container {
    position: relative;
    display: inline-block;
}

.birthdate-container label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #999;
}

.birthdate-container input {
    padding-left: 40px;
}
*/


#selectPersonState::after {
    color: #FF4032;
    /*background-color: grey;*/
}


#buttonSavePerson {
    background-color: #FF4032 ;
    font-family: 'Gotham', sans-serif;
    margin-top: 3px;
    margin-bottom: 10px;
}

#exampleModalMessageLabel, #lblMessageMessageModal, #btnCloseModalOKMessage {
    font-family: 'Gotham', sans-serif;
}



/* Custom select container running on july 21st */
/* .custom-select {
    position: relative;
    display: inline-block;
    background-color: #f2f2f2;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    width: 200px; 
}
    Hide the options by default 
  .options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    background-color: #f2f2f2;
    width: 100%;
    border-radius: 4px;
  }
  
  Styling for the selected text 
  .selected-option {
    display: inline-block;
  }
  
  Styling for the dropdown arrow 
  .arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(0%) rotate(0deg);
    color: #FF4032; 
    cursor: pointer;
    transition: transform 0.2s ease-in-out; 
  }
  
  .custom-select.select-open .options {
    display: block;
  }
  */

  /* Custom select container */
.custom-select {
    position: relative;
    display: inline-block;
    /* Add a background color and padding to create the appearance of the select box */
    background-color: #f2f2f2;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    width: 200px; /* Set your desired fixed width here */
  }
  
  /* Hide the options by default */
  .options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    background-color: #f2f2f2;
    border-radius: 4px;
  }

  .option {
    display: block;
    max-width: calc(100% - 30px); /*Subtract space for the arrow from the max width */
    overflow: hidden;
    white-space: nowrap; /* Prevent text wrapping */
    text-overflow: ellipsis; /* Add ellipsis (...) when the text overflows */
  }
  
  /* Styling for the selected text */
  .selected-option {
    display: inline-block;
    max-width: calc(100% - 30px); /*Subtract space for the arrow from the max width */
    overflow: hidden;
    white-space: nowrap; /* Prevent text wrapping */
    text-overflow: ellipsis; /* Add ellipsis (...) when the text overflows */
  }
  
  /* Styling for the dropdown arrow */
  .arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    color: #000; /* Change this color to your desired arrow color */
    cursor: pointer;
  }
  
  /* Show the options when the custom select is open */
  .custom-select.select-open .options {
    display: block;
    width: 100%; /* Adjust the width to match the custom select container */
  }
  