@font-face {
    font-family: Kanit-SemiBold;
    src: url("/assets/font/Kanit-SemiBold.ttf");
}

@font-face {
    font-family: Kanit-Medium;
    src: url("/assets/font/Kanit-Medium.ttf");
}

@font-face {
    font-family: Kanit-Light;
    src: url("/assets/font/Kanit-Light.ttf");
}

@font-face {
    font-family: AvenirNext-Bold;
    src: url("/assets/font/AvenirNext-Bold.ttf");
}

@font-face {
    font-family: AvenirNext-DemiBold;
    src: url("/assets/font/AvenirNext-DemiBold.ttf");
}

@font-face {
    font-family: AvenirNext-Medium;
    src: url("/assets/font/AvenirNext-Medium.ttf");
}

@font-face {
    font-family: AvenirNext-Regular;
    src: url("/assets/font/AvenirNext-Regular.ttf");
}

#sampleProfileImage, #sampleProofID, #sampleProofCriminal {
    display: block;

    /* This rule is very important, please don't ignore this */
    max-width: 100%;
}

body {
    background-color: #EEF3FE;
    margin: 0 auto;
    padding: 0;
    /* color: #0070B9;
    font-family: AvenirNext-Regular, 'Verdana'; */
    
}

.header {
    max-width: 500px;
}

.container {
    margin: 0 auto;
}

.wrapper {
    border-radius:20px;
}

.responsive {
    width: 100%;
    height: auto;
}

.title-container {
    border-radius:10px;
    background: #0070B9;
    color: #ffffff;
    padding:15px;
}

.title-eng {
    font-family: AvenirNext-Bold, 'Verdana';
    text-transform: uppercase;
}

.title-thai {
    font-family: Kanit-SemiBold, 'Verdana';
}

.subtitle-eng {
    font-family: AvenirNext-DemiBold, 'Verdana';
}

.subtitle-thai {
    font-family: Kanit-Medium, 'Verdana';
}

.text-eng {
    font-family: AvenirNext-Regular, 'Verdana';
}

.text-thai {
    font-family: Kanit-Light, 'Verdana';
}

.pdpa-message {
    border-radius: 10px;
    padding:15px 15px 5px 15px;
    border: solid 1px #FFC907;
    color: #0070B9;
}

label, .preview-label {
    font-family: AvenirNext-DemiBold, 'Verdana';
    color: #0070B9;
}

input, select, small {
    font-family: AvenirNext-Medium, 'Verdana';
}


h5 {
    font-size: 16px;
    margin-bottom: 0px;
}

h4, .h4 {
    font-size: 18px;
    margin-bottom: 0px;
}

h3 {
    font-size: 25px;
    margin-bottom: 0px;
    color: #0070B9;
}

h3 > .title-eng {
    font-size: 22px;
}

h3.title-eng {
    font-size: 22px;
}

h2.title-thai { font-size: 35px; }
h2.title-eng  { font-size: 28px; }
h4.title-thai { font-size: 18px; }
h4.title-eng  { font-size: 15px; }


input[type="checkbox"], input[type="radio"]  {
    width: 18px;
    height: 18px;
}

.upload-image {
    border: dashed 2px #FFC907;
    border-radius: 10px;
    padding: 50px 20px;
    cursor: pointer;
}

a:hover, button:hover {
    text-decoration: none;
    color: none;
}

.btn-image, .btn-image:hover {
    background-color: #0070B9;
    color:white !important;
}

.btn-submit, .btn-submit:hover {
    background-color: #0070B9;
    color:white !important;
    font-family: AvenirNext-DemiBold, 'Verdana';
    border-radius: 10px;
}

/* AUTOCOMPLETE  */
/* Overwrite container height and width */
.select2-container .select2-selection--single {
  height: 40px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  /* border-radius: 25px !important; */
  border-color: #ced4da !important;
}

/* Text inside select box */
.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 38px !important;
  padding-left: 20px !important;
}

/* Typed inside select box */
.select2-search__field {
  padding-left: 10px !important;
}


/* Dropdown arrow */
.select2-container .select2-selection--single .select2-selection__arrow {
  height: 38px !important;
  top: 0 !important;
}
/* AUTOCOMPLETE  */

/* Datepicker */
.daterangepicker {
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(0,112,185,0.15) !important;
    border: 1px solid #d0e4f5 !important;
    font-family: AvenirNext-Medium, 'Verdana';
    min-width: 300px !important;
}
.daterangepicker .calendar-table {
    border-radius: 10px !important;
    padding: 6px !important;
}
.daterangepicker th.month {
    font-family: AvenirNext-DemiBold, 'Verdana';
    color: #0070B9 !important;
    font-size: 15px !important;
    font-weight: 600;
    padding: 6px 4px;
    text-align: center;
    white-space: nowrap;
}
.daterangepicker td,
.daterangepicker th {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 14px;
}
.daterangepicker td.available:hover,
.daterangepicker th.available:hover {
    background: #0070B9 !important;
    color: #fff !important;
    border-radius: 8px !important;
}
/* Hovered end-date preview: blend with the range bar */
.daterangepicker td.in-range + td.available:hover,
.daterangepicker td.active.start-date + td.available:hover {
    border-radius: 0 8px 8px 0 !important;
}
.daterangepicker td.active,
.daterangepicker td.active:hover {
    background: #0070B9 !important;
    color: #fff !important;
    border-radius: 8px !important;
}
.daterangepicker td.in-range {
    background: #0070B9 !important;
    color: #fff !important;
    border-radius: 0 !important;
}
.daterangepicker td.start-date {
    border-radius: 8px 0 0 8px !important;
}
.daterangepicker td.end-date {
    border-radius: 0 8px 8px 0 !important;
}
.daterangepicker td.start-date.end-date {
    border-radius: 8px !important;
}
.daterangepicker td.today {
    font-weight: bold;
    color: #FFC907 !important;
}
.daterangepicker td.off {
    color: #ccc !important;
}
.daterangepicker .week-day {
    color: #888 !important;
    font-size: 12px;
    font-family: AvenirNext-DemiBold, 'Verdana';
}
.daterangepicker .drp-buttons {
    border-top: 1px solid #d0e4f5 !important;
}
.daterangepicker .btn-primary {
    background-color: #0070B9 !important;
    border-color: #0070B9 !important;
    border-radius: 8px;
}
.daterangepicker .btn-default {
    border-radius: 8px;
}

