.listing-title {
    color: #1a2531;
    font-size: 28px;
    font-weight: 300;
}

.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;
}

.pb-0 {
    padding-bottom: 0 !important;
}

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

.mt-80 {
    margin-top: 80px;
}

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

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

.h-60 {
    height: 60px;
}

.bg-grey {
    background-color: #e9ecef;
}

/* Listing of message and workflow templates */

.messageTemplate {
    background: #fff none repeat scroll 0 0;
    display: inline-block;
    width: 100%;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.02);
    margin-bottom: 10px;

    .messageRow {
        height: 40px;
        padding: 15px;
        display: flex;

        .templateName {
            width: 95%;
            align-self: center;
            text-overflow: ellipsis;
            word-break: break-all;
            border-left: 3px solid #03ac66;
            padding-left: 5px;

            span {
                cursor: pointer;
                font-weight: bold;
                color: #4e5258;
                font-size: 18px;
            }
        }
    }
}

/* End listing of message and workflow template styling */

/* Panel Styling */
.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: 65px 10.5% !important;
    }
}

/* 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;

    &.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 {
    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;
        }
    }
}

.h-80 {
    height: 80px;
}
