body {
    font-family: 'NeusaNext', sans-serif !important;
}

@font-face {
    font-family: 'NeusaNext';
    src: url('../fonts/NeusaNextPro-Regular.woff2') format('woff2'),
         url('../fonts/NeusaNextPro-Regular.woff') format('woff'),
         url('../fonts/NeusaNextPro-Regular.ttf')  format('truetype');
  }

  @font-face {
    font-family: 'NeusaNext-Bold';
    src: url('../fonts/NeusaNextPro-Bold.woff2') format('woff2'),
         url('../fonts/NeusaNextPro-Bold.woff') format('woff'),
         url('../fonts/NeusaNextPro-Bold.ttf')  format('truetype');
  }

  @font-face {
    font-family: 'NeusaNext-Medium';
    src: url('../fonts/NeusaNextPro-Medium.woff2') format('woff2'),
         url('../fonts/NeusaNextPro-Medium.woff') format('woff'),
         url('../fonts/NeusaNextPro-Medium.ttf')  format('truetype');
  }

  @font-face {
    font-family: 'NeusaNext-Light';
    src: url('../fonts/NeusaNextPro-Light.woff2') format('woff2'),
         url('../fonts/NeusaNextPro-Light.woff') format('woff'),
         url('../fonts/NeusaNextPro-Light.ttf')  format('truetype');
  }

  /* overwite font-family */
  /* .userDetail{
      min-width: 100%;
  }
  .userDetail ul{max-width: 100%;}
  .userDetail ul span{margin-right: 15px; display: inline-block; min-width: 80px;}
  .userDetail ul li{width: 33.33%; margin-bottom: 15px; padding: 0 15px;} */

  .small-box h3{
    font-family: 'NeusaNext-Bold';
  }

  .card .card-avtar{
      width: 100px;
      height: 100px;
      margin: 0 auto 15px;
  }
  .card .card-avtar img{
      height: 100%;
      object-fit: cover;
  }

  .text-bold, .text-bold.table td, .text-bold.table th {
    font-family: 'NeusaNext-Medium';
    font-weight: normal;
}

table tr th{
    font-family: 'NeusaNext-Medium';
    font-weight: normal;
}
table tr td .badge{
    font-family: 'NeusaNext-Medium';
    font-weight: normal;
}

table.dataTable thead
 .sorting:before, 
 table.dataTable thead
  .sorting_asc:before,
   table.dataTable thead .sorting_desc:before,
    table.dataTable thead .sorting_asc_disabled:before,
     table.dataTable thead .sorting_desc_disabled:before{
    right: 20px !important;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: normal;
    font-family: 'NeusaNext-Medium';
}
b, strong {
    font-family: 'NeusaNext-Bold';
}

.nav-pills .nav-link {
    border-radius: 0;
}

.nav-pills .nav-link:not(.active):hover {
    color: #777;
}

.card-body .nav-pills {
    border-right: 1px solid #f4f6f9;
}

.card-body .nav-pills .nav-link {
    border-radius: 100px;
}

.main-sidebar, .main-sidebar:before {
    transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
    width: 270px;
}

.nav-sidebar .nav-item .nav-icon {
    width: 2.4rem !important;
}

.nav-sidebar > .nav-item .nav-icon.fa-mobile {
    font-size: 1.6rem;
}

.content-header {
    padding: 15px 1.5rem;
}
.content-header h1{
    font-family: 'NeusaNext-Medium';
}
.content-header small{
    font-family: 'NeusaNext';
}

.content-wrapper > .content {
    padding: 0 1.5rem;
}

.content-headerfixed-top{
    margin-top: 60px;
}

.sidebar {
    padding-left: 0;
    padding-right: 0;
}

body:not(.sidebar-collapse) .main-sidebar .nav-treeview > .nav-item > .nav-link {
    color: #676767;
    padding-left: 2rem;
    font-size: 90% !important;
}

body:not(.sidebar-collapse) .main-sidebar .nav-treeview .nav-treeview .nav-item > .nav-link {
    padding-left: 3rem;
}

body:not(.sidebar-collapse) .main-sidebar .nav-treeview > .nav-item .nav-icon {
    font-size: 95% !important;
}

.small-box .icon i {
    font-size: 80px;
}

.pb-35 {
    padding-bottom: 0.9rem !important;
}

.dt-buttons.btn-group {
    display: inline;

}

div.dataTables_wrapper div.dataTables_filter {
    height: 60px;
}

div.dataTables_filter input.form-control.input-sm {
    margin: 0 20px;
}

div.dataTables_wrapper div.dataTables_info {
    float: left;
    padding-top: 10px;
}

