/* General body and html styling */
body {
    padding: 10px 15px;
}

html, body {
    height: 100%;
}

/* Color fill icon styling */
.color-fill-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid #000;
    background-color: transparent; /* Transparent for flexibility */
    margin: 2px;
}

.colorpickerplus-custom-colors,
.colorpickerplus .input-group {
    display: none;
}

.dropdown-color-fill-icon {
    position: relative;
    float: left;
    margin-left: 0;
    margin-right: 0;
}

.title-drawing-tools {
    display: none;
}

.text-drawing-tools {
    display: none;
    max-width: 1080px;
    margin-bottom: 20px;
}

#chart-container {
    height: 550px;
}

#annotation-label {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.table-container {
    padding: 0;
    width: 100%;
    height: 100%;
}

.table-container td {
    vertical-align: top;
}

.chart-column {
    height: 100%;
}

.no-iframe #chart-container {
    width: 99%;
}

.container-drawing-tools #chart-container {
    margin-top: 0;
}

.drawing-tools-solo.container {
    margin-top: 25px;
}

.container-drawing-tools .drawing-tools-solo {
    margin: 0;
}

* {
    outline: none !important;
}

/* Adjustments for dropdown and buttons */
.select > .btn {
    font-weight: 400;
    background: transparent; /* Transparent background */
    color: inherit; /* Inherit text color */
    border: 1px solid #999; /* Neutral border color */
}

.bootstrap-select > .btn {
    width: 100%;
    padding-right: 25px;
    background: transparent; /* Transparent background */
    color: inherit; /* Inherit text color */
}

.error .bootstrap-select .btn {
    border: 1px solid #b94a48;
}

.control-group.error .bootstrap-select .dropdown-toggle {
    border-color: #b94a48;
}

.bootstrap-select.fit-width {
    width: auto !important;
}

.bootstrap-select.form-control {
    margin-bottom: 0;
    padding: 0;
}

/* Adjustments for dropdown appearance */
.bootstrap-select .dropdown-toggle {
    height: 34px;
    padding: 6px 12px; /* Adjust padding for compact look */
    font-weight: 400;
    border: 1px solid #999; /* Neutral border color */
    background: transparent; /* Transparent background */
    border-radius: 4px; /* Ensure corners are not too rounded */
    box-shadow: none; /* Remove any shadows */
    color: inherit; /* Inherit text color */
}

/* Adjusting dropdown toggle when focused or hovered */
.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select .dropdown-toggle:hover {
    outline: none !important;
    border-color: #666; /* Adjust for better contrast */
    box-shadow: none; /* Remove any focus shadows */
}

/* Dropdown menu styling */
.bootstrap-select .dropdown-menu {
    background: #444; /* Set to a medium gray */
    color: #fff; /* White text for good contrast */
    border: 1px solid #333; /* Darker gray border */
    box-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Add subtle shadow */
}

/* Styling dropdown items */
.bootstrap-select .dropdown-menu .dropdown-item {
    color: #ddd; /* Light gray for items */
    padding: 10px 15px; /* Comfortable padding */
}

/* Hover state for dropdown items */
.bootstrap-select .dropdown-menu .dropdown-item:hover {
    background: #555; /* Darker gray on hover */
    color: #fff; /* White text on hover */
}

/* Adjusting the appearance of the filter option text */
.bootstrap-select .filter-option {
    font-size: 14px; /* Ensure consistent font size */
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap; /* Prevent text from wrapping */
    color: inherit; /* Inherit text color */
}

/* Customizing dropdown color fill icon */
.dropdown-color-fill-icon {
    position: relative;
    display: inline-block; /* Ensure proper display */
    margin-left: 5px; /* Adjust margin if needed */
}

/* General button style adjustments */
.btn-group .btn {
    margin-left: 0; /* Remove margin to avoid misalignment */
    margin-right: 0; /* Remove margin to avoid misalignment */
    background: transparent; /* Transparent background */
    color: inherit; /* Inherit text color */
    border: 1px solid #999; /* Neutral border color */
}

.btn {
    border-radius: 4px; /* Adjust border radius for consistency */
    padding: 5px 10px; /* Adjust padding */
    background-color: transparent; /* Transparent background */
    border: 1px solid #999; /* Neutral border color */
    color: inherit; /* Inherit text color */
}

