@font-face {
    font-family: 'DBHelvethaicaX';
    src: url('/fonts/DBHelvethaicaX-55Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'DBHelvethaicaX';
    src: url('/fonts/DBHelvethaicaX Med.TTF') format('truetype');
    font-weight: bold;
    font-style: normal;
  }
  @font-face {
    font-family: 'Cordia New';
    src: url('/fonts/Cordia New.ttf?') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'Cordia New';
    src: url('/fonts/Cordia New Bold.ttf?') format('truetype');
    font-weight: bold;
    font-style: normal;
  }
  body {
    font-family: 'Cordia New';
    margin: 0;
    padding: 0;
    position: relative;
  }

  header {
    background-color: #000066;
    padding: 15px;
    color: #ffffff;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .logo {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 0 0 17px;
  }

  .logo::before {
    content: '';
    background-image: url('/img/logo_white.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70% auto;
    width: 125px;
    height: 110px;
    margin-right: 10px;
    background-color: #0099FF;
    position: relative;
    top: 0px;
  }

  h1 {
    font-size: 20px;
    margin: 0;
    margin-left: 150px;
    flex-grow: 15;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
  }
  h3 {
    font-size: 20px;
    margin: 0;
    margin-left: 150px;
    flex-grow: 15;
    color: #ffffff;
    text-align: left;
    font-weight: normal;
  }

  main {
    padding: 0px;
  }

  .welcome-content {
    padding: 60px;
    text-align: center;
    background: url('/img/header.png');
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

  .welcome-content h1 {
    font-size: 40px;
    text-align: center;
    margin-left: -20px;
  }

  .welcome-content img {
    max-width: 100%;
    height: auto;
  }

  .registration-form {
    max-width: 1000px;
    margin-left: 5%;
    padding: 20px;
    background-color: #ffffff;
  }

  .registration-form h2 {
    font-size: 29px;
    font-weight: bold;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
    margin-left: 20px;
  }

  .col {
    display: flex;
    justify-content: space-between;

    width: calc(270% - 200px);
    margin-left: 120px;
  }

  .col2 {
    width: calc(270% - 200px);
    margin-left: 120px;
  }

  .col input {
    flex: 1;
    margin-right: 10px;
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 5px;

  }

  .col input:last-child {
    margin-right: 0;
  }

  .col-label {
    font-size: 24px;
    flex-basis: 900px;
    margin-right: 20px;
    text-align: left;
    font-weight: bold;
    color: #333;
  }

  .form-group input {

    padding: 10px;
    box-sizing: border-box;
    background-color: #F2F2F2;

  }

  button {
    padding: 10px 20px;
    background-color: #003399;
    color: white;
    border: none;
    cursor: pointer;
  }

  .required-asterisk {
    color: red;
    margin-left: 5px;
}


  .element-with-borderx {
    border: 2px solid #003399;
    width: 133%;
  }

  .checkbox-group input[type="checkbox"] {
    display: none;
  }

  .checkbox-custom {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #333;
    position: relative;
    top: 2px;
    margin-right: 10px;
  }

  .checkbox-group input[type="checkbox"]:checked + label .checkbox-custom::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #01095F;
  }

  .checkbox-label {
    font-size: 18px;
    color: #333;
    display: flex;
    align-items: center;
  }

  .status-field-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }

  .status-field-group .status-field {
    flex: 1;
    margin-left: 10px;
  }

  .status-field-group .status-message {
    font-size: 21px;

  }

  .checkbox-group {
    display: flex;
    align-items: center;
  }

  .checkbox-group .checkbox-label {
    display: flex;
    align-items: center;
  }

  .checkbox-group .checkbox-label .checkbox-custom {
    margin-right: 5px;
  }

  .note {
    color: red;
    margin-top: -14px;
    margin-left: 20px;
  }

  .note2 {
    color: grey;
    margin-top: -42px;
    margin-left: 390px;
    font-style: italic;

  }
  .note3 {
    color: grey;
    margin-top: -19px;
    margin-left: 390px;
    font-style: italic;

  }

  .col input[type="file"] {
    margin-top: -15px;
  }

  .submit-button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-left: -42px;
  }

  .divider-container {
    width: 100%;
  }

  .divider {
    border: none;
    border-top: 10px solid #000000;
    margin-top: 42px;
    width: 100%;
  }
  .bottom-container {
    display: flex;
    justify-content: space-between;
    margin-top: -10px;
    gap: 0px;
  }


  .contact-info, .map-container {
    flex: 1;
    padding: 0;
    margin: 0;
    color: #ffffff;
    box-sizing: border-box;
  }

  .contact-info {
    padding: 10px 10px;
    color: #ffffff;
    font-size: 19px;
    line-height: 1;
    background: #002F87;
    box-sizing: border-box;
    position: relative;
    z-index: 1;


  }

  .contact-info h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 150px;
  }

  .contact-info p {
    margin-bottom: 20px;
    margin-left: 150px;
  }

  .map-container {
    background: #ddd;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    flex: 1.4;
  }

