﻿/*font-awesome*/
.fal, .fas, .far {
  margin-right: 4px;
}

.fal-no-mar {
  margin-right: 0;
}

.m-0 {
  margin: 0 !important;
}

/*navbar*/
.mainnav-lg #navbar .brand-icon {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.mainnav-sm #navbar .brand-icon {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: unset;
}

#navbar .brand-text {
  font-weight: normal;
}

#navbar .navbar-top-links > li > a {
  height: 30px;
}

#navbar .navbar-top-links > .mega-dropdown {
  margin-right: 4px;
}

  #navbar .navbar-top-links > .mega-dropdown > .dropdown-menu.mega-dropdown-menu {
    left: 250px;
    right: 15px;
  }

#navbar .navbar-top-links > .mega-dropdown-sm {
  margin-right: 4px;
}

#navbar .tgl-menu-btn {
  margin-left: -1px;
}

.dropdown-header {
  cursor: pointer;
}

@media (max-width: 760px) {
  #navbar .tgl-menu-btn {
    margin-left: 13px;
    margin-top: -30px;
  }
}

#navbar .username {
  margin: 2px 10px 0 0;
}

#navbar .navbar-header:before {
  height: 30px;
}

#navbar .navbar-content {
  height: 40px;
  padding-top: 5px;
}

#navbar .fa-sliders-h {
  margin-top: 4px;
}

#navbar .app-revision {
  float: right;
  white-space: nowrap;
  margin: 0;
}

  #navbar .app-revision img {
    height: 28px;
    margin-top: 1px;
    margin-right: 5px;
    background-color: #f6f6f6;
    padding: 1px;
    border-radius: 5px;
  }

  #navbar .app-revision span {
    color: #fff;
    text-shadow: 0px 1px 4px #000;
    font-size: 12px;
    position: relative;
    top: 2px;
  }

#navbar .app-revision-sm img {
  height: 28px;
  margin-top: 1px;
  margin-right: 1px;
}

@media (max-width: 760px) {
  #navbar .app-revision-sm img {
    margin-right: 5px;
  }

  #navbar .app-revision span {
    display: none;
  }
}

#navbar .app-revision-sm span {
  display: none;
}

.media-left, .media-right, .media-body {
  display: initial;
}

.media-body {
  width: initial;
}

.media-left, .media > .pull-left {
  padding-right: initial;
}

/*navigation*/
#mainnav .list-divider {
  margin: 0;
}

#mainnav-menu i {
  margin-top: -2px;
}

#mainnav-menu ul a, .menu-popover .sub-menu ul a {
  padding: 6px 20px 6px 35px;
}

/*login*/
#login {
  background-image: url('../images/backgrounds/Elearning-Bk.jpg') !important;
  background-size: cover;
  background-position: center;
}

  #login .row {
    min-height: 100vh;
  }

  #login #login-aside, #login #login-panel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 24px 0 24px;
    border-radius: 4px;
    box-shadow: #000 0px 0px 1px 1px !important;
  }

#login-panel h2 img {
  max-width: 200px;
  max-height: 100px;
}

/*page-head*/
#page-title {
  padding: 0px 20px;
}

#page-head-command-buttons {
  float: right;
  margin: -45px 20px 0 0;
}

/*page-content*/
#page-content.compact {
  padding: 5px 15px 0px;
}
  /*20px 12px*/
  #page-content.compact .row {
    margin-top: 0px;
    margin-left: 0;
    margin-right: 0;
  }

    #page-content.compact .row:last-child {
      margin-bottom: 0;
    }

    #page-content.compact .row [class^="col-"]:not(.pad-no) {
      padding-left: 7px;
      padding-right: 7px;
    }

/*content-container*/
#content-container {
  padding-top: 35px;
}

/*footer*/
footer {
  border-top: solid 1px #ccc;
}

#container.footer-fixed #footer {
  z-index: 999;
}

#login #container #footer {
  padding: 9px 10px;
}

