@import url('https://fonts.googleapis.com/css?family=Titillium+Web');

.as-logo .dspx:before {
    content: "";
    display: block;
    background: url(/img/icons/logo_dspx_small.png) no-repeat;
    width: 119px;
    height: 40px;
    float: left;
    margin-top: -5px;
}

.as-logo .logos .dspx {
    display: block;
    color: #42B5E8;
    font-style: normal;
    margin-top: -3px;
}

.form-buttons .btn {
    margin-right: 5px;
}
.form-buttons .btn:last-child {
    margin-right: 0;
}

.content.as-panel {
    margin-top: 15px;
}

.dm .table td, .dm .table th {
    vertical-align: middle;
}

.dm.dm-agencies {
    margin-top: 15px;
}

.dm .table {
    width: 100%;
    margin-top: 15px;
}
.dm .table .operations {
    min-width: 110px;
    text-align: center;
}
.dm .table .operations .btn {
    margin-right: 5px;
}
.dm .table .operations .btn:last-child {
    margin-right: 0;
}

.table.agencies td, .table.advertisers td {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table.agencies td.created, .table.agencies td.updated,
.table.agencies th.created, .table.agencies th.updated,
.table.advertisers td.created, .table.advertisers td.updated,
.table.advertisers th.created, .table.advertisers th.updated
{
    min-width: 115px;
}

.table.agencies .operations .glyphicon.active {
    color: #a00;
}
.table.agencies .operations .glyphicon.inactive {
    color: #0a0;
}


section.demand h1,section.demand h2,section.demand h3,
section.demand .dspx-breadcrumbs, section.demand th, section.demand .dspx-btn,
section.demand label{
    font-family: 'Titillium Web', sans-serif;
    font-size:14px;
}

section.demand h2{
    font-size:24px;
}


.dspx-table th{
    color:white;
    background: #0c213c;
    font-weight: 400;
}

.dspx-breadcrumbs a,
.dspx-breadcrumbs a:link,
.dspx-breadcrumbs a:hover {
    color:black;
}

.dspx-form .form-group,
.dspx-form input{
    margin-top:0px;
}


.dspx-form label{
    padding-top:7px;
    color:black;
    text-transform: uppercase;
    font-weight: 500;
}
.dspx-form label + label{
    padding-top:0px;
}

section.demand h3{
    font-size: 16px!important;
    font-weight: 600;
    text-transform: uppercase;
    margin-top:0px;
}


th.dspx-sortable {
    cursor:pointer;
    user-select: none;
}

th i.fa-sort{
    color:#777777;
    margin-right:10px;
}


th i.fa-sort-desc,
th i.fa-sort-asc{
    color:white;
    margin-right:10px;
}

table.dspx-table{
    margin-bottom: 0px;
    margin-top:10px;
    word-break: break-all;
}

.dspx-loading,
table.dspx-table tbody tr,
table.dspx-table tbody tr td
{
    opacity:1;
    transition: all ease .5s;
    /*transition: border-color ease 1s;*/
    /*transition: background-color ease 1s;*/
}

table.dspx-table tbody tr td{
    vertical-align: middle;
}

table.dspx-table tbody tr:hover td {
    background:rgba(12, 33, 60, .25);
}

.dspx-loading-active,
table.dspx-table.loading tbody tr,
table.dspx-table.loading tbody tr td
{
    opacity:0;
    background-color:transparent!important;
    border-color:transparent;
}

.dspx-pagination{
    /*font-family: 'Titillium Web', sans-serif;*/
    font-size:14px;
}

.dspx-pagination-item + .dspx-pagination-item{
    margin-left:15px;
}

.dspx-pagination i{
    font-size:16px;
}

.fee-row{
    line-height:25px;
    vertical-align:middle;
    padding: 5px 0;
    margin:0;
    border-top: 1px solid #ddd;
}

.fee-row:nth-child(odd){
    background-color: #f9f9f9;
}

.fee-row:last-child{
    border-bottom: 1px solid #ddd;
}

.demand .modal-content{
    border-radius: 0px;
    border:none;
}


/**
 * Page additions & client selector
 */

/* page additions */
#nav-additions{
    width:50%;
}

