@font-face {
  font-family: EncodeSansCondensed;
  src: url(../fonts/EncodeSansCondensed-Regular.ttf);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--lightestgrey); 
}

::-webkit-scrollbar-thumb {
  background: #BBB; 
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #CCC; 
}

.disp-flex {
  display: flex;
}

.flex-left {
  flex: 1;
  margin-right: 15px;
}

.flex-right {
  flex: 1;
  margin-left: 15px;
}

.able-logo {
  height: 35px;
}

.sso_header {
  width:100%; 
  text-align:center;
  margin-bottom:20px; 
  color:#005baa; 
  font-size:15px; 
}

.card {
  box-shadow: 1px 3px 7px rgba(0, 0, 0, 0.3);
}

.dheader, .aheader, .mheader {
  font-size:24px;
  font-weight: 600;
  color: #000;
  font-family: EncodeSansCondensed;
}

.sheader {
  font-size:24px;
  font-family: EncodeSansCondensed;
}

.sub-mheader {
  font-weight:500; 
  margin-top:20px;
}

.aheader {
  margin-left: -5px;
}

.cheader {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  padding: 5px 20px;
  font-family: EncodeSansCondensed;
}

.quicklink-box {
  height: 120px;
}

.quicklink-title {
  font-size:16px;
  font-weight: 500;
}

.quicklink-subtitle {
  color: #666;
  margin-top: 7px;
  line-height: 20px;
  max-height: 60px;
  overflow-y: auto;
}

.dt-color {
  color: #666;
  font-weight: 200;
}

.dt-event-color {
  font-weight: 500;
}

.dt-event-color a {
  color:#000;
}

.dt-event-color a:hover {
  color:#005baa;
}

.event-img {
  text-align: center; 
  margin-top: 10px;
}

.event-title {
  width:90%; 
  font-weight: 500;
  margin: 10px auto 5px auto;
  line-height: 18px;
  /* font-family: EncodeSansCondensed; */
  color:#000;
}

.color-primary {
  color:#005baa;
}

.color-success {
  color: #059862;
}

.color-alert {
  color:#f44336;
}

.bgc-primary {
  background-color: #005baa;
}

.card {
  border-radius: 5px;
}

.side-icon {
  width: 35px;
  height: 35px;
}

.menu-icon {
  width: 45px;
  height: 45px;
}

.big-icon {
  width:150px; 
  height:150px;
}

.compensate-margin {
  margin:-25px 0 -35px 0;
}

.title-icon {
  width: 45px;
  height: 45px;
  margin-bottom: 3px;
}

.form-control-search {
  border: 3px solid #005baa;
  border-radius: 20px;
  padding: 15px 30px;
}

.form-control-search::placeholder {
  color: #ddd;
}

.flex-wrap {
  flex-wrap: wrap!important;
}

.justify-content-between {
  justify-content: space-between!important;
}

.align-items-stretch {
  align-items: stretch!important;
}

.standard-btn {
  /* padding: 12px 20px !important; */
  border: 1px solid #005baa;
  background-color: #fff;
}

.menu_box, .apps_box {
  color: #000;
  margin-top: 20px;
  display: block;
  border: 1px solid #005baa;
  border-radius: 5px;
}

.apps_active {
  color: #fff !important;
  background-color: #005baa !important;
  border-radius: 5px 5px 0 0;
}

.apps_active img {
  filter: brightness(0) invert(1);
}

.menu_box {
  padding-top: 15px;
  padding-bottom: 15px;
  font-weight: 400;
  text-align: center;
}

.apps_box {
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: left;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 10px;
}

.apps_box:hover {
  background-color: #005baa;
  color: #fff;
  transition: color .15s ease-in-out,background-color .15s ease-in-out;
}

.apps_box:hover img {
  filter: brightness(0) invert(1);
}

.font-w-500 {
  font-weight: 500;
}

.font-w-600 {
  font-weight: 600;
}

.menu_box img {
  width: 100px;
}

.menu_box:hover, .standard-btn:hover {
  background-color: #005baa;
  color: #fff;
  transition: color .15s ease-in-out,background-color .15s ease-in-out;
}

.menu_box:hover div {
  color: #fff;
}

.menu_box img:nth-child(2) {
  display: none;  
}
.menu_box:hover img:nth-child(2) {
  display: inline-block;  
}
.menu_box:hover img:first-child {
  display: none;
}

