html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    height: auto !important;
    overflow: auto;
}

body {
    background: #f6f6f6;
    overflow: auto;
    margin: 0px;
    font-family: Arial,Geneva, sans-serif;
}

table,form,input,div,span,textarea {
    font-size: 14px;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

table.table  {
    border-collapse: collapse;
}

table.table, .table th, .table tr, .table td {
    border: 1px solid #cccccc;
    text-align: center;
}

.table td {
    min-width: 100px;
    width: auto;
    vertical-align: top;
}

.nwr{white-space:nowrap;}

table.table thead tr .header {
    background: url(sorter/bg.gif) no-repeat center right;
    cursor: pointer;
    height: 67px !important;
}

table.table tbody tr.odd td {
    background-color:#F0F0F6;
}

table.table thead tr .headerSortUp {
    background-image: url(sorter/asc.gif);
}
table.table thead tr .headerSortDown {
    background-image: url(sorter/desc.gif);
}

table.table thead tr .headerSortDown, table.table thead tr .headerSortUp {
    background-color: #00b7ea;
}

.ofh {
    overflow: hidden;
}

.left {
    text-align: left;
}
.right {
    text-align: right;
}
.center {
    text-align: center;
}

.alertContainer {
    background: #fd5454;
}

.tabContainer {
    background: #2485d0;
}

.tabControl {
    float: left;
    text-decoration: none;
    display: inline-block;
    margin: 5px 5px 0px 5px;
    padding: 5px 13px 5px 13px;
    color: #e1f1fd;
    background: #1a6197;
    -webkit-border-top-left-radius: 2px;
    -webkit-border-top-right-radius: 2px;
    -moz-border-radius-topleft: 2px;
    -moz-border-radius-topright: 2px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

.tabControl.exit,
.tabControl.build {
    float: right;
    color: #fbe9e9;
    background: #b92424;
}

.tabControl.exit:hover,
.tabControl.build:hover {
    float: right;
    color: #fbe9e9;
    background: #c62525;
}

.tabControl:hover {
    background: #9ed1f9;
    color: #2d2d2d;
}
.tabControl:focus {
    background: #9ed1f9;
    color: #2d2d2d;
}
.tabControl.sel:hover {
    /**/
}

.tabControl.sel {
    color: black;
    background: #f6f6f6;
}

.tabContent {
    background: white;
    margin: 7px 5px 5px 5px;
    /*border: 1px solid silver;*/
    box-shadow: rgba(0,0,0,.4) 0 0 2px;
    -webkit-box-shadow: rgba(0,0,0,.4) 0 0 2px;
    padding: 5px;
    width: calc(100% - 10px);
    min-height: 100%;
    overflow: auto;
}

#table-container {
    height: initial !important;
    max-height: initial !important;
    min-height: initial !important;
}

.tableStats  {
    border-collapse: collapse;
}

.tableStats, .tableStats th, .tableStats tr, .tableStats td {
    border: 1px solid #CCCCCC;
    text-align: center;
}

.tableStats td {
    min-width: 100px;
    padding: 0px 2px 0px 2px;
}

.tableStats td .f1 {
    display: inline-block;
    min-width: 35px;
    text-align: right;
    padding-left: 2px;
}
.tableStats td .f2 {
    display: inline-block;
    padding-left: 1px;
    text-align: left;
    color: #444444;
    vertical-align: middle;
    margin-top: -3px;
    font-size: 12px;
}

.tableStats .tsRow td {
    color: #00064e;
}

.tableStats .bgPU {
    background: #f4fff0;
}

.tableStats .bgPUX {
    background: #ffffdf;
}

.tableStats .tsName {
    color: black !important;
}

.tableStats .tsHeader {
    background: #f0f0f0;
}

.tableStats .tsHeader th {
    background: #f0f0f0 !important;
    font-weight: normal;
}

.tableStats .tsHeader td {
    padding-top: 3px;
    padding-bottom: 3px;
    color: black;
}

.tableStats td {
    border-right: 1px dashed gray;
    padding: 3px;
    white-space: nowrap;
}

.tableStats tr:hover {
    background: #f0f0f0;
}
.tableStats tr:hover td {
    background: #f0f0f0;
}

.tableStats.minTd td {
    padding: 0px;
    font: inherit;
}

.tableStats .total {
    font-weight: bold;
    color: #004BBF;
}

.myButton {
    background-color: #3d9b3f;
    -moz-border-radius: 28px;
    -webkit-border-radius: 28px;
    border-radius: 2px;
    border: #3d9b3f;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 17px;
    padding: 5px 17px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #2f6627;
    width: 100%;
    max-width: 300px;
}
.myButton:hover {
    background-color:#5cbf2a;
}
.myButton:active {
    position:relative;
    top:1px;
}

form div.multiple-select,
form div.select {
    margin: 2px 0;
    width: 620px;
    display: block;
    clear: both;
    float: left;
}

form div.multiple-select select,
form div.select select{
    width: 100%;
}

#login-form {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#login-form label {
    display: block;
    width: 100%;
    margin: 5px 0;
}