#nav-additions > li:first-child{
    display:none;
}

#nav-additions #page-additions{
    margin-left:28px;
    min-width:250px;
}

#page-additions .client-select input{
    color:white;
    font-size:16px;
}

#page-additions .client-select li{
    min-height:26px;
    padding: 0px    ;
    display:block;

}
#page-additions .client-select li a{
    overflow:hidden;
    text-overflow: ellipsis;
    min-height:26px;
    padding: 5px    ;
    line-height:16px;
    vertical-align: middle;
    font-size:16px;
    display:block;
}

#page-additions .client-select li a:hover{
    background: transparent;
}
#page-additions .client-select li a.type-root,
#page-additions .client-select li a.type-agency{
    font-weight:600;
}

#page-additions .client-select li.level-1{
    padding-left:15px;
}

#page-additions .client-select li.level-2{
    padding-left:30px;
}

#page-additions .client-select li.level-3{
    padding-left:45px;
}

.osi-form-element.client-select .osi-form-control{
    background-image: linear-gradient(#009688, #009688), linear-gradient(#D2D2D2, #D2D2D2), url(/img/dspx/select_dark.png);
    background-size: 0 2px, 100% 1px, auto;
    background-position: center bottom, center calc(100% - 1px), right center;
    cursor:pointer;
}

.osi-form-element.client-select .osi-form-control:focus{
    background-image: linear-gradient(#009688, #009688), linear-gradient(#D2D2D2, #D2D2D2), url(/img/dspx/select_dark_hover.png);
    background-size: 100% 2px, 0 1px, auto;
    background-position: center bottom, center calc(100% - 1px), right center;
}

#page-additions .osi-form-element.client-select ul.dropdown-menu{
    max-height:500px;
}

.dspx-table-small tbody tr td{
padding:4px;
}

hr.dspx-hr-small{
  margin:4px 0;
}

.dspx-list-clickable{
    cursor:pointer;
}

.dspx-list-clickable:hover::after{
    font-family:'Font Awesome 5 Free';
    content: ' \f303';
    font-weight: 900;
}

.dspx-list-drilldown{
    cursor:pointer;
}

.dspx-list-drilldown:hover::before{
    font-family:'Font Awesome 5 Free';
    content: '\f002 ';
}

.dspx-list-clickable span,
.dspx-list-drilldown span{
    text-decoration: underline;
}

.dspx-list-filters .osi-form-control{
    margin-bottom: 0px!important;
}

.dspx-list-filters .osi-info-msg{
    margin-top:0px;
    visibility:visible;
}

.dspx-list-filters .dropdown-menu{
    margin-top:0px;
    width:100%;
}




.dspx-tab-container{
    display:flex;
    background-color: #fff;
    box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2);
    border: none;


}

.dspx-tab-container .dspx-tab{
    flex:1;
    text-align:center;
    border-bottom: 1px solid #D2D2D2;
    padding: 14px 0;
    font-size: 16px;
    cursor:pointer;
}

.dspx-tab-container .dspx-tab:first-child{
    padding-left:14px;
}

.dspx-tab-container .dspx-tab:last-child{
    padding-right:14px;
}

.dspx-tab-container .dspx-tab.active{
    color: #2782bb;
    border-bottom: 2px solid #2782bb;
}

.dspx-tab-container .dspx-tab.disabled{
    color:#D2D2D2;
    pointer-events: none;
}


