/*
 GreenEco Meetings — Issue entry solution width correction
 Scope: "إضافة مشكلة / حل مقترح" screen only.
 The risk column is fixed to its real control width and the released space
 is assigned to "الحلول والمقترحات".
 Printing is intentionally untouched.
 Version: 3.3.16.44.2.501
*/

@media screen {
  html.greeneco-meetings-route .meeting-issue-exact-entry .meeting-issue-entry-grid,
  body.greeneco-meetings-route .meeting-issue-exact-entry .meeting-issue-entry-grid{
    /*
      DOM order:
      1 الرقم
      2 المشاكل
      3 درجة المخاطر
      4 الحلول والمقترحات
    */
    grid-template-columns:
      55px
      minmax(260px,1.35fr)
      120px
      minmax(360px,1.75fr)!important;
  }

  html.greeneco-meetings-route .meeting-issue-exact-entry .meeting-issue-entry-risk,
  body.greeneco-meetings-route .meeting-issue-exact-entry .meeting-issue-entry-risk{
    width:120px!important;
    min-width:120px!important;
    max-width:120px!important;
    padding-inline:5px!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }

  html.greeneco-meetings-route .meeting-issue-exact-entry .meeting-issue-entry-risk select,
  body.greeneco-meetings-route .meeting-issue-exact-entry .meeting-issue-entry-risk select{
    width:108px!important;
    min-width:108px!important;
    max-width:108px!important;
    margin:auto!important;
  }

  html.greeneco-meetings-route .meeting-issue-exact-entry .meeting-issue-entry-solution,
  body.greeneco-meetings-route .meeting-issue-exact-entry .meeting-issue-entry-solution{
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    background:#fff!important;
  }

  html.greeneco-meetings-route .meeting-issue-exact-entry .meeting-issue-entry-solution textarea,
  body.greeneco-meetings-route .meeting-issue-exact-entry .meeting-issue-entry-solution textarea{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    box-sizing:border-box!important;
  }
}

@media screen and (max-width:900px){
  html.greeneco-meetings-route .meeting-issue-exact-entry .meeting-issue-entry-grid,
  body.greeneco-meetings-route .meeting-issue-exact-entry .meeting-issue-entry-grid{
    min-width:850px!important;
    grid-template-columns:
      55px
      minmax(240px,1.25fr)
      120px
      minmax(320px,1.65fr)!important;
  }
}
