.template-name.heading {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

::ng-deep {
    .ui-inputswitch {
        height: 18px;
        width: 36px !important;
        overflow: visible;
        background-color: #9e9e9e;
        border-color: #9e9e9e;
        -moz-border-radius: 8px;
        -webkit-border-radius: 8px;
        border-radius: 8px;
    }

    .ui-inputswitch-slider {
        &:before {
            border-radius: 50%;
            position: absolute;
            content: "";
            height: 15px;
            width: 15px;
            left: 1px;
            bottom: 0;
            background-color: white;
            transition: .4s;
        }
    }
}

.w-80 {
    width: 80% !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.w-100 {
    width: 100% !important;
}

.no-border {
    border: 0 !important;
}

.h-60 {
    height: 60px;
}

/* Panel Styling */

.messaging {
    .ui-panel {
        .ui-panel-content {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
    }

    .ui-chkbox {
        margin-top: 20px;
    }

    .ui-dropdown {
        margin-top: 6px;
    }
}

.postStage {
    .ui-panel {
        margin-bottom: 10px;
    }
}

.ui-panel {
    margin-right: auto;
    margin-left: auto;

    .ui-panel-titlebar {
        height: 90px;
        border-radius: 5px 5px 0 0 !important;
        padding: 2em 1em !important;
        background-color: #4E5258;
        align-items: center;
        border-bottom: 0 !important;
        width: 100%;

        .ui-panel-title {
            color: #FFFFFF;
            font-size: 20px;
            padding-left: 40px;
        }
    }

    .ui-panel-content {
        background-color: white;
        padding-left: 3em;
        padding-right: 3em;
    }
}

/* End panel styling */

/* Overriding switch input styles */

.ui-inputswitch-slider:before {
    height: 16px !important;
    width: 18px !important;
    left: 4px !important;
    background: white;
    top: 2px;
}

.ui-inputswitch {
    height: 20px !important;
    width: 40px !important;
    border-color: #667281 !important;
    background-color: #667281 !important;
    border-radius: 34px !important;
    margin-bottom: 5px;
    margin-left: 8px;

    &.ui-inputswitch-checked {
        background-color: #67b413 !important;
        border-color: #67b413 !important;

        .ui-inputswitch-slider:before {
            transform: translateX(0.8em);
        }
    }
}

/* End styling switchInput */

/* styling selectButton */
.ui-selectbutton {
    margin-top: 12px;
    border: solid 1px #dbdbdf;
    border-radius: 50px !important;
    width: 100%;
    display: flex;
    flex: 1 1 auto;

    .ui-button {
        width: 100%;
        border-left: solid 1px #dbdbdf;
        background: #ffffff !important;

        &:first-child {
            border-top-left-radius: 50px;
            border-bottom-left-radius: 50px;
        }

        &:last-child {
            border-top-right-radius: 50px;
            border-bottom-right-radius: 50px;
        }

        &.ui-state-active {
            span {
                color: #ffffff;
            }
        }

        span {
            color: #d14b5d;
            font-size: 12px;
            margin-top: 4px;
        }
    }
}

/* End styling select button*/

.ui-multiselect {
    border-bottom: 0 !important;
}

.dropdown-text {
    width: 75% !important;
}

.normalDropDown {
    .select2-container--open {
        z-index: 100000;
    }

    .select2-container {

        .select2-selection .select2-selection__rendered {
            background: none;
            padding-left: 10px;
        }
    }
}

.h-80 {
    height: 80px;
}

.openedFromWorkflow {
    margin-top: 0 !important;
    width: 100% !important;
}

.ui-dialog {
    &.ui-dialog-draggable {
        left: 20px !important;
        right: 20px !important;
        overflow-y: scroll;
        height: 80% !important;
    }
}

.editor {
    min-height: 100px !important;
}

body .ui-selectbutton .ui-button.ui-state-active {
    background-color: #667281 !important;
}

body .ui-selectbutton .ui-button {
    background-color: #fff !important;
}

.ui-selectbutton .ui-button span {
    color: #000 !important;
}

.ui-selectbutton .ui-button.ui-state-active span {
    color: #fff !important;
}

.mb-10 {
    margin-bottom: 10px;
}

body .ui-button {
    background-color: #667281;
}

body .ui-widget-header {
    background-color: #667281;
    border: 1px solid #667281;
}

body .ui-dropdown-panel .ui-dropdown-filter-container {
    background-color: #667281;
}
