/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Aug 4, 2015, 1:51:08 PM
    Author     : J0hnD03
*/

html {
    font-size: 15px;
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans'), url(./fonts/Open-Sans.woff) format('woff');
}

body {
    font-family: 'Open Sans', sans-serif;
}
h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.25rem;
}

h3 {
    font-size: 1.1875rem;
}

h4 {
    font-size: 1.125rem;
}

h5 {
    font-size: 1.0625rem;
}

h6 {
    font-size: 1rem;
}

@media screen and (min-width: 40em) {
    h1 {
        font-size: 1.7rem;
    }
    h2 {
        font-size: 1.59rem;
    }
    h3 {
        font-size: 1.45rem;
    }
    h4 {
        font-size: 1.3rem;
    }
    h5 {
        font-size: 1.2rem;
    }
    h6 {
        font-size: 1.1rem;
    }
}

section {
    position: relative;
    display: block;
}
section.k1lib-content {
    height: 100%;
}
.no-js .top-bar {
    display: none;
}
/**
OFF CANVAS CUSTOM STYLES
*/
.off-canvas {
    background-color: #444;
    height: 100vh;
}
.off-canvas-content {
    box-shadow: none;
    height: 100vh;
}
#app-left-header {
    padding: 10px 5px;
}
#app-logo {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
}
#app-user-profile {
    margin: 20px 0px;
}
#app-user-profile {
    color: #FFF;
    padding: 0px 10px 0px 10px;
}
#app-user-profile img{
    vertical-align: bottom;
    margin-right: 10px;
}
ul.menu li  a{
    color: #FFF;
}
ul.menu li.has-submenu.active.is-accordion-submenu-parent a{
    /*background-color: #2199FF;*/
}
ul.menu li.has-submenu.active.is-accordion-submenu-parent ul li a{
    /*background-color: inherit;*/
}
ul.menu li.has-submenu.active.is-accordion-submenu-parent ul li.active a{
    /*background-color: #999;*/
    /*font-weight: bold;*/
}
ul.menu li.has-submenu.active.is-accordion-submenu-parent ul{
    /*display: block !important;*/
}
/**
END OF CANVAS
*/

@media screen and (min-width: 40em) {
    .no-js .top-bar {
        display: block;
    }

    .no-js .title-bar {
        display: none;
    }
}
/**
UTILITIES CLASSES AND IDs
*/
#k1lib-content {
    padding: 20px 20px 60px 20px;
    min-height: 600px;
}
#k1lib-run-info {
    font-size: 0.7em;
    font-weight: normal;
    color: #555;
}
.scroll-x {
    overflow-x: auto;
}
.scroll-y {
    overflow-y: auto;
}
/**
UTILITIES CLASSES AND IDs
*/

.k1lib-uppercase {
    text-transform: uppercase;
}

a.k1lib-a-object {
    font-weight: bold;
}

span.k1lib-span-object.key-field {
    font-weight: bold;
}

.no-bottom-margin {
    margin-bottom: 0px !important;
}

label.k1lib-label-object {
    color: #666;
    font-size: 0.9em;
}

#k1lib-footer-message {
    border: none !important;
    position: fixed;
    /*bottom:0;*/
    width:100%;
    margin: 30px 0 0 0;
}
#k1lib-footer-messager #k1lib-run-info {
    padding-left: 2rem;
    display: block;
}

#k1lib-footer-message.left-footer{
    padding: 0rem 0.6rem;
}
#k1lib-footer-message.left-footer,
#k1lib-footer-message.left-footer a,
#k1lib-footer-message.left-footer span {
    color:#FFF;
}
#k1lib-footer-message.left-footer a {
    font-weight: bold;
}
#k1lib-footer-message.left-footer #k1lib-run-info {
    padding-left: 0px;
    display: block;
}

#k1lib-footer-message.left-footer h6 {
    font-size: 0.8em;
}
#k1lib-footer-message h6 {
    font-size: 0.6em;
}

