/*
/* Created by Filipe Pina
 * Specific styles of signin, register, component
 */
/*
 * General styles
 */

body {
    color: #454e59;
}

.blue-body{
    height: 100%;
    background-repeat: no-repeat;
    background: url(../img/bluebg.jpg);
    background-size: cover;
}


.main-center{
    
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    padding: 10px 40px;
    background:#009edf;
    color: #FFF;
    text-shadow: none;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.31);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.31);
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.31);

}

.navbar {
    margin-bottom: 0;
}

.main-container{
    margin-top: 20px;
    margin-bottom: 70px;
    padding-top: 100px;
}

.nav-tabs.centered-tabs > li {
    float:none;
    display:inline-block;
}

.nav-tabs.centered-tabs {
    text-align:center;
}

.navbar-brand{
    height: auto;
    padding: 0 15px;
}

.row{
    margin-left: 0px;
    margin-right: 0px;
}

    .row small {
        overflow-wrap: break-word;
    }

.custom-badge {
    background-color: #f5f5f5;
    text-align: left;
    color: #333;
    border-radius: 10px;
    padding: 15px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}

.content-header {
    margin: 20px 5vw 10px;
}
    .content-header h1 {
        font-weight: 500;
        font-size: 1.7em;
    }

    .content-header h1, .content-header h2 {
        margin: 5px 0;
        line-height: 28px;
        color: #411409;
    }

.form-control-with-label{
    width: 90% !important;
    display: inline-block;
    text-align: right;
}

div.preloader-spinner-image {
    width: 48px; /*width of your image*/
    height: 48px; /*height of your image*/
    background-image: url('../img/preloader.gif');
    margin: 0; /* If you want no margin */
    padding: 0; /*if your want to padding */
    background-size: cover;
    background-repeat: no-repeat;
}

.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.text-align-right{
    text-align: right;
}

.text-align-center{
    text-align: center;
}

.inline-block-element{
    display: inline-block;
}

.display-flex {
    display: flex;
}

.input-group.display-flex {
    display: flex;
}

.xs-input {
    width: 70px;
}

.td-invoice-btn {
    width: 120px;
}

.pointer-cursor{
    cursor: pointer;
}

.modal-footer .alert {
    text-align: start;
    margin-bottom: 0;
    margin-top: 15px;
}

.radio p {
    color: #333;
}

.centered-by-content {
    margin: auto;
    display: table;
}

.centered-vertical-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.table thead > tr > th {
    font-size: 1.28em;
    font-weight: 600;
}

.table.table-vcenter th, .table.table-vcenter td {
    vertical-align: middle;
}

.table-header th {
    color: #FFB828;
}

.nav > li > a:hover,
.nav > li > a:focus {
    background-color: #f9f9f9;
}

.nav-tabs {
    border-bottom-color: #ebeef2;
}

    .nav-tabs > li {
        margin-bottom: 0;
    }

        .nav-tabs > li > a {
            padding-left: 15px;
            padding-right: 15px;
            margin-bottom: -1px;
            font-weight: 500;
            color: #454e59;
        }

            .nav-tabs > li > a:hover {
                border-color: #ebeef2;
            }

        .nav-tabs > li.active > a,
        .nav-tabs > li.active > a:hover,
        .nav-tabs > li.active > a:focus {
            color: #454e59;
            /*border-color: #ebeef2;*/ /*  This line commented makes tabs more visible  */
            border-bottom-color: transparent;
        }
        
        
.navbar-header {
    height: 80px;
}
 
.table thead > tr > th,
.table thead > tr > td,
.table tfoot > tr > th,
.table tfoot > tr > td {
    padding-top: 15px;
    padding-bottom: 15px;
}

.note-div {
    color: #a7a7a7;
}

.header-section {
    padding: 15px 0;
}

.content-header h1 {
    font-weight: 500;
    font-size: 1.7em;
}

#remaining-balance-a {
    padding: 30px 7px;
}

.invoice-img {
    max-width: 100%;
}

.header-user-name {
    line-height: 48px;
    font-weight: 600;
}

.color-text-header{
    color: #FFB828;
}

.user-header-dropdown {
    display: flex !important;
}

.nav li.user-header-dropdown > a {
    min-width: 50px;
    padding: 15px 7px;
    line-height: 18px !important;
    color: #454e59;
    position: relative;
}
    
