.childDiv {
  border-style: solid;
  border-width: 3px;
}

.childModalDiv {
  position: fixed;
  top: 5%;
  left: 50%;
  transform: translate(-50%, 0%);
  border-width: 3px;
  min-height: 8em;
  min-width: MIN(20em, 80%);
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 90%;
  border-color: #b7c2ff;
  background: #ececec;
  z-index: 5;
}

.button--right {
  position: absolute;
  right: 0;
  margin: 0.5em 0.5em 0.5em auto;
}

#backEndHTMLContent {
  margin: 0.3em;
}

#backEndHTMLContent h2,
#backEndHTMLContent h3,
#backEndHTMLContent h4 {
  text-wrap: balance;
  max-width: 80%;
}

#backEndHTMLContent h1 {
  text-wrap: balance;
}

.buttonLineEnv {
  margin-top: 1em 0 1em 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
}

.cml--rightButtons {
  display: none;
}

.childDiv .buttonLineEnv .lineButton {
  min-width: 2em;
}

.bottomWarn {
  bottom: 0;
  position: absolute;
  margin: 0;
  width: 100%;
  height: 5em;
  background-color: #b7c2ff;
  z-index: 999;
  border-radius: 0.5em;
}

.bottomWarnIn {
  opacity: 1;
  animation: dialIn 0.5s;
}

.bottomWarnOut {
  opacity: 0;
  animation: dialOut 0.5s;
}

.bottomWarn p,
.bottomWarnMessage,
.bottomWarnMessage p {
  font-size: 150%;
  padding: 0.2em 0.5em 0.1em 0.5em;
  text-align: center;
}

.bottomWarn h3 {
  font-size: 180%;
  text-align: center;
  margin-top: 1em;
}

.bottomWarn h4 {
  font-size: 120%;
  text-align: center;
  padding: -1em 0 0 0;
  margin: 0 0.1em 0 0;
}

.bottomWarnMessageBDiv {
  flex-grow: 0;
  flex-shrink: 0;
  align-self: center;
}

.bottomWarnMessage {
  text-align: center;
  font-size: larger;
  font-weight: 400;
  width: 100%;
  flex-grow: 3;
  flex-shrink: 3;
  align-self: center;
}

.bottomWarnMessage svg {
  font-size: xx-large;
}

:root {
  --systemFontSize: 16px;
}

.offerHead,
.filesBox {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  font-family: "Tahoma", "Rokkit";
  padding-top: 4em;
  padding-bottom: 4em;
}

.offerHead .ayHelp,
.offerHead.ayHelp {
  padding-top: 1em;
  padding-bottom: 1em;
}

div.offerHead div.boxHead {
  margin: 3px;
  padding: 8px;
}

.ayHelp .dataBox {
  width: 25em;
  padding: 1px;
}

.dataBox {
  font-size: var(--systemFontSize) !important;
  width: 27.5em;
  margin: 2px;
  padding: 8px;
}

.boxesLogo img {
  max-width: 10em;
  max-height: 5em;
  margin-top: 1em;
  margin-left: 1em;
}

.warningBox {
  min-height: 3em;
  padding: 1em 2em 1em 2em;
  margin: 1em 0.5em 1em 0.5em;
}

.warningBox p {
  margin: 1em 2em 1em 2em;
}

.ii--number {
  max-width: 8em;
  width: 8em;
  margin-left: 3px;
}

div.boxHead {
  margin: 0em auto 0.2em auto;
}

.filterButton {
  width: 12em;
  height: 2rem;
}

.innerButton,
.pageButtons {
  margin-top: 2em;
  font-size: var(--systemFontSize) !important;
  font-family: "Tahoma", "Rokkit";
}

.pageButtons.bCenterButtons {
  display: flex;
  flex-flow: row;
  width: 100%;
  justify-content: space-around;
}

button img {
  width: 2.1em;
  vertical-align: middle;
}

