/* This file contains styles that will affect .
   Styles are taken from Bootstrap 5.1: https://getbootstrap.com/docs/5.1/forms/overview/
   Code by Safwan.Karim@sentientdynamics.com.au - Sentient Dynamics
 */

:root {
  /* bs5 styles */
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-white: #ffffff;
  --bs-dark: #212529;
  --bs-primary-rgb: 13, 110, 253;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;

  /* custom styles by safwan */
  --bs-form-placeholder-color: #6c757d;
  --bs-form-label-font-weight: 400;
  --bs-border-radius: 0.25rem;
  --nqaits-tile-margin-left: 3.3rem;
  --nqaits-font-size-xs: 1.5rem;
  --nqaits-font-size-sm: 1.75rem;
  --nqaits-font-size-md: 2rem;
  --nqaits-font-size-lg: 2.5rem;
  --nqaits-font-size-xl: 3rem;
  --nqaits-font-size-xxl: 3.5rem;

  --nqaits-font-family: "Source Sans Pro","Gill Sans Nova W01", Arial, Helvetica, sans-serif;
  --nqaits-color-primary: #0068ac;
  --nqaits-color-dark: #005e9d;
  --nqaits-color-secondary: #9dcbe4;
  --nqaits-color-tble-row: #f4f6f8;
  --nqaits-color-hover: #0081d5;
  --nqaits-color-accent: #ff5431;
  --nqaits-color-text: #181818;
  --nqaits-body-font-size: 16px;  

}

/*====================================== GENERIC GLOBAL STYLES ======================================*/
.sd-hidden {
  display: none;
}

#skiptocontent {
  min-height: 80vh;
}

/*====================================== GLOBAL FONT SIZES ======================================*/
h1,
.h1,
.section-landing-heading,
.section-landing .row > div .section-landing-heading,
.section-inline-search .row > div h1,
.section-landing h1,
.section-search .header-search h1,
.page_section h1,
.color-inverse h1,
h1 p {
  font-size: 40px;
}

h2,
.h2,
.section-landing .row > div .section-landing-sub-heading,
.page_section h2,
.color-inverse h2,
h2 p {
  font-size: 32px;
}

h3,
.h3,
.page_section h3,
.color-inverse h3,
footer .footer-top h3,
.sidebar-home h3 {
  font-size: 28px;
}

h4,
.h4,
footer .footer-bottom h4,
footer .footer-top h4,
.poll .poll-header h4,
.poll .poll-tags h4 {
  font-size: 24px;
}

h5,
.h5 {
  font-size: 20px;
}

p,
.p,
.page_section p,
.section-diagonal-left p,
.section-diagonal-right p,
footer .footer-bottom p {
  font-size: var(--nqaits-body-font-size);
}

/*====================================== PADDINGS ======================================*/
.ps-0 {
  padding-left: 0 !important;
}

.pe-0 {
  padding-right: 0 !important;
}
/*====================================== MARGINS ======================================*/
.ms-0 {
  margin-left: 0 !important;
}

.me-0 {
  margin-right: 0 !important;
}