.bootstrap-select.btn-group .dropdown-toggle .filter-option {
    font-size: 14px; /* Consistent font size */
    text-overflow: ellipsis; /* Prevent text overflow */
    color: inherit; /* Inherit text color */
}

.filter-option {
    font-size: 14px;
    float: left;
}

.btn-group-container {
    display: inline-block;
}

.toolbar > .select-container {
    display: inline-block;
}

.select .ac {
    margin-right: 5px;
    top: -1px;
}

.bootstrap-select .dropdown-toggle:focus {
    outline: none !important;
    outline-offset: 0 !important;
}

.btn-group-vertical > .btn,
.btn-group > .btn {
    margin-left: -1px;
}

.bootstrap-select.btn-group:not(.input-group-btn),
.bootstrap-select.btn-group[class*=col-] {
    margin-left: -1px;
}

.btn-group .select.select-marker-size {
    margin-left: -5px !important;
}

.btn-group .select {
    margin-left: -1px !important;
}

.select-marker-size[disabled="disabled"] > .btn:first-child {
    opacity: 0.75;
    cursor: not-allowed;
}

.select-marker-size[disabled="disabled"] .btn.active,
.select-marker-size[disabled="disabled"]  .btn:active {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.choose-drawing-tools.bootstrap-select.btn-group ul.dropdown-menu {
    margin-right: 10px;
}

.choose-marker.bootstrap-select.btn-group ul.dropdown-menu {
    margin-right: 10px;
}

.bootstrap-select.btn-group .dropdown-toggle .filter-option {
    text-overflow: ellipsis;
}

.btn-group .btn {
    margin-bottom: 5px;
}

.btn-group .volume-btn {
    display: inline-block;
    float: none;
}

.btn-group {
    font-size: 0;
}

.ac.glyphicon {
    font-family: 'Glyphicons Halflings' !important;
}

button.dropdown-toggle {
    padding-left: 13px !important;
    padding-right: 25px !important;
}

.filter-option .ac,
.dropdown-menu .ac {
    font-size: 14px;
}

/*Loader------------------------------------------------------------------------------------------------------------------------------------*/
.anychart-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: #fff;
}

.anychart-loader .rotating-cover {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 50%;
    margin-top: -35px;
    left: 50%;
    margin-left: -35px;
}

.anychart-loader .rotating-plane {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 20%;
    border: 5px solid #1c75ba;
    margin: 0 auto;
    position: relative;
    -webkit-animation: rotateplane 3s infinite;
    animation: rotateplane 3s infinite;
}

.anychart-loader .chart-row {
    position: absolute;
    top: 10px;
    bottom: 0;
    left: 10px;
    right: 10px;
    letter-spacing: -3px;
    line-height: 0;
    font-size: 0;
    white-space: nowrap;
}

.anychart-loader .chart-row .chart-col {
    display: inline-block;
    width: 25%;
    height: 90%;
    background: #000;
    margin: 0 12.5% 0 0;
    vertical-align: bottom;
}

.anychart-loader .chart-row .chart-col.green {
    background: #26a957;
    height: 50%;
    -webkit-animation: blinkplane 1.5s infinite;
    animation: blinkplane 1.5s infinite;
}

.anychart-loader .chart-row .chart-col.orange {
    background: #ff8207;
    height: 70%;
    -webkit-animation: blinkplane 1.5s infinite 0.15s;
    animation: blinkplane 1.5s infinite 0.25s;

}

.anychart-loader .chart-row .chart-col.red {
    background: #f0402e;
    height: 90%;
    -webkit-animation: blinkplane 1.5s infinite 0.3s;
    animation: blinkplane 1.5s infinite 0.5s;
}

@keyframes rotateplane {
    0% {
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        opacity: 1;
    }
    25% {
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        opacity: 0.3;
    }
    50% {
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        opacity: 1;
    }
    75% {
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(-180.1deg);
        transform: perspective(120px) rotateX(0deg) rotateY(-180.1deg);
        opacity: 0.3;
    }
    100% {
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        opacity: 1;
    }
}

@keyframes blinkplane {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.01;
    }
    100% {
        opacity: 1;
    }
}

/*Loader End------------------------------------------------------------------------------------------------------------------------------------*/
