/** Toolbar */
.tm-toolbar > .uk-container {
    height: 70px;
}
.tm-toolbar a {
    color: #000000 !important;
}
.tm-toolbar .phone a:before {
    content: url("../../../images/DesignV2/icons/phone.svg");
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 10px;
}
.tm-toolbar .email a:before {
    content: url("../../../images/DesignV2/icons/email.svg");
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-right: 5px;
}

/* Navbar */
.uk-navbar-nav > li.uk-active > a {
    font-weight: 700;
}
.uk-navbar .item-437 > a:after,
.uk-navbar .item-437 > a:after {
    content: "";
    display: inline-block;
    width: 3px;
    height: 24px;
    margin-left: 30px;
    background: #C8DA42;
}

/* Navbar mobile */
.uk-navbar-toggle {
    height: 40px;
    width: 40px;
    min-height: 0;
    align-self: center;
}

#tm-dialog-mobile .uk-nav img {
    display: none;
}
#module-menu-dialog-mobile {
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

/* Sidebar */
#tm-sidebar .uk-nav > li {
    padding-right: 40px;
}
#tm-sidebar .uk-nav > li > a {
    font-size: 20px;
    line-height: 85px;
    padding: 0 0 0 0;
}
#tm-sidebar .uk-nav > li:not(:last-child) > a {
    border-bottom: 1px solid #C9C9C9;
}
#tm-sidebar {
    background: #FFFFFF;
    padding-top: 30px;
}
@media (min-width: 960px) {
    #tm-sidebar {
        position: relative;
        padding-top: 0;
    }
    #tm-sidebar:before {
        content: "";
        display: block;
        position: absolute;
        top:-70px;
        right:0;
        bottom:0;
        left: -5000px;
        background: #FFFFFF;
    }
}
@media (max-width: 960px) {
    #tm-sidebar {
        display: none;
    }
}

.uk-nav .uk-active > a {
    font-weight: 700;
}

.uk-subnav-pill>* {
    margin-bottom: 10px;
}

/* Footer */
footer .uk-nav img {
    display: none;
}

/* Panels */
@media (min-width: 400px) {
    .uk-h5:before {
        content: "";
        display: inline-block;
        width: 30px;
        height: 5px;
        background: #ACD03A;
        vertical-align: middle;
        margin-right: 10px;
        margin-bottom: 4px;
    }
}

/* Sections */
.dark-bg > div {
    position: relative;
}
.dark-bg > div:before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

/* Forms */
.form-validate legend {
    font-size: inherit;
}
.form-validate .invalid {
    border-color: #FF0000;
}
fieldset > .control-group:first-of-type {
    margin-top: 0;
}

.password-group meter {
    width: 100%;
}

.btn.input-password-toggle {
    padding: 0 20px;
    line-height: 100%;
}

.input-group > .btn {
    line-height: inherit;
}

/* Registration */

.com-users-registration {
    max-width: 480px;
    margin: 0 auto;
}
.com-users-registration__submit .btn {
    width: 100%;
    text-align: center;
}
.com-users-registration legend,
.com-users-registration .control-label {
    display: none;
}
.com-users-registration .actions {
    text-align: center;
}

/* Login */
.com-users-login {
    max-width: 480px;
}
.com-users-login__submit .btn {
    width: 100%;
    text-align: center;
}
.com-users-login legend,
.com-users-login .control-label {
    display: none;
}

/* Profile */
.com-users-profile__edit {
    max-width: 480px;
}
.com-users-profile__edit legend {
    display: none;
}

/* Forgot password */
.com-users-reset,
.com-users-reset-confirm,
.com-users-reset-complete {
    max-width: 480px;
}
.com-users-reset .btn.validate,
.com-users-reset-confirm .btn.validate,
.com-users-reset-complete .btn.validate {
    width: 100%;
    text-align: center;
}
.com-users-reset .control-label,
.com-users-reset-confirm .control-label,
.com-users-reset-complete .control-label {
    display: none;
}
.com-users-reset legend,
.com-users-reset-confirm legend,
.com-users-reset-complete legend {
    font-size: 16px !important;
    margin-bottom: 20px;
}

/* Remind username */
.com-users-remind {
    max-width: 480px;
}
.com-users-remind .btn.validate {
    width: 100%;
    text-align: center;
}
.com-users-remind .control-label {
    display: none;
}
.com-users-remind legend {
    font-size: 16px !important;
    margin-bottom: 20px;
}

/* Contact */
.com-contact__form legend,
.com-contact__form .control-label,
.com-contact__form .control-group.field-spacer {
    display: none;
}

/* Timeline */
.uf-timeline .el-meta {
    display: inline-block;
    font-size: 30px;
    line-height: normal;
    color: #000000;
    padding: 8px 20px;
    border-radius: 5px;
    background: #ACD03A;
}
.uf-timeline .el-title {
    font-size: 30px;
}

.uf-timeline .el-content {
    max-width: 470px;
}
.uf-timeline .uk-grid {
    max-width: 1200px;
    margin: 0 auto;
}
.uf-timeline .uk-grid > * {
    width: 50%;
    position: relative;
    margin-top: 0;
}
.uf-timeline .uk-grid > *:nth-child(odd) {
    padding-right: 90px;
}
.uf-timeline .uk-grid > *:nth-child(even) {
    margin-left: 50%;
    padding-left: 90px;
}
.uf-timeline .uk-grid > *:after {
    content: "";
    border-radius: 100%;
    border: 15px solid #ACD03A;
    background: #FFF;
    display: inline-block;
    width: 22px;
    height: 22px;
    position: absolute;
    right: -26px;
    top: 50%;
    transform: translateY(-50%);
}
.uf-timeline .uk-grid > *:nth-child(even):after {
    left: -26px;
    right: auto;
}
.uf-timeline .uk-grid > *:before {
    content: "";
    background: #ACD03A;
    display: block;
    width: 10px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -5px;
}
.uf-timeline .uk-grid > *:nth-child(even):before {
    left: -5px;
    right: auto;
}
.uf-timeline .uk-grid > *:first-child:before {
    top: 50%;
}
.uf-timeline .uk-grid > *:last-child:before {
    top: 0;
    bottom: 50%;
}

