

/* 1a. Containers */






/* 1b. Colors */




/* 1c. Typography */




/* Primary | Secondary */



/* Anchors */



/* Blockquote */





/* H1 */








/* H2 */





/* H3 */





/* H4 */





/* H5 */





/* H6 */





/* 1d. Buttons */

/* Primary Button */




  








/* Secondary Button */













/* Tertiary Button */





  









/* Quaternary Button */













/* 1e. Forms */

/* Form Title */








/* Form Labels */




/* Form Required */





/* Form Required * */


/* Form Inputs */









/* Form Radio Button */


/* Form Consent */







/* Form Submit Button Default */








/* Form Submit Button Hover */




/* Form Submit Button Responsive */



/* Form Submit Thank You MSG */





/* 1f. Tables */









/* Custom Bullet Points */







.content-wrapper {
  max-width: 1440px;
}

.dnd-section,
.content-wrapper--vertical-spacing {
  padding: 0px 0px;
}

@media (max-width: 477px){
  .dnd-section,
  .content-wrapper--vertical-spacing {
    padding: 50px 15px;
  }
}

.dnd-section > .row-fluid {
  max-width: 1440px;
}





html,
body{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: #ffffff;
}
html[lang="th"] :is(main, main p, main li) {
  font-family: 'leelawad' !important;
}

html[lang="th"] main a {
  font-family: 'leelawad' !important;
}

html[lang="th"] main blockquote {
  font-family: 'leelawad' !important;
}

html[lang="th"] main h1 {
  font-family: 'leelawad' !important;
}

html[lang="th"] main h2 {
  font-family: 'leelawad' !important;
}

html[lang="th"] main h3 {
  font-family: 'leelawad' !important;
}

html[lang="th"] main h4 {
  font-family: 'leelawad' !important;
}

html[lang="th"] main h5 {
  font-family: 'leelawad' !important;
}

html[lang="th"] main h6 {
  font-family: 'leelawad' !important;
}

/* Body | P | LI - Font Style/Color */
:is(main, main p, main li){
  font-weight: 400; font-family: AlrightSans;
  color: #212F37; 
  
font-size: clamp(16px, calc(1.125rem + (18 - 16) * ((100vw - 425px) / (1920 - 425))), 18px);

}

/* Anchors */
main a {
  text-decoration: none; font-family: AlrightSans;
  color: #212f37;
  outline: none;
  font-size: inherit;

  &:hover,
  &:focus,
  &:active{
    color: #D31145;
  }
}

/* Blockquote */
main blockquote {
  font-weight: 400; font-family: AlrightSans;
  color: #212F37;
  border-left-color: #000000;
  
font-size: clamp(16px, calc(1.125rem + (20 - 16) * ((100vw - 425px) / (1920 - 425))), 20px);

}

/* Headings */
main h1 {
  font-weight: 700; font-family: AlrightSans-Bold; text-decoration: none;
  color: #212F37;
  text-transform: none;
  
font-size: clamp(56px, calc(1.125rem + (86 - 56) * ((100vw - 425px) / (1920 - 425))), 86px);

}

main h2 {
  font-weight: 700; font-family: AlrightSans-Bold; text-decoration: none;
  color: #212F37;
  text-transform: none;
  
font-size: clamp(40px, calc(1.125rem + (55 - 40) * ((100vw - 425px) / (1920 - 425))), 55px);

}

main h3 {
  font-weight: 700; font-family: AlrightSans-Bold; text-decoration: none;
  color: #212F37;
  text-transform: none;
  
font-size: clamp(32px, calc(1.125rem + (44 - 32) * ((100vw - 425px) / (1920 - 425))), 44px);

}

main h4 {
  font-weight: 700; font-family: AlrightSans-Bold; text-decoration: none;
  color: #212F37;
  text-transform: none;
  
font-size: clamp(28px, calc(1.125rem + (35 - 28) * ((100vw - 425px) / (1920 - 425))), 35px);

}

