body {
    font-size: 0.9rem;
}

main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: #fff;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.bg-my {
    background-color: rgba(22, 22, 23, .8) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    font-size: 12px;
}

.navbar-dark .navbar-nav .btn {
    font-size: 12px;
}

.navbar {
    padding: 0.13rem 1rem;
}

.breadcrumb {
    background-color: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    border-radius: 0 0 3px 3px;
    font-size: 13px;
    color: #929292;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #929292;
}

h1, .h1 {
    font-size: 2.1rem;
}

.title-row {
    border-bottom: 1px solid  rgb(216, 216, 216);
    margin-bottom: 25px;
}

.text-danger {
    color: #fa243c !important;
}

.text-success {
    color: #68cc45 !important;
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
    background: #0071e3;
}

.bootstrap-switch {
    border-radius: 30px;
    border-color: #e5e5e5;
}

.title-row .form-group {
    margin-bottom: 0rem;
}

.title-row h1 {
    display: inline;
}

.title-switch .form-group {
    display: inline;
    position: relative;
    top: -3px;
    left: 10px;
}

.btn {
    border-radius: 1.25rem;
    font-size: 0.9rem;
    padding: 0.375rem 1rem;
}

.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, .show > .btn-outline-secondary.dropdown-toggle, .btn-outline-secondary:hover {
    background-color: #FF4D45;
    border-color: #FF4D45;
}

.btn-outline-secondary {
    color: #666666;
    border-color: #666666;
}

.fb-tiktok-s1-stats-index .filters {
    display: none;
}

.form-control {
    font-size: 0.9rem;
}

.btn-primary {
    background: #0071e3;
}

.kv-drp-dropdown .range-value {
    background: rgb(0, 112, 201);
    border-color: rgb(0, 112, 201);
    color: #fff;
}

.kv-drp-dropdown .kv-clear {
    color: #fff;
    display: none;
}

.kv-drp-dropdown .right-ind {
    color: #fff;
    display: none;
}

.fas {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-calendar-alt:before {
    color: #fff;
    content: "\f133"
}

.kv-drp-dropdown .left-ind, .kv-drp-dropdown .right-ind {
    z-index: 1;
}

.table-success, .table-success > th, .table-success > td {
    /*background-color: #c3e6cb;*/
    background-color: #edf5ff;
}

.badge-primary {
    background-color: #0071e3;
}

.kv-table-header {
    background: none;
}

.table-bordered > thead.kv-table-header > tr, .table-bordered > thead.kv-table-header > tr > th, .table-bordered > thead.kv-table-header > tr > td, .kv-table-header > tr, .kv-table-header > tr > th, .kv-table-header > tr > td {
    border: 1px solid rgb(216, 216, 216);
}

.table-bordered > thead.kv-table-header > tr:last-child, .table-bordered > thead.kv-table-header > tr > th:last-child, .table-bordered > thead.kv-table-header > tr > td:last-child, .kv-table-header > tr:last-child, .kv-table-header > tr > th:last-child, .kv-table-header > tr > td:last-child {
    border-right: 0;
}

.table-bordered > thead.kv-table-header > tr:first-child, .table-bordered > thead.kv-table-header > tr > th:first-child, .table-bordered > thead.kv-table-header > tr > td:first-child, .kv-table-header > tr:first-child, .kv-table-header > tr > th:first-child, .kv-table-header > tr > td:first-child {
    border-left: 0;
    border-right: 0;
}

.kv-table-header a {
    color: #1C2B33;
}

.table-bordered th, .table-bordered td {
    border: 1px solid rgb(216, 216, 216);
}

.table-bordered th:last-child, .table-bordered td:last-child {
    border-right: 0;
}

.table-bordered th:first-child, .table-bordered td:first-child {
    border-left: 0;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f5f6f7;
}

.kv-page-summary, .kv-page-summary td {
    background-color: rgb(255, 251, 235) !important;
}

tr.table-domain{
    background-color: #f5f6f7;
}

tr.table-not-active-domain {
    background-color: #fff !important;
}

.marketing-success svg{
    fill: currentcolor;
    margin-top: -3.3px;
    margin-right: 4px;
    width: 12px;
    color: rgb(0, 125, 27);
    height: 12px;
    vertical-align: middle;
}

.marketing-warning svg{
    fill: currentcolor;
    margin-top: -3.3px;
    margin-right: 4px;
    width: 12px;
    color: rgb(255, 204, 0);
    height: 12px;
    vertical-align: middle;
}

.marketing-danger svg{
    fill: currentcolor;
    margin-top: -3.3px;
    margin-right: 4px;
    width: 12px;
    color: #fa243c;
    height: 12px;
    vertical-align: middle;
}

#fbtiktoks1hourstatssearch-type_marketing_filter .btn {
    white-space: nowrap;
}

.btn-search {
    box-sizing: border-box;
    overflow: visible;
    cursor: pointer;
    color: rgb(0, 112, 201);
    padding: 0.375rem 0.6rem;
}

.btn-search svg {
    fill: currentcolor;
    width: 18px;
    height: 18px;
}

.search-filter .input-group-append {
    margin-left: -40px;
    z-index: 3;
}

.search-filter input {
    border-radius: 0.25rem !important;
}

.percent-diff {
    font-size: 12px;
}

.percent-diff img {
    top: -1px;
    position: relative;
}

@media(max-width:767px) {
    .bg-my {
        background-color: #161617 !important;
    }

    .navbar-dark .navbar-nav .nav-link {
        font-size: 28px;
    }
    
    .navbar-dark .navbar-nav .btn {
        font-size: 28px;
    }

    .navbar-dark .navbar-toggler {
        border: 0;
        color: #fff;
        padding-right: 0;
    }

    .navbar-toggler-icon {
        width: 1em;
        height: 1em;
    }

    .navbar-collapse {
        padding: 1em 2em;
    }

    .dropdown-item {
        font-size: 20px;
        color: #fff;
    }
    
    .dropdown-menu.show, .dropdown-menu {
        background: none;
    }

    .btn-group, .btn-group-vertical {
        display: inline-table;
    }
}