body {
    font-size: 12px;
}

table {
    border: 2px solid #efefef;
}

th {
    background-color: #efefef;
}

.checkbox {
    padding-right: 10px;
    display: inline-block;
}

.error-message {
    font-weight: bold;
    color: red;
}

.input_container {
    position: relative;
    direction: rtl;
    width: 100%;
}

.input_img {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
}

.standout {
    font-weight: bold; 
    font-size: large
}

.twitter-typeahead {
    width: 100%;
}

.slim-row td {
    padding: .3rem;
}

.loading {    
    background-color: #ffffff;
    background-image: url("../img/spinner.gif");
    background-size: 25px 25px;
    background-position: right 5px center;
    background-repeat: no-repeat;
}

.ql-container {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    font-size: 16px;
}

.ql-disabled {
    background-color: #E9ECEF;
}

.btn {
    border-radius: 2rem;
}

.btn-primary {
    color: white;
    background-color: #079dff;
    border-color: #079dff;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-warning {
    color: white;
    background-color: #e1862a;
    border-color: #e1862a;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-warning:hover {
    color: white;
}

.btn-outline-dark {
    color: lightgray;
    border-color: lightgray;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-outline-dark:hover {
    background-color: lightgray;
    border-color: lightgray;
}

.btn-outline-warning {
    color: #f08411;
    border-color: #f08411;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-outline-warning:hover {
    background-color: #e1862a;
    border-color: #e1862a;
    color: white;
}

.btn-outline-danger {
    color: red;
    border-color: red;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-outline-danger:hover {
    background-color: red;
    border-color: red;
    color: white;
}

.btn-outline-success {
    color: green;
    border-color: green;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-outline-success:hover {
    background-color: green;
    border-color: green;
    color: white;
}

.btn-outline-info {
    color: #079dff;
    border-color: #079dff;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-outline-info:hover {
    background-color: #079dff;
    border-color: #079dff;
    color: white;
}

.bg-light {
    background-color: white!important;
}

.form-group {
    margin-bottom: 0.5rem;
}

.navbar.navbar-primary .navbar-menu-wrapper {
    background: white;
    width: 300px;
}

.navbar-light .navbar-nav .nav-link {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: rgba(0,0,0,.5);
}

.dropdown:hover>.dropdown-menu {
    display: block;
}

.dropdown-menu {
    margin: -0.125rem 0 0;
}

.dropdown-item {
    border-left-width: 5px;
    border-left-color: white;
    border-left-style: solid;
    background-color: white;
    color: rgba(0,0,0,.5);
    font-size: 12px;
}

.dropdown-item:hover {
    border-left-width: 2px;
    border-left-color: royalblue;
    border-left-style: solid;
    background-color: whitesmoke;
    color: rgba(0,0,0,.5);
    font-size: 12px;
}

.dropdown-toggle::after {
    display: none;
}

.card-header {
    padding: 0.3rem 1.25rem;
}

.submenu {
    margin-left: 20px;
    /*    padding-left: 20px;*/
    margin-bottom: 5px;
    color: rgba(0,0,0,.5);
    font-size: 11px;
    font-weight: bold;
    padding-top: 5px;
}

.select2-container--default .select2-selection--multiple {
    border-color: #ced4da;
    height: 40px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #ced4da;
    height: 40px;
}

.circle {
    background: cornflowerblue;
    color: white;
    border-radius: 40px;
    width: 42px;
    height: 42px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}

.no-data-found {
    text-align: center;
    font-weight: bold;
}

.breadcrumb {
    background-color: #efefef;
}

.icheckbox_flat-blue {
    margin-right: 10px;
}

.iradio_flat {
    margin-right: 10px;
}

.counter-card {
    font-size: 30px;
    font-weight: bold;
}

.tt-query, /* UPDATE: newer versions use tt-input instead of tt-query */
.tt-hint {
    width: 396px;
    height: 30px;
    padding: 8px 12px;
    line-height: 30px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
}

.tt-query { /* UPDATE: newer versions use tt-input instead of tt-query */
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #fff;
}

.tt-menu { /* UPDATE: newer versions use tt-menu instead of tt-dropdown-menu */
    width: 422px;
    margin-top: 12px;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 3px 20px;
    line-height: 24px;
    font-size: 14px;
}

.tt-suggestion.tt-is-under-cursor { /* UPDATE: newer versions use .tt-suggestion.tt-cursor */
    color: #fff;
    background-color: #0097cf;
}

.tt-suggestion p {
    margin: 0;
}

.typeahead-item {
    border: 1px solid #ccc;
}

.typeahead-item:hover {
    background-color: #e9e9e9; 
}

.custom-legend-container {
    min-height: 500px;
    position: relative;
    margin-bottom: 45px; }
.custom-legend-container.small-chart-container {
    min-height: 310px;
    margin-bottom: 0; }
.custom-legend-container .legend-right,
.custom-legend-container .legend-top {
    position: absolute;
    width: 100%; }
.custom-legend-container .legend-right ul,
.custom-legend-container .legend-top ul {
    padding-left: 0; }
.custom-legend-container .legend-right ul li,
.custom-legend-container .legend-top ul li {
    cursor: pointer;
    margin: 10px 4px;
    color: #616161; }
.custom-legend-container .legend-right ul li span,
.custom-legend-container .legend-top ul li span {
    position: relative;
    width: 13px;
    height: 13px;
    margin-right: 15px;
    border-radius: 13px;
    color: white;
    z-index: 2;
    display: inline-block; }
.custom-legend-container .legend-right {
    top: 30%;
    left: calc(100% + 15px); }
.custom-legend-container .legend-top {
    top: 0;
    left: 0; }
.custom-legend-container .legend-top ul li {
    display: inline-block; }
.custom-legend-container .legend-top + canvas {
    position: absolute;
    top: 45px;
    height: calc(100% - 45px); }


/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin-bottom: -5px;
}

.switch input {
    display:none;
}

.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: 14px;
    width: 14px;
    left: 5px;
    bottom: 3px;
    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(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
}

.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}

.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: 10px solid transparent;
    border-left-color: red;
    margin-top: -10px;
    left: -5px;
    border-right: none; 
}

.tooltip-inner {
    white-space: pre-wrap;
}