/* Font */
@font-face {
    font-family: 'AllerRegular';
    font-weight: normal;
    src: url('../../fonts/Aller_Rg.ttf');
}

@font-face {
    font-family: 'AllerBold';
    font-weight: bold;
    src: url('../../fonts/Aller_Bd.ttf');
}

@font-face {
    font-family: 'KozGoPr6N-Regular';
    font-weight: normal;
    src: url('../../fonts/KozGoPr6N-Regular.otf');
}

@font-face {
    font-family: 'KozGoPr6N-Bold';
    font-weight: bold;
    src: url('../../fonts/KozGoPr6N-Bold.otf');
}

/* Sticky footer styles */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background: #54cdff;
}

img.body-bg {
    position: relative;
    width: 100%;
    top: 0;
    z-index: -1;
}

table th {
    background-color: #eee;
    text-align: center;
    font-weight: bold !important;
    vertical-align: middle !important;
}

.container {
    width: 100%;
}

.container .row {
    max-width: 100%;
    margin: 0;
}

.container > .row:last-child {
    margin-bottom: 20px;
}

.loading-img {
    max-width: 100%;
    max-height: 100%;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #ddf5ff;
    border-top: 2px solid #ccc;
}

.info,
.info:hover {
    opacity: 0.4;
    cursor: help;
}

/* Hide on print */
@media print {    
    .hide-on-print, .hide-on-print * {
        display: none !important;
    }

    .page-break-on-print {
        page-break-before: always;
    }

    .col-print-50 {
        width:50% !important;
        float:left;
    }
}

/*=============================================================================
 * Login Page
 *===========================================================================*/
.flip-container {
    perspective: 1000;
    -webkit-perspective: 1000;
}

.flip-container.flipped .flipper {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
}

.flip-container {
    height: 400px;
}

.flip-container .front-content,
.flip-container .back-content {
    width: 100%;
}

.container.flip-container,
.container.flip-container .front-content,
.container.flip-container .back-content {
    width: 330px;
    height: 360px;
}

.container.flip-container .front-content,
.container.flip-container.flipped .back-content {
    display: block;
}

.container.flip-container.flipped .front-content,
.container.flip-container .back-content {
    display: none;
}

.flipper {
    position: relative;
    transition: 0.6s;
    -webkit-transition: 0.6s;
    -ms-transition: 0.6s;
    -o-transition: 0.6s;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
}

.front-content,
.back-content {
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.front-content {
    z-index: 2;
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
}

.back-content {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
}

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 20px 0;
    background-color: rgba(255,255,255,0.5);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

.form-signin .form-signin-heading {
    margin-top: 0px;
    text-align: center;
}

.form-signin .checkbox {
    font-weight: normal;
    margin-left: 25px;
}

.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input {
    margin-bottom: 15px;
}

.form-signin a {
    display: block;
    margin-top: 15px;
    cursor: pointer;
}

.form-signin a:hover,
.form-signin a:focus {
    text-decoration: none;
}

.form-signin .signin-notes {
    display: block;
    margin-bottom: 15px;
    font-size: 1rem;
}

.form-signin .alert {
    padding: 7px 12px;
}

.list-customer,
#chpass-form {
    display: block;
    width: 330px;
    margin: 30px auto;
}

.list-customer a.customer-select {
    cursor: pointer;
}

/*=============================================================================
 * Custom page CSS
 *===========================================================================*/
/* Not required for template or sticky footer method. */

.container .text-muted {
    margin-top: 10px;
    text-align: center;
}


.alert {
    display: none;
}

.well {
    border: none;
}

#main-container {
    padding: 0 2%;
}

#main-container > .row > div:last-child > .row:last-child > div:last-child{
    margin-bottom: 45px;
}

/*-------------------------------------
 * Top Navigation Bar
 *------------------------------------*/
.navbar {
    position: relative;
    height: 80px;
    background: #ddf5ff;
    box-shadow: 0px 2px 5px #888;
    -webkit-box-shadow: 0px 2px 5px #888;
    -moz-box-shadow: 0px 2px 5px #888;
}

