body{
  background-color: #fafbfc;
}
.select2-search__field:focus{
  outline: none
}
button:focus {
  outline:none !important;
}
.form-group label {
  display: inline-block;
  margin-bottom:3px;
  font-size:14px
}

.form-group {
  margin-bottom: 15px;
}
.pull-right{
  float:right
}

.select2-container--default .select2-selection--single {
  background-color: #fff;
  border-color: #c0ccda;
  border-radius: 0.25rem;
  height: 38px;
  outline: none;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  font-size: 1rem !important;
}

@media (min-width: 992px){
  .sidebar-fixed {
    background-color: #2c3e50;
    border-right: 1px solid rgba(72, 94, 144, 0.16);
    width: 260px;
    position: fixed;
    top: 85px;
    bottom: 0;
    z-index: 900;
    left: 0;
  }
  .content-components {
    padding: 25px;
    margin-top: 60px;
    margin-left: 260px;
  }
}

.nav-link:hover,
.nav-link:focus {
  color: #d19dff;
}

.sidebar-nav .nav a {
  display: block;
  font-size: 14px;
  color: rgb(255 255 255 / 46%);
  line-height: 20px
}
.sidebar-nav .nav a:hover {
  color: rgb(255 255 255 / 80%);
}


.nav-line .nav-link.active::after {
  background-color: #30703f;
}

.content-fixed {
  margin-top: 85px;
}

.df-logo {
  margin-top: 5px;
}
.navbar-menu .nav-link:hover {
  color: #439238;
}
.navbar-menu .nav-item.active .nav-link {
  position: relative;
  color: #439238;
}

.navbar-menu .nav-item.active.with-sub .nav-link::after {
  border-color: #439238;
}
.navbar-menu-sub .nav-sub-link:hover {
  color: #439238;
}
.navbar-menu .nav-link:hover svg {
  color: #439238;
  fill: rgba(1, 250, 83, 0.2);
}
.navbar-menu .nav-item.active .nav-link svg {
  color: #439238;
  fill: rgba(1, 250, 83, 0.2);
}
.navbar-menu .nav-item.active .nav-link::before {
  content: '';
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 10px;
  height: 2px;
  background-color: #439238;
}

/* Modal CSS Custom */
.modal.right .modal-dialog {
  position: fixed;
  margin: auto;
  width: 400px;
  height: 100%;
  -webkit-transform: translate3d(0%, 0, 0);
      -ms-transform: translate3d(0%, 0, 0);
       -o-transform: translate3d(0%, 0, 0);
          transform: translate3d(0%, 0, 0);
}
.modal.right .modal-content {
  height: 100%;
  overflow-y: auto;
  border-radius:0px;
}

.modal.right .modal-body {
  padding: 15px;
}

