﻿body {
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    max-width: 99%;
    padding: 0 1%;
    margin-top: 50px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 400px;
}

.secondary-nav-bar {
    position: relative;
    z-index: 2;
}

.secondary-nav-bar {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #ccc;
    background-color: #f6f6f6;
    display: block;
    min-height: 35px;
    margin-bottom: 15px;
}

.other-actions.button-bar {
    display: block;
    width: 40px;
    float: right;
    height: 35px;
    border-left: 1px solid #cccccc;
}

.other-actions.button-bar .button-bar-section button {
    background: 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 7px 12px;
    margin: 0;
    border: 0;
    outline: 0;
    cursor: pointer;
}

.other-actions.button-bar .button-bar-section button i {
    font-size: 20px;
    margin: 0;
    color: #428bca; 
}

.pc {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pc-refresh-data:before {
    content: "\f01e";
}

.chat {
    list-style: none;
    margin: 0;
    padding: 0;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #B3A9A9;
}

.chat li.right {
    text-align: right;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 10px;
    float: right;
}

.chat li .chat-body p {
    margin: 0;
    color: #777777;
}

.panel .slidedown .glyphicon, .chat .glyphicon {
    margin-right: 5px;
}

.panel-body {
    overflow-y: scroll;
    height: 340px;
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}


.mappings {
    margin: 10px;
    padding: 20px;
    border: 1px dotted #cccccc;
    border-radius: 17px;
    margin-left: 0;
}

ul.tabs {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

ul.tabs li {
    background: none;
    color: #222;
    display: inline-block;
    padding: 10px 15px;
    cursor: pointer;
}

ul.tabs li.current {
    background: #ededed;
    color: #222;
}

.tab-content {
    display: none;
    background: #ededed;
    padding: 15px;
}

.tab-content.current {
    display: inherit;
}

body.dragging, body.dragging * {
    cursor: move !important;
}

.dragged {
    position: absolute;
    top: 0;
    opacity: 0.5;
    z-index: 2000;
}

.ol-container {
    min-height: 10px;
    max-height: 700px;
    padding: 0;
    overflow: auto;
    border: 1px solid #999999;
    border-radius: 5px;
}

ol.vertical {
    margin: 0 0 9px 0;
    min-height: 10px;
    padding: 5px;
}

ol.vertical li {
    display: block;
    margin: 5px;
    padding: 5px;
    border: 1px solid #cccccc;
    color: #0088cc;
    background: #ffffff;
}

ol.vertical li.placeholder {
    position: relative;
    margin: 0;
    padding: 0;
    border: none;
}

ol.vertical li.placeholder:before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    margin-top: -5px;
    left: -5px;
    top: -4px;
    border: 5px solid transparent;
    border-left-color: red;
    border-right: none;
}

ol {
    list-style-type: none;
}

ol i.icon-move {
    cursor: move;
}

ol li.highlight {
    background: #333333;
    color: #999999;
}

ol li.highlight i.icon-move {
    background-image: url("../images/glyphicons-halflings-white.png");
}

ol.nested_with_switch, ol.nested_with_switch ol {
    border: 1px solid #eeeeee;
}

ol.nested_with_switch.active, ol.nested_with_switch ol.active {
    border: 1px solid #333333;
}

ol.nested_with_switch li, ol.simple_with_animation li, ol.serialization li, ol.default li {
    cursor: pointer;
}

.switch-container {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80px;
}

.navbar-sort-container {
    height: 200px;
}

ol.nav li, ol.nav li a {
    cursor: pointer;
}

ol.nav .divider-vertical {
    cursor: default;
}

ol.nav li.dragged {
    background-color: #2c2c2c;
}

ol.nav li.placeholder {
    position: relative;
}

ol.nav li.placeholder:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-top-color: red;
    top: -6px;
    margin-left: -5px;
    border-bottom: none;
}

ol.nav ol.dropdown-menu li.placeholder:before {
    border: 5px solid transparent;
    border-left-color: red;
    margin-top: -5px;
    margin-left: none;
    top: 0;
    left: 10px;
    border-right: none;
}

.sorted_table tr {
    cursor: pointer;
}

.sorted_table tr.placeholder {
    display: block;
    background: red;
    position: relative;
    margin: 0;
    padding: 0;
    border: none;
}

.sorted_table tr.placeholder:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-left-color: red;
    margin-top: -5px;
    left: -5px;
    border-right: none;
}

.sorted_head th {
    cursor: pointer;
}

.sorted_head th.placeholder {
    display: block;
    background: red;
    position: relative;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

.sorted_head th.placeholder:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-top-color: red;
    top: -6px;
    margin-left: -5px;
    border-bottom: none;
}

[class^="icon-"],
[class*=" icon-"] {
    display: inline-block;
    width: 14px;
    height: 14px;
    *margin-right: .3em;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url('images/glyphicons-halflings.png');
    background-position: 14px 14px;
    background-repeat: no-repeat;
}

[class^="icon-"]:last-child,
[class*=" icon-"]:last-child {
    *margin-left: 0;
}

.icon-move {
    background-position: -168px -72px;
}

.right-button {
    text-align: right;
    margin-top: 26px;
}

.right-button a {
    cursor: pointer;
}

.simple_with_drop {
    border: 0px;
}

.no-drag .icon-move {
    background-position: -313px 2px;
    float: right;
    cursor: pointer;
}

label, input {
    display: block;
}

#groupname {
    margin-bottom: 12px;
    width: 95%;
    padding: .4em;
}

fieldset {
    padding: 0;
    border: 0;
    margin-top: 25px;
}

#dialog-form {
    height: 85px !important;
}

.slidedown.group span{
    font-weight: bold;
}


/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 31px;
    margin-bottom:0;
}

/* Hide default HTML checkbox */
.switch input {
    display: none;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.autoAnswerHeader{
    display:inline-block;
}

.searchAgent {
    margin-bottom: 1vh;
}

.table-fixed thead {
    width: 97%;
}

.table-fixed tbody {
    max-height: 70vh;
    overflow-y: auto;
    width: 100%;
}

.table-fixed thead, .table-fixed tbody, .table-fixed tr, .table-fixed td, .table-fixed th {
    display: block;
}

.table-fixed tbody td, .table-fixed thead > tr > th {
    float: left;
    border-bottom-width: 0;
}

.table-fixed tbody > tr > td{
    padding-top:0.4vh;
    padding-bottom: 0.1vh;
}

.spinner-container {
    display: inline-block;
    vertical-align: top;
}

.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
}

.lds-spinner div {
    transform-origin: 20px 20px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 20px;
    width: 2px;
    height: 10px;
    border-radius: 20%;
    background: #c3c3c3;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

.loadingTextBox {
    background-color: #ffffff;
    background-image: url("./images/textloading.gif");
    background-size: 25px 25px;
    background-position: right center;
    background-repeat: no-repeat;
}

.notifications.center-right{
    top:0;
    right:50%;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
