﻿/* Copyright 2018-2025 Epic Systems Corporation */
legend {
  float: left;
}
.questiongroup > .row > [class*=col-] > legend {
  font-size: var(--wptheme_font-size_2);
  padding: 0;
  font-weight: normal;
}
body:is(.md_showform, .md_saveform, .md_customforms_index) .questiongroup > .row > [class*=col-] > legend {
  color: #72246c;
}
body:is(.md_showform, .md_saveform, .md_customforms_index) .section .question > legend {
  color: #767676;
}

.questiongroup > legend.row.col-12 {
  font-size: var(--wptheme_font-size_2);
}
body:is(.md_showform, .md_saveform, .md_customforms_index) .questiongroup > legend.row.col-12 {
  color: #72246c;
}

.grid > .row > [class*=col-] > input[type=text],
.grid > .row > [class*=col-] > textarea,
.grid > .row > [class*=col-] > select,
.grid > .row > [class*=col-] > input[type=password],
body.md_saveform .section .messagedisplay:not(.__captchaMessage),
.grid > .row > [class*=col-] .messagedisplay:not(.__captchaMessage) {
  width: 100%;
}

input,
select,
textarea {
  margin: 0.5rem 0 0 0;
}

fieldset.grid.row > .col-8 {
  padding-bottom: 0;
}

body:is(.md_showform, .md_saveform) #footer,
body:is(.md_showform, .md_saveform) #footer a {
  color: #565656;
  font-size: var(--wptheme_font-size_-1);
}

.grid > .row > [class*=col-] > .helptext {
  margin-top: 0;
}

@media only screen and (max-width: 768px) {
  .grid > .row > .col-4.nodisp {
    display: none;
  }
  .grid > .row > [class*=col-] > input[type=text],
  .grid > .row > [class*=col-] > textarea,
  .grid > .row > [class*=col-] > select,
  .grid > .row > [class*=col-] > input[type=password],
  body.md_saveform .section .messagedisplay:not(.__captchaMessage),
  .grid > .row > [class*=col-] .messagedisplay:not(.__captchaMessage) {
    margin-top: 0.25rem;
  }
}
.button.cancelworkflow {
  display: inline;
  margin-top: 0px;
  margin-bottom: 0px;
}

@media only screen and (max-width: 769px) {
  #accessToGrant.popupiconcontainer {
    left: 7.5rem;
  }
}
@media only screen and (min-width: 769px) {
  #accessToGrant.popupiconcontainer {
    left: 7.5rem;
  }
}
.question.grid.custom > .row {
  width: 100%;
}

.row:has(#accessToGrant.popupiconcontainer) {
  height: 0rem;
}

.col-4 label,
fieldset legend {
  padding-top: 0.6rem !important;
}

@media print {
  body.md_showform #main div.alert.card img,
  body.md_customforms_index #main div.alert.card img {
    display: block !important;
    width: auto !important;
  }
}
