/**
 * Created by Md.Abdullah Al Mamun.
 * Project: workflow
 * File: 
 * Email: mamun@infosapex.com, dev.mamun@gmail.com
 * Date: 11/22/17
 */

body {
    /*background-color: rgba(76, 175, 80, 0.1411764705882353);*/
}

#main {
    padding-bottom: 0px;
    padding-top: 70px;
}

#header {
    min-height:50px;
    /*background-color: #1fa67a;*/
    background-color: #035934;
    user-select: none;
    position: fixed;
    z-index: 11;
    width: 100%;
    left: 0;
    top: 0;
    padding: 0 20px
}

.main-menu {
    margin: 0 0 0;
}
.main-menu>li>a{
    padding: 14px 20px 14px 45px;
}
.main-menu>li>a>i{
    left: 15px;
}
.hi-menu>li>a>i{
    margin-top: 3px;
}
.dropzone .dz-message span:before{
    content: "\f0ee";
    font-family: 'Font Awesome 6 Pro';
}

.sub-menu ul>li>a{
    padding: 8px 20px 8px 45px;
}
.sidebar.hidden {
    transform: translate3d(-288px, 0, 0);
    box-shadow: 0 0 20px rgba(14, 18, 21, .38);

}
.content.full-width{
    padding-left: 15px !important;
}

#application_form #new_form{
    height: calc(100vh - 10px);
    overflow-y:auto;
}
#application_form .file-view .file-view-header{
    background: #d3dedc;
    padding: 8px 16px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#application_form .file-view .file-view-pagination{
    padding: 4px;
    margin: 4px 4px 16px;
}
#application_form .file-view .file-view-pagination .page-number-display{
    margin-left:5px;
    margin-right: 5px;
}
#application_form .file-view .file-view-header .file-title{
    margin-bottom: 0 !important;
}

#application_form .file-view .file-view-header .icon-buttons {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}
#application_form .file-view .file-view-header .icon-buttons a{
   text-decoration: none;
}

#application_form .file-view .file-view-content{
    border: solid 1px #d3dedc;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

#application_form .file-view .file-view-body {
    display: block;
    padding: 10px;
    overflow-y: auto;
    overflow-x: auto;
    transform-origin: center center;
    transition: transform 0.2s ease;
    position: relative; /* Make sure the position is set correctly */
}

#application_form .file-view .file-view-body .canvas-wrapper {
    overflow: hidden; /* Ensure no overflow clipping */
}

#application_form .file-view .file-view-body .canvas-wrapper canvas {
    display: block; /* Ensure the canvas displays as a block element */
    max-width: none;
    width: 100%;
}

#application_form .file-view .image-wrapper{
    padding-left: 5px;
    padding-right: 5px;
    display: flex;
    justify-content: center; /* Center the canvas horizontally */
}

#application_form .file-view .image-wrapper img {
    max-width: 100%;
    height: auto;
}

#application_form .file-view iframe {
    border: none;
}

#application_form .file-view #xlsxTable {
    width: 100%;
    border-collapse: collapse;
}

#application_form .file-view #xlsxTable th, #application_form .file-view #xlsxTable td {
    border: 1px solid #ccc;
    padding: 8px;
}
#application_form .file-view .docx-content {
    padding-left: 10px;
    padding-right: 10px;
}
#application_form .file-view #filePreviewLoader {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#application_form .file-view #csvTable{
    padding-left: 5px;
    padding-right: 5px;
}



#application_form .file-view .image-wrapper img {
    max-width: 100%;
    height: auto;
}



.file-view iframe {
    border: none;
}


.h-inner {
    list-style: none;
    padding: 5px 0;
    margin-bottom: 0
}

.card{
    margin-bottom: 25px;
}
.h-search-wrap{
    height: 60px;
}

.visitors-stats{
    margin: 0 -6px 18px;
}
.visitors-stats-item small {
    color: #ddd;
}
.visitors-stats-item strong {
    color: #f5f5f5;
}
a.open_account{
    background: #0e6b37;
    color: white;
    border-radius: 29px;
    padding: 5px 13px;
    position: absolute;
    top: 10px;
    right: 10px;
}
.bootstrap-select>.btn-default {
    padding-right: 12px!important;
}
.bootstrap-select>.btn-default:before{
    width: 12px !important;
}
.bootstrap-select.btn-group .dropdown-toggle .filter-option {
    white-space: normal;
    word-break: normal;
}

