@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

/*********** Elements ************/

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    /*color: #333;*/
    color: #000000;
    /*background: #f8f9fa;*/
    background: #fff;
    line-height: 1.6;
    font-size: 16px;
    height: 100vh;
}


.col-sm-4,
.col-sm-8,
.col-md-10,
.col-md-12,
.col-lg-6,
.col-lg-8 {
    padding-left: 0px;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none !important;
  color: #333;
}

a:hover {
  font-weight: 900;
  color: #333;
}

h1,
h2 {
  font-weight: 300;
  line-height: 1.2;
  margin: 10px 0;
}

p {
  margin: 10px 0;
}

/*********** GRIDS ************/

.nav-grid {
  display: grid;
  grid-template-columns: 1fr 5fr;
   grid-row: 1;
  gap: 10px;
  height: 100%;
}

.content-grid {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); even */
  grid-template-columns: 1fr 5fr;
   grid-row: 1;
  gap: 10px;
  /* justify-content: center;
  align-items: center; */
  height: 100%;
}

/*********** Containers ************/

.container {
    position: relative;
    max-width: 1700px;
    margin: 0 auto;
    overflow: auto;
    padding: 0 40px;
    /*box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);*/
}

.content-container {
    position: relative;
    max-width: 1700px;
    margin: 0 auto;
    top: 3px;
    height: 100%;
    padding: 0 40px;
}

.content {
    position: relative;
    top: 0px;
    margin-left: 0px;
}

.container-error {
      margin: auto;
      width: 50%;
      padding: 10px;
}

/********** Navbar **************/
.navbar {
  height: 70px;
  margin-bottom: 30px;
}

.navbar-img {
  height: 90px;
  width: 90px;
  margin-left: 20px;
}

/*********** SideBar ************/

.sidebar {
    /*background: #343a40;*/
    height: 100%;
    width: 225px;
    border-right: 1px solid;
    border-color: #C0C0C0;
    overflow-y: hidden;
}

.sidebar a {
    /*color: #fff;*/
    display: block;
    text-decoration: none;
    width: 100%;
    line-height: 2.38541;
    padding-left: 20px;
    box-sizing: border-box;
    transition: 0.5s;
    transition-property: background;
    /*border-left: 4px solid transparent;*/
}

.sidebar a:hover {
    /*background: #56f0e0;
    color: #fff;*/
    color: #000000;
    font-weight: 900;
}

.sidebar i {
    padding-right: 10px;
}

.sidebar-sm {
    font-size: 14px;
    /*margin-left: 10px;*/
}

.btn-sidebar {
    display: none;
}

nav ul ul {
    position: static;
    display: none;
}

nav ul .dim-show.show {
    display: block;
    transition-delay: 2s;
    transition: all 0.4s ease;
}

.show {
    display: block;
}

.btn-dim {
    transition: left 0.4s ease;
}

/*********** Active Pages ************/

.active-page {
    font-weight: 900;
    background: #f0f2f5;
    border-left: 4px solid transparent;
    /*border-left-color: #ff751a;*/
    border-left-color: #393982;
    color: #393982 !important;
}

.active-dim{
    border-left: 4px solid transparent;
    border-left-color: #393982;
}

.active-sub{
    font-weight: 900;
    background: #f0f2f5;
}


.profile-menu a {
    text-decoration: none;
}

.profile-menu a:hover {
    font-weight: 900;
    color: #000000;
}

.danger-alert{
    font-size: 12px;
}

.btn-add{
    font-size: 50%;
}

.btn-edit{
    font-size: 8px;
}

.ws-btn {
    margin-left: 5px;
    font-size: 11px;
    font-weight: 900;
    border: 0;
}

/*********** Jumbotron ************/

.jumbotron {
    padding-left: 0px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    background:transparent !important;
    /*box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);*/
}

.jumbotron h2 {
    font-size: 2em;
}

.jumbotron p {
    font-size: 13px;
}

/*********** Tables ************/