div.dataTables_wrapper .dataTables_length {
    float: left;
}

.pagination > li > a {
    border-radius: 70px !important;
    font-size: 12px;
    line-height: 1;
    margin: 0 3px;
    width: 32px;
    height: 32px;
    text-align: center;
    padding: 10px 12px;
}

#dataTableBuilder_previous a, #dataTableBuilder_next a {
    width: auto !important;
}

/*.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {*/
    /*background-color: #a9b6b7;*/
    /*border: 1px solid #878a8a !important;*/
/*}*/

.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    color: #b9b9b9 !important;
}

/*.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {*/
    /*background-color: #878a8a;*/
/*}*/

table.dataTable {
    margin-bottom: 15px !important;
    border-spacing: 0px;
}

.table th, .table td {
    vertical-align: middle;
}

table.dataTable tr.group.group-start{
    background-color: #e9ecef;
}

table.dataTable tr.group.group-start td{
    padding: 0.4rem 0.75rem;
    font-weight: 600;
}
table.dataTable .btn-group, .btn-group-vertical {
    align-items: center;
}
table.dataTable .btn-group .switch{margin-right:10px;} 
table.dataTable .btn-group button.btn-link{padding:0;}
table.dataTable .btn-group a.btn-link{padding:0;margin-right:10px;}  
.btn-default {
    color: #383838;
    background-color: #f1f1f1;
    border-color: #f1f1f1;
}

.btn-default:hover, .btn-default:active, .btn-default:focus, .btn-default:active:hover {
    color: #000000;
    background-color: #e2e2e2;
    border-color: #e2e2e2;
}

span.input-group-addon {
    width: 43px !important;
    border: 2px solid #dce4ec;

}

div[class|='iradio_flat'] {
    width: 30px;
}

.select2-container--default .select2-selection--single, .select2-selection .select2-selection--single {
    height: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 35px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 31px;
    right: 5px;
}

.select2-dropdown .select2-search__field:focus, .select2-search--inline .select2-search__field:focus {
    outline: none;
    border: 1px solid #777;
    border-radius: 2px;
}
.card .card-header .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 22px;
}

.card .card-header .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 25px;
}

.card .card-header .select2-container--default .select2-selection--single, .select2-selection .select2-selection--single {
    height: 30px;
}
.card .card-body .custom-field-container{
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
}

.card .card-header .select2-container--default .select2-selection__arrow {
    height: 22px;
}

.card .card-header .select2-container--default .select2-selection__rendered {
    line-height: 25px;
}

.card .card-header .select2-container--default, .card .card-header .select2-selection {
    height: 30px;
}

.card .card-header .select2-container--default .select2-dropdown.select2-dropdown--below{
    margin-top:2px;
}
.card .card-header .select2-container--default li.select2-selection__choice{
    font-size: 14px;
    padding: 1px 7px;
    line-height: 1.2;
}

.select2-container {
    width: 100% !important;
}

/* Card nav */
.card .card-header .nav-link {
    font-size: 85%;
    padding: 0.5rem 0.6rem;
}
/* icons */
.fa {
    font: normal normal normal 16px/1 FontAwesome;
}

/* Login */
.login-box .login-logo img{
    max-width: 160px;
    max-height: 80px;
}
.login-box span.input-group-text, .login-box span.input-group-text i {
    width: 50px;
}
.login-box .btn-group .btn + .btn{
    margin-left: 0;
}

.login-box .btn-group .btn{
    border-radius: 0px;
}

.login-box .error-code i.fa{
    font-size: 40px !important;
}

.login-box,
.register-box {
    width: 450px;
    margin: 7% auto;
}
.btn.btn-facebook{
    background-color: #3b5998;
    border-color: #3b5392;
    color: #fff;
}
.btn.btn-google{
    background-color: #dd4b39;
    border-color: #c74a38;
    color: #fff;
}
.btn.btn-twitter{
    background-color: #00aced;
    border-color: #00a4e6;
    color: #fff;
}

/* forms */
.form-text {
    font-size: 80%;
}

@media(max-width:1399px){
    .small-box h3{
        font-size: 28px;
    }
    .small-box .icon i{
        font-size: 60px;
    }
}


@media (min-width: 992px) {
    .content-wrapper,
    .main-footer,
    .main-header {
        margin-left: 270px;
    }
}
@media(max-width:991px){
    .small-box h3{
        font-size: 24px;
    }
  }