/**
LOGIN FORM
**/
html #login-form-body {
    background-color: #DCDCDC;
}
#login-form-body .button{
    margin: 0px !important;
}
#k1lib-login-copyright {
    font-size: 0.6em;
    margin-top: 0.8em;
    text-align: center;
}
#k1lib-login-logo {
    padding: 2em;
}
#k1app-login-content {
    background-color: #FFF;
    padding: 1em;
}
#k1app-login-content a {
    font-size: 0.8em;
}
#k1lib-login-title {
    background-color: #00a2d0;
}
#k1lib-login-title h1 {
    color: #FFF;
    margin: 0px;
    padding: 0.6em 0.6em;
    font-size: 0.9em;
    text-transform: uppercase;
}
#login-form-body .login-form-data {
    padding-top: 0.6em;
    background-color: #FFFFFF;
}
/*
TOP MENU - Building blocks 
*/

/*
BOARD STYLES
*/
.board-content{
    position: relative;
    height: 100%;
    width: 100%;
}
/** 
GENERAL
/*


/* READ */
.k1lib-related-list {
    margin-top: 1em;
    padding-top: 1em;
    border-top: solid 1px #CCC;
}

.k1lib-crudlexs-related-data {
    margin-top: 2em;
}

.k1lib-data-group-title {
    /*text-align: right;*/
    border-bottom: solid 1px #aaa;
}
.k1lib-data-item {
    margin-top: 0.5em;
    padding-left: 2em;
}

.k1lib-data-item-label {
    color: #BBB;
}

.k1lib-data-item-value {
    font-size: 1.2em;
    color: #444;
}

.k1lib-data-img {
    max-width: 200px;
}
/**
LIST SEARCH
*/
table tr th a.non-ordering {
    color: #444;
}
table tr th a.ordering {
    color: #111;
}

.utility-iframe {
    position: absolute;
    overflow: scroll;
    display: none;
    border: none;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    top:0px;
    bottom: 0px;
    left:0px;
    right: 0px;
    z-index: 9999;
}
/**
LIST PAGINATION
*/

select.k1lib-crudlexs-page-goto {
    width: 55px;
    font-size: 1em;
    border: none;
    margin: 0;
}
ul.k1lib-ul-object.pagination.k1lib-crudlexs {
    margin: 0 !important;
}

div.k1lib-crudlexs-list-pagination li.k1lib-li-object {
    display: inline-block !important;
}
/**
LIST TABLE STYLES
*/
div.k1lib-crudlexs-list table tbody tr td {
    vertical-align: top;
}

/**
TABLE MANAGER
*/

.k1lib-field-of-title {
    font-size: 1em !important;
}


/* FIXES */

.off-canvas-wrapper {
    overflow:visible !important;
}

.title-bar-left, .title-bar-right {
    -webkit-box-flex: 0 1 auto !important;
    -webkit-flex: 0 1 auto  !important;
    -ms-flex: 0 1 auto  !important;
    flex: 0 1 auto  !important;
}

.title-bar-title {
    display: inline !important;
}
/* A responsive flexbox-based vertical bar graph using only HTML and SCSS. 
https://get.foundation/building-blocks/blocks/bar-graph.html
*/
.bar-graph {
    padding: 0;
    width: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    height: 200px;
    margin: 150px 0 0px 0;
}

.bar-graph li {
    display: block;
    padding: 1.5625rem 0;
    position: relative;
    text-align: center;
    vertical-align: bottom;
    border-radius: 4px 4px 0 0;
    max-width: 20%;
    height: 100%;
    margin: 0 1.8% 0 0;
    -webkit-flex: 1 1 15%;
    -ms-flex: 1 1 15%;
    flex: 1 1 15%;
}

