/*	Intended to be used in every area of the Belisar CMS
	Defines styles you can rely on in every situation
*/
.select2.select2-container .select2-selection--single {
    height: auto;
}

.select2.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
}

.select2.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
}

.clickable {
    cursor: pointer;
}

.questionnaire-answers .navbar {
    position: fixed;
    border: 1px #333 solid;
    bottom: 150px;
    padding: 0;
    right: 0;
    width: auto;
    border-radius: 4px;
}

.navbar-floating li a {
    background: #413e80;
    color: #ffffff;
    padding: 15px;
    font-size: 14px;
    width: 100%;
}

.navbar-floating li a.save-required {
    background: #357ca5;
}

.questionnaire-answers .navbar-floating li {
    text-align: center;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link > .nav-icon {
    margin-left: 0.75rem;
}

a {
    color: #4497f0;
}

.page-item.active .page-link {
    background-color: #4497f0;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active, .sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #4497f0;
    color: #fff;
}

.card-primary:not(.card-outline) > .card-header {
    background-color: #9bc0e8;
}

.card-warning:not(.card-outline) > .card-header {
    background-color: #ffd965;
}

.card-danger:not(.card-outline) > .card-header {
    background-color: #a0a5ab;
}

.card-danger:not(.card-outline) > .card-header, .card-warning:not(.card-outline) > .card-header, .card-primary:not(.card-outline) > .card-header {
    color: #333;
}

.btn-primary {
    background-color: #4497f0;
    border-color: #4497f0;
}

.alert-danger {
    background-color: #f25867;
    border-color: #f25867;
}

.bg-gray, .bg-teal-active, .bg-purple-active, .bg-aqua-active, .bg-orange-active, .bg-light-blue-active {
    color: #fff;
}

.bg-aqua {
    background-color: #7fdbff;
}

.bg-blue-light {
    background-color: #4497f0;
}

.bg-success-disabled {
    background-color: #73c686;
}

.bg-yellow-light {
    background-color: #ffc107;
}

.bg-success-light {
    background-color: #dff0d8;
}

.bg-gray {
    background-color: #d2d6de !important;
}

.bg-teal-active {
    background-color: #30bbbb !important;
}

.bg-purple-active {
    background-color: #555299 !important;
}

.bg-aqua-active {
    background-color: #00a7d0 !important;
}

.bg-orange-active {
    background-color: #ff7701 !important;
}

.bg-light-blue-active {
    background-color: #357ca5 !important;
}

.bg-gray td {
    color: #000;
}

#archive_button:disabled, #archive_button[disabled] {
    background-color: #fbd974 !important;
    border-color: #fbd974 !important;
}

#brief-modal-questionnaire-heating .modal-dialog,
#heating-questionnaire-finance-consultation .modal-dialog,
#brief-modal-questionnaire-aftersales .modal-dialog,
#brief-modal-questionnaire-heating-questionnaire-finance .modal-dialog,
#brief-modal-questionnaire-heating-questionnaire-irequest .modal-dialog,
#brief-modal-questionnaire-heating-questionnaire-externalservices .modal-dialog,
#brief-modal-questionnaire-service .modal-dialog {
    max-width: 1000px;
}

.badge-counter {
    font-size: 1.25rem;
}

.badge-counter .navbar-badge {
    font-size: .75rem;
    font-weight: 400;
    padding: 4px;
}

body .list-group-item.active {
    background-color: #4497f0;
    border-color: #4497f0;
}

.main_wrapper1 .custom-select {
    background-color: #aaa;
    padding: 0;
    line-height: 1;
}

.alert-error {
    background-color: #dc3545;
    font-weight: bold;
    color: #fff;
}

/* basically used to render a td, which contains an icon, with the BG color of the current label  */
.label-box {
    width: 100%;
    height: 50px;
    text-align: center;
    font-size: 50px;
    background: rgba(0, 0, 0, 0);
}

.alert {
    font-size: 0.75rem;
}