.table-responsive{
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.table-responsive th {
    white-space: nowrap;
}

.nowrap {
    white-space: nowrap;
}

.wrap {
    white-space: wrap;
}

/* Data table page numbers */
.page-item.active .page-link {
    background-color: #5bc0de !important;
    border-color: #5bc0de !important;
}


/*********** Home Page Account Summary ************/

.table-summary {
    background: inherit;
    text-align: center;
    table-layout: fixed;
    width: 450px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.table-summary td {
    padding: 10px;
    font-size:20px;
    font-weight:900;
}

/*********** Amount  ************/

.negative-value {
    color: red;
}

/*********** Login Pages *********/
.login-container {
    justify-content: center;
}

.login-panel {
    background: inherit;
    width: 30%;
    padding: 5px;
    font-weight: 900;
}

.login-panel img {
    height: 100px;
    width: 100px;
    margin-bottom: 15px;
}

.login-panel a {
    text-decoration: none;
    font-size: 14px;
}


/*********** Forms ************/
.input-group-text,
.form-control-label
{
    font-weight: 900;
}

.no-border:focus {
    border: 0;
    box-shadow: none;
}

.search-form {
    margin-bottom: 25px;
}

.search-form .input-group-text {
    background: inherit;
    border: 0;
    border-bottom: 1.5px #ccc solid;
    margin-bottom: 2px;
    text-align: right;
}

.search-form .form-control {
    background: inherit;
    border: 0;
    border-bottom: 1.5px #ccc solid;
    margin-bottom: 2px;
}

.search-form .form-control input:focus {
   border: 0;
   outline: none;
}

input:focus {
   outline: none;
}

.search-form select:focus {
   border: 0;
   outline: none;
}

.search-form input[type='date'] {
    width: 150px;
}

.textarea-memo {
    width: 40%;
}

/* Small devices (tablets, 768px and below) */
@media (max-width: 768px) {
    /********* Elements *******/
    body {
        font-size: 14px;
    }

    h5 {
        font-size: 16px;
        font-weight: 900;
    }

    /********* Navbar *******/
    .navbar {
      height: 70px;
      margin-bottom: 30px;
    }

    .navbar-img {
        height: 50px;
        width: 50px;
        margin-left: 20px;
    }

    /*********** Grids ************/

    .content-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-row: 1;
        gap: 10px;
        height: 100%;
    }

    .container {
        max-width: 100%;
        height: 60px;
        margin: 0 auto;
        overflow: auto;
        padding: 0px 5px 0px 5px;
        position: relative;
    }

    .content-container{
        position: relative;
        height: 100%;
        width: 100%;
        overflow: auto;
        /*background: #fad7d4;*/
    }

    .container-error {
      margin: auto;
      width: 60%;
      padding: 10px;
}

    /*********** SideBar ************/

    .sidebar {
        position: fixed;
        top: 0px;
        left: -210px;
        width: 210px;
        background: #000000;
        font-size: 16px;
        transition: left 0.4s ease;
        z-index: 1;
    }

    .sidebar a {
        color: #fff;
        background: #000000;
        text-decoration: none;
        width: 210px;
        line-height: 2.38541;
        box-sizing: border-box;
        transition: 0.5s;
        transition-property: background;
    }

    .sidebar-sm {
        font-size: 14px;
    }

    .sidebar a:hover {
        color: #fff;
        font-weight: 900;
        border-left-color: #ff751a;
    }

    .sidebar.show {
        left: 0px;
        transition: left 0.5s ease;
    }

    .btn-sidebar {
        position: absolute;
        display: block;
        background: inherit;
        padding: 0px;
        left: 140px;
        font-size: 20px;
        margin-top: 10px;
        cursor: pointer;
        transition: right 0.4s ease;
    }

    .btn-sidebar.click {
        left: 190px;
    }

    .btn-sidebar.click span:before{
        content: '\f00d';
    }

    .active-sub{
        font-weight: 900;
        background: #000000;
    }

    /*********** Content ************/

    .content {
        position: absolute;
        top: 0px;
        left: 0px;
        height: 100%;
        width: 100%;
        padding: 5px;
    }

    /*********** Jumbotron ************/

    .jumbotron {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        margin-bottom: 10px;
    }


    .jumbotron h2 {
        font-size: 16px;
        font-weight: 900;
    }

    /*********** Tables ************/

    .table {
        width: 100%;
        font-size: 10px;
    }

    .btn {
        font-size: 12px;
    }

     .btn-sm {
        font-size: 10px;
    }

    .table-responsive{
        font-size: 12px;
    }

    .table-responsive .dataTables_filter {
        display: none !important;
    }

    .table-summary {
        text-align: center;
        table-layout: fixed;
        width: 300px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
        padding: 20px;
    }

    .table-summary td {
        padding: 10px;
        font-size: 16px;
        font-weight:900;
    }

    /*********** Login Tables ************/

    .login-panel {
        width: 70%;
    }

    .login-panel img{
        height: 75px;
        width: 75px;
    }

    .login-panel a{
        font-size: 14px;
    }

    /*********** Forms ************/

    .form-control {
        font-size: 12px !important;
    }

    .input-group-text {
        font-size: 12px !important;
        margin-bottom: 1px;
    }

    .col-form-label-sm {
        font-size: 12px;
    }

     .textarea-memo {
        width: 60%;
    }

    /*********** Profile Pages ************/

    .profile-menu a {
        text-decoration: none;
        font-weight: 900;
    }

    .profile-menu a:hover {
        font-weight: 900;
    }


}

/* Mobile devices (Cell Phones, 500px and below) */
@media (max-width: 500px) {

    /********* Elements *******/

    body {
        font-size: 12px;
    }

    h5 {
        font-size: 14px;
        font-weight: 900;
    }

    /******** Navbar ********/
    .navbar {
      height: 70px;
      margin-bottom: 30px;
    }

    .navbar-img {
        height: 50px;
        width: 50px;
        margin-left: 20px;
    }

    /********* Grids *******/

    .content-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-row: 1;
        gap: 10px;
        height: 100%;
    }

    /********* Containers *******/

    .container {
        max-width: 100%;
        height: 60px;
        margin: 0 auto;
        overflow: auto;
        padding: 0px 5px 0px 5px;
        position: relative;
    }

    .content-container{
        position: relative;
        height: 100%;
        width: 100%;
        overflow: auto;
        /*background: #fad7d4;*/
    }

    .container-error {
      margin: auto;
      width: 100%;
      padding: 10px;
}

    /********* SideBar *******/

    .sidebar {
        position: fixed;
        top: 0px;
        left: -190px;
        width: 190px;
        /* background: #062c3f; */
        background: #333333;
        font-size: 14px;
        transition: left 0.4s ease;
        z-index: 1;
    }

    .sidebar a {
        color: #fff;
        /* background: #062c3f; */
        background: #333333;
        text-decoration: none;
        width: 190px;
        line-height: 2.38541;
        box-sizing: border-box;
        transition: 0.5s;
        transition-property: background;
    }

    .sidebar-sm {
        font-size: 12px;
    }

    .sidebar a:hover {
        color: #fff;
        font-weight: 900;
        border-left-color: #ff751a;
    }

    .sidebar.show {
        left: 0px;
        transition: left 0.5s ease;
    }

    .btn-sidebar {
        position: absolute;
        display: block;
        background: inherit;
        padding: 0px;
        left: 140px;
        font-size: 20px;
        margin-top: 10px;
        cursor: pointer;
        transition: left 0.4s ease;
    }

    .btn-sidebar.click {
        left: 190px;
    }

    .btn-sidebar.click span:before{
        content: '\f00d';
    }

    .active-sub{
        font-weight: 900;
        background: #000000;
    }

    /********* Content *******/

    .content {
        position: absolute;
        top: 0px;
        left: 0px;
        height: 100%;
        width: 100%;
        padding: 5px;
    }

    /********* Jumbotron *******/

    .jumbotron {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        margin-bottom: 10px;
    }


    .jumbotron h2 {
        font-size: 14px;
        font-weight: 900;
    }

    /********* Tables *******/
    .table {
        width: 100%;
        font-size: 10px;
    }

    .btn {
        font-size: 12px;
    }

     .btn-sm {
        font-size: 10px;
    }

    .table-responsive{
        font-size: 12px;
    }

    .table-responsive .dataTables_filter {
        display: none !important;
    }

    /* .table-summary {
        text-align: center;
        table-layout: fixed;
        width: 300px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
        padding: 20px;
    } */

    .table-summary {
        width: 100%;
        max-width: 340px;          /* keeps it readable on larger phones */
        margin: 0 auto;            /* centers the table */
        box-sizing: border-box;    /* includes padding in width */
        border-collapse: collapse;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
        padding: 0;                /* move padding to cells instead */
    }


    .table-summary td {
        padding: 10px;
        font-size: 15px;
        font-weight:900;
    }

    .table-summary td,
    .table-summary th {
        padding: 10px;
    }

    /********* Login Pages *******/

    .login-panel {
        width: 70%;
    }

    .login-panel img{
        height: 75px;
        width: 75px;
    }

    .login-panel a{
        font-size: 14px;
    }

    /********* Forms *******/

    .form-control {
        font-size: 12px !important;
    }

    .input-group-text {
        font-size: 12px !important;
        margin-bottom: 1px;
    }

    .col-form-label-sm {
        font-size: 12px;
    }

    .textarea-memo {
        width: 60%;
    }


    /********* Profile Pages *******/
    .profile-menu a {
        text-decoration: none;
        font-weight: 900;
    }

    .profile-menu a:hover {
        font-weight: 900;
    }

}
