/*!
 * custom css style of starbase
 * based on bootsrap v4.1.1
 * designed by KR.Chow
*/

/* body */
body{
  font-size: 16px;
  font-family: "Goudy Bookletter 1911", sans-serif;
  background-color:#fdfdfd;
}

.jumbotron {
    color: inherit;
    background-color: #fdfdfd;
}


a {
    color: #9e08e8;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

a:visited {
    color: #0056b3;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

a.dropdown-item:visited {
    color: black;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  font-family: "Goudy Bookletter 1911", sans-serif;
}

.vertical-center {
  height:100%;
  width:100%;

  text-align: center;  /* align the inline(-block) elements horizontally */
  font: 0/0 a;         /* remove the gap between inline(-block) elements */
}

/* navbar */
#mainNav .navbar-toggler {
  font-size: 12px;
  right: 0;
  padding: 13px;
  text-transform: uppercase;
  color: white;
  border: 0;
  background-color: #03477b;
  font-family: 'Ubuntu', sans-serif; }

@media (max-width: 575px) {
  #mainNav .navbar-brand img {
    height: 30px; } }

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 95%;
  font-weight: 400;
  padding: 0px;
  letter-spacing: 0px;
  color: white;
  font-family: 'Roboto', sans-serif; }
#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #ffc000; }

@media (min-width: 992px) {
  #mainNav {
    padding-top: 5px;
    padding-bottom: 5px;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    -moz-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
    background-color: #03477b; }
    #mainNav .navbar-brand {
      font-size: 1.75em;
      -webkit-transition: all 0.3s;
      -moz-transition: all 0.3s;
      transition: all 0.3s; }
    #mainNav .navbar-nav .nav-item .nav-link {
      padding-left: 0.3em !important;
      padding-right: 0.3em !important; }
    #mainNav.navbar-shrink {
      padding-top: 0;
      padding-bottom: 0;
      background-color: #212529; }
      #mainNav.navbar-shrink .navbar-brand {
        font-size: 1.25em;
        padding: 12px 0; } }

@media (max-width: 991px) {
  #mainNav {
    padding-top: 5px;
    padding-bottom: 5px;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    -moz-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    background-color: #03477b; }
    #mainNav .navbar-toggler {
      background-color: #f4fc53; } }

.navbar {
    border-radius: 0px;
}

.dropdown:hover>.dropdown-menu {
  display: block;
}

/*dropdown-menu transition color
.dropdown-menu a:hover{
  background: #03477b !important;
  background: linear-gradient(left, #0272a7, #013953);
  background: -moz-linear-gradient(left, #0272a7, #013953)!important;
  background: -webkit-gradient(linear, 100% 100%, 50% 50%, from(#0272a7), to(#013953))!important;
  color: #ffc000 !important;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}
*/

.dropdown-menu a:hover{
  background: #03477b !important;
  color: #ffc000 !important;}
}

.dropdown>.dropdown-toggle:active {
  /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

/* footer */
footer {
  background-image: none;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: relative;
  color: #fff; }
  footer::before {
    background-color: rgba(0, 57, 119, 0.86);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    width: 100%; }
  footer .container .row {
    padding: 100px 0 50px; }
    footer .container .row .company-desc address i {
      font-size: 30px; }
    footer .container .row .social ul {
      padding-left: 0; }
      footer .container .row .social ul li {
        list-style: none;
        display: inline-block;
        margin: 10px 15px;
        height: 35px;
        width: 35px;
        text-align: center;
        line-height: 35px;
        border: 1px solid #fff; }
        footer .container .row .social ul li:hover {
          cursor: pointer;
          background: #fff;
          color: #03477b; }
    footer .container .row .social .cont-info {
      margin-left: 15px;
      margin-top: 5px; }
      footer .container .row .social .cont-info i {
        font-size: 30px; }
      footer .container .row .social .cont-info a {
        margin-left: 5px;
        color: #fff;
        text-decoration: none; }
    footer .container .row .latest-news {
      margin-bottom: 15px; }
      footer .container .row .latest-news h3 {
        margin-bottom: 15px; }
      footer .container .row .latest-news img {
        height: 60px;
        width: 60px;
        float: left;
        margin-right: 10px; }
      footer .container .row .latest-news p {
        margin: 0;
        line-height: 22px; }
      @media (max-width: 991px) {
        footer .container .row .latest-news img {
          margin-bottom: 40px;
          height: 60px;
          width: 60px;
          float: left;
          margin-right: 10px; } }
    @media (max-width: 767px) {
      footer .container .row {
        max-width: 320px;
        margin: 0 auto; }
        footer .container .row .company-desc {
          padding-left: 10px;
          margin-bottom: 70px; }
        footer .container .row .social {
          padding-left: 10px;
          margin-bottom: 70px; }
        footer .container .row .latest-news {
          padding-left: 10px;
          clear: both; }
          footer .container .row .latest-news img {
            height: 60px;
            width: 60px;
            float: left;
            margin-right: 10px; } }
  footer .footer-b {
    background: #03477b;
    position: relative;
    height: 55px;
    line-height: 55px; }
    footer .footer-b small {
      font-size: 15px;
      color: #fff; }
      footer .footer-b small a {
        color: #f4fc53; }
    @media (max-width: 420px) {
      footer .footer-b {
        height: 100%;
        line-height: 30px; } }

#jumbotronRow {
  margin-top: 1.1%;
  margin-left: -0.4%;
}

/* sidebar */
#sidebar {
    overflow: hidden;
    z-index: 3;
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 14%;
}

#sidebar .list-group {
    /*min-width: 400px;*/
    background-color: #1b5c75;
    min-height: 90vh;
}
#sidebar i {
    margin-right: 6px;
}

#sidebar .list-group-item {
    border-radius: 0;
    background-color: #1b5c75;
    color: #fdfdfd;
    border-left: 0;
    border-right: 0;
    border-color: #18191b;
    white-space: wrap;
}

/* highlight active menu */
#sidebar .list-group-item:not(.collapsed) {
    background-color: #1b5c75;
}

/* closed state */
#sidebar .list-group .list-group-item[aria-expanded="false"]::after {
  content: " \f101";
  font-family: FontAwesome;
  display: inline;
  text-align: left;
  padding-left: 5px;
}

