
@font-face {
  font-family: 'Poppins';
  src: url("/fonts/Poppins-Regular.woff") format("woff2"), url("/fonts/Poppins-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Content/material-icons.css */
/* fallback */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url("/fonts/google-material-icon.woff2") format("woff2");
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

* {
  font-family: Poppins;
  /*font-size: 99%;*/
}

a {
  color: #0080ff;
}

a:hover {
  color: #004589;
}

body {
  height: 100%;
  margin: 0;
  padding-top: 0px;
  padding-bottom: 0px;
  font-size: 13px;
}

/* Set padding to keep content from hitting the edges */
.container {
  width: 100%;
  margin: 0;
  padding: 0 20px 0 20px;
}

.body-content {
  height: calc(100% - 25px);
  width: 100%;
  margin: 0;
  padding: 0;
}

.navbar {
  z-index: 100;
}

.navbar-inverse .navbar-nav > .open > a {
  background-color: #0080ff !important;
}

.navbar-inverse .navbar-nav > .open > a:hover {
  color: #fff !important;
}

.nav-tabs > li > a, .nav-tabs > li > a > span {
  font-weight: bold;
  color: #212121;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a > span {
  color: #0080ff !important;
}

.navbar-inverse .navbar-brand:focus, .navbar-inverse .navbar-brand:hover {
  color: #9d9d9d !important;
}

.navbar-user-menu {
  font-size: 14px;
  padding: 10px !important;
}

.navbar-user-menu:hover {
  color: #9d9d9d !important;
}

.navbar-brand > div > span {
  margin-left: 5px;
  margin-right: 20px;
  font-size: 14px;
}

.navbar-user-img {
  height: 30px;
}

.navbar-message {
  display: inline-block;
  float: left;
  margin: 15px;
}

.brand-img {
  height: 50px;
  padding: 5px 15px;
}

.overlay {
  width: 100%;
  height: 100%;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
}

/* Animate Background*/
.animate-background {
  /*background: linear-gradient(224deg, $black, #434343);
    background-size: 400% 400%;
    -webkit-animation: animate-background 8s ease infinite;
    -moz-animation: animate-background 8s ease infinite;
    -o-animation: animate-background 8s ease infinite;
    animation: animate-background 8s ease infinite;*/
}

@-webkit-keyframes animate-background {
  0% {
    background-position: 0% 9%;
  }
  50% {
    background-position: 100% 92%;
  }
  100% {
    background-position: 0% 9%;
  }
}

@-moz-keyframes animate-background {
  0% {
    background-position: 0% 9%;
  }
  50% {
    background-position: 100% 92%;
  }
  100% {
    background-position: 0% 9%;
  }
}

@-o-keyframes animate-background {
  0% {
    background-position: 0% 9%;
  }
  50% {
    background-position: 100% 92%;
  }
  100% {
    background-position: 0% 9%;
  }
}

@keyframes animate-background {
  0% {
    background-position: 0% 9%;
  }
  50% {
    background-position: 100% 92%;
  }
  100% {
    background-position: 0% 9%;
  }
}

@-webkit-keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.rotating {
  /*    -webkit-animation: rotating 5s linear infinite;
    -moz-animation: rotating 5s linear infinite;
    -ms-animation: rotating 5s linear infinite;
    -o-animation: rotating 5s linear infinite;
    animation: rotating 5s linear infinite;*/
}

.border-gradient {
  width: 80px;
  height: 80px;
}

.signin-background {
  text-align: center;
  line-height: 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.signin-zone {
  position: absolute;
  text-align: center;
  top: 50%;
  left: 50%;
  margin-top: -200px;
  margin-left: -200px;
  width: 400px;
  height: 400px;
}

.signin-zone .img-logo {
  width: 400px;
  height: 300px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.signin-zone input.text {
  background-color: #fff !important;
  border: solid thin #b7b7b7 !important;
}

.signin-zone button span {
  font-size: 18px;
  font-style: normal;
  font-weight: lighter;
  color: #0080ff;
}

.signin-button {
  margin-top: -75px;
  width: 80px;
  height: 80px;
  line-height: 70px;
  z-index: 100;
  margin-left: -5px;
  color: #0080ff;
}

/* Nav bar*/
.navbar-inverse {
  background-color: #fff;
  border-color: #eee;
}

/* Set all text style*/
label {
  font-weight: normal;
}

* {
  outline: none !important;
  box-shadow: none;
}

/**:hover {
    outline: none !important;
    box-shadow: none !important;
}*/
*:active {
  outline: none !important;
  box-shadow: none !important;
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

*:visited {
  outline: none !important;
  box-shadow: none !important;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
  white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
  max-width: 280px;
}

select option {
  max-width: 280px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Scroll Bar */
/*::-webkit-scrollbar {
    height: 4px !important;
    width: 4px;
    border: 1px solid #d5d5d5;
}

::-webkit-scrollbar-track {*/
/*-webkit-box-shadow: inset 0 0 6px $gray;*/
/*-webkit-box-shadow: inset 0 0 6px $black;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;*/
/*-webkit-box-shadow: inset 0 0 10px $lightgray;*/
/*-webkit-box-shadow: inset 0 0 10px $gray;
}*/
/* Sort Table*/
.ui-state-highlight {
  background-color: #004589;
  height: 50px;
}

.main {
  padding-top: 50px;
  position: absolute;
  height: calc(100%);
  width: 100%;
  max-width: initial;
  padding-bottom: 0px;
  overflow: hidden;
}

.main .main-topic {
  height: 30px;
  color: #0080ff;
  padding: 10px 20px 0;
  border-bottom: 1px solid #0080ff;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 15px;
  position: relative;
  min-width: 600px;
}

.main .main-topic .left {
  border: 0;
  padding: 0;
  height: 20px;
}

.main .main-topic .left > a {
  font-style: normal;
  color: #004589;
  text-decoration: none;
}

.main .main-topic .left > a:hover {
  font-style: normal;
  color: #0080ff;
  text-decoration: none;
}

.main .main-topic .right {
  width: calc(50%);
  height: 40px;
  position: absolute;
  top: 0;
  right: 0;
  border-left: 45px solid transparent;
  border-bottom: 41px solid #fff;
}

.main .main-topic .right-content {
  height: 40px;
  position: absolute;
  right: 18px;
  top: 0px;
  width: 400px;
  font-size: 14px;
  text-align: right;
  z-index: 1;
  vertical-align: middle;
  line-height: 40px;
}

.main .main-body {
  height: calc(100%);
  max-width: initial;
  min-width: 600px;
  min-height: 250px;
  padding: 0px;
  overflow: hidden;
  background-color: #fff;
}

.main .main-body.edit-mode {
  width: calc(100% - 320px);
}

/*.main .main-body .left {
    height: 100%;
    max-width: initial;
    padding: 10px 20px 10px 20px;
    overflow: hidden;
    background-color: $white;
}*/
.main .main-body .content {
  height: calc(100% - 50px);
  width: 100%;
  padding: 10px 12px;
  overflow: hidden;
  overflow-y: scroll;
}

.main .main-body .content.search {
  width: 100%;
  /*padding: 10px 20px 10px 20px !important;*/
  overflow-x: hidden;
  overflow-y: auto;
}

.main .main-body .content-header {
  height: 45px;
  background-color: #fafafa;
  padding: 0px 12px;
}

.main .main-body .content-header > div {
  height: 100%;
}

.main .main-body .content-header > div > div {
  padding: 12.5px 5px;
  font-weight: bold;
  height: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.main .main-body > .content > .content-list {
  /*padding: 20px 10px;
    margin: auto;
    background: $white;*/
  width: 100% !important;
  padding: 0 !important;
}

.main .main-body > .content .input-assumpte + label:after,
.main .main-body > .content-header .input-assumpte + label:after {
  transform: translateY(50%);
  vertical-align: super;
}

.main .main-body .content-header #multiple {
  transform: translateY(-25%);
  height: 45px;
  line-height: 45px;
}

.main .main-body .content-header #multiple > span {
  width: 30px;
  display: inline-block;
  text-align: center;
}

.main .main-body .content-header #multipleText,
.main .main-body .content-header #multipleText > * {
  display: inline-block;
  font-weight: bold;
}

.main .main-body .content-area .content {
  height: 100%;
}

.select2-selection--multiple {
  overflow: hidden !important;
  height: auto !important;
}

.main .main-body .right {
  height: 100%;
  width: calc(100% - 300px);
  min-width: 300px;
  padding: 5px;
  float: left;
}

.main .main-body .right .content {
  height: 100%;
  width: 100%;
  float: left;
  background-color: #fff;
  padding: 0;
}

.main .main-footer {
  height: 25px;
  padding: 0;
  background: #000;
}

.left .content-list, .right .content-list {
  height: calc(100% - 80px);
  overflow-x: hidden;
  overflow-y: hidden;
}

.content-list {
  height: calc(100%);
  overflow-x: hidden;
  overflow-y: hidden;
}

.left .content-list {
  color: #b7b7b7;
  background-color: #212121;
  padding: 5px 0px 5px 5px;
  margin-right: 5px;
  overflow-y: scroll;
}

.content-center {
  text-align: center;
}

.content-left {
  text-align: left;
}

.topic {
  padding: 0 5px;
  height: 40px;
  margin: 0;
}

.tools-bottom {
  display: inline-flex;
  justify-content: space-between;
  padding: 0 5px;
  height: 40px;
  margin: 0;
}

.title {
  color: #0080ff;
  font-size: 16px;
  line-height: 40px;
  margin: 0;
}

.row {
  margin: auto;
  max-width: 930px;
  min-height: 80%;
  height: 90%;
  max-height: 100%;
}

.row .align-right {
  margin-top: 15px;
  text-align: right;
}

.row .align-right td {
  padding: 5px 0px;
  border: none;
}

.row .align-right tr:first-child td:first-child {
  text-align: left;
  font-size: 24px;
}

.div-data {
  text-align: center;
  height: 100%;
}

.div-data * {
  text-align: left;
}

.div-data > .table {
  background: #fff;
}

.div-data > .table thead {
  background: #212121;
  color: #fff;
}

.div-data > .table thead tr th.th-title {
  min-width: 200px;
  width: 220px;
}

.div-data > .table thead tr th.th-function {
  width: 20px;
}

.div-data > .table tbody tr td {
  background: #fff;
}

.div-data > .table tbody tr:last-child {
  border-bottom: solid thin #b7b7b7;
}

.div-table {
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  height: auto;
  max-height: calc(100% - 50px);
  display: inline-block;
}

.div-l2 {
  width: 100%;
  height: 100%;
  max-width: 320px;
  max-height: calc(100% - 50px);
  right: 0;
  top: 50px;
  /*transform: translate(-50%, 0);*/
  overflow: hidden;
  position: absolute;
  z-index: 100;
  border-left: solid thin #eee;
  font-size: 14px;
}

.div-l2 form {
  height: 100%;
}

.div-l2 .body form > div {
  padding: 0 0 12.5px 0;
}

.div-l2 input {
  height: 34px;
}

.div-l2 .header {
  width: 100%;
  background: #fff;
  border-bottom: solid thin #eee;
  border-top: solid thin #eee;
  height: 48px;
  font-size: 11px;
}

.div-l2 .header .back {
  position: absolute;
  left: 0;
  top: 0;
  height: 40px;
  opacity: 1.0;
}

.div-l2 .header .back > button {
  background: transparent;
  border: none;
  color: #b7b7b7;
  padding: 10px;
}

.div-l2 .header .back > button > img {
  height: 22px;
  filter: brightness(0);
}

.div-l2 .title {
  width: calc(100% - 35px);
  left: 0px;
  background: transparent;
  line-height: 32px;
  padding: 8px;
  padding-left: 15px !important;
  color: #0080ff;
  font-size: 16px;
  font-weight: bold !important;
  word-break: break-all;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.div-l2 .header .close {
  position: absolute;
  right: 0;
  top: 0;
  height: 48px;
  opacity: 1.0;
  background: transparent;
}

.div-l2 .header .btn-close {
  padding: 12.5px;
  background: transparent;
  border: none;
}

.div-l2 .header .btn-close img {
  width: 18px;
  filter: brightness(0);
}

.div-l2 .header .btn-close:hover {
  background: transparent;
  border: none;
  color: #fff;
}

.div-l2 .body {
  overflow-y: auto;
  overflow-x: hidden;
  display: block;
  height: calc(100% - 100px);
  background-color: #fff;
}

.div-l2.div-media .body {
  overflow-y: auto;
  overflow-x: hidden;
  display: block;
  height: calc(100% - 150px);
  background-color: #fff;
}

.div-l2 .body > div, .tab-content > .tab-pane > div {
  padding: 12.5px 12.5px;
}

.div-l2 .body p {
  color: #000;
  font-weight: bold;
}

.div-l2 .body input:not(.select2-search__field) {
  border-bottom: solid thin #b7b7b7 !important;
  width: 100%;
  max-width: 100%;
  border-radius: 0px;
  -webkit-transition: border 0.5s ease-out;
  -moz-transition: border 0.5s ease-out;
  -o-transition: border 0.5s ease-out;
  transition: border 0.5s ease-out;
}

.div-l2 .body input:not(.select2-search__field):focus {
  border-bottom: solid 2px #0080ff !important;
}

.div-l2 .body select {
  border-bottom: solid thin #b7b7b7 !important;
  width: 100%;
  max-width: 100%;
  border-radius: 0px;
}

.div-l2 .body select:focus {
  border-bottom: solid 2px #0080ff !important;
}

.div-l2 .body textarea {
  min-width: 100%;
  width: 100%;
  max-width: 100%;
  min-height: 50px;
  height: 50px;
  max-height: 50px;
}

.div-l2 .body textarea:hover {
  border: solid thin #0080ff !important;
}

.div-l2 .body .btn-menu {
  width: calc(100%);
  max-width: calc(100%);
  color: #fff;
  background: #0080ff;
  border: solid 0.5px #b7b7b7;
  border-radius: 2px;
}

.div-l2 .body .btn-menu:hover, .body .div-l2 .btn-menu:focus {
  width: calc(100%);
  color: #fff;
  background: #48a4ff;
  opacity: 0.9;
  border: solid 0.5px #b7b7b7;
  border-radius: 2px;
}

.div-l2 .footer {
  padding: 12.5px 12.5px;
  width: 100%;
  bottom: 0;
  border-top: solid thin #b7b7b7;
  background: #fff;
}

.div-l2.div-media .footer > div {
  padding-bottom: 4px;
}

.div-l2.div-media .footer > div > label {
  font-weight: bold;
}

.div-l2 .footer button {
  width: calc(100%);
  max-width: calc(100%);
  color: #fff;
  background: #0080ff;
  border: solid 0.5px #b7b7b7;
  border-radius: 2px;
}

.div-l2 .footer button:hover, .footer .div-l2 button:focus {
  width: calc(100%);
  color: #fff;
  background: #48a4ff;
  opacity: 0.9;
  border: solid 0.5px #b7b7b7;
  border-radius: 2px;
}

.div-l2 .select2-search__field {
  height: auto;
}

#template_partial .select2-selection__rendered {
  min-width: auto !important;
}

.card-load-more {
  width: 100px;
  margin-left: calc(50% - 50px);
  background: transparent;
  background: #b7b7b7;
  text-align: center;
  padding: 10px 5px;
  border-radius: 2px;
  color: #999;
}

.card-load-more:hover {
  cursor: pointer;
}

.bootstrap-datetimepicker-widget.dropdown-menu, .datepicker.dropdown-menu {
  background: #fff;
  border-radius: 2px;
  box-shadow: none;
  left: 0;
  padding: 0px 0px;
  margin: 0px;
  font-size: 13px;
  width: 230px;
}

.datepicker table tr td.active.active, .datepicker table tr td.active.highlighted.active, .datepicker table tr td.active.highlighted:active, .datepicker table tr td.active.highlighted:hover, .datepicker table tr td.active:active, .datepicker table tr td.active:hover, .open > .dropdown-toggle.datepicker table tr td.active, .open > .dropdown-toggle.datepicker table tr td.active.highlighted {
  color: #fff;
  background-color: #004589;
  border-color: #004589;
}

.datepicker table tr td.active.active.focus, .datepicker table tr td.active.active:focus, .datepicker table tr td.active.active:hover, .datepicker table tr td.active.highlighted.active.focus, .datepicker table tr td.active.highlighted.active:focus, .datepicker table tr td.active.highlighted.active:hover, .datepicker table tr td.active.highlighted:active.focus, .datepicker table tr td.active.highlighted:active:focus, .datepicker table tr td.active.highlighted:active:hover, .datepicker table tr td.active:active.focus, .datepicker table tr td.active:active:focus, .datepicker table tr td.active:active:hover, .open > .dropdown-toggle.datepicker table tr td.active.focus, .open > .dropdown-toggle.datepicker table tr td.active.highlighted.focus, .open > .dropdown-toggle.datepicker table tr td.active.highlighted:focus, .open > .dropdown-toggle.datepicker table tr td.active.highlighted:hover, .open > .dropdown-toggle.datepicker table tr td.active:focus, .open > .dropdown-toggle.datepicker table tr td.active:hover {
  color: #fff;
  background-color: #0080ff;
  border-color: #004589;
}

.datepicker table tr td span.active.active, .datepicker table tr td span.active.disabled.active, .datepicker table tr td span.active.disabled:active, .datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active.disabled:hover.active, .datepicker table tr td span.active.disabled:hover:active, .datepicker table tr td span.active.disabled:hover:hover, .datepicker table tr td span.active:active, .datepicker table tr td span.active:hover, .datepicker table tr td span.active:hover.active, .datepicker table tr td span.active:hover:active, .datepicker table tr td span.active:hover:hover, .open > .dropdown-toggle.datepicker table tr td span.active, .open > .dropdown-toggle.datepicker table tr td span.active.disabled, .open > .dropdown-toggle.datepicker table tr td span.active.disabled:hover, .open > .dropdown-toggle.datepicker table tr td span.active:hover {
  color: #fff;
  background-color: #0080ff;
  border-color: #004589;
}

.datepicker table tr td span.active.active.focus, .datepicker table tr td span.active.active:focus, .datepicker table tr td span.active.active:hover, .datepicker table tr td span.active.disabled.active.focus, .datepicker table tr td span.active.disabled.active:focus, .datepicker table tr td span.active.disabled.active:hover, .datepicker table tr td span.active.disabled:active.focus, .datepicker table tr td span.active.disabled:active:focus, .datepicker table tr td span.active.disabled:active:hover, .datepicker table tr td span.active.disabled:hover.active.focus, .datepicker table tr td span.active.disabled:hover.active:focus, .datepicker table tr td span.active.disabled:hover.active:hover, .datepicker table tr td span.active.disabled:hover:active.focus, .datepicker table tr td span.active.disabled:hover:active:focus, .datepicker table tr td span.active.disabled:hover:active:hover, .datepicker table tr td span.active:active.focus, .datepicker table tr td span.active:active:focus, .datepicker table tr td span.active:active:hover, .datepicker table tr td span.active:hover.active.focus, .datepicker table tr td span.active:hover.active:focus, .datepicker table tr td span.active:hover.active:hover, .datepicker table tr td span.active:hover:active.focus, .datepicker table tr td span.active:hover:active:focus, .datepicker table tr td span.active:hover:active:hover, .open > .dropdown-toggle.datepicker table tr td span.active.disabled.focus, .open > .dropdown-toggle.datepicker table tr td span.active.disabled:focus, .open > .dropdown-toggle.datepicker table tr td span.active.disabled:hover, .open > .dropdown-toggle.datepicker table tr td span.active.disabled:hover.focus, .open > .dropdown-toggle.datepicker table tr td span.active.disabled:hover:focus, .open > .dropdown-toggle.datepicker table tr td span.active.disabled:hover:hover, .open > .dropdown-toggle.datepicker table tr td span.active.focus, .open > .dropdown-toggle.datepicker table tr td span.active:focus, .open > .dropdown-toggle.datepicker table tr td span.active:hover, .open > .dropdown-toggle.datepicker table tr td span.active:hover.focus, .open > .dropdown-toggle.datepicker table tr td span.active:hover:focus, .open > .dropdown-toggle.datepicker table tr td span.active:hover:hover {
  color: #fff;
  background-color: #0080ff;
  border-color: #004589;
}

.bootstrap-datetimepicker-widget table td span {
  color: #000;
}

.bootstrap-datetimepicker-widget table td.today:before {
  background-color: #004589;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background-color: #004589;
}

.bootstrap-datetimepicker-widget table td span.active {
  background-color: #004589;
}

.overflow-auto {
  overflow: auto;
}

.content-list.overflow-auto {
  height: auto;
  overflow: visible;
}

span.danger {
  font-weight: bold;
  color: #CC3333 !important;
  font-size: 12px;
}

span.warn {
  color: #ff8d00;
}

/* CSS */
/* Card */
/*.card {
    display: inline-block;
    background-color: $white;
    text-align: left;
}

.card-sm {
    width: 100%;
    max-width: 300px;
    height: 60px;
    margin: 0.5px 0;
    overflow: hidden;
    background-color: $darkestgray;
    color: $white;
    position: relative;
    display: inline-flex;
}

 .card-sm:hover {
        background-color: $blue;
    }

    .card-sm > * {
        display: inline-block;
    }

    .card-sm .drag-handle {
        position: absolute;
        width: 85px;
        height: 60px;
        background: transparent;
    }
    .card-sm .card-content {
        display: -webkit-inline-box;
        width: calc(100%);
        height: 100%;
        overflow: hidden;
    }

        .card-sm .card-content .card-img {
            margin: 5px 5px;
            height: 50px;
            width: 85px;
            background-color: $black;
            background-repeat: no-repeat;
            background-size: auto 50px;
            background-position: center;
        }

         .card-sm .card-content .card-data {
            margin: 5px 5px;
            height: 50px;
            width: 165px;
            font-size: 12px;
            vertical-align: middle;
            text-overflow: ellipsis;
            padding: 0px 5px;
        }

            .card-sm .card-content .card-data span {
                overflow: hidden;
                word-break: break-all;
                display: inline-block;
                line-height: 1em;
            }
            .card-sm .card-content .card-data > span:nth-child(1) {  
                max-height: 2.3em;
            }
            .card-sm .card-content .card-data > span:nth-child(2) {
                color: #bbb;
                font-size: 11px;
                width: 160px;
                display: block;
                overflow: hidden;
                word-break: break-all;
            }

.card-lg {
    
}*/
/* ------------------------------------- Report -------------------------------------------*/
/*------------------ Media screen -------------------------*/
@media screen and (max-height: 730px) {
  .report .content table {
    height: 420px;
  }
  .report .nocontent img {
    padding: 7% 20px;
  }
}

@media screen and (max-height: 670px) {
  .report .content table {
    height: 380px;
  }
  .report .nocontent img {
    padding: 4% 20px;
  }
}

@media screen and (max-height: 600px) {
  .report .content table {
    height: 360px;
  }
  .report .nocontent img {
    padding: 2% 20px;
  }
}

@media screen and (max-width: 718px) {
  .report #loginReport .content .table > thead > tr > th {
    height: 60px;
  }
  .report #loginReport .content .nontable > thead > tr > th {
    height: 60px;
  }
}

@media screen and (max-width: 996px) {
  .report #approvalReport .content .table > thead > tr > th {
    height: 60px;
  }
  .report #approvalReport .content .nontable > thead > tr > th {
    height: 60px;
  }
}

