html {
  font-size: 18px;
}

body {
  font-size: 16px;
}

.table thead th {
  font-size: 0.875rem;
}

@font-face {
  font-family: RocheIconFont;
  src: url(../fonts/RocheIconFont.woff) format("woff");
  font-weight: 400;
  font-style: normal;
}

.logo:before {
  content: "\e616";
  font-family: RocheIconFont;
  font-variant: normal;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  font-size: 38px;
  color: #06c;
  vertical-align: middle;
}

.signin-logo:before {
  content: "\e616";
  font-family: RocheIconFont;
  font-variant: normal;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  font-size: 64px;
  color: #06c;
  vertical-align: middle;
}

.pcoded-header[class*="header-"] .mobile-menu span {
  background-color: rgba(0, 102, 204, 0.8);
}

.pcoded-header[class*="header-"] .mobile-menu span:after,
.pcoded-header[class*="header-"] .mobile-menu span:before {
  background-color: rgba(0, 102, 204, 0.8);
}

.pcoded-header[class*="header-"] .mobile-menu:hover span {
  background-color: #06c;
}

.pcoded-header[class*="header-"] .mobile-menu:hover span:after,
.pcoded-header[class*="header-"] .mobile-menu:hover span:before {
  background-color: #06c;
}

.pcoded-header .input-group-text,
.pcoded-header a,
.pcoded-header dropdown-toggle {
  color: #06c;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  border-bottom: 1px solid #ced4da;
}

input:-webkit-autofill::first-line {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
}

.was-validated .form-control:invalid,
.was-validated .form-control:valid,
.form-control.is-invalid,
.form-control.is-valid {
  background-image: none;
}

.was-validated .custom-control-input:valid ~ .custom-control-label, 
.custom-control-input.is-valid ~ .custom-control-label {
  color: #4680ff;
}
.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before, 
.custom-control-input.is-valid:checked ~ .custom-control-label::before {
  border-color: #4680ff;
  background-color: #4680ff;
}

.required:after {
  content: " *";
  color: red;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: initial;
}

.bootstrap-maxlength {
  background: #fff;
}

.was-validated.has-error .invalid-feedback {
  display: block;
}

/* .pcoded-navbar.menu-light .pcoded-inner-navbar li:hover > a {
    background: #4680ff;
    color: #fff;
} */
form .form-control,
form .form-control:focus {
  background-color: #F8F8F8;
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

footer {
  font-family: "PingFang SC", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 12px;
  margin: 0 auto;
  color: #333;
  line-height: 1.428571429;
}

.c-footer .footer-content {
  font-size: 12px;
  line-height: 14px;
}

.c-footer .footer-content p {
  font-size: 12px;
  line-height: 14px;
  margin-bottom: 12px;
}

.c-footer .footer-content {
  width: 100%;
  float: left;
  position: relative;
  font-family: "PingFang SC", "Microsoft JhengHei", Arial, sans-serif;
  color: #535353;
  background-color: #f2f2f2;
  padding: 20px 15px
}

.c-footer .footer-content ul {
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .c-footer .footer-content {
    padding: 20px 30px;
  }
}

.c-footer__copywrite {
  padding-bottom: 6px;
}

.c-footer__footer-links {
  padding: 0;
  width: 100%;
  float: left;
}

.c-footer__footer-links li {
  float: left;
  list-style-type: none;
  line-height: 21px;
}

.c-footer__footer-links li a {
  cursor: pointer;
  padding-left: 12px;
  padding-right: 12px;
  color: #535353;
}

.c-footer__footer-links .icon-chevron-right::before {
  margin-right: -0.25rem;
  vertical-align: initial;
}

.c-footer a {
  color: #535353;
}

/**  =====================
      Switches css
==========================  **/
.switch input[type=checkbox]+.cr-lg {
  position: relative;
  display: inline-block;
  transition: 0.4s ease;
  height: 25px;
  width: 50px;
  border: 1px solid #e9eaec;
  border-radius: 80px;
  cursor: pointer;
  z-index: 0;
  top: 12px;
}

.switch input[type=checkbox]+.cr-lg:after,
.switch input[type=checkbox]+.cr-lg:before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
}

.switch input[type=checkbox]+.cr-lg:before {
  transition: 0.2s cubic-bezier(0.24, 0, 0.5, 1);
  height: 25px;
  width: 50px;
  border-radius: 40px;
}