/* open state */
#sidebar .list-group .list-group-item[aria-expanded="true"] {
  background-color: #1b5c75;
}

#sidebar .list-group .list-group-item[aria-expanded="true"]::after {
  content: " \f103";
  font-family: FontAwesome;
  display: inline;
  text-align: left;
  padding-left: 5px;
}

/* level 1*/
#sidebar .list-group .collapse .list-group-item,
#sidebar .list-group .collapsing .list-group-item  {
  padding-left: 20px;
}

/* level 2*/
#sidebar .list-group .collapse > .collapse .list-group-item,
#sidebar .list-group .collapse > .collapsing .list-group-item {
  padding-left: 30px;
}

/* level 3*/
#sidebar .list-group .collapse > .collapse > .collapse .list-group-item {
  padding-left: 40px;
}

@media (max-width:768px) {
    #sidebar {
        min-width: 35px;
        max-width: 40px;
        overflow-y: auto;
        overflow-x: visible;
        transition: all 0.25s ease;
        transform: translateX(-45px);
        position: fixed;
    }

    #sidebar.show {
        transform: translateX(0);
    }

    #sidebar::-webkit-scrollbar{ width: 0px; }

    #sidebar, #sidebar .list-group {
        min-width: 35px;
        overflow: visible;
    }
    /* overlay sub levels on small screens */
    #sidebar .list-group .collapse.show, #sidebar .list-group .collapsing {
        position: relative;
        z-index: 1;
        width: 190px;
        top: 0;
    }
    #sidebar .list-group > .list-group-item {
        text-align: center;
        padding: .75rem .5rem;
    }
    /* hide caret icons of top level when collapsed */
    #sidebar .list-group > .list-group-item[aria-expanded="true"]::after,
    #sidebar .list-group > .list-group-item[aria-expanded="false"]::after {
        display:none;
    }
}

