.form-control {
    border-radius: 0;
}

#show-questionnaire {
    color: #6A6A6A;
}

#show-questionnaire > span, #secondary-issues p {
    font-weight: bold;
    margin-left: 6px;
}

i {
    font-style: normal;
}

.tab-container-tickets .tab-active {
    background-color: #F5F5F5;
    border-bottom: 0;
}

.cm-advanced-search .form-group input.form-control {
    height: 44px;
}

.case-status {
    margin: 10px 0px;
}

.regular-checkbox {
    display: none;
}

.regular-checkbox + label {
    background-color: #fafafa;
    border: 1px solid #cacece;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05);
    padding: 9px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    margin-bottom: 0px;
}

.regular-checkbox + label:active, .regular-checkbox:checked + label:active {
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px 1px 3px rgba(0,0,0,0.1);
}

.regular-checkbox:checked + label {
    background-color: #3498DB;
    border: 1px solid #3498DB;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05), inset 0px -15px 10px -12px rgba(0,0,0,0.05), inset 15px 10px -12px rgba(255,255,255,0.1);
    color: #99a1a7;
    margin-bottom: -7px;
}

.regular-checkbox:checked + label:after {
    content: '\2714';
    font-size: 14px;
    position: absolute;
    top: 2px;
    left: 3px;
    color: #99a1a7;

}

.big-checkbox + label {
    padding: 12px;
    margin-right: 5px;
    margin-bottom: -7px;
}

.big-checkbox:checked + label:after {
    color: #FFFFFF;
    font-size: 16px;
    left: 6px;
}

.tag {
    font-family: Arial, sans-serif;
    position: relative;
    font-weight: normal;
    text-transform: none;
    display: inline-block;
    margin-right: 8px;
    min-width: 50px;
    vertical-align: bottom;
}


.check-container {
    float:left;
    margin-bottom: 20px;
}

@media screen and (max-width:767px) {

    .check-container {
        float:none;
        margin-top: 10px;
    }

}

.advanced-search {
    padding: 0px 20px;
}

.advanced-search h3 {
    margin: 0px 0px 30px 0px;
}


.dataTables_filter input {
    margin-right: 20px;
    margin-bottom: 20px;
    height:44px;
    border: 1px solid #CCC;
    background: #FFFFFF;
    border-radius: 3px;
    width: 280px !important;
}

.dataTables_filter .form-control {
    vertical-align: baseline;
}

.dataTables_length {
    margin-left: 20px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #FFFFFF !important;
    border: 1px solid #FFFFFF !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.5em 0.2em !important;
}

.show-filter {
    padding-left: 0px;
    display: inline-block;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
}

.cm-form-label {
    margin-bottom: 5px;
}

.daterangepicker.dropdown-menu,
.datetimepicker.dropdown-menu {
    min-width: 0;
}

div.dataTables_wrapper div.dataTables_paginate {
    margin: 0px 20px 10px 0px !important;
}

.new-case-btn {
    margin: 20px 0px 0px 0px;
}

.new-case-btn:hover {
    color:#FFFFFF;
}

.cm-company-switcher {
 margin-top: 10px;

}

.cm-company-switcher .cm-create-drop-btn {
    background-color: #ccc;
    box-shadow: none;
}

#locking_timer, #locked_notification {
    background-color: #6D6D6D;
    bottom: 0px;
    box-shadow: 0px -2px 4px rgba(0,0,0,0.25);
    color: #FFFFFF;
    padding: 1rem;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 999;

}

.please-wait {
    font-size: 16px;
    height: 64px;
    background-color: #E67E22;
    color: #FFFFFF;
    text-align: center;
    line-height: 64px;
    margin-left: 15px;
    position: fixed;
    bottom: 0px;
    width: 100%;
    z-index: 1001;
}

#locking_timer input {
    background-color: #6D6D6D;
}

.row-note td {
    background-color: #FFFFFF;
}

.case-note {
    background-color: #F5F5F5;
    padding: 10px;
    font-style: italic;
}

.case-action-container {
    margin-bottom: 50px;
}

.highlight-td {
    font-weight: 700;
}

.highlight-td:before{
    font-family: FontAwesome;
    content: "\f148";
    display: inline-block;
    padding: 0px 6px 0px 3px;
    color: #3498DB;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);

}