@media (min-width: 576px) {
    #mediaModal .card {
        position: initial;
        box-shadow: 0 0px 3px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }

    #mediaModal .card:hover {
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }

    #mediaModal .card img {
        border-radius: 3px 3px 0 0;
    }

    #mediaModal .card-footer {
        padding: 0.25rem 0.5rem 0;
    }

    #mediaModal .card:hover .card-footer {
        background-color: rgba(0, 0, 0, 0.08);
    }

    #mediaModal .card .delete-media {
        position: absolute;
        right: 13px;
        top: 5px;
        padding: 0.1rem 0.35rem;
        display: none;
    }

    #mediaModal .modal-footer span {
        width: 100%;
        text-align: left;
        font-size: 90%;
    }

    #mediaModal .card-footer small {
        display: inline-block;
        font-size: 80%;
        font-weight: 400;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 100%;
        overflow: hidden;
    }

    #mediaModal .modal-body {
        height: 560px;
        overflow: auto;
    }

    #mediaModal #createMediaField {
        display: none;
    }

    #mediaModal .media-item {
        position: relative;
    }
}

[data-toggle=tooltip] {
    display: inline !important;
}

.nmain-header .navbar-nav p {
    margin-bottom: 0;
}
nav.nmain-header .nav-header{
    display: none;
}
nav.nmain-header img.brand-image{
    margin-top: -5px;
     margin-left: 0px;
}
nav.nmain-header .brand-text{
    margin-right: 15px;
}


.dropdown-menu a.dropdown-item{
    color: #212529 !important;
}

.navbar-nav.ml-auto .brand-image{
    float: right;
    width: 34px;
    height: 34px;
    object-fit: cover;
}

.card-body form div.form-group.col-12.text-right{
    border-top: 1px solid #eee;
    padding-top: 25px;
    margin-top: 15px;
}

.note-editor.note-frame {
    border: 1px solid #ced4da;
    border-radius: 5px;
    box-shadow: none;
}

@media (min-width: 1440px) {
    .container {
        max-width: 1550px;
    }
}


/*custom*/
.switch,
.switch * {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.switch label {
    cursor: pointer;
    margin: 0px;
    font-size: 15px;
    color: #9d9d9d;
}
.switch label input[type=checkbox] {
    opacity: 0;
    width: 0;
    height: 0;
    display: none;
}
.switch label input[type=checkbox]:checked+.lever {
    background-color: #79DB78;
}
.switch label input[type=checkbox]:checked+.lever:before,
.switch label input[type=checkbox]:checked+.lever:after {
    left: 14px;
}
.switch label input[type=checkbox]:checked+.lever:after {
    background-color: #fff;
}
.switch label .lever {
    content: "";
    display: inline-block;
    position: relative;
    width: 35px;
    height: 22px;
    background-color: #CDCDD7;
    border-radius: 15px;
    transition: background 0.3s ease;
    -webkit-transition: background 0.3s ease;
    vertical-align: middle;
}
.switch label .lever:before,
.switch label .lever:after {
    content: "";
    position: absolute;
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transition: left 0.3s ease, background .3s ease, box-shadow 0.1s ease, transform .1s ease;
    -webkit-transition: left 0.3s ease, background .3s ease, box-shadow 0.1s ease, transform .1s ease;
}
.switch label .lever:after {
    background-color: #fff;
}
.switch input[type=checkbox][disabled]+.lever {
    cursor: default;
    background-color: rgba(0, 0, 0, 0.12);
}
.switch label input[type=checkbox][disabled]+.lever:after,
.switch label input[type=checkbox][disabled]:checked+.lever:after {
    background-color: 1px solid #DDD;
}

.filterRow .dateInput{ 
 width:170px;   
}
.filterRow .dateInput .input-group-addon{
    background-color:#e9ecef;width:38px;border: 1px solid #ced4da; 
    border-left:0;padding: 6px 11px;border-radius: 0 3px 3px 0; 
}

/*  */

.dropzone .dz-preview:hover .dz-details {
    display: none;
} 
.dropzone-image.dz-started .dz-message {display: block;margin: 0;}

.dropzone-image {display: flex;align-items: center;flex-direction: row-reverse;justify-content: space-between;padding: 25px 50px;}
.dropzone-image .dz-preview {margin: 0;} 

/* file upload css */

.uploadBox{
    border: 2px dashed #ced4da;
    padding:12px;
    margin-top:7px;
}
.uploadBox .uploadBox-preview{
    width: 100%;
    height:150px;
}
.uploadBox .uploadBox-preview img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.uploadBox .upload-file{
    position: relative;
    width: 100%;
    background: #f4f6f9;
    margin-left:10px;
}
.uploadBox .upload-file span{font-size:13px;color: #ccc; display: block; text-align: center;}
.uploadBox .upload-file input{
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}