.collapse.show {
  visibility: visible;
}
.collapsing {
  visibility: visible;
  height: 0;
  -webkit-transition-property: height, visibility;
  transition-property: height, visibility;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.collapsing.width {
  -webkit-transition-property: width, visibility;
  transition-property: width, visibility;
  width: 0;
  height: 100%;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

/* other */
.main {
  min-height: 90vh;
}

label {
    font-weight:normal;
}

/* botton-related */
a.btn {
  padding:1px;
  font-size: 12px;
  margin-bottom: 2px;
}

.badge-info {
    color: #f8bc01;
    background-color: #003976e0;
}

/* select2 */

.btn-light {
    color: black;
    background-color: #fff;
    border-color: #ced4da;
}

.btn-light:not(:disabled):not(.disabled).active, .btn-light:not(:disabled):not(.disabled):active, .show>.btn-light.dropdown-toggle {
    color: black;
    background-color: #fff;
    border-color: #d3d9df;
}

.btn {
    font-weight: normal;
    text-align: left;
    font-size: 14px;
}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {
    color: #f8bc01;
    text-decoration: none;
    outline: 0;
    background-color: #1c517b;
}

.dropdown-menu>li>a {
    font-size: 14px;
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857;
    color: black;
    background-color: #fff;
    white-space: nowrap;
}

.bootstrap-select:hover>.dropdown-menu {
  display: none;
}

[role="combobox"] {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #fdfdfd;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
}

.dropdown-menu.show {
    max-width: 100%;
}

.popover-header {
    padding: .5rem .75rem;
    margin-bottom: 0;
    font-size: 13px;
    color: black;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px);
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 15px;
    line-height: 1.5;
    color: black;
    background-color: #fdfdfd;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

/* bootstrap-editable*/
.editable-click, a.editable-click, a.editable-click:hover {
    text-decoration: none;
    border-bottom: dashed 1px #ffffff;
}

.before-editable{
  color:#ffffff;
}

/* table */
.input-group-sm>.input-group-append>select.btn:not([size]):not([multiple]),
  .input-group-sm>.input-group-append>select.input-group-text:not([size]):not([multiple]),
  .input-group-sm>.input-group-prepend>select.btn:not([size]):not([multiple]),
  .input-group-sm>.input-group-prepend>select.input-group-text:not([size]):not([multiple]),
  .input-group-sm>select.form-control:not([size]):not([multiple]),
  select.form-control-sm:not([size]):not([multiple]) {
    height: calc(2rem + 2px);
}

.form-control-sm, .input-group-sm>.form-control, .input-group-sm>.input-group-append>.btn,
  .input-group-sm>.input-group-append>.input-group-text, .input-group-sm>.input-group-prepend>.btn,
  .input-group-sm>.input-group-prepend>.input-group-text {
    padding: .1rem .5rem;
    font-size: 1.4rem;
    line-height: 1.5;
    border-radius: .2rem;
}

table.dataTable thead>tr>th.sorting_asc,
table.dataTable thead>tr>th.sorting_desc,
table.dataTable thead>tr>th.sorting,
table.dataTable thead>tr>td.sorting_asc,
table.dataTable thead>tr>td.sorting_desc,
table.dataTable thead>tr>td.sorting {
    padding-right: 0px;
}

table.dataTable.table-sm>thead>tr>th {
    padding-right: 0px;
}

/* table header !important */
table.table.table-sm.table-striped.table-bordered.no-footer.dataTable {
    min-height: 45px !important;
}

.table>thead>tr>th, .table>thead>tr>td, .table>tbody>tr>th,
.table>tbody>tr>td, .table>tfoot>tr>th, .table>tfoot>tr>td {
    padding: 6px;
    line-height: 1.42857;
    vertical-align: top;
}

/* datatable show/hide column*/
.dt-buttons>.dropdown-menu{
  position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 14px;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
}

.dt-button-collection>.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #1b5c75;
}

.product-tabs p {
    font-size: 16px;
    max-width: 1500px;
    margin: 0 auto
}

.jumbotron p {
    margin-bottom: 1px;
    font-size: 16px;
    font-weight: 200;
}

/*
.modal-content{
  min-width:950px;
  margin-right: 250px;
}
*/

.modal-dialog{
    position: relative;
    display: table; /* This is important */
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 1050px;
}

.modal-content{
    background-color: #fbfbfb;
}

footer .footer-b {
    background: #03477b;
    position: relative;
    height: 35px;
    line-height: 35px;
}