/*!
 *  Font Awesome v4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */
@import url('/static/fonts/font-awesome-css.min.css');

/* FONT PATH
 * -------------------------- */
@font-face {
    font-family: 'FontAwesome';
    src: url('/static/fonts/fontawesome-webfont.eot');
    src: url('/static/fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
    url('/static/fonts/fontawesome-webfont.woff2') format('woff2'),
    url('/static/fonts/fontawesome-webfont.woff') format('woff'),
    url('/static/fonts/fontawesome-webfont.ttf') format('truetype'),
    url('/static/fonts/fontawesome-webfont.svg#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* indicator */
.indicator-wrapper {
    position: relative;
    min-height: 60px;
}

.indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(2);
}

.indicator svg polyline {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.indicator svg polyline#back {
    stroke: rgba(59, 211, 171, 0.3);
}

.indicator svg polyline#front {
    stroke: #3bd3ab;
    stroke-dasharray: 12, 36;
    stroke-dashoffset: 48;
    animation: dash 1s linear infinite;
}

@-moz-keyframes dash {
    62.5% {
        opacity: 0;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@-webkit-keyframes dash {
    62.5% {
        opacity: 0;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@-o-keyframes dash {
    62.5% {
        opacity: 0;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes dash {
    62.5% {
        opacity: 0;
    }
    to {
        stroke-dashoffset: 0;
    }
}

/*  charts  */
canvas {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

@keyframes chartjs-render-animation {
    from {
        opacity: .99
    }
    to {
        opacity: 1
    }
}

.chartjs-render-monitor {
    animation: chartjs-render-animation 1ms
}

.chartjs-size-monitor, .chartjs-size-monitor-expand, .chartjs-size-monitor-shrink {
    position: absolute;
    direction: ltr;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    z-index: -1
}

.chartjs-size-monitor-expand > div {
    position: absolute;
    width: 1000000px;
    height: 1000000px;
    left: 0;
    top: 0
}

.chartjs-size-monitor-shrink > div {
    position: absolute;
    width: 200%;
    height: 200%;
    left: 0;
    top: 0
}

.page-chart {
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.18);
    margin: 0 0 30px;
}

/* codemirror */
.CodeMirror {
    font-family: monospace;
    height: 300px;
    color: #000;
    direction: ltr
}

.CodeMirror-lines {
    padding: 4px 0
}

.CodeMirror pre {
    padding: 0 4px
}

.CodeMirror-gutter-filler, .CodeMirror-scrollbar-filler {
    background-color: #fff
}

.CodeMirror-gutters {
    border-right: 1px solid #ddd;
    background-color: #f7f7f7;
    white-space: nowrap
}

.CodeMirror-linenumber {
    padding: 0 3px 0 5px;
    min-width: 20px;
    text-align: right;
    color: #999;
    white-space: nowrap
}

.CodeMirror-guttermarker {
    color: #000
}

.CodeMirror-guttermarker-subtle {
    color: #999
}

.CodeMirror-cursor {
    border-left: 1px solid #000;
    border-right: none;
    width: 0
}

.CodeMirror div.CodeMirror-secondarycursor {
    border-left: 1px solid silver
}

.cm-fat-cursor .CodeMirror-cursor {
    width: auto;
    border: 0 !important;
    background: #7e7
}

.cm-fat-cursor div.CodeMirror-cursors {
    z-index: 1
}

.cm-fat-cursor-mark {
    background-color: rgba(20, 255, 20, .5);
    -webkit-animation: blink 1.06s steps(1) infinite;
    -moz-animation: blink 1.06s steps(1) infinite;
    animation: blink 1.06s steps(1) infinite
}

.cm-animate-fat-cursor {
    width: auto;
    border: 0;
    -webkit-animation: blink 1.06s steps(1) infinite;
    -moz-animation: blink 1.06s steps(1) infinite;
    animation: blink 1.06s steps(1) infinite;
    background-color: #7e7
}

@-moz-keyframes blink {
    50% {
        background-color: transparent
    }
}

@-webkit-keyframes blink {
    50% {
        background-color: transparent
    }
}

@keyframes blink {
    50% {
        background-color: transparent
    }
}

.cm-tab {
    display: inline-block;
    text-decoration: inherit
}

.CodeMirror-rulers {
    position: absolute;
    left: 0;
    right: 0;
    top: -50px;
    bottom: -20px;
    overflow: hidden
}

.CodeMirror-ruler {
    border-left: 1px solid #ccc;
    top: 0;
    bottom: 0;
    position: absolute
}

.cm-s-default .cm-header {
    color: #00f
}

.cm-s-default .cm-quote {
    color: #090
}

.cm-negative {
    color: #d44
}

.cm-positive {
    color: #292
}

.cm-header, .cm-strong {
    font-weight: 700
}

.cm-em {
    font-style: italic
}

.cm-link {
    text-decoration: underline
}

.cm-strikethrough {
    text-decoration: line-through
}

.cm-s-default .cm-keyword {
    color: #708
}

.cm-s-default .cm-atom {
    color: #219
}

.cm-s-default .cm-number {
    color: #164
}

.cm-s-default .cm-def {
    color: #00f
}

.cm-s-default .cm-variable-2 {
    color: #05a
}

.cm-s-default .cm-type, .cm-s-default .cm-variable-3 {
    color: #085
}

.cm-s-default .cm-comment {
    color: #a50
}

.cm-s-default .cm-string {
    color: #a11
}

.cm-s-default .cm-string-2 {
    color: #f50
}

.cm-s-default .cm-meta {
    color: #555
}

.cm-s-default .cm-qualifier {
    color: #555
}

.cm-s-default .cm-builtin {
    color: #30a
}

.cm-s-default .cm-bracket {
    color: #997
}

.cm-s-default .cm-tag {
    color: #170
}

.cm-s-default .cm-attribute {
    color: #00c
}

.cm-s-default .cm-hr {
    color: #999
}

.cm-s-default .cm-link {
    color: #00c
}

.cm-s-default .cm-error {
    color: red
}

.cm-invalidchar {
    color: red
}

.CodeMirror-composing {
    border-bottom: 2px solid
}

div.CodeMirror span.CodeMirror-matchingbracket {
    color: #0b0
}

div.CodeMirror span.CodeMirror-nonmatchingbracket {
    color: #a22
}

.CodeMirror-matchingtag {
    background: rgba(255, 150, 0, .3)
}

.CodeMirror-activeline-background {
    background: #e8f2ff
}

.CodeMirror {
    position: relative;
    overflow: hidden;
    background: #fff
}

.CodeMirror-scroll {
    overflow: scroll !important;
    margin-bottom: -30px;
    margin-right: -30px;
    padding-bottom: 30px;
    height: 100%;
    outline: 0;
    position: relative
}

.CodeMirror-sizer {
    position: relative;
    border-right: 30px solid transparent
}

.CodeMirror-gutter-filler, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-vscrollbar {
    position: absolute;
    z-index: 6;
    display: none
}

.CodeMirror-vscrollbar {
    right: 0;
    top: 0;
    overflow-x: hidden;
    overflow-y: scroll
}

.CodeMirror-hscrollbar {
    bottom: 0;
    left: 0;
    overflow-y: hidden;
    overflow-x: scroll
}

.CodeMirror-scrollbar-filler {
    right: 0;
    bottom: 0
}

.CodeMirror-gutter-filler {
    left: 0;
    bottom: 0
}

.CodeMirror-gutters {
    position: absolute;
    left: 0;
    top: 0;
    min-height: 100%;
    z-index: 3
}

.CodeMirror-gutter {
    white-space: normal;
    height: 100%;
    display: inline-block;
    vertical-align: top;
    margin-bottom: -30px
}

.CodeMirror-gutter-wrapper {
    position: absolute;
    z-index: 4;
    background: 0 0 !important;
    border: none !important
}

.CodeMirror-gutter-background {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 4
}

.CodeMirror-gutter-elt {
    position: absolute;
    cursor: default;
    z-index: 4
}

.CodeMirror-gutter-wrapper ::selection {
    background-color: transparent
}

.CodeMirror-gutter-wrapper ::-moz-selection {
    background-color: transparent
}

.CodeMirror-lines {
    cursor: text;
    min-height: 1px
}

.CodeMirror pre {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    border-width: 0;
    background: 0 0;
    font-family: inherit;
    font-size: inherit;
    margin: 0;
    white-space: pre;
    word-wrap: normal;
    line-height: inherit;
    color: inherit;
    z-index: 2;
    position: relative;
    overflow: visible;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-variant-ligatures: contextual;
    font-variant-ligatures: contextual
}

.CodeMirror-wrap pre {
    word-wrap: break-word;
    white-space: pre-wrap;
    word-break: normal
}

.CodeMirror-linebackground {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0
}

.CodeMirror-linewidget {
    position: relative;
    z-index: 2;
    padding: .1px
}

.CodeMirror-rtl pre {
    direction: rtl
}

.CodeMirror-code {
    outline: 0
}

.CodeMirror-gutter, .CodeMirror-gutters, .CodeMirror-linenumber, .CodeMirror-scroll, .CodeMirror-sizer {
    -moz-box-sizing: content-box;
    box-sizing: content-box
}

.CodeMirror-measure {
    position: absolute;
    width: 100%;
    height: 0;
    overflow: hidden;
    visibility: hidden
}

.CodeMirror-cursor {
    position: absolute;
    pointer-events: none
}

.CodeMirror-measure pre {
    position: static
}

div.CodeMirror-cursors {
    visibility: hidden;
    position: relative;
    z-index: 3
}

div.CodeMirror-dragcursors {
    visibility: visible
}

.CodeMirror-focused div.CodeMirror-cursors {
    visibility: visible
}

.CodeMirror-selected {
    background: #d9d9d9
}

.CodeMirror-focused .CodeMirror-selected {
    background: #d7d4f0
}

.CodeMirror-crosshair {
    cursor: crosshair
}

.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
    background: #d7d4f0
}

.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection {
    background: #d7d4f0
}

.cm-searching {
    background-color: #ffa;
    background-color: rgba(255, 255, 0, .4)
}

.cm-force-border {
    padding-right: .1px
}

@media print {
    .CodeMirror div.CodeMirror-cursors {
        visibility: hidden
    }
}

.cm-tab-wrap-hack:after {
    content: ''
}

span.CodeMirror-selectedtext {
    background: 0 0
}

.CodeMirror {
    font-family: inherit;
}

.CodeMirror .CodeMirror-placeholder {
    color: #8e8e8e;
}


/* header */
html {
    min-height: 100%;
}

.inline {
    display: inline-block;
}
.flex,.nav-flex {
    display: flex;
}
.block {
    display: block;
}

p img {
    max-width: 100%;
    height: auto;
}

.transparent {
    box-shadow: none;
    outline: none;
    background: none;
    border: none;
}

.inline-checkbox {
    position: relative;
    bottom: -1px;
    margin: 0 4px 0 0px;
}

.no-padding, .table .no-padding {
    padding: 0;
}

.no-margin {
    margin: 0;
}

.text-white {
    color: #fff;
}

.text-underline {
    text-decoration: underline;
}

.list-circle {
    list-style: circle;
}

.small ul {
    padding-left: 25px;
}

.small ul li {
    margin-top: 7px;
}

.floating-input {
    min-width: 25px;
    transition: width 0.5s ease;
}

.navbar-toggle {
    background: #000;
}

.navbar-toggle .icon-bar {
    background: #fff;
}

.navbar-brand.main-logo {
    color: #fff;
}

.navbar-brand.main-logo:hover, .navbar-brand.main-logo:focus {
    color: #d3d3d3;
}

.navbar-brand .fa {
    margin-right: 7px;
}



/* ========= SIDEBAR ============ */

.sidebar-wrapper {
    width: 200px;
    height: 100vh;
    position: fixed;
    float: left;
    top: 0;
    transition: margin .25s ease-out;
    margin-left: -200px;
}

.sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
}

.sidebar-wrapper.open {
    margin-left: 0;
}

.sidebar-wrapper a.list-group-item:hover, .sidebar-wrapper a.list-group-item.active {
    background: #333;
    color: #fff;
}
.sidebar-wrapper a.list-group-item {
    background: none;
    border: none;
    border-top: 1px solid #777;
    color: #ccc;
}

.content-with-sidebar {
    padding-left: 200px;
}

/* ========= SIDEBAR ============ */


.cover-title {
    margin-bottom: 25px;
    margin-top: 100px;
}

.cover-title h1 {
    font-size: 72px;
    margin-bottom: 25px;
}

.cover-title h2 {
    text-shadow: 2px 2px 7px #000;
}

.auth-required header, .auth-required footer, .auth-required .page {
    display: none;
}

.page {
    position: relative;
    min-height: calc(100vh - 220px);
}

.page-info {
    margin-bottom: 30px;
}

.img-shadow {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.instr-block {
    max-width: 600px;
}

.notice-wrapper {
    position: fixed;
    top: 12%;
    right: 30px;
    width: 300px;
    max-width: 50%;
    z-index: 10000;
}

.notice-wrapper .alert {
    box-shadow: 0 0 16px 3px #fff;
}

footer {
    background: #333;
    padding: 40px 20px 30px;
    color: #ddd;
    margin-top: 40px;
    z-index: 2;
    position: relative;
}

footer a, footer a:hover, footer a:focus {
    color: #fff;
}

.CodeMirror {
    border: 1px solid #eee;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    height: auto;
}

.modal-add-exist .btn-group-vertical > .btn-group > .btn {
    float: left;
    width: 80%;
    max-width: 80%;
    background: #f9f9f9;
}

.btn-group-vertical.full-width, input.inline.clear.full-width, div.full-width, span.full-width, input.sky-copy-inp.full-width,select.full-width.form-control {
    width: 100%;
}

/* .btn-group-vertical.full-width button:nth-child(2n) {
    background: #ecf7ff;
} */
.btn-group-vertical.full-width button:hover, .modal-add-exist .btn-group-vertical.full-width button:hover, .btn-group-vertical.full-width button:hover .items-list-card-body {
    background: #e6e6e6;
}

.modal-add-exist .btn-group-vertical.full-width > .btn-group,.margin-bottom-xs {
    margin-bottom: 7px;
}

.margin-top-none {
    margin-top: 0px;
}
.margin-top-xs {
    margin-top: 8px;
}
.margin-right-xs {
    margin-right: 8px;
}

.margin-left{
    margin-left: 14px;
}

.margin-top-md {
    margin-top: 15px;
}

.margin-bottom-sm{
    margin-bottom: 12px;
}
.margin-bottom-md{
    margin-bottom: 30px;
}

.margin-section {
    margin-top: 60px;
}

.margin-p {
    margin-bottom: 30px;
}

.margin-top-p {
    margin-top: 30px;
}

.card-section-title{
    margin-top: 35px;
    margin-bottom: 20px;
}

.modal-add-exist .btn-group-vertical > .btn-group > .btn.copy, .modal-add-exist .btn-group-vertical > .btn-group > .btn.btn-del-block {
    width: 10%;
    max-width: 10%;
    height: 100%;
    position: absolute;
    right: 0;
    border-left: none;
}

.modal-add-exist .btn-group-vertical > .btn-group:not(:first-child) > .btn:last-child, .modal-add-exist .btn-group-vertical > .btn-group:first-child > .btn:last-child {
    -webkit-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
}

.modal-add-exist .btn-group-vertical > .btn-group:not(:last-child) > .btn, .modal-add-exist .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
    -webkit-border-radius: 4px 0 0 4px;
    border-radius: 4px 0 0 4px;
}

.modal-add-exist .btn-group-vertical > .btn-group > .btn.copy {
    right: 10%;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.modal .btn-group-vertical .btn {
    margin-bottom: 0;
    text-align: left;
    padding: 10px;
}

.modal .btn-group-vertical .btn.text-center {
    text-align: center;
}

.modal .filters .col {
    padding-left: 0;
}

.modal .filters .select2-container--default .select2-selection--multiple .select2-selection__choice {
    max-width: 180px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.modal .chose-btn, .modal .chose-btn div {
    overflow: hidden;
    white-space: normal;
}

.items-list-card-body {
    margin: 3px 4px 3px 0;
    padding: 5px 8px;
    -moz-box-shadow: inset 3px 2px 6px rgba(0, 0, 0, 0.07);
    -webkit-box-shadow: inset 3px 2px 6px rgba(0, 0, 0, 0.07);
    box-shadow: inset 3px 2px 6px rgba(0, 0, 0, 0.07);
}

.modal.has-del .modal-del, .modal.has-add .modal-add {
    display: inline-block !important;
}

.sky-modal, .modal-backdrop {
    border-radius: 0;
}

.sky-modal .btn > i:not(.fa-search) {
    font-size: 14px;
    vertical-align: -4%;
    line-height: 20px;
}
.sky-modal .btn > i.fa.fa-bath {
    vertical-align: revert;
}

.menu-groups a img, .menu-groups button img {
    width: 35px;
    border-radius: 50%;
    margin-right: 10px;
    max-width: 50px;
}

.menu-groups button img {
    width: auto;
}

.hide-apply-btn .modal-ok {
    display: none;
}

hr.small-margin {
    margin: 0px 5px 15px;
}

.round {
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.rounded {
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.inline.circle {
    height: 14px;
    width: 14px;
    border-radius: 2px;
    margin-bottom: -2px;
}

.user-logo-wrap{
    width: 200px;
    height: 200px;
    margin-right: 20px;
}
.user-logo {
    border-radius: 10px;
    width: 200px;
}

.login-form .btn-lg, .margin-right {
    margin-right: 14px;
}

.auth-true .login-form-container {
    display: none;
}

a:focus {
    outline: medium none;
}

body.auth-required {
    background: #aaa url("/static/img/cover-dark.jpg") no-repeat scroll 0 0;
    background-size: cover;
    padding: 8vh 0 100px;
    color: #fff;
}

.form-control[readonly] {
    cursor: text;
    background-color: #f9f9f9;
}
.form-control[readonly].pointer {
    cursor: pointer;
}

input.form-control[type="number"] {
    max-width: 250px;
}

select.form-control {
    max-width: 100%;
    width: 250px;
}

select option {
    padding: 7px 10px;
    background: #fff;
    color: #333;
}

.input-lg {
    font-size: 16px;
}

.popover {
    width: 250px;
    color: #333;
}

.modal-dialog {
    margin-top: 20vh;
}

.modal-add-exist .modal-dialog {
    margin-top: 20px;
    width: auto;
    max-width: 1000px;
}

.pointer, .popover-title {
    cursor: pointer;
}

.cursor-help {
    cursor: help;
}

.cursor-move {
    cursor: move;
}

td pre {
    border-radius: 0;
    border: none;
    margin: 0;
}

.btn-lg .fa-lg {
    vertical-align: 0%;
}

.btn, .form-inline .form-group {
    margin-bottom: 10px;
}

.page-filters .btn,.input-group .btn  {
    margin-bottom: 0px;
}

.player-field-row:nth-child(2) .remove-parent,.player-field-row .copy-field-row {
    display: none;
}

.player-field-row:nth-child(2) .copy-field-row {
    display: inline-block;
}

.page-players .input-group-btn:last-child > .btn-default {
    background-color: #F5F5F5;
}

.page-players .input-group-btn:last-child > .btn-default:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
}

.sky-modal .modal-footer .btn {
    margin: 6px 0 0 2px;
}

.dropdown-menu {
    margin: -8px 0 0;
}

.dropdown-menu:not(.menu-groups) > li > a {
    padding: 7px 20px;
}

.dropdown-menu > li > a > i {
    margin-right: 4px;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    vertical-align: middle;
}

.form-control-text {
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
}

.form-control.color-select {
    transition: none;
}

/* fix labels */
.has-danger label {
    color: #a94442;
}

.has-danger .form-control {
    border-color: #f44336;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.has-danger .form-control:focus {
    border-color: #f44336;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
}

.has-danger .input-group-addon {
    color: #a94442;
    border-color: #a94442;
    background-color: #f2dede;
}

.has-warning .form-control {
    border-color: #f79000;
}

.has-warning .form-control:focus {
    border-color: #f79000;
}

.has-warning label.control-label, .card i.text-warning {
    color: #f09000;
}

.has-info label {
    color: #66afe9;
}

.has-primary label {
    color: #286090;
}

.has-primary .form-control {
    border-color: #286090;
}

.label-warning, .btn-warning {
    background-color: #ff9800;
}

.has-success .form-control:focus {
    border-color: #57aa57;
}

.has-default .form-control {
    border-color: #666666;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.has-default .form-control:focus {
    border-color: #666666;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #444;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #444;
}

.alert .pull-right.btns {
    margin: 0 2px 0 5px;
    width: 12px;
}

.alert .alert-label, .alert-link-help {
    color: inherit;
    font-weight: normal;
}

.alert .ac-inner .help, .alert .ac-inner .pull-right .fa {
    color: inherit;
    font-size: 16px;
}


/* ----- pages components ----- */

.content .page-intro, .content .page-actions, .page-summary + .clearfix {
    margin-bottom: 30px;
}

.club-avatar img {
    margin: 3px 0 0 15px;
    width: 50px;
}

.club-avatar img.admin {
    margin: 0;
    position: absolute;
    top: 63px;
    width: 32px;
    border: 2px solid #fff;
}

.club-avatar a {
    max-width: 65px;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skyscrollbuttons {
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 6%;
    z-index: 1;
}

.skyscrolltop, .skyscrolldown {
    background: #ddd;
    background: rgba(255, 255, 255, 0.7);
    width: 100%;
    height: 100%;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    margin-bottom: 15px;
    padding: 0;
    opacity: 0.5;
    text-align: center;
    cursor: pointer;
}

.skyscrolltop:hover, .skyscrolltop:focus, .skyscrolldown:hover, .skyscrolldown:focus {
    opacity: 1;
}

.skyscrollbuttons i {
    bottom: 100px;
    font-size: 30px;
    line-height: 35px;
    margin-left: -10px;
    position: fixed;
}


/* ----cards--- */
.card {
    -webkit-transition: max-height 300ms; /* Safari */
    transition: max-height 300ms;
    /* max-height: 150px; */
}

.card.closed {
    max-height: 0;
    overflow: hidden;
}

.card:not(.clps), .card.clps .card-inner, .summary-card {
    display: block;
    background: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 20px;
    margin: 0 0 10px;
    min-height: 73px;
}

.card:not(.clps) > div, .card.clps .card-inner > div {
    display: inline-block;
    margin: 0 20px 0 0;
    position: relative;
}

.card:not(.clps) > div:first-child, .card.clps .card-inner > div:first-child {
    margin-right: 0;
}

.card div.card-logo {
    text-overflow: ellipsis;
    position: static;
}

.card .card-logo img {
    max-width: 55px;
    background: #666;
    width: 55px;
    display: inline-block;
    height: 55px;
    line-height: 55px;
    color: #666;
}
.card .card-logo img.bordered{
    border: 2px solid #5CB85C;
}
.card .card-image {
    vertical-align: top;
}
.card .fa {
    vertical-align: baseline;
}
.page-main .card .fa, .page-groups .card .fa {
    vertical-align: middle;
}
.card .dropdown-toggle .fa.fa-user-o {
    font-size: 14px;
}
.card .dropdown-toggle .fa.fa-user {
    font-size: 17px;
}


.card .card-logo a {
    max-width: 55px;
    font-size: 10px;
    display: inline-block;
}

.card .card-label, .card.clps .card-inner .card-label {
    width: 50px;
    height: 50px;
    padding: 0;
    margin-top: 5px;
    line-height: 50px;
    text-align: center;
    color: white;
    z-index: 0;
    overflow: hidden;
}

.card.clps .card-inner .card-label {
    margin-top: 3px;
}

.card .card-info {
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card > div.card-info, .card.clps .card-inner .card-info {
    margin: 8px 0 10px;
    /* z-index: 0; */
}

.card > div.btn-wrapper, .card.clps .card-inner .btn-wrapper {
    margin-top: 8px;
    min-height: 50px;
}

.card .card-info .descr, .card .descr span {
    margin-right: 10px;
    z-index: 0;
}

.card .card-info .label {
    white-space: normal;
}

.card .card-heading {
    vertical-align: top;
    font-size: 1.1em;
    padding-top: 4px;
    max-height: 92px;
    overflow: hidden;
    min-height: 26px;
}

.card .card-heading > a {
    color: inherit;
}

.card.clps {
    padding: 0px;
    position: relative;
}

.card > div.card-collapse-link {
    width: 100%;
    height: 100%;
    position: absolute;
    margin: 0;
    z-index: 0;
}

.border{
    border: 3px solid;
}
.border-success{
    border-color: #5cb85c;
}
.border-danger {
    border-color: #d9534f;
}
.border-warning {
    border-color: #ff9800;
}
.border-info{
    border-color: #5bc0de;
}
.border-default{
    border-color: #777;
}
.border-primary{
    border-color: #337ab7;
}

.panel-body {
    position: relative;
    min-height: 60px;
}

.command-save-wrapper {
    padding: 25px 25px 15px;
    margin: 20px 0;
    border-radius: 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
}

:focus, :focus-visible{
    outline: none;
}
.card-body .clear:focus, .card-body  .clear:focus-visible{
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

input.clear {
    height: 22px;
}

input.clear, select.clear {
    background: #fff;
    background: rgba(256, 256, 256, 0.4);
    border: none;
    border-radius: 5px;
    text-align: center;
    width: 170px;
    margin: 2px 3px;
    padding: 0 0 0 4px;
}
input.clear.text-left {
    text-align: left;
}

input.transparent {
    background-color: transparent;
}

input.action-search {
    width: 200px;
}

select.clear {
    border-radius: 5px 0 0 5px;
    height: 21px;
    width: 95px;
}
[alert-type="delay"] select.clear{
    width: 140px;
}

.alert-warning input.clear.condition-item, .alert-warning input.clear.citem {
    border: 1px solid #eace95;
}

.alert-danger input.clear.condition-item {
    border: 1px solid #efaba8;
}

.card-separator {
    border-bottom: 3px solid #5cb85c;
}

.separator-info {
    border-bottom-color: #5bc0de;
}

.separator-warning {
    border-bottom-color: #f0ad4e;
}

.alert-card {
    padding-top: 10px;
    padding-bottom: 10px;
}
.block-note {
    margin-bottom: 3px;
}

.alert-card .negative, .alert-fields.copy-field-template > li:first-child .close {
    display: none;
}

.alert-card.alert-danger .negative {
    display: inline-block;
}

.alert .alert-link, .alert .alert-link span {
    color: inherit;
    font-weight: normal;
    text-decoration: none;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
}

.alert strong > .alert-link,.strong {
    font-weight: bold;
}

.alert .alert-link:hover {
    border-bottom-style: solid;
}

.alert .alert-link:hover span, .alert .alert-link:focus span, .alert .alert-link.no-border {
    border-bottom-style: none;
}

.alert-card .ac-id {
    padding: 4px;
}

.alert-delay-wrapper > em {
    margin-bottom: 12px;
}

.ac-inner {
    padding-bottom: 15px;
    line-height: 1.7em;
}

.label-lg, .card-separator {
    background: #fff;
    border-radius: 4px 4px 0 0;
    font-size: 110%;
    font-weight: 400;
    padding: 3px 14px 7px;
    margin: 0 0 25px 0;
    display: inline-block;
}

.card-inner-group, .card-inner-group.alert-warning {
    background: #fff;
    color: inherit;
    border-width: 3px;
    max-width: 670px;
    width: 100%;
}

.event-add-btn[type="condition"] {
    background: #fcf8e3;
}

.action:not(.modal), .event, .event-separator, .card-inner-group {
    border-radius: 10px;
}

.alert textarea.form-control {
    margin: 10px 0 5px;
    display: block;
}

.vk-mess, .vk-mess .emojionearea-editor, .note .emojionearea-editor {
    font-size: 13px;
    min-height: 58px;
    font-weight: 400;
    outline: 0;
    line-height: 18px;
    word-wrap: break-word;
    max-width: 435px;
    background: #fff;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
}
.alert-card .CodeMirror{
    margin: 10px 0;
    width: 95%;
}

.vk-mess.note {
    max-width: 625px;
    width: 88%;
}

.vk-mess.note .emojionearea-editor {
    max-width: 100%;
}

.vk-mess .emojionearea-editor, .note .emojionearea-editor {
    margin: 0;
    max-height: none;
}

.emojionearea .emojionearea-editor .emojioneemoji, .emojionearea .emojionearea-editor [class*="emojione-"] {
    min-height: 16px;
    min-width: 16px;
}

.vk-mess[disabled] {
    cursor: default;
    background-color: #fff;
    opacity: 1;
}

.btn-bordered, .alert .btn-bordered {
    border-radius: 5px;
    padding: 5px 8px;
    margin-bottom: 10px;
    display: inline-block;
}

.btn-bordered:not(.has-bg), .alert .btn-bordered:not(.has-bg) {
    border-width: 1px;
    border-style: solid;
    background: transparent;
    color: inherit;
}

.alert .btn {
    border-radius: 5px;
    vertical-align: inherit;
}

.alert .btn-sm {
    padding: 2px 10px;
    font-size: 14px;
}

.btn-bordered:hover, .btn-bordered:focus, .btn-bordered.active, .alert .btn-bordered:hover, .alert .btn-bordered:focus, .alert .btn-bordered.active, .card-action-btns .btn-bordered:hover, .card-action-btns .btn-bordered:focus, .open > .dropdown-toggle.btn-bordered.btn-success {
    background: transparent;
    text-decoration: none;
    color: inherit;
    border-style: solid;
}

.btn-bordered.btn-info {
    border-color: #99ccdb;
}

.btn-bordered.btn-info:hover, .btn-bordered.btn-info:focus, .btn-bordered.btn-info.focus, .btn-bordered.btn-info:active, .btn-bordered.btn-info.active, .open > .btn-bordered.dropdown-toggle.btn-info {
    border-color: #269abc;
}

.btn-bordered.btn-warning, .alert-card.event .has-warning .form-control {
    border-color: #eace95;
}

.btn-bordered.btn-warning:hover, .btn-bordered.btn-warning:focus, .btn-bordered.btn-warning.focus, .btn-bordered.btn-warning:active, .btn-bordered.btn-warning.active, .open > .btn-bordered.dropdown-toggle.btn-warning, .alert-card.event .has-warning .form-control:focus {
    border-color: #d58512;
}

.alert-card.event .has-warning .form-control.menu-search, .alert-card.event .has-warning .form-control.menu-search:focus {
    border-color: #ccc;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.alert-card.event .has-warning .form-control:focus, .alert-card.event .has-warning .form-control.focused {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 222, 105, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 222, 105, 0.6);
}

.alert-card.event .has-danger .form-control:focus, .alert-card.event .has-warning .form-control.focused {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 153, 105, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 153, 105, 0.6);
}

.btn-bordered.btn-danger {
    border-color: #efaba8;
}

.btn-bordered.btn-danger:hover, .btn-bordered.btn-danger:focus, .btn-bordered.btn-danger.focus, .btn-bordered.btn-danger:active, .btn-bordered.btn-danger.active, .open > .btn-bordered.dropdown-toggle.btn-danger {
    border-color: #ac2925;
}

.btn-bordered.btn-success, .has-success .form-control, .has-success textarea.form-control:focus {
    border-color: #90cc91;
}

.btn-bordered.btn-success:hover, .btn-bordered.btn-success:focus, .btn-bordered.btn-success.focus, .btn-bordered.btn-success:active, .btn-bordered.btn-success.active, .open > .btn-bordered.dropdown-toggle.btn-success {
    border-color: #398439;
}

.btn-bordered.disabled, .btn-bordered[disabled] {
    cursor: not-allowed;
    pointer-events: none;
    opacity: .65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
}

input.input-long {
    width: 270px;
    max-width: 90%;
}

input.input-full-width {
    width: 90%;
    max-width: 90%;
}

input.condition-title {
    text-align: left;
    width: 40%;
    max-width: 40%;
}

textarea.input-full-width {
    width: 95%;
    max-width: 95%;
}

input.clear[type="number"], .add-exist {
    width: 70px;
}

input.clear.short {
    width: 110px;
}
input.extra-short {
    max-width: 70px;
}

input.clear.short.action-fid {
    width: 130px;
}
.form-control.short {
    width: 200px;
}
.form-control.short.number {
    width: 120px;
}

.alert-delay-wrapper input.clear[type="number"] {
    width: 60px;
}

.add-exist[block-type="event"] {
    margin-right: 20px;
}

.exist-event-block {
    padding-right: 40px;
}

.card-list-id {
    padding-right: 20px;
}

input.condition-time.clear[type="number"], input.condition-date.clear {
    width: 45px;
    border: 1px solid #eace95;
}

input.datepicker.clear {
    width: 100px;
}

input.datetimepicker.clear {
    width: 125px;
}

.alert-danger input.condition-time.clear[type="number"], .alert-danger input.condition-date.clear {
    border-color: #efaba8;
}

.alert textarea.form-control:not(.card-request-link) {
    height: 58px;
}

textarea.fixed-height {
    height: 35px;
}

.alert-options-wrapper > div, .alert-options-wrapper > p, .chatbtns-wrapper {
    margin-top: 15px;
}

.action .alert-options-wrapper > p {
    margin-top: 5px;
}

#input-key-color.label-default {
    background: #d3e8fe;
    color: #55677d;
    border-color: #b7cde7;
}

.chatbtns-row-wrap {
    width: 100%;
    display: block;
    max-width: 435px;
    padding-bottom: 5px;
}

.chatbtns-row-wrap .close {
    position: relative;
    margin: -40px -18px 0 0;
}

.chatbtns-row {
    display: -moz-box;
    display: flex;
    padding: 3px;
    /* border: 1px solid rgba(0, 0, 0, 0.2); */
    background: rgba(256, 256, 256, 0.4);
    border-radius: 4px;
    height: 44px;
}

.chatbtns-row:last-child {
    border-bottom: 1px dotted;
}

.chatbtns-wrapper .btn, .chatbtns-wrapper .empty {
    flex-grow: 1;
    display: block;
}

.chatbtns-wrapper .btn {
    margin: 0 5px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chatbtns-wrapper .btn:last-child {
    margin-right: 0;
}

.btn-empty {
    background: #fff;
    min-width: 20px;
}

.chatbtns-wrapper .btn-default {
    background: #eff7ff;
    color: #1a4e8d;
    border-color: #afc2da;
}

.chatbtns-wrapper .btn-default:hover {
    background: #dbe6f2;
}

.chatbtns-wrapper .btn-new-line {
    /* padding: 4px 9px; */
    padding: 0;
}

.nav-tabs.key-type {
    padding-left: 10px;
}
.nav-flex > li{
    flex: 1;
    text-align: center;
}

.form-control[disabled].label-primary {
    background-color: #337ab7;
}

.subs-avatar > a.round {
    min-height: 50px;
    min-width: 50px;
    max-width: 50px;
    background: #f3f3f3;
    transition: all 0.5s ease-in;
    margin-right: 15px;
}

.player-avatar{
    width: auto;
    height: auto;
    margin-bottom: 15px;
    overflow: hidden;
}
.player-avatar img {
    border-radius: 10px;
    transition: all 0.5s ease-in;
    width: auto;
    height: 200px;
    max-height: 200px;
}
.player-save .btn-success {
    width: 200px;
    max-width: 100%;
}
.player-utm .input-group-addon {
    text-align: left;
    min-width: 140px;
}
.list-group-stripped .list-group-item:nth-child(2n):not(.selected) {
    background: #f6f6f6;
}

.list-group-stripped .list-group-item {
    display: flow-root;
}

.page-finances .list-group-stripped .list-group-item, .page-tags .list-group-stripped .list-group-item {
    border-right: none;
    border-left: none;
}

.page-finances .list-group-stripped .list-group-item:first-child, .page-tags .list-group-stripped .list-group-item:first-child {
    border-top: none;
}

.page-finances .list-group-stripped .list-group-item:last-child,.page-tags .list-group-stripped .list-group-item:last-child {
    border-bottom: none;
}

.panel-body .list-group, .panel-body .subs-btns {
    margin-top: 15px;
}

.panel-body .list-group-item > div:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-summary .col-md-4,
.page-finances .list-group-item .col-sm-3,
.no-padding-left,
.card-body .form-group.col-md-6,
.card-body .form-group.col-md-12 {
    padding-left: 0;
}

.page-pages .card-form .col-sm-4.control-label{
    font-weight: normal;
    text-align: left;
}
.page-pages .card-body .select2-container {
    width: 100% !important;
}

.no-padding-right {
    padding-right: 0;
}

/* ------ card forms and tables -------*/

.table-form .btn, .table-adaptive .form-group {
    margin: 0;
}
.table.align-top > tbody > tr > td{
    vertical-align: top;
}

/* --- conditions ---- */

[alert-type="condition"] .list-unstyled,[alert-type="abort_command"] .list-unstyled {
    padding: 0px 0 0 15px;
    margin: 0;
}

.add-new-condition {
    margin-left: 15px;
}

.condition-add-new {
    margin-right: 15px;
}

.cond-pack p {
    margin-bottom: 8px;
}

.btn-group.open .alert-link.dropdown-toggle, .alert-link.dropdown-toggle, .alert-link.dropdown-toggle:hover {
    margin: 0 0 8px 3px;
    box-shadow: none;
    -webkit-box-shadow: none;
    padding-bottom: 0px;
    display: inline-block;
    border: none;
}

[alert-gid] {
    margin-left: 2px;
}

.alert-card .condition-items > li {
    margin: 3px 0;
}

/* dividers */
.cond-pack:first-child .divider, .cond-pack:first-child .close, .cond-pack:first-child .pack-move-wrap, .card-block-wrap:first-child .card-separator-wrap, .card-group-wrap:first-child > .card-separator-wrap {
    display: none;
}

.action .cond-pack:first-child {
    width: 97%;
    display: inline-block;
}

.cond-pack .border {
    background: rgba(265, 256, 256, 0.5);
    border-radius: 4px;
    border: 1px dotted #c8a866;
    margin: 12px 0 7px;
    padding: 7px 10px 5px;
}

.pack-move {
    position: absolute;
    margin: 25px 0 0 2px;
    opacity: 0.4;
}

.action .cond-pack:first-child .pack-move {
    margin: 0px 0 0 -10px;
}

.pack-move:hover {
    opacity: 0.8;
}

.alert-input.action-val, input.clear.action-cond-val {
    width: 290px;
    max-width: 80%;
}

.card-body-input.autosize {
    height: 54px;
}


/*  emo part */
.emojionearea.focused {
    border-color: #9dcb97;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(160, 218, 125, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(149, 219, 112, 0.6);
}

.alert-card .has-danger .form-control, .alert-card .has-danger .form-control:focus {
    border-color: #efaba8;
}

.has-danger .emojionearea.focused {
    border-color: #efaba8;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 153, 105, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 153, 105, 0.6);
}

/*  ---- select2  and FILTERS --- */
.inp-search {
    position: absolute;
    margin: 0px 0 0 -30px;
    opacity: 0.7;
    padding: 7px 10px;
}

.inp-search:hover {
    opacity: 1;
}

.form-group input[type="file"]:focus, .form-group input[type="radio"]:focus, .form-group input[type="checkbox"]:focus{
    outline: none;
}

.page-filters input[type="file"]:focus, .page-filters input[type="radio"]:focus, .page-filters input[type="checkbox"]:focus {
    outline: none;
    box-shadow: none;
    border-color: transparent;
}

.page-filters-label {
    font-weight: normal;
}

.page-filters-label input {
    display: inline-block;
    margin: 0 7px 0 0;
}

.page-filters-label span {
    vertical-align: middle;
}

.modal .filters .select2-container, .page-filters .select2-container, .page-filters .form-control:not([type="checkbox"]) {
    min-width: 100%;
    max-width: 100%;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

.page-filters .select2-container .select2-selection--single{
    height: 34px;
    padding-top: 2px;
}

.page-filters input[type="text"].form-control {
    border: 1px solid #aaa;
}

.alert-notice {
    background-color: #f4e6f7;
    border-color: #e1bee7;
    color: #63406c;
}

.alert-card.alert-info .select2-container--default .select2-selection--multiple {
    background-color: rgba(256, 256, 256, 0.35);
}

.select2-container--default.select2-container--focus .select2-selection--multiple, .page-filters .has-success input[type="text"].form-control:focus {
    border-color: #5cb85c;
}

.alert-warning .select2-container--default .select2-selection--multiple {
    border-color: #eace95;
}

.alert-danger .select2-container--default .select2-selection--multiple {
    border-color: #efaba8;
}

.alert-card.alert-info .select2-container--default .select2-selection--multiple {
    border-color: transparent /* #74a4bc */;
}

.alert-card.alert-warning .select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: #d58512;
}

.alert-card.alert-danger .select2-container--default.select2-container--open .select2-selection--multiple {
    border-color: #bf5651;
}

.alert-card.alert-info .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #d9edf7;
    border: 1px solid #74a4bc;
}

.alert-card.alert-warning .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #F8F1D4;
    border: 1px solid #edc48a;
}

.alert-card.alert-danger .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #ffe5e4;
    border: 1px solid #e08c88;
}

.alert-success .select2-container--default .select2-selection--multiple {
    background-color: rgba(265, 256, 256, 0.8);
}

.alert-card.alert-warning .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #bf5651;
}

.alert-card.alert-warning .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #896a3f;
}

.select2-container .select2-search--inline .select2-search__field {
    font-size: 110%;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 300px;
}

.page-filters .col {
    padding-left: 0;
    min-height: 35px;
}

.page-filters .col:not(.col-md-3) {
    padding-right: 15px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    padding: 3px 5px;
}

.page-filters .select2-container--default .select2-selection--multiple .select2-selection__choice, .modal .filters .select2-container--default .select2-selection--multiple .select2-selection__choice {
    padding: 0px 5px;
}

.alert-success .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #EBF5E7;
}

.select2-option.inline + .select2-container {
    line-height: 1em;
    width: auto !important;
    min-width: 115px;
    max-width: 95%;
}

.select2-option.inline + .select2-container .select2-selection--multiple {
    min-height: 27px;
    margin-bottom: 3px;
}

.alert select[multiple].select2-option.inline {
    max-height: 27px;
    vertical-align: middle;
    border: 1px solid #edc48a;
    border-radius: 4px;
}

.alert.alert-success .select2-container--default .select2-selection--single {
    border: 1px solid #90cc91;
}

.inline.clear + .select2-container--default .select2-selection--single {
    background-color: rgba(265, 256, 256, 0.8);
}

.inline.clear + .select2-container .select2-selection--single {
    height: 24px;
    margin: 2px 3px;
}

.inline.clear + .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 22px;
}

.inline.clear + .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 22px;
    margin: 2px 3px;
}

select.select2-option.inline option {
    padding: 0 8px;
    background: #fff;
    color: #8a6d3b;
}

.form-static .select2-container--default .select2-selection--single {
    height: auto;
}

.alert.alert-card .inline.clear + .select2-container .select2-selection--single {
    background: rgba(255, 255, 255, 0.5);
    margin-top: 0;
    min-width: 120px;
}

.alert.alert-info.alert-card .inline.clear + .select2-container .select2-selection--single {
    border: 1px solid #92bcd2;
}

/*  alert attacments */
.ac-attach-wrap a.alert-link {
    text-decoration: none;
    border: none;
    margin-right: 3px;
}

.ac-attach-wrap a.alert-link:hover {
    border-bottom-width: 1px;
}

.ac-attach-wrap a.att-remove {
    margin-right: 12px;
    font-weight: bold;
    font-size: 1.2em;
}

/* ---- balance tab  ----  */
.balance-wrap {
    border-left: 1px solid #ddd;
    /*border-bottom: 1px solid #ddd;*/
    padding-bottom: 30px;
}
.tariffs-wrap{

}
.owner-account-wrap > div{
    padding-top: 30px;
}
.owner-account-wrap .text-danger, .text-danger.red {
    color: #ff0500;
}
.owner-account-wrap .label-danger {
    background: #ff0500;
    font-size: 0.9em;
    margin-left: 10px;
}
.table-miles {
    margin-top: 10px;
}
.miles-price{
    position: absolute;
    z-index: 100;
    right: 60px;
    top: 12px;
    color: #777;
}
.input-miles,.form-control[readonly].input-miles {
    background-color: #eee;
    font-weight: bold;
    color: #666;
}

.miles-slider .ui-slider-range {
    background: #729fcf;
}
.miles-slider .ui-slider-handle {
    background: #6d95bf;
    border-color: #5f83aa;
    border-radius: 50%;
    height: 1.3em;
    width: 1.3em;
}

/* ----tabs--- */

.tab-content .tab-pane {
    padding: 30px 0;
}

.tab-content .tab-pane.main_profile {
    padding-top: 0;
}

.poll-form-data-wrap .checkbox label {
    min-height: 27px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    padding: 7px 12px 7px 30px;
    margin-bottom: 4px;
    background: #f0f3f6;
    border-radius: 4px;
    width: 100%;
}

.poll-form-data-wrap .checkbox label:hover {
    background: #ddecfb;
}

/*  published */

.unpublished.alert {
    border-style: dashed;
}

.unpublished.alert-info, .unpublished.alert-card.alert-info .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #edf5f9;
    border-color: #86c0cc;
    color: #4f7d93;
}

.unpublished.alert-warning {
    background: #fffced;
    color: #a48451;
    border-color: #cfbda0;
}

.unpublished.alert-danger {
    background-color: #fbf3f3;
    border-color: #edadb8;
    color: #b77877;
}

.unpublished.alert-success {
    background-color: #e9f3e5;
    border-color: #84a865;
    color: #689369;
}

/*  swithers !!  */
.switch {
    display: inline-block;
    width: 40px;
    height: 26px;
    margin: 5px 10px 0 0;
}

.switch-text {
    line-height: 26px;
    height: 26px;
    vertical-align: top;
    margin: 6px 0 0;
}

.switch-slider {
    position: relative;
    display: block;
    height: inherit;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #c8ced3;
    transition: .15s ease-out;
    border-radius: .25rem;
}

.switch-3d .switch-slider {
    background-color: #f0f3f5;
    border-radius: 50em;
}

.switch-slider::before {
    position: absolute;
    top: 2px;
    left: 2px;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    content: "";
    background-color: #fff;
    border: 1px solid #c8ced3;
    transition: .15s ease-out;
    border-radius: .125rem;
}

.switch-3d .switch-slider::before {
    top: -1px;
    left: -1px;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}

.switch-input:checked ~ .switch-slider::before {
    -webkit-transform: translateX(14px);
    transform: translateX(14px);
}

.switch-primary .switch-input:checked + .switch-slider, .switch-primary .switch-input:checked + .switch-slider::before {
    background-color: #1985ac;
    border-color: #166d8d;
}

.switch-success .switch-input:checked + .switch-slider, .switch-success .switch-input:checked + .switch-slider::before {
    background-color: #4dbd74;
    border-color: #3a9d5d;
}

.switch-danger .switch-input:checked + .switch-slider, .switch-danger .switch-input:checked + .switch-slider::before {
    background-color: #f86c6b;
    border-color: #f63c3a;
}

.switch-warning .switch-input:checked + .switch-slider, .switch-warning .switch-input:checked + .switch-slider::before {
    background-color: #ffc107;
    border-color: #d39e00;
}

.switch-info .switch-input:checked + .switch-slider, .switch-info .switch-input:checked + .switch-slider::before {
    background-color: #63c2de;
    border-color: #39b2d5;
}

.switch-light .switch-input:checked + .switch-slider, .switch-light .switch-input:checked + .switch-slider::before {
    background-color: #f0f3f5;
    border-color: #d1dbe1;
}

.switch-dark .switch-input:checked + .switch-slider, .switch-dark .switch-input:checked + .switch-slider::before {
    background-color: #2f353a;
    border-color: #181b1e;
}

.switch.switch-3d .switch-input:checked + .switch-slider::before {
    background-color: #fff;
}

.switch-sm .switch {
    height: 20px;
    width: 33px;
}

.switch-sm .switch-3d .switch-slider::before {
    width: 20px;
    height: 20px;
}

/* alert right btns */

.alert-shifter.icons.bordered, .alert .icons.bordered {
    border: 1px solid;
    border-radius: 2px;
    line-height: 16px;
    width: 15px;
    height: 16px;
    display: inline-block;
    text-align: center;
    padding: 0 0 1px 1px;
    margin: 3px 5px 0 -1px;
}

.alert-shifter.icons.bordered i.fa, .alert .icons.bordered i.fa {
    display: inline-block;
    font-size: 9px;
    position: absolute;
    margin: 2px 0 0 -3px;
}

.alert-shifter.icons.bordered i.fa.fa-pause, .alert-shifter.icons.bordered i.fa.fa-stop {
    margin: 2px 0 0 -4px;
}

.menu-search-wrap {
    padding: 5px 14px;
}

.dropdown-more {
    font-size: 14px;
    border-top: 1px solid #ddd;
    padding-top: 7px;
}

.textarea-info a {
    margin-right: 15px;
}
textarea.normal-height{
    height: 54px;
}

.summ-card-title {
    margin-bottom: 5px;
}

.btn-status .fa {
    font-size: 1.15em;
    margin-right: 2px;
}
.managers-wrap, .status-wrap {
    position: relative;
}

/*  alert-fields */
.alert-fields, .alert-fields-second {
    margin-top: 5px;
    padding-left: 30px;
    margin-bottom: 0px;
}

.alert-fields li, .alert-fields-second li{
    list-style: circle;
}
.alert-fields-second li:last-child{
    margin-bottom: 15px;
}

.alert-fields .close,.alert-fields-second .close {
    float: inherit;
    margin-left: 5px;
}

@media (max-width: 1200px) {
    .skyscrollbuttons {
        height: 30px;
    }
}

/* --- mobile phones -- */
@media (max-width: 768px) {
    .inline.visible-xs {
        display: inline-block !important;
    }

    h1, .h1 {
        font-size: 24px;
    }

    .text-center-xs {
        text-align: center;
    }

    .text-right-xs {
        text-align: right;
    }

    .text-left-xs {
        text-align: left;
    }

    .cover-title {
        margin-top: 50px;
    }

    .cover-title h1 {
        font-size: 32px;
        margin-bottom: 25px;
    }

    h2, .h2 {
        font-size: 20px;
    }

    .login-form .btn-lg {
        font-size: 16px;
        padding: 7px 10px;
    }

    .club-avatar img {
        max-height: 30px;
        max-width: 30px;
    }

    .card .card-info {
        max-width: 100%;
        width: 100%;
        margin-top: 10px;
    }

    .card-inner-group .btn-bordered, .card-inner-group .btn {
        padding: 7px 8px;
    }

    .card-inner-group .btn-bordered .alert-btn-label, .card-inner-group .btn .alert-btn-label {
        white-space: nowrap;
        max-width: 78px;
        text-overflow: ellipsis;
        overflow: hidden;
        display: inline-block;
        vertical-align: bottom;
    }

    .card-inner-group .alert .btn-bordered {
        padding: 7px 16px;
    }

    .card-inner-group .alert .btn-bordered i + span {
        display: none;
    }

    .club-avatar img.admin {
        top: 49px;
    }

    .modal-dialog {
        margin: 10px;
    }

    .navbar-nav .open .dropdown-menu > li > a, .navbar-nav .open .dropdown-menu .dropdown-header {
        padding: 10px 15px 10px 25px;
    }

    .nav-tabs {
        border-color: transparent;
    }

    .nav-tabs > li > a, .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
        border: 1px solid #ddd;
        border-radius: 4px;
        margin: 0 2px 10px 0;
    }

    .tab-content .tab-pane {
        padding: 20px 0;
    }

    .nav-flex-xs{
        display: flex;
    }
    .nav-flex-xs > li{
        flex: 1;
        text-align: center;
    }

    textarea.input-full-width {
        width: 90%;
        max-width: 90%;
    }

    .alert-shifter.icons.bordered i.fa.fa-play {
        margin-left: -3.5px;
    }

    .chatbtns-row-wrap .close {
        margin: -40px -14px 0 0;
    }

    .card-inner-group-btns .dropdown-menu {
        left: -41px;
    }
    .user-logo-wrap {
        width: 150px;
        height: 150px;
    }
    .user-logo {
        width: 150px;
    }
    .balance-wrap {
        border-top: 1px solid #ddd;
        border-bottom: none;
        border-left: none;
        padding-left: 0;
    }
    .owner-account-wrap > div {
        padding: 20px 0 0 0;
    }
    .owner-account-wrap > div > .col-md-6 {
        padding-left: 0;
    }
    .owner-account-wrap .dropdown-menu-right {
        left: 0;
        right: auto;
    }

    .player-avatar{
        text-align: center;
        width: 100%;
    }
    .player-avatar img {
        border-radius: 50%;
    }
    .player-save{
        text-align: center;
    }
    .player-save .btn-success{
        width: auto;
    }
    .nav-tabs.card-nav {
        text-align: center;
        display: table;
        margin: auto;
    }

    .page-finances .subs-card-name h3 {
        font-size: 20px;
        margin-top: 7px;
    }
    .page-finances .page-stat{
        display: block;
    }
    .page-finances .page-stat .stat-block {
        border-bottom: 1px solid #ccc;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .page-finances .page-stat:last-child .stat-block:last-child {
        border-bottom: none;
    }

    .page-pages .card-body .col-sm-4 {
        margin-bottom: 15px;
    }
    .page-pages .card-body .col-sm-4:last-child {
        margin-bottom: 0;
    }

    /* card tables */
    .table-adaptive tr {
        display: block;
        border-bottom: 2px solid #e8e9eb;
    }
    .table-adaptive td {
        display: block;
        text-align: right;
    }
    .table-adaptive .form-group {
        float: right;
    }
    .table-adaptive .form-control {
        width: auto;
    }
    .table-adaptive td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        margin-top: 5px;
    }
    .pack-move-wrap{
        padding-top: 15px;
    }
}

@media (max-width: 480px) {
    .notice-wrapper {
        max-width: 80%;
    }
}

/* for not mobiles */
@media (min-width: 769px) {
    .navbar-nav > li > a {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .navbar-brand.main-logo {
        text-transform: uppercase;
        padding: 20px 15px 15px;
    }

    .btn-status, .btn-state {
        min-width: 125px;
    }
    .btn-status.short {
        min-width: auto;
    }

    .employers-list .btn-status {
        min-width: 151px;
    }

    .page-summary .col-md-4:nth-child(3n) {
        padding-right: 0;
    }

    .page-stat > div:not(:first-child) {
        border-left: 1px solid #ccc;
        padding-left: 10px;
    }
    .page-stat:nth-child(4),.page-stat:nth-child(5) {
        border-top: 1px solid #ccc;
        padding-top: 10px;
    }
}


/* 


play 
element {
    font-size: 10px;
    display: inline-block;
    line-height: 10px;
    position: absolute;
    margin: 1px 0 0 -3px;
}

up 
element {
    position: absolute;
    margin: -2px 5px 3px -5px;
}

down
element {
    position: absolute;
    margin: -1px 0 0 -5px;
}


 */