.switch input[type=checkbox]+.cr-lg:after {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0 0 rgba(0, 0, 0, 0.04), 0 4px 9px rgba(0, 0, 0, 0.13), 0 3px 3px rgba(0, 0, 0, 0.05);
  transition: 0.35s cubic-bezier(0.54, 1.6, 0.5, 1);
  background: #f7f7f7;
  height: 24px;
  width: 24px;
  border-radius: 80px;
}

.switch input[type=checkbox]:checked+.cr-lg:before {
  background: #4680ff;
  transition: width 0.2s cubic-bezier(0, 0, 0, 0.1);
}

.switch input[type=checkbox]:checked+.cr-lg:after {
  left: 25px;
}

.switch.switch-primary input[type=checkbox]:checked+.cr-lg:before {
  background: #4680ff;
}

.latest-activity-card .card-body .latest-update-box .update-meta .date {
  min-width: 90px;
}

.latest-activity-card .card-body .latest-update-box .update-meta .actor {
  width: 80px;
}

.form-control-plaintext-helper {
  margin-top: -0.75rem;
}

.file-input {
  top: 0.5rem;
  padding-bottom: 0.625rem;
}

.select2-container--default {
  margin-bottom: 0px;
}

/* modal full screen */
.modal-fullscreen {
  width: 100vw;
  max-width: none;
  height: 100%;
  margin: 0;
}

.modal-fullscreen .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}

.modal-fullscreen .modal-header,
.modal-fullscreen .modal-footer {
  border-radius: 0;
}

.modal-fullscreen .modal-body {
  overflow-y: auto;
}

@media (max-width: 575.98px) {
  .modal-fullscreen-sm-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-sm-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-sm-down .modal-header,
  .modal-fullscreen-sm-down .modal-footer {
    border-radius: 0;
  }

  .modal-fullscreen-sm-down .modal-body {
    overflow-y: auto;
  }
}

@media (max-width: 767.98px) {
  .modal-fullscreen-md-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-md-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-md-down .modal-header,
  .modal-fullscreen-md-down .modal-footer {
    border-radius: 0;
  }

  .modal-fullscreen-md-down .modal-body {
    overflow-y: auto;
  }
}

@media (max-width: 991.98px) {
  .modal-fullscreen-lg-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-lg-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-lg-down .modal-header,
  .modal-fullscreen-lg-down .modal-footer {
    border-radius: 0;
  }

  .modal-fullscreen-lg-down .modal-body {
    overflow-y: auto;
  }
}

@media (max-width: 1199.98px) {
  .modal-fullscreen-xl-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-xl-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-xl-down .modal-header,
  .modal-fullscreen-xl-down .modal-footer {
    border-radius: 0;
  }

  .modal-fullscreen-xl-down .modal-body {
    overflow-y: auto;
  }
}

@media (max-width: 1399.98px) {
  .modal-fullscreen-xxl-down {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .modal-fullscreen-xxl-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-xxl-down .modal-header,
  .modal-fullscreen-xxl-down .modal-footer {
    border-radius: 0;
  }

  .modal-fullscreen-xxl-down .modal-body {
    overflow-y: auto;
  }
}
.badge-top {
  top:-1.5em; 
  left:-1em;
}
/* datatable */
table.dataTable tbody td.select-checkbox:before,
table.dataTable tbody td.select-checkbox:after {
  top:1.8em;
  width:16px;
  height:16px;
  box-sizing:border-box
}
table.dataTable thead th.select-checkbox{
  position:relative
}
table.dataTable thead th.select-checkbox:before,
table.dataTable thead th.select-checkbox:after{
  display:block;
  position:absolute;
  top:1.8em;
  left:50%;
  width:16px;
  height:16px;
  box-sizing:border-box
}
table.dataTable thead th.select-checkbox:before{
  content:' ';
  margin-top:-6px;
  margin-left:-6px;
  border:1px solid black;
  border-radius:3px
}
table.dataTable thead > tr > .selected th.select-checkbox:after, 
table.dataTable thead > tr.selected th.select-checkbox:after {
  content: '\2714';
  margin-top: -8px;
  margin-left: -4px;
  text-align: center;
}
table.dataTable td, table.dataTable th {
  vertical-align: middle;
}
/* end of datatable */
.form-control-color {
  width: 3rem;
  padding-bottom: 0.2rem !important;
  padding-top: 0.5rem !important;
}
.element-border-primary {
  border: 3px solid #4680ff !important;
}
.all-center {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}