.bwsc-form-response {
    margin: 20px 0;
    border: 1px solid #eee;
    border-radius: 3px;
    display: none;
}
.bwsc-form-response p {
    padding: 10px;
    margin: 0;
}
.bwsc-form-response code {
    background: #fff;
    padding-left: 3px;
    padding-right: 3px;
}
.bwsc-form-response.error {
    color: #B14B4B;
    background: #f3d6d3;
    border-color: #d39e9e;
}
.bwsc-form-response.updated {
    background: #D3F1D3;
    color: green;
    border-color: #88C488;
}
.bwsc-form-response.warning {
    background: #f1eac8;
    color: #7e7723;
    border-color: #c1c489;

}
.bwsc-cholder .wp-editor-wrap {
    border: 1px solid #bbb;
    overflow: hidden;
}
.bwsc-cholder {
    clear: both;
    margin-bottom: 20px;
    overflow: hidden;
}
.bwsc-cholder input {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
.bwsc-cholder label {
    display: block;
    margin-bottom: 5px;
}

.bwsc-ticket-row-controls .row-actions {
    display: inline-block;
    vertical-align: middle;
}
.bwsc-ticket-row-controls .bwsc-attachment-icon {
    margin: 5px 5px 5px 0;
    vertical-align: middle;
    background: url('img/mimetypes/default.png') no-repeat 5px center;
    background-color: #f9f9f9;
    line-height: 22px;
    height: 22px;
    display: inline-block;
    font-size: 11px;
    border-radius: 2px;
    padding: 0 5px 0 25px;
}
.bwsc-ticket-row-controls .bwsc-label {
    margin: 5px 5px 5px 0;
    background: #f9f9f9;
    color: #555;
    font-size: 11px;
    display: inline-block;
    vertical-align: middle;
    padding: 0 5px;
    border-radius: 2px;
    line-height: 22px;
    height: 22px;
}
tr.alternate .bwsc-ticket-row-controls .bwsc-label {
    background: #fff;
}
.bwsc-label.bwsc-label-closure,
tr.alternate .bwsc-ticket-row-controls .bwsc-label.bwsc-label-closure {
    background: #ebffe5;
    color: #728f6f;
}
tr.alternate .bwsc-ticket-row-controls .bwsc-attachment-icon {
    background-color: #fff;
}
/** Content Styling */
.bwsc-ticket-content {
    overflow: auto;
}
.bwsc-ticket-content ul,
.bwsc-reply-content ul {
    list-style: disc;
    margin-left: 2em;
}

.bwsc-ticket-content pre,
.bwsc-reply-content pre {
    background: #f8f8f8;
    padding: 5px 10px;
    border-left: 3px solid #ddd;
}
.bwsc-ticket-content h1,
.bwsc-ticket-content h2,
.bwsc-ticket-content h3,
.bwsc-ticket-content h4,
.bwsc-reply-content h1,
.bwsc-reply-content h2,
.bwsc-reply-content h3,
.bwsc-reply-content h4 {
    font-size: 100%;
    font-weight: bold;
}


/** REPLIES */
.bwsc-reply-form {
    position: relative;
}
.bwsc-loading-bar > span {
    margin-bottom: 20px;
    display: block;
    font-size: 11px;
    color: #999;
}
.bwsc-loading-holder {
    padding-top: 100px;
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    background: rgba(255,255,255,0.8);
}
.bwsc-reply-form .bwsc-loading-holder {
    padding-top: 170px;
}
@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform:rotate(360deg);
    }
}
.bwsc-loading-bar:before {
        height: 2em;
        width: 2em;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -1em;
        margin-top: -1em;
        display: block;
        -webkit-animation: spin 1s ease-in-out infinite;
        -moz-animation: spin 1s ease-in-out infinite;
        animation: spin 1s ease-in-out infinite;
        content: "";
        background: url('img/loader.svg') center center;
        background-size: cover;
        line-height: 1;
        text-align: center;
        font-size: 2em;
        color: rgba(#000,0.75);
        opacity: 0.75;
}
.bwsc-loading-bar span{display: none;}
.bwsc-reply-loading.bwsc-loading-bar {
    display: none;
}
.bwsc-reply {
    overflow: hidden;
    position: relative;
    min-height: 60px;
}
.bwsc-reply-avatar {
    position: absolute;
    top: 0;
    left: 0;
}
.bwsc-reply-main {
    margin-left: 60px;
}
.bwsc-reply-head {
    border-bottom: 1px solid #eee;
    background: #f8f8f8;
    padding: 5px;
}
.bwsc-reply-head .dashicons {
    float: right;
    cursor: pointer;
}
.bwsc-reply-head .dashicons:hover {
    color: #1e8cbe;
}
#bwsc-replies-no-more {
    display: none;
    color: #888;
    text-align: center;
    padding: 10px;
}
#bwsc-replies-load-more {
    text-align: center;
    padding: 10px;
    padding-top: 20px;
    clear: both;
    display: block;
}
.bwsc-reply-meta {
    border: 1px solid #eee;
    background: #f8f8f8;
    padding: 5px;
    margin-top: 20px;
}
.bwsc-reply-meta ul {
    padding: 0;
    margin: 0;
    overflow: hidden;
    display: inline-block;
    list-style: none;
    vertical-align: top;
}
.bwsc-reply-meta ul li {
    margin: 3px;
    display: inline-block;
    line-height: normal;
}
.bwsc-reply-meta ul li img {
    vertical-align: middle;
}
.bwsc-reply-content {
    padding: 15px 5px;
}
.bwsc-staff-ribbon {
    background: #1e8cbe;
    color: #fff;
    text-align: center;
    font-size: 12px;
    height: auto;
    border-radius: 2px;
    margin-top: 5px;
    padding: 3px 0;
    line-height: 12px;
}