.navbar-header {
    padding: 0 2%;
}

.navbar .navbar-header img {
    max-height: 63px;
    max-width: 100%;
	margin-top: -4px;
}

#navbar-top {
    overflow: hidden;
    padding: 5px 2%;
}

#navbar-top ul {
    float: right;
    width: 100%;
    margin-right: 15px;
}

#navbar-top a,
#navbar-top li i.fa {
    display: block;
    float: none;
    line-height: normal;
    text-align: center;
    font-size: 16px;
    color: #9d8265;
}

#navbar-top li {
    width: 25%;
    height: 70px;
    padding: 15px 20px;
    border-right: 2px solid #eee;
    border-bottom: 4px solid #ffab32;
    float: right;
    list-style: none;
    background: #fff;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#navbar-top li:first-child {
    border-top-right-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-bottom-right-radius: 5px;
}

#navbar-top li:last-child {
    border-top-left-radius: 5px;
    -webkit-border-top-left-radius: 5px;
    -moz-border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-bottom-left-radius: 5px;
}

#navbar-top li i.fa {
    margin-top: 5px;
}

#navbar-top li:hover {
    background: #ffab32;
    cursor: pointer;
}

#navbar-top li.active {
    background: #ffab32;
    border-bottom: 4px solid #ff8a01;
}

#navbar-top li.active,
#navbar-top li.active i.fa {
    color: #fff;
}

/*-------------------------------------
 * Notification Container
 *------------------------------------*/
.notif-container {
    position: absolute;
    width: 40%;
    right: 10px;
}

.notif-container .alert {
    z-index: 3;
    box-shadow: 0px 2px 5px #888;
    -webkit-box-shadow: 0px 2px 5px #888;
    -moz-box-shadow: 0px 2px 5px #888;
}

/*-------------------------------------
 * Main Menu
 *------------------------------------*/
#main-menu {
    position: absolute;
    width: 160px;
    max-width: 160px;
    z-index: 10;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    box-shadow: 0px 2px 5px #888;
    -webkit-box-shadow: 0px 2px 5px #888;
    -moz-box-shadow: 0px 2px 5px #888;
}

#main-menu a:hover {
    text-decoration: none;
}

#main-menu .main-menu-title {
    padding: 5px 20px;
    background: #9d8265;
    cursor: pointer;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    border-top-left-radius: 5px;
    -webkit-border-top-left-radius: 5px;
    -moz-border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-top-right-radius: 5px;
}

#main-menu .main-menu-title.collapsed {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

#main-menu .main-menu-title .glyphicon {
    display: none;
}

#main-menu ul {
    margin-left: -40px;
    margin-bottom: 0;
}

#main-menu li {
    padding: 7px 0;
    list-style: none;
    border-bottom: 1px solid #eee;
    background: #fff;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.main-menu > li:last-child {
    border-bottom-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-bottom-right-radius: 5px;
}

#main-menu li a {
    display: block;
    margin-left: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #9d8265;
}


#main-menu li:hover {
    background: #ffab32;
    cursor: pointer;
}

#main-menu li:hover a {
    text-decoration: none;
}

#main-menu li.active {
    background: #eee;
    border-left: 5px solid #ffab32;
}

#main-menu li.active a {
    margin-left: 15px;
}

#main-menu ul.submenu li a{
    margin-left: 35px;
}

/* Hamburger Menu */
.main-menu-title #hamburger {
    display: none;
    position: relative;
    width: 14px;
    height: 14px;
    margin: 0 8px 0 -60px;
    box-sizing: border-box;
}

.main-menu-title #hamburger:focus {
    outline: none;
}

.main-menu-title #hamburger:before,
.main-menu-title #hamburger:after,
.main-menu-title #hamburger span {
    content: '';
    position: absolute;
    display: block;
    width: 14px;
    height: 2px;
    left: 0;
    background: #fff;
    border-radius: 1px;
    -webkit-border-radius: 1px;
    -o-border-radius: 1px;
}