.input-group-addon {
    cursor: pointer;
    background-color: #DADADA;
    line-height: 25px;
    border: 1px solid #CCCCCC;
}

/*#case-form .form-data-content {*/
    /*padding-bottom: 20px;*/
/*}*/

.form-loading {
    background-color: rgba(255,255,255,0.85);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.form-loading-gif {
    position: fixed;
    top: 320px;
    left: 0;
    right: 0;
}

div.dl-menuwrapper {
    margin-bottom: 0;
    float: none;
}

div.dl-menuwrapper div.input-group {
    position: absolute;
}

.dl-menuwrapper ul.tf-tree {
    position: absolute;
    left: 0;
    right: 0;
    top: 45px;
    max-height: 320px;
    overflow-y: auto;
}

.advanced-search .dl-menuwrapper ul.dl-menu {
    position: absolute;
    max-height: 320px;
    overflow-y: auto;
}

#case-form ul.dl-menu {
    position: absolute;
    margin-bottom: 40px;
    max-height: 320px;
}

#case-form #product-dl-menu ul.dl-menu {
    top: 42px;
}

#case-form #company-product-container {
    padding-bottom: 0px;
}

.company-products {
    margin-top: 4px;
}

.product-name-holder {
    display: block;
    background-color: #c2e6be;
    box-shadow: none;
    line-height: 40px;
    border-radius: 3px 0 0 3px;
    padding: 0 12px;
}

.product-name-holder + .input-group-addon {
    background-color: #c2e6be;
    border: none;
    margin-top: 4px;
}

.secondary-issue-list {
    margin-top: 4px;
}

input.form-control.secondary-issue-holder {
    background-color: #F3DD90;
    border: none;
    box-shadow: none;
}

input.secondary-issue-holder + .input-group-addon {
    background-color: #F3DD90;
    border: none;
}

#case-form .file-input {
    padding-bottom: 40px;
}

.field-cmcase-in_reporting {
    padding-bottom: 10px;
    color: #4A4A4A;
}


.field-cmcase-in_reporting .checkbox {
    padding-left: 0px;
    padding-right: 15px;
}

.field-cmcase-in_reporting .questionnaire {
    padding-right: 0px;
}


.field-cmcase-in_reporting .question-bubble {
    color: #777;
}

#reverse-in_reporting {
    margin-top: 2px;
}


/*
.create-field {
    padding: 0px 0px 10px 0px;
}
*/

/* Remove numeric spinner controls from Firefox to match IE behaviour */
input[type=number] {
    -moz-appearance: textfield;
}

.footer {
    margin-top: 80px;
}

.modal-content {
    box-shadow: 0 1px 4px 0px rgba(0, 0, 0, 0.10);
    padding-bottom: 10px;
}

.modal-header {
    border-bottom: none;
    position: static;
}

.secondary-issue-field {
    margin-bottom: 10px;
}

.add-issue-btn,
.add-issue-btn:hover,
.add-issue-btn:visited,
.add-issue-btn:focus {
    color:#FFFFFF;
    background-color: #65BA5A;
    box-shadow: inset 0px -1px 0px 0px rgba(0,0,0,0.20);
    height: 40px;
}

.location-searching {
    position: absolute;
    left: 15px;
    right: 15px;
    margin-top: -6px;
    z-index: 22;
}

.no-locations {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 22;
}

.location-list {
    position: absolute;
    z-index:21;
    font-size:11px;
    width: 100%;
    max-height:300px;
    overflow-y:auto;
    background-color: #FFFFFF;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.location-list-item {
    position: relative;
    display: block;
    padding: 10px 15px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    color: #4a4a4a;
}

.location-list-item:hover {
    background-color: #f9f9f9;
    color: #4a4a4a;
}

#suggested-locations {
    top: -6px;
}

.find-address-btn {
    color: #FFFFFF;
    background-color: #60AADC;
    box-shadow: inset 0px -1px 0px 0px rgba(0,0,0,0.20);
    height: 40px;
}

.browse-btn {
    cursor: pointer;
    background-color: #DADADA;
    line-height: 25px;
    height: 40px;
    border: 1px solid #CCCCCC
}

.modal-dialog {
    margin: 220px auto;
}