@media (min-width: 992px) {
    #search_summary_modal .modal-lg, #summary_modal .modal-lg{
        width: 80% !important;
    }
    #search_summary_modal .tab-content, #summary_modal .tab-content{
        max-height: 60vh;
        overflow-y: auto;
    }
}
@media (max-width: 1279px) {
    #header .toggle-sidebar-lg {
        display: none !important;
    }
}
@media (min-width: 1280px) {

    #sidebar.close-sidebar {
        -webkit-transform: translate3d(-288px, 0, 0);
        transform: translate3d(-288px, 0, 0);
    }
    #sidebar.open-sidebar {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    #content {
        transition: padding-left 0.3s;
    }
     #content.open-content {
        padding-left:283px;
    }
     #content.close-content {
        padding-left:15px;
     }

}
#search_modal{
    z-index: 1000 !important;
}


#summary_modal {
    box-shadow: 3px 4px 2px 0 rgba(136, 136, 136, 0.52);
}

.summary_modal_header {
    background-color: rgba(62, 80, 89, 0.78);
    padding: 16px 26px !important;
}

.sum_modal_title {
    color: #fff;
    font-size: 20px !important;
    font-weight: 700 !important;
}
#summary_modal .table-responsive{
    max-height: 50vh;
    overflow-y: auto;
    overflow-x: hidden;
}
#summary_modal table{
    width: 100%;
    border-collapse: collapse;
}
#summary_modal .table > thead > tr > th{
    padding: 10px !important;
}

#summary_modal .table > thead > tr > th:first-child{
    padding-left: 0!important;
}
#summary_modal .table > thead > tr > th:last-child{
    padding-right: 0!important;
}

#summary_modal table th{
    position:sticky;
    top:0;
}
#summary_modal td {
    padding: 10px !important;
    border: 0!important;
}
#summary_modal table tr:nth-child(odd) {
    background-color: #f2f2f2;
}
#summary_modal table tr:hover{
  background-color: #cccccc;
}
#summary_modal #general_info .application-info{
    color: #36454F;
    font-size:16px;
    font-weight: 500;
    margin-bottom: 20px !important;
}
#summary_modal .pmbb-view dl{
    margin-bottom: 8px !important;
}


/* General scrollbar styles for WebKit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}
::-webkit-scrollbar:hover {
    width: 6px;
    height: 6px;
    transition: width 0.3s ease-in-out;
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 5px;
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
    transition: background 0.3s ease; /* Smooth transition for background color */
    position: relative;
}

/* Create a pseudo-element to give the appearance of a wider handle on hover */
::-webkit-scrollbar-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: -3px; /* Adjust the left position to center the wider handle */
    right: -3px; /* Adjust the right position to center the wider handle */
    bottom: 0;
    background: inherit; /* Inherit the background color */
    border-radius: inherit; /* Inherit the border radius */
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease, background 0.3s ease; /* Smooth transition for opacity and background color */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #6a5acd, #48d1cc);
}

::-webkit-scrollbar-thumb:hover::before {
    opacity: 1; /* Show the pseudo-element on hover */
}

/* Handle for horizontal scrollbar on hover */
::-webkit-scrollbar-thumb:horizontal:hover::before {
    top: -3px; /* Adjust the top position for horizontal scrollbar */
    bottom: -3px; /* Adjust the bottom position for horizontal scrollbar */
    left: 0;
    right: 0;
}
/*  Theme Color Set */
.theme-bg-green{
    background: var(--theme-green);
}
.theme-bg-blue{
    background: var(--theme-blue);
}
.theme-bg-red{
    background: var(--theme-red);
}
.common-dt-icon-sz1{
    font-size: 14px !important;
}
.common-dt-icon-sz2{
    font-size: 16px !important;
}

/*hide sidebar */
#header .hi-trigger.dashboard {
    display: none !important;
}

.bootstrap-select.btn-group .dropdown-toggle .filter-option{
    text-transform: capitalize;
}