.search_icon {
  background: url(../images/white_search.svg) no-repeat scroll right;
  padding-right: 35px;
  background-size: 30px;
  background-position: left 5px center;
}

.small_search {
  background: url(../images/white_search.svg) no-repeat scroll right;
  padding-right: 20px;
  background-size: 15px;
  /* background-position: right 5px center; */
}

.input-group-addon {
  font-size: 30px;
  border-radius: 20px 0 0 20px;
  background-color: #005baa;
}

.input-group-addon-sm {
  font-size: 12px;
  border-radius: 0 10px 10px 0;
  background-color: #005baa;
}

.timebox {
  /* padding: 0 0 10px 30px; */
  font-size: 24px;
  font-weight: 200;
}

.announcement, .news {
  overflow-y: auto;
}

.del-notif {
  position: relative;
  top: -2px;
}

#car_ctrl {
  position: absolute;
  top: 0;
  bottom: 0;
  left:0;
  right:0;
  margin: auto;
  width: 25px;
  height: 25px;
  display: none;
}

.grayscales {
  filter: grayscale(100%);
  transition: filter 200ms ease-in-out;
}

.grayscales:hover {
  filter: grayscale(0);
}

.grayscales:hover > div:last-child {
  color:#005baa;  
}

.img-circle {
  border: 2px solid #005baa;
  width:40px; 
}

.gray-header {
  color: #999;
}

.border-top-menu {
  border-top: 1px solid #ccc;
}

.border-top-none {
  border-top: 0 !important;
}

.border-radius-btn {
  border-radius: 5px;
  padding: 12px 18px;
}

.leave-widget {
  margin: 10px 0 0 0;
}

.point-link {
  color:#000;
  text-decoration: underline;
}

.line-30 {
  line-height: 30px;
}

.point-link:hover, .point-link:focus {
  color:#005baa;
  text-decoration: underline;
}

.input-group-append {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.act_width {
  width: 50px;
}

.vertical-top {
  vertical-align: top;
}

.vertical-mid {
  vertical-align: middle !important;
}

.leave-space-td {
  padding: 15px 5px !important;
}

.leave-space-td-top {
  padding-top: 15px !important;
}

.leave-space-td-bottom {
  padding-bottom: 15px !important;
}

.profile-pic {
  width: 132px;
}

.bg-color-primary {
  background-color: #005baa;
  color:#fff;
}

.dt-separator {
  margin-left: 7px;
  margin-right: 7px;
}

.dt-separator-nx {
  margin-left: 7px;
  margin-right: 12px;
}

.icon-act {
  color: #666;
}

.icon-act:hover {
  color: #005baa;
}

.back_link {
  color: #000;
}

.back_link:hover {
  color: #005baa;
}

.weblink_row {
  padding:10px 20px;
  cursor:pointer;
}

.weblink_row:hover img.weblink_icon {
  filter: invert(21%) sepia(100%) saturate(1947%) hue-rotate(193deg) brightness(92%) contrast(101%);
}

.weblink_row:hover .weblink_title a {
  color: #005baa;
  font-weight:600;
}

.weblink_header {
  padding-top:0 !important; 
  padding-bottom:20px !important; 
  padding-left:0 !important;
}

.weblink_icon {
  width:15px;
}

.weblink_title a {
  color: #000;
  font-size:14px;
  font-weight:600;
}

.weblink_url {
  color:#bbb; 
  font-size:14px;
  margin-top:-7px;
}

.f_res_cover {
  margin: 0 30px 20px 20px !important;
}

.res_cover {
  /* margin: 0 10px 20px 10px; */
  margin: 0 30px 20px 30px;
}

.res_cover > .doc_title {
  color:#000;
}

.res_cover:hover > .doc_title {
  color: #005baa;
}

.doc_cover {
  width: 210px;
  height: 297px;
  display: block;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.doc_img {
  width: 210px;
  height: 297px;
}

.doc_title {
  font-weight:600; 
  margin-top:10px;
  width: 210px;
}

.doc_subs {
  color:#AAA;
}

.carousel-mid-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge_notif {
  padding: 2px !important;
  min-width: 0 !important;
  line-height: 0.3 !important;
  font-size: 11px !important;
  top: 7px !important;
  left: 34px !important;
}

.itlast {
  position: absolute !important;
  bottom: 0;
  width: 100%;
}

.mx-auto {
  margin: 0 auto;
  display: block;
}

.bottom-grid {
  border-bottom: 15px solid #fff;
}

.feedback-modal {
  position: absolute;
  top: 50px;
  right: 20px;
  width: 90%;
  max-width: 600px;
}

.feedback-sub {
  font-size: 14px;
  margin: 10px 0;
}

.setting-box {
  width: 345px;
}

.aln-center {
    text-align: center;
    margin:0 auto;
}

#btn-prev {
    float:left;
    text-align: left;
    width:auto;
}

#btn-next {
    float:right;
    text-align: right;
    width:auto;
}