.modal.right.fade .modal-dialog{
  right:-400px;
  -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
     -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
       -o-transition: opacity 0.3s linear, right 0.3s ease-out;
          transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.show .modal-dialog{
  right: 0;
}

.form-fieldset legend {
  width: auto;
  background-color: inherit;
  padding: 0 10px;
  position: relative;
  margin-left: -10px;
  text-transform:none;
  font-weight: 500;
  font-size: inherit;
  color: #1c273c;
  letter-spacing: .5;
  margin-bottom: 0;
}
.jstree-default .jstree-wholerow-clicked {
  background: #b0ffa4;
  background: -webkit-linear-gradient(top,#b0ffa4 0,#b0ffa4 100%);
  background: linear-gradient(to bottom,#b0ffa4 0,#b0ffa4 100%);
}
.form-control:focus {
  color: #596882;
  background-color: #fff;
  border-color: #439238;
  outline: 0;
  box-shadow:none;
}
.df-breadcrumbs .breadcrumb-item.active {
  color: #8c0073;
}
.jstree-default .jstree-search {
  font-style: italic;
  color: #199020;
  font-weight: 500;
}


.button.ico {
  width: 32px;
  height:32px;
  text-align: center;
  line-height: 20px;
  font-size: 13px;
  font-weight: 600;
  margin: 0px 3px 0px 0px;
  padding-top:5px;
  display: inline-block;
  box-shadow: 0 3px 8px rgba(102,103,107,0.15);
  cursor: pointer;
  overflow: hidden;
  border: none;
  border-radius: 4px;
}

.button.red    { background-color: #ed3237; box-shadow: 0 3px 8px rgba(234,65,81,0.15); }
.button.green  { background-color: #00a97d; box-shadow: 0 3px 8px rgba(64,182,96,0.15); }
.button.dark   { background-color: #4d4d4d; box-shadow: 0 3px 8px rgba(0,0,0,0.1); }
.button.dark   { background-color: #3a4666; box-shadow: 0 3px 8px rgb(58 70 102 / 18%); }
.button.gray   { background-color: #eee; color: #666; box-shadow: none; }

.sidebar-nav .nav a + a{
  margin-top: 8px;
}

.sidebar-nav .nav-link.active::before {
  background-color: #d19dff;
}

.sidebar-nav .nav a.active {
  position: relative;
  color: #af69ed;
  font-weight: 400;
}
.sidebar-nav .nav a.active::before {
  border-left: 1px solid #af69ed;
}

.bootstrap-tagsinput {
  padding: 0.46875rem 0.625rem;
  border-radius: 0.25rem;
  line-height: 1.5;
}
.bootstrap-tagsinput .tag {
  display: inline-flex;
  align-items: center;
  background-color: #54b85a;
}

.widget-pesantren{
  height:100%
}
.widget-pesantren .card-body{
  padding: 0px
}
.widget-pesantren .card-header{
  background-color: whitesmoke;
  border-top: 1px solid #e1e4ed;
}
.widget-pesantren .card-header:first-child{
  border-top: none;
}
.widget-pesantren table tr td{
  padding: 10px
}
.widget-pesantren table tr td:first-child {
  padding-left:20px;
  font-weight: 400;
  color:#717171
}
.widget-pesantren table tr:first-child td{
  border-top: none
}
.widget-pesantren .table tbody{
  border-bottom: none
}
.widget-pesantren .info{
  color:#262626;
  font-weight:500
}
.widget-pesantren .btn,
.widget-pesantren h4{
  margin:0px
}
.widget-pesantren .info .emty{
  color:#535353;
  font-weight:400;
  font-style: italic;
  font-size:15px;
  text-decoration: underline;
}

.card-header, .card-footer {
  background-color: whitesmoke;
}

.logo-wrapper {
  position: relative;
  width:100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
  transition: all .3s ease;
  padding: 10px;
  background: #f2f2f2;
  border: 1px solid #d9dce5;
}
.logo-wrapper img {
  height: 100%;
  width: 100%;
  transition: all .3s ease;
  object-fit: scale-down;
}
.logo-wrapper .upload-button {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  cursor:pointer;
}
.logo-wrapper .file-upload {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}


.avatar-wrapper {
  position: relative;
  border-radius: 100%;
  overflow: hidden;
  box-shadow: none;
  margin: 0 10px 30px 0;
  transition: all .3s ease;
  /* padding: 10px; */
  background: #f2f2f2;
  border: 1px solid #d9dce5;
}
.avatar-wrapper img {
  height: 100%;
  width: 100%;
  transition: all .3s ease;
  object-fit: cover;
}
.avatar-wrapper .upload-button {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  cursor:pointer;
}
.avatar-wrapper .file-upload {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.cover-wrapper {
  position: relative;
  width:110px;
  height:130px;
  overflow: hidden;
  box-shadow: none;
  margin: 0 10px 0px 0;
  transition: all .3s ease;
  background: #f2f2f2;
  border: 1px solid #d9dce5;
}
.cover-wrapper img {
  height: 100%;
  width: 100%;
  transition: all .3s ease;
  object-fit: cover;
}
.cover-wrapper .upload-button {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  cursor:pointer;
}
.cover-wrapper .file-upload {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.select2-container--default
.select2-selection--single
.select2-selection__rendered {
  font-size: 0.875rem;
  letter-spacing: normal;
  font-weight:normal;
  color:#454545;
  color: #1c2e4b;
}

.list-group-item.active {
  z-index: 2;
  color: #fff;
  background-color: #6fcc62;
  border-color: #6fcd62;
}
.table.table-vertical-middle tr td{
  vertical-align: middle;
}

.card-table .card-body{
  padding: 0px 0px 0px 0px
}
.card-table .table{
  margin-top: 10px
}

.card-table .table thead tr th{
  border-top: none;
  padding: 10px 10px;
  border-bottom: 3px solid #d9dce5
}

.card-table thead tr th:first-child,
.card-table tbody tr td:first-child{
  padding-left:30px
}

.card-table thead tr th:last-child,
.card-table tbody tr td:last-child{
  padding-right:30px
}

.card-table h5{
  margin: 0px
}

.table h5{
  margin: 0px
}
.custom-media, .media-body{
  display:inline;
}

.badge.badge-md{
  padding:8px;
  font-size:15px;
  font-weight: 400;
}

.image-wrapper {
  position: relative;
  width:100%;
  overflow: hidden;
  box-shadow: none;
  transition: all .3s ease;
  background: #f2f2f2;
  border: 1px solid #d9dce5;
}
.image-wrapper img {
  height: 100%;
  width: 100%;
  transition: all .3s ease;
  object-fit: cover;
}
.image-wrapper .upload-button {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  cursor:pointer;
}
.image-wrapper .file-upload {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.search-form .form-control:focus,
.search-form .form-control:active {
  border-color: #70cb63;
  box-shadow: none !important;
}

.search-form .form-control:focus + button,
.search-form .form-control:active + button {
    border-color: #6fcb62;
}
.list-pesantren{
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 10px;
  margin-top:10px;
  cursor: pointer;
}
.table tbody tr td{
  font-size:14px;
}
.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: #455b00;
  border-color: transparent;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #455b00;
}
a {
  color: #00b10c;
  text-decoration: none;
  background-color: transparent;
}
a:hover {
  color: #005a06;
  text-decoration: none;
}

.custom-checkbox .custom-control-label::before,
.custom-checkbox .custom-control-label::after,
.custom-radio .custom-control-label::before,
.custom-radio .custom-control-label::after,
.custom-switch .custom-control-label::before,
.custom-switch .custom-control-label::after {
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 1200px){
  .content-components {
    padding: 30px;
    margin-right: 0px;
  }
}
.df-title {
  font-size: 40px;
  margin-bottom: 10px;
}
.table h5{
  /* font-size: 15px; */
  font-weight: 500
}
.table h6{
  font-size: 15px;
  font-weight: 500;
  margin: 0px
}
.bgr-square{
  background-color:#ececec;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  position: relative; /* If you want text inside of it */
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius:10px;
  border:1px solid #dfdfdf
}

.badge.badge-ms {
  padding: 4px 5px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.6px
}
.media-folder > svg {
  color: #fbaf00 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #651975;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #651975;
}

.center{
  text-align:center;
}

.btn-primary.focus, .btn-primary:focus {
  color: #fff;
  background-color: #b49400;
  border-color: #b49400;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #b49400;
  border-color: #b49400;
}
.btn-primary {
  color: #fff;
  background-color: #d8b200;
  border-color: #d8b200;
}
.btn-primary:hover {
  color: #fff;
  background-color:#b49400;
  border-color:#b49400;
}
