﻿body {
}

#notificationrulesave .form-control {
    padding: 6px 6px;
    font-size: 12px;
}

.NotificationRules-header {
    margin-top: 10px;
    background-color: #f5f5f5;
    font-weight: bold;
    color: #337ab7;
}

.accordion-toggle[aria-expanded="true"]:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */
    content: "\e114"; /* adjust as needed, taken from bootstrap.css */
    float: right; /* adjust as needed */
    color: grey; /* adjust as needed */
    cursor: pointer;
}

.accordion-toggle[aria-expanded="false"]:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */
    float: right; /* adjust as needed */
    color: grey; /* adjust as needed */
    content: "\e080"; /* adjust as needed, taken from bootstrap.css */
    cursor: pointer;
}

.table > tbody > tr > td.no-padding {
    margin: 0;
    padding: 0;
}

.table-hover > tbody > tr:hover {
    background-color: #d2edfd !important;
}

    .table-hover > tbody > tr:hover > td > .icon-hide {
        visibility: visible;
    }

.icon-hide {
    visibility: hidden;
}

/* CSS used here will be applied after bootstrap.css */
.modal-header-success {
    color: #fff;
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    background-color: #5cb85c;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.modal-header-warning {
    color: #fff;
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    background-color: #f0ad4e;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.modal-header-danger {
    color: #fff;
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    background-color: #d9534f;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.modal-header-info {
    color: #fff;
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    background-color: #5bc0de;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.modal-header-primary {
    color: #fff;
    padding: 9px 15px;
    border-bottom: 1px solid #eee;
    background-color: #428bca;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.notification-rules .tab-content {
    border: 1px solid #ddd;
    border-top: 0;
}

.notification-rules .left-col {
    float: left;
    width: 180px;
    margin: 5px 10px;
    padding: 0 0 5px;
}

.notification-rules .right-col {
    float: right;
    width: 752px;
    margin: 5px 10px;
}

.notification-rules.full-width .left-col {
    display: none;
}

.notification-rules.full-width .right-col {
    width: 948px;
}
.notification-rules.full-width .mapped-events {
    width:100%;
}
.notification-rules.full-width .events input.btn-default {
    margin-left:32px;
}
#search-facets .panel-group {
    margin-bottom: 2px;
}

    #search-facets .panel-group .panel {
        border-radius: 0;
    }

#search-facets .panel-heading {
    height: 1%;
    overflow: hidden;
    font-weight: normal;
    background-image: none;
    background: #c7c4bf;
    padding: 6px 10px;
    position: relative;
    border-radius: 0;
}

#search-facets .arrow-container {
    background-position: left -802px;
    position: absolute;
    left: 5px;
    top: 5px;
    width: 13px;
    height: 13px;
    background: url(/Site/Content/Images/general-icons-sprite.gif) no-repeat left -802px;
}

#search-facets .active .arrow-container {
    background-position: left -825px;
}

#search-facets .panel-title {
    font-size: 11px;
    color: #3f3f3f;
    font-weight: bold;
    margin-left: 12px;
}

    #search-facets .panel-title a, #search-facets .panel-title a:hover {
        text-decoration: none;
    }

#search-facets .panel-body {
    padding: 7px 10px;
    font-size: 11px;
}

    #search-facets .panel-body.search {
        padding: 3px;
    }

    #search-facets .panel-body input[type='checkbox'] {
        vertical-align: -3px;
        margin-right: 3px;
    }

    #search-facets .panel-body .input-group-addon {
        padding: 0;
        font-size: 11px;
        font-weight: normal;
        line-height: 1;
        color: #555;
        text-align: center;
        background-color: #fff;
        border: 0px;
        border-radius: 0;
        width: 125px;
    }

    #search-facets .panel-body .input-group input {
        padding: 2px;
        font-size: 11px;
        background-color: #fff;
        border-radius: 0;
        border-color: #ccc;
        width: 148px;
        margin: 0 4px 0 0;
        height: 24px;
    }

#search-facets .glyphicon-search {
    background: #5d5650;
    color: #fff;
    padding: 1px 3px;
    margin-top: 1px;
    font-size: 10px;
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    -ms-filter: "FlipH";
}

.summary-title {
    font-size: 13px;
    font-weight: bold;
}

.events input.btn-default {
    width: 55px;
    margin-left: 18px;
    color: #333;
    border-radius: 3px;
}

#notificationrulesave .panel-info {
    border: none;
}

    #notificationrulesave .panel-info > .panel-heading {
        color: #333;
        background-color: #dcebfe;
        font-weight: bold;
        padding-bottom: 5px;
        padding-right: 9px;
        margin-top: 1px;
        margin-bottom: 2px;
    }

#notificationrulesave .panel-body {
    background-color: #f3f3f3;
    border: 1px solid #d1d1d1;
}

#tblNotificationRulesList tr:hover {
    background: transparent !important;
}

.glyphicon-retweet {
    font-size: 16px;
    color: #428ecc;
}

#tblmyEvents, #tblNotificationRulesList {
    border: 1px solid #ddd;
}

