/* Pre loding gif icon */
#pre-loading-icon {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url("../svg/loading.svg") center no-repeat #fff;
}

.loading-icon-ajax {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 99;
  background: url("../svg/Spinner-1s-200px.svg") center no-repeat;
}

body {
  /* overflow-x: hidden !important; */
  table-layout: fixed !important;
}
/* Breadcrumb css */
.arr-right .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
}
.breadcrumb .active {
  color: #3f6ad8;
}

/* custom classes */

.title-header {
  font-weight: bold;
  color: #3f6ad8;
}

.custom-select {
  width: auto;
}

.custom-form {
  width: auto;
  display: inline !important;
}

.dt-buttons {
  display: inline !important;
}

th {
  font-weight: normal;
}

#resetModal,
#deleteModal,
#changePWModal {
  /* position: absolute; */
  top: 30%;
  /* right: 50%; */
  bottom: 0;
  left: 0;
  z-index: 10040;
  overflow: auto;
  overflow-y: auto;
}

.width-auto {
  width: 10em;
}

.kosin-logo {
  width: 20%;
}
/* .login-body {
  height: 1000px;
} */
.login-cover {
  position: fixed;
  top: 10%;
  left: 21%;
}
.box-shadow {
  box-shadow: 0px 0px 38px 0px #5ea3fd;
}
.login-left {
  background-image: url("/static/images/clouds.jpg");
  background-size: cover;
  height: 600px;
}
.login-right {
  background: white;
  height: 600px;
}
.login-form-input {
  background: transparent;
  border: none;
  border-radius: 0%;
  display: inline;
  font-family: monospace;
}
.login-form-input:focus {
  outline: none;
}
.login-div {
  border-bottom: 1px solid rgb(185, 185, 185);
  margin-left: 20%;
  margin-right: 20%;
  font-size: 1.2rem;
  line-height: 2rem;
}

@media (max-width: 999px) {
  .login-cover {
    position: relative;
    left: 0;
    width: auto;
    margin: 90px;
  }
  .login-left {
    height: 450px;
    float: right;
  }

  .login-right {
    height: 600px;
    float: left;
  }
  .kosin-logo {
    margin-top: 20px !important;
  }
  .login-left-content {
    margin-top: 10px !important;
  }
}
@media (max-width: 575px) {
  .login-cover {
    position: relative;
    left: 0;
    width: auto;
    margin: 0px;
    margin-bottom: 20px;
  }
  .login-left {
    height: 500px;
    /* float: right; */
  }

  .login-right {
    height: 600px;
    /* float: left; */
  }
  .kosin-logo {
    margin-top: 20px !important;
  }
  .login-left-content {
    margin-top: 10px !important;
  }
}
.x-scroll {
  overflow-x: scroll !important;
}

.pointer {
  cursor: pointer !important;
}

/* collapse css */

.card {
  border-radius: 0 !important;
  box-shadow: none;
}

#tabsTable {
  table-layout: fixed !important;
}

.table_min_width {
  min-width: 200px !important;
}

/* Score Criteria Page Css */
#table_education th,
#table_education_focused th,
#table_research th,
#table_service th {
  padding: 1em;
  font-weight: bold;
  border: 1px solid #666;
}
#table_education td,
#table_education_focused td,
#table_research td,
#table_service td {
  border: 1px solid #ccc;
  padding: 0.5em 0em;
}

/* Rule List page CSS */

/* Register/Edit Administrator page */
.table-administrator th,
#registerProfessorTable th,
#professorDetailTable th {
  padding: 1em;
  border: 1px solid #ccc;
}
.table-detail th {
  padding: 1em;
  border-bottom: 1px solid #ccc;
}
.width-20 {
  width: 16em !important;
}

/* datatables */
.dataTables_filter {
  padding-right: 0.5em !important;
}

.custom-file-label {
  overflow: hidden;
}
/* passwod reset page */
.outer {
  display: table;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.middle {
  display: table-cell;
  vertical-align: middle;
}

.inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 650px;
  /*whatever width you want*/
}

.footer {
  position: fixed;
  left: 0;
  bottom: 80;
  width: 100%;
  color: white;
  text-align: center;
}

/* add * to forms */
.asterisk {
  content: "*";
}

/* table row width */
.min_width_90 {
  min-width: 90px !important;
}

.min_width_60 {
  min-width: 60px !important;
}

.min_width_30 {
  min-width: 30px !important;
}

.max_width_auto {
  max-width: 155px !important;
}

.width_auto {
  width: 155px !important;
}

.width_100 {
  width: 100px !important;
}

.max_width_75 {
  max-width: 75px !important;
}
.max_width_55 {
  max-width: 55px !important;
}

/* image overlay achievement list */
.img_overlay {
  position: absolute;
  z-index: 1;
  right: 15px;
}
/* End */

.form-small {
  width: 12em !important;
  height: 2em !important;
}

/* notification popup css */

.notif {
  margin-right: 100px;
  width: 300px;
  background-color: rgb(248, 248, 248);
}

/* notification css */
.notificate {
  position: relative;
  display: inline-block;
}

.notificate .badge {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 5px;
  border-radius: 60%;
  background: rgba(233, 0, 0, 0.849);
  color: white;
  width: 2em;
  height: 2em;
  text-align: center;
}
.right {
  float: right;
}

