/*LTP Commission - Subsales Subform*/
.subform-repeatable-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 0;         /* Remove default padding */
  margin: 0;          /* Remove default margin */
}

.subform-repeatable-group .field-entry-pair {
  display: flex;
  gap: 10px;
  width: 100%;
}

.control-group, .form-group {
  width: 100%;
}


/*LTP Commission*/
.js-stools .btn-toolbar .btn-primary:hover, .js-stools .btn-toolbar .btn-primary:focus{
    background-color: #313039 !important;
    border-color: #313039 !important;
}
#adminForm .table-responsive {
    background: rgb(255 255 255 / 10%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 5px;
    margin-bottom: 25px;
    scrollbar-width: thin;
}
#adminForm thead{
    background:#1b1a1f;
}
#adminForm thead th,
#adminForm tbody td{
    color:#fff;
    padding:10px;
}
#adminForm tr {
    border-color: #1b1a1f;
}
span.rejected {
    margin-bottom: 0;
    color: rgb(255 84 84) !important;
    font-size: 16px !important;
    text-transform: uppercase;
}
span.approved {
    margin-bottom: 0;
    color: rgb(135 222 126) !important;
    font-size: 16px !important;
    text-transform: uppercase;
}
span.pending {
    margin-bottom: 0;
    color: rgb(29 171 228) !important;
    font-size: 16px !important;
    text-transform: uppercase;
}
p.btn.view-reason {
    background: transparent !important;
    padding: 0;
    color: rgb(255 255 255 / 50%) !important;
    border-bottom: 1px solid rgb(255 255 255 / 50%);
    border-radius: 0;
    margin-bottom: 5px;
    font-size: 14px;
    transition:0.5s;
}
p.btn.view-reason:hover,
p.btn.view-reason:focus{
    color: rgb(255 255 255) !important;
    border-bottom: 1px solid rgb(255 255 255);
}

p.btn.boss-approve-comm, p.btn.boss-reject-comm,
p.btn.account-reject-comm, p.btn.account-approve-comm,
p.btn.pic-reject-comm, p.btn.pic-approve-comm,
p.btn.admin-reject-comm, p.btn.admin-approve-comm{
    margin-bottom:0;
    width:90px
}
p.btn.boss-approve-comm,
p.btn.account-approve-comm,
p.btn.pic-approve-comm,
p.btn.admin-approve-comm{
    background-color:#1e7e10 !important;
    transition:0.5s;
}
p.btn.boss-approve-comm:hover,
p.btn.account-approve-comm:hover,
p.btn.pic-approve-comm:hover,
p.btn.admin-approve-comm:hover{
    background-color:#105605 !important;
}
p.btn.boss-reject-comm,
p.btn.account-reject-comm,
p.btn.pic-reject-comm, 
p.btn.admin-reject-comm{
    background-color:#37353e !important;
    transition:0.5s;
}
p.btn.boss-reject-comm:hover,
p.btn.account-reject-comm:hover,
p.btn.pic-reject-comm:hover, 
p.btn.admin-reject-comm:hover{
    background-color:#1b1a1f !important;
}
a.btn.btn-success.btn-small {
    background:linear-gradient(325deg, rgb(40 68 159 / 100%), rgb(29 171 228 / 100%));
    border:0;
    transition:0.5s;
    padding:10px 20px !important;
}
a.btn.btn-success.btn-small:hover{
    filter:brightness(0.6);
}
div#checkReasonModal,
div#reasonModal{
    background: rgb(255 255 255 / 70%);
    backdrop-filter: blur(3px);
    padding: 30px;
    width: 700px;
    height: fit-content;
    border-radius:5px;
    border:0;
    box-shadow:0 10px 25px rgb(0 0 0 / 50%);
}
div#checkReasonModal{
    text-align: center;
}
div#checkReasonModal h2,
div#reasonModal h2{
    font-family:"Montserrat", sans-serif;
    font-weight:800;
    text-transform:uppercase;
    margin-bottom: 15px;
}
div#checkReasonModal textarea,
div#reasonModal textarea{
    padding:10px;
    border-radius:5px;
    margin-bottom: 10px;
}
.modal #submitBtn,
.modal #cancelBtn{
    width:calc(50% - 7.5px);
}
.modal #resubmitBtn,
.modal #closeBtn{
    
}
.modal #closeBtn{
    background:transparent !important;
    margin-top: 10px;
    transition:0.5s;
    margin: auto;
    color:#1b1a1f;
    border-bottom:2px solid transparent;
    padding:0;
    width:fit-content;
    border-radius:0;
}

.modal #closeBtn:hover{
    background:transparent !important;
    border-bottom:2px solid rgb(67 67 74 / 70%);
    color:#43434a;
}
.modal #resubmitBtn{
    background:rgb(40 68 159 / 100%) !important;
    transition:0.5s;
}
.modal #resubmitBtn:hover{
    background:rgb(16 34 92) !important;
}
.modal #submitBtn{
    background:rgb(40 68 159 / 100%) !important;
    margin-right: 10px;
    transition:0.5s;
}
.modal #submitBtn:hover{
    background:rgb(16 34 92) !important;
}
.modal #cancelBtn{
    background:#727175 !important;
    transition:0.5s;
}
.modal #cancelBtn:hover{
    background:#37353e !important;
}

@media (max-width:767px){
    #adminForm .table-responsive {
        overflow-y:scroll
    }
    #adminForm .table-responsive table{
        table-layout:auto;
        width:1200px;
    }
    div#checkReasonModal,
    div#reasonModal{
        width: calc(100% - 30px);
        padding: 30px 15px;
    }
    div#checkReasonModal textarea,
    div#reasonModal textarea{
        height:250px;
    }
}

/*ADD*/
.subcommission-edit h1 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
}


/* Commission Buttons */
.commission-edit joomla-tab[view=tabs]>div[role=tablist],
.commission-edit joomla-tab[view=accordion]>button {
    display: none; /*to hide add commission tab bar*/
}

.subform-repeatable-group {
    background:rgb(27 26 31 / 10%);
    padding:20px;
    border-radius:10px;
    box-shadow:1px 1px 5px #eee;
    margin-top:10px;
}

.subform-repeatable-group .btn-toolbar button{
    margin:0 10px 10px 0;
}

.subform-repeatable-group .group-add,.subform-repeatable-group .group-remove,.subform-repeatable-group .group-move{
    border-radius: .375rem !important;
    height:35px;
    width:35px;
    background:#1b1a1f !important;
    border:2px solid #1b1a1f !important;
    transition:0.5s;
}

.subform-repeatable-group .group-add:hover,.subform-repeatable-group .group-remove:hover,.subform-repeatable-group .group-move:hover{
    background:rgb(255 255 255 / 0%) !important;
    box-shadow:none !important;
    color:#1b1a1f !important;
}

.subform-repeatable-wrapper .group-add{
    border-radius: .375rem !important;
    height:35px;
    width:35px;
    background:#1b1a1f !important;
    border:2px solid #1b1a1f !important;
    transition:0.5s;
}

.subform-repeatable-wrapper .group-add:hover{
    background: #fefefe00 !important;
    box-shadow:none !important;
    color: #1b1a1f !important;
}


a.btn.btn-outline-primary {
    font-family:'Montserrat' !important;
    background:#04093c;
    color:#fff;
    border:2px solid #04093c;
    font-weight:500;
    font-size: 14px;
}

a.btn.btn-outline-primary:hover, a.btn.btn-outline-primary:focus{
    background:none;
    color:#04093c;
    border:2px solid #04093c;
    font-weight:500;
    transform:none;
}

.view-commission a.btn.btn-outline-primary {
    font-family:'Montserrat' !important;
    background:#011b8c;
    color:#fff;
    border:2px solid #011b8c;
    font-weight:500;
    font-size: 14px;
}

.view-commission a.btn.btn-outline-primary:hover, .view-commission a.btn.btn-outline-primary:focus{
    background:none;
    color:#ffffff;
    border:2px solid #ffffff;
    font-weight:500;
    transform:none;
}

.form-horizontal .controls .btn-primary{
    font-family:'Montserrat' !important;
    background:linear-gradient(325deg, rgb(40 68 159 / 100%), rgb(29 171 228 / 100%));
    color:#fff !important;
    border:0;
    font-weight:500 !important;
    font-size:14px !important;
    border-radius:5px !important;
    padding:10px 20px;
    margin-right:8px;
}
.form-horizontal .controls .btn-primary:hover,.form-horizontal .controls .btn-primary:focus{
    filter:brightness(0.7);
}

.form-horizontal .controls .btn-danger{
    text-transform:uppercase;
    font-family:'Montserrat' !important;
    font-weight:500 !important;
    font-size:14px !important;
    transition:0.5s;
    border: 0;
    background:#37353e;
    padding:10px 20px;
    border-radius:5px !important;
}

.form-horizontal .controls .btn-danger:hover, .form-horizontal .controls .btn-danger:hover{
    border:0 !important;
    background:#1b1a1f;
}

.commission-edit .form-horizontal .controls .btn-primary {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 5px !important;
    background: #36ab03 !important;
    padding: 10px 15px;
}

.commission-edit .form-horizontal .controls .btn-danger {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 5px !important;
    padding: 10px 15px;
    background: #e30000 !important;
    transform:translate(5px, 0.5px);
}

.commission-edit .form-horizontal .controls .btn-danger:hover, .commission-edit .form-horizontal .controls .btn-danger:focus {
    color: #000 !important;
}

