﻿.titlelayout {
}

.bodycustom {
    background-color: #F5F5FA !important;
}

.footerlogin {
    position: absolute;
    left: 0;
    bottom: 0;
    min-height: 100px;
    width: 100%;
    background-color: rgb(25,139,57);
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.LoginColorCustom {
    background-color: rgb(25,139,57) !important;
}


.navbarCustom {
    background-color: rgb(25,139,57) !important;
}

.active1 {
    border-style: solid;
    border-width: 3px;
    border-color: rgb(25,139,57);
}

.table-header {
    background-color: rgb(75,72,129) !important;
    color: #fff;
    font-size: 14px;
    line-height: 38px;
    margin-bottom: 1px;
    padding-left: 12px;
}

/*.btn-primary, .btn-primary:Focus {
    background-color: rgb(25,139,57) !important;
    border-color: rgb(25,139,57);
}

    .btn-primary:hover {
        background-color: rgb(7, 138, 46) !important;
        border-color: rgb(255,102,0);
    }*/


.list-group-horizontal .list-group-item {
    display: inline-block;
    width: 140px;
}


.list-group-horizontal .list-group-item {
    margin-bottom: 0;
    margin-left: -4px;
    margin-right: 0;
}

    .list-group-horizontal .list-group-item:first-child {
        border-top-right-radius: 0;
        border-bottom-left-radius: 4px;
    }

    .list-group-horizontal .list-group-item:last-child {
        border-top-right-radius: 4px;
        border-bottom-left-radius: 0;
    }



/*body {
    font-family: Arial !important;
}*/



.dropbtn {
}

/* The container <div> - needed to position the dropdown content */
.dropdownb {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdownb-content {
    display: none;
    position: fixed;
    background-color: lightgray;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    text-align: left;
}

    /* Links inside the dropdown */
    .dropdownb-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

        /* Change color of dropdown links on hover */
        .dropdownb-content a:hover {
            background-color: #f1f1f1
        }

/* Show the dropdown menu on hover */
.dropdownb:hover .dropdownb-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdownb:hover .dropbtn {
}


.popover {
    max-width: 65%;
}



.ui-grid-header-cell .ui-grid-cell-contents {
    height: 48px;
    white-space: normal;
    -ms-text-overflow: clip;
    -o-text-overflow: clip;
    text-overflow: clip;
    overflow: visible;
}

.dxflItemSys img {
    max-width: 160px !important;
}

.dxcvFlowCard_MetropolisBlue, div.dxcvEmptyCard_MetropolisBlue {
    margin: 20px 0 0 20px !important;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3); /* right 4px, bottom 4px */
    border: none !important;
    border-radius: 12px;
}

.dxflGroupCell_MetropolisBlue {
    padding: 0 1px !important;
    border: none;
}

.dxflGroupCell_MetropolisBlue {
    padding: 0 1px !important;
    border: none;
}

.dxflViewFormLayoutSys .dxflItem_MetropolisBlue {
    padding-bottom: 1px !important;
    border: none;
}

.dxcvHeaderPanel_MetropolisBlue, .dxcvSearchPanel_MetropolisBlue {
    width: 300px !important;
    display: inline-table !important;
    border-bottom: 0 !important;
    margin: 0 !important;
    padding: 0px 0px 0px 7px !important;
    border: none;
}

.chosen-single {
    border: 0px !important;
    border-radius: 0px !important;
    background: white !important;
    box-shadow: 0 0 0px #fff inset, 0 0px 1px rgba(0,0,0,.1) !important;
}

.select-container {
    width: 300px !important;
}

.dxgvHeader_MetropolisBlue {
    border-bottom: 0 !important;
    font-weight: bold !important;
    font-family: "Muli" !important;
    font-size: 13px !important;
    height: 40px !important;
    word-wrap: break-word !important;
}

.dxgvFilterRow_MetropolisBlue td.dxgv {
    border-bottom: 0px !important;
    border: none;
}

.dxGridView_gvFilterRowButton_MetropolisBlue {
}

.dxgvFilterRow_MetropolisBlue {
    height: 38px !important;
}

.dxgvFilterRow_MetropolisBlue,
table.display thead tr:last-child th,
.ui-grid-filter-container {
    background-color: #EAE9F0 !important;
    padding: 5px 5px !important;
}

.ui-grid-filter-input {
    padding: 6px 6px 4px 6px !important;
    width: 100% !important;
    height: 28px !important;
    border-radius: 2px !important;
    margin: 0px !important;
}

.ui-grid-header-cell {
    font-size: 13px !important;
    line-height: 18px !important;
    border: none !important;
    white-space: nowrap !important;
    background: white !important;
    display: inline-block !important;
}

.ui-grid-cell-contents span {
    font-weight: bold !important;
    vertical-align: middle !important;
    border: none;
}

.ui-grid-row-selected div.ui-grid-cell {
    color: #212529 !important;
    background-color: #c4e5ed !important;
    /*    font-style: normal;
    font-weight: normal*/
    border: none;
}

tr.dxgvDataRow_MetropolisBlue:nth-child(odd),
.dataTable tr:nth-child(odd) {
    background-color: #F5F5FA;
}

.dxgvDataRow_MetropolisBlue .cell-actions .btn {
    color: #323140 !important;
}

.btn-minier {
    display: inherit !important;
    font-weight: normal !important;
    line-height: 10px !important;
}


.dxgvDataRow_MetropolisBlue td.dxgv {
    border-bottom: 0px !important;
    padding-bottom: 0 !important;
    font-size: 13px !important;
    font-family: "Muli" !important;
    color: #212529 !important;
    white-space: nowrap !important;
    height: 32px !important;
}

.fg-toolbar {
    display: none !important;
}

.modal-header {
    display: block !important;
}

.close {
    font-size: 32px !important;
}

.modal-footer {
    background-color: #E6E3FC !important;
}

.bootbox .modal-header, .bootbox .modal-footer {
    padding-bottom: 5px !important;
    padding-top: 5px !important;
}

.dataTable {
    border: 1px solid #C3C2CE;
    border-radius: 2px;
}

    .dataTable tr th {
        background: white !important;
        height: 40px;
        border: 0 !important;
        border-style: solid !important;
        border: 1px solid lightgrey !important;
    }

#trDiscountSub th {
    background: #EAE9F0 !important;
}