.modal.fade .modal-dialog {
  -webkit-transition-duration: 0.1s;
  transition-duration: 0.1s;
}

.modal.fade:not(.in).left .modal-dialog {
    -webkit-transition-duration: 0.1s;
    transition-duration: 0.1s;
    -webkit-transform: translate3d(-25%, 0, 0);
    transform: translate3d(-25%, 0, 0);
}

.modal-header {
  padding: 20px;
}

.full-height {
  height: 80vh;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
    padding: 20px;
}

table.dataTable thead>tr>th.sorting:after,table.dataTable thead>tr>th.sorting_asc:after,table.dataTable thead>tr>th.sorting_desc:after,table.dataTable thead>tr>th.sorting_asc_disabled:after,table.dataTable thead>tr>th.sorting_desc_disabled:after,table.dataTable thead>tr>td.sorting:after,table.dataTable thead>tr>td.sorting_asc:after,table.dataTable thead>tr>td.sorting_desc:after,table.dataTable thead>tr>td.sorting_asc_disabled:after,table.dataTable thead>tr>td.sorting_desc_disabled:after {
    top: 55% !important;
}

.close {
  color:#ccc;
}

.table-no-bottomspace {
  margin-bottom: 0;
}

.standard-padding {
  padding:20px;
}

.standard-frame {
  border-top: 20px solid #fff;
  border-right: 20px solid #fff;
  border-bottom: 20px solid #fff;
  border-left: 20px solid #fff;
  border-radius: 5px;
}

.no-frame-bottom {
  border-bottom: 0 !important;
}

.mb-2 {
  margin-bottom: 10px;
}

.notif-search {
  border: 1px solid #005baa;
  padding: 7px 12px;
  border-radius: 10px 0 0 10px;
  margin-left: 0 !important;
}

table.dataTable thead > tr > th {
    padding-left: 30px !important;
    padding-right: initial !important;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
    left: 8px !important;
    right: auto !important;
}

div.dataTables_wrapper div.dataTables_filter {
  text-align: left !important;
}

.more-top-space {
  margin-top: 10px;
}

.more-bottom-space {
  margin-bottom: 20px;
}

table.notiftbl tr:hover {
  background-color: rgba(0, 91, 170, 0.1);
  border-left: 7px solid #005baa;
}

table.notiftbl tr:hover .notifcheck {
  display: inline;
}

.notifcheck {
  display: none;
}

.containerChk {
  display: inline;
  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;
}

.containerChk input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
}

.containerChk:hover input ~ .checkmark {
  background-color: #ccc;
}

.containerChk input:checked ~ .checkmark {
  background-color: #005baa;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.containerChk input:checked ~ .checkmark:after {
  display: block;
}

.containerChk .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.unread {
  font-weight: 600;
}

.search-con label{
  width: 44px;
  height: 46px;
  border-radius: 15px 0 0 15px;
  display:block;
  position:relative;
  background:#005baa;
  cursor: pointer;
  z-index: 2;
  color:#ffff;
}

.search-con label i{
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
}

.search-con #notifSearch{
  /*opacity: 0;
  width: 0; */
  position: absolute;
  /* transition: all .1s ease-out; */
  top:0px;
  left:25px;
  z-index:1;
  padding:12px;
  padding-left:40px;
  border:1px solid #005baa;
  border-radius: 15px;

  font-size:16px;
  width:300px;
}

/* .search-con #notifSearch:focus{
  width:240px;
  opacity:1;
  outline:0;
} */

.wrap{
  
  width: 0px;
  height: 55px;
  background: #005baa;
  line-height: 55px;
  padding-right: 55px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  transition: all 0.1s ease;
}

.input{
  border: 0;
  background: transparent;
  width: 0%;
  outline: none;
  font-family: sans-serif;
  font-size: 18px;
  color: #fff;
  font-style: italic;
  transition: all 0.3s ease;
  position: relative;
}

