diff --git a/examples/dialog-modal/css/datepicker-dialog.css b/examples/dialog-modal/css/datepicker-dialog.css
new file mode 100644
index 0000000000..9f0b52ee0f
--- /dev/null
+++ b/examples/dialog-modal/css/datepicker-dialog.css
@@ -0,0 +1,248 @@
+.sr-only {
+ position: absolute;
+ top: -2000em;
+ left: -3000em;
+}
+
+.datepicker {
+ margin-top: 1em;
+ position: relative;
+}
+
+.datepicker .group {
+ display: inline-block;
+ position: relative;
+ width: 13em;
+}
+
+.datepicker label {
+ display: block;
+}
+
+.datepicker input {
+ padding: 0;
+ margin: 0;
+ height: 1.5em;
+ background-color: white;
+ color: black;
+ border: 1px solid gray;
+}
+
+.datepicker button.icon {
+ position: relative;
+ top: 0.25em;
+ margin: 0;
+ padding: 4px;
+ border: 0px solid #005a9c;
+ background-color: white;
+ border-radius: 5px;
+}
+
+.datepicker .desc {
+ position: absolute;
+ left: 0;
+ top: 2em;
+}
+
+.datepicker .fa-calendar-alt {
+ color: hsl(216, 89%, 51%);
+}
+
+.datepicker button.icon:focus {
+ outline: none;
+ padding: 2px;
+ border-width: 2px;
+ background-color: #DEF;
+}
+
+.datepicker input:focus {
+ background-color: #DEF;
+ outline: 2px solid #005a9c;
+ outline-offset: 1px;
+}
+
+.datepicker-dialog {
+ position: absolute;
+ width: 320px;
+ clear: both;
+ border: 3px solid hsl(216, 80%, 51%);
+ margin-top: 1em;
+ border-radius: 5px;
+ padding: 0;
+ background-color: #fff;
+}
+
+.datepicker-dialog .header {
+ cursor: default;
+ background-color: hsl(216, 80%, 51%);
+ padding: 7px;
+ font-weight: bold;
+ text-transform: uppercase;
+ color: white;
+ display: flex;
+ justify-content: space-around;
+}
+
+.datepicker-dialog h2 {
+ margin: 0;
+ padding: 0;
+ display: inline-block;
+ font-size: 1em;
+ color: white;
+ text-transform: none;
+ font-weight: bold;
+}
+
+.datepicker-dialog button {
+ border-style: none;
+ background: transparent;
+}
+
+.datepicker-dialog button::-moz-focus-inner {
+ border: 0;
+}
+
+.datepicker-dialog .dates {
+ width: 320px;
+}
+
+.datepicker-dialog .prev-year,
+.datepicker-dialog .prev-month,
+.datepicker-dialog .next-month,
+.datepicker-dialog .next-year {
+ padding: 4px;
+ width: 24px;
+ height: 24px;
+ color: white;
+}
+
+.datepicker-dialog .prev-year:focus,
+.datepicker-dialog .prev-month:focus,
+.datepicker-dialog .next-month:focus,
+.datepicker-dialog .next-year:focus {
+ padding: 2px;
+ border: 2px solid white;
+ border-radius: 4px;
+ outline: 0;
+}
+
+.datepicker-dialog .prev-year:hover,
+.datepicker-dialog .prev-month:hover,
+.datepicker-dialog .next-month:hover,
+.datepicker-dialog .next-year:hover {
+ padding: 3px;
+ border: 1px solid white;
+ border-radius: 4px;
+}
+
+.datepicker-dialog .dialog-ok-cancel-group {
+ text-align: right;
+ margin-top: 1em;
+ margin-bottom: 1em;
+ margin-right: 1em;
+}
+
+.datepicker-dialog .dialog-ok-cancel-group button {
+ padding: 6px;
+ margin-left: 1em;
+ width: 5em;
+ background-color: hsl(216, 80%, 92%);
+ font-size: 0.85em;
+ color: black;
+ outline: none;
+ border-radius: 5px;
+}
+
+.datepicker-dialog .dialog-button:focus {
+ padding: 4px;
+ border: 2px solid black;
+}
+
+.datepicker-dialog .dialog-button:hover {
+ padding: 5px;
+ border: 1px solid black;
+}
+
+.datepicker-dialog .fa-calendar-alt {
+ color: hsl(216, 89%, 51%);
+}
+
+.datepicker-dialog .month-year {
+ display: inline-block;
+ width: 12em;
+ text-align: center;
+}
+
+.datepicker-dialog table.dates {
+ padding-left: 1em;
+ padding-right: 1em;
+ padding-top: 1em;
+}
+
+.datepicker-dialog table.dates th,
+.datepicker-dialog table.dates td {
+ text-align: center;
+}
+
+.datepicker-dialog table.dates tr {
+ border: 1px solid black;
+}
+
+.datepicker-dialog table.dates td {
+ padding: 3px;
+ margin: 0;
+ line-height: inherit;
+ height: 40px;
+ width: 40px;
+ border-radius: 5px;
+ font-size: 15px;
+ background: #eee;
+}
+
+.datepicker-dialog table.dates td.disabled {
+ padding: 2px;
+ border: none;
+ height: 41px;
+ width: 41px;
+}
+
+.datepicker-dialog table.dates td:focus,
+.datepicker-dialog table.dates td:hover {
+ padding: 0;
+ background-color: hsl(216, 80%, 92%);
+}
+
+.datepicker-dialog table.dates td:focus {
+ padding: 1px;
+ border: 2px solid rgb(100, 100, 100);
+ outline: 0;
+}
+
+.datepicker-dialog table.dates td:not(.disabled):hover {
+ padding: 2px;
+ border: 1px solid rgb(100, 100, 100);
+}
+
+
+.datepicker-dialog table.dates td[aria-selected] {
+ padding: 1px;
+ border: 2px dotted rgb(100, 100, 100);
+}
+
+.datepicker-dialog table.dates td[aria-selected]:focus {
+ padding: 1px;
+ border: 2px solid rgb(100, 100, 100);
+}
+
+.datepicker-dialog table.dates td[tabindex="0"] {
+ background-color: hsl(216, 80%, 92%);
+}
+
+
+.datepicker-dialog .dialog-message {
+ padding-top: 0.25em;
+ padding-left: 1em;
+ height: 1.75em;
+ background: hsl(216, 80%, 51%);
+ color: white;
+}
diff --git a/examples/dialog-modal/css/datepicker.css b/examples/dialog-modal/css/datepicker.css
deleted file mode 100644
index cb367e06c7..0000000000
--- a/examples/dialog-modal/css/datepicker.css
+++ /dev/null
@@ -1,198 +0,0 @@
-.datepicker {
- margin-top: 1em;
- position: relative;
-}
-
-.datepicker button.icon {
- padding: 4px;
- margin: 0;
- border: transparent 2px solid;
- border-radius: 5px;
- text-align: left;
- background-color: white;
- position: relative;
- left: -4px;
- top: 3px;
-}
-
-.datepicker button.icon:focus {
- outline: none;
- border-color: hsl(216, 80%, 51%);
-}
-
-.datepicker span.arrow {
- margin: 0;
- padding: 0;
- display: none;
- background: transparent;
-}
-
-.datepicker input {
- margin: 0;
- width: 20%;
-}
-
-.datepicker .datepickerDialog {
- position: absolute;
- width: 45%;
- clear: both;
- display: none;
- border: 3px solid hsl(216, 80%, 51%);
- margin-top: 1em;
- border-radius: 5px;
- padding: 0;
- background-color: #fff;
-}
-
-.datepicker .header {
- cursor: default;
- background-color: hsl(216, 80%, 51%);
- padding: 7px;
- font-weight: bold;
- text-transform: uppercase;
- color: white;
- display: flex;
- justify-content: space-around;
-}
-
-.datepicker .header h2 {
- margin: 0;
- padding: 0;
- display: inline-block;
- font-size: 1em;
- color: white;
- text-transform: none;
- font-weight: bold;
-}
-
-.datepicker .header button {
- border-style: none;
- background: transparent;
-}
-
-.datepicker .datepickerDialog button::-moz-focus-inner {
- border: 0;
-}
-
-.datepicker .prevYear,
-.datepicker .prevMonth,
-.datepicker .nextMonth,
-.datepicker .nextYear {
- padding: 4px;
- width: 24px;
- height: 24px;
- color: white;
-}
-
-.datepicker .prevYear:focus,
-.datepicker .prevMonth:focus,
-.datepicker .nextMonth:focus,
-.datepicker .nextYear:focus {
- padding: 2px;
- border: 2px solid white;
- border-radius: 4px;
- outline: 0;
-}
-
-.datepicker .dialogButtonGroup {
- text-align: right;
- margin-top: 1em;
- margin-bottom: 1em;
- margin-right: 1em;
-}
-
-.datepicker .dialogButton {
- padding: 5px;
- margin-left: 1em;
- width: 5em;
- background-color: hsl(216, 80%, 92%);
- font-size: 0.85em;
- color: black;
- outline: none;
- border: 1px solid hsl(216, 80%, 92%);
- border-radius: 5px;
-}
-
-.datepicker .dialogButton:focus {
- padding: 4px;
- border: 2px solid black;
-}
-
-.datepicker .fa-calendar-alt {
- color: hsl(216, 89%, 51%);
-}
-
-.datepicker .monthYear {
- display: inline-block;
- width: 12em;
- text-align: center;
-}
-
-.datepicker table.dates {
- width: 100%;
- padding-left: 1em;
- padding-right: 1em;
- padding-top: 1em;
-}
-
-.datepicker table.dates th,
-.datepicker table.dates td {
- text-align: center;
-}
-
-.datepicker .dateRow {
- border: 1px solid black;
-}
-
-.datepicker .dateCell {
- outline: 0;
- border: 0;
- padding: 0;
- margin: 0;
- height: 40px;
- width: 40px;
-}
-
-.datepicker .dateButton {
- padding: 0;
- margin: 0;
- line-height: inherit;
- height: 100%;
- width: 100%;
- border: 1px solid #eee;
- border-radius: 5px;
- font-size: 15px;
- background: #eee;
-}
-
-.datepicker .dateButton:focus,
-.datepicker .dateButton:hover {
- padding: 0;
- background-color: hsl(216, 80%, 92%);
-}
-
-.datepicker .dateButton:focus {
- border-width: 2px;
- border-color: rgb(100, 100, 100);
- outline: 0;
-}
-
-.datepicker .dateButton[aria-selected] {
- border-color: rgb(100, 100, 100);
-}
-
-.datepicker .dateButton[tabindex="0"] {
- background-color: hsl(216, 80%, 92%);
-}
-
-.datepicker .disabled {
- visibility: hidden;
-}
-
-.datepicker .message {
- padding-top: 0.25em;
- padding-left: 1em;
- height: 1.75em;
- background: hsl(216, 80%, 51%);
- color: white;
-}
diff --git a/examples/dialog-modal/datepicker-dialog.html b/examples/dialog-modal/datepicker-dialog.html
index 4ea5abf432..b72902e1ad 100644
--- a/examples/dialog-modal/datepicker-dialog.html
+++ b/examples/dialog-modal/datepicker-dialog.html
@@ -8,15 +8,13 @@
-
-
-
-
-
+
+
+