.sorting_1 {
    background-color: inherit !important;
}

.dataTable tr td, th {
    font-size: 13px !important;
    font-family: "Muli" !important;
    border-style: solid !important;
    border: 1px solid lightgrey !important;
}

.cell-actions span {
    margin-right: 5px !important;
}

.inlineright {
    display: inline-flex !important;
    float: right;
}


.ui-grid-cell {
    font-size: 13px !important;
    line-height: 18px !important;
}

.ui-grid-menu-button {
    background-color: white !important;
    border: 0px !important;
}

.btn-outline-warning {
    border-color: #ff8000 !important;
}

.btn-outline-warning {
    border-color: #ff8000 !important;
}

.text-warning {
    color: #ff8000 !important;
}

.resizegridheight {
    height: calc(100vh - 220px - 22px - 0px);
}

.rigthlogin {
    width: 33%;
}



.login-center {
    right: 0 !important;
    position: absolute !important;
}

.login-page {
    max-width: 1300px;
    right: 0 !important;
    position: relative !important;
}

.presentation-side {
    min-width: 0 !important;
}

.header {
    color: white !important;
}

.has-error {
    border-color: #f09784 !important;
    color: red !important;
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 18px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-left-color: rgb(204, 204, 204);
    border-left-style: solid;
    border-left-width: 1px;
    border-radius: 4px;
    border-bottom-left-radius: 4px;
}

.input-group-addon-colorpicker {
    padding: 6px 12px;
    font-size: 18px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-left-color: rgb(204, 204, 204);
    border-left-style: solid;
    border-left-width: 1px;
    border-radius: 4px;
    border-bottom-left-radius: 4px;
}

.datepicker .table-condensed {
    width: 260px;
}

.modal-dialog {
    max-width: inherit !important;
    width: 700px !important;
}

.width-55 {
    width: 55% !important;
}

.width-50 {
    width: 50% !important;
}

.width-45 {
    width: 45% !important;
}

.width-40 {
    width: 40% !important;
}

.width-60 {
    width: 60% !important;
}

