/********** Template CSS **********/
:root {
    --primary: #EB1616;
    --secondary: #191C24;
    --light: #6C7293;
    --light-grey: #e6e6e6;
    --dark: #000000;
    --white: #ffffff;
}
body{font-size:13px !important;}
button{font-size: 13px !important;}
input{font-size: 13px !important;}
textarea{font-size: 13px !important;}
select{font-size: 13px !important;}
.dropdown-item{
    font-size: 13px !important;
}
.text-white{
    color:#fff;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 200px;
    height: 100vh;
    overflow-y: auto;
    background: var(--secondary);
    transition: 0.5s;
    z-index: 999;
}

.content {
    margin-left: 200px;
    min-height: 100vh;
    background: var(--dark);
    transition: 0.5s;
}

@media (min-width: 992px) {
    .sidebar {
        margin-left: 0;
    }

    .sidebar.open {
        margin-left: -200px;
    }

    .content {
        width: calc(100% - 200px);
    }

    .content.open {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -200px;
    }

    .sidebar.open {
        margin-left: 0;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }
}


/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 5px 10px;
    color: var(--light-grey);
    font-weight: 500;
    border-left: 3px solid var(--secondary);
    border-radius: 0 30px 30px 0;
    outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: var(--dark);
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 25px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--secondary);
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 25px;
    border-radius: 0 30px 30px 0;
    color: var(--light-grey);
}

.sidebar .navbar .dropdown-item:hover,
.sidebar .navbar .dropdown-item.active {
    background: var(--dark);
}

.content .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 12px 0;
    color: var(--light-grey);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 40px;
}

.content .navbar .dropdown-item {
    color: var(--light-grey);
}

.content .navbar .dropdown-item:hover,
.content .navbar .dropdown-item.active {
    background: var(--dark);
}

.content .navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {
        margin-left: 15px;
    }
}


/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.progress .progress-bar {
    width: 0px;
    transition: 2s;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}
.disabled{
    cursor: no-drop;
    background-color:#666666;
    color:#fff;
}

.tle-text{
            cursor: pointer;
        }
        .context-menu{
            display: none;
            position: absolute;
            border: 1px solid black;
            border-radius: 3px;
            width: 200px;
            background: white;
            padding-bottom:2px !important;
            /*box-shadow: 10px 10px 5px #888888;*/
        }
        
        .context-menu ul{
            list-style: none;
            padding: 2px;
            padding-bottom:2px !important;
        }
        
        .context-menu ul li{
            padding: 5px 2px;
            margin-bottom: 3px;
            color: white;
            font-weight: bold;
            background-color: #000;
        
        }
        .context-menu ul li a{
            color: #eee;
        }
        
        .context-menu ul li:hover{
            cursor: pointer;
            background-color: #222;
        }
        .gr-border{
            outline:1px solid #4dffa6;
        }
        .jconfirm-buttons{
            width:100%;
            display:block;
        }
        .nx{
            position:absolute;top:50%;right:10px;font-size:30px;cursor:pointer;color:#dedede;text-shadow: 0 0 8px #000000;
        }
        .pr{
            position:absolute;top:50%;left:10px;font-size:30px;cursor:pointer;color:#dedede;text-shadow: 0 0 8px #000000;
        }
        .cr{
            position:absolute;top:2%;right:10px;font-size:20px;color:#dedede;text-shadow: 0 0 2px #000000;
        }
        .nx span:hover{
            color:#3399ff;
        }
        .pr span:hover{
            color:#3399ff;
        }
		.btn-page {
			color: #bc1212;
			background-color: #e9ecef;
			border-color: #dee2e6;
			border: 1px solid #dee2e6;
			margin: 0px 2px;
			font-weight: bold;
			padding: 6px 12px;
		}
		.btn.btn-page.active {
			color: #fff;
			background-color: crimson;
		}
		.btn-sm.btn-page.active {
			color: #fff;
			background-color: crimson;
		}
		a.btn-sm.btn-info.click-spa, a.btn-sm.btn-success.click-spa {
			padding: 6px 10px 7px 10px;
		}

/* Permissions checkbox */
.checkbox-list {
    list-style-type: none;
    padding: 0;
}

.checkbox-list li {
    margin-bottom: 15px;
}

.checkbox-container {
    /*display: flex;
    align-items: center;*/
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    /*background-color: #4CAF50;*/
    background-color: #f22117;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 3px;
    width: 7px;
    height: 15px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* No Access */
.container-fluid.noaccess {
    text-align: center;
    padding: 30px;
}

h1.access {
    font-size: 2.5em;
    color: #e74c3c;
    margin-top: 15px;
    margin-bottom: 15px;
}

p.access {
    font-size: 1.2em;
    margin-bottom: 30px;
}
.noaccess-box {
    border: 1px solid #fff;
    padding: 30px;
    border-radius: 10px;
	box-shadow: 0 0 10px red;
}

.card-header{
	font-size:16px;
	font-weight:bold;
	color: #444;
}

/* Home Page CSS */
#holder1 {background:url('?holder.js/300x200?text=Background%20placeholder&bg=000&fg=fff');width:300px;height:200px}
h5.modal-title.text-warning.text-success , .modal-body.text-warning.text-success {
		color: #198754 !important;
		font-size: 16px;
	}
	.modal-body. {
		font-size: 16px;
	}
	.modal-content {
		margin-top: 30%;
	}
	.modal-backdrop.fade.show {
		display: none;
	}
	.spinner_class{
		background-color: #000 !important;
		align-items: center !important;
		justify-content: center !important;
		height: 100vh !important;
		width: 100% !important;
		transform: translate(-50%, -50%) !important;
		left: 50% !important;
		top: 50% !important;
		position: fixed !important;
		display: flex !important;
		z-index: 9;
	}
	.show-spinner {
		display: block;
	}
	.hide-spinner {
		display: none !important;
	}