/*panels*/
/*TODO { margin-top: 4px; }*/
.panel {
  box-shadow: white 0px 0px 0px 3px !important;
}

  .panel.shadow {
    box-shadow: 3.0px 5.9px 5.9px hsl(0deg 0% 0% / 0.41) !important;
  }

  .panel.panel-compact {
    margin-bottom: 14px;
  }

    .panel.panel-compact .pad-top {
      padding-top: 10px;
    }

    .panel.panel-compact .pad-btm {
      padding-bottom: 10px;
    }

    .panel.panel-compact .pad-lft {
      padding-left: 10px;
    }

    .panel.panel-compact .pad-rgt {
      padding-right: 10px;
    }

      .panel.panel-compact .pad-rgt .fal {
        margin-right: 0;
      }

    .panel.panel-compact .panel-heading {
      height: 30px;
      border-radius: 4px;
    }

    .panel.panel-compact .panel-title {
      padding: 0 10px;
      line-height: 30px;
    }

      .panel.panel-compact .panel-title input[type="radio"], input[type="checkbox"] {
        margin: 8px 0 0;
      }

    .panel.panel-compact .nav {
      display: inline-block;
      height: 39px;
      margin-top: -2px;
      vertical-align: bottom;
    }

      .panel.panel-compact .nav > li > a {
        padding: 8px 12px;
      }

    .panel.panel-compact .panel-control .btn {
      padding: 2px 12px;
    }

    .panel.panel-compact .panel-control input[type="radio"], input[type="checkbox"] {
      margin: 3px 0 0;
    }

    .panel.panel-compact .panel-control span, .panel.panel-compact .panel-control span .fal {
      position: relative;
      top: 1px;
    }

    .panel.panel-compact .note-toolbar {
      height: 41px;
    }

    .panel.panel-compact .panel-body {
      padding: 0 !important;
    }

      .panel.panel-compact .panel-body .tab-content {
        padding: 0 !important;
      }

      .panel.panel-compact .panel-body .row {
        margin-top: 5px !important;
        margin-left: -2px !important;
        margin-right: -2px !important;
      }

        .panel.panel-compact .panel-body .row:last-child {
          margin-bottom: 0 !important;
        }

        .panel.panel-compact .panel-body .row [class^="col-"]:not(.pad-no) {
          padding-left: 2px !important;
          padding-right: 2px !important;
        }

    .panel.panel-compact .tasklist {
      padding: 0;
      margin-bottom: 0;
    }

      .panel.panel-compact .tasklist li {
        padding: 5px;
        margin-bottom: 5px;
        cursor: default;
      }

    .panel.panel-compact .panel-notes .row {
      margin-top: 0px !important;
      margin-left: -2px !important;
      margin-right: -2px !important;
    }

  .panel .panel-notes label {
    height: auto;
  }

    .panel .panel-notes label:last-child {
      margin-bottom: 0;
    }

  .panel .panel-notes .note-by {
    font-style: italic;
    color: #666;
  }

/*forms*/
.form-control {
  color: #222;
}

select.form-control {
  color: #999;
}

  select.form-control.selected {
    color: #222;
  }

  select.form-control option {
    color: #222;
  }

    select.form-control option:disabled {
      display: none;
    }

::placeholder {
  color: #999 !important;
  opacity: 1 !important;
}

::-webkit-input-placeholder {
  color: #999 !important;
}

:-ms-input-placeholder {
  color: #999 !important;
}

::-ms-input-placeholder {
  color: #999 !important;
}

.text-main, a.text-main:hover, a.text-main:focus {
  color: #222;
}

.btn-default {
  color: #222;
}

/*ag-grid overrides*/
.ag-body-container {
  font-size: 13px !important;
}

/*data-tables overrides*/
div.dataTables_wrapper div.dataTables_filter {
  /*text-align: unset;*/
}

/*misc*/
.datepicker {
  z-index: 3000 !important;
}

/*theme chooser*/
.app-single-theme > .app-theme {
  width: 40px
}

.app-justify-theme {
  text-align: justify;
  font-size: 0
}

  .app-justify-theme:after {
    content: '';
    display: inline-block;
    width: 100%
  }

.app-full-theme .media {
  overflow: visible
}

.app-theme {
  cursor: pointer !important;
  display: inline-block;
  width: 33.3%;
  height: 29px;
  background-color: #f4f4f4;
  position: relative;
  transition: all .2s
}

.app-srow-scheme .app-justify-theme {
  margin-top: 25px
}

.app-srow-scheme .app-theme {
  width: 16.65%;
  height: 30px
}

.app-mockup-theme {
  display: flex;
  justify-content: center;
}

.app-theme:hover {
  box-shadow: 0 0 10px 2px rgba(0,0,0,0.3);
  border: 0;
  transform: scale(1.1);
  transition: all .2s;
  z-index: 100
}

.app-theme.active {
  cursor: not-allowed !important;
  opacity: .8;
  z-index: 99;
  transform: scale(1)
}

  .app-theme.active:before {
    background: #fff;
    content: "";
    height: 10px;
    left: 45%;
    margin-left: -5px;
    position: absolute;
    top: 13px;
    transform: rotate(-45deg);
    width: 5px;
    box-shadow: -1px 1px 2px rgba(0,0,0,.5)
  }

  .app-theme.active:after {
    background: #fff;
    content: "";
    height: 20px;
    left: 45%;
    margin-left: 3px;
    position: absolute;
    top: 5px;
    transform: rotate(45deg);
    width: 5px;
    box-shadow: 2px 0 2px rgba(0,0,0,.5)
  }