/* basically used to render a div with the BG color of the current label
 * which contains a number an the label name
*/
.label-number {
    font-size: 2vw;
    display: table-cell;
    line-height: 4vw;
    width: 8vw;
    text-align: center;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    background-color: #222D32;
    color: #fff;
    white-space: nowrap;
}

.label-description {
    margin-top: 3px;
    padding-top: 3px;
    display: table-cell;
    vertical-align: middle;
    padding-left: 2vw;
    font-size: 1.5em;
}

.label-total {
    font-weight: bolder;
}

.label-follow-up {
    font-size: 0.5em;
    color: red;
}

.accordion-toggle .label-total {
    font-size: 0.9em;
    font-weight: normal !important;
    color: #777777 !important;
}

.accordion-toggle .label-follow-up {
    font-size: 0.7em;
    padding-left: 3px;
}

.fireArchive, a.btn-plugin-legend, #archive_button {
    color: #fff !important;
}

.timeline-body.bg-gray, .timeline-body.bg-gray > a {
    color: #333 !important;
}

#monthly-leads-table_wrapper > div, #range-leads-table_wrapper > div {
    width: 100%;
}

/** datatables pagination **/
.paginate_button a {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #4497f0;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.paginate_button a:hover {
    z-index: 2;
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.paginate_button.active a {
    z-index: 3;
    color: #fff;
    background-color: #4497f0;
    border-color: #4497f0;
}

.paginate_button.disabled a {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}

body .bootstrap-tags .tags-input {
    height: 2.5em;
}

.tags .tag > i {
    display: none;
}

.tags .tag i {
    color: #fff;
    margin-right: 5px;
}

.tags .tag a, .tags .tag {
    display: flex;
    align-items: center;
    color: #fff;
}

#tags_input .tags-input {
    width: 500px !important;
    padding-bottom: 0 !important;
}

.desc-block .fa-pen {
    color: #fff;
}

.badge-flex {
    position: relative;
    right: 10px;
    top: -10px;
    padding: 2px 4px;
    font-size: 0.6rem;
}

.badge-list i {
    font-size: 1rem;
}

.badge-list .nav-item a.nav-link {
    min-width: 55px;
    padding-left: 0;
    padding-right: 0;
}

.badge-list-wrapper {
    display: flex;
    justify-content: end;
}

body .content-wrapper {
    background-color: transparent;
}

.questionnaires-briefs-buttons div.btn {
    background-color: #fff;
    border: 1px solid #333;
}

.questionnaires-briefs-buttons span {
    color: #333;
}

.none-btn {
    padding: 2px 4px;
    border-radius: 0.15rem;
}

.tab-content {
    margin-bottom: 50px;
}

#lead-media-block .tab-content {
    margin-bottom: 0;
}

.gallery-carousel-img {
    max-width: 880px;
    max-height: 700px;
    margin: 0 auto;
}

.gallery-preview {
    display: none;
}