main h5 {
  font-weight: 700; font-family: AlrightSans-Bold; text-decoration: none;
  color: #212F37;
  text-transform: none;
  
font-size: clamp(24px, calc(1.125rem + (28 - 24) * ((100vw - 425px) / (1920 - 425))), 28px);

}

main h6 {
  font-weight: 700; font-family: AlrightSans-Bold; text-decoration: none;
  color: #212F37;
  text-transform: none;
  
font-size: clamp(22px, calc(1.125rem + (23 - 22) * ((100vw - 425px) / (1920 - 425))), 23px);

}

/* Bullet Points */

main ul li::marker {
  color: #BA0C2F;
  
font-size: clamp(14px, calc(1.125rem + (17 - 14) * ((100vw - 425px) / (1920 - 425))), 17px);

}




@font-face {
  font-family: 'leelawad';
  src: url('https://48426563.fs1.hubspotusercontent-na1.net/hubfs/48426563/Richs%20Brand_Fonts/TH_Fonts/leelawad.ttf') format('opentype');
}


html[lang="th"] .button {
  font-family: 'leelawad' !important;
}

html[lang="th"] .secondary-button {
  font-family: 'leelawad' !important;
}

html[lang="th"] .secondary-v2-button {
  font-family: 'leelawad' !important;
}

html[lang="th"] .tertiary-button {
  font-family: 'leelawad' !important;
}

html[lang="th"] .quaternary-button {
  font-family: 'leelawad' !important;
}
/* Primary Button */

.button {
  font-weight: 700; font-family: AlrightSans-Bold;
  color: #FFFFFF;
  
font-size: clamp(14px, calc(1.125rem + (20 - 14) * ((100vw - 425px) / (1920 - 425))), 20px);

  background: #D31145;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  display: flex;
  align-items: center;
  text-transform: none;
  border: 2px solid #D31145;
;
  padding-top: 14px;
padding-right: 12px;
padding-bottom: 14px;
padding-left: 12px;
;
  width: 100%;
  transition: all .3s ease-in-out;

  &:hover,
  &:focus,
  &:active {
    position: relative;
    color: #FFFFFF;
    background: #D31145;
    border-color: #D31145;
    padding-right: 20px; /* Add padding to accommodate the icon */
  }

  &:hover:after {
    font-family: 'Font Awesome 5 Pro';
    content: '\f061';
    color: #fff;
    font-size: inherit;
    font-weight: 300;
    margin-left: 10px;
    transition: all .3s ease-in-out;
  }

  @media (min-width: 767px) {
    padding: 14px;
;
    width: auto;
  }
}

/* Secondary Button */
.secondary-button {
  font-weight: 700; font-family: AlrightSans-Bold;
  color: #ba0c2f;
  
font-size: clamp(14px, calc(1.125rem + (20 - 14) * ((100vw - 425px) / (1920 - 425))), 20px);

  background: transparent;
  border-radius: 4px;
  text-transform: none;
  border: 2px solid #d31145;
;
  padding-top: 10px;
padding-right: 15px;
padding-bottom: 10px;
padding-left: 15px;
;
  width: 100%;

  &:hover,
  &:focus,
  &:active {
    color: #FFFFFF;
    background: #D31145;
    border-color: #D31145;
  }


  @media (min-width: 767px) {
    padding: 14px;
;
    width: auto;
  }
}

/* Secondary Button */
.secondary-v2-button {
  font-weight: 700; font-family: AlrightSans-Bold;
  color: #fff;

  
font-size: clamp(14px, calc(1.125rem + (20 - 14) * ((100vw - 425px) / (1920 - 425))), 20px);

  background: transparent;
  border-radius: 4px;
  text-transform: none;
  border: 2px solid #fff;
  padding-top: 10px;
padding-right: 15px;
padding-bottom: 10px;
padding-left: 15px;
;
  width: 100%;

  &:hover,
  &:focus,
  &:active {
    color:#D31145;
    background: #fff;
    border: 2px solid #fff;
  }


  @media (min-width: 767px) {
    padding: 14px;
;
    width: auto;
  }
}