.width-65 {
    width: 65% !important;
}

.width-70 {
    width: 70% !important;
}

.width-75 {
    width: 75% !important;
}

.width-80 {
    width: 80% !important;
}

.width-85 {
    width: 85% !important;
}

.width-90 {
    width: 90% !important;
}

.width-95 {
    width: 95% !important;
}



/*.modal-add-product {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75% !important;
}


.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}*/


.filter_column input {
    height: 27px !important;
}

.filter_input_grid {
    height: 29px !important;
}

input[readonly] {
    background: white !important;
}

.dropdown-menu {
    transform: inherit !important;
    top: 38px !important;
}

.datetimepicker .table th, .table td {
    padding: 3px !important;
}

.label-success, .badge-success {
    background-color: #82af6f !important;
}

.label-eventdraft {
    background-color: rgba(5, 100, 200, 0.5) !important;
}

.label-eventplanificat {
    background-color: #3986ad !important;
}

.label-eventraportat {
    background-color: #d3d041 !important;
}

.label-eventverificat {
    background-color: #84ae6b !important;
}

.label-eventanulat {
    background-color: gray !important;
}


.grid-eventdraft {
    color: rgba(5, 100, 200, 0.5);
}

.grid-eventplanificat {
    color: #3986ad;
}

.grid-eventraportat {
    color: #d3d041;
}

.grid-eventverificat {
    color: #84ae6b !important;
}

.grid-eventanulat {
    color: gray !important;
}



.unReadClass {
    font-style: italic;
    font-weight: bold
}

.readClass {
    font-style: normal !important;
    font-weight: normal !important
}


.green {
    color: green
}

.orange {
    color: orange
}

.panelHome {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    text-align: center !important;
    font-size: 27px !important;
    padding-bottom: 30px !important;
    padding-top: 20px !important;
}

.panelHomeR {
    border-bottom-right-radius: 25px;
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    padding: 10px;
    text-align: center !important;
    font-size: 29px !important;
    box-shadow: 1px 0px 1px 0px gray;
}

.cell-actions.inlineright a span {
    margin-right: 0px !important;
}


#bannerBackground {
}



.list-group-item {
    font-size: 13px !important;
}

.icons-expander .gj-icon {
    width: 18px !important;
    height: 18px !important;
}

.gj-icon {
    font-size: 16px !important;
}




.list-group-item {
    border: none;
}

#gridNomenclator6_DXMainTable {
    /*padding: 0px 30px !important;*/
    /* margin-top: 2em;*/
}

/*.dxflGroupCell_MetropolisBlue {
    padding: 0px 10px !important;
}*/




/*.dxcvCSD {  
    margin-bottom: 2em !important;
}*/


#punctLucruInfo label {
    margin-bottom: 0px !important;
}

#treeCategorii {
    overflow: scroll;
    height: 100%;
    /*  border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;*/
    padding: 0px 0px 0px 10px;
}

#tdCategorii {
    height: 70vh !important;
}

#treeCategorii::-webkit-scrollbar, .dxcvCSD::-webkit-scrollbar {
    width: 6px;
}

#treeCategorii::-webkit-scrollbar-thumb, .dxcvCSD::-webkit-scrollbar-thumb {
    background: #808080;
    border-radius: 4px;
}

.dxflNestedControlCell_MetropolisBlue .list-group-item {
    border: none !important;
}

.dxcvCSD {
    height: 73vh !important;
}


.twocolumns {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

/* table.dxeButtonEditSys .dxeEditArea_MetropolisBlue{
    width: 550px !important;
    height: 30px !important;
}*/





.popover {
    max-width: 400px !important;
}

.jqte_tool_21 {
    display: none !important;
}

.maininline {
    display: flex;
    flex-direction: row;
}

/* Stil pentru butoanele cu săgeți */
.arrow-prev,
.arrow-next {
    width: 50px !important;
    height: 50px !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1000 !important;
    border-radius: 50% !important;
    display: flex !important;
    cursor: pointer;
    justify-content: center !important;
    align-items: center !important;
}

.arrow-prev {
    left: 15px !important;
}

.arrow-next {
    right: 15px !important;
}

    .arrow-prev span,
    .arrow-next span {
        font-size: 40px;
        color: white;
    }

.category-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.category-list {
    display: flex;
    overflow-x: auto; /* Permite scroll-ul */
    overflow: hidden;
    scroll-behavior: smooth; /*Scroll animat*/
    white-space: nowrap; /* Evită ca elementele să se împartă pe linii */
    gap: 10px; /* Spațiu între categorii */
}

.category-item {
    width: 20vw !important;
    min-width: 200px !important;
    max-width: 350px !important;
    border-radius: 10px !important;
    margin: 10px !important;
    padding-left: 0px !important;
    text-align: center !important;
    transition: transform 0.3s ease-in-out !important;
    display: flex !important;
    flex-direction: column !important;
}

.categoryItem-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    flex-shrink: 0;
}

    .categoryItem-image img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        border-radius: 10px;
    }

