body {
    padding-top: 51px;
    padding-bottom: 50px;
    background-color: #f6f6f6;
}
/* navbar light */
.navbar-light {
    background-color: #ededed;
    border-color: #e4e4e4;
    margin-bottom: -1px;
}
.navbar-light .navbar-toggle {
    border-color: #ddd;
}
.navbar-light .navbar-toggle .icon-bar {
    background-color: #888;
}
.navbar-light .navbar-nav>li>a {
    color: #777;
}
.navbar-light .navbar-nav>.active>a, .navbar-light .navbar-nav>.active>a:hover, .navbar-light .navbar-nav>.active>a:focus {
    color: #555;
    background-color: #dcdcdc;
}
.navbar-light .dropdown-menu>li>a:hover, .navbar-light .dropdown-menu>li>a:focus {
    text-decoration:none;
    color:#ffffff;
    background-color:#333;
}
.navbar-light .navbar-brand {
    color: #888;
}

.collapsing {
    -webkit-transition: none;
    transition: none;
}
#warningOverlay {
    display: none;
    position: fixed;
    background: rgba(0,0,0,.6);
    top: 0;
    right: 0;
    left: 0;
    bottom: 400px;
    z-index: 5;
}
#adultWarning {
    display: none; 
    position: fixed; 
    /*min-height:400px; */
    background:#f6f6f6; 
    /*max-height:400px; */
    bottom:0; 
    left:0; 
    right:0; 
    z-index:5; 
    /*padding-top:20px*/
}
#adultWarning .container {
    border: 6px solid #fcc; 
    padding-bottom: 5px;
    background-color: #ffffff;
}
#adultWarning h1 {
    color: #ff0000;
    margin-top: 0;
}
.userVIP{
    background-color: #ff4081 !important;
    color: white !important;
    padding: 0 4px;
    border-radius: 2px;
}
.userVF{
    background-color: #4caf50 !important;
    color: white !important;
    padding: 0 4px;
    border-radius: 2px;
}
.userCommercial{
    background-color: #e2751b !important;
    color: white !important;
    padding: 0 4px;
    border-radius: 2px;
}

#logo{
    display: inline-block;
    position: relative;
}
#logo a{
    text-decoration: none;
    color: #333;
}
#zbiornik{
    display: block;
    font-size: 6rem;
    text-align: center;
    font-weight: 500;
    margin: 0;
    padding: 0;
}
#mini{
    position: absolute;
    color: #999;
    font-size: 2rem;
    display: block;
    margin: 0;
    padding: 0;
    text-align: center;
    right: 0;
    bottom: -1rem;
}

#appBar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #3b5998;
    padding: 12px 0;
    z-index: 4;
}
#menuIcon{
    width: 37px;
    height: 22px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACUAAAAWCAYAAABHcFUAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALNJREFUeNpi/P//P8NgA0wMgxCwQOnNQGxGBfMYgfgqEDtSZAg0+t4DsQCVPPoJiPmpEX1fqRj6v6kVfUFArALE/6kQfY8pTgOjuY/E6NMAYkUqmfkMiC9SI/ruUdFRz4FYihrRJ0jF0OemVvSdplLhyQAtPKmS+1gpLfCQwGcg/jlaJNCzSCgAYkMqleg3gbhtsFXIoHqUhxrRx0jF0GekVvS1ALE+lRx1e7RCHtGOAggwAGV9LuS/8U8JAAAAAElFTkSuQmCC');
}

#menu{
    position: fixed;
    min-width: 240px;
    max-width: 240px;
    background: #fff; /*#e6e6e8;*/
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 5;
}
#overlay{
    display: none;
    position: fixed;
    background: rgba(0,0,0,.5);
    top: 0;
    right: 0;
    left: 240px;
    bottom: 0;
    z-index: 5;
}

.twoLinesBitch{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 16px;     /* fallback */
    max-height: 64px;      /* fallback */
    -webkit-line-clamp: 4; /* number of lines to show */
    -webkit-box-orient: vertical;
    }

.mg-3-0{
    margin:3px 0;
}
.mg10-0{
    margin: 10px 0;
}

.pd8{
    padding:8px;
}

.badge-grey {
    background: #bcbcbc;
}
.badge-red {
    background: #f44336;
}
.badge-green {
    background:#03800f;
}

.pink {
    color: #ff4081 !important;
}

/* main menu */
#mainMenu {
    background-color: #fff;
}

#mainMenu a {
    padding-left: 35px;
    background-repeat: no-repeat !important;
    background-position: 10px 13px !important;
}
#mainMenu a.login {
    background: url(/bundles/app/img/menu-icons/login.gif);
    font-weight: bold;
}
#mainMenu a.reg {
    background: url(/bundles/app/img/menu-icons/register.gif);
    font-weight: bold;
}
#mainMenu a.mssgs {
    background: url(/bundles/app/img/menu-icons/messages.gif);
}
#mainMenu a.notifications {
    background: url(/bundles/app/img/menu-icons/notifications.gif);
}
#mainMenu a.empty {
    background: url(/bundles/app/img/menu-icons/empty.gif);
    font-weight: bold;
}
#mainMenu a.imgs {
    background: url(/bundles/app/img/menu-icons/images.gif);
}
#mainMenu a.vid {
    background: url(/bundles/app/img/menu-icons/videos.gif);
}
#mainMenu a.people {
    background: url(/bundles/app/img/menu-icons/people.gif);
}
#mainMenu a.live {
    background: url(/bundles/app/img/menu-icons/live.gif);
}
#mainMenu a.groups {
    background: url(/bundles/app/img/menu-icons/groups.gif);
}
#mainMenu a.board {
    background: url(/bundles/app/img/menu-icons/message-board.gif);
}
#mainMenu a.shop {
    background: url(/bundles/app/img/menu-icons/shop.gif);
}
#mainMenu a.info {
    background: url(/bundles/app/img/menu-icons/info.gif);
}
#mainMenu a.vip {
    background: url(/bundles/app/img/menu-icons/vip.gif);
}
#mainMenu a.credits {
    background: url(/bundles/app/img/menu-icons/credits.gif);
}
#mainMenu a.logout {
    background: url(/bundles/app/img/menu-icons/logout.gif);
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-button {
    width: 8px;
    height:5px;
}