.lead-header-info-block {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #d2dfec;
    line-height: 1.75 !important;
    border-right: 1px solid #FFF !important;
    word-break: break-word;
    padding: 0 5px;
    text-align: center;
    cursor: pointer;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.pipline-columns {
    overflow: hidden;
}

.column-wrap {
    margin-bottom: 20px;
    padding-bottom: 100px;
    height: inherit;
    overflow-y: scroll;
}

@media only screen and (min-width: 1200px) {
    .chance-filters .col-md-2 {
        padding-right: 0;
        width: 14.066667%;
        max-width: 14.066667%;
    }

    .chance-filters .col-md-2:last-child {
        float: right;
        margin-right: 15px;
    }
}

.blue-form-one-line, .blue-form-one-line-date, .text-area-blue-form {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.blue-form-one-line, .blue-form-one-line-date {
    display: inline-block;
    height: calc(2.25rem + 2px);
}

.blue-form-one-line {
    width: 70%;
}

.blue-form-one-line:focus, .blue-form-one-line-date:focus, .text-area-blue-form:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: inset 0 0 0 transparent;
}

.blue-card-body-form label {
    min-width: 150px;
}

.phone-blue-modal-phone-text {
    margin: 0;
    font-size: 25px;
    font-weight: 600;
}

.blue_box_checkbox_label {
    color: #000000;
    display: block;
    position: relative;
    cursor: pointer;
    font-size: 17px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 20px;
    margin: 0px;
    color: black !important;
    font-weight: 600;
}

.blue_box_checkbox_label .blue_box_checkbox_input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.blue_box_checkbox_check {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: white;
    border: 1px solid #4378ba;
}

.blue_box_checkbox_label:hover {
    color: #4378ba;
}

.blue_box_checkbox_label:hover .blue_box_checkbox_input ~ .blue_box_checkbox_check {
    background-color: #c3c2c2;
    border: 1px solid #4378ba;
}

.blue_box_checkbox_label .blue_box_checkbox_input:checked ~ .blue_box_checkbox_check {
    background-color: #4378ba;
    border: 1px solid #4378ba;
}

.blue_box_checkbox_check:after {
    content: "";
    position: absolute;
    display: none;
}

.blue_box_checkbox_label .blue_box_checkbox_input:checked ~ .blue_box_checkbox_check:after {
    display: block;
}

.blue_box_checkbox_label .blue_box_checkbox_check:after {
    left: 10px;
    top: 6px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.blue_box_checkbox_box {
    display: inline-block;
    position: relative;
    vertical-align: text-top;
}

.blue_box_checkbox_div {
    margin-bottom: 5px;
}

.blue-card {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

h4.blue-card-title {
    font-weight: 600;
    background-color: #4378ba;
    color: white;
    text-align: center;
    padding: 10px;
    margin-bottom: 5px !important;
}

.blue-card-content {
    background-color: #ccd9ec;
    min-height: 140px;
}

.pad-10 {
    padding: 10px;
}

.blue-card-body {
    padding: 0px !important;
}

.white-card-text {
    margin-bottom: 0px !important;
}

.t-center {
    text-align: center;
}

.blue_box_group_border_div {
    position: relative;
    border: 1px solid #bdbdbd;
    border-radius: 9px;
    padding: 12px;
}

p.blue_box_group_border_div_p {
    margin: 0px !important;
    position: absolute;
    top: -10px;
    background-color: white;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

/* Tooltip container */
.blue_box_tooltip {
    position: relative;
    display: inline-block !important;
    opacity: 1 !important;
    z-index: unset !important;
}

/* Tooltip text */
.blue_box_tooltip .blue_box_tooltip_text {
    visibility: hidden;
    width: 300px;
    background-color: #343a40;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.blue_box_tooltip:hover .blue_box_tooltip_text {
    visibility: visible;
}

/* Blue box form errors*/
.blue-box-form-error {
    color: red;
    font-weight: 600;
}

.blue_box_switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.blue_box_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.blue_box_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.blue_box_slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .blue_box_slider {
    background-color: #2196F3;
}

input:focus + .blue_box_slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .blue_box_slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded blue_box_sliders */
.blue_box_slider.blue_box_round {
    border-radius: 34px;
}

.blue_box_slider.blue_box_round:before {
    border-radius: 50%;
}

.blue_box_switch_label_text {

    display: inline-block;
    vertical-align: sub;
    padding-left: 15px;
    font-weight: 600;

}

@media (min-width: 1200px) {
    .navigation-top-position .d-flex {
        width: 100% !important;
    }

    .navigation-top-position .questionnaire-answers {
        padding-right: 30px!important;
    }
}

.heike-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    z-index: 10;

    background-color: rgba(0,0,0,0.5); /*dim the background*/
}

.modal-heike-overlay {
    /* some styles to position the modal at the center of the page */
    position: fixed;
    top: 50%;
    left: 40%;
    padding-left: 20px;
    padding-right: 20px;
    /*width: 300px;*/
    line-height: 200px;
    height: 200px;
    margin-left: -150px;
    margin-top: -100px;
    background-color: #FFF;
    text-align: center;
    border-radius: 10px;
    /* needed styles for the overlay */
    z-index: 10; /* keep on top of other elements on the page */
    outline: 9999px solid rgba(0,0,0,0.5);
    font-size: 1.2em;
    width: 700px;
}