/* Change WC Acct Page Column Widths */
@media only screen and (min-width: 769px) {
    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 28%;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        width: 69%;
    }
}

body.woocommerce-account .site-main a,
body.dokan-dashboard a {
    text-decoration: none;
}

body.woocommerce-account .site-main .entry-title,
body.dokan-dashboard .entry-title {
    margin-bottom: 30px;
}

/* Style WC Account Endpoint Links */
nav.woocommerce-MyAccount-navigation ul {
    list-style-type: none;
    padding-left: 0;
    max-width: 100%;
    width: calc(100% - 40px);
    font-size: 17px;
    line-height: 26px;
}

nav.woocommerce-MyAccount-navigation ul li {
    padding: 8px 20px;
    background-color: #f4f4f4;
    margin: 0 0 10px 0;
    border-radius: 5px;
    border-bottom: none;
}

nav.woocommerce-MyAccount-navigation ul li.is-active {
    background-color: #00acb2;
    color: #ffffff;
}

nav.woocommerce-MyAccount-navigation ul li.is-active a {
    color: #ffffff;
    cursor: default;
}

nav.woocommerce-MyAccount-navigation ul li.is-active:after {
    content: "";
    height: 0;
    width: 0;
    border-top: 20px solid transparent;
    border-left: 14px solid #00acb2;
    border-bottom: 20px solid transparent;
    float: right;
    margin-right: -32px;
    margin-top: -7px;
}

nav.woocommerce-MyAccount-navigation ul li:not(.is-active):hover {
    background-color: #f4f4f4;
}

nav.woocommerce-MyAccount-navigation ul li:not(.is-active):after {
    content: "";
    height: 0;
    width: 0;
    border-top: 20px solid transparent;
    border-left: 14px solid #f4f4f4;
    border-bottom: 20px solid transparent;
    float: right;
    margin-right: 0;
    margin-top: -7px;
    opacity: 0;
    transition: all 0.3s;
}

nav.woocommerce-MyAccount-navigation ul li:not(.is-active):hover:after {
    opacity: 1;
    margin-right: -32px;
}

/*
* Subscriptions page
*/
body .woocommerce-MyAccount-content .shop_table.subscription_details {
    border: 1px solid #dddddd;
    border-top: 2px solid #dddddd;
    margin: 0;
    text-align: left;
    width: 100%;
    border-collapse: separate;
    border-radius: 5px;
}

body table td,
body table th {
    border: 1px solid #dddddd;
}

body table caption+thead tr:first-child td,
body table caption+thead tr:first-child th,
body table colgroup+thead tr:first-child td,
body table colgroup+thead tr:first-child th,
body table thead:first-child tr:first-child td,
body table thead:first-child tr:first-child th {
    border-block-start: 1px solid #dddddd;
}

body table tbody>tr:nth-child(odd)>td,
body table tbody>tr:nth-child(odd)>th,
body .woocommerce table.shop_table td {
    background-color: transparent;
}

body table tbody tr:hover>td,
body table tbody tr:hover>th {
    background-color: transparent;
}

body .woocommerce table.shop_table {
    border: 1px solid #dddddd;
    border-radius: 5px;
}

body .woocommerce .woocommerce-customer-details address {
    border: 2px solid #dddddd;
}

body .woocommerce button,
body .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit,
body .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button,
body .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button,
body .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button {
    background-color: #00acb2 !important;
    color: #ffffff !important;
    border: 1px solid #00acb2 !important;
    font-weight: 400 !important;
    padding: 5px 10px;
}

body input[type='submit'].dokan-btn-theme,
body a.dokan-btn-theme,
body .dokan-btn-theme {
    background-color: #00acb2 !important;
    color: #ffffff !important;
    border: 1px solid #00acb2 !important;
    font-weight: 400 !important;
}

body .shop_table.subscription_details button,
body .shop_table.subscription_details .button {
    margin-bottom: 10px !important;
}

body .woocommerce-info {
    border-top-color: #00acb2;
}

body .woocommerce-info::before {
    color: #00acb2;
}

body .woocommerce button:hover,
body .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover,
body .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover,
body .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover,
body .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button:hover {
    background-color: #ffffff !important;
    color: #00acb2 !important;
    border-color: #dddddd !important;
}

body input[type='submit'].dokan-btn-theme:hover,
body a.dokan-btn-theme:hover,
body .dokan-btn-theme:hover {
    background-color: #ffffff !important;
    color: #00acb2 !important;
    border-color: #dddddd !important;
}

body div .woocommerce-MyAccount-navigation-link:hover {
    text-decoration: none;
    cursor: pointer;
}

body.dokan-dashboard .dokan-dash-sidebar {
    width: 21%;
    flex: 1 auto;
    background-color: #ededed;
}

body.dokan-dashboard .dokan-dashboard-content {
    padding: 0 0 0 25px;
    overflow: hidden;
    margin-top: 0px;
    width: 79%;
    flex: 5 auto;
}

body.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li {
    padding: 5px 0;
    border-bottom: 1px solid #f4f4f4;
    background-color: #ededed;
}

body.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a {
    color: #6d6d6d;
}

body.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active,
body.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active a {
    background-color: #00acb2;
}

body.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover {
    background-color: #00acb2;
}

body.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active a,
body.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover a {
    color: #ffffff;
}

body.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active:after {
    left: 96%;
    top: 1.3rem;
    border: transparent solid;
    content: ' ';
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent #fff transparent transparent;
    border-left-color: #fff;
    border-width: 16px 16px 16px 0;
    margin-top: -12px;
}