@font-face {
    font-family: 'Hanuman';
    src: url("../fonts/Hanuman/Hanuman-Regular.ttf");
}

@font-face {
    font-family: 'Hanuman';
    src: url("../fonts/Hanuman/Hanuman-Bold.ttf");
    font-weight: bold;
}

html {
    background-color: #f8f9fe;
}

body {
    font-family: Open Sans, sans-serif, 'Hanuman';
}

body,
.btn,
.form-control,
.navbar-vertical .navbar-nav .nav-link,
.select2-container .select2-selection--single,
.select2-results__option,
.select2-container--default .select2-search--dropdown .select2-search__field,
p {
    font-size: 0.8125rem;
}

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

table p {
    font-weight: normal;
    margin-bottom: 0;
}

.form-control {
    height: calc(1.3125em + 1.25rem + 5px);
}

.form-control-sm {
    height: calc(.45em + 1.25rem + 5px);
}

label.is-invalid {
    margin-top: .5rem;
    color: #f5365c;
}

.modal-dialog .modal-content {
    border-radius: .25rem;
}

.sidenav-backdrop {
    position: fixed;
    z-index: 1040;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: rgba(0, 0, 0, .8);
}

.custom-checkbox .custom-control-input~.custom-control-label {
    height: 1.1rem;
    padding-top: 2px;
}

.custom-control-label::before,
.custom-control-label::after {
    width: 1.1rem;
    height: 1.1rem;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'><path fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/></svg>");
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: block;
    right: 6px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 700;
    font-style: normal;
    font-variant: normal;
    display: inline-block;
    margin-left: auto;
    content: '\f107';
    transition: all .15s ease;
    color: #ced4da;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b::after {
    content: '\f106';
}

/* Top Navigation */
.navbar-top .user-placeholder-icon {
    font-size: 2.1rem;
}

/* Main Content */
.main-content {
    height: 100vh;
}

/* Card */
.card-header .card-title {
    margin-bottom: 0 !important;
}

/* Button */
button i.fa,
button i.fas {
    margin-right: .25rem;
}

/* Modal */
.modal {
    z-index: 1061;
}

.modal-backdrop {
    z-index: 1060;
}

/* Utilities */
.cursor-pointer {
    cursor: pointer;
}

/* iCheck */
.icheckbox_flat-green.indeterminate {
    display: inline-block;
    position: relative;
}

.icheckbox_flat-green.indeterminate:before {
    content: "";
    position: absolute;
    width: .8em;
    height: .3em;
    background-color: #15ac8d;
    left: 23%;
    right: 25%;
    top: 40%;
    bottom: 25%;
    border-radius: 1px;
}

/* jQuery confirm */
.jconfirm-box {
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.jconfirm-content-pane {
    padding-top: 10px;
}

/* Notify toast */
[data-notify].alert {
    box-shadow: 0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);
    transition: all .15s ease;
}

[data-notify].alert:hover {
    box-shadow: 0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.08);
    cursor: pointer;
}

[data-notify] .alert-content {
    display: flex;
}

[data-notify="title"] {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
}

[data-notify] .alert-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
}

[data-notify] .alert-text {
    flex-grow: 1;
}

[data-notify] .alert-text ul {
    padding-inline-start: 20px;
}

[data-notify="dismiss"],
[data-notify="dismiss"]:hover {
    color: white;
}

[data-notify] .bi-exclamation-circle {
    background-image: url('data:image/svg+xml,<svg width="1em" height="1em" viewBox="0 0 16 16" fill="%23fff" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/><path d="M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z"/></svg>');
}

[data-notify] .bi-check2-circle {
    background-image: url('data:image/svg+xml,<svg width="1em" height="1em" viewBox="0 0 16 16" fill="%23fff" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M15.354 2.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L8 9.293l6.646-6.647a.5.5 0 0 1 .708 0z"/> <path fill-rule="evenodd" d="M8 2.5A5.5 5.5 0 1 0 13.5 8a.5.5 0 0 1 1 0 6.5 6.5 0 1 1-3.25-5.63.5.5 0 1 1-.5.865A5.472 5.472 0 0 0 8 2.5z"/> </svg>');
}

/* Icon */
.bi {
    display: block;
    width: 1em;
    height: 1em;
    background-repeat: no-repeat;
    background-size: 1em 1em;
}

/* File Input */
.file-caption-main {
    margin-top: 10px;
}

.file-zoom-dialog button .fas,
.file-input button .fas {
    margin-right: 0;
}

.krajee-default.file-preview-frame {
    box-shadow: 0 4px 6px rgba(50,50,93,.11),0 1px 3px rgba(0,0,0,.08);
    border-color: #dee2e6;
    padding: 8px;
}

.krajee-default.file-preview-frame:not(.file-preview-error):hover {
    box-shadow: 0 7px 14px rgba(50,50,93,.1),0 3px 6px rgba(0,0,0,.08);
    border-color: #dee2e6;
}

.file-zoom-dialog .modal-body {
    overflow-x: hidden;
}

.file-zoom-dialog .file-zoom-content {
    padding: 0 25px;
}

.file-zoom-dialog .btn-prev {
    margin-right: 0;
    left: -5px;
}

.file-zoom-dialog .btn-next {
    right: -5px;
}

.file-zoom-dialog .btn-navigate {
    top: calc(50% - 5px);
    transform: translateY(calc(-50% - 5px));
}

.file-zoom-dialog .btn-navigate,
.file-zoom-dialog .btn-navigate:focus,
.file-zoom-dialog .btn-navigate:active {
    box-shadow: none !important;
}

.file-zoom-fullscreen {
    padding-right: 0 !important;
}

.kv-fileinput-error button.kv-error-close {
    display: none;
}

/* Image cropper */
.fileinput-crop-image-modal .img-container {
    text-align: center;
    max-width: 100%;
    max-height: 450px;
}

.fileinput-crop-image-modal .img-container > img {
    display: inline-block;
    max-width: 100%;
    max-height: 500px;
}

.uk-lightbox {
    z-index: 1050;
    background-color: rgba(0, 0, 0, .9);
}

.carousel-indicators li {
    height: 2px;
}

.carousel-control-next,
.carousel-control-prev {
    opacity: .7;
}

/* jQuery ellipsis */
.ellip {
    display: block;
    height: 100%;
}

.ellip-line {
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    max-width: 100%;
}

.ellip,
.ellip-line {
    position: relative;
    overflow: hidden;
}

/* Video list */
.video-thumbnail .content {
    height: 160px;
}

.video-thumbnail .title {
    max-height: 40px;
    overflow: hidden;
}

.video-thumbnail .description
{
    height: 80px;
    overflow: hidden;
}

.video-thumbnail .action {
    height: 35px;
}

.video-thumbnail.template {
    display: none;
}

.dataTable .select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: -8px !important;
}

.dataTables_paginate {
    margin-top: 10px !important;
}

/* Datepicker */
.datepicker table tr td.active {
    background: #3bc466 !important;
}