.category-item:hover {
    transform: scale(1.05);
}


/*.category-itemwidget {
    width: 20vw !important;
    min-width: 200px !important;
    max-width: 300px !important;
    border-radius: 10px !important;
    margin: 0px !important;
    padding-left: 0px !important;
    text-align: center !important;
    transition: transform 0.3s ease-in-out !important;
    display: flex !important;
    flex-direction: column !important;
}

.category-itemwidget-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    flex-shrink: 0;
}

    .category-itemwidget-image img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        border-radius: 10px;
    }

.category-itemwidget:hover {
    transform: scale(1.05);
}*/

.category-itemwidget {
    transition: transform 0.3s ease-in-out !important;
}

.category-itemwidget:hover {
    transform: scale(1.05);
}


.productCarusel-card {
    width: 250px;
    background: white;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

    .productCarusel-card:hover {
        transform: scale(1.05);
    }

.productCarusel-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 10px;
}

.productCarusel-title {
    font-weight: bold;
    width: 100%; /* Ocupă toată lățimea disponibilă */
    overflow: hidden;
    word-break: break-word; /* Evită ca textul să iasă din container */
    text-overflow: ellipsis;
}

.footer-section {
    position: relative;
    padding-right: 20px;
}

    .footer-section:after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        height: 120px;
        width: 2px;
        background-color: #fff;
    }

.view-toggle {
    display: flex;
    align-items: center;
    font-family: sans-serif;
    border-radius: 4px;
}

.toggle-btn {
    border: 0;
    background-color: #0088ad;
    padding: 3px 10px;
    cursor: pointer;
    font-size: 16px;
    color: black;
}

    .toggle-btn.active {
        border: 0;
        background-color: white;
        border-color: #0088ad;
        font-weight: bold;
        color: #0088ad;
    }


.toggle-btn-sec {
    border: 1px solid #bcd85f;
    background-color: #bcd85f;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
}

    .toggle-btn-sec.active {
        background-color: #bcd85f;
        border-color: #bcd85f;
        font-weight: bold;
    }


.toggle-btn-ter {
    background-color: #bcd85f;
    padding: 0px 0px;
    cursor: pointer;
    font-size: 20px;
    color: white;
    border: 0;
    padding: 0px 5px 0px 5px;
}

    .toggle-btn-ter.active {
        background-color: white;
        color: #bcd85f;
    }


.dxeButtonEditSys.dxeButtonEdit_MetropolisBlue.dxeNullText_MetropolisBlue {
    border: 2px solid #0088ad;
}


.inactiveCarusel-hover {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.category-itemwidget a:hover img.inactiveCarusel-hover {
    filter: grayscale(0%);
    opacity: 1;
}

.dxeButtonEdit_MetropolisBlue {
    background-color: #0088ad;
}


.dxeEditArea_MetropolisBlue .dxeEditAreaSys {
    background-color: #0088ad !important;
}

.custom-search-panel {

}

    .custom-search-panel .dxeEditArea_MetropolisBlue {
        background-color: #0088ad !important;
        color: white;
        border: 1px solid #0088ad;
    }

    .custom-search-panel .dxeButtonEdit_MetropolisBlue {
        background-color: #0088ad !important;
        color: white;
        border: 1px solid #0088ad;
    }


.search-control {
    background-color: #0088ad !important;
    color: white;
    border: 1px solid #0088ad;
    padding: 3px 5px;
}

    .search-control::placeholder {        
        color: white;
    }



.searchtop-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
        margin: 0;
}

