:root {
    --primary: #26699d;
    --primaryOpacity: #26699d33;
    --secondary: #895a46;
    --dark: #333333;
    --lessDark: #404040;
    --white: #ffffff;
    --muted: #868686;
    --buttonBoxShadow: 0 0 0 0.05rem rgba(0, 0, 0, .10);
    --primarySoft: rgba(38, 105, 157, .25)
}

/* MAIN */
a {
    color: var(--primary);
    transition: color ease-in-out 0.15s;
    text-decoration: none;
}

a:hover {
    color: var(--secondary);
    transition: color ease-in-out 0.15s;
}


/* END MAIN */

/* MENU */
body[data-sidebar=dark] .navbar-brand-box,
body[data-sidebar=dark] .vertical-menu {
    min-width: 70px;
    background: var(--primary);
}

body[data-sidebar=dark] .menu-title {
    color: var(--dark);
}

body[data-sidebar=dark] .navbar-brand-box .logo-lg {
    position: absolute;
    left: 10px;
}

body[data-sidebar=dark] .navbar-brand-box .logo-sm {
    position: absolute;
    left: 10px;
}

body[data-sidebar=dark] .navbar-brand-box .logo-lg img {
    object-fit: cover;
    max-height: 65px;
}

body[data-sidebar=dark] #sidebar-menu ul li a i,
body[data-sidebar=dark] #sidebar-menu ul li a {
    color: var(--white);
}

body[data-sidebar=dark] #sidebar-menu ul li a:hover i,
body[data-sidebar=dark] #sidebar-menu ul li a:hover {
    color: var(--dark);
}

body[data-sidebar=dark].sidebar-enable.vertical-collpsed #sidebar-menu ul.submenu li a i,
body[data-sidebar=dark].sidebar-enable.vertical-collpsed #sidebar-menu ul.submenu li a {
    color: #afafaf !important;
}

body[data-sidebar=dark].sidebar-enable.vertical-collpsed #sidebar-menu ul.submenu li a:hover i,
body[data-sidebar=dark].sidebar-enable.vertical-collpsed #sidebar-menu ul.submenu li a:hover {
    color: var(--white) !important;
}

body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu>ul ul {
    background: var(--lessDark);
}

body[data-sidebar=dark] .mm-active .active {
    background: var(--dark) !important;
}

body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>a
{
    background: var(--dark);
}

.header-item .balance-header {
}

.header-item .balance-area {
    color: var(--primary);
    font-weight: 800;
}
/* MENU END */

/* BOOTSTRAP OVERRIDES */
/* BTN */
.btn.btn-success {
    /*background: var(--primary);*/
    /*border-color: var(--primary);*/
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.15rem var(--primarySoft);
}

.btn.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn.btn-success:hover,
.btn.btn-primary:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.btn.btn-success:focus,
.btn.btn-success:focus-visible,
.btn.btn-primary:focus,
.btn.btn-primary:focus-visible
{
    box-shadow: var(--buttonBoxShadow);
}

.btn.btn-green {
    background: #34c38f;
    color: var(--white);
    border-color: #34c38f;
}

.btn.btn-green:hover{
    background: #288c67;
    color: var(--white);
    border-color: #288c67;
}

/* END BTN */

/* ALERT */
.alert-success {
    background: var(--primarySoft);
    color: var(--dark);
    border-color: var(--primary);
}
/* END ALERT */

/* a text muted */
a.text-muted {
    transition: color ease-in-out 0.15s;
}

a.text-muted:hover {
    color: var(--secondary)!important;
    transition: color ease-in-out 0.15s;
}

/* BADGE */
.badge.bg-success {
    /*background-color: var(--primary)!important;*/
}

.badge.badge-danger {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-danger-rgb),var(--bs-bg-opacity))!important;
}
/* END BADGE */
/* END BOOTSTRAP OVERRIDES */

.bg-theme1,
.bg-theme
{
    background: var(--primary);
}

.bg-theme1.bg-soft,
.bg-theme.bg-soft {
    background: var(--primarySoft)!important;
}

.bg-theme2 {
    background: var(--secondary);
}

.bg-primary{
    background: var(--primary);
    background-color: var(--primary)!important;
    border-color: var(--primary);
}

.text-theme1 {
    color: var(--primary);
}

.text-theme2 {
    color: var(--secondary);
}

.page-link:focus,
.page-link:focus-visible {
    text-decoration-color: var(--primary);
    color: var(--primary);
    background-color: var(--primaryOpacity);
    border-color: var(--primaryOpacity);
    box-shadow: var(--buttonBoxShadow);
}

.page-link:hover {
    color: var(--primary);
    background-color: var(--primaryOpacity);
    border-color: var(--primaryOpacity);
}

/* OFFERS */
.offer-top-wrap {
    height: 120px;
    border-bottom: 7px solid var(--primary);
}