.dspx-tab-container + .panel{
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

hr + .dspx-form-trigger{
    display:block;
    font-size: 16px;
    font-weight:600;
    cursor: pointer;
    /*margin-bottom: 20px;*/
}


.dspx-form-trigger i.fa{
    min-width: 10px;
    color: #2782bb;
}

.dspx-msg{
    line-height: 26px;
    height: 26px;
    vertical-align: middle;
}

.dspx-msg.dspx-closed{
    display:none;
}

.dspx-msg span.dspx-close{
    position:absolute;
    top:-4px;
    right:0px;
    color:#0c213c;
    opacity: 0;
    transition: opacity .3s ease;
    font-size:18px;
    cursor:pointer;
}
.dspx-msg:hover span.dspx-close{
    opacity: 1;
}

.dspx-msg.dspx-msg-success span.content{
    color: #15907c;
    border-bottom: 1px solid #15907c;
    border-top: 1px solid #15907c;
    padding: 0px 21px;
    display:inline-block;
    position:relative;
}

.dspx-error-msg,
.dspx-warn-msg,
.dspx-info-msg{
    text-align:left;
    color: #727272;
    margin: 15px 0;
    /*font-style: oblique;*/
    padding-left: 15px;
    position:relative;
}

.dspx-error-msg{
    font-style: italic;
}
.dspx-error-msg::before,
.dspx-info-msg::before,
.dspx-warn-msg::before {
    color: #2782bb;
    font: normal normal normal 14px/1 FontAwesome;
    position:absolute;
    left:0px;
    top:2px;
}

.dspx-info-msg::before{
    content: "\f129";
}

.dspx-warn-msg::before{
    content: "\f12a";
}

.dspx-error-msg::before{
    content: "\f12a";
    color:#f44336;
}






.dspx-tab-container{
    display:flex;
    background-color: #fff;
    box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.2);
    border: none;


}

.dspx-tab-container .dspx-tab{
    flex:1;
    text-align:center;
    border-bottom: 1px solid #D2D2D2;
    padding: 14px 0;
    font-size: 16px;
    cursor:pointer;
}

.dspx-tab-container .dspx-tab:first-child{
    padding-left:14px;
}

.dspx-tab-container .dspx-tab:last-child{
    padding-right:14px;
}

.dspx-tab-container .dspx-tab.active{
    color: #2782bb;
    border-bottom: 2px solid #2782bb;
}

.dspx-tab-container .dspx-tab.disabled{
    color:#D2D2D2;
    pointer-events: none;
}


.dspx-tab-container + .panel{
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

hr + .dspx-form-trigger{
    display:block;
    font-size: 16px;
    font-weight:600;
    cursor: pointer;
    /*margin-bottom: 20px;*/
}


.dspx-form-trigger i.fa{
    min-width: 10px;
    color: #2782bb;
}

.table-details td:first-child {
    text-transform: uppercase;
    width: 20%;
    padding-left: 0;
}

.table.table-details > tbody > tr > td {
    border: none;
}

.table-details {
    margin-bottom: 0;
}

.legend-item{
    display:inline-block;
    width: 12px;
    height: 12px;
    margin-right:7px;
    border-radius:6px;
}

.widget-closed{
    max-height:51px;
    overflow:hidden;
}

.charts_section.widget-closed {
    max-height: 81px;
}

.widget-trigger{
    cursor:pointer;
}

.widget-trigger i{
    min-width: 10px;
    color: #2782bb;
}

.demand.report h3{
    margin-bottom:15px;
}

.help-text-modal .modal-header {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-transform: none;
}

.help-text-modal .modal-body {
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    text-transform: none;
}

.help-text-tooltip + .tooltip > .tooltip-inner {
    width: 300px !important;
    min-width: 300px !important;
}

.help-text-tooltip + .tooltip > .tooltip-inner {
    background-color: #2e3e4f;
    color: #FFFFFF;
    border: 1px solid #000000;
    padding: 10px;
    font-size: 14px;
    font-family: 'Titillium Web', sans-serif;
}

.help-text-tooltip + .tooltip.top > .tooltip-arrow {
    border-top: 5px solid #000000;
}