#form-commission .fileButton{
    font-family:'Montserrat' !important;
    background:#1b1a1f !important;
    color:#fff !important;
    border:2px solid #1b1a1f !important;
    font-weight:500 !important;
    font-size:14px !important;
    transition:0.5s;
}

#form-commission .fileButton:hover, #form-commission .fileButton:hover{
    background:none !important;
    color:#1b1a1f !important;
    border:2px solid #1b1a1f;
}

table#commissionList {
    table-layout: auto;
    width: 1900px;
}

.view-commissions .table-responsive,
.view-commission .table-responsive,
.view-awardrecords .table-responsive{
    scrollbar-color: rgb(255 255 255 / 40%) rgb(255 255 255 / 20%);
    scrollbar-width: thin;
}


/* Commission Details */
.view-commission .item_fields table.table {
    /* overflow-x: auto; */
    -webkit-overflow-scrolling: touch;
    /* display: block !important; */
    color: #fff;
    table-layout: auto;
}

.view-commission .item_fields table.table {

}

.view-commission .item_fields table.table tr:nth-child(odd) {
    background: rgb(255 255 255 / 10%);
}

.view-commission .item_fields table.table tr th, .view-commission .item_fields table.table tr td {
    border: 0;
}

@media (max-width: 767px) {
    .view-commission .item_fields {
    overflow-x: scroll;
    scrollbar-color: rgb(255 255 255 / 40%) rgb(255 255 255 / 20%);
    scrollbar-width: thin;
    margin-bottom: 15px;
    }
    .view-commission .item_fields table.table{
       overflow-x: auto;
       width: 1000px;
    }
}

.agent-commission-table td {
    padding: 10px;
}
.agent-commission-table th {
    padding: 10px;
    background:rgb(17 19 68 / 10%);
}
.agent-commission-table tr:nth-child(2n){
    background:rgb(255 255 255 / 50%);
}
.form-horizontal .controls {
    margin-left: 0;
    margin-top: 15px;
}


.view-commission div#commissionButton button, .view-commission div#commissionButton a {
    padding: 10px 15px;
    line-height: 1;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 5px !important;
}

.view-commission div#commissionButton button.js-stools-btn-approved {
    background: #36ab03 !important;
    color: #fff !important;
}

.view-commission div#commissionButton button.js-stools-btn-rejected {
    background: #e30000 !important;
    color: #fff !important;
    transform:translate(0.5px, 0.5px);
}

.view-commission div#commissionButton a {
    background: #33425f;
    color: #fff;
}

.view-commission .table a {
    color: #198754;
}

/* View History */
button.btn.view-history,
button.btn.history-back{
    background: #43434a;
    transition:0.5s;
    width:120px;
}
button.btn.view-history a,
button.btn.history-back a{
    color:#fff;
}
button.btn.view-history:hover,
button.btn.history-back:hover{
    background: #1b1a1f;
}

/* Commission */
.view-awardrecords #sp-component h1,
.view-commissions #sp-component h1,
.view-commission #sp-component h1,
.view-commissionform #sp-component h1,
.view-leaderprogresses #sp-component h1,
.view-topranks.view-topranks-month #sp-component h1,
.view-topranks.view-topranks-year #sp-component h1,
.view-subcommissionhistories #sp-component h1,
.view-subcommission #sp-component h1,
.view-subleaderprogresses #sp-component h1{
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-weight: 700;
    font-size: 40px !important;
    margin-bottom: 30px;
    /* background: linear-gradient(325deg, #28449f, #1dabe4); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color:Ãƒâ€šÃ‚Â transparent; */
    color: #fff !important;
    width: fit-content;
}

@media (max-width: 991px) {
    .view-awardrecords #sp-component h1, 
    .view-commissions #sp-component h1, 
    .view-commission #sp-component h1, 
    .view-commissionform #sp-component h1,
    .view-leaderprogresses #sp-component h1,
    .view-topranks.view-topranks-month #sp-component h1,
    .view-topranks.view-topranks-year #sp-component h1,
    .view-subcommissionhistories #sp-component h1,
    .view-subcommission #sp-component h1,
    .view-subleaderprogresses #sp-component h1{
        font-size: 26px !important;
    }
}

#list_fullordering_chosen {
    display: none !important;
}
#list_fullordering{
    display: none !important;
}
#list_limit_chosen {
    display: none !important;
}
#list_limit{
    display: none !important;
}

.js-stools-btn-filter {margin-right: 0;}

.js-stools-btn-clear {margin-right: 0;}

