﻿body {
}
body.side-panel-visible {
    overflow:hidden;
}
a {
    color: #0198D7;
}

.btn-secondary {
    background-color: #6D277D;
}
.btn-secondary.focus, .btn-secondary:focus, .btn-secondary:hover {
    background-color: #552a6b;
}
.btn-warning {
    background-color: #F3AF11;
}


.btn + a:not(.btn) {
    margin-left:2rem;
}


.page-item.active .page-link {
    background-color: #0198D7;
}
.campaign-name-wrap {
    max-width: 40vw;
    display: inline-block;
    word-break: break-all;
}
.progress-bar {
    background-color: #0198D7;
}
select.form-control {
    padding-top: 6px;
    padding-bottom: 6px;
    background-color: #fff !important;
    appearance: auto;
}
select.form-control.inline {
    display:inline;
    width:auto;
}

.title-box {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.title-box h3 {
    margin-right:1rem;
}
.title-box .btn-gray {
    background: #E6E4E5;
}
.title-box > .btn-group {
    box-shadow: none;
    background: #FBFBFB;
    border: 1px solid #DEE0E2;
}
.title-box .btn + .btn {
    border-left: 1px solid #DEE0E2;
}
.title-box .btn-group + .btn {
    border-left: 1px solid #DEE0E2;
}
.drop-arrow {
  
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid #0000;
    border-bottom: 0;
    border-left: 0.3em solid #0000;
}
.tooltip-inner {
    max-width: 400px;
}

.title-box .btn {
    position: relative;
    overflow: visible;
    white-space: nowrap;
}
.title-box .btn:hover .dropdown-menu {
    display: block;
    position: absolute;
    right: 0;
    margin-top: 5px;
    text-transform: none;
}

/** sidepanel */
#sidepanel {
    position: fixed;
    top: 0;
    right: 0px;
    height: 100%;
    width: 450px;
    z-index: 1032;
    transition: transform ease-in-out 0.3s;
    background: white;
    transform: translate(100%, 0);
}
#hubspot-messages-iframe-container {
    z-index: 1031 !important;
}

#sidepanel.visible {
    
    transform: translate(0);
    box-shadow: -5px 0 10px rgb(0 0 0 / 20%);
}
#sidepanel-header {
    background: #0198D7;
    color:white;
    display:flex;
    align-content:center;
    justify-content:space-between;
    padding:1rem;
}
#sidepanel-title {
    font-size: 25px;
    text-overflow: ellipsis;
    overflow: hidden;
}
#sidepanel-body {
    padding: 1rem;
    overflow: auto;
    max-height: calc(100% - 72px);
}

#sidepanel-header a.sidepanel-close {
    font-size: 25px;
    cursor: pointer;
    color:white;
}


#toast-wrap {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index:1032;
}
.toast {
    margin-bottom:0.5rem;
}
.toast-header {
    background-color: #0000;
}
.toast-body a {
    color:white;
    text-decoration:underline;
}

.nav-link i{
    font-size:30px;
}

.nav-item.nav-icon {
    display: flex;
    align-items: center;
    margin:0.5rem;
}

.nav-item.nav-icon a {
    display: flex;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
li.user-letter {
    border-radius: 100%;
    border: 3px solid white;
    border-top-color: #F3AF11;
    border-right-color: #6D277D;
    border-bottom-color: #719E35;
    border-left-color: #0198D7;
}
a.user-letter {
    background: #717171;
    border-radius: 100%;
    border:2px solid white;
}

.data-table-wrap {
    /*
    overflow-x: auto;
    width: calc(100% - 0.75rem);
        */
    margin-bottom: 1rem;
}

.data-table-wrap th, .data-table-wrap td {
    vertical-align: middle;
}
.data-table-wrap th {
    background: #fff;
    position:relative;
}
 

#mainmenu {
    background: #F3F3F3;
}

#mainmenu-ul {
    text-align: center;
    margin: auto;
    list-style: none;
}

#mainmenu-ul > li > a {
    color: #394753;
    padding: 0 40px;
    font-size: 18px;
    line-height: 33px;
    display: inline-block;
    border: 1px solid #F3F3F3;
}
nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

nav .navbar-nav .dropdown-menu {
    margin-top: 0px;
}



#footer-push {
    height:100px;
}

@media only screen and (max-width: 768px) {
    footer {
        position:relative!important;
    }

}


.list-group-item.active, .btn-primary,
.form-check-input[type=radio]:checked:after {
    background-color: #0198D7;
    border-color: #0198D7;
}
.form-check-input:checked {
    border-color: #0198D7;
}
.btn-primary.focus, .btn-primary:focus, .btn-primary:hover,
.form-switch .form-check-input:checked[type=checkbox]:after,
.form-check-input[type=checkbox]:checked:focus,
.form-check-input:checked,
.form-check-input[type=checkbox]:checked {
    background-color: #0089C8;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #EEEEEE;
    color: #000;
}

