h2.validation-header .fa {
  display: none;
}

.validation-summary ul {
  margin: 0;
  padding: 0;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 15px !important;
  padding-left: 0px;
  padding-inline-start: 40px !important;
  list-style: disc !important;
}

div.message.success span,
div.message.alert span {
  padding: 20px 0 25px 0px;
  display: block;
}

div.message.success,
div.message.alert {
  background-color: transparent !important;
  padding: 0px 39px 0px 15px !important;
}

input#btnCloseMessage.close {
  background-color: transparent !important;
  columns: #000 !important;
}

input.query {
  padding: 10px 12px;
}
/* Begin Validation */
.crmEntityFormView .validation-summary h2 {
  margin: 15px 0 15px 15px !important;
  font-size: 20px !important;
}

.crmEntityFormView .cell div.info.required label:before {
  content: "* ";
  margin-left: -0.67em;
  vertical-align: top;
  color: #d3080c;
  font-weight: 700;
}
.crmEntityFormView .cell div.info.required label:after {
  content: "" !important;
}

div.validators {
  display: none;
}

div.page-copy {
  margin-top: 20px;
}
/* End Validation */

/* 
    Begin Portal grid view show action buttons
*/
.view-grid .dropdown.action > .btn {
  display: none;
}

.view-grid .dropdown.action .dropdown-menu {
  display: block;
  position: static !important;
  position: initial !important;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  max-width: 95px;
  min-width: 95px;
  width: 95px;
  left: auto !important;
  top: auto !important;
}

.view-grid .dropdown.action .dropdown-menu li {
  display: inline-block;
  text-align: center;
}

.view-grid .dropdown.action .dropdown-menu li a {
  font-size: 0;
  padding: 2px;
  margin: 0;
}

.view-grid .dropdown.action .dropdown-menu li a > span {
  font-size: 18px;
}

.view-grid .dropdown.action .dropdown-menu li a:hover {
  color: #008c95;
  background: transparent;
}

td {
  font-size: 16px !important;
}

.crmEntityFormView .radiogroup {
  padding-bottom: 0 !important;
}

.crmEntityFormView .cell:not(.zero-cell){
    padding: 0 0 15px 0 !important;
}

.crmEntityFormView .cell.zero-cell{
    padding: 0!important;
}

.crmEntityFormView .cell:empty {
    padding: 0!important;
}



/*html[dir=ltr] .crmEntityFormView .cell.checkbox-cell:first-child
{
  padding: 0 0 20px !important;
}*/



html[dir=ltr] .crmEntityFormView .cell div.control span.checkbox input[type=checkbox] {
    margin-left: 3px;
}

.fa-check {
  margin-left: 0 !important;
}

/* 
    End Portal grid view show action buttons
*/

/* Begin change radio button to button*/
.radio-toolbar input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

.radio-toolbar > input[type="radio"] + label:first-of-type {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.radio-toolbar > input[type="radio"] + label:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: -4px;
}

.radio-toolbar label {
  display: inline-block;
  margin-bottom: 0;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.4375;
  border-radius: 4px;
  user-select: none;

  color: #335075;
  background-color: #eaebed;
  border-color: #dcdee1;

  border-style: outset;
  height: auto;
  white-space: normal;

  font-family: Lato, sans-serif;
}

.radio-toolbar input[type="radio"]:checked + label {
  box-shadow: inset 0 3px 5px rgb(0 0 0 / 13%);
  color: #335075;
  background-color: #cfd1d5;
  background-image: none;
  border-color: #bbbfc5;
}

.radio-toolbar input[type="radio"]:focus + label,
.radio-toolbar label:hover {
  color: #335075;
  background-color: #cfd1d5;
  border-color: #989da6;
}

/* End change radio button to button */

fieldset.chkbxrdio-grp {
  margin-bottom: 0;
}
fieldset.chkbxrdio-grp legend {
  font-size: 16px;
}

/* number at top right corner of mail icon  */
.notification-wrapper {
    display: inline-block;
    padding: 1px;
    text-decoration: none !important;
}
.notification-wrapper:hover, .notification-wrapper:focus {
        color: #1c578a;
}
.badge {
    background-color: #bc3331 !important; /* red-ish for contrast */
}
#notification-count {
    position: relative;
    vertical-align: top;
    margin-left: -15px;
    margin-top: -6px;
}
/* end number at top right corner of mail icon */

.btn-hg {
  font-size: 16px !important;
  height: 45px !important;
}

main {
  font-size: 16px;
}

a:visited {
  color: #284162;
}

.hd-pre {
  font-size: 14px;
  text-transform: uppercase;
  padding-bottom: 5px;
  color: #666;
  display: block;
}

