body {
    color: #525252 !important;
    margin: 0px;
    background-color: #ffffff !important;
    background: url('/images/bg1.jpg') no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

    padding-top: 90px !important;
    margin-bottom: 60px !important;
}
html {
    position: relative;
    min-height: 100%;
}
body, #page {
    height: 100%;
    padding:0;
    margin:0;
    /* The html and body elements cannot have any padding or margin. */
}
body, #page
{
    _min-height: 100% !important;
}
#wrap
{
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    _margin: 0 auto -30px;
}
#wrap > .container {
    padding-top: 0px;
}

.switch-lang li [class^="famfamfam-flag"] {
    position: relative;
    top: 2.4px;
}
.switch-lang {
    list-style-type: none;
    display: inline-block;
    padding-left: 0px;
    list-style: outside none none;
    margin-left: -5px;
}
.switch-lang > li {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}
ul.language-dropdown {
    width: 75px;
    min-width: 75px !important;
}
ul.language-dropdown > li > a {
    padding: 3px 10px;
}
.topnav {
    display: inline-block;
    height: 21px;
    max-height: 21px;
    padding-left: 24px;
    font-size: 14px;
    _line-height: 18px;
    font-weight: normal;
    _color: #ffffff;
}
.styled a {
    color: #A3A3A3;
    font-weight: 900;
    text-decoration: none;
    font-size: 13px;
}
.styled [class^="col-"], .styled [class*=" col-"] {
    margin-bottom: 0px !important;
}
.styled {
    _background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAfCAIAAABLdytMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDI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xvnttpDBMOcN2AcMZbtXXhQMX/S61bum+ofwT/aBs6LBiJtZ3mJFUuOHit08z2Ig67p99bDvvQBc8ii2IgbgtNtBGWNAl3o16KaNmqZzFyH/egXppQ4S/50xirr4YXfxs4FRxSu438RVgAKHfWQol2VKfAAAAAElFTkSuQmCC");
    background-repeat: repeat-x;
    min-height: 21px;
    height: 21px;

}
.styled .dropdown-wrapper .btn.dropdown-toggle .caret {
    position: relative;
    top: -2px;
}
.styled .dropdown-wrapper .btn.dropdown-toggle .caret {
    border-top-color: #525252;
}
.btn .caret {
    margin-left: 0px;
}
.caret {
    display: inline-block;
    width: 0px;
    height: 0px;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}
.navbar:before, .navbar:after {
    content: " " !important;
    display: table !important;
}

.styled .dropdown-wrapper .btn.dropdown-toggle {
    padding: 0px;
    line-height: 16px;
    background: none repeat scroll 0% 0% transparent;
    color: #A3A3A3;
    box-shadow: none;
}
.navbar.navbar-default.navbar-static-top, .styled {
    margin: 0px auto;
    border-bottom: 0px none;
}
.styled {
    z-index: 999;
    border-width: 0px 0px 1px;
}
.whiteblock {
    background-color: #ffffff;
}
.warningblock {
    background-color: #FF7518;
    color: #FFFFFF;
}
.someblock {
    _background-color: #F5F5F5;
    _border: 1px solid #E3E3E3;
    _opacity: 0.9;
    background: rgba(245, 245, 245, 0.8);
}

/*
 * Footer
 */

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 30px;
    color: #777;
    text-align: center;
    background-color: #e5e5e5;
    _border-top: 1px solid #e5e5e5;
}
#footer > .container {
    padding-top:5px;
}
#footer p:last-child {
    margin-bottom: 0;
}

div.pad {
    padding:5px;
    margin:0px;
    width:100%;
}

.amount {
    font-family: sans-serif;
    font-size: 120px;
}
.rub {
    position: relative;
}
.rub:before {
    content: "P";
}
.rub-line {
    position: absolute;
    top: .05em;
    left: 0px;
}
.rub-line:before {
    content: "-";
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 5px;
    padding-right: 5px;
}
.row {
    margin-left: -5px;
    margin-right: -5px;
}