.main-menu-title #hamburger:before {
    top: 3px;
}

.main-menu-title #hamburger span {
    top: 8px;
}

.main-menu-title #hamburger:after {
    top: 13px;
}

/* Hamburger animation */
.main-menu-title #hamburger:before,
.main-menu-title #hamburger:after,
.main-menu-title #hamburger span {
    transition: none 0.5s ease 0.5s;
    -webkit-transition: none 0.5s ease 0.5s;
    -moz-transition: none 0.5s ease 0.5s;
    transition-property: transform, top, bottom, left, opacity;
    -webkit-transition-property: transform, top, bottom, left, opacity;
    -moz-transition-property: transform, top, bottom, left, opacity;
}
.main-menu-title:not(.collapsed) #hamburger:before,
.main-menu-title:not(.collapsed) #hamburger:after {
    top: 8px;
}
.main-menu-title:not(.collapsed) #hamburger span {
    left: -50px;
    opacity: 0;
}
.main-menu-title:not(.collapsed) #hamburger:before {
    transform: rotate( 45deg );
    -webkit-transform: rotate( 45deg );
    -moz-transform: rotate( 45deg );
}
.main-menu-title:not(.collapsed) #hamburger:after {
    transform: rotate( -45deg );
    -webkit-transform: rotate( -45deg );
    -moz-transform: rotate( -45deg );
}

/*-------------------------------------
 * Data Display
 *------------------------------------*/
.dd-container {
    overflow: hidden;
}

#data-display {
    margin: 30px 0;
    padding: 0;
}

#data-display > div:nth-child(2) {
    border-left: 1px solid #fff;
}

.dd-sm {
    margin-top: 20px;
}

.dd-sm,
.dd-md {
    background: rgba(84, 205, 255, 0.75);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

.dd-sm .dd-title,
.dd-md .dd-title {
    padding: 5px;
    border-bottom: 1px solid #fff;
    text-align: center;
    font-family: 'KozGoPr6N-Regular';
    font-size: 2.2rem;
    color: #fff;
}

.dd-md .dd-title {
    font-family: 'KozGoPr6N-Bold';
    font-size: 2.4rem;
}

.dd-content {
    padding: 15px 0;
}

.dd-content > span {
    display: inline-block;
    width: 100%;
    text-align: center;
    line-height: 1.8;
    font-size: 1.6rem;
}

.dd-content .power-text {
    color: #fffead;
}

.dd-content .price-text {
    color: #c8ffbf;
}

.dd-sm .dd-content .dd-value {
    font-family: 'AllerRegular';
    font-size: 2.6rem;
}

.dd-md .dd-content .dd-value {
    font-family: 'AllerBold';
    font-size: 2.8rem;
}

.dd-nav {
    display: none;
    position: absolute;
    top: 40%;
    text-align: center;
    font-family: 'KozGoPr6N-Regular';
    font-size: 2rem;
    color: #fff;
}

.dd-nav-prev {
    right: 0;
}

.dd-nav-next {
    left: 0;
}

.dd-nav-button {
    cursor: pointer;
    font-weight: bold;
}

.dd-nav-button .dd-nav-text,
.dd-nav-button .dd-nav-icon {
    display: inline-block;
    width: 100%;
    line-height: 2;
}

.dd-nav-icon .glyphicon.glyphicon-menu-left,
.dd-nav-icon .glyphicon.glyphicon-menu-right {
    font-size: 3.6rem;
}

.dd-nav-icon .glyphicon.glyphicon-menu-left:first-child,
.dd-nav-icon .glyphicon.glyphicon-menu-right:first-child {
    margin-right: -1.5rem;
}

/*-------------------------------------
 * Filter Form
 *------------------------------------*/
#filter-form .carousel-search {
    background-color: rgba(245,245,245,0.5);
    padding: 5px 0 8px 0;
}