#date_range:hover {
    cursor: pointer;
}

#date_range, #dob_display_passport, #dob_display_thai {
    background: #f8f8f8;
    color: #888;
}

/* Datepicker – modern month/year selects */
.daterangepicker select.monthselect,
.daterangepicker select.yearselect {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
    padding: 5px 24px 5px 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16'%3E%3Cpath fill='%23666' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 7px center !important;
    cursor: pointer !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    display: inline-block !important;
    vertical-align: middle !important;
}
.daterangepicker select.monthselect:focus,
.daterangepicker select.yearselect:focus {
    border-color: #c58000 !important;
    outline: 0;
    box-shadow: 0 0 0 0.15rem rgba(197,128,0,.2) !important;
}
.daterangepicker select.monthselect { width: auto !important; min-width: 110px !important; }
.daterangepicker select.yearselect  { width: auto !important; min-width: 80px !important; }


/* Preview Page */
.preview-label {
    /* font-family: AvenirNext-DemiBold, 'Verdana'; */
    color: #0070B9;
    font-size: 14px;
    margin-bottom: 2px;
}
.preview-value {
    /* font-family: AvenirNext-Medium, 'Verdana'; */
    font-size: 15px;
    color: #333;
    margin-bottom: 0;
}
.preview-row {
    padding: 10px 0;
    border-bottom: 1px solid #f0f4fb;
}
.preview-row:last-child {
    border-bottom: none;
}
.preview-photo {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #d0e4f5;
    object-fit: cover;
}
.preview-photo-id {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #d0e4f5;
}
.btn-back {
    background-color: #fff;
    color: #0070B9;
    border: 2px solid #0070B9;
    border-radius: 10px;
    /* font-family: AvenirNext-DemiBold, 'Verdana'; */
}
.btn-back:hover {
    background-color: #EEF3FE;
    color: #0070B9;
}
.btn-confirm {
    background-color: #0070B9;
    color: #fff;
    border-radius: 10px;
    /* font-family: AvenirNext-DemiBold, 'Verdana'; */
}
.btn-confirm:hover {
    background-color: #005a94;
    color: #fff;
}
.notice-note {
    background: #EEF3FE;
    border-left: 4px solid #FFC907;
    border-radius: 8px;
    padding: 14px 18px;
    color: #555;
    font-size: 14px;
    text-align: left;
}

/* Thank you page */
.thankyou-icon {
    font-size: 64px;
    color: #0070B9;
}
.thankyou-title {
    color: #0070B9;
    margin-top: 16px;
}
.thankyou-subtitle {
    color: #555;
    font-size: 16px;
}
.thankyou-note {
    background: #EEF3FE;
    border-left: 4px solid #FFC907;
    border-radius: 8px;
    padding: 14px 18px;
    color: #555;
    font-size: 14px;
    text-align: left;
}


@media (max-width: 600px) {
    .header {
        max-width: 320px;
    }
    h3, .h3 {
        font-size: 20px;
    }

    h4, .h4 {
        font-size: 18px;
    }
    h5, .h5 {
        font-size: 16px;
    }

    label, form-check-label {
        font-size: 15px;
    }
	p {
		font-size: 14px;
	}
}




@media (max-width: 576px) {
	
	.thankyou-title > span.title-thai { font-size: 22px; }
	.thankyou-title > span.title-eng { font-size: 19px; }
	
	.thankyou-subtitle > span.subtitle-thai { font-size: 15px; }
	.thankyou-subtitle > span.subtitle-eng { font-size: 14px; }
	
	#form > div > label > div > ul { font-size: 12px;}
	
	.title-container > h4.title-thai { font-size: 15px; }
	.title-container > h4.title-eng { font-size: 13px; }
	
	.header-wrapper > div > h2.title-thai { font-size: 22px; }
	.header-wrapper > div > h2.title-eng { font-size: 18px; }
	
	.header-wrapper > div > h4.title-thai { font-size: 14px; }
	.header-wrapper > div > h4.title-eng { font-size: 13px; }
	.header-wrapper > div > h4.subtitle-thai { font-size: 18px; }
	.header-wrapper > div > h4.subtitle-eng { font-size: 16px; }
}

@media (max-width: 400px) {
	.header-wrapper > div > h4.title-thai { font-size: 13px; }
	.header-wrapper > div > h4.title-eng { font-size: 11px; }
	.header-wrapper > div > h4.subtitle-thai { font-size: 16px; }
	.header-wrapper > div > h4.subtitle-eng { font-size: 15px; }
}