.popover-overlay {
    position:fixed;
    background:#000;
    opacity:0.25;
    top:0;
    left:0;
    height:100%;
    width:100%;
    z-index:2;
}

.confirm-popover {
    border: 3px solid #6e6e6e;
    border-radius: 4px;
}

.red-border {
    border-color: red !important;
}
.form-control.red-border:focus {
    box-shadow:none !important;

}

/*http://www.menucool.com/tooltip/css-tooltip*/
.error-tooltip {
    display: block;
    position: absolute;
    text-align: left;
    margin-top: 15px;
}

.error-tooltip .bottom {
    white-space:nowrap;
    padding: 10px 20px;
    color: #951d32;
    background-color: #fed6dd;
    font-weight: normal;
    border-radius: 8px;
    position: absolute;
    z-index: 99999999;
    box-sizing: border-box;
    box-shadow: 0 1px 8px rgba(0,0,0,0.25);
    display: none;
}

.error-tooltip:hover .bottom, .error-tooltip.show .bottom {
    display: block;
}

.tooltip .bottom img {
    width: 400px;
}

.error-tooltip .bottom i {
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -12px;
    width: 24px;
    height: 12px;
    overflow: hidden;
}

.error-tooltip .bottom i::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    left: 50%;
    transform: translate(-50%,50%) rotate(45deg);
    background-color: #fed6dd;
    box-shadow: 0 1px 8px rgba(0,0,0,0.25);
}

.inline-editable:hover {
    border-bottom: 1px dashed gray;
    cursor: pointer;
}

.inline-editable {
    border-bottom: 1px solid white;
}


/* select2 */
.select2-container--default .select2-results > .select2-results__options {
    max-height: 400px;
}
.select2-container--default .select2-selection--single 
{
    padding-top: 4px;
    padding-bottom: 3.28px;
    height:34.8px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 1px;
}
.select2-results__option {
    word-break: break-all;
}
.select2-results .list-details {
    font-size:75%;
    color:#999;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #0089C8;
    border-color: #0089C8;
    color:white;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
    border-color:white;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    background-color: #0089C8;
    color: #f00;
    outline: none;
}
.select2-hidden-accessible {
    min-width:1px !important;
}

.select2-search.select2-search--inline {
    display: inline-block;
    vertical-align: top;
}

textarea.select2-search__field {
    height: 1rem !important;
    line-height: 1rem !important;
    margin-top:0;
}

.select2-dropdown.select2-dropdown--below {
    box-shadow: 0 20px 40px 0 rgba(0,0,0,.5) !important;
}
/* datatables */
.dataTables_paginate ul.pagination {
    justify-content: right;
}
.dataTablesInput {
    display: inline-block;
    width: auto;
    margin: 0 0.5rem;
    margin-left:0;
}

.dataTablesSelect {
    display: inline-block;
    width: auto;
    margin: 0 0.5rem;
}
.dataTables_length {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: end;
}

.dataTables_scrollBody th.sorting:after 
{
    display:none !important;  
}
.dataTables_scrollHeadInner .table {
    margin-bottom: 0;
}
th.dtfc-fixed-left {   
    z-index: 2;
}
td.dtfc-fixed-left {
    background-color: #f4f4f4 !important;
}
tr.even td.dtfc-fixed-left {
    background-color: #fff !important
}
.dataTable th.sorting:after {
        display:none;
}
.data-table-controls {
    margin-bottom:1rem;
}

.dataTable th.sorting_asc:after {
    display: none;
}
.dataTable th.sorting_desc:after {
    display:none;
}
.dataTables_wrapper {
    position:relative;
}
div.dataTables_wrapper div.dataTables_processing {
    top: 0;
}
.dataTables_processing {
    position: absolute;
    background: #1266F1;
    color: #fff;
    padding: 0.5rem;
    margin-top: 2.3rem;    
    font-size:0;
}

.dataTables_processing:after {
    content: "Filtering...";
    font-size: 1rem;
}

.data-table-buttons {
    display:none;
}
.data-table-buttons .btn, .dataTable .btn {
    box-shadow:none!important;
}
.pagination a.page-link {
    box-shadow: none !important;
}
.dataTables_processing.card {
    background: #0198D7;
}
.sorting_disabled .arrow-hack {
    display:none;
}
.table-xsmall > :not(caption) > * > * {
    padding: 0.5rem 0.25rem;
    line-height: 1.1rem;
}
/** stepper ***/
/* Steps */
.stepper .step {
    position: relative;
    min-height: 1em;
    color: gray;
}

.stepper .step + .step {
    margin-top: 1.5em
}

.stepper .step > div:first-child {
    position: static;
    height: 0;
}

.stepper .step > div:not(:first-child) {
    margin-left: 1.5em;
    padding-left: 1em;
}