.app-theme.disabled {
  cursor: not-allowed !important
}

.app-theme-light {
  background: #fff;
  border: 1px solid #ddd !important
}

  .app-theme-light.active:before, .app-theme-light.active:after {
    background: #177bbb
  }

.app-theme-coffee {
  background: #795548
}

.app-theme-dark {
  background: #3a444e
}

.app-theme-dust {
  background: #fe6d33
}

.app-theme-gray {
  background: #ecf0f5
}

.app-theme-lime {
  background: #80b343
}

.app-theme-mint {
  background: #009688
}

.app-theme-navy {
  background: #25476a
}

.app-theme-ocean {
  background: #1976d2
}

.app-theme-prickly-pear {
  background: #963b4f
}

.app-theme-purple {
  background: #814c97
}

.app-theme-well-red {
  background: #d32f2f
}

.app-theme-yellow {
  background: #ffd600
}

@media(min-width:1200px) {
  .app-theme-btn img {
    width: 104px;
    height: 64px
  }
}

#app-theme-for-buttons .active {
  text-indent: -9999px;
}

  #app-theme-for-buttons .active:before {
    background: #fff;
    content: "";
    height: 10px;
    left: 45%;
    margin-left: -5px;
    position: absolute;
    top: 13px;
    transform: rotate(-45deg);
    width: 5px;
    box-shadow: -1px 1px 2px rgba(0,0,0,.5);
  }

  #app-theme-for-buttons .active:after {
    background: #fff;
    content: "";
    height: 20px;
    left: 45%;
    margin-left: 3px;
    position: absolute;
    top: 5px;
    transform: rotate(45deg);
    width: 5px;
    box-shadow: 2px 0 2px rgba(0,0,0,.5);
  }

/*validation*/
.input-validation-error {
  border: solid 1px red !important;
}

.field-validation-error {
  padding-left: 5px;
}

/*ag-grid styles*/
.ag-theme-balham {
  font-family: Roboto;
}

/*table styles*/
table.table tr td {
  color: #333;
  vertical-align: middle !important;
}

.dataTable tbody td {
  vertical-align: middle !important;
}

/*image styles*/
.img-link {
  cursor: pointer;
}

.img-selected {
  border: solid 2px black;
}

/*Moadl*/
.modal-backdrop {
  z-index: 99998;
}

  .modal-backdrop.in {
    opacity: 0.4;
  }

.modal {
  z-index: 99999;
}

input[type=time]::-webkit-datetime-edit-ampm-field {
  display: none;
}

.dt-buttons {
  text-align: right !important;
  width: fit-content;
  display: inline-block;
  padding:5px;
}

a.dt-button {
  padding: .2em .7em !important;
  background-color: #fff !important;
  background-image: none !important;
}

  a.dt-button, a.dt-button:hover {
    border: 0 !important;
  }

progress {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  width: var(--w);
  margin: 0 10px;
  border-radius: 10em;
  background: lightgrey;
  height: 5px;
}

  progress::-webkit-progress-bar {
    border-radius: 10em;
    background: lightgrey;
  }

.progressbarRed::-webkit-progress-bar {
  border-radius: 10em;
  background: lightgrey;
}