.view-commissions .container .total-commission-col {
    background: linear-gradient(325deg, #28449f, #1dabe4);
    border-radius: 10px;
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
    height: 100%;
    padding: 20px;
    position:relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.view-commissions .container .total-override-col{
    background: linear-gradient(325deg, #0d2151, #2564b4);
    border-radius: 10px;
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
    height: 100%;
    padding: 20px;
    position:relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.view-commissions .rm-commission-col .upline-commission,
.view-commissions .avp-commission-col .upline-commission,
.view-commissions .svp-commission-col .upline-commission,
.view-commissions .evp-commission-col .upline-commission{
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
}

.view-commissions .container .total-commission-col:before {
    content: "";
    position: absolute;
    background: url('/images/001-ltp/commission/commission-deco-002.png');
    width: 130px;
    height: 130px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    right: 0;
    top: -10px;
}

@media (max-width: 991px) {
    .view-commissions .container .total-commission-col:before { width: 80px; height: 80px; }
}

.view-commissions .container .total-commission-col span{
    font-family:'Montserrat', sans-serif;
    color: #ffffff;
    text-transform:uppercase;
    font-size:14px;
    font-weight: 700;
    padding-bottom: 30px;
}

.view-commissions .container .total-commission-col p{
    font-family:'Montserrat', sans-serif;
    margin-bottom:0 !important;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 400;
}

.view-commissions .container .total-override-col span{
    font-family:'Montserrat', sans-serif;
    color: #ffffff;
    text-transform:uppercase;
    font-size:14px;
    font-weight: 700;
    padding-bottom: 30px;
}

.view-commissions .container .total-override-col p{
    font-family:'Montserrat', sans-serif;
    margin-bottom:0 !important;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 400;
}

.view-commissions .container .pending-commission-col {
    background: linear-gradient(45deg, #071e55, #0e317f);
    border-radius: 10px;
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
    padding: 20px;
    margin-bottom: 30px;
    line-height: 1.3;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    color: #fff;
}
.view-commissions .container .pending-commission-col span{
    text-transform:uppercase;
    font-size:14px;
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.view-commissions .container .accept-commission-col {
    background: linear-gradient(45deg, #102e8e, #14698c);
    border-radius: 10px;
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
    padding: 20px;
    /* margin-bottom: 30px; */
    line-height: 1.3;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    color: #fff;
}
.view-commissions .container .accept-commission-col span{
    text-transform:uppercase;
    font-size:14px;
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.other-commission-col p {
    font-size: 30px;
    margin-bottom: 0;
    line-height: 1;
}
.upline-commission {
    padding: 20px;
    background: #43434a;
    margin-top: 30px;
    border-radius:10px;
    color: #fff;
    line-height: 1.2;
    box-shadow: 0 5px 15px rgb(0 0 0 / 20%);
    margin-bottom: 30px;
    font-family:'Montserrat';
}
.upline-commission span{
    font-size:14px;
    margin-bottom: 5px;
    display: block;
    font-weight: 600;
    text-transform:uppercase;
}
.upline-commission p{
    font-size:20px;
    text-transform:uppercase;
    margin-bottom:0;
}

.js-stools-container-bar {
    padding: 10px 0px;
}

.js-stools-container-bar .btn-toolbar {
    justify-content: flex-start;
}

.js-stools-container-filters-visible {
    padding: 0;
    background: none;
}
.js-stools-container-filters-visible:before {
    display:none !important;
}
.js-stools .btn-toolbar .btn-primary:hover, .js-stools .btn-toolbar .btn-primary:focus{
    color: #ffffff !important;
    /*background-color: #c19355 !important;*/
    /*border-color: #c19355 !important;*/
    box-shadow:none !important;
}
.js-stools .btn-toolbar .btn-primary{
    color: #ffffff !important;
    background: #43434a !important;
    border-color: #43434a !important;
    box-shadow:none !important;
    flex: 0 0 auto;
}
.js-stools .btn-toolbar .js-stools-btn-add {
    background: #0f7f3c !important;
}
.js-stools .btn-toolbar .js-stools-btn-add:hover, .js-stools .btn-toolbar .js-stools-btn-add:focus{
    background-color: #034e0d !important;
    border-color: #034e0d !important;
    color: #ffffff !important;
}

.js-stools .btn-toolbar .filter-search-actions {
    gap: 10px;
    flex-wrap: wrap;
}

.js-stools .btn-toolbar .filter-search-actions button.js-stools-btn-approved {
    /* margin-right: 5px; */
    border: 0 !important;
    background: #36ab03 !important;
}

.js-stools .btn-toolbar .filter-search-actions button.js-stools-btn-rejected {
    /* margin-right: 5px; */
    border: 0 !important;
    background: #e30000 !important;
}


.view-commissions .container #sp-component .row .col-md-6:first-child{
    font-family:"Montserrat";
}

.view-commissions .container #sp-component .row .col-md-6:last-child{
    font-family:"Montserrat";
}

.js-stools-field-filter .field-calendar .input-group .input-group-text button {
    background: #43434a;
    box-shadow: none;
    margin-top: 0;
    border: 0 !important;
}

.js-stools-field-filter .field-calendar .input-group span.input-group-text {
    height: 38.5px;
    background: transparent;
    border: 0;
}

.table-responsive a {
    color: #ffffff;
}

.chosen-container-single .chosen-single {
    background: #1b1a1f;
    color:#9b9b9b;
    font-size:14px;
    padding:6px 12px;
    height:auto;
    border:0;
    box-shadow:none;
    border-radius:6px;
}

.chosen-container-single .chosen-single div b{
    transform: translateY(6px);
}


 #commissionList .row{
     display:flex;
     flex-direction:row;
     flex-flow:wrap;
     width: 100%;
     flex-wrap: nowrap;
 }

#commissionList .col-xs-7.col-sm-7.col-md-7 {
    width: 40% !important;
    font-weight:700;
    flex: 0 0 auto;
}

@media (max-width:1200px){
    #commissionList .col-xs-7.col-sm-7.col-md-7 {
        /* width: 100% !important; */
        font-weight:700;
}
    #commissionList .col-xs-4.col-sm-4.col-md-4{
        /* margin-bottom:15px; */
        flex: 0 0 auto;
        width: 33.33333333%;
}
    #commissionList .col-xs-1.col-sm-1.col-md-1{
        /* display:none; */
        flex: 0 0 auto;
        width: 8.33333333%;
        padding: 0 0 0 15px;
}
}

joomla-tab>joomla-tab-element {
    border-radius: 0 0 5px 5px;
    background: rgb(255 255 255 / 70%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}



/* Commission Mobile View */
@media (max-width:1400px){
    .view-commissions .container .total-commission-col p{
        font-size:36px;
    }
}
@media (max-width:1200px){
    .view-commissions .container .total-commission-col p{
        font-size:28px;
    }
}
@media (max-width:991px){
    .col-lg-8 h1 {
        font-size: 20px !important;
    }
    .view-commissions .container .total-commission-col {
        /* height: 100px; */
        /* margin-bottom:15px; */
    }
    .view-commissions .container .total-commission-col p{
        font-size:32px;
    }
    .view-commissions .container .pending-commission-col {
        margin-bottom: 15px;
    }
    .upline-commission{
        margin:15px 0 0 0;
    }
    .rm-commission-col, .avp-commission-col, .svp-commission-col, .evp-commission-col{
        width:50%;
    }
    .rm-commission-col, .svp-commission-col{
        padding-right:7.5px;
    }
    .avp-commission-col, .evp-commission-col{
        padding-left:7.5px;
    }
    .svp-commission-col, .evp-commission-col{
        margin-bottom:15px;
    }
    .commission-row .col-md-6 {
        width:100%;
    }
    .commission-row .col-md-6 .other-commission-col{
        display:flex;
        margin-top: 15px;
    }
    .commission-row .col-md-6 .pending-commission-col, .commission-row .col-md-6 .accept-commission-col{
        width:50%;
        margin-bottom:0;
        display:flex;
        flex-direction:column;
        /* align-items:center; */
        /* height:100px; */
    }
    .commission-row .col-md-6 .pending-commission-col{
        margin-right:7.5px;
    }
    .commission-row .col-md-6 .accept-commission-col{
        margin-left:7.5px;
    }
    .view-commissions .container .pending-commission-col span, .commission-row .col-md-6 .accept-commission-col span{
        /* position:absolute; */
        /* left:15px; */
        font-size: 12px;
    }
    .view-commissions .container .pending-commission-col p, .commission-row .col-md-6 .accept-commission-col p {
        /* position:absolute; */
        /* right:15px; */
        /* bottom:15px; */
        font-size: 24px;
    }
    table.agent-commission-table {
        table-layout: auto;
        width: 750px;
    }
}
@media (max-width: 565px){
    .view-commissions .container .total-commission-col p{
        font-size: 30px;
    }
    .commission-row .col-md-6 .other-commission-col{
        display:flex;
        flex-direction:column;
    }
    .commission-row .col-md-6 .pending-commission-col, .commission-row .col-md-6 .accept-commission-col{
        width:100%;
    }
    .commission-row .col-md-6 .pending-commission-col{
        margin-right:0px;
    }
    .commission-row .col-md-6 .accept-commission-col{
        margin-left:0px;
    }
    .commission-row .col-md-6 .pending-commission-col{
        margin-bottom:15px;
    }
}



/* Awards */
.milestone img {
    height: 100px;
    width: 100px;
    object-fit: cover;
    border-radius: 100%;
    margin-top: 10px;
    border: 4px solid #ffffff;
}

.progress-container{
    height:250px !important;
    left: 0;
    right: 0;
    margin: auto;
}
.progress-container.trip{
    /* padding-right:0px !important; */
    /* width: 95%; */
}

.progress-container {
    width: 100% !important;
    padding: 20px 30px !important;
}


.com_dt_award .filter-search-bar input#filter_search{
    height:38.5px !important;
    margin-top: 10px;
}

input#filter_date_from,input#filter_date_to{
    height:38.5px !important;
}

.progress-container-main button.prev{
    margin: 0;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 5px 10px;
    line-height: 1;
    border-radius: 4px;
    font-size: 12px;
    font-family:'Montserrat';
    font-weight:500;
    background:none;
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.progress-container-main button.next {
    margin: 0;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 5px 10px;
    line-height: 1;
    border-radius: 4px;
    font-size: 12px;
    font-family:'Montserrat';
    font-weight:500;
    background:none;
    position: absolute;
    bottom: 20px;
    left:80px;
}



.progress-container-main {
    background: linear-gradient(325deg, #1b1a1f, #34323a);
    justify-content: space-evenly !important;
    padding: 20px 0;
    box-shadow: 0 10px 25px rgb(4 7 23 / 70%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress-container-main:before {
    content: "";
    position: absolute;
    background-image: url('/images/001-sam/dashboard/dashboard-element-008.png');
    width: 100%;
    height: 100%;
    bottom: 0;
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
}

.progress-bar {
    height: 20px !important;
    border-radius: 50px;
    justify-content: center;
    background: rgb(255 255 255 / 25%) !important;
}

.progress-details {
    height: 20px !important;
    border-radius: 50px;
    /* padding: 10px; */
    background: linear-gradient(325deg, rgb(40 68 159 / 50%), rgb(29 171 228 / 50%));
    color: #ffffff;
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 12px;
    line-height: 20px;
}



.milestone {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    text-transform: uppercase;
    color: #ffffff;
}
.milestone:not(:first-child, :last-child):before{
    content:'';
    position: absolute;
    background: rgb(11 34 77);
    width: 2px;
    height: 20px;
    left: 0;
    right: 0;
    margin: auto;
    top: -25px;
}

.trip .milestone:last-child{
    transform:translateX(-40px);
}
.milestone:last-child{
    transform: translateX(-50px);
}

@media (max-width: 768px) {
    .progress-container {
        width: 90% !important;
        padding: 15px 60px 100px 0px !important;
        height: 220px !important;
    }
    .view-awardrecords .progress-container {
        width: 100% !important;
        padding: 15px 30px 100px 30px !important;
        height: 220px !important;
    }
    .milestone { font-size: 12px; }
    .milestone img {
        width: 80px !important; height: 80px;
    }

    .view-awardrecords .award-remark table{
        width:100% !important;
    }
}

@media (max-width: 500px) {
    .progress-container {
        width: 90% ;
        padding: 15px 50px 100px 0px !important;
    }
    .milestone:last-child{
        transform:translateX(-40px)d;
}
}

@media (max-width: 450px) {
    .progress-container {
        width: 90%;
        padding: 15px 40px 100px 0px !important;
    }
    .milestone:last-child{
        transform:translateX(-50px);
}
}

@media (max-width:767px){
    table#awardrecordList {
        table-layout: auto;
        width: 500px;
  }
}





.award-remark {
    text-align:center !important;
    background-color: #43434a !important;
    color: #fff !important;
}

.award-remark img{
    border:4px solid #ffffff !important;
}


.award-remark table{
    margin:auto;
}

.view-awardrecords .award-remark table td{
    width:3% !important;
}




#member-profile legend {
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 32px !important;
    padding: 0px;
    color: #fff !important;
}

.profile-edit form#member-profile .form-label {
    color: #fff;
    font-weight: 300;
    font-size: 14px;
}

.profile-edit form#member-profile button, .profile-edit form#member-profile a {
    font-size: 14px !important;
    padding: 10px 20px;
    line-height: 1;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 5px !important;
}
.profile-edit form#member-profile button.fileButton{
    background:rgb(40 68 159 / 100%) !important;
}
.profile-edit form#member-profile button:hover, .profile-edit form#member-profile button:focus {
    filter:brightness(0.6);
}
.profile-edit form#member-profile button.btn.btn-primary.validate {
    background: linear-gradient(325deg, rgb(40 68 159), rgb(29 171 228));
}
#jform_com_fields_avatar-lbl{
    font-size:16px;
    font-weight:700;
    text-transform:uppercase;
}
@media (max-width:767px){
    #member-profile legend {
    font-size: 20px !important;
}
    #jform_com_fields_avatar-lbl{
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
}
}

.js-stools .js-stools-container-bar .filter-search-bar input {
    background: #1b1a1f;
    border: 0;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Montserrat',sans-serif;
}