.searchright-group {
    display: flex;
    gap: 10px;
    padding: 0px 10px 0px 0px;
}

.searchmiddle-group {
    display: flex;
    gap: 10px;
    padding: 0px 0px 0px 10px;
}

.searchsearch-box {
    flex-grow: 1;
    padding: 2px;
    font-size: 16px;
    padding: 3px 10px 3px 10px;
    border-radius: 5px;
}

.spacer {
    flex-grow: 1; 
}



.green-button {
    background-color: #bcd85f;
    border: none;
    padding: 4px 0px 0px 3px;
    cursor: pointer;
    display: inline-block;
    border-color: white;
}

    .green-button.active {
        background-color: white;
        border: none;
        padding: 4px 0px 0px 3px;
        cursor: pointer;
        display: inline-block;
        color: #bcd85f;
        border-color: white;
    }

        .green-button.active .square {
            background-color: green;
            border-color: white;
            border: none;
            outline: none;
            box-shadow: none;
        }   

        green-button:focus {
            outline: none;
            box-shadow: none;
        }

.square-grid {
    display: grid;
    grid-template-columns: repeat(2, 13px);
    grid-template-rows: repeat(2, 13px);
    gap: 2px;
}

.square {
    width: 8px;
    height: 8px;
    background-color: white;
}

    .square.active {
        width: 8px;
        height: 8px;
    }

.gridfilter {
    margin: 20px 0 0 20px !important;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    border: none !important;
    border-radius: 12px;
}




.dxcvFT {
    background-color: #f4f4f9 !important;
}



.dxcvControl_MetropolisBlue {
    background-color: #f4f4f9 !important;
}


.modal-dialog.modal-90 {
    width: 90%;
    max-width: 90%;
}

.modal-dialog.modal-80 {
    width: 95% !important;
    max-width: 95% !important;
}

/* Sidebar mobil */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    background-color: #575399 !important;
    overflow-x: hidden;
    transition: 0.5s;
 
}

    .sidenav .closebtn {
        position: absolute;
        top: 10px;
        right: 25px;
        font-size: 36px;
        color: white;
        text-decoration: none;
    }

/* Ajustare meniu desktop să stea aliniat la dreapta */
.nav-links-wrapper.hidden-xs {
    display: block !important;
}

@media (max-width: 767px) {
    .nav-links-wrapper.hidden-xs {
        display: none !important;
    }
    .logo.col-1.hidden-xs {
        display: none !important;
    }
}
/* Forțăm afișarea containerului de mobil sub 768px */
@media (max-width: 767px) {
    .visible-xs {
        display: block !important;
    }

    .header-navbar1 {
        display: block !important; /* Flex-ul poate ascunde elementele block în versiuni vechi */
         
    }

    /* Asigură-te că butonul are dimensiune */
    .navbar-toggle {
        
        padding: 9px 10px;
        margin-top: 8px;
        margin-bottom: 8px;
    }
}
/* 1. Ascunde butonul pe desktop implicit */
.mobile-only-btn {
    display: none !important;
}

/* 2. Arată butonul DOAR pe ecrane mici (sub 768px) */
@media (max-width: 767px) {
    .mobile-only-btn {
        display: block !important;
    }

    /* Ascunde meniul tău vechi de desktop pe mobil */
    .nav-links-wrapper {
        display: none !important;
    }
    
    .user-box {
        max-width: 190px;
    
    }
    .welcome-username {
        white-space: nowrap; /* Interzice textului să treacă pe rândul următor */
        overflow: hidden; /* Ascunde textul care depășește lățimea */
        text-overflow: ellipsis;
    }
    .login-box {
        min-width: 410px !important;
        width: 410px !important;
    }
    .lookup-grid {
        width:345px !important;
    }
}
.lookup-grid {
     width:800px;
     height:300px;
}

/* 3. Asigură-te că pe desktop meniul tău vechi reapare */
@media (min-width: 768px) {
    .nav-links-wrapper {
        display: block !important;
    }
    
    /* Ascunde sidebar-ul dacă fereastra este lărgită manual */
    .sidenav {
        display: none !important;
    }
}