.stepper .step.step-active {
    color: #4285f4
}

.stepper .step.step-active .circle {
    background-color: #4285f4;
}

/* Circle */
.stepper .circle {
    background: gray;
    position: relative;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5em;
    border-radius: 100%;
    color: #fff;
    text-align: center;
    box-shadow: 0 0 0 3px #fff;
}

/* Vertical Line */
.stepper .circle:after {
    content: ' ';
    position: absolute;
    display: block;
    top: 1px;
    right: 50%;
    bottom: 1px;
    left: 50%;
    height: 100%;
    width: 1px;
    transform: scale(1, 2);
    transform-origin: 50% -100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: -1;
}

.stepper .step:last-child .circle:after {
    display: none
}

/* Stepper Titles */
.stepper .title {
    line-height: 1.5em;
    font-weight: bold;
}

.stepper .caption {
    font-size: 0.8em;
}

/* filter box*/
.table-filter-wrap {
    position: relative;
}
.table-filter-wrap.open .search-wrap {
    box-shadow: 1px 3px 3px rgb(0 0 0 / 15%);
}

.table-filter-wrap [type="search"] {
    padding-right: 30px;
}

.table-filter-wrap [type="search"]::-webkit-search-decoration,
.table-filter-wrap [type="search"]::-webkit-search-cancel-button,
.table-filter-wrap [type="search"]::-webkit-search-results-button,
.table-filter-wrap [type="search"]::-webkit-search-results-decoration {
    display: none;
}


.table-filter-wrap.open [type="search"] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.table-filter-settings {
    background: #fff;
    border: 1px solid #BDBDBD;
    position: absolute;
    box-shadow: 1px 3px 3px rgb(0 0 0 / 15%);
    padding: 0.75rem;
    margin-top:-1px;
    z-index: 1031;
    width:100%;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    display:none;
}
.data-table-filter.open .table-filter-settings {
    display:block;
}
.table-filter-settings table {
    width: 100%;
}
.table-filter-settings td {
    padding:0.25rem 0;
}
.table-filter-settings input[type="time"] {
    padding:5px;
}

.table-filter-label {
    padding-right: 1rem;
    display: block;
}

.table-filter-wrap .btn {
    box-shadow: none !important;
}

.table-filter-settings .compare {
    width:auto;
    display:inline-block;
    margin-right:0.5rem;
}

.table-filter-icon {
    height: 30px;
    width: 30px;
    position: absolute;
    right: 10px;
    top: 2px;
    color: #666;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    border-radius: 100%;
    line-height: 23px;
}
.table-filter-icon:hover {
    background: #0198D7;
    color:#fff;
}


.table-refresh-icon {
    height: 36px;
    width: 36px;
    margin-left: 2px;
    color: #666;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.table-refresh-icon:hover {
    background: #0198D7;
    color: #fff;
}


.break-all {
    word-break: break-all;
}
.job-tag {
    display:inline-block;
    white-space:nowrap;
    padding:0 0.25rem;
    border-radius:0.25rem;
    color:white;
    font-size:0.8rem;
}
.job-tag.light { 
    color:#000;
}
.job-tag + .job-tag {
    margin-left:0.25rem;
}

.campaign-tag-list {
    display:flex;
    gap:4px;
    flex-wrap:wrap;
}

.campaign-tag-list .job-tag + .job-tag  {
    margin:0;
}


body.jangosmtp .hide-jangosmtp {
    display: none !important;
}


.ck.ck-dropdown .ck-dropdown__panel {
     z-index: 99999 !important;
}

.notification-banner {
    padding: 1em;
    position: relative;
    color: #fff;
    background-color: #5396CD;
}
.notification-banner a {
    color: #fff;
}
.notification-banner  .bannerTitle {
    font-weight: bold;
    padding-right: 0.5em;
}
.notification-banner .bannerDismiss {
    font-size: .8em;
    position: absolute;
    right: 1em;
    top: 1em;
    vertical-align: middle;
    text-align: center;
    color: #333;
    display: block;
    box-sizing: border-box;
    width: 10px;
    height: 10px;
    background: -webkit-linear-gradient(-45deg, #0000 0%, #0000 46%, #fff 46%, #fff 56%,#0000 56%, #0000 100%), -webkit-linear-gradient(45deg, #0000 0%, #0000 46%, #fff 46%, #fff 56%,#0000 56%, #0000 100%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.alert-warning {
    color: #333;
}

.accordion-borderless .accordion-item {
    border: 0;
}
.accordion-borderless .accordion-button
{
    box-shadow:none !important;
}

.badge-danger {
    background-color: #f9e1e5;
    color: #af233a;
}

.btn-secondary.disabled, .btn-secondary:disabled {
    color: #fff;
    background-color: #6D277D;
    opacity: 0.3;
}