﻿/*Common layout changes*/

h1, h2, h3, h4, h5 {
    color:#646c9a;
}
.h3, h3 {
    font-size: 1.75rem;
}
    /*Layout css*/
    .layout-boxed .wrapper, .layout-boxed .wrapper::before {
        margin: 0px;
        max-width: 100%;
    }
.content-header h1 {
    font-size: 1.75rem;
}
.content-wrapper {
    height: 100%;
    padding: 10px 18px;

}
/*Sidebar*/
.main-sidebar.sidebar-dark-primary {
    background: #1455a6;
    width: 265px;
}
.sidebar-collapse .main-sidebar, .sidebar-collapse .main-sidebar::before {
    margin-left: -300px;
}

.sidebar-collapse .sidebar .user-panel {
    justify-content: center;
}

/*
.sidebar-collapse .sidebar .nav-sidebar .nav-treeview > .nav-item > .nav-link > .nav-icon {
    visibility: hidden;
}*/

.sidebar .user-panel {
    border-bottom: 1px solid #fff;
    background-color: #f5efef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    padding: 0 25px;
    height: 65px;
}

.sidebar .pushbutton {
    display: flex;
    justify-content: flex-end
}

.sidebar .pushbutton button.toggler span {
    display: inline-block;
}

button.toggler {
    display: inline-block;
    padding: 0;
    border: 0;
}

.sidebar .pushbutton button.toggler span svg {
    height: 26px;
    width: 26px;
    margin-right: -2px;
}

.sidebar .pushbutton button.toggler span:nth-child(2) {
    display: none;
}

.user-panel .image {
    padding-left: 0;
}

.sidebar-collapse .sidebar .pushbutton button.toggler span:nth-child(2) {
    display: inline-block;
}

.sidebar-collapse .sidebar .pushbutton button.toggler span:nth-child(1) {
    display: none;
}

.sidebar-collapse .sidebar .pushbutton {
    justify-content: center;
}

.sidebar-collapse .user-panel .image {
    display: none;
}

/*.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .user-panel .image {
    display: inline-block;
}*/

.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover .sidebar .nav-sidebar .nav-link p {
    visibility: hidden;
    margin-left: 10px;
}


.sidebar .nav-sidebar > .nav-item:hover > .nav-link, .sidebar .nav-sidebar > .nav-item > .nav-link:focus {
    background-color: #053168;
    color: #fff;
}

.sidebar-mini .main-sidebar .nav-link, 
.sidebar-mini-md .main-sidebar .nav-link, 
.sidebar-mini-xs .main-sidebar .nav-link {
    width: calc(300px - .5rem * 2);
}
.user-panel .image > img {
    /*width: auto;*/
    width: 120px;
}

.sidebar {
    padding: 0px;
}

.main-header .navbar-nav {
    align-items: center;
}

.sign-out i {
    font-size: 28px;
}
[class*=sidebar-dark-] .nav-sidebar > .nav-item.menu-open > .nav-link, [class*=sidebar-dark-] .nav-sidebar > .nav-item:hover > .nav-link, [class*=sidebar-dark-] .nav-sidebar > .nav-item > .nav-link:focus {
    background-color: rgb(5 49 104);
    color: #fff;
}
.nav-sidebar .nav-link > .right, .nav-sidebar .nav-link > p > .right {
    top: 15px;
}


/* Nav Sidebar */
.main-sidebar .nav-sidebar {
    padding: 15px 0;
}
.main-sidebar nav {
    margin: 15px 0;
}

.main-sidebar .nav-sidebar .nav-item > .nav-link {
    position: relative;
    padding: 9px 25px;
    cursor: pointer;
    display: flex;
    flex-grow: 1;
    align-items: stretch;
    display: flex;
    flex-grow: 1;
    text-decoration: none;
    position: relative;
    width: 100%;
    border-radius: 0;
    margin-bottom: 0;
}

.main-sidebar .nav-sidebar .nav-treeview > .nav-item > .nav-link {
    padding-left: 30px;
}