.ButtonBox {
  display: flex;
  flex-flow: row wrap;
  margin-left: 0.5em;
}

.ButtonBox.pageButtons button,
.ButtonBox.innerButton button {
  width: 8em;
  height: 3em;
  font-size: 100%;
  margin-right: 6px;
}

.ButtonBox.pageButtons.buttonLong button {
  width: 12em;
  height: 3em;
  font-size: 100%;
}

.ButtonBox.pageButtons button.longTextButton {
  width: 10em;
  height: 4em;
}

button.longTextButton .innB {
  display: flex;
  flex-flow: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-evenly;
}

button.longTextButton .innB span {
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  height: 100%;
}

.ButtonBox button .tPart {
  display: inline;
  margin-bottom: 0.5em;
}

body {
  border-right-width: 1px;
  border-right-style: solid;
  padding-bottom: 2em;
}

div.boxH {
  column-count: 2;
  display: flex;
}

div.boxH1,
div.boxH2 {
  text-align: right;
  width: 50%;
}

h3 img {
  font-size: 125%;
  margin-right: 1em;
  vertical-align: middle;
}

input {
  font-size: var(--systemFontSize) !important;
}

.prodInfo.iro--string {
  color: #131212;
}

tr.spaceUnder td {
  padding-bottom: 1em;
}

*[data-hidden="Y"] {
  display: none !important;
}

.ayPortalHead {
  display: flex;
  flex-flow: row;
  row-gap: nowrap;
  justify-content: space-between;
  max-height: 8em;
  min-height: 2em;
}

.ayPortalHead .rightTopPanel {
  display: flex;
  flex-flow: row;
  flex-wrap: nowrap;
  margin-right: 1em;
}

.ayPortalLeftPanel {
  min-width: 1em;
  max-width: 6em;
  margin: 0 3px 0 0;
}

.ayPortalRightPanel {
  margin: 3px 0 0 3px;
  padding-left: 2px;
  padding-bottom: 1em;
  width: 100%;
}

.ayPortal {
  font-size: 1rem;
  font-family: "Tahoma", "Rokkit";
}

.ayPortalBody {
  display: flex;
  flex-flow: row;
  flex-wrap: nowrap;
  font-family: "Tahoma", "Rokkit";
}

tr td textarea {
  width: 100%;
}

.ayPortalHelp {
  display: grid;
  grid-column: 1;
}

.ayPortalHelp .dataBox,
.ayPortalHelp.dataBox {
  width: 95%;
}

.ayPortalHelp textarea,
.ayPortalCol textarea,
.ayPortalCol .fieldSet textarea {
  width: 100%;
  height: 4em;
}

.ayPortalCol legend {
  font-weight: 600;
}

.ayPortalHelp .offerHead {
  padding-top: 1em;
  padding-bottom: 1em;
}

div.aboutYou,
div.aboutYou a {
  font-size: normal;
  margin-top: auto;
  margin-right: 2em;
}

.ayPortalFooter {
  max-width: 95.5em;
  margin: 3px auto;
  display: flex;
  flex-flow: row;
  row-gap: nowrap;
  justify-content: space-between;
  min-height: 2em;
  font-family: "Tahoma", "Rokkit";
}

div.footerBox {
  margin: 5px;
  padding: 8px;
  margin-top: auto;
}

.dataBoxLine .fieldLabel {
  display: inline-block;
  width: 12em;
  min-width: 12em;
}

.dataBoxLine {
  margin: 3px 0;
}

.dataBoxLine .fieldValue {
  display: inline-block;
  width: 12em;
  min-width: 12em;
  text-align: right;
}

input.ii--number,
input.ii--date,
input.ii--string {
  height: 1.5em;
}

input.ii--number {
  font-size: 1em;
  font-weight: normal;
}

input.ii--string,
input.ii--date {
  font-size: 1em;
  font-weight: bold;
}

.sizeNormal input.ii--string {
  font-size: 1rem;
  font-weight: normal;
  width: 14rem;
}