.js-stools .js-stools-container-bar .filter-search-bar input::placeholder {
    color: #9b9b9b; 
}

.js-stools .js-stools-field-filter select, .js-stools .js-stools-field-filter input {
    /* display: block !important; */
    background: #1b1a1f;
    border: 0;
    color: #9b9b9b;
    font-size: 14px;
    font-family: 'Montserrat',sans-serif;
}

.js-stools .js-stools-field-filter input::placeholder {
    color: #9b9b9b;
}

/* .js-stools .js-stools-field-filter .chosen-container {
    display: none !important;
} */




.view-profile .modal-header h3 {
    font-family: 'Montserrat';
    text-transform: uppercase;
}





/*table*/

table#commissionList tbody tr:nth-child(odd),
table#awardrecordList tbody tr:nth-child(odd) {
    background: rgb(255 255 255 / 10%);
}

table#commissionList tr td,
table#commissionList tr th,
table#awardrecordList tr td,
table#awardrecordList tr th {
    border: 0;
}

table#commissionList tr th,
table#awardrecordList tr th { color: #fff; }

table#commissionList tr td,
table#awardrecordList tr td {
    color: #ebebeb;
}

table#commissionList tbody button {
    padding: 8px 10px !important;
    color: #fff !important;
    line-height: 1;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    width: 100%;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    border: 0 !important;
    background: #36ab03 !important;
}

table#commissionList tbody button.js-stools-btn-rejected-2 {
    background: #e30000 !important;
}

table#commissionList tbody button:hover, table#commissionList tbody button:focus {
    opacity: 0.8;
}

/*end of table*/



/*popup*/

.commission-modal-content {
    border-radius: 10px;
    position: relative;
    max-width: 500px;
    text-align: center;
    margin: 0 !important;!i;!;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.commission-modal-content textarea {
    width: 100%;
    height: 180px;
    padding: 10px;
    margin-bottom: 10px;
}

.commission-modal-content p {
    max-width:300px;
    margin:auto;
    margin-bottom:15px;
}

.commission-modal-content span.modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    line-height: 1;
}

.commission-modal-content #modal-load-div{
    display: flex;
    justify-content: center;
    margin-top:15px;
}

.commission-modal-content #modal-load-div .modal-loader{
    border-top: 10px solid #0b0b0d;
}


/*end of popup*/




/* Commission Form */
.view-commissionform .fileColumn a,
.view-commissionform .fileColumn p{
    color: #198754;
}

.view-commissionform .fileColumn p{
    padding-left:20px;
}

.fileColumn span {
    top:3px !important;
    border-radius:100% !important;
    width:15px !important;
    height:15px !important;
    padding-left: 4px;
}


/*Subcommission*/
.view-subcommission .item_fields table.table th,
.view-subcommission .item_fields table.table td{
    color: #fff;
    border-color:#1b1a1f;
}
.view-subcommission .item_fields table.table tr:last-child td,
.view-subcommission .item_fields table.table tr:last-child th{
    border-bottom:0;
}
.view-subcommission .item_fields table.table{
    background:rgb(255 255 255 / 10%);
    border-radius:5px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    margin-bottom: 50px;
}
#sales_table tr.subtitle,
#rent_table tr.subtitle,
#auction_table tr.subtitle{
    background: rgb(27 26 31 / 30%);
    text-transform: uppercase;
}
#sales_table tr.subtitle th,
#rent_table tr.subtitle th,
#auction_table tr.subtitle th{
    padding-left:8px;
    font-weight:900;
}
#sales_table tr th,
#rent_table tr th,
#auction_table tr th{
    padding-left:30px;
}
table#subcommissionList {
    table-layout: fixed;
    width: auto;
}
table#subcommissionList thead tr th:first-child {
    width:3%;
}
table#subcommissionList thead tr th:nth-child(2) {
    width:10%;
}
table#subcommissionList thead tr th:nth-child(3) {
    width:5%;
}
table#subcommissionList thead tr th:last-child {
    width:18%;
}
@media (max-width:1600px){
table#subcommissionList thead tr th:last-child {
    width:12%;
}}

/* Subcommission View*/
/*LTP Commission*/
.js-stools .btn-toolbar .btn-primary:hover, .js-stools .btn-toolbar .btn-primary:focus{
    background-color: #313039 !important;
    border-color: #313039 !important;
}
#adminForm .table-responsive {
    background: rgb(255 255 255 / 10%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 5px;
    margin-bottom: 25px;
    scrollbar-width: thin;
}
#adminForm thead{
    background:#1b1a1f;
}
#adminForm thead th,
#adminForm tbody td{
    color:#fff;
    padding:10px;
}
#adminForm tr {
    border-color: #1b1a1f;
}
span.rejected {
    margin-bottom: 0;
    color: rgb(255 84 84) !important;
    font-size: 16px !important;
    text-transform: uppercase;
}
span.approved {
    margin-bottom: 0;
    color: rgb(135 222 126) !important;
    font-size: 16px !important;
    text-transform: uppercase;
}
span.pending {
    margin-bottom: 0;
    color: rgb(29 171 228) !important;
    font-size: 16px !important;
    text-transform: uppercase;
}
p.btn.view-reason {
    background: transparent !important;
    padding: 0;
    color: rgb(255 255 255 / 50%) !important;
    border-bottom: 1px solid rgb(255 255 255 / 50%);
    border-radius: 0;
    margin-bottom: 5px;
    font-size: 14px;
    transition:0.5s;
}
p.btn.view-reason:hover,
p.btn.view-reason:focus{
    color: rgb(255 255 255) !important;
    border-bottom: 1px solid rgb(255 255 255);
}

p.btn.boss-approve-comm, p.btn.boss-reject-comm,
p.btn.account-reject-comm, p.btn.account-approve-comm,
p.btn.pic-reject-comm, p.btn.pic-approve-comm,
p.btn.admin-reject-comm, p.btn.admin-approve-comm{
    margin-bottom:0;
    width:90px
}
p.btn.boss-approve-comm,
p.btn.account-approve-comm,
p.btn.pic-approve-comm,
p.btn.admin-approve-comm{
    background-color:#1e7e10 !important;
    transition:0.5s;
}
p.btn.boss-approve-comm:hover,
p.btn.account-approve-comm:hover,
p.btn.pic-approve-comm:hover,
p.btn.admin-approve-comm:hover{
    background-color:#105605 !important;
}
p.btn.boss-reject-comm,
p.btn.account-reject-comm,
p.btn.pic-reject-comm, 
p.btn.admin-reject-comm{
    background-color:#37353e !important;
    transition:0.5s;
}
p.btn.boss-reject-comm:hover,
p.btn.account-reject-comm:hover,
p.btn.pic-reject-comm:hover, 
p.btn.admin-reject-comm:hover{
    background-color:#1b1a1f !important;
}
a.btn.btn-success.btn-small {
    background:linear-gradient(325deg, rgb(40 68 159 / 100%), rgb(29 171 228 / 100%));
    border:0;
    transition:0.5s;
    padding:10px 20px !important;
}
a.btn.btn-success.btn-small:hover{
    filter:brightness(0.6);
}
div#checkReasonModal,
div#reasonModal{
    background: rgb(255 255 255 / 70%);
    backdrop-filter: blur(3px);
    padding: 30px;
    width: 700px;
    height: fit-content;
    border-radius:5px;
    border:0;
    box-shadow:0 10px 25px rgb(0 0 0 / 50%);
}
div#checkReasonModal{
    text-align: center;
}
div#checkReasonModal h2,
div#reasonModal h2{
    font-family:"Montserrat", sans-serif;
    font-weight:800;
    text-transform:uppercase;
    margin-bottom: 15px;
}
div#checkReasonModal textarea,
div#reasonModal textarea{
    padding:10px;
    border-radius:5px;
    margin-bottom: 10px;
}
.modal #submitBtn,
.modal #cancelBtn{
    width:calc(50% - 7.5px);
}
.modal #resubmitBtn,
.modal #closeBtn{
    
}
.modal #closeBtn{
    background:transparent !important;
    margin-top: 10px;
    transition:0.5s;
    margin: auto;
    color:#1b1a1f;
    border-bottom:2px solid transparent;
    padding:0;
    width:fit-content;
    border-radius:0;
}

.modal #closeBtn:hover{
    background:transparent !important;
    border-bottom:2px solid rgb(67 67 74 / 70%);
    color:#43434a;
}
.modal #resubmitBtn{
    background:rgb(40 68 159 / 100%) !important;
    transition:0.5s;
}
.modal #resubmitBtn:hover{
    background:rgb(16 34 92) !important;
}
.modal #submitBtn{
    background:rgb(40 68 159 / 100%) !important;
    margin-right: 10px;
    transition:0.5s;
}
.modal #submitBtn:hover{
    background:rgb(16 34 92) !important;
}
.modal #cancelBtn{
    background:#727175 !important;
    transition:0.5s;
}
.modal #cancelBtn:hover{
    background:#37353e !important;
}
@media (max-width:767px){
    #adminForm .table-responsive {
        overflow-y:scroll
    }
    #adminForm .table-responsive table{
        table-layout:auto;
        width:1200px;
    }
    div#checkReasonModal,
    div#reasonModal{
        width: calc(100% - 30px);
        padding: 30px 15px;
    }
    div#checkReasonModal textarea,
    div#reasonModal textarea{
        height:250px;
    }
}