.panel-min-height {
  min-height: 4.3em;
}

/*Start Dropdown button*/
/* .dropbtn {
        background-color: #3498DB;
        color: white;
        padding: 16px;
        font-size: 16px;
        border: none;
        cursor: pointer;
    } */

/* Dropdown button on hover & focus */
/* .dropbtn:hover, .dropbtn:focus {
        background-color: #2980B9;
    } */

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 120px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
  display: block;
}
/* End dropdown button*/

/* Start Progress Indicator*/
.stepper-wrapper {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;

  @media (max-width: 768px) {
    font-size: 16px;
  }
}

.stepper-item::before {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 8px;
  left: -50%;
  z-index: 2;
}

.stepper-item::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 8px;
  left: 50%;
  z-index: 2;
}

.stepper-item .step-counter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  margin-bottom: 6px;
  border: 3px solid #38414d;
}

.stepper-item.active {
  font-weight: bold;
}

.stepper-item.active .step-counter {
    border: 5px solid #38414d;
    width: 21px;
    height: 21px;
}

.stepper-item.completed .step-counter {
  background-color: #38414d;
}

.stepper-item.completed::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #38414d;
  width: 100%;
  top: 8px;
  left: 50%;
  z-index: 3;
}

.stepper-item:first-child::before {
  content: none;
}
.stepper-item:last-child::after {
  content: none;
}
/* End Progress Indicator*/

/* nit */
.modal-header {
  background-color: #fff;
}
.modal-title {
  border-bottom: unset;
}

strong.required {
  color: #d3080c;
}

/* to fix * hidden by checkbox */
label.nobefore:before {
  display: none;
}


/* Begin Signature box*/
.signatureControl.editmode .inkControl .drawCanvas {
    border: 1px solid #949494;
    border-radius: 4px;
    padding: 6px 12px;
}
.inkControlHorizontalDelimiter {
    display: none !important;
}
.signatureControl.editmode .inkControl .inkControlCommandBar .confirmButtonTick:before {
    content: '\f00c'!important;
    font-weight: 900;
    font-family: "Font Awesome 5 Free";
    color: #278400;
}
.signatureControl.editmode .inkControl .canvasContainer{
    height: 100px;
}
/* End Signature box*/

/* improve style of list filter on view-application page */
.entitylist .entitylist-filter {
    border: unset;
    box-shadow: unset;
    width: max-content;
    float: left;
    margin: 0px;
}

.entitylist .panel-body {
    display: flex;
    padding: 0px;
    align-items: center;
}

.entitylist #entitylist-filters {
    margin-bottom: 0px;
}

.entitylist .entitylist-filter-option-group {
    display: flex;
    align-items: center;
}

.entitylist .entitylist-filter-option-group label {
    margin: 0px;
    margin-right: 10px;
}

.entitylist #entitylist-filters select {
    width: fit-content;
}

.entitylist .btn-entitylist-filter-submit {
    visibility: hidden;
}
/* end improve style of list filter on view-application page */

/* start readonly form */
.crmEntityFormView .form-control.readonly:focus, .crmEntityFormView .form-control[readonly][disabled]:focus, .form-readonly .form-control:focus {
    outline: none !important;
}
/* end readonly form */

/* start to hide Note Text in file upload page */
[data-name="tabAttachment"] .info {
    display: none !important;
}
/* end to hide Note Text in file upload page */

/* the following style is a test, please ignore! */

/* start to hide Application Status Priority column and header on Site Applications list */
[data-th="Application Status Priority"] {
    display: none !important;
}
body[data-sitemap-state*="site-applications"] th:nth-child(7) {
    display: none !important;
}
body[data-sitemap-state*="site-applications"] th:nth-child(7),
body[data-sitemap-state*="view-applications"] th:nth-child(7) {
    display: none !important;
}
/* end to hide Application Status Priority column and header on Site Applications list */

/* start to hide Application Status Priority column and header on Site Applications list */
[data-th="Application Status Priority"] {
    display: none !important;
}
body[data-sitemap-state*="site-applications"] th:nth-child(7) {
    display: none !important;
}
body[data-sitemap-state*="site-applications"] th:nth-child(7),
body[data-sitemap-state*="view-applications"] th:nth-child(7) {
    display: none !important;
}
/* end to hide Application Status Priority column and header on Site Applications list */


/* */
#panel-heading-applications {
    display: flex;
    flex-direction: column;
}
#panel-heading-applications .panel-title {
    display: flex;
    justify-content: space-between;
}
#panel-heading-applications h5 {
    color: #284162;
}