.onlineview {
    display:inline-block;
    position:relative;
    margin:0 0 0px 0;
    text-align: center;
    width: 100%;
}
.onlineview .onlinetext {
    display:block;
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    box-sizing:border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;

    color:#fff;

    padding:10px;
    background-color:rgba(0,0,0,.3);


}
.onlineview h6 {
    font-family:Arial, Helvetica, sans-serif;
    font-size:18px;
}
.onlineview span {
    font-size:12px;
}

.slickview {
    _display:inline-block;
    position:relative;
    margin:0 0 5px 0;
    _text-align: center;
    _width: 100%;
}
.slickview .slicktext {
    padding:10px;
}
.slickview h6 {
    font-family:Arial, Helvetica, sans-serif;
    font-size:18px;
}

.slickview span {
    font-size:12px;
}

#showdate {
    text-align:left;
}
#showlang {
    text-align:right;
}
/*
#mediaplayer {
min-width: 400px;
min-height: 225px;
}
#mediaplayer_wrapper,  #mediaplayer_displayarea, #mediaplayer_wrapper {
width: 100% !important;
height:100% !important;
}
*/
@media (max-width: 767px) {
    /*
    #mediaplayer {
        _min-width: 718px;
        _min-height: 404px;
    }
    */
    .onlineview img{
        width: 100%;
        _height: 200px;
    }
    .mainmenu {
        margin-top: 42px;
    }
    .styled {
        height:42px;
    }
    body {
        padding-top: 130px !important;
    }
    #showdate, #showlang, #shotimezone {
        text-align:center;
        max-height: 21px;
    }
}
@media (min-width: 768px) and (max-width:991px) {
    /*
    #mediaplayer {
        min-width: 718px;
        min-height: 404px;
    }
    */
    .onlineview img{
        width: 100%;
        _height: 200px;
    }
    .mainmenu {
        margin-top: 21px;
    }
    .styled {
        height:21px;
    }
    body {
        padding-top: 111px !important;
    }
    #showdate, #showlang, #shotimezone {
        text-align:center;
        max-height: 21px;
    }

    .mainmenu ul.nav {
        display: table;
        table-layout: fixed;
        width: 100%;
        vertical-align: top;
    }
    .mainmenu ul.nav > li {
        display: table-cell;
        float: none;
        text-align: center;
    }

.modal-wide .modal-dialog {
  width: 60%;
}
.modal-wide .modal-body {
  overflow-y: auto;
}

}
@media (min-width: 992px) and (max-width:1199px) {
    /*
    #mediaplayer{
        min-width: 700px;
        min-height: 394px;
    }
    */
    .onlineview img{
        width: 100%;
        _height: 127px;
    }
    .styled {
        height: 21px;
    }
    .mainmenu {
        margin-top: 21px;
    }
    .mainmenu ul.nav {
        display: table;
        table-layout: fixed;
        width: 100%;
        vertical-align: top;
    }
    .mainmenu ul.nav > li {
        display: table-cell;
        float: none;
        text-align: center;
    }
    #users_online, .yiichat .posts {
        height:350px;
    }


.modal-wide .modal-dialog {
  width: 60%;
}
.modal-wide .modal-body {
  overflow-y: auto;
}
}
@media (min-width: 1200px) {
    /*
    #mediaplayer {
        min-width: 851px;
        min-height: 478px;
    }
    */
    .onlineview img{
        width: 100%;
        _height: 155px;
    }
    #showdate {
        text-align:left;
    }
    #showtimezone {
        text-align:center;
        max-height: 21px;
    }
    #showlang {
        text-align:right;
    }
    .mainmenu ul.nav {
        display: table;
        table-layout: fixed;
        width: 100%;
        vertical-align: top;
    }
    .mainmenu ul.nav > li {
        display: table-cell;
        float: none;
        text-align: center;
    }
    #users_online, .yiichat .posts {
        height:425px;
    }


.modal-wide .modal-dialog {
  width: 60%;
}
.modal-wide .modal-body {
  overflow-y: auto;
}
.wrap-row {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
 }

 .flex-column {
  -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 1;         /* OLD - Firefox 19- */
  -webkit-flex: 1;          /* Chrome */
  -ms-flex: 1;              /* IE 10 */
  flex: 1;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}
}


