.layout-horizontal .header-top {
    background-color: #fff;
    padding: 0.7rem;
}
.layout-horizontal .header-top .logo img {
    height: 48px;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {color: #435ebe !important;}
.hover:hover {color:#41bbde;}

.text-mgl-dark{color: #435ebe !important;}
.text-mgl-light{color: #41bbde !important;}
.bg-mgl-dark{background-color: #435ebe !important;}
.bg-mgl-light{background-color: #41bbde !important;}
.border-mgl-dark {border-color: #435ebe !important;}
.border-mgl-light {border-color: #41bbde !important;}


.bg-semrush{background-color: #ff622d;}
.bg-seobserver{background-color: #e6800b;}
.bg-ahrefs{background-color: #2e3c56;}
.bg-majestic{background-color: #2d526d;}
.bg-sistrix{background-color: #1269d3;}
.bg-moz{background-color: #89d6f3;}
.bg-haloscan{background-color: #1e1e2d;}

.pull-right {
    float: right;
}
.page-item:first-child, .page-item:last-child {margin:0}


.table thead th {
    position: sticky;
}
.table thead th .btn-dark{
    color: white;
    background-color: #00000033;
    border: #00000033!important;
    border-radius: 0 0 0 5px;
}

.table .categories_container {
    max-height: 100px;
    overflow: overlay;
    font-size: 0.9em;
}

.links-list {
    background: #fff;
    box-shadow: 0 0 20px #666;
    border-radius: 8px;
    padding: 10px;
    position: absolute;
    left: -122px;
    top: -60px;
    z-index: 110;
}
.links-list:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0);
    border-left-color: #fff;
    border-width: 10px;
    margin-top: -10px;
}
.links-list a { display:block; }

.hidden {
    display: none !important;
}

.btn-sort-col {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 4px;
}

.select2-container--default .select2-selection--multiple {
    border-color: #dce7f1 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #41bbde33;
    border: 1px solid #41bbde;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px;
    color: #41bbde;
    font-weight: normal;
    font-size: 12px;
}
.select2-container--default .select2-search--inline .select2-search__field {
    font-size: 14px;
    margin:0;
}

.select2-container--default .select2-selection--single {
    border-radius: 0.2rem;
    font-size: .875rem;
    min-height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    background-color: #fff;
    border: 1px solid #dce7f1;
    color: #607080;
    font-weight: 400;
    line-height: 1.5;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #adb5bd;
    top: -2px !important;
    position: relative;
    left: -7px;
}



a.badge.bg-secondary:hover{color:#fff;}

.modal .modal-header .close{
    padding: 4px 10px;
}
.modal .modal-header .close:hover {
    background: #ffffff66;
}

.shake {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

.table-md.dataTable-table tr td, .table-md.dataTable-table tr th, .table-sm.dataTable-table tr td, .table-sm.dataTable-table tr th, .table.table-md tr td, .table.table-md tr th, .table.table-sm tr td, .table.table-sm tr th {
    padding: 0.5rem 0.25rem;
}

.table {
    --bs-table-striped-bg: rgba(0,0,0,0.03);
}

.table.cart .url {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 240px;
}

.alert .alert-heading {
    color: white !important;
}
.modal .white {color: white !important}

/** tooltipster **/
.tooltipster-mgl .tooltipster-box{
    border: 2px solid #41bbde;
    background: #70cfea;
    color: #fff;
}
.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background {
    border-bottom-color: #41bbde;
}

.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-background {
    border-left-color: #41bbde;
}

.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-background {
    border-right-color: #41bbde;
}

.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background {
    border-top-color: #41bbde;
}
.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border {
    border-bottom-color: #41bbde;
}
.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-border {
    border-left-color: #41bbde;
}
.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-border {
    border-right-color: #41bbde;
}
.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border {
    border-top-color: #41bbde;
}

/** Thin Scrollbar **/
.thin_scroll_bar::-webkit-scrollbar {width: 2px;}
.thin_scroll_bar::-webkit-scrollbar-track {background: #f1f1f1cc;}
.thin_scroll_bar::-webkit-scrollbar-thumb {background: #888888cc;}
.thin_scroll_bar::-webkit-scrollbar-thumb:hover {background: #41bbdecc;}

.toggle_favorite_site {
    cursor: pointer;
}

/** Majestic **/
.ttf_label
{
    font-family:Verdana,Arial,Helvetica,sans-serif;
    font-weight:700;
    border-radius:4px;
    padding:0 5px;
    display:inline-block
}

.ttf_label.arts
{
    background:#ff6700!important;
    color:#fff
}
.ttf_label.news
{
    background:#76D54B!important;
    color:#333 !important;
}
.ttf_label.society
{
    background:#7A69CD!important;
    color:#fff !important;
}
.ttf_label.computers
{
    background:#f33!important;
    color:#fff !important;
}
.ttf_label.business
{
    background:#C5C88E!important;
    color:#333 !important;
}
.ttf_label.regional
{
    background:#F582B9!important;
    color:#fff !important;
}
.ttf_label.recreation
{
    background:#89C7CB!important;
    color:#333 !important;
}
.ttf_label.sports
{
    background:#55355D!important;
    color:#fff !important;
}
.ttf_label.kids
{
    background:#fc0!important;
    color:#333 !important;
}
.ttf_label.reference
{
    background:#C84770!important;
    color:#fff !important;
}
.ttf_label.games
{
    background:#557832!important;
    color:#fff !important;
}
.ttf_label.home
{
    background:#d95!important;
    color:#fff !important;
}
.ttf_label.shopping
{
    background:#600!important;
    color:#fff !important;
}
.ttf_label.health
{
    background:#009!important;
    color:#fff !important;
}
.ttf_label.science
{
    background:#6BD39A!important;
    color:#333 !important;
}
.ttf_label.world
{
    background:#577!important;
    color:#fff !important;
}
.ttf_label.adult
{
    background:#333!important;
    color:#fff !important;
}

.ttf_label.recreation
{
    background:#89C7CB!important;
    color:#fff !important;
}


table td.site_name {
    min-width: 240px;
}
table a.site_name_value {
    text-overflow: ellipsis;
    max-width: 206px;
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
}

.loading_overlay {
    left: 0;
    top: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000000aa;
    z-index: 1000000;
    font-size: 50px;
    color: #41bbde;
    text-align: center;
}
.loading_overlay .loading_overlay_content {
    position: absolute;
    width: 100%;
    top:50%;
}

.layout-horizontal .main-navbar .submenu {
    width:300px;
}
.layout-horizontal .main-navbar .submenu .submenu-group {
    width:300px;
}

.conversation-item:hover {
    background: #41bbde33 !important;
    transition: background 0.15s, opacity 0.15s;
    cursor: pointer;
}

.conv-active {
    background: #41bbde33 !important;
    transition: background 0.15s, opacity 0.15s;
}

#conversation-list .conversation-row {
    max-width: 100%;
}

#conversation-list .conversation-item {
    min-width: 0;
    max-width: 100%;
}

#conversation-list .conversation-site-name {
    display: inline-block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.dot-unread {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #dd3254;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 4px;
}

.form-control:focus,
.btn-link:focus {
    box-shadow: none !important;
}

#conversation-list .no-result-placeholder {
    background: #fff;
}

#popup_messages {
    display: none;
    position: fixed;
    z-index: 10050;
    top: 10vh;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 !important;
    background-clip: border-box !important;
    width: 500px;
    background: rgba(255,255,255,1);
    max-height: 90vh;
    overflow-y: auto;
}
@media (max-width:600px) {
    #popup_messages { width:96vw; left:2vw; transform:none; }
}

#popup_messages .modal-content,
#popup_messages .modal-header {
    border-radius: 0 !important;
    background-clip: border-box !important;
}

.dropdown-menu {
    z-index: 2000;
}

.box_site{
    border-radius : 3px;
    border-top:16px solid #40bcde;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}
.box_site .ttf_label {
    max-width: 100%;
}
.box_site .box_site_badge{
    font-size: 12px;
    background-color: #445ec7;
    padding: 1px;
    width: 100%;
    line-height: 16px;
    border-radius:3px;
    color: #fff;
    text-align: center;
    margin: 4px 0;
}
.box_site_badge_value {
    background-color: #fff;
    color : #445ec7;
    text-align: center;
    float: right;
    width:60%;
    border-radius: 2px;
}
.fs-7 {
    font-size: 14px;
}
.fs-8 {
    font-size: 12px;
}
.fs-9 {
    font-size: 11px;
}