@media screen and (max-width: 1078px) {
  .report #playerReport .content .table > thead > tr > th {
    height: 60px;
  }
  .report #playerReport .content .nontable > thead > tr > th {
    height: 71px;
  }
}

@media screen and (max-width: 794px) {
  .report #transferReport .content .table > thead > tr > th {
    height: 60px;
  }
  .report #transferReport .content .nontable > thead > tr > th {
    height: 71px;
  }
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  #menu_down {
    left: 0px !important;
  }
  .header-title {
    left: 50px !important;
  }
  .navbar-nav {
    display: none !important;
  }
  .brand-img {
    height: 40px !important;
  }
  .navbar-brand.navbar-right {
    margin-top: -6px !important;
    right: 0 !important;
    position: absolute !important;
  }
}

/*------------------ End Media ----------------------------*/
/* ------------------------------------- End Report -------------------------------------------*/
/*-----------------------------TinyMCE------------------------*/
div.mce-fullscreen {
  width: calc(100% - 40px) !important;
  max-height: calc(100% - 70px) !important;
  left: 20px !important;
  top: 50px !important;
}

/*-----------------------------Bootstrap DateTimePicker------------------------*/
.input-group.datetime .btn-primary, .input-group.date .btn-primary {
  color: #fff;
  background-color: #004589;
  border-color: #004589;
}

