﻿html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  padding-top: 56px;
}

@media (max-width: 767.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    background-color: var(--gray-dark);
    transition: -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  .offcanvas-collapse.open {
    -webkit-transform: translateX(-1rem);
    transform: translateX(-1rem); /* Account for horizontal padding on navbar */
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: var(--secondary);
}

.nav-underline .nav-link:hover {
  color: var(--blue);
}

.nav-underline .active {
  font-weight: 500;
  color: var(--gray-dark);
}

.text-white-50 { color: rgba(255, 255, 255, .5); }

.bg-purple { background-color: var(--purple); }

.border-bottom { border-bottom: 1px solid #e5e5e5; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

.lh-100 { line-height: 1; }
.lh-125 { line-height: 1.25; }
.lh-150 { line-height: 1.5; }

.Gride {
    border: none !important;
    font-size: 8pt !important;
}

.Gride tbody tr td,
.Gride thead tr th {
    text-align: center !important;
    vertical-align: middle !important;
    white-space: pre-wrap !important;
}

    .Gride th {
        background-color: #6699cc !important;
        border-top: none !important;
        border-bottom: thin solid #3f79b4 !important;
        color: #FFF !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

        .Gride th:last-child {
            border-right: thin solid #6699cc !important;
        }

    .Gride tr:nth-child(even) td {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .Gride tr:nth-child(odd) td:not(.acaoExcluir) {
        background-color: #F0F0F0 !important;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

.Gride td {
    border-top: none;
    border-bottom: none;
    border-left: thin solid #EEE;
    border-right: thin solid #DDD;
}

    .Gride tr:hover td:not(.acaoExcluir) {
        background-color: #E3E3E3 !important;
    }

    .Gride tr:last-child td {
        border-bottom: thin solid #CCC;
    }

.Gride tr{
    width: 100%;
    display: inline-table;
    table-layout: fixed;
}

.objHidden{
    display: none !important;
}