#login-form input {
    width: 100%;
}

.day-filter:link,
.day-filter:active,
.day-filter:visited{
    color: #444;
    border-bottom: 1px dashed #999;
    text-decoration: none;
    margin: 5px;
    font-size: 15px;
}

.day-filter:hover {
    border-bottom: none;
    color: #777;
}

#chart-area{
    height: 400px;
    width: 100%;
}

#chart-container {
    min-height: 400px;
    max-height: 400px;
    min-width: 1420px;
    clear: both;
    overflow: hidden;
    float: left;
    display: none;
}

#chart-controls {
    display: none;
}

.white-popup-block {
    background: #fff;
    max-width:600px;
    margin: 20px auto;
    padding: 50px 30px 20px;
    text-align: left;
    position: relative;
}

.white-popup-block .mfp-close {
    font-size: 21px;
}

#edit-in-app-content label, #edit-app-content label, #label-content label,
#edit-token-content label
{
    display: block;
    padding: 10px 0;
}

#edit-in-app-content input, #edit-in-app-content textarea, #edit-in-app-content select,
#edit-token-content input, #edit-token-content textarea, #edit-token-content select,
#edit-app-content input, #edit-app-content textarea, #edit-app-content select,
#label-content input, #label-content textarea, #label-content select {
    display: block;
    margin: 3px 0;
    width: 100%;
}

.chart-type-buttons {
    clear: both;
}

.chart-type-buttons label {
    display: block;
}

td.marks {
    white-space: nowrap;
}

.radio label,
.checkbox label {
    cursor: pointer;
    margin: 5px 4px 10px 0px;
    display: inline-block;
}

.radio label span,
.checkbox label span {
    display: block;
    padding: 3px 11px;
    border: 1px solid gray;
    color: gray;
    background: white;
    border-radius: 4px;
}

.radio label input,
.checkbox label input {
    display: none;
}