.panel .list-view {
    padding-top: 0px;
}

.scroll-pane
{
    overflow-y:auto;
    overflow-x:hidden;
    height:300px;
    width:200px;
}

.nav-list > .active > a, .nav-list > .active > a:hover, .nav-list > .active > a:focus {
    background-color: #0088cc !important;
    color: #ffffff !important;
}


iframe {
    width: 100%;
}

.aspect-ratio {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 51%;
}

.aspect-ratio iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0; top: 0;
}

.aspect-ratio #mediaplayer {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0; top: 0;
}
.yiichat .text .streamer {
    color: red;
}

.yiichat .owner .streamer {
    color: blue;
}

.ui-tabs .ui-tabs-panel {
    padding: 0 !important;
}

#users_online {

    _font-size: 12px;
    _border: 1px dotted #eee;
    display: block;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 425px;
}

#users_online::-webkit-scrollbar
{
    width: 3px;  /* for vertical scrollbars */
    height: 3px; /* for horizontal scrollbars */
}

#users_online::-webkit-scrollbar-track
{
    background: #3f3f3f none repeat scroll 0 0;
    bottom: 9px;
    height: auto !important;
    padding: 1px;
    position: absolute;
    right: 0;
    top: 0;
    width: 3px;
}

#users_online::-webkit-scrollbar-thumb
{
    background: #cecece none repeat scroll 0 0;
    cursor: move;
    height: 45px;
    position: relative;
    top: 0;
}

/*Sets the visual listbar width to 400 px and realigns it above the icon. */
 .jw-skin-seven .jw-overlay .jw-playlist-container {
 	width:400px;
 	left:-20%;
 }

/* overrides the player settings for how tall the visualplaylist can be. 195px is the about right for a player that is 270px tall, including the controlbar height, and menus. */
.jwplayer .jw-playlist {
min-height: none;
max-height: none;
height: 195px;

 }

/* Makes it so the list items are left aligned in the visualplaylist */
 .jwplayer .jw-playlist .jw-option {
	padding: 0 15px;
	margin: auto;
	text-align: left;
}

.jw-playlist .jw-name {
    width: 100% !important;
}
.radio, .checkbox {
    padding-left: 20px;
}

.has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline, .has-error.radio label, .has-error.checkbox label, .has-error.radio-inline label, .has-error.checkbox-inline label {
    color: #000000 !important;
}

.tr-new {
    background-color: #d0efff !important;
}

.tr-active {
    background-color: #ffe8e8 !important;
}

.tr-notpayd {
    background-color: #ffb0b0 !important;
}

.tr-closed {
    background-color: #ccffdf !important;
}

.text-white {
    color: #ffffff !important;
}
.bg-blue {
    background-color: #0275d8 !important;
}

.bg-lightblue {
    background-color: #5bc0de !important;
}
.bg-orange {
    background-color: #f0ad4e !important;
}
.bg-green {
    background-color: #5cb85c !important;
}

.bg-red {
    background-color: #d9534f !important;
}

.btn-new {
    background-color: #a9a9a9;
    cursor: pointer;
}
.btn-active {
    background-color: #fff79a;
    cursor: pointer;
}
.btn-sent {
    background-color: #f49ac0;
    cursor: pointer;
}
.btn-payd {
    background-color: #42ba7c;
    cursor: pointer;
}