/*====================================== LABELS ======================================*/
.label,
.field-label {
  margin: 0;
  font-family: var(--nqaits-font-family);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  text-align: var(--bs-body-text-align);
  background-color: var(--bs-body-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

.form-label,
.field-label {
  margin-bottom: 0.5rem;
  font-weight: var(--bs-form-label-font-weight);
}

/*====================================== FORM CONTROLS ======================================*/
input[type='text']:not(.msos-input),
input[type='email'],
input[type=file],
.form-control,
.text.form-control,
.msos-container,
.msos-container:not(.msos-disabled),  /* MS custom searchable dropdown */
.msos-container:not(.msos-disabled).msos-active {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem !important;
  font-weight: 400;
  line-height: 1.5;
  color: #212529 !important;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: var(--bs-border-radius);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* add extra file styles */
input[type="file"] {
  padding: 0;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

input[type="text"]:focus:not(.msos-input),
input[type="file"]:focus,
.form-control:focus,
.crmEntityFormView.form-control.readonly:focus,
input:focus-visible,
.text.form-control:focus,
.msos-container:focus,
.msos-container:not(.msos-disabled).msos-focused {
  color: #212529 !important;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0 !important;
  box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}

.form-control.lookup {
  border-radius: var(--bs-border-radius) 0rem 0rem var(--bs-border-radius);
}

.btn.launchentitylookup {
  border-radius: 0rem var(--bs-border-radius) var(--bs-border-radius) 0rem;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--bs-form-placeholder-color) !important;
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: var(--bs-form-placeholder-color) !important;
}

/* email address style */
/* input#emailaddress_id {
  width: 66%;
  display: inline;
  height: 37px;
  position: relative;
  top: 2px;
} */

/*====================================== CHECKBOX & RADIO BUTTONS ======================================*/
input[type="radio"] {
  margin-top: 4px !important;
}

/*====================================== SELECT ======================================*/
.form-control.picklist {
  display: block;
  width: 100%;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  -moz-padding-start: calc(0.75rem - 3px);
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  border-radius: var(--bs-border-radius);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/*====================================== MS CUSTOM SEARCH ======================================*/

/* MS custom searchable dropdown */
.msos-selection-container {
  border: 1px solid rgb(206, 212, 218);
}

/* this style is to make the dropdown arrow same size as select arrows of other fields */
.msos-caret-button .msos-glyph:after {
  font-size: 11px !important;
  margin-top: 4px;
}

/* this style is to align the dropdown arrow with select arrows of other fields */
.msos-caret-button {
  margin-right: 7px;
  cursor: auto;
}

.msos-caret-button:hover,
.msos-caret-button:active:focus,
.msos-caret-button:focus {
  background-color: transparent;
  color: black;
}

.msos-label.msos-selectall.msos-option {
  /* display: none; */
}

.msos-input:focus {
  color: transparent !important;
  background-color: transparent;
  border-color: transparent;
  outline: 0;
  box-shadow: none;
}

/*====================================== PROGRESS BAR ======================================*/
.progress.list-group {
  border-radius: var(--bs-border-radius);
}

/*====================================== DEFAULT ICONS ======================================*/

.glyphicon.glyphicon-ok {
  color: var(--bs-green);
}

/*====================================== MODALS ======================================*/

.modal-body {
  max-height: 50rem;
  overflow-y: auto;
}

/*====================================== BUTTONS ======================================*/
.btn,
input::file-selector-button,
.launchentitylookup,
.input-group-btn:last-child > .btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  /*border: 1px solid transparent;*/
  border-radius: var(--bs-border-radius);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.navbar-toggle {
  border-radius: var(--bs-border-radius);
}

/* add extra file upload btn style */
input::file-selector-button {
  /* padding: 0.375rem 0.75rem; */
}

/* reset button */
#btnReset {
  margin-top: 1rem;
}

/*====================================== BUTTONS ======================================*/

.lnkPopupIconInfo {
  font-size: 13px;
}

/*====================================== NAVBAR ======================================*/

.navbar-static-top.navbar .menu-bar > .navbar-nav > li > a {
  font-family: var(--nqaits-font-family);
  border-radius: var(--bs-border-radius);
  font-weight: normal;
}

.navbar-brand .xrm-attribute-value {
  width: auto;
  height: 40px;
}

/* .navbar-brand img {
  width: auto;
  height: 40px;
  margin-left: 1rem;
} */

/*====================================== FOOTER ======================================*/

footer .footer-nav {
  display: flex;
  float: left;
}

footer .copyright-footer {
  float: right;
  padding: 10px 15px;
}

footer .footer-bottom ul li a,
footer .footer-bottom ul li a:hover,
footer .footer-bottom ul li a:focus,
footer .footer-bottom ul li a:active,
footer .footer-bottom ul li a.active,
footer .footer-bottom p {
  font-size: var(--nqaits-body-font-size);
  font-family: var(--nqaits-font-family);
  border-radius: var(--bs-border-radius);
}

/*====================================== Highlighted Text ======================================*/
.form-helper-text {
  color: #666;
  font-size: 15px;
}

.form-helper-text-highlighted {
  padding: 3px 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.helper-text-highlighted {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

/*====================================== TABLE/LIST STYLE ======================================*/
.table > tbody > tr > td {
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
}

.pagination > li > a,
.pagination > li > span {
  border-radius: var(--bs-border-radius) !important;
  border: 1px solid var(--bs-gray-300) !important;
  width: fit-content;
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover {
  cursor: pointer;
}

.pagination > li > a,
.pagination > li > span {
  height: 35px;
}

/*====================================== OPERATIONAL OURS TABLE STYLE ======================================*/

#annual table,
#holidaycare table,
#schooltermsonly table {
  margin-top: 1rem;
}

#annual th,
#holidaycare th,
#schooltermsonly th {
  background-color: var(--nqaits-color-dark);
  color: white;
}

/* for padding, width */
#annual tr td,
#holidaycare tr td,
#schooltermsonly tr td {
  border: 1px solid #f2f2f2;
  padding: 8px;
  line-height: 1.42857;
  vertical-align: baseline;
  border-bottom: 1px solid #ddd;
}

/* for text align only */
#annual td,
#annual .hasTimepicker,
#holidaycare td,
#holidaycare .hasTimepicker,
#schooltermsonly td,
#schooltermsonly .hasTimepicker {
  text-align: center;
}

/* for days text column */
#annual th:nth-child(1),
#holidaycare th:nth-child(1),
#schooltermsonly th:nth-child(1) {
  width: 11rem;
}

/* for time picker column */
#annual th:nth-child(2),
#annual th:nth-child(3),
#holidaycare th:nth-child(2),
#holidaycare th:nth-child(3),
#schooltermsonly th:nth-child(2),
#schooltermsonly th:nth-child(3) {
  width: 11rem;
  text-align: center;
  padding: 1rem 0rem;
}