.input-group.date .btn-primary:hover, .input-group.date .btn-primary:focus, .input-group.date .btn-primary:active, .input-group.date .btn-primary:visited,
.input-group.datetime .btn-primary:hover, .input-group.datetime .btn-primary:focus, .input-group.datetime .btn-primary:active, .input-group.datetime .btn-primary:visited {
  color: #fff;
  background-color: #004589;
  border-color: #004589;
}

/*-----------------------------Preview-------------------------------*/
#modal_preview {
  display: inline-block;
  position: absolute;
  z-index: 400;
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  text-align: center;
  padding-top: 50px;
}

#modal_preview .preview-content {
  display: inline-block;
  width: calc(100% - 100px);
  max-width: calc(100% - 100px);
  height: calc(100% - 50px);
  max-height: calc(100% - 50px);
  overflow: visible;
}

#modal_preview .preview-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0px 0px 10px 3px #0080ff !important;
}

.img-thumbnail {
  min-width: 100%;
  padding: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.loading {
  width: 100%;
  height: 100%;
  background-color: #fafafa;
}

.loader {
  border: 16px solid #fff;
  /* Light grey */
  border-top: 16px solid #48a4ff;
  /* Blue */
  border-radius: 50%;
  width: 250px;
  height: 250px;
  -moz-animation: spin 2.5s linear infinite;
  -o-animation: spin 2.5s linear infinite;
  -webkit-animation: spin 2.5s linear infinite;
  animation: spin 2.5s linear infinite;
}

@keyframes spin {
  0% {
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/*modal*/
.modal-rename {
  width: 320px;
  height: 190px;
  left: calc(50% - 160px);
  top: calc(50% - 90px);
}

.div-l2.modal-rename .close {
  position: absolute;
  right: 7px;
  top: 5px;
  color: #000;
  background-color: transparent;
  font-size: 30px;
  opacity: 1;
  height: auto;
}

.div-l2.modal-rename .close:hover {
  color: #b7b7b7;
}

.popover {
  max-height: 60vh;
  overflow-x: hidden;
  overflow-y: auto;
  word-break: break-word;
}

.playlist-top {
  height: fit-content;
  display: inline-block;
  padding: 10px;
  border-bottom: solid thin #b7b7b7;
  color: #0080ff;
  background-color: #fff;
  font-weight: bold;
  width: 100%;
}

.playlist-top > span {
  font-size: 16px;
  font-weight: bold;
  line-height: 30px;
}

.playlist-top > .btn.btn-close {
  float: right;
  background-color: transparent;
  color: #fff;
  border: none;
}

.playlist-top .btn.btn-close > img {
  width: 18px;
  filter: brightness(0);
}

.playlist-body {
  height: calc(100% - 100px) !important;
  overflow-y: auto;
}

.playlist-bottom {
  position: absolute;
  width: calc(100% - 280px);
  height: 48px;
  padding: 8px;
  text-align: right;
  border-top: solid thin #b7b7b7;
  background-color: #fff;
}

.playlist-bottom > div {
  font-size: 12px;
  display: inline-block;
  line-height: 29px;
  float: left;
}

.playlist-bottom > div > label {
  font-weight: bold;
}

.playlist-bottom > div > span {
  font-weight: bold;
  color: #0080ff;
}

.playlist-bottom > div > a {
  font-weight: bold;
  color: #48a4ff;
}

.playlist-bottom .btn-cancel {
  background: #fff;
  width: 100px;
}

.div-frame-menu {
  position: absolute;
  top: 24px;
  left: -20px;
  width: 52px;
  height: auto;
  padding: 2px;
  background-color: #fff;
  border-radius: 4px;
  transform: translateX(-100%);
}

.div-frame-menu .btn {
  margin: 2px 0;
  width: 48px !important;
  height: 48px !important;
}

.div-frame-menu .btn:last-child {
  color: #fff;
  background-color: #0094ff;
}

.div-frame-menu .btn .fa {
  padding: 8px;
  font-size: 16px !important;
}

.wall-container {
  left: 0px;
  top: 0px;
  right: 0;
  width: calc(100vw - 0px);
  height: calc(100vh - 0px);
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
  border: solid thin #ddd;
  position: absolute;
}

.wall-area {
  top: 50px;
  right: 280px;
  width: calc(100% - 300px);
  height: calc(100% - 49px);
  max-width: 1320px;
  position: absolute;
  z-index: 100;
}

.wall-header {
  width: 100%;
  height: 48px;
  background-color: #fff;
  border-bottom: solid thin #ddd;
  padding: 10px;
}

.wall-header > span {
  font-weight: bold;
  line-height: 30px;
  font-size: 16px;
  color: #0094ff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  width: 80%;
}

.wall-header input[type='text'] {
  width: 100%;
  max-width: 100% !important;
}

.wall-header input[type='text']:focus {
  color: #000 !important;
  border-bottom: solid 2px #48a4ff !important;
}

.wall {
  width: calc(100%);
  height: calc(100% - 94px);
  background-color: #eee;
  padding: 48px 12px;
}

.wall-snap {
  background-color: #000;
  position: relative;
}

.wall-option, .frame-dimension {
  position: absolute;
  width: 100%;
  padding: 4px;
  transform: translateY(-100%);
  border-bottom: solid thin #ddd;
  text-align: right;
}

.frame-dimension > input {
  background: #fff;
  color: #333;
  border-bottom: solid thin #b7b7b7 !important;
  height: 24px;
  width: 56px;
}

.wall-property, .wall-template, .playlist-property {
  width: 300px;
  height: 100%;
  max-height: 100%;
  position: absolute;
  top: 0px;
  right: -300px;
  z-index: 101;
  background: #fff;
}

.playlist-property .radio-container {
  display: inline-block;
  width: 120px;
}

.wall-template .header {
  font-size: 16px;
  font-weight: bold;
  line-height: 32px;
}

.wall-template .body {
  position: absolute;
  width: 100%;
  height: calc(100% - 100px);
}

.wall-template .body > div {
  padding: 8px;
  font-size: 16px;
  font-weight: bold;
  border-bottom: solid thin #eee;
}

.wall-template .body > div:hover {
  background-color: #eee;
}

.wall-template > div {
  padding: 8px;
  font-size: 16px;
}

.wall-template > .bottom {
  border-top: solid thin #eee;
  position: absolute;
  bottom: 0;
  background: #fff;
  height: 50px;
  width: 100%;
}

.wall-template > .bottom .btn-success {
  width: 100%;
}

.wall-template .template.active {
  background-color: #48a4ff !important;
}

#wall_footer {
  height: 48px;
  width: 100%;
  border-top: solid thin #ddd;
  background-color: #fff;
  padding: 8px;
  text-align: right;
}

#wall_footer .btn {
  background-color: #fff;
  margin: 0 8px;
}

#wall_footer .btn:hover {
  color: #999;
}

