/* 
    Document   : GeraRelatorio
    Created on : May 22, 2014, 4:35:12 PM
    Author     : grkruger
    Description:
        Purpose of the stylesheet follows.
*/

.gr-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.gr-container * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

.gr-container *:not(i) {
    font-family: Arial,Verdana,sans-serif;
}

.gr-title-bar {
    /*background-color: #003C5C;*/
    height: 35px;
    width: 100%;
    color: white;
}

.gr-title-bar h2 {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    height: 100%;
    letter-spacing: 0;
    line-height: 34px;
    margin: 0;
    position: relative;
    width: auto;
}

.gr-title-icon {
    float: left;
    font-size: 16px;
    height: 100%;
    line-height: 32px;
    text-align: center;
    vertical-align: middle;
    width: 32px;
}

.gr-title-icon i {
    margin-top: 9px;
}

.gr-table-content {
    width: 100%;
    height: calc(100% - 75px);
    border: 1px solid #CCC;
    background-color: #FAFAFA;
    overflow: auto;
}

.gr-table-footer {
    width: 100%;
    height: 40px;
    border: 1px solid #CCC;
    background-color: #FAFAFA;
    border-top: none;
}

.gr-table {
    width: 100%;
    height: auto;
    border-collapse: collapse;
    empty-cells: show;
    border-spacing: 0;
}

.gr-table thead {
    height: auto;
}

.gr-table thead tr {
    background-color: #EEEEEE;
    font-size: 12px;
}

.gr-table thead tr th {
    border: 1px solid #DDDDDD;
    padding: 4px 22px 18px 4px;
    position: relative;
    background-color: transparent;
    color: #666666;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gr-table thead tr th.gr-table-th-container {
    font-size: 9px;
    font-weight: normal;
    line-height: 11px;
    padding: 1px 4px;
}

.gr-table-th-container {
    position: relative;
    width: auto;
}

.gr-table-filter-description {
    /*color: #999999;*/
    color: #FB9337;
    display: block;
    font-size: 9px;
    left: 0;
    max-width: 100%;
    overflow: hidden;
    position: absolute;
    text-overflow: ellipsis;
    top: 18px;
}

.gr-table-column-title {
    float: left;
    width: auto;
}

.gr-table-order-button {
    right: -22px;
}

.gr-table-filter-button {
    right: -22px;
    top: 16px;
}

.gr-table-thead-button {
    position: absolute;
    width: 18px;
    height: 18px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.gr-table-thead-button:hover {
    cursor: pointer;
}

.gr-table tbody tr td {
    border: 1px solid #DDDDDD;
    padding: 8px;
    font-size: 12px;
}

.gr-table thead tr th:first-child, .gr-table tbody tr td:first-child {
    border-left: none;
}

.gr-table thead tr th:last-child, .gr-table tbody tr td:last-child {
    border-right: none;
}

.gr-table tbody tr td {
    color: #666666;
    text-align: center;
}

.gr-table tbody tr td button {
    border: none;
    padding: 0;
    background: transparent;
    /*color: #849D98;*/
    color: #666666;
    font-size: 14px;
    height: 20px;
    margin: 0 1px;
    width: 20px;
}

.gr-table tbody tr td input[type="radio"], .gr-table tbody tr td input[type="checkbox"] {
    float: none;
}

.gr-table tbody tr td button[disabled] {
    color: #DDDDDD;
}

.gr-table-operation-description {
    float: left;
}

.gr-table-operation-value {
    float: right;
}

.gr-table-td-textarea {
    padding: 1px !important;
}

.gr-table tbody tr td textarea {
    background: transparent !important;
    color: #666666 !important;
    border: 0 !important;
}

.gr-table thead tr th .gr-table-filter-container {
    background: none repeat scroll 0 0 white;
    border: 1px solid #BBBBBB;
    box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.2);
    height: 150px;
    position: absolute;
    right: -230px;
    top: 8px;
    width: 200px;
    z-index: 2;
    display: none;
}

.gr-table thead tr th:last-child .gr-table-filter-container {
    right: 3px;
    left: auto;
}

.gr-table thead tr th .gr-table-filter-container:after {
    border-color: transparent white transparent transparent;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    content: " ";
    left: -10px;
    position: absolute;
    top: 5px;
}

.gr-table thead tr th:last-child .gr-table-filter-container:after {
    right: -10px;
    left: auto;
    border-color: transparent transparent transparent white;
    border-width: 10px 0 10px 10px;
}

