/*!
Theme Name: Tlp Members
Theme URI: https://members.thelegalplans.co.uk/
Author: thelegalplans.co.uk
Author URI: https://members.thelegalplans.co.uk/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tlp-members
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Tlp Members is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");


body {
    /* background-color: #f5f5f5 !important; */
    font-size: .875rem !important;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1320px !important;
    }
}

.form-signin {
    max-width: 400px;
    width: 55%;
    /* margin: auto; */
    background: #fff;
    box-shadow: 0px 0px 20px 5px #d3d3d3;
    border-radius: 10px;
}

.form-padding {
    padding: 30px;
    padding-bottom: 0px;
}

.form-box {
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    height: 100vh;
}

.bg-gray {
    background-color: #efefef;
    padding: 20px;
    margin: 0;
    text-align: center;
    border-radius: 0px 0px 10px 10px;
}

.text-black {
    color: #4c4c4c !important;
}

.navbar-brand {
    position: sticky;
    top: 0;
    background: #ffffff;
    padding: 10px;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  @media (min-width: 768px) {
    .bd-placeholder-img-lg {
      font-size: 3.5rem;
    }
  }

  .bg-white {
    background-color: #ffffff;
  }

  .sidebar {
    position: -webkit-sticky;
    position: sticky !important;
    top: 0;
    height: calc(100vh - 0px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}

.nav-btn, .navbtn-li li a {
    /* color: #377dff; */
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 17px;
    width: 100%;
    border: none;
    background: transparent;
    white-space: nowrap;
    padding: .5rem .875rem !important;
    margin-bottom: .25rem;
    border-radius: 0.5rem;
}
.nav-btn:hover, .navbtn-li li a:hover {
    background-color: rgba(189, 197, 209, .2);
    color: #0d6efd;
}

.collapse.show {
    display: block;
}
.sidebar-s .active a{
    color: #0d6efd !important;
    background-color: rgba(189, 197, 209, .2) !important;
}
/* .active {
    color: #0d6efd;
    background-color: rgba(189, 197, 209, .2);
} */

button:focus {
    outline: none !important;
}

.navbtn-li li {
    list-style: none;
}

.navbtn-li li a {
    text-decoration: none;
    color: #4c4c4c;
    margin-left: 17px;
}

.navbtn-li ul li::before {
    position: absolute;
    /* top: 0; */
    /* left: 50px; */
    width: .125rem;
    /* height: calc(100% - .25rem); */
    height: 50px;
    content: "";
    background-color: rgba(231, 234, 243, .7);
}

.navbtn-li ul {
    padding: 0px 20px;
}
/* add lead form */

.lead-form {
    /* height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-lead-form {
    background: #ffffff;
    padding: 50px 30px;
    border: 1px solid #e7eaf3b3;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem !important;
}

.bor-bottom {
    border-bottom: 1px solid #e7eaf3b3 !important;
}
.bor-right {
    border-right: 1px solid #e7eaf3b3 !important;
}
.form-control {
    border: 1px solid #e7eaf3b3 !important;
    padding: .6125rem 1rem !important;
    height: calc(1.9em + .75rem + 2px) !important;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5 !important;
    color: #1e2022;
    background-color: #fff;
}

.logo {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 10px 10px;
}

.table {
    border: 1px solid #dad9da;
}
.table td {
    border: none !important;
    border-bottom: 1px solid #dad9da!important;
}

.table tr:last-child {
    border: 1px solid #e7eaf3b3 !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.table th {
    border: 1px solid #e7eaf3b3 !important;
    border-left: none !important;
    border-right: none !important;
}

.table td {
    padding: 1rem !important;
}

/* .table th {
    padding: 1rem 0 !important;
} */

.card-header {
    border-bottom: 1px solid #e7eaf3b3 !important;
}

.card {
    border: 1px solid #e7eaf3b3 !important;
}

.dropdown-toggle::after {
    display: none !important;
}

#membersTable_wrapper .row .col-md-auto {
    padding: 10px 20px;
    align-items: center;
}

#membersTable_wrapper .row {
    margin-top: 0 !important;
    align-items: center;
}

#membersTable_wrapper label {
    margin-bottom: 0 !important;
}

#membersTable_wrapper .dt-info {
    padding-top: 0 !important;
}

.thead-light {
    background-color: #F8FAFD;
}

.text-lg {
    font-size: 1.25rem !important;
}

.icon-shape {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
    border-radius: .375rem;
    width: 3rem;
    height: 3rem;
}

.bg-soft-success {
    background-color: #ccf5e7 !important;
}

.bg-soft-danger {
    background-color: #ffd6e0 !important;
}