#wall_footer .btn-cancel {
  width: 120px;
  border: solid thin #c13434;
  color: #c13434;
  float: left;
}

#wall_footer .btn-cancel:hover {
  border: solid thin #CC3333;
  color: #CC3333;
}

.wall-menu {
  position: absolute;
  background-color: #fafafa;
  border: solid thin #ddd;
  transform: translateY(-100%);
  z-index: 100;
}

.wall-menu .btn-tool {
  color: #333;
}

.wall-menu .btn-tool:hover {
  color: #fff;
}

.wall-menu .group-icon {
  color: #48a4ff;
  background-color: transparent;
}

.wall-modal {
  position: absolute;
  width: 100%;
  height: calc(100%);
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  z-index: 100;
}

.content-area {
  /*right: 300px;*/
  border: solid thin #ddd;
}

.frame {
  position: absolute;
  z-index: 100;
  background-color: #000;
  color: #fff;
  min-width: 12px;
  min-height: 12px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  box-shadow: inset 0px 0px 2px 2px #999 !important;
}

.frame.original {
  background-size: contain;
}

.frame.stretch {
  background-size: 100% 100%;
}

.frame.active {
  box-shadow: inset 0px 0px 2px 2px #0094ff !important;
}

.frame.active:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 148, 255, 0.5);
}