/** Uploader **/
.bwsc-uploader {

}
.bwsc-uploader.bwsc-uploader-compact  {
    padding: 10px 0;
}
.bwsc-uploader ul.bwsc-uploader-files {
    list-style: none;
    padding: 0;
    overflow: hidden;
    margin: 0;
}
.bwsc-uploader ul.bwsc-uploader-files li {
    display: block;
    float: left;
    width: 128px;
    height: 80px;
    border: 1px solid #eee;
    position: relative;
    text-align: center;
    overflow: hidden;
    background: #f8f8f8;
    margin: 0;
    margin-right: 5px;
    margin-bottom: 5px;
}
.bwsc-uploader.bwsc-uploader-compact ul.bwsc-uploader-files li {
    width: auto;
    height: auto;
    background: none;
    border: 1px solid #ddd;
}
.bwsc-uploader.bwsc-uploader-compact ul.bwsc-uploader-files li a {
    text-decoration: none;
}
.bwsc-uploader ul.bwsc-uploader-files li input {
    position: absolute;
    left: -9000px;
}

.bwsc-uploader ul.bwsc-uploader-files li span {
    position: absolute;
    font-size: 13px;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    background: rgba(255,255,255,0.5);
    padding: 5px;
    word-break: break-all;
    color: #777;
}
.bwsc-uploader.bwsc-uploader-compact ul.bwsc-uploader-files li span {
    position: relative;
    left: auto;
    bottom: auto;
    top: auto;
    right: auto;
    background: transparent;
    padding: 8px 10px;
    display: block;
}
.bwsc-uploader ul.bwsc-uploader-files li.bwsc-uploader-browse {
    cursor: pointer;
}
.bwsc-uploader ul.bwsc-uploader-files li.bwsc-uploader-browse:hover {
    background: #fdfdfd;
}
.bwsc-uploader ul.bwsc-uploader-files li i.dashicons.mainicon {
    font-size: 30px;
    width: 30px;
    height: 30px;
    display: block;
    text-align: center;
    top: 10px;
    left: 50%;
    margin-left: -15px;
    position: absolute;
    color: #ddd;
}
.bwsc-uploader.bwsc-uploader-compact ul.bwsc-uploader-files li i.dashicons.mainicon {
    display: none;
}
.bwsc-uploader ul.bwsc-uploader-files li i.dashicons.dashicons-no {
    position: absolute;
    right: 0;
    top: 0;
    width: 20px;
    height: 20px;
    text-align: center;
    background: #fff;
    cursor: pointer;
    display: none;
    z-index: 5;
}
.bwsc-uploader.bwsc-uploader-compact ul.bwsc-uploader-files li i.dashicons.dashicons-no {
    height: 18px;
}
.bwsc-uploader ul.bwsc-uploader-files li:hover i.dashicons.dashicons-no {
    display: block;
}
.bwsc-window {
    margin-bottom: 30px;
}
.bwsc-ticket-sidebar .bwsc-ticket-id {
    font-weight: bolder;
    text-align: center;
    background: #f2f2f2;
    display: block;
    padding: 3px 0;
    border-radius: 2px;
    line-height: normal;
}
.bwsc-ticket-sidebar .bwsc-window {
    border: 1px solid #ddd;
    background: #f8f8f8;
    padding: 10px;
}
.bwsc-window table td,
.bwsc-window table tr,
.bwsc-window table th,
.bwsc-window table {
    border: none;
    margin: 0;
}
/** TICKET PREVIEW PAGE **/
.bwsc-ticket-preview {
    overflow: hidden;
    clear: both;
}
.bwsc-ticket-preview .bwsc-ticket-main {
    float: left;
    vertical-align: top;
    width: 65.104166667%;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}