.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand).sidebar-focused, .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover,
.sidebar-mini.sidebar-collapse .main-sidebar, .sidebar-mini.sidebar-collapse .main-sidebar::before {
    width: 5rem;
}


.main-sidebar .nav-sidebar .nav-treeview > .nav-item > .nav-link > .nav-icon {
    width: auto;
    font-size:0.3rem;
    flex: 0 0 15px;
}

.main-sidebar .nav-sidebar .nav-item > .nav-link p {
    margin-bottom: 0;
    line-height: 26px;
}

.main-sidebar .nav-sidebar .nav-item {
    display: flex;
    flex-direction: column;
}

[class*=sidebar-dark-] .nav-sidebar > .nav-item > .nav-link.active {
    box-shadow: none;
}

.main-sidebar .nav-sidebar > .nav-item .nav-icon {
    font-size: 1.2rem;
    flex: 0 0 35px;
    font-size: 1.3rem;
    width: auto;
    margin-right: 0;
    margin-left: 0;
    display: flex;
    align-items: center;
    line-height: 0;
}

.sidebar-collapse.sidebar-mini .main-sidebar .nav-sidebar .nav-link, .sidebar-collapse.sidebar-mini-md .main-sidebar .nav-sidebar .nav-link, .sidebar-collapse.sidebar-mini-xs .main-sidebar .nav-sidebar .nav-link,
.sidebar-collapse.sidebar-mini .main-sidebar.sidebar-focused:not(.sidebar-no-expand) .nav-link, .sidebar-collapse.sidebar-mini .main-sidebar:hover:not(.sidebar-no-expand) .nav-link, .sidebar-collapse.sidebar-mini-md .main-sidebar.sidebar-focused:not(.sidebar-no-expand) .nav-link, .sidebar-collapse.sidebar-mini-md .main-sidebar:hover:not(.sidebar-no-expand) .nav-link, .sidebar-collapse.sidebar-mini-xs .main-sidebar.sidebar-focused:not(.sidebar-no-expand) .nav-link, .sidebar-collapse.sidebar-mini-xs .main-sidebar:hover:not(.sidebar-no-expand) .nav-link {
    width: 100%;
}

.flaticon {
    display: block;
    flex: 0 0 35px;
    display: flex;
    align-items: center;
    line-height: 0;
    color: #fff;
    flex: 0 0 35px;
    font-size: 1.3rem;
}
.main-sidebar ul li a i {
    color: #adadad;
}
[class*=sidebar-dark-] .nav-sidebar > .nav-item.menu-open > .nav-link i, [class*=sidebar-dark-] .nav-sidebar > .nav-item:hover > .nav-link i, [class*=sidebar-dark-] .nav-sidebar > .nav-item > .nav-link:focus i,
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active i{
    color: #fff;
}



/* MAIN HEADER */
.main-header .welcome-text {
    font-weight: 500;
    font-size: .9rem;
    color: #959cb6;
}

.main-header .username {
    font-weight: 500;
    font-size: 1rem;
    color: #6c7293;
}



.main-header {
    border-bottom: none;
    z-index: 1034;
    display: flex;
    justify-content: space-between;
    height: 65px;
}

.content-header {
    padding: 0;
}
.content-wrapper > .content {
    padding: 0;
}



/* EDITOR */
.note-toolbar.card-header {
    flex-wrap: wrap;
    min-height: auto;
}

.sec-title {
    text-align: center;
}
.sec-title h3 {
    font-size: 1.5rem;
    color: #000;
}


/* Common Css */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 300;
    font-family: Poppins;
    line-height: 1.5;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.note > *{
    color: #000;
    font-weight: 400;
}

table#issueCertificateReportGrid, table#issueCertificateReportGrid.table.dataTable td {
    font-size: 10px;
    font-weight: 700;
    font-family: "DejaVu Sans", "Arial", sans-serif;
    padding: 5px .75rem;
}

