@media only screen and (max-width: 480px)
{
  .readonly,
  input[readonly="readonly"],
  input[readonly="readonly"]:hover,
  .k-input[readonly="readonly"],
  .k-dropdown.readonly .k-dropdown-wrap
  {
    font-style: normal !important;
    border-color: rgba(0,0,0,.15);
    /* color: #656565; */
    color: #656565;
    background: white !important;
    background-image: none;
    cursor: default !important;
  }

  .table h1,
  .table h2,
  .table h3
  {
    line-height: 1em;
  }

  .wrapper
  {
    width: 100%;
  }

  .container
  {
    padding: 12px;
  }

  .accordion
  {
    margin-bottom: 12px;
  }


  h1 { font-size: 20px; }
  h2 { font-size: 16px; }
  h3 { font-size: 14px; }

  header
  {
    position: fixed;
    width: 100%;
    height: 64px;
    z-index: 30;
  }

    header .container
    {
      padding: 0 12px;
    }

  section
  {
    margin: 0;
  }

  .view-login header
  {
    position: static;
  }

  .loginNameWrapper
  {
    display: none;
  }

  .logo
  {
    /* margin-top: 8px; */
  }

    .logo a
    {
      font-size: 20px;
    }

    .logo img
    {
      height: 30px;
    }


#actionBar.footer .spinner-gray
{
  /* display: inline-block; */
  width: 16px;
  height: 16px;
  background: url('../images/spinner-white.gif') center center no-repeat;
}


  #dashboard
  {
    margin-left: 0;
    margin-right: 0;
  }

  #dashboardHeader
  {
    position: fixed;
    top: 0;
    z-index: 30;
    color: white;
    height: 67px;
    padding: 0;
    margin: 0;
    margin-top: -3px;
    /* border-bottom: 1px solid brown; */
  }

    #dashboardHeader h1
    {
      color: white;
    }

    #dashboardHeader .date
    {
      text-align: right;
    }

    #dashboardInfo .container > table
    {
      left: 0;
    }

      #dashboardInfo .container > table td
      {
        padding: 2px 0;
        font-size: 12px;
      }

  #dashboardHeader .container
  {
    padding: 24px;
  }

    #dashboardHeader .date
    {
      font-size: 12px;
      display: none;
    }

  #dashboardInfo .container
  {
    padding: 12px 12px;
  }

    #dashboardInfo .container table tr td:first-child
    {
      width: 100px !important;
      padding-right: 12px;
      /* padding-left: 12px; */
      white-space: nowrap;
    }

  #breadcrumbWrapper
  {
    /* display: none; */
  }

  #breadcrumbMobile
  {
    min-width: 40px;
    padding: 0;
    margin: 0;
    margin-right: -8px;
    background: none;
    /* border: none; */
    color: white;
  }

    #breadcrumbMobile .k-icon
    {
      font-size: 32px;
    }

  #drawerContentOverlay
  {
    top: 64px;
  }

    #drawerNav
    {
      width: 300px;
      position: fixed;
      height: 100%;
      top: 64px;
      z-index: 30;
      box-shadow: 4px 4px 6px rgba(0,0,0,0.2);
    }

      #drawerNav.open
      {
        width: 300px;
        left: 0;
      }

      #drawerNav.closed
      {
        width: 300px;
        left: -300px;
      }

      #drawerNav li:last-child
      {
        bottom: 110px;
      }

      /* #drawerNav nav 
      {
        position: absolute;
        width: 300px;
        z-index: -1;  
      }

      #drawerNav li
      {
        width: 100%;
        height: 40px;
        margin-bottom: 4px;
      }

      #drawerNav li > span
      {
        padding: 8px;
        height: 40px;
        display: inline-block;
        margin-left: 18px;
      }

      #drawerNav li > span a 
      {
        width: 100%;
        height: 40px;
        display: inline-block;
      }

      #drawerNav li.active a
      {
        font-weight: bold;
      }

      #drawerNav button
      {
        min-width: 40px !important;
        max-width: 40px !important;
        height: 40px !important;
        font-weight: bold;
        font-size: 17px;
      }

    #drawerContent
    {
      margin-left: -24px;
      position: relative;
    } */

    #drawerContent
    {
      padding-top: 64px;
      padding-left: 0;
    }

/* button.js-button, */
button.js-button.mobile
{
  min-width: 40px;
  max-width: 40px;
}

.statusBox
{
  width: 100px;
  font-size: 10px;
}

.dialog .actionBar
{
  margin: 0;
  bottom: 0;
  position: absolute;
  width: calc(100% - 24px);
  padding: 12px 0;
}

#contactPhoto
{
  width: 50px;
  height: 50px;
}

#actionBar button
{
  min-height: 20px !important;
}

#actionBar button.js-button
{
  border: 1px solid #666;
  min-width: 40px;
  width: 50px;
  font-size: 9px;
  margin: 0 6px;
  background: none;
  color: white;
}

#actionBar button.js-button .k-icon
{
  display: block;
  position: absolute;
  margin-top: -8px;
}

#actionBar button.js-button .spinner-text
{
  margin-bottom: -22px;
  font-size: 9px;
  color: white;
}

  #actionBar.header button.js-button .spinner-text
  {
    color: #656565;
  }

  #actionBar button.js-button-green
  {
    background: #24A40B;
    color: white !important;
  }

    #actionBar button.js-button-green .spinner-text
    {
      color: white !important;
    }

  #actionBar button.js-button-red
  {
    background: #E61E15;
    color: white !important;
  }

    #actionBar button.js-button-red .spinner-text
    {
      color: white !important;
    }


#frmGridDialogButtons
{
  text-align: right;
  position: absolute;
  bottom: 0;
  background: white;
  width: 100%;
  padding: 12px;
  left: 0;
  z-index: 10;
  border-top: 1px solid rgba(0,0,0,.08);
}

  #frmGridDialogButtons .k-button
  {
    min-width: 80px;
  }

  .k-window
  {
    min-width: 100% !important;
    width: 100% !important;
  }

  .k-edit-form-container
  {
    min-width: 100%;
    width: 100%;
  }

  .k-edit-form-container .k-edit-buttons
  {
    margin: 16px -24px -24px -24px;
    padding: 16px 24px;
  }

  .k-edit-label
  {
    color: gray;
    font-size: 12px;
    font-weight: bold;
    width: 100%;
    text-align: left;
    float: none;
    padding: 0;
    margin: 0;
    /* margin-bottom: 8px; */
  }

    .k-edit-form-container label
    {
      position: relative;
      top: 9px;
      left: 8px;
      padding: 0 6px;
      margin: 0;
      color: silver;
      font-weight: bold;
      background: white;
      z-index: 10;
    }

  .k-edit-field
  {
    width: 100%;
    float: none;
    margin-bottom: 0;
  }

  #workOrders #newWorkOrder
  {
    margin-top: 8px;
  }

  #messages
  {
    position: fixed;
    top: 60px;
    z-index: 20;
    width: 100%;
    margin: 0;
  }

    #messages .close
    {
      position: absolute;
      right: 24px;
    }

    #messages .content
    {
      width: 80%;
    }

  .toggle
  {
    position: fixed;
    top: 12px;
    right: 12px;
  }

    .toggle span
    {
      color: white;
    }

      .toggle.active span:last-of-type
      {
        color: gray;
      }


  .k-window-content {
    padding: 12px;
  }


  /* COMBOBOX DIALOG */

  #comboboxDialogContainer
  {
    width: 100%;
  }

  #comboboxDialogGridHeader
  {
    width: 100%;
  }

  #comboboxDialogGridGroupingHeader
  {
    width: 100%;
    height: 40px;
    background: #bbb;
    text-align: left;
    color: white;
    font-size: 14px;
    padding: 10px 8px;
    position: relative;
    z-index: 1;
  }

  #comboboxDialogGridHeader th,
  #comboboxDialogGridBody td
  {
    height: 40px;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-left: 12px;
  }

  #comboboxDialogGridHeader th
  {
    background: #f6f6f6;
    color: gray;
    border-left: 1px solid rgba(0,0,0,0.08);
    border-right: 1px solid rgba(0,0,0,0.08);
    text-align: left;
  }

  #comboboxDialogGridBody
  {
    width: 100%;
    height: 350px;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: scroll;
    overflow-x: none;
    position: relative;
  }

  #comboboxDialogGridBody.loading
  {
    background: url(../images/spinner-gray.gif) center center no-repeat;
  }

  #comboboxDialogGridBody.grouping
  {
    top: -40px;
  }

  #comboboxDialogGridBody table
  {
    width: 100%;
    /* height: 100%; */
  }

    #comboboxDialogGridBody .grouping td
    {
      background: #bbb;
      text-align: left;
      color: white;  
      font-size: 14px;
      padding: 4px 8px;
    }

  #comboboxDialogGridBody td
  {
    background: white;
    font-size: 12px;
  }

  #comboboxDialogGridBody button.edit
  {
    border: 1px solid rgba(0,0,0,0.08);
    height: 30px;
    width: 30px;
    padding: 8px;
    border-radius: 4px;
    background: #f6f6f6;
    margin-right: 3px;
    display: none;
    /* position: absolute; */
    /* right: 0; */
    /* top: 0; */
    font-size: 12px;
    color: gray;
  }

  #comboboxDialogGridBody button.edit.active
  {
    display: block;
  }

  #comboboxDialogGridBody tr.highlight td
  {
    /* background: #f6f6f6; */
    background: rgba(245,131,41,0.25);
  }

  #frmComboboxDialogButtons
  {
    text-align: center;
    padding: 4px 0;
    margin-top: -41px;
    border-top: 1px solid rgba(0,0,0,0.08);
    height: 50px;
    margin-right: -12px;
    margin-left: -12px;
    /* box-shadow: 0px 3px 8px; */
    position: absolute;
    bottom: 0;
    width: 100%;
  }

    #frmComboboxDialogButtons button.k-button.addItem
    {
      margin: 0;
      width: 46%;
      border-color: rgba(0,0,0,0.08);
      display: inline-block;
      color: rgba(0,0,0,0.5);
    }

      #frmComboboxDialogButtons button.k-button.addItem:first-child
      {
        float: left;
        margin-left: 10px;
      }

      #frmComboboxDialogButtons button.k-button.addItem:last-child
      {
        float: right;
        margin-right: 10px;
      }

   

  @keyframes changeColor{
    from {
      background: rgb(206,230,255);
    }

    to {
      background: rgb(255,255,255);
    }
  }

  .k-grid-content tr.loading td
  {
    animation-duration: 0.5s;
    animation-name: changeColor;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }

  #pdfPreview
  {
    width: 100%;
    height: 600px;
    margin-top: 34px;
    border-top: 1px solid silver;
  }

  #CreatorApproverOverrideContainer
  {
    align-items: normal;
  }

    #CreatorApproverOverrideContainer.flexgrid-direction-column .flexgrid-col
    {
      margin-bottom: 0;
    }

      #CreatorApproverOverrideContainer[data-context="preview"]
      {
        width: auto;
        margin: 60px 0 -24px 0;
      }

      #CreatorApproverOverrideContainer[data-context="edit"]
      {
        margin: 0 0 48px 0;
      }

      #OverrideApprover
      {
        margin-top: 24px;
      }

  .tabstrip
  {
    width: calc(100vw - 24px);
  }  

  #menuButtons .flexgrid-direction-column .flexgrid-col
  {
    margin-bottom: 12px;
  }

  h3 span span.description
  {
    display: block;
    font-size: 10px;
    font-style: italic;
  }

  h3 span span.subTitle1 
  {
    font-size: 12px;
    font-style: normal;
  }

  h3.title
  {
      margin-left: 0px !important;
  }

  h3 span.subTitle
  {
    padding-left: 12px;
  }

  h3 span.objectTitle{
    border-right: 1px solid white;
    padding-right: 12px;
  }
}