table#tblmyEvents.dataTable thead .sorting::after, table#tblmyEvents.dataTable thead .sorting_asc::after, table#tblmyEvents.dataTable thead .sorting_desc::after, table#tblmyEvents.dataTable thead .sorting_asc_disabled::after, table#tblmyEvents.dataTable thead .sorting_desc_disabled::after,
table#tblNotificationRulesList.dataTable thead .sorting::after, table#tblNotificationRulesList.dataTable thead .sorting_asc::after, table#tblNotificationRulesList.dataTable thead .sorting_desc::after, table#tblNotificationRulesList.dataTable thead .sorting_asc_disabled::after, table#tblNotificationRulesList.dataTable thead .sorting_desc_disabled::after {
    bottom: 8px;
    display: inline-block;
    font-family: "Glyphicons Halflings";
    opacity: 1;
    position: static;
    vertical-align: top;
}

table#tblmyEvents.dataTable thead .sorting_asc::after, table#tblNotificationRulesList.dataTable thead .sorting_asc::after {
    content: "\e253";
}

table#tblNotificationRulesList.dataTable thead .no-sort::after {
    content: " ";
}

table#tblmyEvents.dataTable thead .sorting_desc::after, table#tblNotificationRulesList.dataTable thead .sorting_desc::after {
    content: "\e252";
}

table#tblmyEvents.dataTable thead .sorting::after, table#tblNotificationRulesList.dataTable thead .sorting::after {
    content: " ";
}

table#tblmyEvents.dataTable thead, table#tblNotificationRulesList.dataTable thead {
    color: #2a73bf;
    background-color: #ececec;
}

table#tblmyEvents.dataTable th, table#tblNotificationRulesList.dataTable th {
    padding: 5px;
    border-right: 1px solid #ccc;
}

table#tblmyEvents th:last-child, table#tblNotificationRulesList th:first-child, table#tblNotificationRulesList th:last-child {
    border-right: none;
}

table#tblmyEvents .event-select {
    width: 12% !important;
}

.table-striped#tblmyEvents > tbody > tr:nth-of-type(odd), .table-striped#tblNotificationRulesList > tbody > tr:nth-of-type(odd) {
    background-color: #faf9f7;
}

.table-hover#tblmyEvents > tbody > tr:hover, .table-hover#tblNotificationRulesList > tbody > tr:hover {
    background-color: #eaf1f9;
}

table#tblmyEvents.dataTable tr > td, table#tblNotificationRulesList.dataTable tr > td {
    border-color: #f3f3f3;
    vertical-align: middle;
}

#tblmyEvents_paginate .pagination, .popup-scrollable .pagination {
    font-size: 11px;
}

.dataTables_info, dataTables_length {
    font-size: 11px;
}

@media (min-width: 768px) {
    .right-col .dataTable .form-control {
        width: 100%!important;
    }
}

#PreviewbtnModal .modal-dialog.modal-lg {
    width: 680px;
}

    #PreviewbtnModal .modal-dialog.modal-lg table {
        background: #fff!important;
    }

.accordion-toggle[aria-expanded="false"]:after {
    content: "\e250";
    color: #2a73bf;
}

.accordion-toggle[aria-expanded="true"]:after {
    content: "\e252";
    color: #2a73bf;
}

.notification-rules .popup-scrollable {
    max-height: none;
    overflow: visible;
}

.accordian-body {
    margin: 3px 10px 0 3px;
}

#ruleslist div.dataTables_length select {
    width: 65px;
    margin: 0 5px;
}

#notificationrulesave .has-feedback .form-control-feedback {
    right: 0;
}

.notification-list .alert {
    margin-bottom: 0;
}

.mapped-events {
    width: 280px;
    height: 179px;
    background: #fff;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 5px;
}

    .mapped-events > ul, .mapped-events > ul li {
        list-style-type: none;
        -webkit-padding-start: 0;
        padding-inline-start: 0;
        padding: 1px;
    }

    .mapped-events li.selected {
        background-color: #1e90ff;
        color: #fff;
        padding: 1px;
    }

    .mapped-events .fa {
        color: #337ab7;
        font-size: 14px;
        cursor: pointer;
        margin-right: 5px;
    }

    .mapped-events .selected .fa {
        color: #fff;
    }

        .mapped-events .fa.disabled, .mapped-events .selected .fa.disabled {
            color: #ccc;
        }

    .mapped-events input[type="checkbox"] {
        opacity: 0;
        position: absolute;
    }

    .mapped-events label {
        font-weight: normal;
        margin: 0;
    }

    .mapped-events a, .mapped-events a:hover {
        text-decoration: none;
    }

    .mapped-events label:focus {
        background: #2a73bf;
    }

.notification-rules.full-width
#notificationrulesave .glyphicon-pencil {
    color: #ccc;
}

.fa-address-book-o:before {
    content: "\f2ba";
}

select#NotificationEventId:focus {
    outline: transparent;
    border: 1px solid #ccc;
    box-shadow: inherit;
}

#notificationrulesave .input-group-addon {
    padding: 0;
}

#notificationrulesave .address-book-icon {
    background-image: url('./Images/sprite.png') !important;
    display: inline-block;
    background-position: -171px -123px;
    width: 25px;
    height: 26px;
    vertical-align: middle;
    margin: 0 5px 0;
}

#notificationrulesave .js-add-end-user-to-line.disabled {
    cursor:default;
}
#notificationrulesave .js-add-end-user-to-line.disabled .address-book-icon {
    opacity:0.4;
}
.modal {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

#notificationrulesave textarea {
    resize: vertical;
}

.circleloader {
    float: right;
}
.channel-error-div {
    border:1px solid #a94442;
}