@-webkit-keyframes pulsate { 50% { color: #fff; text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px #fff; } } @keyframes pulsate { 50% { color: #fff; text-shadow: 0 -1px rgba(0,0,0,.3), 0 0 5px #ffd, 0 0 8px #fff; } } .blink { color: rgb(245,245,245); text-shadow: 0 -1px rgba(0,0,0,.1); background: green; -webkit-animation: pulsate 1.2s linear infinite; animation: pulsate 1.2s linear infinite; }

.paybutton {
    opacity:.5;
    border: 0px;
    width: 170px;
    height: 99px;
    background-repeat: no-repeat;
    background-position:center;
}
.paybutton:hover {
    opacity:1;
}

.onlineview img {
  width:100%;
  height:auto;
}
a.video{
  float: left;
  position: relative;
}
a.video span {
  width: 100%;
  height: 100%;
  position: absolute;
  background: url("../images/play-btn.png") no-repeat;
  text-align: center;
  _background-position: -50% 50%;
  background-size: 100%;
  left: 0;
}

.div-table {
    display: table;
}

.div-row {
    display: table-row;
}

.div-cell {
    vertical-align: top;
    padding:0 5px 0 5px;
    display: table-cell;
}


/*for menu*/
.navbar-nav > li {
    _width: 100%;
}

.oldevent {
    opacity:.5;
    _border: 0px;
    _width: 170px;
    _height: 99px;
    _background-repeat: no-repeat;
    _background-position:center;
}
.oldevent:hover {
    opacity:1;
}

/*
Generic Styling, for Desktops/Laptops
*/
.table-vertical {
  width: 100%;
  height:auto;
  border-collapse: collapse;
}
/* Zebra striping */
.table-vertical>tbody>tr:nth-of-type(odd) {
  background: #f9f9f9;
}
.table-vertical>thead>tr>th {
  background: #fff;
  color: #000;
  font-weight: bold;
}
.table-vertical>tbody>tr>td, .table-vertical>thead>tr>th {
  padding: 6px;
  border-top: 1px solid #ddd;
  text-align: left;
  vertical-align: middle;
}


/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	.table-vertical table, .table-vertical thead, .table-vertical tbody, .table-vertical th, .table-vertical td, .table-vertical tr {
		display: block;
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	.table-vertical thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	.table-vertical>thead>tr,  .table-vertical>tbody>tr{ border: 1px solid #ccc; }


	.table-vertical>thead>tr>td,  .table-vertical>tbody>tr>td{
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: 50%;
	}

	.table-vertical>tbody>tr>td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
	}

	/*
	Label the data
	*/
	.table-vertical>tbody>tr>td:before { content: attr(data-th); }

        .wrap-row {
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
 }

 .flex-column {
  -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-flex: 1;         /* OLD - Firefox 19- */
  -webkit-flex: 1;          /* Chrome */
  -ms-flex: 1;              /* IE 10 */
  flex: 1;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}
}

.nav > li > a.btn-primary:hover, .nav > li > a.btn-primary:focus, .nav > li > a.btn-primary.active {
    color: #ffffff !important;
background-color: #1967be !important;
border-color: #1862b5 !important;
}

.select2-result-search {
 padding-top:4px;
 padding-bottom:3px
}
.select2-result-search__avatar {
 float:left;
 width:100px;
 margin-right:10px
}
.select2-result-search__avatar img {
 width:100%;
 height:auto;
 border-radius:2px
}
.select2-result-search__meta {
 margin-left:70px
}
.select2-result-search__title {
 color:black;
 font-weight:700;
 word-wrap:break-word;
 line-height:1.1;
 margin-bottom:4px
}
.select2-result-search__forks,.select2-result-search__stargazers {
 margin-right:1em
}
.select2-result-search__forks,.select2-result-search__stargazers,.select2-result-search__watchers {
 display:inline-block;
 color:#aaa;
 font-size:11px
}
.select2-result-search__description {
 font-size:13px;
 color:#777;
 margin-top:4px
}
.select2-results__option--highlighted .select2-result-search__title {
 color:white
}
.select2-results__option--highlighted .select2-result-search__forks,.select2-results__option--highlighted .select2-result-search__stargazers,.select2-results__option--highlighted .select2-result-search__description,.select2-results__option--highlighted .select2-result-search__watchers {
 color:#c6dcef
}

.tenge:after {
    content: "\20B8";
}

.paysystem-item {
    float:left;
    padding:0 5px;
}

.navbar-collapse {
    _max-height: inherit !important;
}

.modal-backdrop.fade.in {
	z-index: 1010 !important;
}