﻿.field-validation-error {
    color: crimson !important;
    font-size: 12px;
}

.field-validation-valid {
    display: none !important;
}

/* VALIDATION END */

menu.m-aside-menu--skin-dark .m-menu__nav > .m-menu__item.m-menu__item--open > .m-menu__link .m-menu__link-text {
    color: #a4a8c3;
}

.m-aside-menu .m-menu__nav > .m-menu__item > .m-menu__link {
    padding: 9px 15px;
}

.m-aside-menu .m-menu__nav .m-menu__section {
    padding: 0 15px;
}

/* ASIDE MENU END */
.m-brand .m-brand__logo .m-brand__logo-wrapper {
    text-decoration: none;
}

    .m-brand .m-brand__logo .m-brand__logo-wrapper span {
        color: #cacbd7;
        font-weight: bold;
        font-size: 20px;
        letter-spacing: 9px;
        text-shadow: -8px 1px 5px #51536f;
    }

    .m-brand .m-brand__logo .m-brand__logo-wrapper small {
        position: absolute;
        bottom: 15px;
        color: #868aa8;
    }

.m-aside-menu .m-menu__nav > .m-menu__item .m-menu__submenu .m-menu__item.search-bar {
    background: #323446;
    padding-top: 15px;
    padding-bottom: 15px;
}

/* LOGO END */
div.tagsinput {
    border: 1px solid #ebedf2 !important;
    border-radius: .25rem;
    overflow: hidden !important;
}

/* TAGS INPUT END */

.s-required {
    color: crimson;
}

/* REQUIRED SYMBOL END */

.form-control, .form-control[readonly] {
    border-color: #dedede;
}

.m-form .m-form__group{
    padding-top:10px;
    padding-bottom:5px;
}

.m-form .form-control-label, .m-form label{
    font-size: 0.9rem;
    font-weight: 500;
}

/* FORM END */

.m-fc-event-green {
    background: #3fd88a !important;
}


    .m-fc-event-green .fc-content:before {
        background: white !important;
    }

    .m-fc-event-green .fc-title {
        color: white !important;
    }

.m-fc-event-red {
    background: #dd5858 !important;
}

    .m-fc-event-red .fc-content:before {
        background: white !important;
    }

    .m-fc-event-red .fc-title {
        color: white !important;
    }

.fc-unthemed .fc-day-grid td:not(.fc-axis) {
    padding: .1rem .5rem;
}

.fc-unthemed .fc-event .fc-content, .fc-unthemed .fc-event-dot .fc-content {
    padding: .55rem .55rem .55rem 2rem !important;
}

/* FULL CALENDAR END */

/*body.dragging, body.dragging * {
    cursor: move !important;
}

.dragged {
    position: absolute;
    top: 0;
    opacity: 0.5;
    z-index: 2000;
}*/

table.sortable tr {
    cursor: pointer;
}

    table.sortable tr.placeholder {
        display: block;
        background: #172D44;
        position: relative;
        margin: 0;
        padding: 0;
        border: none;
    }

        table.sortable tr.placeholder:before {
            content: "";
            position: absolute;
            width: 0;
            height: 0;
            border: 5px solid transparent;
            border-left-color: #172D44;
            margin-top: -5px;
            left: -5px;
            border-right: none;
        }

/* DRAG DROP END */

/* begin::tables */

.table tbody tr td {
    vertical-align: middle;
}

/* end::tables */

/* begin::alert */

.alert.alert-transparent {
    background: none !important;
}

/* end::alert */

.btn.btn-dark {
    background: #2c2e3e;
    border-color: #43455e;
    color: #686c89;
}

    .btn.btn-dark:hover {
        background: #2c2e3e;
        border-color: #43455e;
        color: #686c89;
    }

/* BUTTONS END */

.input-dark {
    background: #2c2e3e;
    border-color: #43455e;
    color: #686c89;
}

    .input-dark:focus {
        background: #2c2e3e;
        border-color: #43455e;
        color: #686c89;
    }

/* INPUTS END */

.table-days tbody tr td a {
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    display: inline-block;
    color: black;
}

.table-days tbody tr td a.full {
    background: #ff8097;
    font-weight: 500;
}

.table-days tbody tr td a.start {
    background: linear-gradient(to bottom right, transparent 50%, #ff8097 50%);
    font-weight: 500;
}

.table-days tbody tr td a.end {
    background: linear-gradient(to top left, transparent 50%, #ff8097 50%);
    font-weight: 500;
}

/* AVAILABILITY END */

.CodeMirror {
    border: 1px solid #dedede;
    border-radius: .25rem;
}

/* CODE MIRROR END */

#node-tree-container .jstree-node.active > a > i{
    color: #4BB543;
}

#node-tree-container .jstree-node.data-layer > a > i{
    color: #2e68ad;
}

#node-tree-container .jstree-node.passive > a > i{
    color: #ffae42;
}

#node-tree-container .jstree-default .jstree-anchor {
    width: 100%;
    height: 30px;
    line-height: 30px;
    font-weight: 400;
    border-radius: 3px;
    padding-left:10px;
    padding-right:10px;
}

#node-tree-container .jstree-default .jstree-clicked{
    background: #f2f3f81;
}

#node-tree-container .jstree-node > a > i{
    line-height: 30px;
}

#node-tree-container .jstree-default .jstree-ocl{
    margin-top:1px;
}

/* NODE JSTREE END */

.m-login.m-login--2 .m-login__wrapper .m-login__container .m-login__form .m-form__group .form-control{
    border-radius: 3px;
}

/* LOGIN END */

#node-options{
    position: fixed;
    bottom: 60px;
    right: 60px;
    border-radius: 5px;
    background: white;
    padding: 17px !important;
}

#node-options a{
    color:#2b2d3e;
}

#node-options a i{
    font-size:20px;
}

/* NODE OPTIONS END */

.modal-backdrop {
    z-index: 1000 !important;
}

/* MODAL END */

.tagsinput {
    height: auto !important;
}

/* TAGS INPUT END */

#form-template-form h5 {
    margin: 0;
    color: black;
    border-bottom: 1.4px solid;
    padding: 10px 0;
    border-color: black;
    font-size: 14px;
}

/* NODE FORM */

/* begin::multi-select sectors */
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
}

.form-group select:disabled {
    background-color: #f5f5f5;
    color: #666;
}

.multi-select-container {
    position: relative;
}

.multi-select-box {
    min-height: 38px;
    padding: 6px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.multi-select-box:hover {
    border-color: #80bdff;
}

.multi-select-box.open {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.selected-items {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    flex: 1;
}

.selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background-color: #007bff;
    color: white;
    border-radius: 12px;
    font-size: 12px;
    white-space: nowrap;
}

.remove-tag {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.remove-tag:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.placeholder {
    color: #6c757d;
}

.dropdown-arrow {
    margin-left: 8px;
    transition: transform 0.2s;
}

.dropdown-arrow.rotated {
    transform: rotate(180deg);
}

.multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.multi-select-dropdown.show {
    display: block;
}

.dropdown-option {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-option:hover {
    background-color: #f8f9fa;
}

.dropdown-option.selected {
    background-color: #e3f2fd;
}

.clear-all-btn {
    padding: 8px 12px;
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    color: #dc3545;
}

.clear-all-btn:hover {
    background-color: #e9ecef;
}

/* CMS stil uyumu */
.form-group.m-form__group {
    margin-bottom: 1rem;
}

.m-input {
    border-radius: 4px;
}
/* end::multi-select sectors */