html.iframe header,
html.iframe #drawerNav,
/* html.iframe #documentDrawer, */
html.iframe #breadcrumb,
html.iframe #breadcrumb + hr.solid,
html.iframe footer
{
  display: none;
}

html.iframe
{
  padding-top: 64px;
}

html.iframe #CreatorApproverOverrideContainer[data-context="edit"]
{
  margin-top: 0;
}

html.iframe #documentDrawer
{
  top: 0;
}

html.iframe body
{
  margin: 0;
  padding: 0;
}

html.iframe main
{
  padding-bottom: 48px;
}

html.iframe #drawerContent
{
  padding-left: 0;
  padding-top: 0;
}

html.iframe #messages
{
  position: fixed;
  left: -24px;
  top: 65px;
  width: calc(100% - 24px);
  z-index: 10;
}

  /* html.iframe #messages.fixed
  {
    left: -24px;
    top: -24px;
    width: calc(100%);
  } */

    html.iframe #messages .close
    {
      /* margin-right: 0; */
    }

html.iframe #documentDrawerToggleIcon
{
  top: 50%;
}

#iframeDialog
{
  /* background: navajowhite; */
  background: white;

  display: block;
  position: fixed;
  z-index: 10;
  top: 88px;
  left: 90px;
  width: calc(100% - 42px);
  height: calc(100% - 65px);
  padding: 0 48px 24px 0;
  /* visibility: hidden; */
  transform: scale(0,0);
  transition: transform 0.2s;
}

  #iframeDialog.open
  {
    /* display: block; */
    /* visibility: visible; */
    transform: scale(1,1);
  }

  #iframeDialog.closed
  {
    /* display: none; */
    /* visibility: hidden; */
    transform: scale(0,0);
  }

#iframeDialog iframe
{
  border: none;
  overflow-x: none;
  overflow-y: auto;
  background: url('../images/spinner-orange-large.gif') center center no-repeat;
  background-color: white;

  height: 100%;
}

  #iframeDialog .iframeDialog-titlebar
  {
    position: fixed;
    padding: 12px 12px 12px 0;
    border-bottom: 1px solid #ddd;
    background: white;
    width: calc(100% - 92px);
    transition: width 0.2s;
  }

    #iframeDialog .iframeDialog-titlebar.loading
    {
      width: calc(100% - 50px);
    }

    #iframeDialog .iframeDialog-titlebar.open
    {
      width: calc(100% - 464px);
    }

    #iframeDialog .iframeDialog-titlebar .title
    {
      font-size: 20px;
      margin-left: 24px;
    }

    #iframeDialog .iframeDialog-titlebar .js-button
    {
      min-width: 40px;
      width: 40px;
      min-height: 40px;
      border-width: 1px;
      border-color: rgba(0,0,0,.08);
      border-radius: 3px;
      color: #656565;
      background-color: #f6f6f6;
      background-image: linear-gradient(#f6f6f6,#f1f1f1);
    }

    #iframeDialog .iframeDialog-titlebar .settings
    {
      margin-right: 12px;
    }

    #iframeDialog .iframeDialog-titlebar .close
    {
    }

@media only screen and (min-width: 481px)
{
  html.iframe main
  {
    padding-top: 0;
    margin-top: -56px;
  }

  html.iframe .sectionHeader
  {
    display: none;
  }
}

@media only screen and (max-width: 480px)
{
  html.iframe #documentDrawer
  {
    display: none;
  }

  #iframeDialog
  {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    z-index: 9999;
  }

    #iframeDialog .iframeDialog-titlebar
    {
      /* background: #d8a75e; */
      /* background: #F36E04; */
      /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f58329+0,f36e04+100 */
      background: #f58329; /* Old browsers */
      background: -moz-linear-gradient(top,  #f58329 0%, #f36e04 100%); /* FF3.6-15 */
      background: -webkit-linear-gradient(top,  #f58329 0%,#f36e04 100%); /* Chrome10-25,Safari5.1-6 */
      background: linear-gradient(to bottom,  #f58329 0%,#f36e04 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
      filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f58329', endColorstr='#f36e04',GradientType=0 ); /* IE6-9 */

      width: 100%;
      font-weight: bold;
      color: white;
      padding: 12px;
    }

    #iframeDialog .iframeDialog-titlebar.loading
    {
      width: 100%;
    }

    #iframeDialog .iframeDialog-titlebar .title
    {
      color: white;
      margin-left: 12px;
    }

    #iframeDialog .iframeDialog-titlebar .close
    {
      border: solid 1px white;
      background: transparent;
      color: white;
      /* margin-right: 12px; */
    }

  html.iframe #OverrideApprover
  {
    margin-top: 24px;
  }

  html.iframe #drawerContent
  {
    padding-top: 0;
  }

  html.iframe #timeEntryHeader,
  html.iframe #timeCardHeader
  {
    display: none;
  }

  html.iframe #messages
  {
    left: -12px;
    top: 52px;
    width: calc(100% + 24px);
  }

    html.iframe #messages .close
    {
      right: 34px;
    }

}