.commissions-table tr td, .commissions-table th {
    border: 1px solid #e7eaf3b3 !important;
}
table.commissions-table {
    margin: 0;
}
.commissions-table th {
    padding: .75rem !important;
}


.form-alert {
    display: none;
}
.form-alert.show {
    display: initial;
}

.subscription-badge,
.transaction-badge {
    align-items: center;
    border: 1px solid;
    border-radius: 999px;
    display: inline-flex;
    font-size: 10px;
    font-weight: 600;
    justify-content: center;
    line-height: 14px;
    min-width: 72px;
    padding: 2px 4px;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}
.cancelled-subscription {
    background: #de1827;
    border: 1px solid #de1827;
    color: #fff;
}
.active-subscription {
    background: #ddffe7;
    border: 1px solid #a8f3be;
    color: #0d6225;
}
.trial-subscription {
    background: #fff5dc;
    border: 1px solid #ffedb8;
    color: #88601a;
}
.voided-transaction {
    background: #f7f7f8;
    border: 1px solid #f0f1f3;
    color: #3e4247;
}
.success-transaction {
    background: #ddffe7;
    border: 1px solid #a8f3be;
    color: #0d6225;
}

footer {
    min-height: 60px;
}
.hidden {
    display: none;
}
/*=============================================
======= Plan card
=============================================*/
.plan-card,
.user-card {
    position: relative;
    width: 100%;
    max-width: 360px;
    background: #fff;
    /* box-shadow: 0px 0px 10px #00000014; */
    border: 1px solid #0000000d;
    padding: 15px;
    border-radius: 6px;
}
.plan-card .plan-card-title,
.user-card .user-card-title {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}
.plan-card .plan-details,
.user-card .user-details {
    padding: 0;
    list-style: none;
}
.plan-card .plan-details li,
.user-card .user-details li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #0000000d;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
.plan-card .plan-details li:last-child,
.user-card .user-details li:last-child {
    border-bottom: none;
}
.plan-card .plan-details li label,
.user-card  .user-details li label{
    font-weight: 600;
}
.plan-card .plan-action {
    text-align: center;
}


/*=============================================
======= subscription card
=============================================*/
.subscription-card {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #dad9da;
    box-shadow: 0px 0px 5px #dad9da;
}
.subscription-card-header,
.subscription-card-body,
.subscription-card-footer {
    padding: 15px;
    border-bottom: 1px solid #dad9da;
}
.subscription-card-header {
    background: #007bff;
    color: #fff;
    border-radius: 15px 15px 0 0;
}
.subscription-card-header .subscription-card-title {
    font-size: 16px;
    margin: 0;
}

.subscription-card-body {
    padding: 0 15px;
}
.subscription-card-body .subscription-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #dad9da;
    font-size: 13px;
}
.subscription-card-body .subscription-card-row:last-child {
    border-bottom: none;
}
.subscription-card-body .subscription-card-row .subscription-card-val {
    font-weight: 500;
}


/*=============================================
======= subscription box
=============================================*/
.subscription-box {
    background: #fff;
    position: relative;
    border: 1px solid #dad9da;
    border-radius: 8px;
    margin-bottom: 30px;
}
.subscription-box:last-child {
    margin-bottom: 0px;
}
.subscription-box-header {
    padding: 15px;
    border-bottom: 1px solid #dad9da;
}
.subscription-box-header .subscription-box-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.subscription-box-body {
    padding: 0 15px;
}
.subscription-box-body .subscription-box-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 15px 0;
    border-bottom: 1px solid #dad9da;
}
.subscription-box-body .subscription-box-row:last-child {
    border-bottom: none;
}
.subscription-box-body .subscription-box-row .subscription-box-label {
    font-weight: 500;
}


/*=============================================
======= Info box
=============================================*/
.info-box {
    background: #fff;
    position: relative;
    border: 1px solid #dad9da;
    border-radius: 8px;
    margin-bottom: 30px;
}
.info-box:last-child {
    margin-bottom: 0px;
}
.info-box-header {
    padding: 15px;
    border-bottom: 1px solid #dad9da;
}
.info-box-header .info-box-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.info-box-body {
    padding: 0 15px;
}
.info-box-body .info-box-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 15px 0;
    border-bottom: 1px solid #dad9da;
}
.info-box-body .info-box-row:last-child {
    border-bottom: none;
}
.info-box-body .info-box-row .info-box-label {
    font-weight: 500;
}
.info-box-val {
    position: relative;
}
.field-btn-box {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}

.info-box-footer {
    padding: 15px;
    border-top: 1px solid #dad9da;
}
/*.info-box-field-block {
    display: none;
}
.info-box-field-block.open {
    display: initial;
}*/
.info-box-field-label,
.info-box-field-block {
    padding-right: 20px;
}