input.ii--string[data-small="long"] {
  width: 100%;
}

.sizeNormal input.ii--date {
  font-size: larger;
  font-weight: normal;
  width: 14rem;
}

.dataBoxLine .fieldValue.fv--ro {
  text-align: left;
  min-height: 2em;
  padding-top: 0.2em;
}

.boxAddress .dataBoxLine .fieldLabel {
  width: 10em;
  min-width: 10em;
}

.boxAddress .dataBoxLine .fieldValue {
  width: 16em;
  min-width: 16em;
  font-size: 1em;
}

.boxAddress input.ii--string {
  width: 100%;
  font-size: 1em;
  font-weight: normal;
}

.ayPortalLButtons button span.buttonImage {
  display: block;
  width: 100%;
  text-align: center;
}

.ayPortalLButtons button span.buttonImage img {
  min-height: 1.5em;
}

.inputItem.ii--bLongtext,
.ii--bLongtext {
  max-width: 100%;
  max-height: 6em;
  min-width: 100%;
}

.ir-currency {
  word-break: keep-all;
  text-wrap: nowrap;
}

.ayPortal .ayPortalRightPanel h1,
.ayPortal .ayPortalRightPanel h2 {
  margin-left: 1em;
}

body.crmPortal {
  background-image: url("/frm/css/img/back-light.png");
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh;
  min-width: 100vw;
  overflow: hidden;
}