#filter-form .carousel-search > .row > div {
    margin-top: 8px;
}

#filter-form .carousel-search > .row > .btn-group {
    z-index: 3;
}

#filter-form .carousel-search > .row > div > .input-group,
#filter-form .carousel-search > .row > div > .btn-group,
#filter-form .carousel-search > .row > div > .text-right {
    margin-bottom: 5px;
}

#filter-form #datepicker-wrapper {
    width: 100%;
}

#filter-form ul.periodtype li {
    cursor: pointer;
}

#filter-form .bootstrap-select {
    max-width: 0 !important;
}

#filter-form input,
#filter-form .input-group-addon,
#filter-form .btn-group label,
#filter-form .btn-group a,
#filter-form .bootstrap-select button {
    border: none;
}

#filter-form input {
    box-shadow: none;
}

#filter-form #datepicker-wrapper > div > .input-group-btn > .btn-group > a {
    margin-right: 1px;
    border: 1px solid #fff;
    border-right: 1px solid #ddd;
}

#filter-form .btn-orange {
    width: 135px;
    border: none;
    color: #fff;
    background: #FFAC17;
}

#filter-form .btn-orange:active,
#filter-form .btn-orange:focus {
    outline: none;
}

/*=============================================================================
 * Display Page
 *===========================================================================*/
.chart-container,
.cc-container {
    position: relative;
    float: left;
    width: 100%;
    min-height: 128px;
    padding: 43px 15px 15px;
    background-color: rgba(245,245,245,0.5);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.cc-container {
    padding: 0;
    padding-top: 15px;
}

.chart-overlay {
    display: none;
    position: absolute;
    top: 15px;
    left: 15px;
    bottom: 15px;
    right: 15px;
    background: rgba(255,255,255,0.75);
    background-clip: content-box;
}

.chart-overlay img{
    position: absolute;
    z-index: 1;
    width: 48px;
    top: 40%;
    left: 45%;
}

.custom-chart .chart-overlay {
    top: 65px;
    bottom: 0;
}

.btn-chart-container {
    position: absolute;
    top: 10px;
    right: 24px;
    z-index: 100;
}

.btn-chart-container .btn-chart {
    width: 26px;
    height: 24px;
    padding: 0.5px 4px;
    background: #FEAC18;
    border: 1px solid #fff;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -o-border-radius: 3px;
}

.btn-chart-container .btn-chart:hover {
    border: 1px solid #668BA9;
}

.btn-chart-container .btn-chart .glyphicon {
    vertical-align: text-top;
    color: #fff;
}

g.highcharts-button {
    cursor: pointer !important;
}

g.highcharts-button rect {
    fill: #FEAC18;
}

g.highcharts-button path {
    display: none;
}

.nav-data-by {
    background-color: rgba(245, 245, 245, 0.7);
    border: none;
    border-top-left-radius: 5px;
    -webkit-border-top-left-radius: 5px;
    -moz-border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-top-right-radius: 5px;
}

.nav-data-by li {
    cursor: pointer;
}

.nav-data-by li > a,
.nav-data-by li.active > a,
.nav-data-by li > a:hover,
.nav-data-by li.active > a:hover {
    border: none;
}

.nav-data-by li.active > a {
    background-color: rgba(255, 255, 255, 0.8);
}

.nav-data-by + div {
    border-top-left-radius: 0;
    -webkit-border-top-left-radius: 0;
    -moz-border-top-left-radius: 0;
    border-top-right-radius: 0;
    -webkit-border-top-right-radius: 0;
    -moz-border-top-right-radius: 0;
}

#ctype li {
    cursor: pointer;
}

.modal-dialog .btn-chart-container .btn-orange {
    padding: 5px 15px 4px;
    border: none;
    color: #fff;
    font-size: 1rem;
    background: #FFAC17;
}

.modal-dialog .btn-chart-container .btn-orange:active,
.modal-dialog .btn-chart-container .btn-orange:focus {
    outline: none;
}

