/* Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&display=swap');

body {
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    color: #000000;
    width: 100%;
    height: 100%;
    background: url(../images/dotted-bg.png) repeat;
}

/*Basic CSS */
.fw-500 {
    font-weight: 500;
}

.text-gray {
    color: #7E8299;
}

.w-36 {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.875em;
}

.font12 {
    font-size: 0.75rem;
}

.font13 {
    font-size: 0.81rem;
}

/*Navbar CSS */
.navbar-light .navbar-nav .nav-link {
    color: #000000;
}

.accordion-button {
    padding: 0.7rem 1.25rem;
    font-size: 13px;
}

    .accordion-button::after {
        width: 1rem;
        height: 1rem;
        background-size: 1rem;
    }

    .accordion-button:not(.collapsed) {
        background-color: #E4E6EF;
        color: #000000;
        font-weight: 500;
    }

    .accordion-button:focus {
        box-shadow: none;
    }

.left-sidebar, .right-sidebar {
    position: fixed;
    left: 0;
    width: 240px;
    height: 100%;
    transition: 1s;
    z-index: 100;
    background-color: #fff;
}

.right-sidebar {
    right: 0;
    left: initial;
    width: 290px;
}

.tool-bar {
    width: 90%;
    width: calc( 100% - 480px);
    margin: 0 auto;
    position: relative;
    padding-right: 50px;
}

.top-bar {
    min-height: 38px;
}

.btn-outline {
    border: solid 1px #ced4da;
}

    .btn-outline:hover, .btn-outline:focus {
        background-color: #ced4da;
    }

.rounded-start-0 {
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.rounded-end-0 {
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
}

.value-button {
    width: 110px;
}

    .value-button .form-control-sm {
        min-height: calc(1.3em + (0.5rem + 2px));
        padding: 0.14rem 0.5rem;
    }

    .value-button .btn-sm {
        padding: 0.15rem 0.5rem;
    }

.accordion-item {
    border-right: 0;
    border-left: 0;
}

.accordion-button-child:not(.collapsed) {
    background-color: rgba(228, 230, 239, 0.4);
}

.accordion-button:not(.collapsed)::after, .accordion-button::after {
    background-image: none;
    content: "-";
    font-size: 1.25rem;
    position: absolute;
    right: 16px;
    top: 5px;
}

.accordion-button::after {
    content: "+";
}

.accordion-button {
    padding: 0.7rem 2.5rem 0.7rem 1.25rem;
}

.accordion-button:not(.collapsed)::after {
    transform: none;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

.accordion-item:first-of-type {
    border-top: 0;
}

.accordion-item:last-of-type .accordion-collapse {
    border-top: 1px solid rgba(0,0,0,.125);
}

.btn-check:focus + .btn, .btn:focus {
    box-shadow: none;
}

.form-control:focus {
    box-shadow: none;
}

.color-picker {
    width: 14px;
    height: 14px;
    padding: 0;
    border: 0;
}

.btn-check:active + .btn-primary:focus, .btn-check:checked + .btn-primary:focus, .btn-primary.active:focus, .btn-primary:active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-primary {
    color: #fff;
    background-color: #3699FF;
    border-color: #3699FF;
}

.text-primary {
    color: #3699FF !important;
}

/* New CSS */
.tool-menu {
    background-color: #ffffff;
    border-bottom: solid 1px #E4E6EF;
    z-index: 2;
    left: 0;
    width: 100%;
    transition: all 0.5s ease-out;
}

.tool-col {
    margin: 10px 0;
    padding: 0 20px;
    border-left: solid 1px #E4E6EF;
}

    .tool-col .col-6, .tool-col .col-4 {
        margin-bottom: 10px;
    }

    .tool-col h6 {
        font-size: 13px;
        margin-bottom: 20px;
    }

.flex-3 {
    flex: 1 0 33.333333%;
    margin-bottom: 10px;
}

.flex-2 {
    flex: 1 0 50%;
    margin-bottom: 10px;
}

.flex-4 {
    flex: 1 0 25%;
    margin-bottom: 10px;
}

.middle-section {
    width: 100%;
    margin-right: auto;
    position: relative;
}

.open-sidebar {
    width: calc(100% - 250px);
}

.sidebar {
    position: fixed;
    right: -250px;
    left: inherit;
    transition: all 0.3s ease;
    width: 250px;
    height: 100%;
    transition: 1s;
    z-index: 100;
    background-color: #fff;
    border-left: solid 2px #dee2e6;
}

.row-sm {
    margin-left: -5px;
    margin-right: -5px;
}

    .row-sm > * {
        padding-left: 5px;
        padding-right: 5px;
    }

.form-control-color {
    width: 100px;
    max-width: 100px;
}

.sidebar .accordion-body {
    padding: 11px;
}

.table-custom tr:last-child td {
    border-bottom: 0;
}

.btn-dark {
    color: #fff;
    background-color: #000000;
    border-color: #000000;
}

.btn-outline-dark {
    color: #000000;
    border-color: #000000;
}

.toggle-btn {
    width: 24px;
    height: 24px;
    display: block;
    background-color: #000;
    color: #fff;
    text-align: center;
    border-radius: 15px 0 0 15px;
    position: absolute;
    left: -24px;
    top: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-active .arrow i {
    transform: rotate(180deg);
    display: block;
    margin-top: -1px;
}

.dropdown-item {
    font-size: 13px;
}

.table {
    color: #000000;
}

.dropdown-item.active, .dropdown-item:active {
    color: #000;
    text-decoration: none;
    background-color: #e9ecef;
}

.value-button-dropdown .form-control {
    width: 50px;
}

.dropdown-menu-custom[data-bs-popper] {
    margin-top: 12px;
    border-radius: 0;
    border-top: 0;
}

.add-scroll {
    /* direction: ltr; */
    max-height: 150px;
    overflow-x: auto;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #999;
}

.add-tables {
    min-width: 250px;
}
.tableeditor {
    min-width: 320px;
}
#table-color-text {
    width:85px;
}
#object-shape-editor {
    min-width:370px;
}
#object-color-id {
    display: flex;
    align-items: center;
}
.alignnumber {
    margin-bottom:2px;
}
.mrgnobj {
    margin-top: 10px;
}

.selected-icon {
    color: red; 
}

.smbtn {
    padding: 3px 6px;
    font-size: 11px;
}
.tool-col .dropdown-menu {
    min-width:inherit;
}
/* Responsive CSS */
@media (min-width: 768px) {
    .navbar-expand-md .navbar-nav .nav-link {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.6rem;
        padding-left: 0.6rem;
    }
}