@media only screen and (min-width: 1024px)
{
  #timeCard form
  {
    width: 100%;
  }
}

/* third party responsive Kendo grid implementation */
/* @media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) { */
@media only screen and (max-width: 480px)
{
  .k-grid.mobile table,
  .k-grid.mobile thead,
  .k-grid.mobile tbody,
  .k-grid.mobile th,
  .k-grid.mobile td,
  .k-grid.mobile tr {
    display: block;
  }

  .k-grid.mobile .k-grid-header {
    display: none;
  }

  .k-grid.mobile tr {
    text-align: left;
    border: 1px solid #ccc;
  }

  .k-grid.mobile td {
    text-align: right !important;
    height: 50px;
    padding: 18px 12px 6px 12px;
  }

  .k-grid.mobile td:before,
  .k-grid.mobile td .before
  {
    float: left;
    font-weight: bold;
    font-size: 12px;
    color: silver;
    /* content: attr(data-title); */
  }

  .k-grid.mobile td.k-edit-cell:before {
    content: '';
  }

  .k-grid.mobile td.k-edit-cell {
    /* height: 36px; */
    padding: 6px 12px 6px 12px;
  }

  .k-grid.mobile .k-grid-header th.k-header[data-title] {
    border: none;
    display: inline-block;
  }

  .k-grid.mobile tr.k-filter-row th:empty,
  .k-grid.mobile tr td.k-group-cell,
  .k-grid.mobile td:empty,
  .k-grid.mobile .k-grid-header th.k-header,
  .k-grid.mobile .k-grid-header th.k-header.k-group-cell,
  .k-grid.mobile .k-grid-header th.k-header.k-hierarchy-cell {
    /* display: none; */
  }

  .k-grid.mobile tr:nth-child(even) td
  {
    /* background: #ededed; */
    background: #f6f6f6;
    border-bottom: 1px solid #ccc;
  }
}