::-webkit-scrollbar-thumb {
    background:#999;
    border: thin solid gray;
}
::-webkit-scrollbar-thumb:hover {
    background:#7d7d7d;
}      

.cover {
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-color: #232937 !important;
}


.cover div {
    background-color: white;
    border-radius: 3px;
    display: inline-block;
}
.cover img {
    border: 1px solid #999;
    border-radius: 3px;
}

/* message form */
div.payment-chooser.disabled div.payment-chooser-item {
    zoom: 1;
    filter: alpha(opacity=60);
    opacity: 0.6;
    cursor: default;
}

div.payment-chooser div.payment-chooser-item {
    padding: 11px;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    border: 1px solid #efefef;
    background: #f7f7f7;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10x;
    min-height: 160px;
}

div.payment-chooser div.payment-chooser-item.selected {
    border: 4px solid #428bca;
    background: #efefef;
    padding: 8px;
    filter: alpha(opacity=100);
    opacity: 1;
}

div.payment-chooser div.payment-chooser-item span.title {
    display: block;
    margin: 10px 0 5px 0;
    font-weight: bold;
    font-size: 12px;
}

div.payment-chooser div.payment-chooser-item span.description {
    font-size: 12px;
}

div.payment-chooser div.payment-chooser-item input[type="radio"] {
    position: absolute;
    left: 0;
    top: 0;
    visibility:hidden;
}
label.hid {
    display:none;
}

.relation-ico {
    margin-right:8px;
}
.relation-ico:hover, .relation-ico:focus {
    text-decoration: none;
}

/* crop images */
.cropped-wrap {
    position: relative; 
    display: inline-block;
}

.center-cropped {
    position: relative; 
    display: inline-block;
    overflow: hidden; 
    background: #232937;  
}
.cropped-info {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    padding: 4px 8px;
    font-size: 0.8em;
    color: white;
    overflow: hidden;
}
.cropped-info a {
    color: white;
}
.streams .cropped-wrap a {
    text-decoration:none;
}
.streams .cropped-wrap .center-cropped {
    width: 224px; 
    height: 168px;
}
.streams .cropped-wrap .center-cropped img {
    position: absolute;
    top: 0;
    left: 0;
    width: 224px;
    height: 168px;
}
.streams .cropped-wrap .cropped-info a:hover {
    text-decoration: underline;
}

.profile-list-crop {
  width: 180px; 
  height: 180px;
  display: inline-block;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;  
}
.crop-140 {
    width: 140px;
    height: 140px;
}
.crop-180 {
    width: 180px;
    height: 180px;
}

/* groups */
.groups {
    background-color: #fff;
    padding: 10px;
}
.groups a.post {
    text-decoration: none;
}
.groups .list-group-item {
    border: 0;
    margin: 0 5px;
    border-bottom: 1px dotted #ddd;
}

#groupsList h1 {
    font-size: 16px;
    font-weight: 500;
    padding: 2px;
    margin: 0;
}
#groupsList h2 {
    font-size: 16px;
    margin: 3px 0;
    font-weight: 400;
}
#groupsList .panel-footer {
    background: white;
}
#groupsList ul.nav-pills {
    margin-bottom:10px
}

/* groups > activities */
.activity {
    margin-top: 10px;
    padding: 20px 0;
}

.activity .activity-head {
    margin: 0;
    padding: 0; 
}


/* profile page */
#friendsBox {
    padding-bottom: 0;
}

/* search people */
#searchBox legend {
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 18px;
    color: #b9b9b9;
    margin-bottom: 15px;
}
.search-profile-box {
     border-bottom: 1px solid #ddd; 
     margin: 20px;
     padding-bottom: 10px;
}
.search-profile-box h2, .search-profile-box h3 {
    margin-top: 0;
    margin-bottom: 0;
}
.search-profile-box h4 {
    margin-top: 5px;
    margin-bottom: 2px;
    font-size: 16px;
}
.search-profile-box h5 {
    margin-top: 5px;
}
@media (max-width: 767px) {
    .search-profile-box {
        text-align: center;
    }
    #friendsBox {
        text-align: center;
    }
}

video {
    width: 100%    !important;
    height: auto   !important;
}

.spinner {
  display: inline-block;
  opacity: 0;
  max-width: 0;

  -webkit-transition: opacity 0.25s, max-width 0.45s; 
  -moz-transition: opacity 0.25s, max-width 0.45s;
  -o-transition: opacity 0.25s, max-width 0.45s;
  transition: opacity 0.25s, max-width 0.45s; /* Duration fixed since we animate additional hidden width */
}

.has-spinner.active {
  cursor:progress;
}

.has-spinner.active .spinner {
  opacity: 1;
  max-width: 50px; /* More than it will ever come, notice that this affects on animation duration */
}