.radio label input:checked ~ span,
.checkbox label input:checked ~ span  {
    background: #00b7ea;
    color: white;
    background: -moz-linear-gradient(top, #00b7ea 0%, #009ec3 100%);
    background: -webkit-linear-gradient(top, #00b7ea 0%,#009ec3 100%);
    background: linear-gradient(to bottom, #00b7ea 0%,#009ec3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00b7ea', endColorstr='#009ec3',GradientType=0 );
    border: 1px solid #009ec3;
}

.fl-scrolls {
    z-index: 10 !important;
}

.date-filter{
    font-size: 18px;
    margin: 7px 0 0;
    position: relative;
}

.date-filter *{
    font-size: 16px;
}

.date-filter small {
    font-size: 12px;
    color: #888;
    padding: 3px 2px;
    display: block;
}

#edit-column-order ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#edit-column-order ul li {
    display: inline-block;
    padding: 3px 11px;
    border: 1px solid gray;
    color: gray;
    background: white;
    border-radius: 4px;
    margin: 2px 0;
    cursor: pointer;
}

.ui-tooltip {
    padding: 8px;
    position: absolute;
    z-index: 9999;
    max-width: 300px;
}

body .ui-tooltip {
    border-width: 2px;
}

.tooltip {
    background: rgba(0, 0, 0, 0.65) !important;
    color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.7) !important;
}

.decimal-dot-aligment .l {
    display: inline-block;
    text-align: right;
}

.decimal-dot-aligment .r {
    display: inline-block;
    text-align: left;
}

.decimal-dot-aligment .c {
    width: 100%;
    display: block;
}
.ui-resizable {
    position: relative;
}
.ui-resizable-handle {
    position: absolute;
    font-size: 0.1px;
    display: block;
    -ms-touch-action: none;
    touch-action: none;
}
.ui-resizable-disabled .ui-resizable-handle,
.ui-resizable-autohide .ui-resizable-handle {
    display: none;
}
.ui-resizable-n {
    cursor: n-resize;
    height: 7px;
    width: 100%;
    top: -5px;
    left: 0;
}
.ui-resizable-s {
    cursor: s-resize;
    height: 7px;
    width: 100%;
    bottom: -5px;
    left: 0;
}
.ui-resizable-e {
    cursor: e-resize;
    width: 7px;
    right: -5px;
    top: 0;
    height: 100%;
}
.ui-resizable-w {
    cursor: w-resize;
    width: 7px;
    left: -5px;
    top: 0;
    height: 100%;
}
.ui-resizable-se {
    cursor: se-resize;
    width: 12px;
    height: 12px;
    right: 1px;
    bottom: 1px;
}
.ui-resizable-sw {
    cursor: sw-resize;
    width: 9px;
    height: 9px;
    left: -5px;
    bottom: -5px;
}
.ui-resizable-nw {
    cursor: nw-resize;
    width: 9px;
    height: 9px;
    left: -5px;
    top: -5px;
}
.ui-resizable-ne {
    cursor: ne-resize;
    width: 9px;
    height: 9px;
    right: -5px;
    top: -5px;
}

#filter-form {
    width: 100%;
    display: flex;
}

#filter-form .form-group {
    width: 100%;
    padding: 5px;
}

#calendar {
    display: none;
    position: absolute;
}

.date-filter>input {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    padding: 6px;
    min-height: 32px;
    font-size: 14px;
    min-width: 205px;
}

.edit-column-order {
    clear: both;
    display: block;
}

.select.form-group .select2.select2-container,
.select.form-group .select2-selection.select2-selection--single {
    min-height: 33px;
    max-width: 6cm;
}

.period-select {
    margin: 10px;
}

.select2-container--disabled input {
    pointer-events: none;
}

.select .select2-selection.select2-selection--single {
    min-height: 32px !important;
}

.select2-selection__rendered,
.select2-selection__rendered input{
    font-size: 14px;
    font-family: Arial;
}

.select2-selection__rendered input{
    padding: 2px 0 0 2px !important;
}

.select2-dropdown-appId {
    max-width: 135px;
}

.select2-dropdown-country {
    max-width: 180px;
}

.select2-dropdown-market {
    max-width: 145px;
}

.select2-dropdown-source,
.select2-dropdown-ad,
.select2-dropdown-publisher,
.select2-dropdown-campaign {
    min-width: 400px;
}

#chart-controls {
    clear: both;
}

#chart-controls .select {
    min-width: 150px;
    display: inline-block;
}

li.select2-results__option{
    white-space: nowrap !important;
}

#build-report label {
    float: left;
}

.checkboxCustom input {
    height: 18px;
    width: 18px;
    vertical-align: top;
}
.checkboxCustom span {
    display: inline-block;
    padding-top: 4px;
}
.hide {
    display: none;
}

.col-tooltip {
    background: rgba(0, 0, 0, 0.65) !important;
    color: #fff !important;
    border: 1px solid rgba(0, 0, 0, 0.7) !important;
    font-weight: normal;
    visibility: hidden;
    position: absolute;
    padding: 6px;
    max-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    transition-property: visibility;
    transition-delay: 0s;
}

th.with-tooltip:hover .col-tooltip {
    visibility: visible;
    transition-delay: 1s;
}

.column-settings-box {
    display: block;
    margin: 5px;
    border-bottom: 1px solid #CCC;
    overflow:hidden;
}

.settings-form {
    float: left;
    display: block;
    min-width: 300px;
    margin: 2px;
}
.settings-form textarea{
    min-width: 300px;
    min-height: 100px;
}

.preview {
    float: left;
    display: block;
    vertical-align: middle;
    margin: 2px;
}

.col-name-input {
    margin: 2px;
}

.tooltipArea {
    margin: 2px;
}

.save-settings {
    position: sticky;
    top: 20px;
}