/*upload attachment*/
.upload-attachment label.form-label {
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-weight: 700;
    font-size: 40px !important;
    margin-bottom: 30px;
    color: #fff !important;
    width: fit-content;
}
.upload-attachment .fileColumn {
    margin-bottom:30px !important;
    padding: 10px 20px;
    background: rgb(255 255 255 / 5%);
    width:fit-content !important;
    border-radius:5px;
}
.upload-attachment .fileColumn span.file {
    width:20px !important;
    height:20px !important;
    padding:2px 0 0 0 !important;
    top: 0 !important;
    text-align: center !important;
    text-shadow: none !important;
    color:#525252 !important;
    background-color:#bcbcbc !important;
}
.upload-attachment .fileColumn p {
    padding-left: 30px;
    margin:10px 0 10px 0 ;
}
.upload-attachment .fileColumn p a{
    color:#fff;
    transition:0.5s;
}
.upload-attachment .fileColumn p a:hover{
    color:#02a6e8;
}
.upload-attachment button{
    min-width:100px;
    font-size:14px;
    font-family:'Montserrat' !important;
    font-weight: 500;
    border-width:2px;
}
.upload-attachment button.fileButton{
    background-color:#02a6e8;
    border-color:#02a6e8;
    color:#fff;
    transition:0.5s;
}
.upload-attachment button.fileButton:hover{
    background-color:transparent;
    border-color:#fff;
    color:#fff;
}
.upload-attachment button#save-attachments {
    background-color:#011b8c;
    border-color:#011b8c;
    color:#fff;
    transition:0.5s;
}
.upload-attachment button#save-attachments:hover{
    background-color:transparent;
    border-color:#fff;
    color:#fff;
}

/*ADD*/
.subcommission-edit h1 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
}


/* Commission Buttons */
.commission-edit joomla-tab[view=tabs]>div[role=tablist],
.commission-edit joomla-tab[view=accordion]>button {
    display: none; /*to hide add commission tab bar*/
}

.subform-repeatable-group {
    background:rgb(27 26 31 / 10%);
    padding:20px;
    border-radius:10px;
    box-shadow:1px 1px 5px #eee;
    margin-top:10px;
}

.subform-repeatable-group .btn-toolbar button{
    margin:0 10px 10px 0;
}

.subform-repeatable-group .group-add,.subform-repeatable-group .group-remove,.subform-repeatable-group .group-move{
    border-radius: .375rem !important;
    height:35px;
    width:35px;
    background:#1b1a1f !important;
    border:2px solid #1b1a1f !important;
    transition:0.5s;
}

.subform-repeatable-group .group-add:hover,.subform-repeatable-group .group-remove:hover,.subform-repeatable-group .group-move:hover{
    background:rgb(255 255 255 / 0%) !important;
    box-shadow:none !important;
    color:#1b1a1f !important;
}

.subform-repeatable-wrapper .group-add{
    border-radius: .375rem !important;
    height:35px;
    width:35px;
    background:#1b1a1f !important;
    border:2px solid #1b1a1f !important;
    transition:0.5s;
}

.subform-repeatable-wrapper .group-add:hover{
    background: #fefefe00 !important;
    box-shadow:none !important;
    color: #1b1a1f !important;
}


a.btn.btn-outline-primary {
    font-family:'Montserrat' !important;
    background:#04093c;
    color:#fff;
    border:2px solid #04093c;
    font-weight:500;
    font-size: 14px;
}

a.btn.btn-outline-primary:hover, a.btn.btn-outline-primary:focus{
    background:none;
    color:#04093c;
    border:2px solid #04093c;
    font-weight:500;
    transform:none;
}

.view-subcommission a.btn.btn-outline-primary {
    font-family:'Montserrat' !important;
    background:#011b8c;
    color:#fff;
    border:2px solid #011b8c;
    font-weight:500;
    font-size: 14px;
}

.view-subcommission a.btn.btn-outline-primary:hover, .view-subcommission a.btn.btn-outline-primary:focus{
    background:none;
    color:#ffffff;
    border:2px solid #ffffff;
    font-weight:500;
    transform:none;
}

.form-horizontal .controls .btn-primary{
    font-family:'Montserrat' !important;
    background:linear-gradient(325deg, rgb(40 68 159 / 100%), rgb(29 171 228 / 100%));
    color:#fff !important;
    border:0;
    font-weight:500 !important;
    font-size:14px !important;
    border-radius:5px !important;
    padding:10px 20px;
    margin-right:8px;
}
.form-horizontal .controls .btn-primary:hover,.form-horizontal .controls .btn-primary:focus{
    filter:brightness(0.7);
}

.form-horizontal .controls .btn-danger{
    text-transform:uppercase;
    font-family:'Montserrat' !important;
    font-weight:500 !important;
    font-size:14px !important;
    transition:0.5s;
    border: 0;
    background:#37353e;
    padding:10px 20px;
    border-radius:5px !important;
}

.form-horizontal .controls .btn-danger:hover, .form-horizontal .controls .btn-danger:hover{
    border:0 !important;
    background:#1b1a1f;
}

.commission-edit .form-horizontal .controls .btn-primary {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 5px !important;
    background: #36ab03 !important;
    padding: 10px 15px;
}

.commission-edit .form-horizontal .controls .btn-danger {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 5px !important;
    padding: 10px 15px;
    background: #e30000 !important;
    transform:translate(5px, 0.5px);
}

.commission-edit .form-horizontal .controls .btn-danger:hover, .commission-edit .form-horizontal .controls .btn-danger:focus {
    color: #000 !important;
}

#form-commission .fileButton{
    font-family:'Montserrat' !important;
    background:#1b1a1f !important;
    color:#fff !important;
    border:2px solid #1b1a1f !important;
    font-weight:500 !important;
    font-size:14px !important;
    transition:0.5s;
}

#form-commission .fileButton:hover, #form-commission .fileButton:hover{
    background:none !important;
    color:#1b1a1f !important;
    border:2px solid #1b1a1f;
}

table#commissionList {
    table-layout: auto;
    width: 1900px;
}

.view-subcommissions .table-responsive,
.view-subcommission .table-responsive,
.view-awardrecords .table-responsive{
    scrollbar-color: rgb(255 255 255 / 40%) rgb(255 255 255 / 20%);
    scrollbar-width: thin;
}


/* Commission Details */
.view-subcommission .item_fields table.table {
    /* overflow-x: auto; */
    -webkit-overflow-scrolling: touch;
    /* display: block !important; */
    color: #fff;
    table-layout: auto;
}

.view-subcommission .item_fields table.table tr:nth-child(odd) {
    background: rgb(255 255 255 / 10%);
}

.view-subcommission .item_fields table.table tr th, .view-subcommission .item_fields table.table tr td {
    border: 0;
}
.view-subcommission .item_fields table.table tr th{
    width: 200px;
}
#sales_table.table th,
#rent_table.table th,
#auction_table.table th{
    width: 270px;
}
@media (max-width: 767px) {
    .view-subcommission .item_fields {
    overflow-x: scroll;
    scrollbar-color: rgb(255 255 255 / 40%) rgb(255 255 255 / 20%);
    scrollbar-width: thin;
    margin-bottom: 15px;
    }
    .view-subcommission .item_fields table.table{
       overflow-x: auto;
       width: 1000px;
    }
    #sales_table.table th,
    #sales_table.table td,
    #rent_table.table th,
    #rent_table.table td,
    #auction_table.table th,
    #auction_table.table td{
        font-size:13px !important;
    }
}

.agent-commission-table td {
    padding: 10px;
}
.agent-commission-table th {
    padding: 10px;
    background:rgb(17 19 68 / 10%);
}
.agent-commission-table tr:nth-child(2n){
    background:rgb(255 255 255 / 50%);
}
.form-horizontal .controls {
    margin-left: 0;
    margin-top: 15px;
}


.view-subcommission div#commissionButton button, .view-subcommission div#commissionButton a {
    padding: 10px 15px;
    line-height: 1;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif !important;
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 5px !important;
}

.view-subcommission div#commissionButton button.js-stools-btn-approved {
    background: #36ab03 !important;
    color: #fff !important;
}

.view-subcommission div#commissionButton button.js-stools-btn-rejected {
    background: #e30000 !important;
    color: #fff !important;
    transform:translate(0.5px, 0.5px);
}

.view-subcommission div#commissionButton a {
    background: #33425f;
    color: #fff;
}

.view-subcommission .table a {
    color: #198754;
}

.view-subcommission table.file-attachment {
    margin-bottom:30px !important;
    padding: 10px 20px;
    background: rgb(255 255 255 / 5%);
    width:fit-content !important;
    border-radius:5px;
}
.view-subcommission table.file-attachment td{
    padding: 10px 20px;
}
.view-subcommission table.file-attachment a{
    color:#fff;
    transition:0.5s;
}
.view-subcommission table.file-attachment a:hover{
    color:#02a6e8;
}
.view-subcommission .btn-sub-comm-back{
    background-color:#5e5e5e ;
    border-color:#5e5e5e;
    border-radius:5px;
    border-width:2px;
    color:#fff;
    transition:0.5s;
    width:170px;
    font-size:14px;
    font-family:'Montserrat' !important;
    font-weight: 500;
}
.view-subcommission .btn-sub-comm-back:hover{
    background-color:transparent ;
    border-color:#ffffff;
    color:#fff;
}