/* Set the size of the div element that contains the map */
#map {
  height: 300px; /* The height is 400 pixels */
  width: 60%;
  margin: auto; /* The width is the width of the web page */
}
.border_right_black {
  border-right: 1px solid #111 !important;
}

.border_white {
  border: 1px solid rgb(255, 255, 255) !important;
}

.icon-md {
  font-size: 1.3em;
}
.icon-lg {
  font-size: 1.8em;
}

.zoom {
  transition: transform 0.2s;
}
.zoom:hover {
  transform: scale(1.2);
}

.bg-lightblue {
  background-color: rgb(238, 238, 252) !important;
}

#export_preview_modal_body{
  max-height: 500px;
  overflow-y: scroll;
}

.ach_preview_table{
  max-height: 500px;
  overflow-y: scroll;
}

.ach_table_th_long_text{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal !important;
}

.ach_spinner_div{
  height: 300px;
  width: 300px;
  background: url("../svg/loading.svg") no-repeat;
  margin: auto;
}

@media (min-width: 1000px) {
  .asm-score-title{
    padding: 0px;
    display: flex;
  }
  .asm-title-title{

    /* for col-md-9 */
    flex: 0 0 75%;
    max-width: 75%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
  .asm-title-date{

    /* for col-md-3 */
    flex: 0 0 25%;
    max-width: 25%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .asm-overflow-table{
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    width: 100%;
    /*padding-right: 15px;*/
    /*padding-left: 15px;*/
  }

  .file-choose-div{
    display: flex;
    width: 75%;
    margin-bottom: 5px;
  }

  .file-remove-div{
    display: flex;
    width: 25%;
    margin-bottom: 5px;
  }
}

@media (max-width: 999px) {
  .asm-score-title{
    padding: 0px;
    display: flex;
  }
  .asm-title-title{

    /* for col-sm-6 */
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
  .asm-title-date{
    padding: 0px;
    /* for col-sm-6 */
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    width: 100%;
    /*padding-right: 15px;*/
    /*padding-left: 15px;*/
    float: right;
  }

  .asm-overflow-table{
    overflow-x: auto;
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    width: 100%;
    /*padding-right: 15px;*/
    /*padding-left: 15px;*/
    /*padding-left: 20px;*/
  }

  .contentToPrint{
    margin-right: -15px;
    margin-left: -15px;
  }

  .ach-form-dtable > tbody > tr th{
    display: inline-block;
    width: 100% !important;
    padding-right: 0px !important;
    padding-left: 0px !important;
  }

  .ach-form-dtable > tbody > tr th.bg-light{
    /*display: inline-block;*/
    /*width: 100%;*/
    padding-right: 0px !important;
    padding-left: 5px !important;
  }

  .ach-form-dtable > tbody > tr th input,select {
    width: 100% !important;
    padding-right: 0px !important;
    padding-left: 5px !important;
  }

  .ach-form-dtable > tbody > tr th input.btn-alternate {
    width: 100px !important;
    display: block;
    margin: auto;
  }


  .file-choose-div{
    display: flex;
    width: 75%;
    margin-bottom: 5px;
  }

  .file-remove-div{
    display: flex;
    width: 25%;
    margin-bottom: 5px;
  }


  /*.ach-form-dtable > tbody > tr > td > input {*/
  /*  width: 100px !important;*/
  /*}*/

  .ach-form-dtable{
    table-layout: fixed;
    width: 100%;
    padding-right: 5px !important;
    /*padding-left: 5px !important;*/
  }

  .export-ach-table{
    table-layout: fixed;
    width: 100%;
    padding-right: 5px !important;
  }

  .export-ach-table > tbody > tr th{
    display: inline-block;
    width: 100% !important;
    padding-right: 0px !important;
    padding-left: 0px !important;
    border-right: 0px !important;
  }

  .export-ach-table > tbody > tr th.key-cell{
    /*display: inline-block;*/
    /*width: 100%;*/
    padding-right: 0px !important;
    padding-left: 5px !important;
  }

  .export-ach-table > tbody > tr th input,select {
    width: 100% !important;
    padding-right: 0px !important;
    padding-left: 5px !important;
    margin-left: 0px !important;
    /*margin-right: -5px !important;*/

  }

  .asm-confirm-table-div{
    overflow-x: auto;
  }

  .asm-confirm-cont-div{
    padding-left: 10px;
    padding-right: 10px;
  }

  .ach-node-list-tr{
    /*white-space: nowrap;*/

  }

  .ach-node-list-table > thead > tr td{
    display: inline-block;
    width: 100% !important;
    /*padding-right: 0px !important;*/
    /*padding-left: 0px !important;*/
    /*border-right: 0px !important;*/
  }

  /*.ach-node-list-table > thead > tr td span{*/
  /*  width: 100% !important;*/
  /*  !*padding-right: 0px !important;*!*/
  /*  !*padding-left: 0px !important;*!*/
  /*  !*border-right: 0px !important;*!*/
  /*}*/

  .ach-node-list-table{
    table-layout: fixed;
    width: 100% !important;
  }

  .ach-detail-table{
    table-layout: fixed;
    width: 100% !important;
    padding-right: 5px;
  }

  .ach-detail-table > tbody > tr th{
    display: inline-block;
    width: 100% !important;
    padding-right: 0px !important;
    padding-left: 5px !important;
    white-space: normal !important;
    /*border-right: 0px !important;*/
  }

  .ach-detail-table > tbody > tr th p{
    padding-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal !important;
  }

}


