/****
 *
 * Change Theme Color(Black to Green)
 * To change (Black to Green),
 * Removed "dark-mode" from the body tag,
 * and add below Css
 *
 * */
/**************Change Theme Color(Black to Green)**********Start******/
.navbar-dark {
    background-color: #fafbfc !important;
    border-color: rgb(223 223 223);
}

[class*=sidebar-dark-] {
    background-color: #fafbfc !important;
}

[class*=sidebar-dark] .user-panel {
    border-bottom: 1px solid #dfdfdf;
}

[class*=sidebar-dark-] .sidebar a {
    color: #495057;
}

[class*=sidebar-dark-] .sidebar a:hover {
    color: #4e7297;
}

.btn-primary.focus,
.btn-primary:focus {
    color: #fff;
    background-color: #3f6ad8 !important;
    border-color: #3f6ad8 !important;
    box-shadow: 0 0 0 0 rgba(38, 143, 255, .5);
}

.btn-success {
    color: #fff;
    background-color: #3ac47d !important;
    border-color: #3ac47d !important;
}

.table-bordered td,
.table-bordered th {
    border: 1px solid #dee2e6 !important;
}

nav.main-header.navbar.navbar-expand.navbar-dark {
    box-shadow: 0 0.46875rem 2.1875rem rgba(4, 9, 20, 0.03), 0 0.9375rem 1.40625rem rgba(4, 9, 20, 0.03), 0 0.25rem 0.53125rem rgba(4, 9, 20, 0.05), 0 0.125rem 0.1875rem rgba(4, 9, 20, 0.03);
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link {
    color: #6c757d;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #dee2e67a !important;
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link:focus,
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link:hover {
    background-color: rgb(227 231 231);
    color: #495057;
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link {
    color: #6c757d;

}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:hover {
    background-color: rgb(224 243 255);
    color: #343a40;
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active,
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:focus,
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:hover {
    background-color: #e3e7e7 !important;
    color: #343a40;
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #0f83e9 !important;
}

.nav-sidebar>.nav-item>.nav-link:active {
    color: #c2c7d0;
}

.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: #e3e7e7 !important;
    color: #495057 !important;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #007bff !important;
    color: #ffffff !important;
}

/**************Change Theme Color(Black to Green)***********End*****/

.adminlogin_form .form-valid-error {
    color: red;
    width: 100%;
}

/***********Profile image Section*****************/
.avatar-upload {
    position: relative;
    max-width: 205px;
    margin: 20px auto;
}

.admin_edit_profile_image .avatar-edit {
    position: absolute;
    right: 20px;
    z-index: 1;
    top: 10px;
}

.admin_edit_profile_image input {
    display: none;
}

.admin_edit_profile_image label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    border-radius: 100%;
    background: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-weight: normal;
    transition: all 0.2s ease-in-out;
}

.admin_edit_profile_image label:hover {
    background: #f1f1f1;
    border-color: #d6d6d6;
}

.admin_edit_profile_image label:after {
    content: "\f040";
    font-family: "FontAwesome";
    color: #757575;
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    text-align: center;
    margin: auto;
}

.admin_edit_profile_image .avatar-preview {
    width: 192px;
    height: 192px;
    position: relative;
    border-radius: 100%;
    border: 6px solid #f8f8f8;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.admin_edit_profile_image .avatar-preview>div {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/***********Profile image Section*****************/

/*****************Category Image upload****************Start**************/
.containers {
    height: 190px;
    position: relative;
    max-width: 320px;
    margin: auto;
}

.containers .imageWrapper {
    border: 3px solid #888;
    width: 50%;
    padding-bottom: 50%;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.containers .imageWrapper img {
    height: 105%;
    width: initial;
    max-height: 100%;
    max-width: initial;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.file-upload {
    position: relative;
    overflow: hidden;
    margin: 10px;
}

.file-upload {
    position: relative;
    overflow: hidden;
    margin: 10px;
    width: 100%;
    max-width: 130px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    background: transparent;
    border: 2px solid #888;
    padding: 8px 8px;
    display: inline;
    -ms-transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    /* &:hover{
      background:#999;
      -webkit-box-shadow: 0px 0px 10px 0px rgba(255,255,255,0.75);
      -moz-box-shadow: 0px 0px 10px 0px rgba(255,255,255,0.75);
      box-shadow: 0px 0px 10px 0px rgba(255,255,255,0.75);
    } */
}

.file-upload input.cat-file-input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
    height: 100%;
}

.upload_caticon_outer {
    text-align: center;
}

/*****************Category Image upload*****************End*************/

#add_new_blog_form .form-group.blog_img,
#blog_editform .form-group.blog_img {
    text-align: center;
}

span#content-summernote-error {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

#add_new_blog_form .note-editor.note-frame.card {
    margin-bottom: auto;
}

.main-sidebar.sidebar-dark-primary .sidebar {
    margin-top: 0 !important;
}

.img_size {
    height: 80px;
    width: 80px;
}

/* Custom CSS to adjust the placeholder text size */
.select2-selection__placeholder {
    font-size: 14px;
}