.frame > span.title {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0%, -50%);
  text-shadow: 1px 1px #000;
  width: 100%;
  word-break: break-word;
  text-align: center;
  color: #fff;
  line-height: inherit;
  font-size: 15px;
}

.frame > span.order {
  font-size: 18px;
  position: absolute;
  top: 0;
  width: auto;
  padding: 6px;
  text-shadow: 1px 1px #000;
}

.frame > span.topmost {
  font-size: 18px;
  position: absolute;
  top: 0;
  left: 60px;
  width: auto;
  padding: 6px;
  text-shadow: 1px 1px #000;
}

.frame > span.group {
  font-size: 18px;
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  padding: 6px;
  text-shadow: 1px 1px #000;
}

.frame > span.sync {
  font-size: 18px;
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  padding: 6px;
  text-shadow: 1px 1px #000;
  color: #999;
  display: none;
}

.frame > span.sync.active {
  display: inline-block;
}

.frame > span.sync.active span.syncgroup {
  background-color: #48a4ff;
}

.frame > span.sync span.syncmode {
  color: #48a4ff;
  background-color: transparent;
}

.div-frame-content {
  position: absolute;
  right: 280px;
  top: 50px;
  /*    max-width: 1320px;
    width: calc(100% - 300px);*/
  width: calc(100% - 280px);
  height: calc(100% - 49px);
  z-index: 100;
}

