@media (max-width: 1200px){
    .sidebar-fixed {
        display: block;
    }
}

@media (min-width: 1200px){
    .navbar, .page-footer {
        padding-left: 290px;
    }
}

@media (min-width: 600px){
    .navbar.scrolling-navbar.top-nav-collapse {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

main {
    height: 92vh;
}

main > div:nth-child(1) {
    padding-bottom: 60px;
}

/*
pags-tag
********************************************/

.pages-tag {
  white-space: nowrap;
}

.pages-tag {
  color: #fff;
  background: #000;
  font-size: 14px;
  padding: 0 0.4em
}

.pages-tag.bg\:blueLight {
  background: #BCE2E8 !important;
}

.pages-tag.bg\:greenLight {
  background: #CDE6C7 !important;
}

.pages-tag.bg\:orangeLight {
  background: #FAB27B !important;
}

/*
pagination
********************************************/

.pagination-set{
    text-align:center;
    margin-bottom:10px;
}

table + .pagination-set{
    margin-top:25px;
}

.pagination{
    list-style-type: none;
    padding-left: 0;
    text-align: center;
    margin: 10px 0;
}

.pagination li{
  display: inline-block;
}

.pagination a {
    font-weight: 500;
    text-decoration:none;
    border: none;
    width:38px;
    height:38px;
    color: #333;
    display: block;
    line-height: 38px;
    margin-left: 3px;
}

.pagination li:not([class*="current"]) a:hover {
    background-color: #eee;
}

.pagination li:first-of-type a {
    border-left-width: 1px;
}

.pagination li.first span,
.pagination li.last span,
.pagination li.previous span,
.pagination li.next span {
  /* screen readers only */
  position: absolute;
  top: -9999px;
  left: -9999px;
}

.pagination li.first a::before,
.pagination li.last a::after,
.pagination li.previous a::before,
.pagination li.next a::after {
    display: inline-block;
    font-family: Fontawesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
}

.pagination li.first a::before { content: "\00AB"; }
.pagination li.last a::after { content: "\00BB"; }

.pagination li.previous a::before { content: "\2039"; }
.pagination li.next a::after { content: "\203A"; }

.pagination li.current a {
    color:#fff;
    background-color: #333;
    cursor: default;
    pointer-events: none;
    margin-right:5px;
}

.pagination li.disabled a {
    color:#fff;
    background-color: #d3d7cf;
    cursor: default;
    pointer-events: none;
    margin-right:5px;
}

.pagination > li:first-child > a {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.pagination > li:last-child > a {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

/*
table
********************************************/

table, td{
    border: 1px solid #dee2e6;
}

table th:nth-of-type(1){
    border-left: 1px solid #dee2e6;
}

table th {
    font-size: .8rem;
    padding-left: 0.5rem;
}

table th.important {
    width: 70px;    
    text-align: center !important;
}

table.table td{
    vertical-align: middle;
    padding-top: 0rem; 
    padding-bottom: 0rem;
    text-align: left;
}

table.table th,
table.table td {
    padding: 0.5rem;
}
    
table.table thead th {
    vertical-align: middle;
    text-align: center;
}

table.search-table th {
    background: #343a40;
    color: #fff;
}

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

table.list-table td {
    padding: 0rem 0.1rem 0rem 0.1rem;
    text-align: center;
}

table.info-table th,
table.info-table td{
    text-align: left;
    vertical-align: middle;
}

table.info-table th {
    background: #343a40;
    color: #fff;
}

.table {
    margin-bottom: 0.5rem;
}

.table td, .table th {
    padding: 0rem;
}

/*
button
********************************************/

.btn {
    font-size: 10pt !important;
    margin: .1rem;
}

.btn.btn-sm {
    padding: .1rem 1.6rem;
}

.btn.btn-vsm {
    padding: .1rem 0rem;
}

.btn-rounded {
    border-radius: 0.8em;
}

.btn-icon {
    margin-right: 1.1em;
}

/*
card
********************************************/
.card-header{
    font-weight: bold;
}

.card-body {
    padding: 0.5rem;
}

/*
label
********************************************/
label {
    display: inline;
    margin-bottom: 0rem;
    height: 2rem;
}

.label-important {
    border-radius: 10em;
    border: 2px solid #FF3547;
    padding: 1px 7px;
    font-size: 11px;
    color: #FF3547;
}

.label-title {
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.label-comment {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .7rem;
    color: red;
    font-weight: bold;
}

.label-radio {
    width: 90px;
    display: inline-flex;
    align-items: center;
}

/*
input
********************************************/
input[type=radio] {
    margin-right: 0.5rem;
}

.input-group {
    width: auto;
}

.input-group input[type=text], input[type=password] {
    width: 110px;
    flex: none;
    margin: .1rem;
}

.input-group-text {
    height: 2rem;
    border-radius: 0em;
}

.input-group-text.org-height {
    height: calc(2.25rem + 2px);
}

.form-control {
    padding: 0rem 0.5rem 0rem 0.5rem !important;
    height: 2rem;
}

input[type="number"],
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    -moz-appearance:textfield !important;
}

#detailForm,
#detail-form,
#detailForm,
#detail-form {

    div:has(input[type=text]),
    div:has(textarea) {

        width: 100%;

        input[type=text],
        textarea {
            width: 100%;
        }
    }
}

/*
select
********************************************/
select.form-control:not([size]):not([multiple]) {
    height: 2rem;
}

.disp-flex {
    display: -webkit-box;
}

/*
modal
********************************************/
.modal-header {
    font-weight: bold;
}

/*
image
********************************************/
.imagePreview {
    width: 50%;
    height: 100px;
    background-position: center center;
    -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, .3);
    display: inline-block;
    background-image: url("/img/no-image.png");
    background-size: contain;
    background-repeat: no-repeat;
}

/*
alert
********************************************/
.alert {
    margin-top: 1rem;
}

.helpText{
    margin-left: 10px;
    display:inline-block;
    font-size: 0.75em;
    vertical-align: bottom;
}

.form-control {
    display:initial !important;
}

.sidebar-fixed {
    width: 200px;
    padding: 0px 2px 2px;
}

.navbar, .page-footer, main {
    padding-left: 200px;
}

/*
progress-bar
********************************************/
.progress-bar-container {
  position: relative;
  margin-top: 10px;
  width: 100%;
  height: 20px;
  background-color: #ddd;
  border-radius: 4px;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: #ddd;
  border-radius: 4px;
  transition: width 0.4s ease-in-out;
}

.strength-0 {
  width: 2%;
  background-color: red;
}

.strength-1 {
  width: 25%;
  background-color: orange;
}

.strength-2 {
  width: 50%;
  background-color: gold;
}

.strength-3 {
  width: 75%;
  background-color: yellowgreen;
}

.strength-4 {
  width: 100%;
  background-color: green;
}

/*
custom
********************************************/
.eyes {
  cursor: pointer;
}

.pw-show {
  content: url("/img/ico-pw-show.svg");
  height: 32px;
}

.pw-hide {
  content: url("/img/ico-pw-hide.svg");
  height: 32px;
}

.parsley-error {
  background: #ff354729;
}

.text-danger {
  margin: 0px 0px 4px 0px;
}
