/*
 * Base structure
 */

.eb-group .bg-inverse {
  color: #fff!important;
  background-color: #025c4e!important;
}

.navbar-dark .navbar-brand {
  width: 220px;
  text-align: center;
}

.navbar-brand img {
  width: 120px
}

.navbar-nav.pull-xs-left {
  margin-left: 40px
}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

main .page-header {
  margin-top: 25px;
  margin-bottom: 0;
  text-align: left;
  font-size: 40px;
  font-family: 'NanumSquare', serif;
  font-weight: 300;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-sidebar {
  margin-top: 40px;
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: 20px;
}
.nav-sidebar > li > a {
  display: block;
  margin-top: -1px;
  padding: 10px 20px;
  background-color: #fff;
/*
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
*/  
  color: #666
}

.nav-sidebar > li > a:hover {
  background-color: #eee;
  text-decoration: none
}

.nav-sidebar > li > a i {
  padding-right: 5px;
  color: #ccc;
}

.eb-group .nav-sidebar > .active > a,
.eb-group .nav-sidebar > .active > a:hover,
.eb-group .nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #008470;
}


/*
 * Main content
 */

.main {
  padding: 0;
}
@media (min-width: 768px) {
  .main {
    padding-right: 30px;
    padding-left:  30px;
  }
}
.main section footer {
  margin: 5px 0 40px;
  padding-top: 40px;
  border-top: 1px solid #eee
}
.main section footer .pagination {
  margin: 0 auto
}

.page-header {
  padding-bottom: 9px;
  margin: 15px 0 20px;
  border-bottom: 1px solid #eee;
}


/*
 * Table
 */

 .tta-table .thead-default th {
     background-color: #f9f9f9;
 }

 .tta-table th {
     background-color: #f9f9f9;
 }

.tta-table th,
.tta-table td {
  text-align: center;
}

/*.modal*/
@media (min-width: 992px) {
  .modal-full {
      max-width: 98%;
  }
}

@media (min-width: 992px) {
  .modal-body .rb-body {
      max-height: -webkit-calc(100vh - 270px);
      max-height: -moz-calc(100vh - 270px);
      max-height: calc(100vh - 270px);
      overflow-y: auto;
  }
}

.visible-print {
  display: none
}

@media print {
  .container {
    width: auto;
  }
  .visible-print  { display: block !important; }
  .hidden-print   { display: none !important; }

  .modal-lg {
      max-width: 100%;
      margin: 0
  }
  .modal-header {
    border-bottom: none
  }
  .modal-title {
    text-align: center;
    font-weight: 700
  }
  .modal-title::before {
    content: "TTA 상호운용성 "
  }
  .modal-content {
    margin-top: -10px;
    border: none
  }

  .modal-body {
    padding-left: 0;
    padding-right: 0
  }

  .table-bordered td, .table-bordered th {
    border: 1px solid #000 !important;
  }
  #chart-pie {
    width: 200px
  }
  .tag {
    font-size: 1rem;
    border: none;
    color: #000
  }
}