.div-frame-content .playlist-middle {
  height: calc(100% - 95px);
}

.div-frame-content .playlist-bottom {
  width: calc(100%);
  bottom: 0;
}

.playlist-middle {
  display: none;
  height: calc(100% - 92px);
  background-color: #fff;
}

.playlist-middle.active {
  display: block;
}

.playlist-modal {
  position: absolute;
  width: 100%;
  height: calc(100%);
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  z-index: 100;
}

.playlist-top .order {
  width: 30px;
  height: 30px;
  background-color: #0094ff;
  border-radius: 16px;
  color: #fff;
  display: inline-block;
  text-align: center;
}

.playlist-body {
  height: 100%;
}

/*.playlist-bottom {
    width: calc(100%);
    bottom: 0;
    padding: 10px;
}*/
.btn.btn-success {
  width: 200px;
  float: right;
}

.btn.btn-tool > img {
  width: 16px;
  height: 16px;
  filter: brightness(0);
}

.snap {
  position: absolute;
}

.snap.hor {
  left: 0;
  width: 100%;
  height: 0px;
}

.snap.ver {
  top: 0;
  width: 0px;
  height: 100%;
}

.snap-fake {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
}

.snap-fake.hor {
  left: 0;
  width: 100%;
  height: 1px;
}

.snap-fake.ver {
  top: 0;
  width: 1px;
  height: 100%;
}