/* Block */
.block {
    margin: 0 0 10px;
    padding: 20px 15px 1px;
    background-color: #ffffff;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    -webkit-box-shadow: 0 2px 0 rgba(218, 224, 232, .5);
    box-shadow: 0 2px 0 rgba(218, 224, 232, .5);
}

/* Sidebar */

#main-wrapper {
    padding-left: 250px;
    transition: all 0.4s ease 0s;
    height: 100%;
}

#sidebar-wrapper {
    margin-left: -250px;
    left: 250px;
    width: 250px;
    background: #333;
    position: fixed;
     height: 100%;
    overflow-y: auto;
    z-index: 1000;
    transition: all 0.4s ease 0s;
}

#main-wrapper.active {
    padding-left: 0;
}

#main-wrapper.active #sidebar-wrapper {
    left: 0 !important;
}

#page-content-wrapper {
    width: fit-content;
    min-width: 100%;
    height: auto !important;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 700;
}

.sidebar-nav li {
    line-height: 40px;
    text-indent: 20px;
}

.sidebar-nav li a {
    color: #999999;
    display: block;
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 83px;
    line-height: 60px;
    font-size: 18px;  
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
    height: inherit;
    display: table;
    width: 100%;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

.sidebar-nav > .sidebar-brand h1 {
    margin-bottom: 20px;
    display: table-cell;
    vertical-align: middle;
    font-size: 28px;
    
}

.sidebar-nav li a:hover, .sidebar-nav li a:focus, .sidebar-nav li a.active, .sidebar-nav li a.open, .sidebar-nav li.active > a {
    color: white;
    background: rgba(0, 0, 0, .5);
    text-decoration: none;
}

#menu-toggle {
    text-decoration: none;
}

.navbar-toggle.custom-sidebar-toggle{
    float: left;
    display: block;
}

.navbar-toggle.custom-sidebar-toggle:focus{
    background-color: transparent;
}
.navbar-toggle.custom-sidebar-toggle:hover{
    background-color: #ddd;
}

.navbar-default .dropdown-toggle {
    /*text-align: right;*/
}

.table-success, .table-success>td, .table-success>th {
    background-color: #c3e6cb;
}

.table-danger, .table-danger>td, .table-danger>th {
    background-color: #f5c6cb;
}

#primary-index-img {
    width: 100%;    
}

#main-wrapper.active #page-content-wrapper .navbar-fixed-top {
    left: 0px;
}

#page-content-wrapper .navbar-fixed-top {
    transition: all 0.4s ease 0s;
    left: 250px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #411409;
}

@media (max-width:767px) {
    #main-wrapper {
        padding-left: 0;
    }

    #main-wrapper.active {
        position: relative;
        left: 0;
    }
    
    #sidebar-wrapper{
        left: 0;
    }

    #main-wrapper.active #sidebar-wrapper {
        left: 250px !important;
        width: 250px !important;
        transition: all 0.4s ease 0s;
    }
    
    #menu-toggle {
        display: inline-block;
    }
    
    .navbar-default {
        padding-left: 0px;
        transition: all 0.4s ease 0s;
    }
    
    #main-wrapper.active .navbar-default {
        padding-left: 0px;
        transition: all 0.4s ease 0s;
    }
    
    #main-wrapper.active #page-content-wrapper .navbar-fixed-top {
        left: 250px;
    }

    #page-content-wrapper .navbar-fixed-top {
        transition: all 0.4s ease 0s;
        left: 0px;
    }
    
    .navbar-right {
        margin: 0px;
        float: right !important;
    }
}


@media (min-width: 768px){
    .container {
        width: 85%;
    }
}
@media (min-width: 992px){
    .container {
        width: 95%;
    }
}
@media (min-width: 1200px){
    .container {
        width: 95%;
    }
}

.validate_cus {
  color: #a94442;
  font-size: small;
}

label {
  display: inline-block;
  margin-bottom: 5px;
  font-weight: 700;
}

input,
textarea {
  font-size: 18px;
  display: block;
  padding: 5px 10px;
  background: none;
  background-image: none;
  border: 1px solid #a0b3b0;
  color: #545f58;
  border-radius: 6px;
  -webkit-transition: border-color .25s ease, box-shadow .25s ease;
  transition: border-color .25s ease, box-shadow .25s ease;
}