.iframe-wrapper {
    height: calc(100vh - 127px);
}

@media (max-width:991px) {
    .offer-top-wrap {
        height: 180px;
    }

    .iframe-wrapper {
        height: calc(100vh - 187px);
    }
}

.offer-top-wrap .logo {
    text-align: center;
}
.offer-top-wrap .logo img {
    max-width: 100%;
}

.offer-top-wrap .offer-name-label,
.offer-top-wrap .offer-label
{
    font-weight: 500;
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.offer-top-wrap .offer-name
{
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
}

.offer-top-wrap .offer-description {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.1;
}

.offer-top-wrap .time-header,
.offer-top-wrap .clicks-header {
    font-size: .8rem;
}

.offer-top-wrap .chart {
    height: 100px;
    margin-top: -10px;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    border: none;
}

@media (max-width:1550px) {
    .offer-top-wrap .offer-name-label,
    .offer-top-wrap .offer-label {
        font-size: 0.6rem
    }

    .offer-top-wrap .offer-name {
        font-size: 1.0rem;
    }

    .offer-top-wrap .offer-description {
        font-size: 0.75rem;
    }

    .offer-top-wrap .finish_phrase_label,
    .offer-top-wrap .finish_phrase_error {
        font-size: 0.7rem;
    }
}

@media (max-width:1200px) {
    .offer-top-wrap .offer-name {
        font-size: 0.9rem;
    }
}

@media (max-width:575px) {
    .offer-top-wrap .offer-label {
        font-size: 0.8rem;
    }

    .offer-top-wrap .offer-name {
        text-align: center;
        font-size: 1rem;
        font-weight: 600;
    }

    .offer-top-wrap .offer-description {
        font-size: 0.8rem;
        font-weight: 400;
        max-height: 30px;
        overflow: auto;
        text-align: center;
        color: var(--muted);
    }

    .offer-top-wrap .chart {
        height: 90px;
    }

}
/* END OFFERS */

/* PAYOUT ORDER*/
.section-order-new-payout .head-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-order-new-payout table {
    padding: 1rem;
    display: flex;
    justify-content: center;
}
.section-order-new-payout tr {
    justify-content: center;
    padding: 2rem;
}

.section-order-new-payout td.label {
    text-align: right;
    padding: 1.4rem 0;
    padding-right: 3rem;
}

.section-order-new-payout td.submit {
    text-align: right;
}

.section-order-new-payout td input{
    width: 25rem;
}

@media (max-width:767px) {
    .section-order-new-payout .head-top {
        flex-direction:column;
        text-align: center;
    }

    .section-order-new-payout td input{
        width: 100%;
    }
    .section-order-new-payout td.label {
        padding-right: 1rem;
    }

}
/* END PAYOUT ORDER */

/* DASHBOARD */
.history-chart-header {
    margin: 10px 12px 0 0;
    text-align: right;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: #495057;
    font-weight: 600;
}

.available-offers-wrap {
    margin: 0 0 0 2rem;
}

.available-offers-wrap .available-offers-header {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.available-offers-wrap .available-offers-sub-header {
    color: var(--muted);
    font-size: 1.2rem;
    font-weight: 200;
    margin-bottom: 2rem;
}

.available-offers-wrap .available-offers-list {
    list-style: none;
    padding: 0 0 0 1rem;
}

.available-offers-wrap .available-offers-list li {
    line-height: 2.2rem;
    font-size: 1.2rem;
    vertical-align: middle;
    padding: 0 0 0.2rem 0;
}

.available-offers-wrap .available-offers-list li .list-count {
    font-weight: bold;
    margin-right: 0.2rem;
}

.available-offers-wrap .available-offers-list li .list-color {
    margin-right: 0.4rem;
}

.available-offers-wrap .available-offers-list li .list-color-bg-theme1::before {
    color: var(--primary);
}

.available-offers-wrap .available-offers-list li .list-color-bg-theme2::before {
    color: var(--secondary);
}

.available-offers-wrap .available-offers-footer {
    color: var(--muted);
    font-weight: 200;
    font-size: 1rem;
    margin: 2rem 0 0 0;
}
/* END DASHBOARD */

/* OFFERS LIST */
.table-offers {

}
/* END OFFERS LIST */


/* PAGINATION */

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}
/* AGREEMENTS */
.agreements-wrap {
    font-size: 12px;
}

.agreements-read-more {
    padding: 10px;
    font-size: 10px;
    border: 1px solid var(--primary);
    border-radius: 10px;
}
/* END AGREEMENTS */

/* SORTABLE TABLE */

table .asc,
table .desc {
    font-weight: bold;
    color: var(--secondary);
}

table .asc::before {
    content: '▲';
}
table .desc::before {
    content: '▼';
}

/* END SORTABLE TABLE */