.btn.btn-toggle {
  background: transparent;
  color: #999;
  box-shadow: none !important;
}

.btn.btn-toggle:hover {
  color: #48a4ff;
}

.btn.btn-toggle.active {
  color: #0080ff;
  outline: none !important;
}

.playlist-grid-container {
  width: 100%;
  margin-top: 40px;
  height: calc(100% - 82px);
  overflow-y: auto;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/***** Playlist *****/
.playlist-middle .header-button {
  padding: 8px;
  cursor: pointer;
}

.playlist-middle .header-button:hover {
  background: #eee;
}

.playlist-middle .header-button.active {
  background: #eee;
}

.playlist-card-grid {
  margin: 2px;
  padding: 1px;
  float: left;
  width: 100px;
  height: 100px;
  font-size: 4em;
  text-align: center;
  cursor: default;
  position: relative;
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.playlist-card-grid > .delete {
  position: absolute;
  font-size: 16px;
  color: white;
  right: 6px;
  cursor: pointer;
  background-image: radial-gradient(at center, red 40%, transparent 40%);
}

.playlist-card-grid > .name {
  font-size: 11px;
  color: #fff;
  position: absolute;
  left: 0px;
  bottom: 0;
  width: 100%;
  float: left;
  text-align: center;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  background-color: rgba(0, 0, 0, 0.3);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.playlist-card-grid > .index {
  width: 20px;
  height: 20px;
  line-height: 21px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  color: white;
  text-align: center;
  background: black;
  position: absolute;
  margin: 2px;
}

.playlist-card-grid > .duration {
  margin-top: 42px;
  font-size: 10px;
  font-weight: bold;
  border-radius: 6px;
  padding: 1px 5px;
  background-color: rgba(255, 255, 255, 0.8);
}

.fc .fc-toolbar > * > h2 {
  margin-left: 10px !important;
  margin-top: 5px;
  font-size: 28px;
  background: #f3f3f3;
  padding: 2px 10px;
  border-radius: 6px;
}

.fc-toolbar {
  margin-bottom: 10px !important;
}

.btn-floating > .fa-plus {
  margin-top: 6px;
}

.slot-status {
  font-size: 14px;
}

.slot-status.approved {
  color: green;
}

.slot-status.pending {
  color: #D3A243;
}

.slot-status.rejected {
  color: darkred;
}

.preview-media:hover {
  text-decoration: underline;
}

.ms-sel-ctn input[type="text"] {
  width: 100% !important;
}

.contentTagContainer {
  display: inline-block;
  padding: 0px 6px;
  border-radius: 3px;
  cursor: pointer;
  margin-top: 2px;
}

.contentTagContainer.mode-custom {
  background-color: #afd5fc;
}

.contentTagContainer.mode-media {
  background-color: #e9e9e9;
}