/* for checkbox column */
#annual th:nth-child(4),
#holidaycare th:nth-child(4),
#schooltermsonly th:nth-child(4) {
  width: 13rem;
  padding: 1rem 0rem;
  text-align: center;
}

/* for warining column */
#annual td:nth-child(5),
#holidaycare td:nth-child(5),
#schooltermsonly td:nth-child(4),
#schooltermsonly td:nth-child(5) {
  border: none;
}

#annual input[type="checkbox"],
#holidaycare input[type="checkbox"],
#schooltermsonly input[type="checkbox"] {
  width: 2rem;
  height: 2rem;
}

#annual .userinput.hasTimepicker,
#holidaycare .userinput.hasTimepicker,
#schooltermsonly .userinput.hasTimepicker {
  width: 100%;
}

/* gap between tables of session 1 and session 2 */
#schooltermsonly > div:nth-child(2) > table {
  margin-right: 5rem;
}

/*====================================== CALENDAR STYLE ======================================*/

.datepicker button {
  font-weight: 100;
  color: initial;
  font-size: 14px;
}

.datepicker button:hover,
.datepicker button:active,
.datepicker button:focus {
  font-weight: 100;
  color: initial;
  background-color: initial;
}

.datepicker th {
  color: initial;
}

.datepicker span.active > button {
  color: white;
}

/*====================================== TIME HOURS MINUTES PICKER STYLE ======================================*/
.ui-timepicker-table .ui-timepicker-title {
  line-height: 1.8em;
  text-align: center;
  background-color: var(--nqaits-color-dark);
  border: none;
  font-size: 16px;
  color: white;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
  border: 1px solid #ced4da;
  background: no-repeat;
  font-weight: 100;
  color: #555;
  padding: 2px;
  font-size: 14px;
}

.ui-state-active {
  background-color: var(--nqaits-color-primary) !important;
  color: white !important;
}

.ui-timepicker-hours {
  padding-right: 1rem;
}

.ui-timepicker th {
  font-size: 14px;
}
.ui-timepicker-table th.periods {
  padding: 0.5rem;
}

/*====================================== OPERATIONAL HOURS STYLE ======================================*/
#openAnnualbtn,
#holidayCarebtn,
#schoolTermOnlybtn {
  padding: 0px 4px;
  margin-right: 1rem;
  border-radius: var(--bs-border-radius);
  margin-bottom: 1rem;
}

/*====================================== ALERT STYLE ======================================*/

#MessagePanel {
  position: relative;
}

/*====================================== SUMMARY STYLE ======================================*/
table[data-name="Section_WaiverDetails"] th,
table[data-name="Section_WaiverDetails"] td {
  padding: 1rem !important;
}

table[data-name="Section_WaiverDetails"] tr {
  border: 1px solid #f2f2f2;
}

table[data-name="Section_WaiverDetails"] .form-control-cell {
  padding-left: 1rem !important;
}

/*====================================== EXTENSION TABLE STYLE ======================================*/

.extention-details-tbl {
}

/*====================================== JUMBOTRON ======================================*/
.jumbotron h1 {
  font-size: 40px !important;
}

/*====================================== BS SELECT PICKER (PLUGIN) ======================================*/

.dropdown-menu > li > a {
  text-decoration: none !important;
}

/* .dropdown-menu {
  max-width: 100%;
} */