.gr-table-filter-container input {
    border-radius: 0;
    border: 1px solid #BDBDBD;
    width: calc(100% - 20px);
    padding: 4px;
    height: 30px;
    margin: 10px;
    color: #666666;
}

.gr-table-filter-container select {
    border-radius: 0;
    border: 1px solid #BDBDBD;
    width: calc(100% - 20px);
    height: calc(100% - 60px);
    margin: 10px;
    color: #666666;
}

.gr-table-filter-container input:focus, .gr-table-filter-container select:focus {
    border-color: #3276B1;
}

.gr-table-filter-container .filter-action {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #EEEEEE;
    text-align: center;
    height: 40px;
}

.gr-table-filter-container .filter-action button {
    background: none repeat scroll 0 0 white;
    border: 1px solid #666666;
    color: #666666;
    display: block;
    float: left;
    font-size: 12px;
    height: calc(100% - 12px);
    margin: 6px 5px;
    padding: 0;
    width: calc(33% - 10px);
}

.gr-table-filter-container .filter-action button:hover {
    border: 1px solid #888888;
    color: #888888;
}

.gr-table-page-description {
    float: left;
    font-size: 13px;
    height: calc(100% - 20px);
    line-height: 17px;
    margin: 10px 0 10px 5px;
    width: auto;
}

.gr-table-page-direction:first-of-type {
    margin-right: 5px;
}

.gr-table-page-direction {
    float: right;
    width: 20px;
    height: calc(100% - 20px);
    border: 1px solid #666666;
    font-size: 12px;
    background: transparent;
    color: #666666;
    margin: 10px 1px;
    padding: 0;
}

.gr-table-page-number {
    border-color: #888888;
    color: #888888;
    padding: 0 2px;
    width: 28px;
}

.gr-table-page-direction[disabled] {
    border: 1px solid #CCCCCC;
    color: #CCCCCC;
}

.current-page {
    border-color: #FB9337;
    color: #FB9337;
}

.gr-table-page-direction:not([disabled]):hover {
    color: #FB9337;
}

.gr-nav-options {
    float: right;
    height: 100%;
}

.gr-nav-options > ul {
    float: left;
    height: 100%;
    list-style: none outside none;
    margin: 0 !important;
    padding: 0 !important;
}

.gr-nav-options > ul > li {
    /*background-color: #003C5C;*/
    float: left;
    height: 100%;
    text-align: center;
    width: 45px;
    position: relative;
}

/*.gr-nav-options > ul > li:after {
    content: '\f0d7';
    bottom: 7px;
    font-family: FontAwesome;
    font-size: 14px;
    position: absolute;
    right: 4px;
}*/

.gr-nav-options > ul > li i.down {
    font-size: 14px;
    position: absolute;
    right: 5px;
    top: 10px;
}

/*.gr-nav-options > ul > li:hover {
    background-color: #375675 !important;
}*/

.gr-nav-options > ul > li > a {
    color: white;
    display: inline-block;
    height: 100%;
    text-decoration: none;
    width: 100%;
}

.gr-nav-options-icon {
    display: inline-block;
    float: left;
    font-size: 16px;
    height: 100%;
    padding-top: 6px;
    width: 24px;
    margin-left: 4px;
}

.gr-nav-options-description {
    display: inline-block;
    float: left;
    height: 100%;
    line-height: 10px;
    padding: 6px;
    text-align: left;
    width: calc(100% - 28px);
}

.gr-nav-options > ul > li ul:after {
    border-color: transparent transparent white;
    border-image: none;
    border-style: solid;
    border-width: 10px;
    content: " ";
    left: 13px;
    position: absolute;
    top: -20px;
}

.gr-nav-options > ul > li ul {
    background-color: white;
    border-top: 1px solid #CCCCCC;
    box-shadow: 1px 3px 4px rgba(0, 0, 0, 0.2);
    display: none;
    float: left;
    list-style: none outside none;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    right: 0;
    width: 45px;
    z-index: 2;
}

.gr-nav-options > ul > li ul li {
    font-size: 11px;
    line-height: 32px;
}

.gr-nav-options > ul > li ul li.selected {
    background: #F9E4BD;
}

.gr-nav-options > ul > li ul li:hover {
    background-color: #F0F0FF;
}

.gr-nav-options > ul > li ul li a {
    color: black;
    display: inline-block;
    text-decoration: none;
    width: 100%;
    text-align: center; 
    padding: 0;
}

.gr-nav-options > ul > li ul li a i {
    float: left;
    font-size: 14px;
    margin-left: 3px;
    margin-top: 9px;
}