.print-grid-content h3 sub {
    font-family: "DejaVu Sans", "Arial", sans-serif;
    font-size: 12px;
}

.print-grid-content {
    font-family: "DejaVu Sans", "Arial", sans-serif;
}

#activityReportForm .form-check-label  {
    color: #000 !important;
    font-weight: 400 !important;
}


/* ERROR LOG TABLE */
#errorLogList_wrapper .table thead th {
    vertical-align: middle;
}

#errorLogList_wrapper td, #errorLogList_wrapper th {
    text-align: center;
    font-weight: 700;
    max-width: 500px;
}

/* CARD */
.card {
    box-shadow: 0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2);
    margin-bottom: 1rem;
    box-shadow: 0 0 13px 0 rgba(82, 63, 105, .05);
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 4px;
}

.card-header {
    padding: 0 25px;
    border-bottom: 1px solid #ebedf2;
    min-height: 60px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    display: flex;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.card-header:after {
    display: none;
}

a {
    color: #1455a6;
}
span.displayOrder {
    background-color: #eee;
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-weight: bold;
    color: #48779D;
}



/* FORM CONTORL */

input.form-control {
    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
    padding: 10px 5px 10px 0;
    background: transparent;
    box-shadow: none;
    transition: all 0.3s ease;
    color: #000;
    font-size: 13px;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    padding: .46875rem .75rem;
    height: calc(2.25rem + 2px);
    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
    padding: 10px 5px 10px 0;
    background: transparent;
    box-shadow: none;
    transition: all 0.3s ease;
    color: #000;
    font-size: 13px;
}

.form-control {
    font-family: "Roboto", sans-serif;
}

[class*=icheck-] > label {
    font-family: "Roboto", sans-serif;
    color: rgba(0, 0, 0, .54);
    line-height: 17px;
}

[class*=icheck-] > input:first-child:checked + input[type=hidden] + label::after, [class*=icheck-] > input:first-child:checked + label::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: -4px;
    left: -2px;
    width: 6px;
    height: 12px;
    border: 2px solid #fff;
    border-left: none;
    border-top: none;
    transform: translate(7.75px,4.5px) rotate(45deg);
    -ms-transform: translate(7.75px,4.5px) rotate(45deg);
}

[class*=icheck-] > input:first-child + input[type=hidden] + label::before, [class*=icheck-] > input:first-child + label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, .54);
    border-radius: 0;
    margin-left: -29px;
}

input.form-control:focus {
    border-bottom: 2px solid #3f51b5;
    box-shadow: none;
    outline: none;
}

 input.form-control:focus + label, input.form-control:not(:placeholder-shown) + label {
    top: -15px;
    font-size: 11px;
    color: #3f51b5;
}
label {
   /* position: absolute;
    top: 5px;
    left: 12px;*/
    color: #999;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 400;
}
label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 400;
}
.form-group {
    margin-bottom: 1.25rem;
}

.mt-input input.form-control {
    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
    padding: 10px 5px;
    background: transparent;
    box-shadow: none;
    transition: all 0.3s ease;
}

.mt-input input.form-control:focus {
    border-bottom: 2px solid #3f51b5;
    box-shadow: none;
    outline: none;
}
.mt-input input.form-control:focus + label, .mt-input input.form-control:not(:placeholder-shown) + label {
    top: -15px;
    font-size: 11px;
    color: #3f51b5;
}
.mt-input label {
    position: absolute;
    top: 5px;
    left: 12px;
    color: #999;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: 400;
}
.mt-input label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 400;
}
/*END*/



/*BTN-DELETE*/

.btn-icon {
    padding: 0;
    min-width: 0;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    line-height: 40px;
    border-radius: 50%;
}
.btn-delete {
    background-color: transparent;
    border: none;
    color: #fd397a;
}

.btn-edit {
    background-color: transparent;
    border: none;
    color: rgba(0, 0, 0, .87);
}

button[disabled] {
    cursor: not-allowed;
}