.cm-create-drop-btn {
    color: #4A4A4A;
    position: relative;
    text-decoration: none;
    padding: 2px 14px 2px 14px;
    background: #EEEEEE;
    box-shadow: 0 2px rgb(162, 162, 162);
    border-radius: 3px;
    display: inline-block;
    margin: 0px 0px 20px 0px;
    line-height: 40px;
    font-size: 13px;
}

.cm-create-drop-btn:active {
    box-shadow: none;
    top: 2px;
}

.cm-create-assigned_to-drop-btn,
.cm-create-issue-drop-btn,
.cm-create-source-drop-btn {
    color: #4A4A4A;
    position: relative;
    text-decoration: none;
    padding: 0 14px;
    background: #EEEEEE;
    display: inline-block;
    margin: 0px 0px 0px 0px;
    line-height: 40px;
    font-size: 13px;
    width: 100%;
    border: none;
}

.cm-create-issue-drop-btn:active,
.cm-create-source-drop-btn:active {
    box-shadow: none;
    top: 2px;
}

#wait-prompt-additional-content {
    display: inline;
}

.form-input-inactive {
    border: none;
    color: rgba(1,1,1,0.5);
    cursor: not-allowed;
}

.remove-btn {
    box-shadow: inset 0px -1px 0px 0px rgba(0,0,0,0.20);
    height:40px;
    line-height: 25px;
}

#additional-notification-note {
    background-color: cornsilk;
    padding: 14px 14px;
    border-radius: 4px;
    border: 1px solid #FFE3A2;
    margin-left: 14px;
    margin-right: 14px;
    color: #A9820D;
}

.btn-group > .button:first-child:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.btn-group > .button:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: 1px solid #FFFFFF !important;
}

.collapsible {
    /*background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAgCAYAAACinX6EAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPxJREFUeNpi/P//P8NIBkwMIxyMBsBoAIxwwEILQxkZGUlSP5AFMS1TgMpIzwISQFw2kgPgCBBfAOK8kVwI7gLi+0CcNZJrgc1A/AqIk0ZyNbgGiH8CcfRIbgcsBWIuIA4ayQ2h2UAsBcS+I7klOAXaRnAbyU3hfiA2AmKbkdwX+DeSU0AhtJF0ZCQGAKhRdAfaSBpxKQDUGHoBbRyNuFogGtoYWjcS2wGgxg87tDE04lqCvtCu8byR2BcANXYUgXjaSOwNgho5BkA8aTCPBzDSYjwOOiYoD8QPiVE/kGOCtAwAosFABgBNRoWH0nTb6MTIaACMBsDIBgABBgA88i/oqGpRJgAAAABJRU5ErkJggg==) no-repeat;*/
    background-position: 100% 50%;
    background-size: 32px 16px;
    background-color: #FFFFFF;
}

.collapsible > a:after {
    content: "\f105";
    font-family: FontAwesome;
    position: absolute;
    right: 0px;
    padding: 0px 10px 0px 20px;
    background: #FFFFFF;
}

@media screen and (max-width: 720px) {
    .case-issue-btn > .button {
        width: inherit;
        display: inline;
    }
}

.blue-button.advanced-search-submit {
    margin-bottom: 30px;
}

.cm-filter {
    display: inline-block;
    position: relative;
}

#filter-status-selector ul {
    list-style: outside none none;
    padding-left: 10px;
    white-space: nowrap;
    display:inline-block;
    max-width: none;
}

#filter-status-selector.btn-default {
    background-color: #e9e9e9;
    border: 1px solid #ccc;
    padding: 9px 12px;
}

.remuneration_voucher_preview {
    margin: 10px 0 20px;
    border-bottom: 1px solid #ccc;
}

.remuneration_voucher_preview img {
    padding: 5px;
    box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.3);
    margin: 0 0 20px;
}

#voucher-add-wrapper {
    margin-top: 10px;
}

.remove-voucher-container {
    position: absolute;
    background: #3498DB;
    padding: 9px;
    right: 15px;
    border-radius: 0px 0px 0px 10px;
    border: white;
    box-shadow: -1px 1px 2px 1px rgba(0,0,0,0.2);
}

.remove-voucher-container a {
    color: #FFFFFF;
}

.remove-voucher-icon {
    top: 3px;
    margin-right: 5px;
    float: left;
}

#voucher-dropdown {
    display: block;
}