/* View History */
button.btn.view-history,
button.btn.history-back{
    background: #43434a;
    transition:0.5s;
    width:120px;
}
button.btn.view-history a,
button.btn.history-back a{
    color:#fff;
}
button.btn.view-history:hover,
button.btn.history-back:hover{
    background: #1b1a1f;
}

/* Commission */
.view-awardrecords #sp-component h1,
.view-subcommissions #sp-component h1,
.view-subcommission #sp-component h1,
.view-subcommissionform #sp-component h1,
.view-leaderprogresses #sp-component h1,
.view-topranks.view-topranks-month #sp-component h1,
.view-topranks.view-topranks-year #sp-component h1,
.view-subcommissionhistories #sp-component h1,
.view-subcommission #sp-component h1,
.view-subleaderprogresses #sp-component h1,
.view-subtopranks #sp-component h1{
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-weight: 700;
    font-size: 40px !important;
    margin-bottom: 30px;
    /* background: linear-gradient(325deg, #28449f, #1dabe4); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color:Ãƒâ€šÃ‚Â transparent; */
    color: #fff !important;
    width: fit-content;
}

@media (max-width: 991px) {
    .view-awardrecords #sp-component h1, 
    .view-subcommissions #sp-component h1, 
    .view-subcommission #sp-component h1, 
    .view-subcommissionform #sp-component h1,
    .view-leaderprogresses #sp-component h1,
    .view-topranks.view-topranks-month #sp-component h1,
    .view-topranks.view-topranks-year #sp-component h1,
    .view-subcommissionhistories #sp-component h1,
    .view-subcommission #sp-component h1,
    .view-subleaderprogresses #sp-component h1,
    .view-subtopranks #sp-component h1{
        font-size: 26px !important;
    }
}

#list_fullordering_chosen {
    display: none !important;
}
#list_fullordering{
    display: none !important;
}
#list_limit_chosen {
    display: none !important;
}
#list_limit{
    display: none !important;
}

.js-stools-btn-filter {margin-right: 0;}

.js-stools-btn-clear {margin-right: 0;}

.view-subcommissions .container .total-commission-col {
    background: linear-gradient(325deg, #28449f, #1dabe4);
    border-radius: 10px;
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
    height: 100%;
    padding: 20px;
    position:relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.view-subcommissions .container .total-override-col{
    background: linear-gradient(325deg, #0d2151, #2564b4);
    border-radius: 10px;
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
    height: 100%;
    padding: 20px;
    position:relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.view-subcommissions .rm-commission-col .upline-commission,
.view-subcommissions .avp-commission-col .upline-commission,
.view-subcommissions .svp-commission-col .upline-commission,
.view-subcommissions .evp-commission-col .upline-commission{
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
}

.view-subcommissions .container .total-commission-col:before {
    content: "";
    position: absolute;
    background: url('/images/001-ltp/commission/commission-deco-002.png');
    width: 130px;
    height: 130px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    right: 0;
    top: -10px;
}

@media (max-width: 991px) {
    .view-subcommissions .container .total-commission-col:before { width: 80px; height: 80px; }
}

.view-subcommissions .container .total-commission-col span{
    font-family:'Montserrat', sans-serif;
    color: #ffffff;
    text-transform:uppercase;
    font-size:14px;
    font-weight: 700;
    padding-bottom: 30px;
}

.view-subcommissions .container .total-commission-col p{
    font-family:'Montserrat', sans-serif;
    margin-bottom:0 !important;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 400;
}

.view-subcommissions .container .total-override-col span{
    font-family:'Montserrat', sans-serif;
    color: #ffffff;
    text-transform:uppercase;
    font-size:14px;
    font-weight: 700;
    padding-bottom: 30px;
}

.view-subcommissions .container .total-override-col p{
    font-family:'Montserrat', sans-serif;
    margin-bottom:0 !important;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 400;
}

.view-subcommissions .container .pending-commission-col {
    background: linear-gradient(45deg, #071e55, #0e317f);
    border-radius: 10px;
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
    padding: 20px;
    margin-bottom: 30px;
    line-height: 1.3;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    color: #fff;
}
.view-subcommissions .container .pending-commission-col span{
    text-transform:uppercase;
    font-size:14px;
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.view-subcommissions .container .accept-commission-col {
    background: linear-gradient(45deg, #102e8e, #14698c);
    border-radius: 10px;
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
    padding: 20px;
    /* margin-bottom: 30px; */
    line-height: 1.3;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    color: #fff;
}
.view-subcommissions .container .accept-commission-col span{
    text-transform:uppercase;
    font-size:14px;
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.other-commission-col p {
    font-size: 30px;
    margin-bottom: 0;
    line-height: 1;
}
.upline-commission {
    padding: 20px;
    background: #43434a;
    margin-top: 30px;
    border-radius:10px;
    color: #fff;
    line-height: 1.2;
    box-shadow: 0 5px 15px rgb(0 0 0 / 20%);
    margin-bottom: 30px;
    font-family:'Montserrat';
}
.upline-commission span{
    font-size:14px;
    margin-bottom: 5px;
    display: block;
    font-weight: 600;
    text-transform:uppercase;
}
.upline-commission p{
    font-size:20px;
    text-transform:uppercase;
    margin-bottom:0;
}

.js-stools-container-bar {
    padding: 10px 0px;
}

.js-stools-container-bar .btn-toolbar {
    justify-content: flex-start;
}

.js-stools-container-filters-visible {
    padding: 0;
    background: none;
}
.js-stools-container-filters-visible:before {
    display:none !important;
}
.js-stools .btn-toolbar .btn-primary:hover, .js-stools .btn-toolbar .btn-primary:focus{
    color: #ffffff !important;
    /*background-color: #c19355 !important;*/
    /*border-color: #c19355 !important;*/
    box-shadow:none !important;
}
.js-stools .btn-toolbar .btn-primary{
    color: #ffffff !important;
    background: #43434a !important;
    border-color: #43434a !important;
    box-shadow:none !important;
    flex: 0 0 auto;
}
.js-stools .btn-toolbar .js-stools-btn-add {
    background: #0f7f3c !important;
}
.js-stools .btn-toolbar .js-stools-btn-add:hover, .js-stools .btn-toolbar .js-stools-btn-add:focus{
    background-color: #034e0d !important;
    border-color: #034e0d !important;
    color: #ffffff !important;
}

.js-stools .btn-toolbar .filter-search-actions {
    gap: 10px;
    flex-wrap: wrap;
}

.js-stools .btn-toolbar .filter-search-actions button.js-stools-btn-approved {
    /* margin-right: 5px; */
    border: 0 !important;
    background: #36ab03 !important;
}

.js-stools .btn-toolbar .filter-search-actions button.js-stools-btn-rejected {
    /* margin-right: 5px; */
    border: 0 !important;
    background: #e30000 !important;
}


.view-subcommissions .container #sp-component .row .col-md-6:first-child{
    font-family:"Montserrat";
}

.view-subcommissions .container #sp-component .row .col-md-6:last-child{
    font-family:"Montserrat";
}

.js-stools-field-filter .field-calendar .input-group .input-group-text button {
    background: #43434a;
    box-shadow: none;
    margin-top: 0;
    border: 0 !important;
}

.js-stools-field-filter .field-calendar .input-group span.input-group-text {
    height: 38.5px;
    background: transparent;
    border: 0;
}

.table-responsive a {
    color: #ffffff;
}

.chosen-container-single .chosen-single {
    background: #1b1a1f;
    color:#9b9b9b;
    font-size:14px;
    padding:6px 12px;
    height:auto;
    border:0;
    box-shadow:none;
    border-radius:6px;
}

.chosen-container-single .chosen-single div b{
    transform: translateY(6px);
}


 #commissionList .row{
     display:flex;
     flex-direction:row;
     flex-flow:wrap;
     width: 100%;
     flex-wrap: nowrap;
 }

#commissionList .col-xs-7.col-sm-7.col-md-7 {
    width: 40% !important;
    font-weight:700;
    flex: 0 0 auto;
}

@media (max-width:1200px){
    #commissionList .col-xs-7.col-sm-7.col-md-7 {
        /* width: 100% !important; */
        font-weight:700;
}
    #commissionList .col-xs-4.col-sm-4.col-md-4{
        /* margin-bottom:15px; */
        flex: 0 0 auto;
        width: 33.33333333%;
}
    #commissionList .col-xs-1.col-sm-1.col-md-1{
        /* display:none; */
        flex: 0 0 auto;
        width: 8.33333333%;
        padding: 0 0 0 15px;
}
}

joomla-tab>joomla-tab-element {
    border-radius: 0 0 5px 5px;
    background: rgb(255 255 255 / 70%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}



/* Commission Mobile View */
@media (max-width:1400px){
    .view-subcommissions .container .total-commission-col p{
        font-size:36px;
    }
}
@media (max-width:1200px){
    .view-subcommissions .container .total-commission-col p{
        font-size:28px;
    }
}
@media (max-width:991px){
    .col-lg-8 h1 {
        font-size: 20px !important;
    }
    .view-subcommissions .container .total-commission-col {
        /* height: 100px; */
        /* margin-bottom:15px; */
    }
    .view-subcommissions .container .total-commission-col p{
        font-size:32px;
    }
    .view-subcommissions .container .pending-commission-col {
        margin-bottom: 15px;
    }
    .upline-commission{
        margin:15px 0 0 0;
    }
    .rm-commission-col, .avp-commission-col, .svp-commission-col, .evp-commission-col{
        width:50%;
    }
    .rm-commission-col, .svp-commission-col{
        padding-right:7.5px;
    }
    .avp-commission-col, .evp-commission-col{
        padding-left:7.5px;
    }
    .svp-commission-col, .evp-commission-col{
        margin-bottom:15px;
    }
    .commission-row .col-md-6 {
        width:100%;
    }
    .commission-row .col-md-6 .other-commission-col{
        display:flex;
        margin-top: 15px;
    }
    .commission-row .col-md-6 .pending-commission-col, .commission-row .col-md-6 .accept-commission-col{
        width:50%;
        margin-bottom:0;
        display:flex;
        flex-direction:column;
        /* align-items:center; */
        /* height:100px; */
    }
    .commission-row .col-md-6 .pending-commission-col{
        margin-right:7.5px;
    }
    .commission-row .col-md-6 .accept-commission-col{
        margin-left:7.5px;
    }
    .view-subcommissions .container .pending-commission-col span, .commission-row .col-md-6 .accept-commission-col span{
        /* position:absolute; */
        /* left:15px; */
        font-size: 12px;
    }
    .view-subcommissions .container .pending-commission-col p, .commission-row .col-md-6 .accept-commission-col p {
        /* position:absolute; */
        /* right:15px; */
        /* bottom:15px; */
        font-size: 24px;
    }
    table.agent-commission-table {
        table-layout: auto;
        width: 750px;
    }
}
@media (max-width: 565px){
    .view-subcommissions .container .total-commission-col p{
        font-size: 30px;
    }
    .commission-row .col-md-6 .other-commission-col{
        display:flex;
        flex-direction:column;
    }
    .commission-row .col-md-6 .pending-commission-col, .commission-row .col-md-6 .accept-commission-col{
        width:100%;
    }
    .commission-row .col-md-6 .pending-commission-col{
        margin-right:0px;
    }
    .commission-row .col-md-6 .accept-commission-col{
        margin-left:0px;
    }
    .commission-row .col-md-6 .pending-commission-col{
        margin-bottom:15px;
    }
}



/* Awards */
.milestone img {
    height: 100px;
    width: 100px;
    object-fit: cover;
    border-radius: 100%;
    margin-top: 10px;
    border: 4px solid #ffffff;
}

.progress-container{
    height:250px !important;
    left: 0;
    right: 0;
    margin: auto;
}
.progress-container.trip{
    /* padding-right:0px !important; */
    /* width: 95%; */
}

.progress-container {
    width: 100% !important;
    padding: 20px 30px !important;
}


.com_dt_award .filter-search-bar input#filter_search{
    height:38.5px !important;
    margin-top: 10px;
}

input#filter_date_from,input#filter_date_to{
    height:38.5px !important;
}