.wrap .fa{
  color: #fff;
  position: absolute;
  right: 17px;
  top: 15px;
  font-size: 22px;
  cursor: pointer;
}

.wrap.active{
  width: 250px;
  padding-left: 25px;
  transition: all 0.5s ease;
}

.input.active{
  width: 98%;
  padding-left: 5px;
  transition: all 0.5s ease;
}

input::placeholder {
  color: #fff;
}

.icon-chg:hover {
  filter: invert(21%) sepia(100%) saturate(1947%) hue-rotate(193deg) brightness(92%) contrast(101%);
}

.custom-icon {
  width: 35px;
  height: 35px;
  margin-left: -9px;
  margin-right: -9px;
  filter: brightness(0%);
}

.custom-link:hover {
  text-decoration: underline;
}

/* UTILITY */
.mgt-5 {
  margin-top: 5px;
}

.mgt-10 {
  margin-top: 15px;
}

.mgt-15 {
  margin-top: 15px;
}

.flt-left {
  float: left;
}

.flt-right {
  float: right;
}

.flt-clear {
  clear: both;
}

/* Crop */
.preview {
  overflow: hidden;
  width: 160px; 
  height: 160px;
  margin: 10px;
  border: 2px solid #005baa;
}

.overlay {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  height: 0;
  transition: .5s ease;
  width: 100%;
}

.image_area:hover .overlay {
  height: 50%;
  cursor: pointer;
}


@media screen and (min-width: 768px) {
  .mt-xl-dt {
    margin-top:20px;
  }

  .pl-xl-main {
    padding-left: 30px;
  }

  .pl-xl-side {
    padding-left: 30px;
  }

  .main-header {
    margin-top:0;
  }

  .menu_box_w {
    width: 48%;
  }

  .menu_box_label {
    margin-top:5px;
  }

  .apps_box_w {
    width: 18%;
    height: 70px;
    background-color: #fff;
    margin-left: 10px;
    margin-right: 10px;
    flex-grow: 1;
    display: flex;
    align-items: center;
  }

  .apps_box_wx {
    width: 230px;
    height: auto;
    margin-left: 0 !important;
    justify-content: center;
  }

  .form-control-search {
    font-size: 20px;
  }

  .dt-width {
    width: 125px;
  }

  .dheader {
    margin-left: 20px;
  }

  .sidebar-toggle-xl {
    display: block;
  }

  .sidebar-toggle-sm {
    display: none;
  }

  .timebox {
    text-align: center;
  }

  .leave-btn {
    margin: 10px 0;
  }

  .announcement {
    height: 720px;
  }

  /* .news {
    height: 1143px;
  } */
}

@media screen and (min-width: 1200px) {
  .midbox-300 { 
    height: 360px;
    overflow-y: auto;
  }

  .midbox-200 { 
    height: 310px;
    overflow-y: auto;
  }

  .pl-xl-side {
    padding-left: 15px !important;
  }

  .font-fit {
    font-size: 1.8vmin;
  }

  .font-fit2 {
    font-size: 1.5vmin;
  }

  .news {
    height: 1130px;
  }

}

@media screen and (min-width: 1565px) {
  .news {
    height: 1100px;
  }
}

@media screen and (max-width: 1565px) {
  .midbox-200 { 
    height: 345px;
    overflow-y: auto;
  }

  /* .news {
    height: 1100px;
  } */
}

@media screen and (max-width: 768px) {
  .menu_box_w {
    width: 45%;
  }

  .apps_box_w {
    width: 100%;
  }

  .form-control-search {
    font-size: 18px;
  }

  .nav-level:first-child {
    margin-top: 20px; 
  }

  .main-header {
    margin-top:60px;
  }

  .main-header-top .logo {
    text-align: center;
  }

  .sidebar-toggle-xl {
    display: none;
  }

  .sidebar-toggle-sm {
    display: block;
  }

  .timebox {
    padding: 0 0 10px 30px;
  }

  .leave-btn {
    margin: 5px 0;
  }

  #time {
    display: none;
  }

  .font-fit {
    font-size: 2vmin;
  }

  .font-fit2 {
    font-size: 2vmin;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1364px) {
  .quicklink-title {
    font-size: 14px;
  }

  .quicklink-subtitle {
    font-size: 14px;
  }
}