/* Tertiary Button */
.tertiary-button {
  font-weight: 700; font-family: AlrightSans-Bold;
  color: #212f37;
  
font-size: clamp(16px, calc(1.125rem + (20 - 16) * ((100vw - 425px) / (1920 - 425))), 20px);

  background: rgba(66, 91, 118, 0.0);
  padding: 0 !important;
  border-radius: 6px;
  text-transform: none;
  border: 2px solid rgba(255, 255, 255, 0%);
;
  padding-top: 10px;
padding-right: 15px;
padding-bottom: 10px;
padding-left: 15px;
;
  width: 100%;

  &:hover,
  &:focus,
  &:active {
    color: #212f37;
    background: rgba(#null, 0.0);
    border-color: transparent !important;
  }
  &:after {
    font-family: 'Font Awesome 5 Pro';
    content: '\f061';
    color: #212F37;
    font-size: inherit;
    font-weight: 300;
    margin-left: 10px;
    transition: all .3s ease-in-out;
  }

  @media (min-width: 767px) {
    padding-top: 15px;
padding-right: 35px;
padding-bottom: 15px;
padding-left: 35px;
;
    width: auto;
  }
}

/* Quaternary Button */
.quaternary-button {
  ;
  color: ;
  
font-size: clamp(px, calc(1.125rem + ( - ) * ((100vw - 425px) / (1920 - 425))), px);

  background: ;
  text-transform: ;
  ;

  &:after {
    font-family: 'Font Awesome 5 Pro';
    content: '\';
    color: ;
    font-size: inherit;
    font-weight: 300;
    margin-left: 10px;
    transition: all .3s ease-in-out;
  }

  &:hover,
  &:focus,
  &:active {
    color: ;
    background: ;

    &:after {
      color: ;
      margin-left: 15px;     
    }
  }

  @media (min-width: 767px) {
    ;
  }
}




form {
  font-weight: 400; font-family: AlrightSans;
}

/* Form title */
.form-title {
  text-decoration: none; font-family: AlrightSans-Bold;
  color: #425b76;
  text-transform: none;
  
font-size: clamp(16px, calc(1.125rem + (20 - 16) * ((100vw - 425px) / (1920 - 425))), 20px);

  text-align: left;

  @media (min-width: 767px) {
    text-align: left;
  }
  @media (min-width: 990px) {
    text-align: left;
  }
}

/* Labels */
form label,
form label span {
  color: #BA0C2F;
  
font-size: clamp(16px, calc(1.125rem + (20 - 16) * ((100vw - 425px) / (1920 - 425))), 20px);

}

/* Help text */
form legend {
  color: #425b76;
}

/* Error MSG */
form .hs-error-msg,
form .hs-error-msgs label {
  color: #425b76;
  
font-size: clamp(12px, calc(1.125rem + (14 - 12) * ((100vw - 425px) / (1920 - 425))), 14px);

}

form .hs-input.invalid.error {
  border-color: #425b76;
}

/* Inputs */
form input[type=text],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form input[type="date"],
form select,
form textarea {
  border: 2px solid #D1D6DC;

  background-color: 

  
  
    
  

  rgba(255, 255, 255, 1.0)

;
  color: #425b76;
  
font-size: clamp(16px, calc(1.125rem + (18 - 16) * ((100vw - 425px) / (1920 - 425))), 18px);

  border-radius: 3px;
}

/* Select list Radio */
form input[type=radio] {
  accent-color: #425b76;
}

/* Form placeholder text */
::-webkit-input-placeholder {
  color: #425b76;
}

::-moz-placeholder {
  color: #425b76;
}

:-ms-input-placeholder {
  color: #425b76;
}

::placeholder {
  color: #425b76;
}

/* Field Disabled */


/* Inputs - date picker */
.hs-fieldtype-date .input .hs-dateinput:before {
  color: #425b76;
}

.fn-date-picker td.is-selected .pika-button {
  background: #212F37;
}

.fn-date-picker td .pika-button:hover {
  background-color: #212F37 !important;
}

.fn-date-picker td.is-today .pika-button {
  color: #212F37;
}

/* Required * */
form .hs-form-required {
  color: #425b76;
}

/* Consent Comms */
form .hs-richtext,
form .hs-richtext p,
form .legal-consent-container .hs-form-booleancheckbox-display>span,
form .legal-consent-container .hs-form-booleancheckbox-display>span p {
  text-decoration: none; font-family: AlrightSans-Bold;
  
font-size: clamp(12px, calc(1.125rem + (14 - 12) * ((100vw - 425px) / (1920 - 425))), 14px);

 color: #212F37 !important;
  text-transform: none;
}

form .hs-richtext a,
form .hs-richtext p a {
  font-size: inherit;
  text-transform: inherit;
  color: #425b76;

  &:hover {
    color: #425b76;    
  }
}

/* Submit button */
form input[type=submit],
form .hs-button {
  font-family: AlrightSans-Bold;
  margin: 0!important;
  color:#fff !important;
  
font-size: clamp(16px, calc(1.125rem + (20 - 16) * ((100vw - 425px) / (1920 - 425))), 20px);

  background: #212F37;
  border-radius: 6px;
  text-transform: none;
  border: 1px solid #D31145;
;
  padding-top: 10px;
padding-right: 15px;
padding-bottom: 10px;
padding-left: 15px;


  &:hover,
  &:focus,
  &:active {
    color:#fff;
    border-color:#fff;;
    background: #212F37; 
    outline: none;
  }

  @media (min-width: 767px) {
    padding-top: 15px;
padding-right: 35px;
padding-bottom: 15px;
padding-left: 35px;

  }
}

.submitted-message,
.submitted-message p {
  text-decoration: none; font-family: AlrightSans-Bold;
  
font-size: clamp(16px, calc(1.125rem + (20 - 16) * ((100vw - 425px) / (1920 - 425))), 20px);

  text-transform: none;
  color: #425b76; 
  text-align: center; 
}
.hd-modal .modal-content{
  background: #fff;
}

.hd-modal .modal-header{
  border-bottom: 0px solid #e9ecef;
  padding: 7px 10px 5px 5px;
  display: inline-block;
  text-align: right;
}

.hd-modal .close{
  color: #1a2538;
  opacity: 1; 
  padding: 0px 5px;
  background: transparent;
  border: none;
  outline: 0;
  transition: all .3s ease-in-out;
}

.hd-modal .close span{
  font-size: 24px;
}

.hd-modal .close:hover, 
.hd-modal .close:focus{
  background: transparent;
  outline: none;
  border-color: transparent;
  color: #ff4d56;
}

.hd-modal .modal-body{
  padding: 0 16px 16px 16px;
}

.hd-modal .hs_recaptcha{
  float: none;
  width: 100%;
}

.hd-modal .actions{
  text-align: center;
}

.hd-modal .meetings-iframe-container iframe{
  max-height: 655px!important;
}

@media (min-width: 576px){
  .hd-modal .modal-dialog {
    max-width: 750px;
  }
}


/* Table */

table {
  border: 1px solid #425b76;

  background-color: 

  
  
    
  

  rgba(255, 255, 255, 1.0)

;
}

/* Table cells */

td,
th {
  border: 1px solid #425b76;

  padding: 18px;

  color: #425b76;
}

/* Table header */

thead th {
  background-color: 

  
  
    
  

  rgba(33, 47, 55, 1.0)

;
  color: #FFFFFF;
}

/* Table footer */

tfoot td {
  background-color: 

  
  
    
  

  rgba(255, 255, 255, 1.0)

;
  color: #425b76;
}