.note-btn-group .note-btn {
    border: 1px solid #00000032;
    font-size: 13px;
    padding: .28rem .65rem;
    min-width: auto;
    border-radius: 0;
    line-height: normal;
    color: #1f2d3d;
    background-color: #f8f9fa;
    box-shadow: 0 0 0 0 rgba(215, 218, 222, .5);
    line-height: 1.5;
    border-radius: .2rem;
}

.profile-text {
    color: rgba(0, 0, 0, .87);
}


/* Nav Tabs*/
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #0abb87;
    border: 1px solid #0abb87;
    color: #fff;
}

.tab-content .tab-pane h3 {
    color: #000;
}

.tab-content h6 {
    color: #808080;
    font-weight: 700;
    font-size: 1rem;
}

ul#infoTabs {
    border-bottom: none;
}

.nav-tabs li.nav-item {
    margin-right: 1rem;
}

.nav-tabs .nav-link {
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    font-size: .8rem;
    border-radius: 2rem;
    letter-spacing: .6px;
    color: #fff;
    background: #1455a6;
    padding: 7px .75rem;
    border: 1px solid #dee2e6 !important;
    font-weight: 400;
}





/*DATA TABLE */
.table.dataTable {
    font-family: Roboto, "Helvetica Neue", sans-serif;
    color: #000;
}
.table-bordered thead td, .table-bordered thead th {
    border-bottom-width: 2px;
    color: rgba(0, 0, 0, .54);
    font-size: 12px;
    font-weight: 500;
}

.table.dataTable td {
    color: rgba(0, 0, 0, .87);
    font-size: 14px;
    font-weight: 400;
}
.table.dataTable .btn-link {
    color: rgba(0, 0, 0, .87);
}



.content .card-body {
    padding: 25px;
}



/*BTN*/
.btn-primary {
    border-color: #1455A6;
    background-color: #1455A6;
}

.btn-danger {
    background-color: #fd397a;
    border-color: #fd397a;
}

.btn {
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    border: none;
    -webkit-tap-highlight-color: transparent;
    display: inline-block;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: baseline;
    text-align: center;
    margin: 0;
    min-width: 64px;
    line-height: 36px;
    padding: 0 16px;
    border-radius: 4px;
    overflow: visible;
    transform: translate3d(0, 0, 0);
    transition: background .4s cubic-bezier(.25,.8,.25,1), box-shadow 280ms cubic-bezier(.4,0,.2,1);
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 500;
}


/*MODAL*/
.modal-header {
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px);
    background-color: #e9ecef;
}
.modal-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #464457;
}




/*body*/
html, body {
    height: 100% !important;
}
/*body {
    font-family: Poppins !important;
    font-size: 0.9rem;
}*/


/*form-controls*/
.form-control {
    font-size: 0.9rem;
    /*padding: 1.5rem 1.5rem;*/
}

/*Btn css*/
.btn {
    /*padding: 1.5rem 2rem;*/
}
 
.btn-danger {
    background-color: #f4516c;
    border-color: #f4516c;
}
.btn-success {
    background-color: #34bfa3;
    border-color: #34bfa3;
}
.btn-action-icons {
    padding: 5px 10px;
}
/*Table Css*/
/*.table {
    font-size: 14px;
}*/
.table tr td {
    /*padding-bottom: 20px;
    padding-top: 20px;*/
}
    .table tr td span button.btn, .table tr td button.btn {
        padding: 0.1rem 0.4rem;
    }
.table td, .table th {
    vertical-align: middle;
    /*text-align: center;*/
}
.table-dark {
    color: #fff;
    background-color: #343a40;
}