.crmPortalLogin {
  display: block;
  background-image: url("/sys/css/background-light.jpg");
  padding: 2em 1em 0 1em;
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0 !important;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.crmPortalLogin .containerLogin {
  background-color: #e6d8cb;
  padding: 0.5em;
  border: solid 2px #656620;
  border-radius: 3px;
}

body.crmPortal .hCentre {
  margin: 0em auto;
  max-width: 30em;
}

.crmPortalLogin .mainLogo img {
  min-height: 4em;
  max-height: 4em;
  margin-top: 2em;
  margin-right: 2em;
}

.hCentre img {
  min-height: 2em;
  max-height: 2em;
}

.crmPortalLogin .mainLogo {
  text-align: right;
  padding-right: 1em;
}

.containerLogin fieldset.loginbox {
  display: flex;
  flex-flow: column;
  max-width: 30em;
  padding: 2em;
  background-color: #ccbbaa;
}

.loginbox button {
  margin-top: 0.5em;
  min-height: 4em;
  max-height: 4em;
  width: 8em;
}

.loginbox label {
  margin-top: 0.5em;
}

.loginbox input {
  min-height: 2em;
  width: 25em;
  max-width: calc(100vw - 6em);
}

input[data-isreq="Y"] {
  border: solid 2px #780000;
}

input[data-isreq="Y"]::placeholder {
  background-image: url('data:image/svg+xml;utf8,<svg enable-background="new 0 0 1000 1000" version="1.1" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg"><path d="m819 913-279-142-214 228-16-312-305-71 262-170-91-299 279 142 214-228 16 312 305 71-262 170z" style="fill-opacity:.6;fill:red"/></svg>');
  background-position-x: left 3px;
  background-position-y: bottom 3px;
  background-repeat: no-repeat;
  background-size: 1em 1em;
  font-size: 120%;
  min-height: 1.1em;
}

.dataBoxLong {
  border: 1px solid #d9f7b2;
  padding-bottom: 2em;
  width: 98%;
  margin: 0.4em auto;
}

.footer-aymine {
  font-size: small;
  color: #780000;
}

.footer-centre {
  text-align: center;
  margin-bottom: 1em;
}

.footer-right {
  text-align: right;
  margin-bottom: 1em;
  margin-right: 1em;
}

.footer-aymine a {
  color: #780000;
}

.footer-aymine img {
  max-width: 10em;
  margin: 1em auto;
}

form div.filterLine {
  display: flex;
  width: calc(100% - 4px);
  flex-flow: row;
  column-gap: 3px;
  flex-wrap: wrap;
  margin: 2px;
  box-sizing: border-box;
}

.filterLine div {
  display: flex;
  flex-flow: column;
  row-gap: 3px;
}

.ayPortalCol input {
  font-size: var(--systemFontSize) !important;
}

.filterLine .qInt {
  display: flex;
  flex-flow: row;
  flex-wrap: nowrap;
  border: 1px solid black;
  height: 1.5rem;
}

.filterLine .qInt input {
  border: none;
  height: 1.2rem;
  padding: 2px 0px;
}

.filterLine button {
  padding: 0em;
  margin: 1.3rem 1rem 0.3rem;
  height: 1.7rem;
}

.filterLine button img {
  height: 1.4rem;
}

.filterLine input {
  padding: 2px 2px;
  height: 1.2rem;
  font-size: 1rem;
}

.filterLine .qInt label {
  margin-top: 0.2em;
}

.BoxFilter {
  height: 4em;
}

.BoxFilter input {
  max-height: 3em;
}

.dataBoxTable {
  max-width: 98%;
  margin-left: 1.3em;
  border-bottom: 1px solid;
  padding: 0.2em;
}

.dataBoxTable table {
  width: 100%;
  margin-top: 1em;
}

.dataBoxTable table tr th,
.dataBoxTable table tr td {
  width: 20%;
  text-align: center;
}

.dataBoxTable table tr td:first-child,
.dataBoxTable table tr th:first-child {
  width: 10%;
}

.dataBoxTable table tr td:last-child,
.dataBoxTable table tr th:last-child {
  width: 60%;
  text-align: left;
}

.dataBoxTable .fieldLabel {
  font-weight: 600;
  margin-bottom: 1em;
}

.dataBoxTable tr {
  border: 1px solid;
}

.dataBoxTable th,
.dataBoxTable td {
  border-bottom: 1px solid;
}

.dataBoxTable tr:last-child {
  border-bottom: none;
}

.ayPortal.ayPortalHelp h2 {
  margin-left: 10px;
}

.dataBoxStatus {
  border: 1px solid;
  padding: 1em;
  width: 25em;
}

.fileIcon img {
  min-height: 2rem;
  max-height: 2rem;
  max-width: 4rem;
  margin-right: 3px;
}

.filesBox h4 {
  width: 100%;
  margin-bottom: 1em;
}

.filesBox .fileBox {
  width: MIN(30rem, 30%);
  border: 1px solid green;
  margin-right: 1em;
  padding-left: 1em;
  margin-bottom: 1em;
}

.portalDownload {
  color: green;
  font-size: 0.83em;
}

.filesBox .fileBox h5,
.filesBox .fileBox h6 {
  font-size: 1rem;
  color: black;
  margin-bottom: 1rem;
}

.invisible {
  display: none;
}

.errMsgSet {
  border-color: #780000;
  background-color: #ecb3b3;
  padding: 1em;
  width: MIN(30em, 90vw);
}

.errMsgSet legend {
  font-weight: 600;
  background-color: white;
}

.dataBoxStatus textarea,
.errMsgSet textarea {
  min-width: 20em;
  width: calc(100% - 2em);
  height: 5em;
}

.feClipList {
  display: flex;
  flex-flow: column;
  max-width: MIN(100%, 35em);
}

.feClipList .feClip {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  border-radius: 4px;
  margin-bottom: 1px;
  border: 1px solid #656620;
}

.feClipList .feClipIcon {
  padding: 3px;
  display: flex;
}

.feClipList .feClipIcon img {
  margin: auto 3px auto 3px;
  font-size: 5rem !important;
  min-width: 5rem !important;
}

.feClipList .feClipBody {
  font-size: 1rem;
  padding: 3px;
}

.feClipList .feClipBody .feClipButtons {
  display: flex;
  flex-flow: row wrap;
  margin: 3px;
}

.ayOffer h2 {
  color: #4d8c00;
}

.guttaOfferRows {
  min-height: 6px;
  max-height: 6px;
}

.warningBox {
  border: 2px solid #780000;
  border-radius: 3px;
}

.warningBox p {
  font-size: 1.2rem;
  color: #780000;
  text-align: center;
}

.dataBox {
  border: 1px solid #c5fc7f;
}

.ayPortalHelp .dataBox {
  border: none;
}

.dataBox.boxAddress {
  background-color: #fcfff7;
}

div.boxHead {
  border: 1px solid #eae9e9;
}

table.offerItems th {
  background-color: #f5ffe7;
  font-family: "Tahoma", "Rokkit";
  padding-bottom: 0.5em;
}

button.filterButton,
.ButtonBox button {
  background-color: #f5ffe7;
  transition: all 0.5s;
}

button.filterButton:hover,
.ButtonBox button:hover {
  background-color: #bddf8f;
  transition: all 0.5s;
}

.dataBox.boxBg {
  background-color: #fcfff7;
}

html {
  background-color: white;
}

.ayPortalHead {
  background-color: #f5ffe7;
}

.ayPortalLeftPanel {
  background-color: #f5ffe7;
}

.ayPortalRightPanel {
  border: 1px solid #4d8c00;
}

.ayPortalBody,
.ayPortalCol,
.ayPortalHelp {
  background: #fbfcfa;
}

.rightTopPanel button,
.ayPortalLeftPanel button {
  background-color: #f5ffe7;
}

div.aboutYou,
div.aboutYou a {
  color: #070806;
}

.rightTopPanel button,
.rightTopPanel button a,
.ayPortalLeftPanel button a {
  color: black;
  text-decoration: underline;
  text-decoration-color: #656620;
}

.rightTopPanel button:hover,
.rightTopPanel button:hover a,
.ayPortalLeftPanel:hover button a {
  text-decoration: underline;
  text-decoration-color: #0d0b6b;
}

.rightTopPanel button {
  height: 100%;
  min-width: 4em;
  max-width: 6em;
  border: none;
  font-size: inherit;
}

.ayPortalLeftPanel button {
  height: 5em;
  width: 100%;
  margin-top: 1em;
  border: none;
  text-align: left;
  font-size: inherit;
}

.ayPortalLeftPanel .ayPortalLButtons button.active,
.ayPortalHead button:hover,
.ayPortalLeftPanel button:active,
.ayPortalLeftPanel button:hover {
  color: black;
  background-color: #bddf8f;
  transition: all 0.5s;
}

button.defaultButton {
  font-size: 100%;
  background-color: #c8e0a5;
  transition: all 0.5s;
}

button:disabled,
button.defaultButton:disabled {
  background-color: #d0d8c3;
}

.ayPortalFooter {
  background: linear-gradient(to left top, #94c45a, #4d8c00);
}

div.footerBox {
  color: white;
}

.dataBoxLineLong {
  width: 80%;
  margin: 0.8em 0.8em;
}

.ayPortalHelp .boxHead,
.ayPortalHelp.boxHead {
  margin-left: 0.8em;
}

.dataBoxLineLong .fieldLabel {
  font-weight: 600;
}

.portalRow {
  column-count: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 3px;
  border-bottom: 1px solid #c5fc7f;
}

.dataOrder,
.dataOrderColumn2 {
  display: flex;
}

.orderCol1 {
  width: 80%;
}

.orderCol1 h3 {
  margin-top: 0.1em;
  margin-bottom: 0.1em;
  color: #007c29;
}

.orderCol2 {
  width: 5% 2;
}

.orderCol3 {
  width: 50%;
}

.orderCol4 {
  width: 50%;
}

.orderCol4 textarea {
  width: 100%;
  height: 4.8em;
}

body.crmPortal {
  background-image: url("/frm/css/img/back-light.png");
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0 !important;
  padding: 0 !important;
  height: 100vh;
  width: 100vw;
}

.crmPortalLogin {
  display: block;
  background-image: url("/sys/css/background-colors.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  margin: 0 !important;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.crmPortalLogin .containerLogin {
  background-color: #fcfff8;
  padding: 0.5em;
  border: solid 3px #98cb50;
  border-radius: 3px;
  margin: 3px auto;
}

.crmPortalLogin .mainLogo img {
  min-height: 3em;
  max-height: 3em;
}

.crmPortalLogin .mainLogo {
  text-align: right;
  padding-right: 1em;
}

.containerLogin fieldset.loginbox {
  max-width: MIN(20em, calc(100vw - 4em));
  padding: 1.5em;
  background-color: #f5ffe7;
  border: solid 3px #98cb50;
}

.loginBody {
  border: solid 3px #98cb50;
}

.filterLine {
  padding-bottom: 6px;
  border-bottom: 3px solid #94c45a;
}

.filterLine label {
  color: #4d8c00;
}

button.longTextButton:disabled,
button.longTextButton:disabled:hover {
  background-color: #a8bba8;
  color: white;
}

.dataBoxTable .fieldLabel {
  color: #4d8c00;
}

.dataBoxTable table,
.dataBoxTable tr {
  border-color: #e4f7ce;
}

.dataBoxTable th,
.dataBoxTable td {
  border-bottom-color: #e4f7ce;
}

.dataBoxTable {
  border-color: #4d8c00;
}

.dataBoxStatus {
  border-color: #4d8c00;
  background-color: #fdffef;
  color: #253823;
}

.dataBoxStatus legend {
  font-weight: 600;
}

.dataBoxHeader {
  background-color: #f7fdf5;
}

.discInternalUser {
  background-color: #f7fdf5;
  margin-left: 1em;
  color: #356100;
}

.discObjNote.discInternalUser h5 {
  color: #4d8c00;
}

.discObjNote.discInternalUser p,
.discObjNote.discWebUser p {
  margin: 0em 2em;
}

.discObjNote.discWebUser h5,
.discObjNote.discInternalUser h5 {
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

.ayLineStatus {
  grid-template-columns: 1fr 1fr 1fr 1fr;
  column-count: 4;
  height: 4rem;
  margin-bottom: 2rem;
}

.ayStatusOK,
.ayStatusNo,
.ayStatusActiv {
  text-align: center;
  height: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ayStatusOK {
  border-bottom: 0.25rem outset #08d312;
  color: #558d58;
}

.ayStatusActiv {
  border-bottom: 0.25rem outset #53ff5b;
  color: #024906;
}

.ayStatusNo {
  border-bottom: 0.25rem outset #c6c7c6;
  color: #c6c7c6;
}

@media (min-width: 40em) and (min-height: 30em) {
  .buttonLine .lineButton {
    font-size: 250%;
  }

  .buttonLineEnv .tPart {
    font-size: 0.7em;
    padding-right: 0.3em;
  }

  .childDiv .buttonLineEnv .lineButton {
    font-size: 200%;
  }

  .dashBLine .lineButton {
    margin: 0.1em 0.2em 0.2em 0.2em;
  }

  .subnav,
  .cmMenuBox {
    border-radius: 0.6em;
  }

  .subnav {
    box-shadow: 3px 5px 19px -1px rgba(0, 0, 0, 0.71);
  }

  .bottomWarnMessageBDiv {
    width: 10em;
    padding: 1em;
  }

  .bottomWarn p,
  .bottomWarnMessage,
  .bottomWarnMessage p {
    font-size: 150%;
  }

  .bottomWarn h3 {
    font-size: 150%;
  }

  .ayPortalRightPanel {
    height: 100%;
    max-height: calc(100vh - 15em);
    overflow-y: auto;
  }

  main.amPortalLargeObjDetail {
    height: 100vh;
  }

  .ayPortalCol {
    margin: 0em;
    padding: 1em;
  }

  .ayPortal {
    max-width: 95.5em;
    margin: 3px auto;
  }

  .crmPortalLogin .containerLogin {
    margin: 3px auto;
    --mW: calc(100vw - 2em);
    width: MIN(50em, var(--mW));
  }
}

@media (max-width: 70em) {
  table.offerItems.tbody,
  table.offerItems tbody {
    border: solid;
    margin: 1em 0 0.5em 0;
  }

  div.boxH {
    column-count: 1;
    display: grid;
    text-align: right;
  }

  div.boxH1,
  div.boxH2 {
    text-align: right;
    width: 90%;
  }

  .ayPortalFooter {
    column-count: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ayPortalHead .rightTopPanel {
    column-count: 1;
    display: grid;
  }

  .ayPortalHead {
    height: 14em;
    max-height: 14em;
  }

  .boxesLogo img {
    max-width: 10em;
    max-height: 5em;
    margin-top: 1em;
    margin-left: 1em;
  }

  .boxesLogo {
    margin: auto;
  }

  .ayPortalHead {
    column-count: 2;
    display: grid;
    grid-template-columns: 2fr 3fr;
  }
}

@media (max-width: 39.9em), (max-height: 29.9em) {
  .buttonLine .lineButton {
    font-size: 140%;
  }

  .childDiv .buttonLine .lineButton {
    font-size: 125%;
  }

  .buttonLine .tPart {
    font-size: 0.8em;
    padding-right: 0.1em;
  }

  .bottomWarn p,
  .bottomWarnMessage,
  .bottomWarnMessage p {
    font-size: 110%;
  }

  .bottomWarn h3 {
    font-size: 130%;
  }

  .ayPortalRightPanel {
    max-height: none;
  }

  main.amPortalLargeObjDetail {
    max-height: 100vh;
    overflow-y: auto;
  }

  .ayPortal {
    max-height: none;
    height: auto;
    overflow-y: auto;
    padding: 0;
    background: none;
    background-color: none;
  }

  .extPortal .ayPortalLeftPanel {
    display: none;
  }

  .ayPortalBody,
  .ayPortalHelp {
    display: flex;
    flex-flow: column;
  }

  .ayPortalLeftPanel {
    min-width: 100vw;
    width: 100vw;
  }

  .ayPortalLeftPanel,
  .ayPortalLeftPanel .ayPortalLButtons {
    display: flex;
    flex-flow: row;
    flex-wrap: nowrap;
    height: 6em;
  }

  .ayPortalLeftPanel .ayPortalLButtons {
    width: auto;
  }

  .ayPortalLeftPanel button {
    max-height: 100%;
    max-width: 10em;
    text-align: center;
  }

  .crmPortalLogin {
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
  }

  .crmPortalLogin .containerLogin {
    max-height: 100vh;
    max-width: 100vw;
    margin: 0;
    overflow-y: auto;
  }

  .filesBox .fileBox {
    width: 90%;
  }

  .rightTopPanel button,
  .ayPortalLeftPanel button {
    border: solid 1px black;
    border-radius: 3px;
  }

  .portalRow,
  .dataOrder {
    display: grid;
    column-count: 1;
    grid-template-columns: 1fr;
  }

  .dataOrderColumn2 {
    column-count: 2;
    display: grid;
    grid-template-columns: 5fr 2fr;
  }

  .orderCol1 {
    width: 80%;
  }

  .orderCol2 {
    width: 20%;
  }

  .orderCol3,
  .orderCol4 {
    width: 100%;
  }

  .orderCol4 textarea {
    width: 100%;
  }

  .ayStatusNo,
  .ayStatusOK,
  .ayStatusActiv {
    font-size: smaller;
  }
}

@media (min-width: 40em) and (max-width: 89.9em) and (min-height: 30em) {
  .filesBox .fileBox {
    width: 40%;
  }

  .ayStatusNo,
  .ayStatusOK,
  .ayStatusActiv {
    font-size: smaller;
  }
}