#voucher-dropdown .cm-create-drop-btn {
    margin-bottom: 0px;
}

.question-hide {
    display: none;
}

.question-bubble {
    position: relative;
    top: 16px;
    left: 20px;
    width: 95%;
    background: #CFEAFB;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 4px -2px rgba(0,0,0,0.3);
}
.question-bubble:after {
    left: -32px;
    top: 10px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: #CFEAFB;
    border-width: 20px;
}

#case-form p {
    margin-bottom: 5px;
}

.questionnaire.input-group {
    padding-left: 15px;
    padding-right: 15px;
    float: left;
}

.question-value-holder:empty {
    display: none;
    margin-bottom:  50px;
    padding-bottom: 10px;
    border-bottom:  1px solid #aaa;
}

#add-voucher-btn {
    margin-bottom: 10px;
}

#supplementary-details>[id^="supplementary-field"] {
    margin: 0px 0px 20px 0px;
}

#secondary-issues>[id^="issue_"] {
    margin-bottom: 4px;
}

.file-input .file-preview {
    border: none;
    padding: 0px;
}

.file-preview-thumbnails .file-preview-frame {
    border: 1px solid #CCC;
    box-shadow: 0px 1px 2px 0 rgba(0,0,0,0.10);
    margin-left: 0px;
    margin-right: 20px;
}

.file-preview-image {
    max-height: 100px;
    max-width: 160px;
}

.file-preview-thumbnails .file-preview-frame:not(.file-preview-error):hover {
    box-shadow: 1px 2px 2px 0 rgba(0,0,0,0.3);
}

.attachment-list,
.template-list,
.document-list {
    list-style-type: none;
    padding-left: 0;
}

ul.attachment-list {
    max-height: 400px;
    overflow: hidden;
    overflow-y: auto;
}

ul.attachment-list li {
    padding-left: 1.3em;
}

ul.attachment-list li > div {
    display: inline-block;
}

ul.attachment-list li:before {
    content: "\F0C6";
    font-family: FontAwesome;
    display: inline-block;
    margin-left: -1.3em;
    width: 1.3em;
}

.fileUpload {
    position: relative;
    overflow: hidden;
}
.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.trash-btn {
    border: none;
    color: #3498DB;
    background-color: transparent;
}

#voucher-dropdown.open {
    margin-bottom: 100px;
}

ul.dropdown-menu.case-dropdown .action-category {
    padding: 10px 20px;
    font-size: 16px;
    color: #4a4a4a;
}

ul.dropdown-menu.case-dropdown .action-picker a {
    padding: 0 30px;
    color: #636363;

}

ul.dropdown-menu.case-dropdown {
    min-width: auto;
    border: 1px solid #e5e5e5;
    max-height: 480px;
    overflow-y: auto;
}

ul.dropdown-menu.case-dropdown li a {
    line-height: 30px;
}

.dropup ul.dropdown-menu.case-dropdown {
    margin-bottom: 14px;
}

.action-case-button + .action-selector {
    display: inline-block;
}

@media screen and (max-width: 767px) {
    .action-case-button + .action-selector {
        display: block;
    }

    .dropup ul.dropdown-menu.case-dropdown {
        bottom: inherit;
        padding-bottom: 6rem;
        margin-bottom: 12rem;
        max-width: 91vw;

    }

    .dropup ul.dropdown-menu.case-dropdown .action-picker {
        padding: 1rem 0;
    }
}

#case-form .help-block {
    font-size: 13px;
    margin-bottom: 0;
    min-height: 10px;
}

div.required label.form-label:after {
    position: absolute !important;
    font-family: FontAwesome !important;
    content: "\f005" !important;
    font-size: 10px !important;
    color: #CE201D !important;
    margin-left: 6px !important;
}

.livespell_textarea {
    resize: vertical;
    width: 100% !important;
}

.radio label, .checkbox label {
    font-weight: 600;
}

.knowledgebase-tab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  z-index: 1000;
}

.curtain {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 85%;
  background-color: #f8f9fa;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  display: none;
  z-index: 999;
}

.curtain-content {
  padding: 20px;
}

#close-curtain {
  position: absolute;
  top: 0px;
  right: 10px;
  font-size: 30px;
  color: #007bff;
  background: none;
  border: none;
  cursor: pointer;
}