.join-button {

    padding: 8px 36px;
    margin: 5px 0;
    font-size: 15px;
    background-color: #7CAECC;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease-in-out;
    margin-left: 150px;
  }

  .join-button:hover {
    background-color: #7CAECC;
  }

  .element-with-border {
    border: 1px solid white;
    margin-left: 150px;
    width: 65%;
  }
  footer {
    background-color: #333333;
    padding: 15px;
    color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 1;


  }

  footer p {
    font-size: 23px;

    margin: 0;
  }

.radio-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.radio-group input[type="radio"] {
    display: none;
}

.radio-custom {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #333;
    position: relative;
    top: 2px;
    margin-right: 10px;
}

.radio-group input[type="radio"]:checked + label .radio-custom::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #01095F;
}

.radio-label {
    font-size: 21px;
    color: #333;
    display: flex;
    align-items: center;
    margin-bottom: 1px;
}


@media only screen and (max-width: 600px) {



    .logo::before {
        width: 80px;
        height: 75px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    h3 {
        font-size: 19px;
        margin-left: 99px;
    }

    .welcome-content h1 {
      font-size: 30px;
      margin-left: 15px;

    }

    .registration-form {
      width: 90%;
      margin: 0 auto;
      padding: 15px;
    }

    .registration-form h2 {
      font-size: 24px;
    }

    .row, .col, .col2 {

      margin-left: 0;


    }

    .col input[type="file"] {
        margin-top: -25px;
      }

    .col {
        display: flex;
        justify-content: space-between;


      }


    .col-label {
        font-size: 18px;
        margin-bottom: 10px;
        flex-basis: 100%;
        width: 100%;
      }

    .col input, .col2 input, .form-group input {
      width: 100%;
      margin-bottom: 15px;
    }

    .note2, .note3 {
      margin-left: 0;
      margin-top: 5px;
    }

    .submit-button-container, .bottom-container {
      flex-direction: column;
    }

    .contact-info, .map-container {
        flex: 1;
        padding: 0;
        margin: 0;
        color: #ffffff;
        box-sizing: border-box;
      }

      .contact-info {
        padding: 10px 10px;
        color: #ffffff;
        font-size: 19px;
        line-height: 1;
        background: #002F87;
        box-sizing: border-box;
        position: relative;
        z-index: 1;


      }

    .contact-info h2 {
        font-size: 26px;
        font-weight: bold;
        margin-bottom: 10px;
        margin-left: 80px;
      }

      .contact-info p {
        margin-bottom: 20px;
        margin-left: 80px;
      }

      .map-container {
        background: #ddd;
        box-sizing: border-box;
        position: relative;
        z-index: 1;
        flex: 1;

      }





      .radio-label {
      font-size: 18px;

      }

      .element-with-border {
        border: 1px solid white;
        margin-left: 80px;
        width: 68%;

        }

      .join-button {

        padding: 8px 36px;
        margin: 5px 0;
        font-size: 15px;
        background-color: #7CAECC;
        color: #ffffff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        transition: background-color 0.3s ease-in-out;
        margin-left: 80px;
        margin-bottom: 25px;

      }





    .radio-custom {
        display: inline-block;
        width: 20px;

        border-radius: 50%;
        border: 2px solid #333;
        transition: all 0.3s ease; /* animate the changes */
        position: relative;
        top: 2px;
        margin-right: 15px;
      }

    .radio-custom::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 0;
        height: 0;
        border-radius: 50%;
        background-color: #333;
        transition: all 0.3s ease; /* animate the changes */
      }

    .radio-group input[type="radio"]:checked + label .radio-custom {
        border-color: #01095F;
      }

    .radio-group input[type="radio"]:checked + label .radio-custom::before {
        width: 10px;
        height: 10px;
        background-color: #01095F;
      }

      .element-with-borderx {
        border: 2px solid #003399;
        width: 100%;
      }

      footer p {
        font-size: 18px;
      }

  }



  @media only screen and (min-width: 601px) and (max-width: 1024px) {

    .logo::before {
        width: 100px;
        height: 95px;
    }

    header {
        flex-direction: row;
        align-items: center;
    }

    h3 {
        font-size: 29px;
        margin-left: 125px;
    }

    .welcome-content h1 {
      font-size: 43px;

    }

    .registration-form {
      width: 95%;
      margin: 0 auto;
      padding: 20px;
    }

    .registration-form h2 {
      font-size: 28px;
    }

    .row, .col, .col2 {
      margin-left: 15px;
    }



    .col {
        display: flex;
        justify-content: space-between;
    }

    .col-label {
        font-size: 20px;
        margin-bottom: 15px;
        flex-basis: 100%;
        width: 100%;
    }

    .col input, .col2 input, .form-group input {
      width: 100%;
      margin-bottom: 20px;
    }

    .note2, .note3 {
      margin-left: 275px;
      margin-top: -39px;
    }



    .contact-info {
        padding: 15px 15px;
        font-size: 22px;
    }

    .contact-info h2 {
        font-size: 30px;
        font-weight: bold;
        margin-bottom: 15px;
        margin-left: 86px;
    }

    .contact-info p {
        margin-bottom: 25px;
        margin-left: 86px;
    }


    .radio-label {
      font-size: 20px;
    }

    .element-with-border {
        border: 1px solid white;
        margin-left: 86px;
        width: 68%;
    }

    .join-button {
        padding: 10px 40px;
        margin: 10px 0;
        font-size: 18px;
        background-color: #7CAECC;
        color: #ffffff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        transition: background-color 0.3s ease-in-out;
        margin-left: 86px;
        margin-bottom: 30px;
    }

    .radio-custom {
        display: inline-block;

        border-radius: 50%;
        border: 2px solid #333;
        transition: all 0.3s ease;
        position: relative;
        top: 3px;
        margin-right: 15px;
    }

    .radio-custom::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 0;
        height: 0;
        border-radius: 50%;
        background-color: #333;
        transition: all 0.3s ease;
    }

    .radio-group input[type="radio"]:checked + label .radio-custom {
        border-color: #01095F;
    }

    .radio-group input[type="radio"]:checked + label .radio-custom::before {
        width: 11px;
        height: 11px;
        background-color: #01095F;
    }

    .element-with-borderx {
        border: 2px solid #003399;
        width: 100%;
    }

    footer p {
        font-size: 20px;
    }

    .note {
        color: red;
        margin-top: -25px;
        margin-left: 7px;
      }

      .status-field-group {
        display: flex;
        align-items: center;
        margin-bottom: 20px;

      }


      .radio-group {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .status-field-group .status-field {
        flex: 1;
        margin-left: 25px;
      }

}