.progress-container-main button.prev{
    margin: 0;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 5px 10px;
    line-height: 1;
    border-radius: 4px;
    font-size: 12px;
    font-family:'Montserrat';
    font-weight:500;
    background:none;
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.progress-container-main button.next {
    margin: 0;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 5px 10px;
    line-height: 1;
    border-radius: 4px;
    font-size: 12px;
    font-family:'Montserrat';
    font-weight:500;
    background:none;
    position: absolute;
    bottom: 20px;
    left:80px;
}



.progress-container-main {
    background: linear-gradient(325deg, #1b1a1f, #34323a);
    justify-content: space-evenly !important;
    padding: 20px 0;
    box-shadow: 0 10px 25px rgb(4 7 23 / 70%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.progress-container-main:before {
    content: "";
    position: absolute;
    background-image: url('/images/001-sam/dashboard/dashboard-element-008.png');
    width: 100%;
    height: 100%;
    bottom: 0;
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
}

.progress-bar {
    height: 20px !important;
    border-radius: 50px;
    justify-content: center;
    background: rgb(255 255 255 / 25%) !important;
}

.progress-details {
    height: 20px !important;
    border-radius: 50px;
    /* padding: 10px; */
    background: linear-gradient(325deg, rgb(40 68 159 / 50%), rgb(29 171 228 / 50%));
    color: #ffffff;
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 12px;
    line-height: 20px;
}



.milestone {
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    text-transform: uppercase;
    color: #ffffff;
}
.milestone:not(:first-child, :last-child):before{
    content:'';
    position: absolute;
    background: rgb(11 34 77);
    width: 2px;
    height: 20px;
    left: 0;
    right: 0;
    margin: auto;
    top: -25px;
}

.trip .milestone:last-child{
    transform:translateX(-40px);
}
.milestone:last-child{
    transform: translateX(-50px);
}

@media (max-width: 768px) {
    .progress-container {
        width: 90% !important;
        padding: 15px 60px 100px 0px !important;
        height: 220px !important;
    }
    .view-awardrecords .progress-container {
        width: 100% !important;
        padding: 15px 30px 100px 30px !important;
        height: 220px !important;
    }
    .milestone { font-size: 12px; }
    .milestone img {
        width: 80px !important; height: 80px;
    }

    .view-awardrecords .award-remark table{
        width:100% !important;
    }
}

@media (max-width: 500px) {
    .progress-container {
        width: 90% ;
        padding: 15px 50px 100px 0px !important;
    }
    .milestone:last-child{
        transform:translateX(-40px)d;
}
}

@media (max-width: 450px) {
    .progress-container {
        width: 90%;
        padding: 15px 40px 100px 0px !important;
    }
    .milestone:last-child{
        transform:translateX(-50px);
}
}

@media (max-width:767px){
    table#awardrecordList {
        table-layout: auto;
        width: 500px;
  }
}





.award-remark {
    text-align:center !important;
    background-color: #43434a !important;
    color: #fff !important;
}

.award-remark img{
    border:4px solid #ffffff !important;
}


.award-remark table{
    margin:auto;
}

.view-awardrecords .award-remark table td{
    width:3% !important;
}




#member-profile legend {
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 32px !important;
    padding: 0px;
    color: #fff !important;
}

.profile-edit form#member-profile .form-label {
    color: #fff;
    font-weight: 300;
    font-size: 14px;
}

.profile-edit form#member-profile button, .profile-edit form#member-profile a {
    font-size: 14px !important;
    padding: 10px 20px;
    line-height: 1;
    font-weight: 500 !important;
    text-transform: capitalize !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 5px !important;
}
.profile-edit form#member-profile button.fileButton{
    background:rgb(40 68 159 / 100%) !important;
}
.profile-edit form#member-profile button:hover, .profile-edit form#member-profile button:focus {
    filter:brightness(0.6);
}
.profile-edit form#member-profile button.btn.btn-primary.validate {
    background: linear-gradient(325deg, rgb(40 68 159), rgb(29 171 228));
}
#jform_com_fields_avatar-lbl{
    font-size:16px;
    font-weight:700;
    text-transform:uppercase;
}
@media (max-width:767px){
    #member-profile legend {
    font-size: 20px !important;
}
    #jform_com_fields_avatar-lbl{
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
}
}

.js-stools .js-stools-container-bar .filter-search-bar input {
    background: #1b1a1f;
    border: 0;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Montserrat',sans-serif;
}

.js-stools .js-stools-container-bar .filter-search-bar input::placeholder {
    color: #9b9b9b; 
}

.js-stools .js-stools-field-filter select, .js-stools .js-stools-field-filter input {
    /* display: block !important; */
    background: #1b1a1f;
    border: 0;
    color: #9b9b9b;
    font-size: 14px;
    font-family: 'Montserrat',sans-serif;
}

.js-stools .js-stools-field-filter input::placeholder {
    color: #9b9b9b;
}

/* .js-stools .js-stools-field-filter .chosen-container {
    display: none !important;
} */




.view-profile .modal-header h3 {
    font-family: 'Montserrat';
    text-transform: uppercase;
}





/*table*/

table#commissionList tbody tr:nth-child(odd),
table#awardrecordList tbody tr:nth-child(odd) {
    background: rgb(255 255 255 / 10%);
}

table#commissionList tr td,
table#commissionList tr th,
table#awardrecordList tr td,
table#awardrecordList tr th {
    border: 0;
}

table#commissionList tr th,
table#awardrecordList tr th { color: #fff; }

table#commissionList tr td,
table#awardrecordList tr td {
    color: #ebebeb;
}

table#commissionList tbody button {
    padding: 8px 10px !important;
    color: #fff !important;
    line-height: 1;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    width: 100%;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
    border: 0 !important;
    background: #36ab03 !important;
}

table#commissionList tbody button.js-stools-btn-rejected-2 {
    background: #e30000 !important;
}

table#commissionList tbody button:hover, table#commissionList tbody button:focus {
    opacity: 0.8;
}

/*end of table*/



/*popup*/

.commission-modal-content {
    border-radius: 10px;
    position: relative;
    max-width: 500px;
    text-align: center;
    margin: 0 !important;!i;!;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.commission-modal-content textarea {
    width: 100%;
    height: 180px;
    padding: 10px;
    margin-bottom: 10px;
}

.commission-modal-content p {
    max-width:300px;
    margin:auto;
    margin-bottom:15px;
}

.commission-modal-content span.modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    line-height: 1;
}

.commission-modal-content #modal-load-div{
    display: flex;
    justify-content: center;
    margin-top:15px;
}