/*-------------------------------------
 * Data Table
 *------------------------------------*/
.table-container {
    margin-top: 15px;
    margin-bottom: 0;
    padding-bottom: 0;
    background-color: rgba(245,245,245,0.5);
}

.table-container table {
    background-color: #fff;
}

.table-container td {
    text-align: right;
}

.bootstrap-table .table .col-hidden {
    display: none;
}

.bootstrap-table .table .row-action {
    float: right;
}

.bootstrap-table .table tbody > tr > td {
    cursor: default;
}

.bootstrap-table .table tbody > tr > td > .row-action {
    visibility: hidden;
    cursor: pointer;
}

.bootstrap-table .table tbody > tr > td:hover > .row-action {
    visibility: visible;
}

.bootstrap-table .table tbody > tr > td > .row-edit {
    width: calc(100% - 18px);
    width: -webkit-calc(100% - 18px);
    padding: 0 5px;
    background-color: transparent;
    border: none;
    color: #000;
}

.bootstrap-table .table tbody > tr > td > .row-edit:focus,
.bootstrap-table .table tbody > tr > td > .row-edit:active {
    outline: none;
}

/*-------------------------------------
 * Bottom Navigation Bar
 *------------------------------------*/
#navbar-bottom {
    position: relative;
    border-top: 3px solid #dd9734;
    overflow: hidden;
    padding: 0 2%;
}

#navbar-bottom ul {
    margin-left: -40px;
}

#navbar-bottom li {
    max-width: 20% !important;
    height: 77px;
    padding: 0 20px;
    margin-right: 1px;
    float: left;
    list-style: none;
    overflow: hidden;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#navbar-bottom li a {
    display: block;
    float: none;
    line-height: 77px;
    text-align: center;
    font-size: 16px;
    color: #9d8265;    
}


#navbar-bottom li:hover {
    background: #ffab32;
    cursor: pointer;
}

#navbar-bottom li:hover a,
#navbar-bottom li a:focus {
    text-decoration: none;
}

#navbar-bottom li.active {
    background: #ffab32;
}

#navbar-bottom li.active a {
    color: #fff;
}

/*-------------------------------------
 * Bottom Container
 *------------------------------------*/
.container-bottom {
    padding: 20px 2% 0px 2%;
}

/*=============================================================================
 * Settings Page
 *===========================================================================*/

#a-flip-chpass {
    cursor: pointer;
}

#a-flip-chpass:hover {
    text-decoration: none;
}

/*=============================================================================
 * Modal
 *===========================================================================*/

#defaultmodalcontent {
    padding:15px;
}

.modal-title {
    font-weight: bold;
}

.modal-body-row {
    border:1px solid #EEEEEE;
    margin:0px;
    padding:5px;
    background:#FEFEFE;
}

.modal-body-row hr {
    border-top: 1px dashed #ccc;
    margin: 5px 0;
    padding: 0;
}

.modal-body-author,
.modal-body-date {
    font-size:0.9em;
    color:#999;
}

.modal-body-author {
    font-weight: bold;
}

.modal-body-content {
    margin-top:10px;
    text-align: justify;
    color:#333;
}

.text-red {
    color:red;
}

.panel-sm {
    font-size: 0.8em;
}

.panel-sm .panel-body,
.panel-sm .panel-heading,
.panel-sm .panel-footer {
    padding-top:0.7em;
    padding-bottom:0.7em;
}

.panel-sm table {
    margin-bottom: 0px;
}

/*-------------------------------------
 * Chart Modal
 *------------------------------------*/
#chart-modal .modal-dialog {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 15px;
}

#chart-modal .chart-container {
    height: 100%;
    padding: 43px 15px 15px;
}

#chart-modal .chart-container #data-chart-fs{
    height: 100%;
}

#chart-modal .close {
    position: absolute;
    top: 6px;
    left: 15px;
    z-index: 10;
}

#chart-modal .close span {
    font-size: 30px;
}