html {
    position: relative;
    min-height: 100%;
}
body {
    margin-bottom: 60px;
}
/*.navbar .container .collapse {
    position: relative;
}*/
li.logout {
    position: absolute;
    right: 0;
}
li.logout .user {
    font-weight: bold;
}
li.logout a {
    display: inline-block;
}
#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #f9f9f9;
    z-index: 10;
}
#footer .text {
    color: #969595;
    font-size: 12px;
    float: right;
    margin: 22px 20px 0 0;
}

#footer .text a,
#footer .text a:active,
#footer .text a:link,
#footer .text a:visited {
    text-decoration: none;
    color: #e63380;
}
#footer .text a:hover {
    text-decoration: underline;
}

.header {
    margin:0;
    width: 100%;
    color: #eee;
    border-bottom: 1px solid #404040;
    background: #454545 url('../img/logo.png') no-repeat 20px 14px;
    min-height: 60px;
    background-size: auto 34px;
}

.navbar-default {
    position: relative;
    /*top: 0;
    width: 100%;*/
    z-index: 1000;
}

.container,
.container-fluid {
    margin-top: 60px;
}

@media (min-width: 300px){
    .content {
        margin-top: 50px;
    }
}

@media (min-width: 1024px){
    .content {
        margin-top: 20px;
    }
}

.adschedule {
    position: relative;
    padding-top: 60px;
}
.adschedule button.new {
    position: absolute;
    top: -1px; left: -1px;
}
.adschedule .item {
    position: relative;
    background-color: #fff;
}
.adschedule .item:last-child {
    margin-bottom: 0;
}
.adschedule .item .data {
    width: 100%;
    border-collapse: collapse;
}

.adschedule .item .data td {
    width: 200px;
}
.adschedule .item .data td.last {
    width: 60px;
}

.plan {
    position: relative;
    margin-top: 20px;
}

.btn-create {
    color: #fff;
    background-color: #68BC31;
}

.btn-create:hover, .btn-create:focus {
    color: #fff;
    background-color: #68bc31;
}

.plan .item {
    position: relative;
    background-color: #fff;
    margin-bottom: 15px;
}


.plan .fields {
    margin-bottom: 15px;
}

.plan .ad-body {
    padding: 10px 10px 1px 10px;
    background-color: #F9F9F9;
}

.ad-body.col-top {
    padding-top: 0;
}

.plan .ad-ui {
    background-color: #ECECEC;
    padding: 14px 20px 0 20px
}

.plan .col-md-2.ad-ui {
    padding: 6px 0 0 10px;
}

.plan .ad-content {
    vertical-align: top;
    padding: 0;
}

.ad-ui.ad-bottom {
    padding: 20px 0 15px 20px;
}

.ad-ui a,  .ad-ui span{
    font-weight: bold;
    color: #828282;
    font-size: 18px;
    display: inline-block;
}

.ad-ui .remove-item {
    margin-left: 15px;
    cursor: pointer;
}

.ad-body .item-label {
    font-weight: bold;
    margin-top: 5px;
    display: inline-block;
}

.ad-body .criterias {
    border-top: 1px solid #ccc;
    padding-top: 20px;
}

.create-criterion {
    color: #959595;
    margin-left: 12px;
    text-decoration: none !important;
}

.create-criterion span {
    margin-right: 7px;
}

.criterion {
    margin-bottom: 10px;
}

.criterion span {
    color: #828282;
}

.criterion .remove {
    margin-right: 5px;
}

.player {
    padding: 15px 0;
}

.player table {
    width: 100%;
    border-collapse: collapse;
}

.player table td,
.player table th {
    border: 1px solid #dfe0df;
    padding: 3px;
    width: 130px;
    height: 40px;
}

.player table tr.source td.name {
    text-align: center;
    background-color: #f7fbf7;
    width: 100px;
}
.player table tr.source td.value {
    width: 260px;
    word-break: break-all;
}

.implementation-guide {
    margin: 30px 0;
}
.implementation-guide pre {
    background-color: #fff;
}
.emptySchedule {
    position: absolute;
    width: 200px;
    left: 50%; top: 50%;
    margin: -10px 0 0 -100px;
    text-align: center;
    height: 20px;
    line-height: 20px;
    color: #aaa;
    font-size: 17px;
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.select2-container-multi .select2-choices .select2-search-choice {
    margin-top: 5px;
    line-height: 14px;
}
/*
.users.table {
}
.users.table td {
}
*/
.users.table .id {
    width: 60px;
    text-align: center;
}
.users.table .status {
    width: 80px;
    text-align: center;
}
.users.table .operations {
    text-align: center;
}
.users.table .marker {
    text-align: center;
}
.users.table .id .label {
    cursor: pointer;
}

.range {
    margin-top: -20px;
}
.range h3 {
    float: left;
    margin-right: 10px;
}
.range h3.popover-title {
    float: none;
    margin: 0;
}
.range .input-daterange {
    float: left;
    padding-top: 18px;
    margin-right: 10px;
}

.planSelector {
    padding-top: 18px;
    margin-right: 10px;
    float: left;
}

.dropdown-menu {
    z-index: 1020;
}

.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0 !important;left:100% !important;margin-top:-6px;margin-left:-1px;/*-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;*/}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}

@media (min-width: 1200px){
    .dropdown-submenu:hover>.dropdown-menu{display:block;}
}

.filters-controls label {
    margin-left: 10px;
    margin-right: 4px;
}

.filters-header {
    height: 30px;
    line-height: 30px;
}

.filters-controls .loader {
    display: inline-block;
    /*float: left;*/
    margin-right: 10px;
    width: 30px; height: 30px;
    background: transparent url(../img/loader.gif) no-repeat 50% 50%;
}

#export_wrapper .loader {
    display: inline-block;
    margin-right: 10px;
    width: 30px; height: 30px;
    background: transparent url(../img/loader.gif) no-repeat 50% 50%;
}

.charts {
    position: relative;
}

.charts .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    border-radius: 5px;
    background-color: #000;
    z-index: 10;
}

.charts .loader {
    position: relative;
    top: 10px; left: 50%;
    margin-left: -20px;
    width: 40px; height: 40px;
    border-radius: 5px;
    z-index: 15;
    background: #fff url(../img/loader.gif) no-repeat 50% 50%;
}

.help {
    color: #428bca;
    cursor: pointer;
}


#items .item .operations {
    white-space: nowrap;
    padding-right: 10px;
    padding-bottom: 6px;
}

.zero-level {
    z-index: 0 !important;
}

.error-action {
    color: #72bbfa;
    cursor: pointer;
}

.error-action:hover, .error-action:active {
    color: #72bbfa;
}

.plan-selector {
    margin-left: 25px !important;
}