/*
 * Copyright 2016 Google Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*a:active, a:active * { outline: none !important; -moz-outline-style: none !important; }
a:focus, a:focus * { outline: none !important; -moz-outline-style: none !important; }*/

html, body {
  padding: 0;
  margin: 0;
  min-height: 100vh;
  width: 100%;
  font-family: 'Helvetica', 'Verdana', sans-serif;
  font-weight: 400;
  color: #1c4840;
  overscroll-behavior: contain;
}

body {
    width: 100vw;
    height: 100vh;
    background: #f9f9fb;
    overflow: hidden;
    overscroll-behavior: contain;
}

#pagina {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    overscroll-behavior: contain;
}

#cos {
    width: 100%;
    overscroll-behavior: contain;

}

#menu {
    position: fixed;
    width: 240px;
    height: 360px;
    top: -400px;
    left: 0px;
    padding: .5em;
    background-color: #979797;
    transition: top 1s cubic-bezier(0, 0, 0.21, 1);
    z-index: 999;
}

#container {
    width: 94%;
    margin: 72px auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /*border: 1px solid #e4e4e6;*/
    overscroll-behavior: contain;
}

#barra-sup {
    flex: 1 1 0;
    display: flex;
    max-height: 80px;
}

.inner {
    overflow: auto;
    border: 1px solid #bcbcbd;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;

}

.table-scroll {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 100px;
    font-size: .8em;
    overscroll-behavior: contain;
}

.table-scroll thead tr {
    width: 100%;
    font-size: .8em;
    color: #6a6a6b;
    font-weight: 400 !important;
}

.table-scroll thead th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    font-weight: 400;
    z-index:100;
}

.table-scroll thead th:first-child {
    background-color: #ffffff;
    z-index:101;
    left: 0;
}

.table-scroll tbody td:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background-color: #ffffff;
    z-index:100;
}

.table-scroll tbody tr {
    width: 100%;
    background-color: #e4e4e6;
    color: #6a6a6b;
 }

.table-scroll tbody tr:nth-child(odd) {
    background-color: #d0d0d2;
}

.table-scroll tbody tr:hover {
    background-color: #f9f9fb;
    color: #232323;
}

.table-scroll td, th {
    padding: .5em;
    border-right: 1px solid #bcbcbd;
    border-bottom: 1px solid #bcbcbd;
}

.table-scroll tfoot tr {
    width: 100%;
    background-color: #e9e9e9;
    font-size: .8em;
    color: #333333;
    font-weight: bold;
    border-bottom: 1px solid #f4f4f4;
}

.table-scroll-v {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 100px;
    font-size: .8em;
    border-left: 1px solid #fbfbfb;
    border-top: 1px solid #fbfbfb;
    overscroll-behavior: contain;
}

.table-scroll-v thead tr {
    width: 100%;
    font-size: .8em;
    color: #6a6a6b;
    font-weight: 400 !important;
}

.table-scroll-v thead th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    font-weight: 400;
    z-index:100;
}

/*.table-scroll thead th:first-child {
    background-color: #ffffff;
    z-index:101;
    left: 0;
}

.table-scroll tbody td:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background-color: #ffffff;
    z-index:100;
}*/

.table-scroll-v tbody tr {
    width: 100%;
    background-color: #e4e4e6;
    color: #6a6a6b;
 }

/*.table-scroll tbody tr:nth-child(odd) {
    background-color: #d0d0d2;
}

.table-scroll tbody tr:hover {
    background-color: #f9f9fb;
    color: #232323;*/
}

.table-scroll-v td th{
    border-right: 1px solid #bcbcbd;
    border-bottom: 1px solid #bcbcbd;
}

.table-scroll-v td:hover {
    background-color: #fbfbfb;
    color: #232323;
}


.table-int {
    border-collapse: separate;
    border-spacing: 0;
    margin: .5em 1em 1em;
    border-left: 1px solid #bcbcbd;
    border-top: 1px solid #bcbcbd;
}

.table-int tr {
    width: 100%;
    background-color: #e4e4e6;
    color: #6a6a6b;
}                                 

.table-int tr:hover {
    background-color: #ffffff;
    color: #232323;
}

.table-int td {
    padding: .5em;
    border-right: 1px solid #bcbcbd;
    border-bottom: 1px solid #bcbcbd;
}                                 

.icon {
    display: inline-block;
    cursor: pointer;
}

.icon-crear {
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    background-image: url(../img/icon-p-c2.svg);
}

.icon-crear:hover {
    background-image: url(../img/icon-p-c1.svg);
}

.icon-refrescar {
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    background-image: url(../img/icon-r-c2.svg);
}

.icon-refrescar:hover {
    background-image: url(../img/icon-r-c1.svg);
}

.icon-editar {
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    background-image: url(../img/icon-e-c2.svg);
}

.icon-editar:hover {
    background-image: url(../img/icon-e-c1.svg);
}

.icon-insertar {
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    background-image: url(../img/icon-i-c2.svg);
}

.icon-insertar:hover {
    background-image: url(../img/icon-i-c1.svg);
}
