body {
  hyphens: auto;
}

ul {
  padding-left: 1.8rem;
}

.title-1,
.title-2,
.title-3,
.title-4,
.title-5 {
  text-transform: none;
}

.btn-success {
  background: #63c76a;
  border-color: transparent;
}

.btn-success:hover {
  background: #59bd60;
  border-color: transparent;
}

.header {
  height: 44px;
  background: #f5f5f5;
  -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.1);
}

.header-inner {
  padding: 0 30px;
}

@media (max-width: 991px) {
  .header-inner {
    padding: 0;
  }
}

.header .logo img {
  max-height: 32px;
}

.header .icon {
  max-height: 32px;
}

.header .header-title {
  font-size: 22px;
  font-weight: 500;
  color: #333;
}

.header .header-title:hover {
  color: #666;
}

.page-container {
  position: static;
  padding-left: 0 !important;
  top: 0 !important;
}

.main-content {
  padding-top: 3rem;
  min-height: calc(100vh - 196px);
}

.login .main-content {
  min-height: 100vh;
}

.login-logo img {
  max-height: 100px;
}

.copyright p {
  font-size: 12px;
  line-height: -webkit-calc(24/12);
  line-height: -moz-calc(24/12);
  line-height: calc(24 / 12);
}

.copyright a {
  color: #666;
}

.copyright a:hover {
  color: #000;
  text-decoration: underline;
}

.account-item > .content {
  margin-left: 0px;
}

.notifi__item {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #fff;
  border-bottom: none;
}

.notifi__item .title {
  margin-right: 15px;
  font-size: 1.6rem;
  font-weight: bold;
  overflow: hidden;
  line-height: 1;
}

.notifi__item .title > span {
  font-size: 1rem;
  font-weight: normal;
}

.notifi__item .content {
  width: auto;
  min-width: 45%;
  flex-grow: 1;
  font-size: 16px;
}

.notifi__item .content .secondary {
  font-size: 14px;
  color: #999;
}

.notifi__item .bg-success {
  background-color: #c3e6cb !important;
}
.notifi__item .bg-warning {
  background-color: #ffeeba !important;
}
.notifi__item .bg-danger {
  background-color: #f5c6cb !important;
}

.notifi__item.active {
  cursor: default;
  background-color: #007bff;
  pointer-events: none;
  cursor: default;
}

.notifi__item.active .title,
.notifi__item.active .content p,
.notifi__item.active .content .date {
  color: white;
}

.notifi__item-main {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}

.notifi__items-narrow .notifi__item {
  padding: 5px 20px;
}
.notifi__items-narrow .full {
  width: 100%;
}

.notifi__items-narrow .border-right {
  border-right: 1px solid #c9c9c9;
}

.notifi__items-narrow .notifi__item .additional {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -moz-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.notifi__items-narrow .notifi__item .additional div {
  margin-left: 10px;
  text-align: center;
  width: 24px;
  height: 24px;
  position: relative;
  color: #c9c9c9;
  display: block;
}

/* ----- Card ----- */
.card-icon {
  overflow: hidden;
  position: relative;
}

.card-icon > * {
  position: relative;
  z-index: 1;
}

.card-icon i.big {
  font-size: 7rem;
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  opacity: 0.2;
  z-index: 0;
}

.card-icon span.big {
  font-size: 4rem;
  position: absolute;
  right: -2rem;
  bottom: -1.5rem;
  opacity: 0.2;
  z-index: 0;
}

/* ----- Table ----- */
.table td {
  vertical-align: middle;
}

.table.align-top td {
  vertical-align: top;
}

.table td,
.table th {
  padding: 0.5rem;
}

.table-row-link {
  cursor: pointer;
}

/***********************************
*** Custom Check Box
***********************************/

/* Customize the label (the container) */
.checkbox {
  display: block;
  position: relative;
  padding-left: 47px;
  height: 38px;
  margin: 0;
  line-height: 38px;
  /* overflow: hidden; */
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 38px;
  width: 38px;
  border: 1px solid #ced4da;
}

/* On mouse-over, add a grey background color */
.checkbox:hover input ~ .checkmark,
.checkbox input:focus ~ .checkmark {
  background-color: #ccc;
}

.checkbox input:focus ~ .checkmark {
  border-color: #80bdff;
}

/* When the checkbox is checked, add a blue background */
.checkbox input:checked ~ .checkmark {
  background-color: #2196f3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox .checkmark:after {
  left: 11px;
  top: 3px;
  width: 15px;
  height: 25px;
  border: solid white;
  border-width: 0 6px 6px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.checkbox .checkmark.radio:after {
  top: 10px;
  left: 10px;
  width: 16x;
  height: 16px;
  border-radius: 50%;
  background: white;
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
}

/* Radio */
/* The container */
.radio {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.radio .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.radio:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.radio input:checked ~ .checkmark {
  background-color: #2196f3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.radio .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.radio input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.radio .checkmark:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

/* Select2 Styles */
.select2-selection__rendered {
  line-height: 34px !important;
}
.select2-container .select2-selection--single {
  height: 38px !important;
  padding-top: 1px;
  border: 1px solid #ced4da;
  border-radius: 2px;
}
.select2-selection__arrow {
  height: 37px !important;
}

/* File Input. */
.custom-file-label {
  white-space: nowrap;
  overflow: hidden;
}