.commission-modal-content #modal-load-div .modal-loader{
    border-top: 10px solid #0b0b0d;
}


/*end of popup*/




/* Commission Form */
.view-subcommissionform .fileColumn a,
.view-subcommissionform .fileColumn p{
    color: #198754;
}

.view-subcommissionform .fileColumn p{
    padding-left: 30px;
}

.fileColumn span {
    top:3px !important;
    border-radius:100% !important;
    width:15px !important;
    height:15px !important;
    padding-left: 4px;
}


/*Subcommission*/
.view-subcommission .item_fields table.table th,
.view-subcommission .item_fields table.table td{
    color: #fff;
    border-color:#1b1a1f;
}
.view-subcommission .item_fields table.table tr:last-child td,
.view-subcommission .item_fields table.table tr:last-child th{
    border-bottom:0;
}
.view-subcommission .item_fields table.table{
    background:rgb(255 255 255 / 10%);
    border-radius:5px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    margin-bottom: 50px;
}
#sales_table tr.subtitle,
#rent_table tr.subtitle,
#auction_table tr.subtitle{
    background: rgb(27 26 31 / 30%);
    text-transform: uppercase;
}
#sales_table tr.subtitle th,
#rent_table tr.subtitle th,
#auction_table tr.subtitle th{
    padding-left:8px;
    font-weight:900;
}
#sales_table tr thï¼Œ
#rent_table tr th,
#auction_table tr th{
    padding-left:30px;
}
table#subcommissionList {
    table-layout: fixed;
    width: auto;
}
table#subcommissionList thead tr th:first-child {
    width:3%;
}
table#subcommissionList thead tr th:nth-child(2) {
    width:10%;
}
table#subcommissionList thead tr th:nth-child(3) {
    width:5%;
}
table#subcommissionList thead tr th:last-child {
    width:18%;
}
@media (max-width:1600px){
table#subcommissionList thead tr th:last-child {
    width:12%;
}}


/* Calendar */
.calendar-container table.table,
.calendar-container{
    background-color: #1b1a1f !important;
    color:#fff !important;  
}
.calendar-container table tbody td.day.wn{
    background-color: #43434a;
    color:rgb(255 255 255 / 30%) !important;
}
.calendar-container table tbody .disabled{
    background-color: #43434a;
    color:rgb(255 255 255 / 60%) !important;
}
.calendar-container a.js-btn {
    color:#fff;
}
.calendar-container a.js-btn:hover{
    color:#3d8fd7;
}

/* Agent Commission */
.view-agentcommissions .item_fields table.table th,
.view-agentcommissions .item_fields table.table td {
    color: #fff;
    border-color: #1b1a1f;
}
.view-agentcommissions .item_fields table.table tr:last-child td,
.view-agentcommissions .item_fields table.table tr:last-child th {
    border-bottom: 0;
}
.view-agentcommissions .item_fields table.table {
    background: rgb(255 255 255 / 10%);
    border-radius: 5px;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    margin-bottom: 50px;
}
#sales_table tr.subtitle,
#rent_table tr.subtitle,
#auction_table tr.subtitle {
    background: rgb(27 26 31 / 30%);
    text-transform: uppercase;
}
#sales_table tr.subtitle th,
#rent_table tr.subtitle th,
#auction_table tr.subtitle th {
    padding-left: 8px;
    font-weight: 900;
}
#sales_table tr th,
#rent_table tr th,
#auction_table tr th {
    padding-left: 30px;
}
table#subcommissionList {
    table-layout: fixed;
    width: auto;
}
table#subcommissionList thead tr th:first-child {
    width: 3%;
}
table#subcommissionList thead tr th:nth-child(2) {
    width: 10%;
}
table#subcommissionList thead tr th:nth-child(3) {
    width: 5%;
}
table#subcommissionList thead tr th:last-child {
    width: 18%;
}
@media (max-width: 1600px) {
    table#subcommissionList thead tr th:last-child {
        width: 12%;
    }
}

.view-agentcommissions .container .total-commission-col {
    background: linear-gradient(325deg, #28449f, #1dabe4);
    border-radius: 10px;
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
    height: 100%;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.view-agentcommissions .container .total-override-col {
    background: linear-gradient(325deg, #0d2151, #2564b4);
    border-radius: 10px;
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
    height: 100%;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.view-agentcommissions .rm-commission-col .upline-commission,
.view-agentcommissions .avp-commission-col .upline-commission,
.view-agentcommissions .svp-commission-col .upline-commission,
.view-agentcommissions .evp-commission-col .upline-commission {
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
}

.view-agentcommissions .container .total-commission-col:before {
    content: "";
    position: absolute;
    background: url('/images/001-ltp/commission/commission-deco-002.png');
    width: 130px;
    height: 130px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    right: 0;
    top: -10px;
}

@media (max-width: 991px) {
    .view-agentcommissions .container .total-commission-col:before {
        width: 80px;
        height: 80px;
    }
}

.view-agentcommissions .container .total-commission-col span {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    padding-bottom: 30px;
}

.view-agentcommissions .container .total-commission-col p {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0 !important;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 400;
}

.view-agentcommissions .container .total-override-col span {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    padding-bottom: 30px;
}

.view-agentcommissions .container .total-override-col p {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0 !important;
    color: #ffffff;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 400;
}

.view-agentcommissions .container .pending-commission-col {
    background: linear-gradient(45deg, #071e55, #0e317f);
    border-radius: 10px;
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
    padding: 20px;
    margin-bottom: 30px;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    color: #fff;
}

.view-agentcommissions .container .pending-commission-col span {
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.view-agentcommissions .container .accept-commission-col {
    background: linear-gradient(45deg, #102e8e, #14698c);
    border-radius: 10px;
    box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
    padding: 20px;
    /* margin-bottom: 30px; */
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    color: #fff;
}

.view-agentcommissions .container .accept-commission-col span {
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
}

.view-agentcommissions .container #sp-component .row .col-md-6:first-child{
    font-family:"Montserrat";
}

.view-agentcommissions .container #sp-component .row .col-md-6:last-child{
    font-family:"Montserrat";
}

/* Agentcommissions Mobile View */
@media (max-width:1400px){
    .view-subagentcommissions .container .total-agentcommissions-col p{
        font-size:36px;
    }
}
@media (max-width:1200px){
    .view-subagentcommissions .container .total-agentcommissions-col p{
        font-size:28px;
    }
}
@media (max-width:991px){
    .col-lg-8 h1 {
        font-size: 20px !important;
    }
    .view-subagentcommissions .container .total-agentcommissions-col {
        /* height: 100px; */
        /* margin-bottom:15px; */
    }
    .view-subagentcommissions .container .total-agentcommissions-col p{
        font-size:32px;
    }
    .view-subagentcommissions .container .pending-agentcommissions-col {
        margin-bottom: 15px;
    }
    .upline-agentcommissions{
        margin:15px 0 0 0;
    }
    .rm-agentcommissions-col, .avp-agentcommissions-col, .svp-agentcommissions-col, .evp-agentcommissions-col{
        width:50%;
    }
    .rm-agentcommissions-col, .svp-agentcommissions-col{
        padding-right:7.5px;
    }
    .avp-agentcommissions-col, .evp-agentcommissions-col{
        padding-left:7.5px;
    }
    .svp-agentcommissions-col, .evp-agentcommissions-col{
        margin-bottom:15px;
    }
    .agentcommissions-row .col-md-6 {
        width:100%;
    }
    .agentcommissions-row .col-md-6 .other-agentcommissions-col{
        display:flex;
        margin-top: 15px;
    }
    .agentcommissions-row .col-md-6 .pending-agentcommissions-col, .agentcommissions-row .col-md-6 .accept-agentcommissions-col{
        width:50%;
        margin-bottom:0;
        display:flex;
        flex-direction:column;
        /* align-items:center; */
        /* height:100px; */
    }
    .agentcommissions-row .col-md-6 .pending-agentcommissions-col{
        margin-right:7.5px;
    }
    .agentcommissions-row .col-md-6 .accept-agentcommissions-col{
        margin-left:7.5px;
    }
    .view-subagentcommissions .container .pending-agentcommissions-col span, .agentcommissions-row .col-md-6 .accept-agentcommissions-col span{
        /* position:absolute; */
        /* left:15px; */
        font-size: 12px;
    }
    .view-subagentcommissions .container .pending-agentcommissions-col p, .agentcommissions-row .col-md-6 .accept-agentcommissions-col p {
        /* position:absolute; */
        /* right:15px; */
        /* bottom:15px; */
        font-size: 24px;
    }
    table.agent-agentcommissions-table {
        table-layout: auto;
        width: 750px;
    }
}
@media (max-width: 565px){
    .view-subagentcommissions .container .total-agentcommissions-col p{
        font-size: 30px;
    }
    .agentcommissions-row .col-md-6 .other-agentcommissions-col{
        display:flex;
        flex-direction:column;
    }
    .agentcommissions-row .col-md-6 .pending-agentcommissions-col, .agentcommissions-row .col-md-6 .accept-agentcommissions-col{
        width:100%;
    }
    .agentcommissions-row .col-md-6 .pending-agentcommissions-col{
        margin-right:0px;
    }
    .agentcommissions-row .col-md-6 .accept-agentcommissions-col{
        margin-left:0px;
    }
    .agentcommissions-row .col-md-6 .pending-agentcommissions-col{
        margin-bottom:15px;
    }
}