.table td span.label {
    border: 1px solid #ccc;
    padding: 0.75rem .75rem;
    border-radius: 2rem;
    text-align: center;
    font-size: .8rem;
    height: 32px;
    display: inline-block;
    margin: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    letter-spacing: .6px;
}
.table td a span {
    font-size: 14px;
}
.table td span.label.clickable:hover {
    cursor: pointer;
}
.table td span.label.success {
    background-color: #0abb87;
    border: 1px solid #0abb87;
    color: white;
}
.table td span.label.danger {
    background-color: #fd397a;
    border: 1px solid #fd397a;
    color: white;
}
.table td span.label.primary {
    background-color: #1455a6;
    border: 1px solid #1455a6;
    color: white;
}
/*Info table*/
.info-table.table thead tr {
    background-color: #48779D;
    color: #fff;
}
.info-table.table thead tr th {
    vertical-align: middle;
    border-bottom: none;
    text-align: left;
    font-weight: 500;
}
.info-table.table tbody tr td {
    vertical-align: middle;
    text-align: left;
    color: #212529;
    font-weight: 400;
}
.row-wise-info-table.table.table-striped {
    border-collapse: unset;
}

.row-wise-info-table.table.table-striped tr td {
    color: #1455a6;
    text-align: left;
}
.row-wise-info-table.table-striped tbody tr:nth-of-type(even) {
    background-color: rgb(217 229 243);
}
/*sidebar*/
.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active, .sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #053168;
}
ul.nav li.nav-item.active a.nav-link {
    background-color: #053168;
    border: 1px solid #053168;
}
.nav-treeview > .nav-item > .nav-link.active,.nav-treeview > .nav-item > .nav-link.active:focus, .nav-treeview > .nav-item > .nav-link.active:hover {
    background-color: #053168 !important;
    color: #ffffff !important;
}
/* anchor tag */
a {
    color: #1455a6;
}
a:hover {
    cursor: pointer;
}

/*Card*/
.info-card.card-header {
    background-color: #48779d;
    color: #fff;
    font-weight: 500;
    padding: .75rem;
    min-height: auto;
}

.card-title {
    float: left;
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    color: #464457;
}

/*Pagination*/
.page-link {
    color: #1455a6;
}
.page-item.active .page-link {
    background-color: #1455a6;
    border-color: #1455a6;
}

/* icheck */
.icheck-primary > input:first-child:checked + input[type=hidden] + label::before,
.icheck-primary > input:first-child:checked + label::before {
    background-color: #1455a6;
    border-color: #1455a6;
}

/* Loader */
#loader {
    display: none;
    position: fixed;
    z-index: 9999999;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100%;
    align-items: center;
}

#loader .spinner-border {
    width: 4rem;
    height: 4rem;
    border: .25em solid #1455a6;
    border-right-color: transparent;
}

/*Media queries */
.page-break {
    break-before: page;
}
@media (max-width: 767.98px) {
    .main-sidebar, .main-sidebar::before {
        box-shadow: none !important;
        margin-left: -265px;
    }
}

@media (min-width: 768px) {
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, 
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer, 
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
        margin-left: 265px;
    }
}

@media (max-width: 991.98px) {
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, 
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer, 
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
        margin-left: 0px;
    }
}

/*Utilities*/
.gap-5 {
    gap: 5px;
}
.gap-20 {
    gap: 20px;
}
.width-20 {
    width: 40% !important;
}
.white {
    color: #ffffff;
}
.danger {
    color: #f4516c;
}
.success {
    color: #0abb87;
}

.green-background {
    background-color: green;
    padding: 5px 10px !important;
}

.yellow-background {
    background-color: yellow;
    padding: 5px 10px !important;
}
.border {
    border-color: #000 !important;
}

.overflow-hidden {
    overflow: hidden;
}

.inactive-record-row {
    background-color: antiquewhite !important;
}
/* For multipage content PDF */
@media print {

    #issueCertificateReportFilters {
        display: none;
        /*visibility: hidden;*/
    }

    #printContent * {
        visibility: visible;  
    }

   /* #printContent {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }*/


    /*#printContent table {
        width: 100%;
        page-break-inside: auto;
    }

    #printContent tr {
        page-break-inside: avoid;  avoid breaking inside rows 
    }

    #printContent thead {
        display: table-header-group;  repeat headers 
    }*/
}