.link { cursor: pointer; }

.arpdau { color: #3C763D; }
.impressions { color: #31708F; }
.revenue { color: #2A990A; }
.weekly { color: #0A2A99; }
.yesterday_dau { color: #530A2A; }

.strong_arpdau { background-color: #DDF; }
.strong_impressions { background-color: #CFC; }
.strong_revenue { background-color: #FDE; }
.strong_weekly { background-color: #DEC; }
.strong_yesterday_dau { background-color: #CEF; }

.details { width: 100%; }

.summary td { text-align: right; }

.export:hover,
.info_block:hover,
.token-refresh {
    cursor: pointer;
}

.p-0 {padding: 0.5em!important;}
.pl-0 {padding-left: 0.5em!important;}
.m-0 {margin: 0.5em!important;}
.m-1 {margin: 1em!important;}
.mr-0 {margin-right: 0.5em!important;}
.mr-1 {margin-right: 1em!important;}
.ml-1 {margin-left: 1em!important;}
.ml-3 {margin-left: 3em!important;}
.mb-1 {margin-bottom: 1em!important;}
.mb-2 {margin-bottom: 2em!important;}

.value-set {
    font-size: 120%;
    color: #363;
}

.value-unset {
    font-size: 120%;
    color: #CCC;
}

th {
    font-size: 90%;
    text-align: center;
    background-color: #999;
    color: white;
    padding: 5px 3px !important;
}

td .option-name {
    width: 13rem;
    display: flex;
    justify-content: space-between;
}

td.value {
    width: 30%;
    text-align: left;
    font-weight: bold;
    padding-left: 10px;
}

td > span {
    padding: 3px;
    border-radius: 5px;
    font-size: 90%;
}

li:hover {
    background-color: #EEE;
}

td.config-option {
    font-size: 110%;
    font-weight: bold;
    background-color: #DDD;
}

td.config-value-name {
    font-size: 90%;
    font-weight: bold;
    text-indent: 15px;
}

td.config-value {
    word-break: break-all;
    min-width: 100px;
    text-align: center;
}

.details-table th {
    background-color: rgb(68, 114, 196);
}

.details-table thead tr:last-child th {
    background-color: rgb(207, 213, 234);
    color: black;
    font-weight: 500;
}

.details-table > tbody > tr {
    background-color: #f5f5f5;
}

.details-table > tbody > tr:nth-of-type(odd) {
    background-color: rgb(233, 235, 245);
}

.details-table th {
    border-bottom-color: white !important;
}

.details-table .subheader {
    border-bottom: 1px solid rgb(221, 221, 221) !important;
    vertical-align: middle;
    background-color: rgb(207, 213, 234);
    color: black;
    font-weight: 500;
}

.no_wrap{
    white-space : nowrap;
    overflow : hidden;
}

.navbar-nav {
    width: 100%;
    text-align: center;
}

.item-nav {
    padding-top: 1em;
}

.navbar-brand {
    float: none;
}

.nav-body {
    border: 1px solid lightgrey;
    border-top: none;
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 0px 0px 5px 5px;
}

#login-form {
    border: 1px solid grey;
    padding: 2em;
    box-shadow: 5px 10px 8px #888888;
    margin-top: 2em;
}

.app-card-field {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.app-card-field {
    justify-content: space-between;
}


.app-card-wrapper {
    display: flex;
    align-items: center;
}

.select-label {
    display: inline-flex;
}

.modal-body-header {
    display: flex;
    flex-direction: row;
}

.app-card {
    width: 100%;
    display: flex;
    align-items: center;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 0.5rem;
    padding: 0 1rem;
}

.app-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 15%;
}

.app_item_wrapper {
    padding-left: 0.25em;
    padding-right: 0.25em;
}

.app_item {
    border: 1px solid rgb(221, 221, 221);
    margin-bottom: 0.5em;
}

.summary-report {
    border: 1px solid black;
    padding: 0.8em 1.3em;
}

.summary-report p {
    display: flex;
    justify-content: space-between;
    line-height: 1.5em;
    font-size: 1.2em;
    margin: 0;
}

.summary-report-value {
    font-weight: bold;
}

.total {
    z-index: 1;
}

.total div {
    margin-top: 1.5em;
}

.total span {
    display: flex;
    justify-content: space-between;
    font-size: 1.2em;
    line-height: 1.5em;
}

.warning {
    color: #FF3030;
}

.deadline_past,
.month_owed {
    color: red;
}

.confirmed,
.all_confirmed,
.month_received {
    color: green;
}

.month_revenue {
    color: blue;
}

.fallback_importer {
    background-color: rgba(255, 0, 0, 0.5);
}

.spinner {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.opacity {
    opacity: 0.5;
}


.col-center {
    display: flex;
    align-items: center;
}

.help-icon {
    font-size: 21px;
    color: #CCC;
}

.help-icon:hover {
    color: rgba(0, 0, 0, 0.5);
}

.help-modal {
    border: 1px solid black;
    border-radius: 10px;
    background-color: #ffffff;
    width: 60%;
    position: fixed;
    z-index: 1;
    padding: 1rem;
    max-height: 70%;
    overflow: scroll;
}

.help-modal-left {
    left: 1rem;
}

.help-modal-right {
    right: 1rem;
}

.help-modal-top {
    top: 25%;
    left: 25%;
}

.close-help {
    padding: 10px;
    position: absolute;
    left: 0;
}

.modal-img {
    width: 99%;
}

#main_page_new {
    display: inline-flex;
    flex-wrap: wrap;
}

.card {
    margin: 1rem;
    border-radius: 1rem;
    height: 20rem;
    width: 20rem;
    position: relative;
}

.card img {
    width: 100%;
    height: 100%;
    opacity: 0.4;
    border-radius: inherit;
}

.card-body {
    padding: 0.5rem;
    top: 1px;
    position: absolute;
    width: 100%;
}

.card_header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 5rem;
}

.card_info {
    display: flex;
    justify-content: space-between;
    border-radius: 1rem;
    height: 11rem;
    background-color: #ffffff;
    padding: 0.5rem;
}

.card_info a,
.card_info div {
    padding: 0.5rem;
    height: 10rem;
    border-radius: 0.5rem;
    font-size: 75%;
    font-weight: 500;
}

.card_info a {
    text-decoration: none;
}

.info_block {
    width: 40%;
}

.export {
    color: #999;
}

.export_chart:before {
    vertical-align: sub;
}

.export:hover {
    color: #337ab7;
}

.info_block > section {
    border-radius: 5px;
}

.checkbox {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkbox-block {
    justify-content: flex-start;
}

.relative {
    position: relative;
}

.fixed-center {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

.chartTable th {
    font-size: 14px;
    color:dimgray;
    background-color: lightgray;
    background-image: none !important;
}
.chartTable th:first-child {
    min-width: 8rem;
}
.chart-active {
    pointer-events: auto;
    opacity: 1;
}

.chart-disable {
    pointer-events: none;
    opacity: 0.5;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: absolute;
    z-index: 999;
    display: block;
    top: 45%;
    left: 45%;
}

@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}