.progressbarRed::-webkit-progress-value {
  border-radius: 10em;
  background: linear-gradient(#fff8,#fff0), repeating-linear-gradient(135deg,#0003 0 10px,#0000 0 20px) red;
}

.progressbarOrange::-webkit-progress-bar {
  border-radius: 10em;
  background: lightgrey;
}

.progressbarOrange::-webkit-progress-value {
  border-radius: 10em;
  background: linear-gradient(#fff8,#fff0), repeating-linear-gradient(135deg,#0003 0 10px,#0000 0 20px) orange;
}

.progressbarGreen::-webkit-progress-bar {
  border-radius: 10em;
  background: lightgrey;
}

.progressbarGreen::-webkit-progress-value {
  border-radius: 10em;
  background: linear-gradient(#fff8,#fff0), repeating-linear-gradient(135deg,#0003 0 10px,#0000 0 20px) green;
}

.glyphicon.spinning {
  animation: spin 1s infinite linear;
  -webkit-animation: spin2 1s infinite linear;
}

@keyframes spin {
  from {
    transform: scale(1) rotate(0deg);
  }

  to {
    transform: scale(1) rotate(360deg);
  }
}

@-webkit-keyframes spin2 {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

span {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.w-100 {
  width: 100% !important;
}

.calendartooltip {
  width: 200px;
  background: #ffffff;
  position: absolute;
  z-index: 10001;
  box-shadow: 1px 3px 6px 0px rgba(132, 132, 132, 1);
  border-radius: 3px;
  border: 0;
  padding: 0;
  margin: 0;
}

  .calendartooltip .head {
    border-radius-topleft: 3px;
    border-radius-topright: 3px;
    width: 100%;
    padding: 3px;
    background: #e9e9e9;
    border-bottom: solid 1px #999;
  }

.collapse_btn > a:before {
  font-family: 'Glyphicons Halflings';
  content: "\e114";
  float: left;
  transition: all 0.5s;
  /* margin: 5px;
  margin-top: 8px;*/
  transform: rotate(0deg);
  padding: 8px;
}

.collapse_btn > a.collapsed:before {
  transform: rotate(-90deg);
}

.ck-content {
  color: #000000;
}

.ck.ck-list__item .ck-button .ck-button__label {
  line-height: normal !important;
}

.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne, .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se {
  overflow: scroll;
  max-height: 200px;
  overflow-x: auto;
}

.modal-content {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px, 0px 0px 4px 1px rgba(190,190,190,1) inset;
  background-color: #d9d9d9;
  border-radius: 5px;
}

.modal-header {
  background-color: #d9d9d921;
  padding: 3px 10px 3px 8px;
}

.modal-footer {
  background-color: #d9d9d921;
  padding: 3px 10px 3px 3px;
}

.modal-body {
  background-color: #fbfbfb;
  margin: 0 3px 0 3px;
  border-radius: 5px;
}

.click-panel:hover {
  cursor: pointer;
  background-color: #fbfbfb;
}

.bootstrap-select.z-top {
  z-index: 4000;
}

.dropdown-menu:not(.head-list) > li > a:hover {
  background-color: #6d6c6c !important;
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}

::-webkit-scrollbar-thumb {
  background: #b0b0b0;
  border: 0px none #ffffff;
  border-radius: 9px;
}

  ::-webkit-scrollbar-thumb:hover {
    background: #949494;
  }

  ::-webkit-scrollbar-thumb:active {
    background: #9c9c9c;
  }

::-webkit-scrollbar-track {
  background: #e8e8e8;
  border: 0px none #ffffff;
  border-radius: 8px;
}

  ::-webkit-scrollbar-track:hover {
    background: #e6e6e6;
  }

  ::-webkit-scrollbar-track:active {
    background: #e8e8e8;
  }

::-webkit-scrollbar-corner {
  background: transparent;
}

#container .fc-event.fc-list:before {
  display: none;
}

#container .fc-event.fc-list {
  padding: 5px;
  padding-right: 20px;
  margin-bottom: 5px;
  border-radius: 5px;
}

  #container .fc-event.fc-list:hover {
    box-shadow: 0 0 10px 1px rgba(0,0,0,0.3);
  }


/* Custom Style (Edit Skill)*/
.ckeditor-content {
  background: #fafafa;
  overflow: auto;
  padding-top: 10px;
}

.ck-editor__editable {
  width: 1200px;
  padding: 0.2cm 1cm 1cm !important;
  border: 1px hsl( 0,0%,82.7% ) solid;
  border-radius: var(--ck-border-radius);
  /*background: white;*/
  box-shadow: 0 0 5px hsla( 0,0%,0%,.1 );
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: cover;
}

  .ck-editor__editable p {
    color: black;
  }

.align-top {
  vertical-align: top;
}

.text-white {
  color: white !important;
}

.infomsg {
  cursor: help;
}

.media {
  max-width: 15cm;
  margin: auto !important;
}

img {
  max-width: 800px;
}

.heading_page_default {
  margin: -10px -1cm 0 -1cm !important;
  padding: 25px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  background-image: url(https://admin.myct.training/images/content-backgrounds/7.jpg);
}

.dropdown-menu.inner {
  max-height: 500px;
  overflow: auto;
}

/* Custom Style (Edit Skill PiP)*/
#conversation .row {
  margin-bottom: 8px;
  font-size: 15px;
  color: black;
}

  #conversation .row span {
    padding: 2px 4px;
    border-radius: 4px;
    margin-right: 4px;
  }

.conversation .row {
  margin-bottom: 8px;
  font-size: 15px;
  color: black;
}

  .conversation.row span {
    margin:1px;
    padding: 2px 4px;
    border-radius: 4px;
    margin-right: 4px;
  }

.conversation-you span {
  background-color: #03a9f4;
  color: #fff;
}

.conversation-customer span {
  background-color: #8bc34a;
  color: #fff;
}