.bar-graph .bar-graph-axis {
    -webkit-flex: 1 1 8%;
    -ms-flex: 1 1 8%;
    flex: 1 1 8%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.bar-graph .bar-graph-label {
    margin: 0;
    background-color: none;
    color: #8a8a8a;
    position: relative;
}
@media print {
    a[href*="/"]:after, a[href*="/"]:visited:after {
        content: normal;
    }
}
@media print, screen and (min-width: 40em) {
    .bar-graph .bar-graph-label:before, .bar-graph .bar-graph-label:after {
        content: "";
        position: absolute;
        border-bottom: 1px dashed #8a8a8a;
        top: 0;
        left: 0;
        height: 50%;
        width: 20%;
    }
}

@media print, screen and (min-width: 40em) and (min-width: 64em) {
    .bar-graph .bar-graph-label:before, .bar-graph .bar-graph-label:after {
        width: 30%;
    }
}

@media print, screen and (min-width: 40em) {
    .bar-graph .bar-graph-label:after {
        left: auto;
        right: 0;
    }
}

.bar-graph .percent {
    letter-spacing: -3px;
    opacity: 0.4;
    width: 100%;
    font-size: 1.875em;
    position: absolute;
}

@media print, screen and (min-width: 40em) {
    .bar-graph .percent {
        font-size: 1.875rem;
    }
}
@media print, screen and (min-width: 50em) {
    .bar-graph .percent {
        font-size: 2.875rem;
    }
}
@media print, screen and (min-width: 64em) {
    .bar-graph .percent {
        font-size: 3.875rem;
    }
}

.bar-graph .percent span {
    font-size: 1.875rem;
}

.bar-graph .description {
    font-weight: 800;
    opacity: 0.5;
    text-transform: uppercase;
    width: 100%;
    font-size: 14px;
    bottom: 20px;
    position: absolute;
    font-size: 1rem;
    overflow: hidden;
    line-height: 0.95em;
}

.bar-graph .bar.primary {
    border: 1px solid #1779ba;
    background: linear-gradient(#2196e3, #1779ba 70%);
}

.bar-graph .bar.secondary {
    border: 1px solid #767676;
    background: linear-gradient(#909090, #767676 70%);
}

.bar-graph .bar.success {
    border: 1px solid #3adb76;
    background: linear-gradient(#65e394, #3adb76 70%);
}

.bar-graph .bar.warning {
    border: 1px solid #ffae00;
    background: linear-gradient(#ffbe33, #ffae00 70%);
}

.bar-graph .bar.alert {
    border: 1px solid #cc4b37;
    background: linear-gradient(#d67060, #cc4b37 70%);
}

/**
*  Grapshs classes
*/

.graph-container {
    background-color: #555;
    padding: 1em 1em 0 1em;
    margin-bottom: 20px;
}

.graph-container h2 {
    color: #FFF;
}

/*
TAG CLOUD
*/

.tag-cloud {
    padding: 0em;
    text-align: center;
    margin-bottom: 20px;
}

.tag-cloud .tag {
    display: inline-block;
    /*float:next;*/
    margin: 0 auto 0 auto;
}

.tag-cloud .tag.primary {
    border: 1px solid #1779ba;
    background: linear-gradient(#2196e3, #1779ba 70%);
}

.tag-cloud .tag.secondary {
    border: 1px solid #767676;
    background: linear-gradient(#909090, #767676 70%);
}

.tag-cloud .tag.success {
    border: 1px solid #3adb76;
    background: linear-gradient(#65e394, #3adb76 70%);
}

.tag-cloud .tag.warning {
    border: 1px solid #ffae00;
    background: linear-gradient(#ffbe33, #ffae00 70%);
}

.tag-cloud .tag.alert {
    border: 1px solid #cc4b37;
    background: linear-gradient(#d67060, #cc4b37 70%);
}

/**
COUNTERS
*/


.dashboard-number-card {
    background: #fff;
    border-radius: 5px;
    margin: 0px;
    position: relative;
}

.dashboard-number-card .dashboard-number-delta {
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    bottom: 6px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 0;
    opacity: 0.7;
    position: absolute;
    right: 6px;
    color: #1779ba;
}

.dashboard-number-card .dashboard-number-delta i {
    margin-right: 5px;
    width: 0.6rem;
}

.dashboard-number-card.positive .dashboard-number-delta,
.dashboard-number-card.negative .dashboard-number-delta,
.dashboard-number-card.current .dashboard-number-delta {
    color: #fefefe;
}

.dashboard-number-card.positive .dashboard-number-value,
.dashboard-number-card.positive .dashboard-number-area,
.dashboard-number-card.negative .dashboard-number-value,
.dashboard-number-card.negative .dashboard-number-area,
.dashboard-number-card.current .dashboard-number-value,
.dashboard-number-card.current .dashboard-number-area {
    color: white;
}

.dashboard-number-card.positive .dashboard-number-area,
.dashboard-number-card.negative .dashboard-number-area,
.dashboard-number-card.current .dashboard-number-area {
    opacity: 0.6;
}

.dashboard-number-card.positive {
    background: #1779ba;
}

.dashboard-number-card.negative {
    background: #444;
}
.dashboard-number-card.current {
    background: #3d947c;
}

.dashboard-number-value {
    color: #1779ba;
    font-size: 22px;
    font-weight: 800;
    padding: 1rem 2rem 1.75rem;
    text-align: center;
}

.dashboard-number-area {
    bottom: 6px;
    color: #1779ba;
    font-size: 12px;
    left: 6px;
    margin-bottom: 0;
    position: absolute;
}

/**
COUNTERS
*/


.dashboard-single-text-card {
    /*background: #fff;*/
    border-radius: 5px;
    margin: 0px;
    position: relative;
}

.dashboard-single-text-card h5{
    margin: 0 !important;
}
.dashboard-single-text-card .dashboard-single-text-delta {
    -webkit-align-items: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    bottom: 6px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 0;
    opacity: 0.7;
    position: absolute;
    right: 6px;
    color: #1779ba;
}

.dashboard-single-text-card .dashboard-single-text-delta i {
    margin-right: 5px;
    width: 0.6rem;
}

.dashboard-single-text-card.positive .dashboard-single-text-delta,
.dashboard-single-text-card.negative .dashboard-single-text-delta,
.dashboard-single-text-card.current .dashboard-single-text-delta {
    color: #fefefe;
}

.dashboard-single-text-card.positive .dashboard-single-text-value,
.dashboard-single-text-card.positive .dashboard-single-text-area,
.dashboard-single-text-card.negative .dashboard-single-text-value,
.dashboard-single-text-card.negative .dashboard-single-text-area,
.dashboard-single-text-card.current .dashboard-single-text-value,
.dashboard-single-text-card.current .dashboard-single-text-area {
    color: white;
}

.dashboard-single-text-card.positive .dashboard-single-text-area,
.dashboard-single-text-card.negative .dashboard-single-text-area,
.dashboard-single-text-card.current .dashboard-single-text-area {
    opacity: 0.6;
}

.dashboard-single-text-card.positive {
    background: #1779ba;
}

.dashboard-single-text-card.negative {
    background: #444;
}
.dashboard-single-text-card.current {
    background: #3d947c;
}

.dashboard-single-text-value {
    /*display: block;*/
    color: #000000;
    font-size: 22px;
    font-weight: 200;
    padding: 1rem 2rem;
    text-align: center;
}
.dashboard-single-text-lower-value {
    display: block;
    color: #000000;
    font-size: 15px;
    font-weight: 800;
    padding: 0rem 2rem;
    text-align: center;
}

.dashboard-single-text-area {
    bottom: 6px;
    color: #1779ba;
    font-size: 12px;
    left: 6px;
    margin-bottom: 0;
    position: absolute;
}

/*
   CHARTS 
*/

div.chart-container {
    width: 100%;
    padding-bottom: 45%; /* 16:9 */
    position: relative;
    /*    background: black;*/
    margin-bottom: 1rem;
}

div.chart-container > div {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    font-size: 24px;
    text-align: center;

}
@media print, screen and (min-width: 320px) {
    .fix-height {
        min-height: 500px;
    }
}
@media print, screen and (min-width: 375px) {
    .fix-height {
        min-height: 700px;
    }
}
@media print, screen and (min-width: 760px) {
    .fix-height {
        min-height: 800px;
    }
}
/*
    DataTables
*/

table.dataTable {
    margin: 1rem 0 1rem 0;
}

/* FULL SCREEN */
#browser-container {
    display: block;
    height:1000px;
}

#container-treemap{
    display: block;
    z-index: 9999;
    position: relative;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: auto;
}
#container-treemap:-webkit-full-screen, 
#container-treemap:-moz-full-screen, 
#container-treemap:-ms-fullscreen, 
#container-treemap:fullscreen
/*sgv.highcharts-root*/
{
    display: block;
    z-index: 9999;
    position: fixed !important;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: auto;
}