.bwsc-ticket-preview .bwsc-ticket-sidebar {
    float: right;
    vertical-align: top;
    width: 26.041666667%;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}
.bwsc-separator {
    height: 1px;
    margin: 20px 0;
    clear: both;
    background: #ddd;
}
.bwsc-ticket-preview .bwsc-title {
    font-weight: normal;
    margin: 0;
    line-height: normal;
}
.bwsc-ticket-preview .bwsc-title span {
    display: block;
    font-size: 13px;
    font-style: italic;
    margin-top: 5px;
    color: #888;
}
.bwsc-ticket-preview .wp-editor-tools select {
    margin-bottom: 0;
    padding: 3px 2px;
    vertical-align: top;
}
.bwsc-ticket-preview .wp-editor-tools button {
    vertical-align: top;
    margin-bottom: 0;
}
.bwsc-ticket-preview .wp-editor-container {
    border: 1px solid #ddd;
    overflow: hidden;
}
.bwsc-eot {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
}
.bwsc-eot:before {
    content: '';
    width: 100%;
    height: 2px;
    background: #f1f1f1;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
}
.bwsc-eot span {
    background: #f1f1f1;
    position: relative;
    display: inline-block;
    font-size: 11px;
    padding: 3px 10px;
    font-weight: bold;
}
.bwsc-ticket-content p,
.bwsc-reply-content p {
    margin-bottom: 10px;
}
.bwsc-status {
    display: inline-block;
    padding: 3px 10px;
    line-height: normal;
    font-weight: bold;
    border-radius: 2px;
    color: #fff;
}
.bwsc-status.bwsc-status-queue {
    background: #9AD15F;
}
.bwsc-status.bwsc-status-open {
    background: #52A7D8;
}
.bwsc-status.bwsc-status-closed {
    background: #D15F5F;
}
.bwsc-priority-badge {
    display: inline-block;
    padding: 3px 10px;
    line-height: normal;
    border-radius: 2px;
}
/** Popups */
.bwsc-popup-bg {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(0,0,0,0.3);
    display: none;
}
.bwsc-popup {
    z-indeX: 100000;
    position: absolute;
    top: 100px;
    left: 50%;
    background: #fff;
    border: 5px solid #1e8cbe;
    box-shadow: 0 0 0 5px rgba(255,255,255,0.3);
    width: 600px;
    margin: 0 0 0 -320px;
    padding: 10px;
    display: none;
}
.bwsc-popup.bwsc-request-closure-popup {
    width: 400px;
    margin-left: -220px;
}
.bwsc-popup .bwsc-popup-header {
    font-weight: bold;
    font-size: 16px;
    line-height: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.bwsc-popup .bwsc-popup-controls {
    padding: 10px;
    margin: -10px;
    margin-top: 15px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
    text-align: right;
}
.bwsc-popup .bwsc-popup-x {
    position: absolute;
    background: #1e8cbe;
    display: block;
    width: 20px;
    height: 20px;
    right: 10px;
    top: 10px;
    color: #fff;
    cursor: pointer;
}
.bwsc-popup .bwsc-popup-x:hover {
    color: #1e8cbe;
    background: #ddd;
}

.admin-color-blue .bwsc-popup-x,
.admin-color-blue .bwsc-edit-mode-notice,
.admin-color-blue .bwsc-staff-ribbon { background: #e1a948; }
.admin-color-blue .bwsc-popup-x:hover { color: #e1a948; }
.admin-color-blue .bwsc-popup { border-color: #e1a948; }

.admin-color-coffee .bwsc-popup-x,
.admin-color-coffee .bwsc-edit-mode-notice,
.admin-color-coffee .bwsc-staff-ribbon { background: #bf9878; }
.admin-color-coffee .bwsc-popup-x:hover { color: #bf9878; }
.admin-color-coffee .bwsc-popup { border-color: #bf9878; }

.admin-color-ectoplasm .bwsc-popup-x,
.admin-color-ectoplasm .bwsc-edit-mode-notice,
.admin-color-ectoplasm .bwsc-staff-ribbon { background: #a3b745; }
.admin-color-ectoplasm .bwsc-popup-x:hover { color: #a3b745; }
.admin-color-ectoplasm .bwsc-popup { border-color: #a3b745; }

.admin-color-midnight .bwsc-popup-x,
.admin-color-midnight .bwsc-edit-mode-notice,
.admin-color-midnight .bwsc-staff-ribbon { background: #dd362d; }
.admin-color-midnight .bwsc-popup-x:hover { color: #dd362d; }
.admin-color-midnight .bwsc-popup { border-color: #dd362d; }

.admin-color-ocean .bwsc-popup-x,
.admin-color-ocean .bwsc-edit-mode-notice,
.admin-color-ocean .bwsc-staff-ribbon { background: #9ebaa0; }
.admin-color-ocean .bwsc-popup-x:hover { color: #9ebaa0; }
.admin-color-ocean .bwsc-popup { border-color: #9ebaa0; }

.admin-color-sunrise .bwsc-popup-x,
.admin-color-sunrise .bwsc-edit-mode-notice,
.admin-color-sunrise .bwsc-staff-ribbon { background: #dd823b; }
.admin-color-sunrise .bwsc-popup-x:hover { color: #dd823b; }
.admin-color-sunrise .bwsc-popup { border-color: #dd823b; }

.bwsc-toolbar{
    background: #eee;
}
.bwsc-filters{
    margin-top: 20px;
    color: #999;
}
.bwsc-search-box{
    text-align: right;
    padding: 0;
}
/** Tabs **/
.bwsc-tabs {
    overflow: hidden;
    padding: 0;
    margin: 0;
    list-style: none !important;
    border-left: 1px solid #eee;
    /*border-bottom: 1px solid #eee;*/
}
.bwsc-tabs li {
    float: left;
    padding: 7px 15px;
    font-size: 16px;
    font-weight: lighter;
    background: #f8f8f8;
    border-right: 1px solid #eee;
    border-top: 1px solid #eee;
    cursor: pointer;
    margin: 0;
    margin-bottom: -1px;
    color: #888;
}
.bwsc-tabs li.active,
.bwsc-tabs li.active:hover {
    background: #fff;
    color: #2ea2cc;;
}
.bwsc-tabs li:hover {
    color: #000;
}
.bwsc-subtabs {
    overflow: hidden;
    margin: 15px 0 20px 0;
    padding: 0;
    list-style: none !important;
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.bwsc-subtabs li {
    float: left;
    padding: 5px 15px;
    font-size: 13px;
    font-weight: lighter;
    background: #f8f8f8;
    border-right: 1px solid #eee;
    border-top: 1px solid #eee;
    cursor: pointer;
    margin: 0;
    margin-bottom: -1px;
    color: #888;
}
.bwsc-subtabs li.active,
.bwsc-subtabs li.active:hover {
    background: #fff;
    color: #2ea2cc;;
}
.bwsc-subtabs li:hover {
    color: #000;
}
tr.deps-for-deletion td {
    padding: 0;
}

/** Tickets Table */
.bwsc-ticket-list {
    position: relative;
}
.bwsc-ticket-list table {
    border: 1px solid #eee;
    clear: both;
}
.bwsc-ticket-list table td,
.bwsc-ticket-list table th {
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 5px;
    text-align: center;
}
.bwsc-ticket-list table .alternate td,
.bwsc-ticket-list table .alternate th {
    background: rgba(0,0,0,0.02);
}
.bwsc-ticket-list table thead a,
.bwsc-ticket-list table tfoot a {
    text-decoration: none;
    color: inherit;
}
.bwsc-ticket-list table .column-date_created {
    text-align: right;
}
.bwsc-ticket-list table .column-subject {
    text-align: left;
}
.bwsc-ticket-list table .bwsc-no-items {
    text-align: left;
}
.bwsc-ticket-list .tablenav {
    overflow: hidden;
    float: left;
}
.bwsc-ticket-list .bwsc-tab-content .tablenav  {
    float: right;
}
.bwsc-clear {
    clear: both;
}
/* Pagination */
.bwsc-pagination {
    display: block;
    overflow: hidden;
    padding: 3px 0;
    margin-bottom: 5px;
    color: #999;
}
.bwsc-pagination .pagination-links a {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    background: #eee;
    border: 1px solid #ddd;
    padding: 6px 10px;
    line-height: 15px;
    text-decoration: none !important;
    font-size: 15px;
}
.bwsc-pagination .pagination-links a:hover {
    background: #fff;
    border-color: #eee;
}
.bwsc-pagination input[type="text"] {
    border-radius: 0;
    line-height: 15px;
    margin: 0;
    text-align: center;
    padding: 3px 5px;
    font-size: 15px;
}

.bwsc-pagination .paging-input {
    margin: 0 5px;
}

.bwsc-ticket-list select, .bwsc-ticket-list input{width: auto !important;}
.bwsc-ticket-list label strong{font-size: 12px; margin-left: 8px;}