@media (max-width: 900px) {
    .uf-timeline .uk-grid > * {
        width: 100% !important;
        padding: 20px 20px 20px 0 !important;
        margin: 0 0 0 70px !important;
    }
    .uf-timeline .uk-grid > *:after {
        left: -60px !important;
        right: auto !important;
    }
    .uf-timeline .uk-grid > *:before {
        left: -39px !important;
        right: auto !important;;
    }
}

/* Suppliers */

.suppliers-letters {
    margin: 30px 0;
}
.suppliers-letters a {
    display: inline-block;
    text-align: center;
    line-height: 30px;
    min-width: 30px;
    padding: 0 5px;
    margin: 0 0 10px 0;
    background: #E7E7E7;
    border-radius: 5px;
    color: #000000 !important;
    font-size: 14px;
    text-decoration: none;
}
.suppliers-letters a:hover {
    background: #ACD03A;
}
.suppliers-letters a.active {
    background: #235030;
    color:#FFFFFF !important;
}

.suppliers-results {
    margin: 20px 0;
}

.supplier-item .image {
    height: 186px;
    background: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
}
.supplier-item h3 a {
    color: #FFF !important;
    text-decoration: underline;
    font-weight: 400;
}
.supplier-item .readmore {
    display: inline-block;
    margin-top: 20px;
    color: #FFF !important;
    font-weight: bold;
}
.supplier-item p:has(.readmore) {
    margin-bottom: 0;
}

/* Supplier */
@media (min-width: 960px) {
    .supplier-page {
        .image img {
            max-width: 250px;
        }
    }
}
.supplier-term h3 {
    color: #FFF !important;
    font-weight: 400;
}
.supplier-term .download {
    font-weight: 600;
    color: inherit !important;
}
.supplier-term .download:before {
    content: url("../../../images/DesignV2/icons/download.svg");
    margin-right: 10px;
}

/* Purchase & Sales history */
.total-purchase th {
    text-align: center !important;
}
.total-purchase td {
    font-weight: 600;
    text-align: center;
}

.purchase-history thead {
    border-radius: 5px 5px 0 0;
}
.purchase-history th {
    text-align: right !important;
}
.purchase-history th:first-child {
    text-align: left !important;
}
.purchase-history th:last-child {
    border-radius: 0 5px 0 0;
}
.purchase-history td {
    font-weight: 600;
    text-align: right;
    /*padding: 12px 10px;*/
    vertical-align: top;
}
.purchase-history td:first-child {
    text-align: left;
}
.purchase-history td:not(:first-child) {
    white-space: nowrap;
}

@media print {
    .total-purchase td {
        font-weight: normal;
    }
    .purchase-history td {
        font-weight: normal;
    }
}

/* Send files */
.textcen {
    text-align: center;
    border: 2px dashed;
    border-radius: 5px;
    padding: 60px;
}

/* Tabs Joomla */
joomla-tab[view=tabs]>div[role=tablist] {
    margin-bottom: 30px !important;
    column-gap: 10px;
}
joomla-tab button[role=tab],
joomla-tab[view="accordion"] > button {
    display: inline-block;
    text-align: center;
    line-height: 30px;
    min-width: 85px;
    padding: 0 10px;
    background: #E7E7E7;
    border-radius: 5px !important;
    color: #000000 !important;
    font-size: 14px;
    text-decoration: none;
    border: 0 !important;
    box-shadow: none !important;
    text-transform: none;
    letter-spacing: normal;
}
joomla-tab button[role=tab]:after {
    display: none !important;
}
joomla-tab button[role=tab]:hover {
    background: #ACD03A;
}
joomla-tab button[role="tab"][aria-expanded="true"],
joomla-tab button[role="tab"][aria-selected="true"],
joomla-tab[view="accordion"] > button[aria-expanded="true"],
joomla-tab[view="accordion"] > button[aria-selected="true"] {
    background: #235030;
    color:#FFFFFF !important;
}

joomla-tab[view="accordion"] > button {
    margin-bottom: 10px !important;
}

/* Table common */

.uk-table th {
    background: #E8F6ED;
    padding: 12px 10px;
    vertical-align: middle;
    text-align: left;
}
.uk-table td {
    background: #FFF;
}

.uk-table > thead:first-child > tr > td:first-child {
    border-top-left-radius: 5px;
}
.uk-table > thead:first-child > tr > td:last-child {
    border-top-right-radius: 5px;
}
.uk-table > tbody > tr:not(:last-child) td {
    border-bottom: 1px solid #E6E6E6;
}

.uk-table td.expire {
    color: #ff0000;
    font-weight: bold;
}

@media print {
    .uk-table {
        font-size: 14px !important;
    }
    .uk-table th, .uk-table td {
        padding: 5px !important;
        font-weight: normal !important;
    }
}

/* Article */
ul.arrow-right > li {
    padding: 0 0 10px 15px;
}
ul.arrow-right > li::marker {
    content: url("../../../images/DesignV2/icons/arrow-right.svg");
    color: #235030;
}
article div[property="text"] h3 {
    color: #235030;
}

/* Misc */
joomla-alert {
    max-width: 700px;
    margin: 30px auto;
}

.uk-card .uk-label-danger {
    background-color: #e44e56 !important;
    color: #fff !important;
}

/*@media (min-width: 960px) {}*/

