/* resets */
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}


/* global styles */
a {
  cursor: pointer;
  color: #E83C65;
}
a:hover {
  color: #FB254F;
  text-decoration: underline;
}
a:active,
a:focus {
  color: #FB254F;
}
::-webkit-input-placeholder { /* WebKit browsers */
  color: #999;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: #999;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: #999;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
  color: #999;
}
input, button, select, textarea {
  outline: none;
}
input[type=text] {
  color: #555;
  -moz-appearance: caret;
}
input[type=text]:focus {
  border-color: rgba(0,0,0,.2);
  outline: none;
}
.btn {
  border-width: 2px;
}
input[type="radio"], 
input[type="checkbox"] {
  margin: 4px 0 0;  
}
input[type=text],
input[type=text]:focus,
input[type=text]:active,
.btn,
.btn:focus,
.btn:active {
  outline: none;
  box-shadow: none;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.open
.dropdown-toggle.btn-danger {
  box-shadow: none;
}
.form-control {
  border: none;
  box-shadow: none;
  background-color: #f7f7f3;
  border-radius: 0;
}
.btn i {
  margin-left: .25em;
}
.btn-default {
  color: #999;
  background-color: #fff;
  border-color: #eee;
}
.btn-default:hover {
  border-color: #ccc;
  color: #555;
}
h1,
h2,
h3 {
  font-family: "Helvetica Neue", "Avenir Next", "Avenir", arial, sans-serif;
}
h1 {
  margin-top: 0;
  font-size: 2em;
  margin-bottom: 0;
  color: #333;
}
h2 {
  color: #333;
}
h3 {
  font-size: 1.3em;
}
.caret {
  border-color: #aaa rgba(0, 0, 0, 0) -moz-use-text-color;
}
.dropdown-menu {
  box-shadow: none;
  border-radius: 0;
  border-width: 2px;
}
.dropdown-menu > li > a {
  color: #555;
  padding-left: 10px;
  font-size: .9em;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a.zeroclipboard-is-hover {
  background-color: #333;
  color: #fff;
}
.dropdown-menu .divider {
  margin: 3px 0;
}
.tooltip {
  transition: none;
}




/* layout */
body {
  font-family: "Helvetica Neue", arial, sans-serif;
  color: #555;
  padding: 0;
  padding-bottom: 150px;
}
body > .row-fluid > .container {
}
body > .header > .container {
  width: 1015px;
  width: 100%;
}
.main {
  min-height: 500px;
  padding: 2em 0 0 0;
  border-bottom: none;
}
.main > .container {
  min-height: 300px;
  width: 100%;
  padding: 0;
}
.content_wrapper {
  background-color: #fff; 
  padding-top: 3em;
}
.content {
  width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
  padding-top: 1em;
}
@media (max-width: 979px) {
  .content {
    width: auto;
  }
  body > .row-fluid > .container,
  body > .header > .container {
    width: auto;
  }
}
@media (max-width: 767px) {
  .content,
  .content_wrapper {
    padding-top: 0;
  }
  .main {
    min-height: 100px;
  }
  .main > .container {
    padding: 0;
  }
  .main h1 {
    margin-top: 1em;
    text-align: center;
  }
}





/* header navbar */
.header {
  position: fixed;
  width: 100%;
  z-index: 999;
  padding: 0;
  background-color: #f5f5f5;
  border-bottom: 2px solid #fff;
  background-color: transparent;
  background-color: rgba(0,0,0,.1);
  border-bottom: none;
  -webkit-transition: background .1s;
  transition: background .1s, border .1s;
}
body.nomenu .header {
  display: none;
}
.header .navbar {
  height: 45px;
}
.header .navbar-inverse {
  background-color: transparent;
  border: none;
  margin-bottom: 0;
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  background-color: transparent;
  color: #555;
}
.navbar-inverse .navbar-toggle {
  border-color: transparent;
}
.navbar-inverse .navbar-toggle {
  margin-right: 8px;
}
.header .navbar-brand {
  font-size: 14px;
  padding-left: 0;
}
.header .navbar-header:hover .dropdown-menu {
  display: block;
  margin-top: -1px;
  text-align: left;
}
.header .navbar-header .suggest a {
  font-style: italic;
  color: #aaa;
}
.header .navbar-nav > li {
  float: none;
}
.header a.logo {
  float: left;
  display: block;
  text-decoration: none;
  outline: none;
  padding: 3px;
  margin-left: -4px;
  margin-top: 1px;
  margin-right: 10px;
}
.header a.logo .logo-black {
  display: none;
}
.header a.logo .logo-white {
  display: inline-block;
}
.header a.logo:hover,
.header a.logo:focus,
.header a.logo:active {
  color: #777;
}
.header a.logo img {
  display: inline-block;
  vertical-align: middle;
  text-decoration: none;
  width: 100px;
}
.header a.logo:hover img {
  opacity: .8;
}
.header a.logo:hover {
  text-decoration: none;
}
.header a.logo:hover i {
}
.header a.logo i {
  display: inline-block;
  vertical-align: middle;
  font-size: 17px;
  color: rgba(255,255,255,.8);
  margin: 3px 0 0 3px;
}
.header .menu {
  float: right;
  margin-top: 6px;
  margin-right: -15px;
}
.header .menu > li {
  display: inline-block;
  vertical-align: middle;
}
.header .menu > li i {
  font-size: 1.2em;
  display: inline-block;
  vertical-align: middle;
  margin-top: -2px
}
.header .menu > li > a { 
  padding: 9px 8px 8px 8px;
  display: block;
  color: rgba(255,255,255,.8);
  font-size: 14px;
  text-decoration: none;
  outline: none;
}
.header .menu > li > a:active {
  color: #fff;
}
.header .menu > li .dropdown-menu li > a:hover {
  color: #fff;
}
.header .menu > li a:active {
  color: #555;
}
.header .menu .menu-upload {
  margin-left: 10px;
  font-size: 0;
}
.header .menu > .menu-upload > a {
  float: left;
  display: inline-block;
  background-color: #FB254F;
  color: #fff;
  border-radius: 4px;
  padding: 6px .75em 4px .75em;
  border-bottom: 2px solid rgba(0,0,0,.2);
  font-weight: bold;
}
.header .menu .menu-upload > a:hover {
  background-color: #FB254F;
  color: #fff;
}
.header .menu .menu-upload > a:active {
  border-color: #FB254F;
  border-bottom: none;
  margin-top: 2px;
}
.header .menu .menu-upload > a.menu-upload-button {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.header .menu .menu-upload > a.menu-upload-button.rounded {
  border-radius: 4px;
}
.header .menu .menu-upload > a.menu-upload-more {
  border-left: 1px solid rgba(0,0,0, .2);
  padding: 6px .6em 4px .6em;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.header .menu > li a > .caret {
  display: none;
}
.header .menu li.dropdown {
  margin-left: .6em;
}
.header .menu li.dropdown li {
  text-align: left;
}
.header .menu li.dropdown:hover > ul.dropdown-menu {
  display: block;
}
.header .menu .dropdown-menu {
}
.header .menu img.header-avatar {
  width: 28px;
  height: 28px;
}
.header .menu img.header-avatar,
.header .menu img.header-avatar + * {
  display: inline-block;
  vertical-align: middle;
}
.header .menu > li > a.avatar-link > span {
  position: relative;
  padding: 0 4px;
}
.header .menu > li > a.avatar-link,
.header .menu > li > a.notifications-link  {
  display: inline-block;
  padding: 0px;
}
.header .menu > li > a.avatar-link i {
  color: rgba(255,255,255,.8);
  margin-left: 5px;
  margin-top: 0px;
}
.header .label-notifications,
.header .label-follow-unread {
  display: inline-block;
  background-color: #E83C65;
  color: #fff;
  line-height: 1.5em;
  font-size: .8em;
  margin-left: -5px;
  padding: .05em .4em;
}
.header .dropdown .avatar-link .notify-badge-anchor {
  display: inline-block;
  padding: 0;
  margin-right: 4px;
}
.header .dropdown .menu-username {
  display: inline-block;
  vertical-align: middle;
}
.header .avatar-link .label-notifications {
  position: absolute;
  top: 0;
  right: 0;
  margin-right: -5px;
  margin-top: -5px;
  border-top: 0;
  border-right: 0;
}
.header .menu .dropdown-menu a span {
  margin-right: 5px;
}
.header .label-follow-unread {
  vertical-align: middle;
  margin-left: 4px;
}
.header .dropdown-menu .label-follow-unread,
.header .dropdown-menu .label-notifications {
  position: absolute;
  margin: 0 0 0 4px;
  vertical-align: text-top;
  font-size: .9em;
  padding-top: 0;
  padding-bottom: 0;
}
.header .dropdown-menu .label-notifications {
  margin-left: -1px;
}
@media (max-width: 979px) {
  .header {
    text-align: center;
  }
  .header .navbar-header {
    width: auto;
    margin: 0;
  }
}
@media (min-width: 768px) {
  .header.opaque {
    background-color: rgba(255,255,255,.95);
    border-bottom: 1px solid #eee;
  }
  .header.opaque .menu > li > a:active {
    color: #333;
  }
  .header.opaque .menu > li > a { 
    color: #999;
  }
  .header.opaque .menu > li a:hover,
  .header.opaque .menu > li a:focus {
    color: #555;
    text-decoration: none;
  }
  .header.opaque .menu .menu-upload > a {
    color: #fff;
  }
  .header.opaque .menu .menu-upload > a:hover {
    color: #fff;
  }
  .header.opaque a.logo .logo-black {
    display: inline-block;
  }
  .header.opaque a.logo .logo-white {
    display: none;
  }
  .header.opaque a.logo i,
  .header.opaque .search > i,
  .header.opaque .menu > li > a.avatar-link i {
    color: #aaa;
  }
}
@media (max-width: 767px) {
  body > .header > .container {
    padding-left: 0;
    padding-right: 0;
  }  
  .header {
    text-align: left;
    background-color: #222;
    position: relative;
    padding-top: 0;
    border-bottom: none;
  }
  .header .navbar {
    height: auto;
  }
  .header .navbar-header {
    text-align: center;
  }
  .header .navbar-header:hover .dropdown-menu {
    display: none;
  }
  .header a.logo {
    float: none;
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 5px 13px;
    color: #fff;
    font-size: 1.3em;
  }
  .header a.logo img {
    display: inline-block;
    vertical-align: middle;
    width: 95px;
    opacity: 1;
  }
  .header a.logo i {
    display: none;
  }
  .header .menu-channels {
    padding: 14px;
    padding-left: 0;
    margin: 0;
  }
  .header .navbar-toggle {
    position: absolute;
    left: 4px;
    margin-top: 8px;
  }
  .navbar-inverse .navbar-toggle .icon-bar {
    background-color: #aaa;
  }
  .header .navbar-inverse {
    display: block;
  }
  .header .container > .navbar-collapse {
    background-color: #222;
    transition: none;
    margin-top: -2px;
    border: none;
    margin: 0;
  }
  .header .navbar-toggle-search {
    position: absolute;
    right: 0;
    top: 0;
    background-color: transparent;
    border: none;
    color: #aaa;
    font-size: 1.7em;
    padding: .33em .55em;
  }
  .header .navbar-brand {
    font-size: 16px;
    padding-left: 15px;
  }
  .header .label-follow-unread {
    display: none;
  }
  .header .menu {
    float: none;
    margin-bottom: 0;
  }
  .header .menu > li {
    display: block;
    margin-left: 0;
  }
  .header .menu > li + li {
    margin: 0;
  }
  .header .menu > li > a {
    padding: 10px 15px;
    color: rgba(255,255,255,.8);
    font-size: 1.3em;
  }
  .header .menu > li > a:hover {
    background-color: #333;
    color: #fff;
  }
  .header .menu > li > a:active {
    background-color: #333;
    color: #fff;
  }
  .header .menu .menu-upload {
    margin-left: 0;
    font-size: 1em;
  }
  .header .menu .menu-upload > a {
    float: none;
    display: block; 
    padding: 10px 15px;
    color: rgba(255,255,255,.8);
    font-size: 1.3em;
    background-color: transparent;
    border-radius: 0;
    font-weight: normal;
  }
  .header .menu .menu-upload > a:hover {
    background-color: #333;
    color: #fff;
  }
  .header .menu .menu-upload > a.menu-upload-more {
    display: none;
  }
}



/* header search */
.header .search {
  display: inline-block;
  padding: 0;
  float: left;
  position: relative;
  overflow: visible;
  margin-left: 15px;
  margin-top: 8px;
  font-size: 1.1em;
  background-color: transparent;
  padding-left: .5em;
}
.header .search > i {
  font-size: 1.1em;
  color: rgba(255,255,255,.8);
  position: absolute;
  margin-top: 8px;
}
.header .search input {
  width: 200px;
  height: 34px;
  border: none;
  outline: none;
  border: none;
  color: #fff;
  padding-left: 22px;
  background-color: transparent;
  font-size: .9em;
}
.header.opaque .search input {
  color: #555;
}
.header .search .search-result-list {
  margin-top: 5px;
  border-top: none;
  background-color: #313131;
  position: absolute;
  left: 0;
  right: 0;
  top: 27px;
  min-height: 20px;
  max-height: 400px;
  display: none;
  z-index: 1000;
  overflow: hidden;
  overflow-y: auto;
}
.header .search .search-result-list li {
  padding: .5em;
  border-bottom: 1px solid rgba(0,0,0,.2);
  font-size: 1em;
  text-align: left;
  cursor: pointer;
  color: #aaa;
  overflow: hidden;
  font-size: .9em;
}
.header .search .search-result-list li.selected {
  background-color: #222;
}
.header .search .search-result-list li:hover {
  background-color: #222;
}
.header .search .search-result-list li:hover.selected {
  background-color: #111;
}
.header .search .search-result-list li:last-child {
  border-bottom: none;
}
.header .search .search-result-list li > * {
  display: block;
  vertical-align: top;
}
.header .search .search-result-list li .description {
  font-size: 8pt;
  padding: 5px;
}
.header .search .search-result-list li .thumb {
  float: left;
  width: 50px;
  height: 30px;
  background-color: #222;
  text-align: center;
  margin-right: .5em;
  overflow: hidden;
}
.header .search .search-result-list img  {
  max-width: 80px;
  max-height: 80px;
}
.header .search-result-list .fa-user {
  float: right;
  opacity: .3;
  font-size: 1.1em;
  margin-top: 4px;
}
@media (max-width: 767px) {
  .header .search {
    float: none;
    margin: 0;
    background-color: rgba(255,255,255,.15);
  }
  .header .search input,
  .header.opaque .search input {
    color: #fff;
    font-weight: bold;
    font-size: 1.2em;
    padding-left: 30px;
  }
  .header .search > i {
    margin-left: 6px;
    font-size: 1.2em;
  }
}
/* header search - no results/has results */
.header .search .search-result-list {
  display: none;
}
.header .search.focus.has-results {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
}
.header .search.focus.has-results input {
  width: 300px;
}
.header .search.not-empty input:focus + .search-result-list,
.header .search.focus.not-empty .search-result-list {
  display: block;
  color: #ccc;
}
.header .search .no-results-alert,
.header .search .loading-results-alert {
  padding: 5px;
}
.header .search .loading-results-alert,
.header .search.has-results .no-results-alert,
.header .search.loading .no-results-alert,
.header .search.has-results .loading-results-alert,
.header .search.loading ul {
  display: none;
}
.header .search.loading .loading-results-alert {
  display: block;
}
.header .search input::-webkit-input-placeholder {
  -webkit-transition: color 0.1s ease;
  color: rgba(255,255,255,.8);
}
.header .search.active input::-webkit-input-placeholder {
  -webkit-transition: color 0.1s ease;
  color: rgba(255,255,255,.8);
}
.header .search input::-moz-placeholder {
  -webkit-transition: color 0.1s ease;
  color: rgba(255,255,255,.8);
}
.header .search.active input::-moz-placeholder {
  -webkit-transition: color 0.1s ease;
  color: rgba(255,255,255,.8);
}
.header .search input:-ms-input-placeholder {
  -webkit-transition: color 0.1s ease;
  color: rgba(255,255,255,.8);
}
.header .search.active input:-ms-input-placeholder {
  -webkit-transition: color 0.1s ease;
  color: rgba(255,255,255,.8);
}
.header.opaque .search input::-webkit-input-placeholder {
  color: #aaa;
}
.header.opaque .search.active input::-webkit-input-placeholder {
  color: #aaa;
}
.header.opaque .search input::-moz-placeholder {
  color: #aaa;
}
.header.opaque .search.active input::-moz-placeholder {
  color: #aaa;
}
.header.opaque .search input:-ms-input-placeholder {
  color: #aaa;
}
.header.opaque .search.active input:-ms-input-placeholder {
  color: #aaa;
}
@media (max-width: 950px) {
  .header .search
  {
    display: none;
  }
}



/* footer */
.footer {
  padding: 1em 0;
  padding-top: 300px;
  text-align: center;
}
body.nomenu .footer {
  display: none;
}
.footer ul li {
  display: inline-block;
  vertical-align: middle;
}
.footer ul li a {
  display: inline-block;
  color: #bbb;
  padding: .75em 1em;
}
.footer ul li a:hover {
  color: #555;
  text-decoration: none;
}
.footer .menu_footer_jobs {
  font-weight: bold;
}
@media (max-width: 767px) {
  .footer {
    padding-left: 0;
    padding-top: 100px;
  }
  .footer ul {
    text-align: center;
  }
  .footer ul li a {
    color: #999;
    font-weight: bold;
    padding: .5em .75em;
  }
  .footer ul li a:hover {
    color: #555;
  }
  .footer .menu_footer_privacy,
  .footer .menu_footer_terms {
    float: none;
  }
}



/* keyboard */
.keyboard {
  position: fixed;
  z-index: 9;
  right: 0;
  bottom: 0;
  padding: 20px;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none; 
}
.keyboard span {
  display: inline-block;
  margin: 2px;
  border: 1px solid #ddd;
  border-radius: 5px;
  color: #bbb;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none; 
}
.keyboard span:hover {
  border: 1px solid #555;
  cursor: pointer;
  color: #555;
}
.keyboard span:active,
.keyboard span.active {
  border: 1px solid #333;
  background-color: #333;
  cursor: pointer;
  color: #fff;
}
.keyboard span i {
  display: inline-block;
  font-size: 1.1em;
  text-align: center;
  width: 28px;
  padding: 6px 0;
}
.keyboard_up i {
  margin-top: -1px;
}
.keyboard_down i {
  margin-bottom: -1px;
}
.keyboard_left i {
  margin-left: -1px;
  margin-bottom: -1px;
}
.keyboard_right i {
  margin-right: -1px;
  margin-bottom: -1px;
}
@media (max-width: 1200px) {
  .keyboard {
    display: none;
  }
}


/* ribbon */
.ribbon {
  z-index: 999999;
  overflow: hidden;
  top: 0;
  left: 0;
  position: fixed;
  width: 100%; 
  border: none;
  padding: .6em 1em;
  font-size: 1.5em;
  text-align: center;
  font-weight: bold;
  opacity: 0;
  -webkit-transition: opacity .2s;
  -moz-transition: opacity .2s;
  transition: opacity .2s;
}
.ribbon > a {
  color: #fff;
  text-decoration: underline;
}
.ribbon-success {
  background-color: #9CE83C;
  color: #fff;
}
.ribbon-warning {
  background-color: #8a6d3b;
  color: #fff;
}
.ribbon-danger {
  background-color: #a94442;
  color: #fff;
}




/* alerts */
.alert {
  border-radius: 0;
  border-width: 2px;
}
.alert i {
  font-size: 1.4em;
  margin-right: .3em;
  display: inline-block;
  vertical-align: middle;
}
.alert-info {
  background-color: #D9F0F7;
}
.alert-info a {
  color: inherit;
  text-decoration: underline;
}





/* modals */
.modal {
  -webkit-transform-style: preserve-3d;
}
.modal .modal-content {
  box-shadow: none;
  border: none;
}
.modal .modal-header {
  background-color: transparent;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  padding: 1em 1.5em 0 1.5em;
  border-bottom: none; 
}
.modal .modal-body {
  padding: 1.5em;
  padding-bottom: 1em;
}
.modal .modal-body:last-child {
  padding-bottom: 1.5em;
}
.modal .modal-footer {
  margin-top: 0;
  text-align: left;
  border-top: none;
  padding-top: 0;
}
.modal .modal-footer .btn + .btn {
  margin-left: 0;
  margin-right: 0;
}
.modal .modal-title {
  font-weight: bold;
  font-size: 2em;
  color: #222;
}
.modal .btn {
  padding: .5em 1.25em;
  font-size: 1.1em;
  border: none;
  border-bottom: 2px solid rgba(0,0,0,.2);
}
.modal .btn:active {
  border-bottom: none;
  margin-top: 2px;
}
.modal .btn-default {
  background-color: #f5f5f5;
}
.modal a:not(.btn) {
  color: #aaa;
}
.modal h3 {
  margin: 0 0 1em 0;
  font-size: 1.2em;
}
.modal label {
  font-weight: bold;
}
.modal .light {
  color: #bbb;
  font-weight: normal;
}
.modal .light a {
  color: #bbb;
  text-decoration: underline;
}
.modal .form-control {
  box-shadow: none;
  border: none;
  background-color: #f5f5f5;
}
.modal .form-group .input-group-addon {
  box-shadow: none;
  border: none;
  background-color: #f5f5f5;
}
.modal .form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: #aaa;
}
.modal .modal-desc {
  margin-bottom: 1em;
}
.modal .form-group {
  margin-bottom: 10px;
}
.modal button.close {
  padding: 18px;
  margin-top: -20px;
  margin-right: -23px;
  font-size: 30px;
  outline: none;
  box-shadow: none;
  font-weight: normal;
}
.modal .btn.btn-cancel {
  color: #999;
  background-color: #f5f5f5;
}
.modal .form-alternative {
  display: inline-block;
  vertical-align: middle;
  margin-left: 1em;
  font-size: 1.1em;
}
.modal .modal-submit-alt {
  display: inline-block;
  vertical-align: middle;
  margin: 7px 20px 0 20px;
}
.modal .modal-submit-alt a {
  color: #aaa;
  text-decoration: none;
}
.modal .modal-submit-alt a:hover {
  color: #555;
  text-decoration: none;
}
.modal-backdrop.in {
  opacity: .75;
}
@media (max-width: 767px) {
  .modal-dialog {
    margin: 0;
  }
  .modal.fade.in {
    top: 10px;
  }
  .modal button.close {
    padding: 20px;
    margin-top: -24px;
    margin-right: -25px;
    z-index: 999999999;
  }
  .modal .modal-header {
    padding: 1em 1.5em 0 1.5em;
  }
  .modal .modal-body {
    padding-top: 1em;
    padding-bottom: .5em;
  }
  .modal .modal-footer {
    padding-top: 0;
    border-top: none;
  }
  .modal .modal-footer .btn {
    float: none;
    display: block;
    width: 100%;
    font-weight: bold;
    padding: .5em;
  }
  .modal-footer .btn + .btn {
    margin: .5em 0 0 0;
  }
  .modal .form-alternative {
    clear: both;
    float: none;
    display: block;
    margin-left: 0;
    font-weight: bold;
    text-align: center;
    padding: .5em 0 0 0;
  }
}




/* pills nav */
.pills {
  margin-bottom: 25px;
  font-size: 0;
}
.pills > li {
  display: inline-block;
  vertical-align: middle;
  text-align: center;
}
.pills > li + li > a {
  border-left: none;
}
.pills > li > a {
  display: inline-block;
  vertical-align: middle;
  padding: .5em 1em;
  font-size: 14px;
  color: #999;
  text-decoration: none;
  border: 1px solid #eee;
}
.pills > li > a:hover {
  color: #555;
}
.pills > li.active > a {
  color: #fff;
  background-color: #222;
  border-color: #222;
  font-weight: bold;
}
.pills > li:first-child a {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.pills > li:last-child a {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}










/* view video */
.pg-video-view .content_wrapper {
  padding-top: 2em;
}
.pg-video-view .main {
  padding-top: 4em;
}
#video_view .alert {
  border-radius: 0px;
  margin-bottom: 0;
}
#video_view > .inner {
  width: 700px;
  float: left;
  position: relative;
  overflow: visible !important;
}
#video_view .video_info2 a {
  color: #999;
}
#video_view > .gutter {
  overflow: hidden;
  padding-left: 25px;
}
#video_view .progress_wrapper {
  padding: 200px;
  background-color: #222;
  margin-top: 0;
}
#video_view .downloading {
  margin: 1em 0 0 0;
  text-align: center;
}
#video_view .downloading i {
  margin: 0 .5em 0 0;
}
#video_view .progress {
  border-radius: 5px;
  margin: 1em 0 0 0;
  background-color: #333;
  height: 5px;
}
#video_view .progress-bar {
  background-color: #FB254F;
  box-shadow: none;
}
#video_view .progress_wrapper .note {
  display: block;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 1.1em;
}
#video_view .progress_wrapper .downloading-footer.note {
  font-weight: normal;
  color: #777;
}
#video_view .notify-by-email {
  margin-top: 10px;
}
#video_view .notify-by-email .input-group {
  width: 350px;
}
#video_view .notify-by-email .input-group input[type="text"] {
  background-color: #fff;
  border: 1px solid #ccc;
}
#video_view .gutter .video_author a {
  display: block;
  border: none;
  text-decoration: none;
  overflow: hidden;
  color: #555;
}
#video_view .gutter .video_author a:hover .video_author_username {
  text-decoration: underline;
}
#video_view .gutter .video_author_photo {
  float: left;
  margin-right: 2px;
}
#video_view .gutter .video_author_photo img {
  width: 64px;
  height: 64px;
  display: inline-block;
  vertical-align: middle;
}
#video_view .gutter .video_author > a > .inner {
  overflow: hidden;
  padding: 0 .5em;
}
#video_view .gutter .video_author .video_author_username {
  display: block;
  font-weight: bold;
  font-size: 1.3em;
  word-wrap: break-word;
}
#video_view .gutter .video_author > a span {
  display: inline;
}
#video_view .gutter .video_author_views,
#video_view .gutter .video_author_followers {
  color: #aaa;
  margin-right: .3em;  
}
#video_view .gutter .video_author.anonymous .video_author_views,
#video_view .gutter .video_author.anonymous .video_author_followers {
  display: none;
}
#video_view .gutter .video_author.anonymous > a >.inner {
  padding: 1.2em .5em;
  font-size: 1.2em;
}
#video_view .gutter .video_author.anonymous .video_author_username {
  color: #444;
  margin-top: -2px;
}
#video_view .gutter .gutter_label {
  color: #ccc;
  font-size: .8em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
#video_view .video_gutter_actions {
  overflow: hidden;
  margin-top: 10px;
}
#video_view .video_gutter_actions .btn {
  display: block;
  font-size: 1.1em;
  padding: 10px 1em;
  background-color: #FB254F;
  border: 2px solid #FB254F;
  border-bottom: 2px solid rgba(0,0,0,.2);
  color: #fff;
  font-weight: bold;
}
#video_view .video_gutter_actions .btn:active {
  margin-top: 2px;
  padding-top: 8px;
  border-bottom: 2px solid transparent;
}
#video_view .video_gutter_actions .btn.following {
  background-color: transparent;
  border-color: #FB254F;
  color: #FB254F;
}
#video_view .video_gutter_actions .btn.following:active {
  margin-top: 0;
  padding-top: 10px;
  border-bottom: 2px solid #FB254F;
}
#video_view .video_follow a.btn i {
  margin-left: 0;
  font-size: 1.1em;
}
#video_view .video_suggestions {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 2px solid rgba(0,0,0,.05);
}
#video_view .video_suggestions .gutter_label {
  margin-bottom: 10px;
}
#video_view .video_suggestions li + li {
  margin-top: 2px;
}
#video_view .video_suggestions li > a {
  display: block;
  overflow: hidden;
  color: #777;
  text-decoration: none;
}
#video_view .video_suggestions li > a:hover {
  color: #555;
}
#video_view .video_suggestions .thumb {
  background-color: #333;
  width: 100px;
  height: 60px;
  float: left;
  margin-right: .5em;
  position: relative;
}
#video_view .video_suggestions .thumb img {
  width: 100%;
}
#video_view .video_suggestions .nsfw {
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  font-size: .8em;
  background-color: #FF5151;
  padding: .25em .5em;
}
#video_view .video_suggestions .duration {
  position: absolute;
  background-color: rgba(0,0,0,.7);
  color: rgba(255,255,255,.8);
  bottom: 0;
  right: 0;
  padding: 2px 5px;
  font-size: 11px;
}
#video_view .video_suggestions .title {
  font-size: .9em;
  overflow: hidden;
  line-height: 1.2em;
}
#video_view .video_suggestions .more {
  margin-bottom: 1em;
}
#video_view .video_suggestions .more > a {
  color: #999;
}
#video_view .video_suggestions .more span {
  display: inline-block;
  vertical-align: middle;
  padding-right: .3em;
}
#video_view .video_suggestions .more:hover span {
  text-decoration: underline;
}
#video_view .video_suggestions .more:hover i {
  opacity: 1;
}
#video_view .video_suggestions .views {
  margin-top: .25em;
  color: #ccc;
}
#video_view .video_youtube {
  border-top: 2px solid rgba(0,0,0,.05);
  padding-top: 1em;
  margin-top: 20px;
  overflow: hidden;
}
#video_view .video_youtube_avatar {
  float: left;
  width: 44px;
  height: 44px;
  margin-right: 6px;
}
#video_view .video_youtube_username {
  margin-right: .5em;
  font-weight: bold;
  color: #555;
}
#video_view .video_youtube_subscribe {
  display: inline-block;
  vertical-align: middle;
}
#video_view .video_youtube_subscribe_wrapper {
  display: block;
  font-size: 0;
}
#video_view .video_youtube_inner {
  overflow: hidden;
}
#video_view .video_apps {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid rgba(0,0,0,.05);
}
#video_view .video_apps a {
  display: inline-block;
  text-decoration: none;
  background-size: 100%;
  background-repeat: no-repeat;
  width: 120px;
  height: 40px;
}
#video_view .video_apps .headline {
  margin-bottom: 1em;
  color: #999;
}
#video_view .player {
  z-index: 100;
  height: 100%;
  background-color: #000 !important;
  position: relative;
}
#video_view .load-failed {
  text-align: center;
  padding: 0;
}
#video_view #video_player {
  z-index: 101;
  -webkit-transform-style: preserve-3d;
  text-align: center;
  min-height: 350px;
}
#video_view #video_player.loading {
  opacity: 0;
}
#video_view #video_player.loading .vjs-big-play-button,
#video_view #video_player.loading2 .vjs-big-play-button,
#embed_video_player.loading2 .vjs-big-play-button {
    display: none;
}
#video_view #video_player video,
#video_view #video_player #video_player_flash_api {
  position: relative;
  max-width: 100%;
  display: block;
}
#video_view #video_player video {
  max-height: 600px;
  min-height: 360px;
}
#video_view #video_player #video_player_flash_api {
  min-height: 200px;
}
.device-ios.modal-open #video_view video#video_player,
.device-android.modal-open #video_view video#video_player,
.device-mobile.modal-open #video_view video#video_player {
  display: none;
}
#video_view video#video_player {
  max-width: 100%;
  max-height: 600px;
  min-height: 260px;
}
/* This was causing a problem with the latest version of videos (4.12)
#video_view .vjs-poster {
  display: inline;
  position: absolute;
  top: 0;
  left: 0;
}
*/
#video_view .vjs-using-native-controls .vjs-poster {
  display: none;
}
.video-js {
  width: 100% !important;
}
.device-desktop .video-js {
  width: 100% !important;
}
#video_view .video-js,
#video_view .video-js .vjs-tech,
#video_view .vjs-poster,
#video_view video.video-js {
  background-color: #000 !important;
} 
#video_view #video_player_scrub_preview {
  border: 1px solid #111;
  padding: 2px;
  border-radius: 4px;
  background-color: #222;
  background-size: cover;
}
#video_view .player .postroll {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9999;
  display: none;
  padding: 3%;
  background-color: rgba(0,0,0,.8);
  text-align: center;
  color: #fff;
  opacity: 0;
  -webkit-transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -ms-transition: opacity .25s ease-in-out;
  -o-transition: opacity .25s ease-in-out;
  transition: opacity .25s ease-in-out;
  margin-top: 0;
}
#video_view .video_title {
  margin-top: 0;
  font-size: 1.8em;
  color: #333;
  font-weight: bold;
  word-wrap: break-word;
}
#video_view .video_description {
  white-space: pre-line;
  font-size: 1em;
  font-weight: normal;
}
#video_view .video_title + .video_description {
  padding-top: 1em; 
  word-wrap: break-word;
}
#video_view .video_info2 {
  display: block;
  font-weight: normal;
  font-size: 1.1em;
  padding: 2em 2em 1.5em 2em;
  padding: 25px;
  background-color: #f5f5f5;
}
#video_view .video_title + .video_info3,
#video_view .video_description + .video_info3 {
  margin-top: 1em;
}
#video_view .boost {
  color: rgb(98, 219, 27);
}
#video_view .video_info .video_nsfw {
  background-color: #FF5151;
  color: #fff;
  font-weight: bold;
  padding: 0 .25em;
  border-radius: 2px;
}
#video_view .video_info .video_channel {
  background-color: #3CE8DC;
  color: #fff;
  font-weight: bold;
  padding: 0 .25em;
  border-radius: 2px;
}
#video_view .video_info .video_channel > a {
  color: rgba(0,0,0,.5);
}
#video_view .video_info .video_platform a {
  color: #999;
}
#video_view .video_info .video_platform a:hover {
  text-decoration: none;
  color: #555;
}
#video_view .video_info2 > .video_location {
  display: none;
}
#video_view .video_info2 .video_watching {
  color: #3CE8DC;
  cursor: default;
}
#video_view .video_info2 .video_author {
  display: none;
}
#video_view .video_info2 .video_author_photo {
  width: 32px;
  height: 32px;
  border-radius: 50px;
  display: inline-block;
  vertical-align: middle;
}
#video_view .video_info2 .video_author_username {
  display: inline-block;
  vertical-align: middle;
  font-weight: bold;
  margin-left: 5px;
  color: #555;
}
#video_view .video_info3 > li {
  display: inline-block;
  vertical-align: middle;
  margin-right: .75em;
  color: #aaa;
}
#video_view .video_author_wrapper {
  display: none;
  padding: 1em 2em;
  background-color: #f5f5f5;
  margin-top: 2px;
}
#video_view .video_author_wrapper .video_author_photo {
  display: inline-block;
  vertical-align: middle;
  width: 48px;
  height: 48px;
  margin-right: .5em;
}
#video_view .video_author_wrapper .video_author_username {
  font-weight: bold;
  font-size: 1.1em;
  display: inline-block;
  vertical-align: middle;
  color: #555;
}
#video_view .video_author_wrapper .btn {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 0;
  font-size: 1.1em;
  color: #fff;
  background-color: #FB254F;
  border: none;
  border-radius: 5px;
  margin-left: .5em;
  border-bottom: 2px solid rgba(0,0,0,.2);
}
#video_view .video_author_wrapper .btn.following {
  background-color: transparent;
  border: 2px solid #FB254F;
  color: #FB254F;
}
#video_view .video_actions  {
  padding: 0 25px 2em 25px;
  background-color: #f5f5f5;
}
#video_view .video_actions a.action {
  float: left;
  padding: 8px;
  width: 50px;
  font-size: 0;
  text-align: center;
  background-color: #fff;
  border-bottom: 2px solid rgba(0,0,0,.1);
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
#video_view .video_actions a.action {
  border-left: 1px solid #eaeaea;
}
#video_view .video_actions a.action:first-child {
  border-left: none;
}
#video_view .video_actions a.action:hover {
  background-color: #fff;
}
#video_view .video_actions a.action i {
  color: #999;
  font-size: 20px;
  vertical-align: middle;
}
#video_view .video_actions a.action:hover i {
  color: #333;
}
#video_view .video_actions a.action:active {
  margin-top: 2px;
  border-bottom: none;
}
#video_view .video_actions a.action.active {
  background-color: #222;
  border-bottom: none;
  margin-bottom: 2px;
}
#video_view .video_actions a.action.active i {
  color: #fff;
}
#video_view .video_actions a.action.active:active {
  margin-top: 0;
}
#video_view .video_actions > li {
  display: inline-block;
  vertical-align: middle;
}
#video_view .video_actions > li.video_actions_like {
  margin-right: 1em;
} 
#video_view .video_actions > li.video_actions_like a:first-child {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
#video_view .video_actions > li.video_actions_like a:last-child {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
#video_view .video_actions > li.video_actions_sharebutton {
  border-left: none;
  border-right: 1px solid #eaeaea;
}
#video_view .video_actions > li.video_actions_sharebutton > a {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
#video_view .video_actions > li.video_actions_more > a {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
#video_view .video_actions > li > span {
  color: #aaa;
}
#video_view .video_actions_more,
#video_view .video_actions_report {
  border-left: 1px solid #eaeaea;
}
#video_view .video_actions_more .dropdown-menu {
  margin-top: -2px;
}
#video_view .video_actions_share {
  margin-top: 3px;
  margin-left: .75em;
  font-size: 0;
  float: right;
}
#video_view .video_actions_share li {
  display: inline-block;
  vertical-align: middle;
}
#video_view .video_actions_share li:first-child a {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
#video_view .video_actions_share li:last-child a {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
#video_view .video_actions_share li a {
  display: inline-block;
  vertical-align: middle;
  width: 36px;
  height: 34px;
  border-radius: 0;
}
#video_view .video_actions > li .btn {
  border-width: 2px;
}
#video_view .video_actions > li .btn i {
  margin-left: 0;
  margin-right: 2px;
}
#video_view .video_actions > li.video_actions_like .btn i {
  margin-right: 0px;
  font-size: 1.3em;
}
#video_view .video_actions > li.video_actions_like .btn span {
  margin-left: 2px;
}
#video_view .addthis_toolbox.addthis_32x32_style span {
  border-radius: 4px;
}
#video_view .addthis_32x32_style .addthis_counter.addthis_bubble_style {
  box-sizing: content-box;
  -moz-box-sizing: content-box;
}
#video_view .addthis_32x32_style .at15t_reddit {
  background-position: 0 -608px!important;
}
#video_view .addthis_32x32_style .at15t_facebook {
  background-position: 0 -160px!important;
}
#video_view .addthis_32x32_style .at15t_twitter {
  background-position: 0 -704px!important;
}
#video_view .addthis_32x32_style .at15t_tumblr {
  background-position: 0 -672px!important;
}
#video_view .addthis_32x32_style .at15t_compact {
  background-position: 0 -416px!important;
}
#video_view .addthis_32x32_style .dummy .at300bs, .addthis_32x32_style .at300bs, .addthis_32x32_style .at15t {
  background: url("/images/widget015_32x32_top.png") no-repeat left;
}
#video_view .at_a11y {
  display: none;
}
#video_view .video_actions > li > ul .csmb {
  margin: 0;
}
#video_view .video_actions_embed .popover {
  max-width: 400px;
}
#video_view .video_actions_embed .popover-content {
  padding: 0;
  width: 300px;
}
#video_view .video_actions_embed .video_embed_code {
  padding: 0.25em;
  color: #888;
  clear: both;
  overflow: hidden;
  width: 98%;
}
#video_view .video_share {
  position: absolute;
  top: 0;
  left: -50px;
  width: 40px;
  font-size: 10pt;  
}
#video_view .video_share > ul {
  font-size: 0;
}
#video_view .video_share > ul .video_share > .btn {
  font-size: .8em;
  border: none;
  display: block;
  text-align: left;
}
#video_view .video_share > ul > li i {
  font-size: 1.1em;
  margin-right: 3px;
}
#video_view .video_share > ul > li a {
  display: block;
  border-radius: 0;
}
#video_view .video_share > ul.video_shares .toggle-social-share,
#video_view .video_share > ul .video_shares .social-anchors,
#video_view .video_share > ul .video_shares .social-share i {
  cursor: pointer;
}
#video_view .video_share > ul .video_shares .social-share i:hover {
  color: #000;
}
#video_view .video_share > ul .video_shares .social-anchors {
  color: #7f7f7f;
}
#video_view .video_share > ul .video_shares .social-share {
  line-height: 1em;
  margin-right: 3px;
  margin-left: 3px;
}
#video_view .video_share > ul .video_shares .social-share .alt-reddit:before {
  color: #222;
  content: ">";
  font-family: zocial;
  font-weight: bold;
  border-radius: 4px;
  font-size: 0.7em;
  padding: 0.05em;
  vertical-align: 11%;
  font-style: normal;
  -moz-osx-font-smoothing: grayscale;
}
#video_view .video_share > ul a,
#video_view .video_share > ul a:active,
#video_view .video_share > ul a:hover,
#video_view .video_share > ul a:focus {
  outline: none;
  color: inherit;
  text-decoration: none;
  padding: 18px;
  border: none;
}
#video_view .video_share > ul .video_options_reddit_interactive {
  margin-right: .5em;
}
#video_view .video_share > ul .video_share .popover {
 max-width: 600px;
}
#video_view .video_share .video_share_link {
  margin-left: 1em;
}
#video_view .video_share .video_share_link input {
  border: none;
  padding: .5em .75em;
  margin-top: -4px;
  font-size: .9em;
  color: #999;
}
#video_view .video_embeds {
  font-size: 1.1em;
  margin-top: 2px;
  background-color: #f5f5f5;
  padding: 1em 2em;
}
#video_view .video_embeds_headline {
  font-weight: bold;
}
#video_view .video_embeds a {
  color: #aaa;
}
#video_view .video_embeds li {
  margin-top: .25em;
}
#video_view .video_embeds li:first-child {
  margin-top: .5em;
}
#video_view .video_embeds .num {
  float: left;
  width: 100px;
  font-size: .8em;
}
#video_view .video_embeds .text {
  display: inline-block;
  font-size: .8em;
  color: #aaa;
  max-width: 80%;
}
#video_view .video_embeds_headline span {
  font-weight: normal;  
  color: #999;
}
#video_view .video_deletelink {
  padding: 2em;
  border-top: 4px dashed #fff;
  border-bottom: 4px dashed #fff;
  margin-top: 2px;
}
#video_view .video_deletelink_help {
  margin-top: 1em;
}
#video_view .video_deletelink_info span {
  padding: .25em .5em;
  background-color: rgba(255,255,255,.5);
  word-wrap: break-word;
}
#video_view .video_footer {
  padding: 2em 0 4em 0;
}
.device-ios #video_view .appstore li.android {
  display: none;
}
.device-android #video_view .appstore li.ios {
  display: none;
}
#video_view #video_player.vjs-fullscreen video  {
  height: 100%;
  max-height: 100%;
}
#video_view .backdrop {
  display: none;
}
.device-ios #video_view .video_actions_download {
  display: none;
}
@media (max-height: 979px) {
  #video_view #video_player video,
  #video_view video#video_player {
    max-height: 500px;
  }
}
@media (max-height: 767px) {
  #video_view #video_player video,
  #video_view video#video_player {
    max-height: 300px;
  }
}
@media (min-width: 1201px) {
  #video_view .video_actions > li.video_actions_share {
    display: none;
  }  
}
@media (max-width: 1200px) {
  .pg-video-view .content_wrapper {
    padding: 0;
    margin-top: 50px;
  }
  .pg-video-view .content, .pg-video-view .main {
    padding: 1em;
  }
  .pg-video-view .content,
  .pg-video-view .main {
    padding: 0;
  }
  #video_view .gutter {
    display: none;
  }
  #video_view > .inner {
    float: none;
    width: auto;
  }
  #video_view .video_info2 .video_author {
    display: inline-block; 
  }
  #video_view .player {
    width: 100%;
    float: none;
  }
  #video_view .video_author_wrapper {
    display: block;
  }
  #video_view .video_apps {
    text-align: center;
    border: none;
  }
  #video_view .video_apps img {
    width: 170px;
  }
  #video_view .video_share {
    display: none;
  }
}
@media (max-width: 979px) {
  #video_view .video_actions > ul > li.video_actions_embed {
    display: none;
  }
  #video_view .video_apps {
    background-color: transparent;
  }
}
@media (max-width: 767px) {
  .pg-video-view .content, 
  .pg-video-view .main {
    padding: 0;
  }
  body.pg-video-view > .main,
  body.pg-video-view > .main > .container,
  body.pg-video-view .content_wrapper {
    padding: 0;
  }
  .pg-video-view .content_wrapper {
    margin-top: 0;
    padding-top: 3em;
  }
  #video_view > .inner {
    float: none;
    width: auto;
  }
  #video_view #video_player {
    min-height: 200px;
  }
  #video_view #video_player video {
    min-height: 200px;
  }
  #video_view video#video_player {
    height: auto;
    min-height: 200px;
  }
  #video_view .progress_wrapper {
    margin-top: 0em;
    padding: 50px;
    background-color: #222;
    border-top: 2px solid #333;
  }
  #video_view .progress {
    margin: 1em 0 0 0;
    background-color: #333;
  }
  #video_view .video_title {
    text-align: left;
    font-size: 1.6em;
    float: none;
  }
  #video_view .video_description {
    font-size: 1em;
  }
  #video_view .player {
    margin-top: 0;
  }
  #video_view .video_info2 {
    padding: 1em;
  }
  #video_view .video_author_wrapper {
    padding: 1em;
  }
  #video_view .video_info2 .video_author {
    display: block;
    margin-bottom: 1em;
  }
  #video_view .video_info2 .video_platform {
    display: block;
  }
  #video_view .video_actions {
    padding: 0 1em 1em 1em;
  }
  #video_view .video_actions li {
    border-radius: 3px;
    font-size: 1.2em;
  }
  #video_view .video_actions a.action {
    width: 43px;
  }
  #video_view .video_actions .video_actions_share {
    display: none;
  }
  #video_view .video_share {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    display: block;
    padding: 1em;
    padding: 0;
    margin-top: 0;
    border-top: 1px solid #000;
  }
  #video_view .video_share > ul > li {
    display: inline-block;
    vertical-align: middle;
    width: 25%;
  }
  #video_view .video_share > ul > li > a {
    display: block;
    width: auto;
    float: none;
    border-radius: 0;
  }
  #video_view .video_share > ul > li:last-child a,
  #video_view .video_share > ul > li:first-child a
  {
    border-radius: 0;
  }
  #video_view .comments {
    padding: .5em 1em;
  }
  #video_view .video_apps a {
    display: inline;
  }
}


/* comments */
.comments {
  margin-top: 2px;
  padding: .5em 25px;
  background-color: #f5f5f5;
}
.comments a {
  color: #aaa;
}
.comments h3 {
  margin-top: 0;
  font-family: inherit;
  color: #555;
}
.comments_composer {
  margin: 1em 0;
  background-color: #f5f5f5;
}
.comments_composer.active {
}
.comments_composer_input {
  background-color: #fff;
  padding: .5em;
  border: 2px solid rgba(0,0,0,.1);
}
.comments_composer_input textarea {
  border: none;
  padding: 0;
  width: 100%;
  resize: none;
  background-color: #fff;
  height: 1.3em;
}
.comments_composer_input textarea:focus {
  box-shadow: none;
  outline: none;
}
.comments_composer > .comments_composer_error {
    margin-bottom: 8px !important;
}
.comments_composer_submit {
  display: none;
  margin-top: .5em;
}
.comments_composer_submit .btn {
  border: none;
  border-bottom: 2px solid rgba(0,0,0,.2);
}
.comments_composer_submit .btn:active {
  border-bottom: none;
  margin-top: 2px;
}
.comments_list {
  overflow: hidden;
}
.comments_list > li {
  overflow: hidden;
  margin-top: .75em;
}
.comments_list .comment_vote {
  float: left;
  margin-right: 2px;
  display: none;
}
.comments_list .comment_vote li {
  margin-top: -1px;
  width: 25px;
  text-align: center;
  color: #ddd;
}
.comments_list .comment_vote li a {
  color: #ddd;
  padding: 0px 0;
  display: block;
  font-size: 11px;
}
.comments_list .comment_vote li a:hover {
  color: #555;
}
.comments_list .comment_vote .comment_upvote.active a {
  color: #555;
}
.comments_list .comment_vote .comment_downvote.active a {
  color: #555;
}
.comments_list > li > .inner {
  overflow: hidden;
}
.comments_list .comment_author_photo {
  float: left;
  margin-right: 5px;
}
.comments_list .comment_author_photo > a {
  display: block;
  width: 32px;
  height: 32px;
  background-color: #f7f7f3;
}
.comments_list .comment_author_photo > a > img {
  max-width: 100%;
  max-height: 100%;
}
.comments_list .comment_inner {
  overflow: hidden;
  padding-top: 4px;
}
.comments_list .comment_author_username > a {
  color: #555;
  font-weight: bold;
}
.comments_list .comment-mod .comment_author_username:after {
  content: "mod";
  display: inline-block;
  background-color: rgb(255, 112, 112);
  color: #fff;
  padding: 0 5px;
  border-radius: 3px;
  font-size: .85em;
}
.comments_list .comment_date {
  color: #ccc;
  padding-right: 5px;
}
.comments_list .comment_delete > a {
  color: #ccc;
  text-decoration: underline;
}
.comments_list_child {
  display: none;
}
/*
.comments_list .comment_meta {
  font-size: .85em;
}
.comments_list .comment_meta > li {
  display: inline-block;
  vertical-align: middle;
  margin-right: .5em;
  color: #aaa;
}
.comments_list .comment_meta > li > a {
  color: #aaa;
}
.comments_list_child {
  margin: 1em 0 0 3em;
}
.comments_list .comment_meta > li.comment_reply,
.comments_list .comment_meta > li.comment_score {
  display: none;
}
.comments_list_child .comment_author_photo > a {
  display: block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  background-color: #f7f7f3;
}
.comments_list_child > li + li {
  margin-top: .75em;
}
.comments_list .comments_composer {
  margin: .5em 0;
}
*/




/* homepage */
#index {
  background-color: #333;
}
#index .listing > .gutter {
  position: absolute;   
}
#index .listing > .gutter.affix {
  position: fixed;
  top: 100px; 
}
.pg-index .splash_video_wrapper {
  background-image: url('images/splash.png');
  background-size: cover;
  background-position: center;
  position: fixed;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 500px;
  margin: 0;
  z-index: 1;
}
.pg-index .splash_video {
  opacity: 0;
}
#index h1 {
  font-weight: bold;
}
#index .splash {
  position: relative;
  z-index: 2;
  margin-bottom: 50px; 
  height: 450px;
  /*
  background-color: #222;
  background-image: url('/images/splash.gif');
  background-size: cover;
  background-position: 0 -200px;
  */
}
#index .splash .inner {
  max-width: 1000px;
  padding: 140px 10px 70px 10px;
  margin: 0px auto;
  position: relative;
  text-align: center;
}
#index .splash h1 {
  color: #fff;
  font-size: 4em;
  margin-bottom: .2em;
  text-shadow: 0px 1px 1px rgba(0,0,0,.8);
}
#index .splash h2 { 
  font-size: 1.5em;
  font-weight: normal;
  margin: 0 0 1em 0;
  line-height: 1.3em;
  color: rgba(255,255,255,.95);
  text-shadow: 0px 1px 1px rgba(0,0,0,.5);
}
#index .uploadbutton_wrapper {
  font-size: 1.75em;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
}
#index .uploadbutton {
  display: inline-block;
  color: #fff;
  background-color: #FB254F;
  padding: .75em 1.25em;
  border-radius: 5px;
  text-decoration: none;
  height: 70px;
  border-bottom: 3px solid rgba(0,0,0,.2);
}
#index .uploadbutton:active {
  background-color: #FB254F;
  border-bottom: none;
  height: 67px;
}
#index .applinks {
  display: inline-block;
  vertical-align: middle;
}
#index .applinks li {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}
#index .applinks a {
  width: 200px;
  height: 70px;
  font-size: 1em;
  border-radius: 5px;
  display: block;
  background-color: rgba(0,0,0,.1);
  padding: .75em 1.5em 1em 4.5em;
  border: 2px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.7);
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: 11px 8px;
  background-size: 40px;
  background-color: rgba(0,0,0,.6);
  border-color: rgba(0,0,0,.7);
}
#index .applinks a:hover {
  color: #fff;
}
#index .applinks a span {
  float: left;
  line-height: 1.5em;
}
#index .applinks a img {
  float: left;
  margin-right: 15px;
  height: 47px;
}
#index .applinks a strong {
  font-size: 1.5em;
}
#index .applinks .web {
  display: none;
}
#index .applinks .web img {
  width: 44px;
}
#index .applinks li.android a {
  background-image: url('/images/applink_android.png');
  background-position: 11px 10px;
}
#index .applinks li.android a:hover {
  background-image: url('/images/applink_android_white.png');
}
#index .applinks li.iphone a {
  background-image: url('/images/applink_apple.png');
}
#index .applinks li.iphone a:hover {
  background-image: url('/images/applink_apple_white.png');
}
.device-ios #index .applinks li.android {
  display: none;
}
.device-android #index .applinks li.iphone {
  display: none;
}
#uploader-modal input,
#video-grab-modal input,
#avatar-upload-modal input {
  padding-left: 12px;
}
#uploader-modal .progress,
#uploader-modal .message,
#video-grab-modal .message,
#avatar-upload-modal .progress,
#avatar-upload-modal .message {
  display: none;
}
#index .grabber-button {
  display: none;
}
#index .listing_wrapper {
  position: relative;
  z-index: 4;
  background-color: #fff;
  min-width: 0;
  padding-top: 40px;
}
#index .listing {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1em;
}
.pg-index .footer {
  padding-top: 0;
}
@media (max-width: 1170px) {
  #index .splash .inner
  {
  }
}
@media (max-width: 979px) {
  #index .splash .inner
  {
  }
}
@media (max-width: 767px) {
  .pg-index .splash_video_wrapper {
    display: none;
  }
  #index .splash 
  {
    margin-bottom: 0;
    height: auto;
    background-color: #111;
  }
  #index .splash .inner {
    padding-top: 30px;
    padding-bottom: 30px;
    width: 100%;
    text-align: center;
  }
  #index .splash h1 {
    font-size: 2.8em;
    margin-bottom: .5em;
  }
  #index .splash h2 {
    font-size: 1.2em;
    width: 90%;
    margin: 0 auto 20px auto;
    color: #999;
  }
  #index .splash .inner h2 br {
    display: none;
  }
  #index .uploadbutton_wrapper {
    display: block;
    margin-right: 0;
  }
  #index .uploadbutton {
    height: auto;
    display: block;
    margin: 0 auto;
    width: 90%;
    font-size: .9em;
    padding: .75em 1em;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
  }
  #index .applinks {
    display: block;
    margin-top: 1.5em;
  }
  #index .applinks li {
    text-align: left;
    margin-right: 0;
  }
  #index .applinks li > a {
    width: 200px;
    background-color: #000;
    border: 2px solid rgba(255,255,255,.15);
  }
  #index .applinks li + li {
    margin-top: 1em;
  }
  #index .listing > .gutter {
    position: static;
  }
  #index .listing > .gutter br {
   display: none;
  }
  #index .listing > .gutter.affix {
    position: static;
  }
}




/* explore page */
#explore {
  font-size: 1.1em;
}
#explore h2 {
  text-align: center;
  margin-bottom: 0;
}
#explore .explore_desc {
  text-align: center;
  margin-top: 0;
  color: #aaa;
}
#explore .explore_featured {
  margin-top: 1.5em;
  overflow: hidden;
}
#explore .explore_featured > li {
  float: left;
  position: relative;
  width: 50%;
  height: 250px;
  background-color: #f5f5f5;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
#explore .explore_featured a {
  position: absolute;
  bottom: 0;
  left: 0;
  line-height: 1em;
  height: 100%;
  width: 100%;
  text-align: left;
  text-shadow: 0px 1px 1px rgba(0,0,0,.2);
}
#explore .explore_featured a span {
  display: inline-block;
  padding: .5em;
  font-size: .9em;
  color: #fff;
  background-color: rgba(0,0,0,.8);
}
#explore .networks {
  margin-top: 1em;
  text-align: center;
}
#explore .networks li {
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  width: 30%;
  background-color: #f5f5f5;
  text-align: left;
  margin: 10px;
}
#explore .networks .network_photo {
  float: left;
  width: 80px;
  height: 80px;
  background-color: #eaeaea;
  background-size: cover;
}
#explore .networks .inner {
  overflow: hidden;
  padding: .5em .75em;
}
#explore .networks .network_title {
  display: block;
  color: #555;
}
#explore .networks .network_follow {
  display: inline-block;
  border-radius: 3px;
  font-size: .8em;
  color: #fff;
  background-color: #FB254F;
  padding: .25em .5em;
  margin-top: 5px;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.2);
  line-height: 1.4em;
}
#explore .networks .network_follow:active {
  border-bottom: none;
  margin-top: 6px;
}
#explore .networks .network_follow.following {
  background-color: transparent;
  border: 1px solid #FB254F;
  color: #FB254F;
}
@media (max-width: 767px) {
  #explore .networks li 
  {
    width: 45%;
  }
}
@media (max-width: 480px) {
  #explore .explore_featured li {
    height: 200px;
    width: 100%;
  }
  #explore .explore_featured li a span {
    font-size: 1.2em;
  }
  #explore .networks li  {
    width: 95%;
    margin: 2px;
  }
}





/* video player */
.vjs-default-skin .vjs-big-play-button,
.vjs-default-skin:hover .vjs-big-play-button,
.vjs-default-skin .vjs-big-play-button:focus {
  border: none;
  box-shadow: none;
}
.device-desktop .vjs-default-skin:not(.vjs-fullscreen):hover .vjs-control-bar,
.device-desktop .vjs-default-skin.vjs-has-started.vjs-user-inactive.vjs-playing:not(.vjs-fullscreen):hover .vjs-control-bar {
  opacity: 1;
  visibility: visible;
}
.device-desktop .vjs-default-skin.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar {
  -webkit-transition: visibility 0.25s, opacity 0.25s;
  -moz-transition: visibility 0.25s, opacity 0.25s;
  -o-transition: visibility 0.25s, opacity 0.25s;
  transition: visibility 0.25s, opacity 0.25s;
}
.vjs-default-skin .vjs-play-progress {
  background-color: #dfdfdf;
  background-image: none;
  transition: none;
}
.vjs-default-skin:hover .vjs-progress-control {
  height: 12px;
  margin-top: -3px;
}
.vjs-default-skin .vjs-slider-handle:before {
  content: '';
  text-shadow: none;
}
.vjs-default-skin .vjs-volume-level {
  background-image: none;
  background-color: #FB254F;
}
.vjs-default-skin .in-twitter-card .vjs-volume-control {
  margin-right: 12px !important;
}
.device-desktop .vjs-default-skin .vjs-control:hover:before {
  text-shadow: none;
  color: #fff;
}
.device-desktop .vjs-default-skin .vjs-control:focus:before {
  text-shadow: none;
}
.vjs-default-skin .vjs-load-progress {
  background: #646464 /* IE8- Fallback */;
  background: rgba(255, 255, 255, 0.2);
}
.vjs-default-skin .vjs-load-progress div {
  background: #787878 /* IE8- Fallback */;
  background: rgba(255, 255, 255, 0.01);
}

/* video js player styles */
.vjs-default-skin .vjs-big-play-button {
  left: 50%;
  top: 50%;
  width: 2em;
  height: 2em;
  margin-top: -1em;
  margin-left: -1em;
  font-size: 4em;
  border-radius: 100px;
  color: #fff;
} 
.vjs-default-skin .vjs-big-play-button:before {
  content: "\27A4";
  line-height: 2em;
  text-shadow: none;
  margin-left: 2px;
  margin-top: -2px;
}
@-webkit-keyframes spinme {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}
@-moz-keyframes spinme {
  0% {
    -moz-transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(360deg);
  }
}
@-o-keyframes spinme {
  0% {
    -o-transform: rotate(0deg);
  }

  100% {
    -o-transform: rotate(360deg);
  }
} 
@keyframes spinme {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
.vjs-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
  background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNjQgNjQiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDY0IDY0IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik02MS4zLDMwLjdDNjAtNi42LDQtNi42LDIuNywzMC43YzAsMC43LTAuNiwxLjMtMS40LDEuM2wwLDBDMC42LDMyLDAsMzEuNCwwLDMwLjZjMS40LTQwLjgsNjIuNi00MC44LDY0LDANCgljMCwwLjgtMC42LDEuNC0xLjQsMS40bDAsMEM2MS45LDMyLDYxLjMsMzEuNCw2MS4zLDMwLjd6Ii8+DQo8L3N2Zz4NCg==");
  -webkit-animation: spinme linear 0.2s infinite !important;
  -moz-animation: spinme linear 0.2s infinite !important;
  animation: spinme linear 0.2s infinite !important;
}
.vjs-default-skin .vjs-loading-spinner:before {
  content: none;
}
.vjs-error .vjs-error-display:before {
  display: none;
  content: none;
}

/**
 * Following two rules are needed to prevent scrub bar shifting on hover,
 * side effects unknown. Pivotal #83001896
 */
.vjs-default-skin .vjs-seek-handle {
  background-color: transparent;
  color: transparent;
}
.vjs-default-skin .vjs-progress-control,
.vjs-default-skin:hover .vjs-progress-control {
  font-size: 0.9em;
}




/* pages with video list & gutter */
.listing {
  overflow: hidden;
}
.listing > .inner {
  overflow: hidden;
  padding-left: 300px;
  padding-bottom: 200px;
}
.listing > .gutter {
  position: fixed;
  width: 300px;
  float: left;
  padding-right: 3em;
  z-index: 99;
}
.listing > .gutter h1 {
  color: #333;
  font-size: 2.6em;
  font-weight: bold;
  word-wrap: break-word;
}
.listing > .gutter h1 > a {
  color: #333;
}
.listing > .gutter h1 .beta:after {
  content: 'BETA';
  position: absolute;
  color: #fff;
  background-color: #333;
  border-radius: 3px;
  font-size: 11px;
  padding: .35em .5em;
  font-weight: normal;
  margin-top: -3px;
  opacity: .3;
}
.listing > .gutter .desc {
  margin-top: .5em;
  font-size: 1.1em;
  color: #999;
}
@media (max-width: 767px) {
  .listing > .gutter {
    position: relative;
    width: auto;
    float: none;
    padding: 0;
    text-align: center;
    margin-bottom: 2em;
  }
  .listing > .gutter h1 {
    margin-top: 0;
  }
  .listing > .inner {
    padding: 0
  }
}




/* video lists */
.videos_list > li {
  margin-bottom: 1em;
}
.videos_list > li + li {
  margin-top: 1em;
}
.videos_list > li .thumb_author_avatar {
  display: inline-block;
  vertical-align: middle;
}
.videos_list > li .thumb_author_avatar img {
  width: 36px;
  height: 36px; 
}
.videos_list > li .inner {
}
.videos_list > li .thumb_wrapper {
  background-color: #f7f7f7;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.videos_list > li .thumb_wrapper > a {
  position: relative;
  display: block;
  float: left;
  width: 300px;
  height: 170px;
  overflow: hidden;
}
.videos_list > li .thumb_wrapper > a > .thumb_duration {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 12px;
  padding: 4px 7px;
  line-height: 1em;
  background-color: rgba(0,0,0,.6);
  color: rgba(255,255,255,.8);
}
.videos_list > li .thumb_wrapper > a > img,
.videos_list > li .thumb_wrapper > a > video {
  min-width: 100%;
  min-height: 100%
}
.videos_list > li .thumb_unlisted,
.videos_list > li .thumb_channel,
.videos_list > li .thumb_nsfw {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
  padding: 4px 7px;
  line-height: 1em;
  border: 1px solid rgba(0,0,0,.15);
  color: rgba(0,0,0,.5);
}
.videos_list > li .thumb_channel {
  background-color: #3CE8DB;
  border: 1px solid #3CE8DB;
}
.videos_list > li .thumb_channel a { 
  color: rgba(0,0,0,.5);
}
.videos_list > li .thumb_nsfw { 
  color: #fff;
  background-color: #FF5151;
  border: 1px solid #FF5151;
}
.videos_list > li .thumb_featured {
  background-color: #eee;
  border-color: #eee;
}
.videos_list > li .thumb_featured a {
  color: #aaa;
}
.videos_list > li .thumb_title {
  display: block;
  overflow: hidden;
  font-size: 1.2em;
  margin-bottom: .25em;
  padding: .5em .7em;
  font-weight: normal;
}
.videos_list > li .thumb_title_label {
  display: block;
  margin-top: .5em;
  color: #555;
  font-weight: bold;
  line-height: 1.2em;
}
.videos_list > li .thumb_author {
  margin-top: .25em;
}
.videos_list > li .thumb_author_username {
  color: #999;
}
.videos_list > li .thumb_title_label + .thumb_author {
  margin-top: 0;
}
.videos_list > li .thumb_info {
  display: block;
  text-align: left;
}
.videos_list > li .thumb_info_alt {
  display: none;
}
.videos_list > li.active .thumb_info_alt {
  display: block;
  padding: 1em 0 0 50px;
}
.videos_list > li .thumb_title_alt > a {
  color: #444;
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1.2em;
}
.videos_list > li .thumb_title_alt + .thumb_info_alt2 {
  margin-top: .25em;
}
.videos_list > li .thumb_info_alt2 {
  line-height: 1.1em;
  font-size: 1.3em;
}
.videos_list > li .thumb_channel_alt a {
  color: #3CE8DB;
}
.videos_list > li .thumb_info_alt2 > span {
  display: inline-block;
  vertical-align: middle;
}
.videos_list > li .thumb_info_alt2 .divider {
  color: #ddd;
  font-size: 1.1em;
  padding: 0 .15em;
}
.videos_list .thumb_stats {
  padding: .5em 0 0 50px;
}
.videos_list > li .thumb_stat {
  display: inline-block;
  vertical-align: middle;
  margin-right: .5em;
  color: #aaa;
}
.videos_list .boost {
  color: rgb(98, 219, 27);
}
.videos_list > li .thumb_stat > a {
  color: #aaa
}
.videos_list > li .thumb_stat.thumb_watching {
  color: #3CE8DB;
  opacity: 1;
  cursor: default;
}
.videos_list .thumb_vote_wrapper {
  float: left;
  width: 40px;
  font-size: 0;
  margin-right: 10px;
}
.videos_list .thumb_vote,
.videos_list .thumb_more {
  line-height: 1em;
}
.videos_list .thumb_vote > a,
.videos_list .thumb_more > a {
  display: block;
  font-size: 15px;
  padding: .5em .75em;
  background-color: #f2f2f2;
  color: #999;
  text-align: center;
}
.videos_list .thumb_vote > a:hover {
  color: #333;  
}
.videos_list .thumb_vote > a.active {
  background-color: #222;
  border-color: #222;
  color: #fff;
  border-bottom: none;
}
.videos_list .thumb_vote > a i,
.videos_list .thumb_more > a i {
  font-size: 1em;
  display: inline-block;
  vertical-align: middle;
  -webkit-user-select: none;
}
.videos_list .thumb_vote > a:first-child {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.videos_list .thumb_vote > a:last-child {
  border-top: 1px solid rgba(0,0,0,.1);
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
.videos_list .thumb_more > a {
  color: #ddd;
  padding: .5em .75em;
  background-color: transparent;
  text-align: center;
  -webkit-user-select: none;
  text-decoration: none;
}
.videos_list .thumb_more > a:hover {
  color: #999;
}
.videos_list .thumb_more > a i {
  font-size: 1.2em;
  display: inline;
  vertical-align: middle;
  -webkit-user-select: none;
}
.videos_list .thumb_stats .thumb_score {
  display: inline-block;
  vertical-align: middle;
}
.videos_list .video_list_embed_container  {
  background-color: #000;
}
.videos_list .video_list_embed_container iframe {
  display: block;
  width: 100%;
  height: 350px;
}
.videos_list .video_list_embed_container iframe.loading  {
  visibility: hidden;
}
@media (max-width: 979px) {
  .videos_list > li .thumb_info {
    font-weight: normal;
  }
}
@media (max-width: 767px) {
  .videos_list .thumb_vote_wrapper {
    width: 40px;
  }
  .videos_list > li .thumb_wrapper > a {
    float: left;
    width: 120px;
    height: 85px;
  }
  .videos_list > li .thumb_wrapper > a > .thumb_duration {
    font-size: .7em;
  }
  .videos_list > li .thumb_title {
    font-size: .9em;
    padding: .5em 0 0 .5em;
    margin-bottom: 0;
  }
  .videos_list > li .thumb_title > span {
    font-size: .7em;
  }
  .videos_list .thumb_stats {
    padding-top: 0;
    padding-left: 40px;
  }
  .videos_list > li .thumb_info .thumb_stat {
    display: inline-block;
    vertical-align: middle;
    margin-right: .25em;
    font-size: .8em;
  }
}
.vjs-default-skin .vjs-hd-button {
  width: 4em;
  cursor: pointer !important;
  float: right;
}
.vjs-default-skin .vjs-hd-button:before {
  color: #666;
  content: "HD";
  font-family: "helvetica";
  speak: none;
  font-style: normal;
  font-weight: bold;
  font-variant: normal;
  text-transform: none;
  letter-spacing: 1px;
  text-shadow: none;
  /* -webkit-font-smoothing: antialiased; */
}
.vjs-default-skin .vjs-hd-button:hover:before {
  color: #FB254F;
}
.vjs-default-skin .vjs-hd-button.vjs-selected:before {
  color: #FB254F;
}
.vjs-default-skin .vjs-hd-button.vjs-selected:hover:before {
  color: #FB254F;
}





/* users list */
.users_list {
  margin-bottom: 2em;
  overflow: hidden;
}
.users_list li {
  display: inline-block;
  margin: 0 .5em .5em 0;
  width: 300px;
  background-color: #f5f5f5;
  overflow: hidden;
}
.users_list li > a {
  text-decoration: none;
}
.users_list li > a:hover .user_username {
  text-decoration: underline;
}
.users_list .user_photo {
  float: left;
  padding: 10px;
}
.users_list .user_photo img {
  width: 64px;
  height: 64px;
}
.users_list .inner {
  overflow: hidden;
  padding: .5em .5em .5em 0;
  text-align: left;
}
.users_list .user_username {
  font-weight: bold;
  color: #555;
  font-size: 1.2em;
  display: block;
}
.users_list .user_followers,
.users_list .user_views {
  color: #999;
  margin-right: .25em;
}
.users_list .user_followers i,
.users_list .user_views i {
  margin-right: .25em;
}



/* channels list */
.channels_list {
  margin-bottom: 2em;
  overflow: hidden;
}
.channels_list li {
  display: inline-block;
  margin: 0 .5em .5em 0;
  width: 300px;
  background-color: #f5f5f5;
  overflow: hidden;
}
.channels_list li > a {
  text-decoration: none;
}
.channels_list li > a:hover .channel_title {
  text-decoration: underline;
}
.channels_list .channel_photo {
  float: left;
  padding: 10px;
  /*width: 84px;*/
  height: 84px;
}
.channels_list .channel_photo img {
  width: 64px;
  height: 64px;
}
.channels_list .inner {
  overflow: hidden;
  padding: .5em .5em .5em 0;
}
.channels_list .channel_title {
  font-weight: bold;
  color: #555;
  font-size: 1.2em;
  display: block;
}
.channels_list .channel_followers,
.channels_list .channel_views {
  color: #999;
  margin-right: .25em;
}
.channels_list .channel_followers i,
.channels_list .channel_views i {
  margin-right: .25em;
}



/* embedded video player */
.pg-video-embed {
  overflow: hidden;
}
.pg-video-embed .header {
  display: none;
}
#embed_video_player {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
}
#embed_branding {
  float: right;
}
#embed_branding a {
  float: left;
  padding: 4px 4px;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
}
#embed_branding img {
  margin-top: 2px;
  float: left;
  width: 18px;
  height: 18px;
  margin-right: 5px;
}
#embed_branding span {
  margin-top: 2px;
  float: left;
  color: #fff;
  opacity: .5;
}
#embed_branding a:hover span {
  opacity: 1;
}
#embed_embed,
#embed_share,
#embed_watch {
  width: 120px;
  position: fixed;
  top: 0;
  right: 0;
}
#embed_share {
}
#embed_embed {
  margin-top: 35px;
}
#embed_watch {
  margin-top: 70px;
}
#embed_embed a,
#embed_share a,
#embed_watch a {
  display: block;
  padding: .5em .75em;
  background-color: #222;
  color: #fff;
  min-width: 100px;
  text-align: left;
  font-size: 1.4em;
  opacity: 1;
  outline: none;
  text-decoration: none;
}
#embed_embed a:hover,
#embed_share a:hover,
#embed_watch a:hover {
  opacity: 1;
  text-decoration: none;
  background-color: #FB254F;
  border-color: #FB254F;
}
#embed_embed a i,
#embed_share a i,
#embed_watch a i {
  display: none;
}
.pg-video-embed .embed-modal,
.embed-share-modal {
  z-index: 999999999;
}
.pg-video-embed .embed-modal,
.embed-share-modal {
  font-size: 14px;
}
.pg-video-embed .embed-modal .modal-body,
.embed-share-modal .modal-body {
  padding-bottom: 1.5em;
}
.pg-video-embed .embed-modal .modal-title,
.embed-share-modal .modal-title {
  font-size: 1.4em;
}
.pg-video-embed .embed-modal .modal-title,
.embed-share-modal .modal-title,
.pg-video-embed .embed-modal .modal-body label {
  color: #222;
}
.pg-video-embed .embed-modal .modal-footer,
.embed-share-modal .modal-footer {
  display: none;
}
.embed-share-modal .timewidget {
  margin: 20px 0 0 0;
}
.embed-share-modal .timewidget-settings {
  margin-top: 10px;
}
.embed-share-modal .timewidget-url {
  font-size: 1.2em;
}
.embed-share-modal .timewidget-settings label {
  display: inline-block;
  vertical-align: middle;
  color: #999;
  font-weight: normal;
  margin: 0 5px 0 0;
}
.embed-share-modal .timewidget-settings input[type=text] {
  display: inline-block;
  vertical-align: middle;
  width: 60px;
  height: auto;
}
.embed-share-modal .timewidget-settings input[type=checkbox],
.embed-share-modal .timewidget-settings label {
  display: inline-block;
  vertical-align: middle;
  margin-top: 0;
}
.embed-share-modal .timewidget-settings span {
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
}
.pg-video-embed .embed-suspended {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #000;
  color: #ddd;
  text-align: center;
  display: table;
}
.pg-video-embed .embed-suspended > * {
  display: table-cell;
  vertical-align: middle;
}
.pg-video-embed .load-failed {
  background-color: #fff;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}
.pg-video-embed .backdrop {
  display: none;
}
.embed-suspended-inner {
  padding: 2em;
  font-size: 13px;
  color: #aaa;
}
.embed-suspended-inner i {
  display: none;
}
.embed-suspended-inner a {
  color: #777;
}
.embed-suspended-inner a:hover {
  text-decoration: underline;
}
.embed-domain-disabled {
  min-width: 100%;
  min-height: 100%;
  display: block;
  background-color: #000;
  background-size: contain;
  background-position: center;
  position: fixed;
  top: 0;
  left: 0;
}
.embed-overlay-ad {
  position: absolute;
  bottom: 0;
  right: 0;
  margin-bottom: 50px;
  margin-right: 20px;
  z-index: 999999999;
  display: none;
}
.embed-overlay-ad:hover {
  background-color: #fff;
  border-radius: 5px;
}
.embed-overlay-ad:hover > a {
  color: #000;
}
.embed-overlay-ad:hover > .overlay-dismiss {
  color: #aaa;
}
.embed-overlay-ad > .overlay-dismiss:hover {
  color: #000;
}
.embed-overlay-ad > a {
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  border-radius: 5px;
  padding: .5em 40px .5em .75em;
  border: 2px solid rgba(255,255,255,.3);
  background-color: transparent;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  -webkit-user-select: none;
  -moz-user-select: none; 
  -ms-user-select: none;   
}
.embed-overlay-ad > a:hover {
  opacity: 1;
  text-decoration: none;
  background-color: #fff;
  color: #000;
}
.embed-overlay-ad .overlay-dismiss {
  position: absolute;
  border-radius: 50px;
  font-size: 16px;
  padding: 4px;
  color: rgba(255,255,255,.8);
  top: 7px;
  right: 8px;
  cursor: pointer;
  z-index: 9;
  -webkit-user-select: none;
  -moz-user-select: none; 
  -ms-user-select: none;   
}
.embed-overlay-ad .overlay-dismiss i {
  display: block;
}
@media (max-width: 480px) {
  .embed-share-modal .timewidget-settings {
    display: none;
  }
}


/* embed player postroll */
.postroll {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9999;
  display: none;
  padding: 3%;
  background-color: rgba(0,0,0,.8);
  text-align: center;
  color: #fff;
  opacity: 0;
  -webkit-transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -ms-transition: opacity .25s ease-in-out;
  -o-transition: opacity .25s ease-in-out;
}
.postroll .inner {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 110px;
  margin-left: -220px;
  width: 440px;
  height: 70px;
  margin-top: -35px;
}
.postroll .inner.has-upnext {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 110px;
  margin-left: -220px;
  width: 440px;
  height: 375px;
  margin-top: -188px;
}
.postroll .btn {
  margin: 10px 5px;
  padding: .5em 0;
  background-color: transparent;
  color: #fff;
  font-size: 2em;
  width: 180px;
}
.postroll .btn i {
  display: inline-block;
  vertical-align: middle;
  font-size: 1.3em;
  margin-left: 0;
  margin-right: .2em;
}
.postroll .btn span {
  display: inline-block;
  vertical-align: middle;
}
.postroll .btn:hover {
  opacity: 1;
  background-color: #fff;
  color: #222;
}
.postroll .postroll_logo {
  cursor: pointer; 
  margin: 20px auto 0 auto;
  display: none;
}
.postroll .postroll_logo span:first-child {
  display: block;
  color: #fff;
  font-weight: bold;
  font-size: 1.68em;
  cursor: pointer;
  background-image: url("/images/logo_white.png?2014-07-03");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center top;
  height: 40px;
  margin-bottom: 5px;
}
.postroll .postroll_upnext_label {
  font-size: 1.3em;
  color: #555;
  text-transform: uppercase;
  margin-bottom: .25em;
}
.postroll .postroll_upnext_thumb {
  position: relative;
  display: inline-block;
  border: 2px solid #fff;
  width: 350px;
  height: 204px;
  overflow: hidden;
}
.postroll .postroll_upnext_thumb img {
  max-width: 400px;
}
.postroll .postroll_upnext_title {
  position: absolute;
  background-color: #fff;
  color: #000;
  font-size: 1.5em;
  font-weight: bold;
  padding: .3em .5em;
  text-align: left;
  line-height: 1.2em;
  max-width: 400px;
}
.postroll .postroll_upnext_play {
  position: absolute;
  width: 50px;
  height: 50px;
  left: 50%;
  top: 50%;
  margin-left: -25px;
  margin-top: -25px;
  border-radius: 100px;
  background-color: #fff;
  color: #000;
  font-size: 3em;
  font-weight: bold;
  box-shadow: 0px 0px 2px rgba(0,0,0,.5);
}
.postroll .postroll_upnext_play:after {
  content: "\27A4";
  position: absolute;
  display: block;
  margin: 5px 0 0 13px;
}
.modal .postroll-share-buttons {
  margin-top: 15px;
  overflow: hidden;
  font-size: 0;
  width: 100%;
}
.modal .postroll-share-buttons a {
  padding: 18px;
  border-radius: 0;
}
.modal .postroll-share-buttons li {
  display: inline-block;
  vertical-align: middle;
  width: 20%;
}
.modal .postroll-share-buttons a {
  display: block;
  padding: 18px;
  border-radius: 0;
}
.modal .postroll-share-buttons li:first-child a {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
.modal .postroll-share-buttons li:last-child a {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
.modal .postroll-share-buttons li:hover {
  opacity: 1;
  -webkit-filter: grayscale(0%);
}
.modal .postroll-share-buttons {
  margin-top: 0;
}
.modal .postroll-share-buttons li {
  opacity: 1;
  -webkit-filter: grayscale(0%);
}
@media (max-width: 767px) {
  .postroll .inner.has-upnext {
    height: 180px;
    margin-top: -100px;
  }
  .postroll .btn {
    font-size: 1.7em;
    width: 140px;
  }
  .postroll .postroll_upnext_thumb {
    width: 144px;
    height: 102px;
  }
  .postroll .postroll_upnext_thumb img {
    max-width: 250px;
  }
  .postroll .postroll_upnext_title {
    display: none;
  }
}
@media (max-width: 480px) {
}




/* info pages */
ul.about-tabs {
  float: left;
  padding: 0;
  margin: 0 1em 2em 0;
}
ul.about-tabs li {
  display: block;
  width: 150px;
  font-size: 1.2em;
  margin-right: 1.5em;
}
ul.about-tabs li a {
  display: block;
  color: #aaa;
  outline: 0;
  padding: .3em 0;
}
ul.about-tabs li a:hover {
  color: #555;
  background-color: transparent;
  text-decoration: none;
}
ul.about-tabs li a:active {
  background-color: transparent;
}
ul.about-tabs li.active a {
  color: #555;
  font-weight: bold;
}
ul.about-tabs li.tab i {
  color: #999;
  opacity: .3;
  margin-left: 4px;
}
.about-wrapper {
  overflow: hidden;
}
.about-wrapper h2 {
  color: #333;
  font-size: 3em;
  margin-top: 0;
  margin-bottom: .5em;
}
.about-body {
  overflow: hidden;
}
.about-body p {
  font-size: 1.1em;
  line-height: 1.5em;
  color: #888;
}
.about-body p:last-child {
  margin: 0;
}
.about-body p.question {
  color: #333;
  font-size: 1.2em;
  margin-top: 1em;
  font-weight: bold;
}
.about-body ul.bulleted {
  list-style: initial;
  margin: 0 3em 1em 3em;
  font-size: 1.1em;
  color: #888;
  line-height: 1.5em;
}
@media screen and (max-width: 767px) {
  .about-wrapper {
    margin-top: 0;
  }
  .about-wrapper h2 {
    font-size: 2.3em;
    margin-top: .25em;
  }
  .about-body {
    padding: 1em;
  }
  ul.about-tabs {
    float: none;
    width: auto;
    margin-right: 0;
    margin-top: 0;
    border-bottom: none;
  }
  ul.about-tabs li.tab {
    margin: 0;
  }
  ul.about-tabs li {
    display: block;
    width: auto;
  }
  ul.about-tabs li a {
    padding: .5em 1em;
  }
  ul.about-tabs li.tab.active a {
    background-color: #444;
    color: #fff;
  }
  ul.about-tabs li {
    border-bottom: 2px solid rgba(0,0,0,.05);
  }
}


/* apps */
.apps  {
  margin-top: 2em;
}
.apps > li {
  overflow: hidden;
}
.apps > li + li {
  margin-top: 2em;
}
.apps .app_inner {
  overflow: hidden;
  font-size: 1.1em;
}
.apps .app_title {
  font-weight: bold;  
  font-size: 1.2em;
}
.apps .app_author {
  display: inline-block;
  color: #888;
  font-size: .8em;
}
.apps .app_desc {
  color: #888;
}
.apps .sep {
  margin: 1.5em 0 0;
  font-weight: bold;
  font-size: 1.4em;
}



/* feedback */
#feedback h2 {
  margin: 0 0 .5em 0;
}
#feedback ul.feedback_contacts {
  margin-top: 2em;
}
#feedback ul.feedback_contacts li {
  display: block;
  vertical-align: middle;
}
#feedback ul.feedback_contacts li a {
  display: inline-block;
  text-decoration: none;
  width: 200px;
  padding: .25em .5em;
  margin-bottom: .5em;
  font-size: 1.3em;
  font-weight: bold;
  background-color: #f5f5f5;
}
#feedback ul.feedback_contacts li a i {
  font-size: 1.5em;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  margin-right: .25em;
  line-height: 1.5em;
  width: 30px;
}
#feedback ul.feedback_contacts li a span {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.5em;
}
#feedback ul.feedback_contacts li a:hover span {
  text-decoration: underline;
}
@media (max-width: 480px) {
  .pg-feedback .content
  {
    padding-top: 0;
  }
}


/* webcam upload page */
#webcam_page {
  padding-top: 3em;
}
#webcam_page .webcam {
}
#webcam_page .webcam .inner video {
  border: solid 4px;
  display: block;
  margin: 0 auto;
  background-color: #000;
}
#webcam_page .webcam .inner video.recording {
  border: solid 4px #D9534F;
}
#webcam_page .webcam .inner video.playback {
  border: solid 4px #5CB85C;
}
#webcam_page .webcam .webcam_controls {
  text-align: center;
  margin-top: 20px;
}
#webcam_page .webcam .webcam_controls .btn:not(:first-child) {
  margin-left: 10px;
}


/* delete video from link */
#delete .video_preview {
  max-width: 400px;
}


/* video manage page */
#manage h1 {
  margin-bottom: 1em;
}
#manage .manage_options {
  font-size: 38px;
  left: 0;
  padding-top: 60px;
  position: relative;
  word-spacing: normal;
}
#manage .manage_options .actions a {
  display: inline-block;
}
#manage .manage_options .actions a + a {
  margin-left: 1em;
}
#manage .manage_options .actions a.play-video {
  color: #357EBD;
}
#manage .manage_options .actions a.delete-video {
  color: #D43F3A;
}
#manage .manage_options .description {
  font-size: 28px;
  word-spacing: normal;
  text-align: center;
  width: 100%;
}
@media (max-width: 767px) {
  #manage h1 {
    text-align: center;
  }
}



/* user view page */
#user_view .cover
{
  position: absolute;
  top: 0;
  left: 0;
  height: 470px;
  width: 100%;
  background-color: #f5f5f5;
  background-image: url('https://d324imu86q1bqn.cloudfront.net/uploads/user/cover_image/53/optimized_FRSA-0005.1.jpg');
  background-size: cover;
  background-position: center center;
}
#user_view .cover_change {
  position: absolute;
  z-index: 9;
  top: -80px;
  right: 0;
  padding: .5em .75em;
  background-color: rgba(0,0,0,.5);
  color: rgba(255,255,255,.8);
}
#user_view .cover_change a {
  color: rgba(255,255,255,.8);
}
#user_view .cover_change i {
  margin-right: .4em;
}
#user_view > .inner {
  position: relative;
  overflow: visible;
}
#user_view .user_info2 {
  display: none;
}
#user_view .user_info2 .avatar {
  display: inline-block;
  vertical-align: middle;
  margin-right: .25em;
}
#user_view .user_info2 .avatar img {
  width: 60px;
  height: 60px;
  border-radius: 2px;
}
#user_view .user_info2 .user_username {
  display: inline-block;
  vertical-align: middle;
  font-size: 1.8em;
  max-width: 190px;
}
#user_view .user_info {
  position: absolute;
  top: -215px;
  left: 0px;
  color: #fff;
  width: 100%;
}
#user_view .user_info .user_bio {
  color: #fff;
  display: none;
}
#user_view .user_info .avatar.default-avatar {
  box-shadow: none;
}
#user_view .user_info .avatar.default-avatar a {
  background-color: transparent;
  padding: 0;
}
#user_view .user_info .avatar.default-avatar .edit-avatar-link {
  background-color: rgba(0,0,0,.8);
  padding: 5px 10px;
  border-radius: 2px;
  color: rgba(255,255,255,.5);
}
#user_view .user_info .avatar {
  display: inline-block;
  vertical-align: middle;
  margin-right: 1em;
  border-radius: 2px;
  box-shadow: 0px 1px 1px rgba(0,0,0,.5);
}
#user_view .user_info .avatar > a {
  display: inline-block;
  background-color: #fff;
  padding: 5px;
  color: #777;
}
#user_view .user_info .avatar img {
  width: 150px;
  height: 150px;
}
#user_view .user_info .user_username
{
  display: inline-block;
  vertical-align: middle;
}
#user_view .user_info .user_username a {
  display: inline-block;
  vertical-align: middle;
  font-size: 2.2em;
  font-weight: bold;
  color: #fff;
  text-shadow: 0px 1px 1px rgba(0,0,0,.5);
}
#user_view .gutter {
  position: absolute;
  margin-top: 400px;
}
#user_view .gutter.affix {
  position: fixed;
  margin-top: 0;
}
#user_view .gutter.affix .user_info2 {
  display: block;
}
#user_view .gutter.affix .user_info2 .avatar .edit-avatar-link {
  display: none;
}
#user_view .user_stats > li {
  color: #999;
  display: block;
  vertical-align: middle;
  font-size: 1.3em;
  margin-right: .4em;
}
#user_view .user_stats > li .num {
  color: #333;
  font-weight: bold;
}
#user_view .user_stats > li.watching-count .num,
#user_view .user_stats > li.watching-count {
  color: #3CE8DB;
}
#user_view .video_collection h1 {
  margin: 0;
  font-size: 4em;
  font-weight: bold;
}
#user_view .video_collection h2 {
  margin-top: 0;
}
#user_view .video_collection .videos_list {
  text-align: left; 
}
#user_view .description {
  margin-top: 20px;
  word-wrap: break-word;
}
#user_view h3 {
  margin-bottom: 0;
}
#user_view .user_actions {
  margin-top: 1em;
}
#user_view .user_follow .btn {
  background-color: #FB254F;
  border: 2px solid #FB254F;
  border-bottom: 2px solid rgba(0,0,0,.2);
  color: #fff;
  font-size: 1.3em;
  padding: .5em 1.25em;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}
#user_view .user_follow a.btn i {
  margin-left: 0;
  font-size: 1.1em;
  margin-right: .1em;
  margin-left: -.3em;
}
#user_view .user_follow .btn:active {
  margin-top: 2px;
  border-bottom: none;
}
#user_view .user_follow .btn.following {
  background-color: #fff;
  border: 2px solid #FB254F;
  color: #FB254F;
}
#user_view .user_follow .btn.following:active {
  margin-top: 0;
}
#user_view .user_stats {
  margin-top: 1em;
}
#user_view .user_bio {
  margin-top: 1em;
  text-align: left;
  color: #777;
  word-wrap: break-word;
}
#user_view .user_bio i {
  display: inline-block;
  vertical-align: text-bottom;
  font-size: 1.2em;
  margin-right: 5px;
}
#user_view > .inner {
  position: relative;
  margin-top: 405px;
}
#user_view .nav_wrapper {
  clear: both;
  overflow: hidden;
}
#user_view .nav {
  float: left;
  padding: 0;
  margin-bottom: 25px;
}
#user_view .pills {
  float: right;
}
#user_view .nav li {
  font-size: 1.1em;
  display: inline-block;
  margin-right: 1em;
}
#user_view .nav li a {
  display: block;
  color: #aaa;
  outline: 0;
  padding: .5em 0 0 0;
}
#user_view .nav li a:hover {
  color: #555;
  background-color: transparent;
}
#user_view .nav li a:active {
  background-color: transparent;
}
#user_view .nav li.active a {
  color: #222;
  margin-bottom: -2px;
  font-weight: bold;
  border-bottom: 2px solid #222;
}
#user_view .nav li i {
  font-size: 1.5em;
  float: right;
  font-weight: bold;
}
@media (max-width: 979px) {
  #user_view .nav {
    float: none;
  }
  #user_view .pills {
    float: none;
  }
}
@media (max-width: 767px) {
  .pg-user-view .main {
    padding-top: 0;
  }
  .pg-user-view .content {
    padding-top: 1em;
  }
  #user_view > .cover,
  #user_view .cover_change,
  #user_view .user_info {
    display: none;
  }
  #user_view .user_info2 {
    display: block;
  }
  #user_view .user_info2 .avatar img {
    width: 200px;
    height: 200px;
  }
  #user_view > .gutter {
    position: relative;
    float: none;
    width: auto;
    margin: 0;
    top: 0;
    display: block;
    border-bottom: 0;
    padding: 1em 0 0 0
  }
  #user_view > .gutter > .inner {
    padding: 0;
  }
  #user_view .nav {
    border: none;
  }
  #user_view > .inner {
    padding: 0;
    margin: 0;
  }
  #user_view h1,
  #user_view h2 {
    text-align: center;
  }
  #user_view {
    float: none;
    margin: 0 auto;
    border: none;
    text-align: center;
    max-width: none;
    background-color: transparent;
    color: #444;
    padding: 0;
    width: 100%;
    min-width: 0;
  }
  #user_view .avatar {
    display: block;
    float: none;
    margin: 0 auto;
    text-align: center;
    width: 200px;
  }
  #user_view .avatar img {
    width: auto;
    height: auto;
    max-height: 300px;
  }
  #user_view .gutter .user_username {
    float: none;
    font-size: 2.5em;
    letter-spacing: 0;
    font-weight: bold;
    margin: .5em 0 0 0;
  }
  #user_view .gutter .user_username span {
    font-size: .4em;
  }
  #user_view .gutter .user_info2 {
    position: relative;
  }
  #user_view .gutter.affix {
    position: relative;
  }
  #user_view .user_info2 .avatar {
    display: block;
    margin: 0 auto;
  }
  #user_view .user_follow {
    float: none;
  }
  #user_view .user_follow .btn {
    display: block;
    border-width: 2px;
    font-size: 1.4em;
  }
  #user_view .user_stats {
    display: block;
    margin-bottom: .5em;
  }
  #user_view .user_stats > li {
    margin: .25em 1em;
    font-size: 1.2em;
  }
  #user_view .user_bio {
    display: block;
    background-color: transparent;
    color: #555;
    text-align: center;
    padding: 0;
    margin: 1em 0 0 0;
    font-size: 1.1em;
    max-width: none;
  }
  #user_view li.comment-scores-count {
    display: none;
  }
  #user_view .nav li {
    text-align: center; 
  }
  #user_view .nav li i {
    display: none;
  }
  #user_view .pills {
    float: none;
  }
  #user_view .user_stats {
    text-align: center;
  }
  #user_view .user_stats li {
    display: inline-block;
    text-align: left;
    background-color: transparent;
    font-size: 1em;
  }
  #user_view .user_bio {
    font-size: 1em;
    padding: 1em;
  }
  #user_view .video_collection {
    padding-left: 0;
    font-weight: bold;
  }
  #user_view .video_collection .nav {
    margin-bottom: 2em;
    text-align: center;
    font-size: 1.2em;
    border: none;
  }
  #user_view .video_collection .nav li {
    float: none;
    display: block;
    margin: 0;
  }
  #user_view .video_collection .nav li a {
    display: block;
  }
  /* fix edit placement on mobile */
  #user_view .user_info .avatar {
    max-width: 240px;
  }
  #user_view .user_info .avatar img {
    max-width: 100%;
  }
}



/* channel page */
#channel_view > .cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 470px;
  background-image: url("https://d324imu86q1bqn.cloudfront.net/uploads/user/cover_image/53/optimized_FRSA-0005.1.jpg");
  background-size: cover;
  background-position: center center;
}
#channel_view .gutter {
  position: absolute;
  margin-top: 400px;
}
#channel_view .gutter.affix {
  position: fixed;
  margin-top: 0;
}
#channel_view .gutter h1 {
  display: none;
  margin-top: .2em;
}
#channel_view .gutter.affix h1 {
  display: block;
  margin-top: .2em;
}
#channel_view > .inner {
  position: relative;
  margin-top: 405px;
  overflow: visible;
}
#channel_view .channel_info {
  position: absolute;
  top: -150px;
  left: 0px;
  color: #fff;
  width: 100%;
}
#channel_view .channel_info h1 {
  font-size: 5em;
  text-shadow: 0px 1px 1px rgba(0,0,0,.5);
  font-weight: bold;
}
/*
#channel_view .avatar {
  margin-bottom: 1em;
}
#channel_view .avatar img {
  max-width: 100%;
  width: 100%;
  max-height: 500px;
}
*/
#channel_view .channel_description {
  margin-top: .8em;
  text-align: left;
  color: #777;
}
#channel_view .channel_options {
  margin-top: 1em;
}
#channel_view .channel_post .btn,
#channel_view .channel_follow .btn {
  border-width: 2px;
  color: #fff;
  font-size: 1.3em;
  padding: .5em 1.25em;
  width: 100%;
  max-width: 350px;
}
#channel_view .channel_post .btn:active,
#channel_view .channel_follow .btn:active {
  border-bottom: none;
  margin-top: 2px;
}
#channel_view .channel_follow .btn {
  background-color: #FB254F;
  border: 2px solid #FB254F;
  border-bottom: 2px solid rgba(0,0,0,.2);
}
#channel_view .channel_follow .btn-info {
  background-color: #fff;
  border: 2px solid #FB254F;
  color: #FB254F;
}
#channel_view .channel_follow .btn-info:active {
  margin-top: 0;
  border-bottom: 2px solid #FB254F;
}
#channel_view .channel_post .btn {
  background-color: #3CE8DB;
  border: 2px solid #3CE8DB;
  margin-top: 10px;
  border-bottom: 2px solid rgba(0,0,0,.2);
}
#channel_view .channel_post .btn:active {
  margin-top: 12px;
  border-bottom: none;
}
#channel_view .channel_stats {
  margin-top: 1em;
  font-size: 1.3em;
}
#channel_view .channel_stats > li {
  display: block;
  margin-right: 1.1em;
  color: #999;
}
#channel_view .channel_stats > li.watching-count,
#channel_view .channel_stats > li.watching-count .num {
  color: #3CE8DB;
}
#channel_view .channel_stats .num {
  color: #333;
  font-weight: bold;
}
#channel_view .nav_wrapper,
#search .nav_wrapper {
  clear: both;
  overflow: hidden;
}
#channel_view .nav,
#search .nav {
  float: left;
  padding: 0;
  margin-bottom: 2em;
}
#channel_view .nav li,
#search .nav li {
  font-size: 1.1em;
  display: inline-block;
  margin-right: 1em;
}
#channel_view .nav li a,
#search .nav li a {
  display: block;
  color: #aaa;
  outline: 0;
  padding: .5em 0 0 0;
}
#channel_view .nav li a:hover,
#search .nav li a:hover {
  color: #222;
  background-color: transparent;
}
#channel_view .nav li a:active,
#search .nav li a:active {
  background-color: transparent;
}
#channel_view .nav li.active a,
#search .nav li.active a {
  color: #222;
  border-bottom: 2px solid #222;
  margin-bottom: -2px;
  font-weight: bold;
}
#channel_view .nav li i,
#search .nav li i {
  font-size: 1.5em;
  float: right;
  font-weight: bold;
}
#channel_view .pills,
#search .pills {
  float: right;
}
@media (max-width: 979px) {
  #channel_view .nav,
  #search .nav {
    float: none;
  }
  #channel_view .pills,
  #search .pills {
    float: none;
  }
}
@media (max-width: 767px) {
  #channel_view .main {
    padding-top: 0;
  }
  #channel_view .content {
    padding-top: 1em;
  }
  #channel_view > .cover {
    display: none;
  }
  #channel_view > .gutter,
  #channel_view > .gutter.affix {
    position: relative;
    float: none;
    width: auto;
    margin: 0;
    top: 0;
    display: block;
    border-bottom: 0;
    padding: 0;
  }
  #channel_view .channel_info {
    display: none;
  }
  #channel_view > .inner {
    margin-top: 1em;
  }
  #channel_view .nav, #search .nav {
    border: none;
    margin-top: .5em;
  }
  #channel_view > .gutter > .inner {
    padding: 0;
  }
  #channel_view .gutter h1 {
    display: block;
  }
  #channel_view h1 {
    font-size: 2.5em;
    margin-top: .25em;
  }
  #channel_view .channel_description {
    text-align: center;
    font-size: 1em;
  }
  #channel_view .channel_stats {
    text-align: center;
  }
  #channel_view .channel_options {
    text-align: center;
  }
  #channel_view .nav {
    text-align: center;
  }
  #channel_view .videos_list > li {
    width: 100%;
    max-width: 100%;
  }
}


/* album view */
#album_view {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 1em;
}
#album_view h1 {
  font-weight: bold;
  font-size: 3.2em;
  color: #222;
  margin-top: 0;
}
#album_view h2 {
  font-weight: normal;
  font-size: 1.1em;
  color: #555;
  line-height: 1.4em;
  margin-top: .5em;
}
#album_view .album_info {
  margin: 1em 0;
  background-color: #f5f5f5;
}
#album_view .album_info > li {
  display: inline-block;
  vertical-align: middle;
  font-size: 1em;
  color: #999;
  margin-right: 1em;
  font-size: 1.1em;
}
#album_view .album_owner {
  display: inline-block;
  vertical-align: middle;
}
#album_view .album_owner > a {
  color: #555;
  text-decoration: none;
}
#album_view .album_owner .album_owner_username {
  display: inline-block;
  vertical-align: middle;
}
#album_view .album_owner img {
  display: inline-block;
  vertical-align: middle;
  width: 42px;
  height: 42px;
  margin-right: .25em;
}
#album_view .album_owner_username {
  font-weight: bold;  
}
#album_view .album_date {
  display: inline-block;
  vertical-align: middle;
}
#album_view .album_more {
  padding-top: 2px;
}
#album_view .album_more > a {
  color: #999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none; 
}
#album_view .album_more > a > i {
  font-size: 1.4em;
}
#album_view .album_more > a > i:hover {
  color: #555;
}
#album_view .album_info > li.album_share {
  float: right;
  margin: 0;
}
#album_view .album_share > ul {
  font-size: 0;
}
#album_view .album_share li {
  display: inline-block;
  vertical-align: middle;
}
#album_view .album_share .sharing {
  display: inline-block;
  width: 42px;
  height: 42px;
}
#album_view .album_videos {
  margin-top: 3em;
}
#album_view .album_videos > li + li {
  margin-top: 3em;
}
#album_view .album_video_title {
  font-size: 1.5em;
  color: #222;
}
#album_view .album_video_desc {
  margin-top: .25em;
  font-size: 1.1em;
  color: #555;
  line-height: 1.3em;
}
#album_view .album_edit {
  display: inline-block;
  border: 2px solid #eee;
  color: #aaa;
  border-radius: 4px;
  text-decoration: none;
}
#album_view .album_edit:hover {
  border-color: #555;
  color: #555;
}
#album_view .album_edit i {
  margin-right: .5em;
}
#album_view .album_video_add {
  margin: 2em 0;
}
#album_view .album_video_add > a {
  padding: .3em 1em;
  font-size: 1.2em;
}
@media (max-width: 767px) {
  #album_view .album_info {
    background-color: transparent;
    text-align: center;
  }
  #album_view .album_info > li.album_share {
    float: none;
    display: block;
    margin-top: 1em;
  }
  #album_view .album_share li {
    width: 25%;
  }
  #album_view .album_share .sharing {
    display: block;
    height: 35px;
    width: auto;
  }
  #album_view .dropdown-menu {
    text-align: left;
  }
}



/* notifications */
#notifications h1 {
  font-size: 2em;
  color: #333;
}
#notifications .notifications_list li {
  padding: .5em 0;
  font-size: 1.1em;
  color: #777;
}
#notifications .notifications_list li a {
  color: #444;
}
#notifications .notification_actor,
#notifications .notification_object {
  font-weight: bold;
}
#notifications .notification_avatar {
  width: 32px;
  height: 32px;
  border-radius: 100px;
  margin-right: .5em;
}
#notifications time {
  color: #ccc;
  padding-left: 3px;
}



/* reset */
#reset h1 {
  margin: 1em 0;
}
#reset .form-reset {
  padding-left: 0;
}
@media (max-width: 767px) {
  #reset h1 {
    text-align: center;
  }
  #reset .form-reset {
    padding-left: 15px;
  }
}


/* settings */
#settings h1 {
  margin-bottom: 1em;
  font-size: 2em;
  color: #333;
}
#settings textarea {
  resize: none;
}
#settings .form-settings {
  padding-left: 0;
}
#settings .form-desc {
  color: #aaa;
}
#settings .settings_submit {
  margin-top: 2em;
}
#settings .settings_submit .btn {
  border: none;
  border-bottom: 2px solid rgba(0,0,0,.2);
}
#settings .settings_submit .btn:active {
  border-bottom: none;
  margin-top: 2px;
}
#settings .settings_notifications .checkbox {
  margin-top: 0;
  margin-bottom: 3px;
}
#settings label + div.radio {
  margin-top: 0;
}
#settings .social-auth {
  margin-bottom: 5px;
}
#settings .social-auth-account + .social-auth-account {
  margin-top: 2px;
}
#settings .social-auth-account-info {
  display: inline-block;
  position: relative;
  padding-right: .6em;
  background-color: #f5f5f5;
  border-radius: 3px;
  color: #555;
  text-decoration: none;
  min-width: 175px;
}
#settings .social-auth-disconnect {
  color: #aaa;
}
#settings .social-auth-account img {
  width: 40px;
  height: 40px;
  margin-right: 3px;
}
#settings .social-auth-service {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 8px;
  width: 15px;
  text-align: center;
}
#settings .social-auth-service.facebook {
  background-color: #3B5998;
}
#settings .social-auth-service.twitter {
  background-color: #55ACCE;
}
@media (max-width: 767px) {
  #settings h1 {
    text-align: center;
  }
  #settings .form-settings {
    padding-left: 15px;
  }
}
#settings .form-alternative  {
  display: inline-block;
  font-size: 14px;
  vertical-align: middle;
}
#settings .form-alternative a {
  margin-left: 12px;
  padding: 6px 0px;
  color: #aaa;
}


/* login modal */
#sign-in-modal .col-md-6 {
  padding: 0;
  padding-right: 30px;
}
#sign-in-modal .col-md-6 + .col-md-6 {
  padding-right: 0;
}
#sign-in-modal label {
  display: block;
}
#sign-in-modal .login-forgot {
  font-weight: normal;
  float: right;
}
@media (max-width: 767px) {
  #sign-in-modal .col-md-6 {
    padding: 0;
  }
}

/* social auth in login and signup modals */
.social-auth {
  margin-bottom: 1em;
  overflow: hidden;
}
.social-auth .social-auth-buttons {
  overflow: hidden;
  clear: both;
}
.social-auth .social-auth-buttons a {
  float: left;
  width: 120px;
  padding: 7px 15px;
  border-bottom: 2px solid rgba(0,0,0,.2);
  border-radius: 4px;
  margin-right: 5px;
}
.social-auth .social-auth-buttons a:active {
  border-bottom: none;
  margin-top: 2px;
}
.social-auth .social-auth-twitter {
  background-color: #00acee;
}
.social-auth .social-auth-facebook {
  background-color: #3b5998;
}
.social-auth i {
  margin-top: 3px;
  font-size: 1.8em;
  color: #fff;
}
.social-auth .social-auth-or {
  margin-top: 1em;
  color: #aaa;
}
#sign-up-modal label[for="signupInputUsername"]
{
  color: #aaa;
  font-weight: normal;
}




/* misc */
#grab_fail {
  padding: 1em;
  font-size: 20px;
  text-align: center;
}


/* tag suggest list */
/* mentions and tags suggest */
.suggest-list {
  background-color: #fff;
  border: 1px solid #ccc;
  z-index: 10;
  max-height: 300px;
  overflow-y: auto;
}
.suggest-list > li {
  padding: 5px;
  color: #333333;
}
.suggest-list > li + li {
  border-top: 1px solid #eee;
}
.suggest-list > li.active,
.suggest-list > li:hover {
  color: #ffffff;
  background-color: #499BCD;
}
.suggest-list > li.active + li:hover,
.suggest-list > li:hover + li.active {
  border-top-color: #499BCD;
}
.suggest-list > li:hover {
  cursor: pointer;
}
.suggest-list > li.active:hover {
  background-color: #499BCD;
}
.suggest-list .name {
  padding-left: 5px;
}




/* avatar related stuff */
.avatar {
  position: relative;
  display: block;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
}
.avatar .edit-avatar-link {
  position: absolute;
  font-size: .85em;
  color: rgba(255,255,255,.5);
  padding: 5px 10px;
  text-decoration: none;
  background-color: rgba(0,0,0,.5);
  bottom: 0;
  left: 0;
  text-align: center;
}
.avatar .edit-avatar-link:hover {
  color: #fff;
}
.avatar:hover .edit-avatar-link {
  display: block;
}
#user-cover-upload-modal .cta,
#avatar-upload-modal .cta {
  margin-bottom: 1em;
}
#user-cover-upload-modal .cta .btn,
#avatar-upload-modal .cta .btn {
}
#user-cover-upload-modal .cta span,
#avatar-upload-modal .cta span {
  display: inline-block;
  font-size: 1em;
  margin: 0 1em;
  color: #bbb;
  line-height: 1.2em;
}
#user-cover-upload-modal .cta input[type="text"],
#avatar-upload-modal .cta input[type="text"] {
  font-size: .85em;
  padding: .5em 0;
  background: none;
  text-align: center;
  width: 95%;
}
#user-cover-upload-modal .cta.draganddrop,
#avatar-upload-modal .cta.draganddrop {
  font-size: 1.1em;
  padding: 2em;
  border: 5px dashed #eee;
  border-radius: 5px;
  margin: 0 auto 1em auto;
}
#user-cover-upload-modal
#avatar-upload-modal .cta.draganddrop.hover {
  background: #FFFCEA;
  border-color: transparent;
}
#user-cover-upload-modal .draganddrop span,
#avatar-upload-modal .draganddrop span {
  margin: 0;
  line-height: 1em;
  padding: 0.2em 0em;
  border-bottom: 1px solid transparent; /* for alignment */
  display: inline-block;
  overflow: hidden;
  margin-bottom: -0.2em;
}
#user-cover-upload-modal .draganddrop .choose,
#avatar-upload-modal .draganddrop .choose {
  overflow: hidden;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  position: relative;
}
#user-cover-upload-modal .draganddrop .choose i,
#avatar-upload-modal .draganddrop .choose i {
  margin-right: 5px;
}
#user-cover-upload-modal .draganddrop .choose input[type="file"],
#avatar-upload-modal .draganddrop .choose input[type="file"] {
  cursor: pointer;
  direction: ltr;
  margin: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 300%;
  height: 100%;
}
#avatar-upload-modal .crop-area {
  max-width: 250px;
}
#avatar-upload-modal .crop-area img {
  max-width: 100%;
}



/* error page */
#error_view {
  text-align: center;
}
#error_view .error_image img {
  width: 300px;
  margin-bottom: 2em;
}
#error_view .error_contact {
  font-size: 1.2em;
  color: #999;
  margin-top: .5em;
}
@media (max-width: 767px) {
  #error_view .error_image img {
    width: 150px;
    margin-bottom: 0;
  }
}



/*download gif page */
#download-gif {
  padding: 1em;
}
#download-gif .captions {
  overflow: hidden;
}
#download-gif .captions > div {
  float: left;
  width: 50%;
}
#download-gif .captions > div:first-child {
  padding-right: 10px;
}
#download-gif .captions > div:last-child {
  padding-left: 10px;
}
#download-gif p {
  text-align: center;
}
#download-gif div#slider-range {
  margin: 10px auto 30px auto;
}
#download-gif input#amount {
  text-align: center;
  color: #aaa;
}
#download-gif input.form-control {
  text-align: center;
}
#download-gif label {
  display: block;
}
#download-gif #previews {
  margin: 20px 0;
}
#download-gif .submit {
  overflow: hidden;
}
.download-gif-page .preview {
  height: auto;
  width: auto;
  margin-right: auto;
  margin-left: auto;
  display: inline-block;
}
.download-gif-page #gif-preview { 
  max-height: 270px;
  max-width: 400px;
}
.download-gif-page video#video-preview {
  height: auto;
  width: auto;
  max-height: 270px;
  max-width: 400px;
  display: block;
  margin-right: 10px;
}
.download-gif-page object#slider {
  display: block;
  margin-bottom: 20px;
}
.download-gif-page div#slider-range {
  margin-left: auto;
  margin-right: auto;
  width: 828px;
}
.download-gif-page input#amount {
  background: none;
  border:0;
  font-weight:bold;
}
.download-gif-page input[disabled], textarea[disabled],
select[disabled='disabled']{
   -webkit-text-fill-color: #868686; 
   -webkit-opacity: 1; 
   color: #868686; 
   background: none;
   border:0;
   font-weight:bold;
}
.download-gif-page label#loading-text {
  display: inline;
  vertical-align: middle;
  color: #aaa;
  font-weight: normal;
}
.download-gif-page button.download-gif-button {
  margin-left: 5px;
}
.download-gif-page input.form-control {
  margin-bottom: 2px;
}
.download-gif-page .caption {
  /*border: solid; border-color: red;*/
  position: absolute;
  color: white;
  -webkit-text-fill-color: white;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
  height: 50px;
  line-height: 50px;
  font-family: "Impact";
  text-align: center;
  padding-left: 5px;
  z-index: 9999999;
  word-break: break-all;
  white-space: nowrap;
}
.download-gif-page .caption span {
  /*border: solid; border-color: black; */
  display: inline;
}
.download-gif-page #top-text span {
  vertical-align: top;
}
.download-gif-page #bottom-text span {
  vertical-align: bottom;
}

/* embed modal */
.embed-modal textarea.embed-code {
  background-color: transparent;
  cursor: text;
  font-size: .8em;
  height: 8em;
  border: none;
  box-shadow: none;
  resize: none;
  width: 100%;
  font-family: "Monaco", "Lucida Console", sans-serif;
  border: 2px dashed #ddd;
  padding: 10px;
}
.embed-modal textarea.embed-code::selection {
  background: #eee;
}
.embed-modal textarea.embed-code::-moz-selection {
  background: #eee;
}



/* video edit modal */
.video-edit-modal .thumbnail-container {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: auto;
  text-align: left;
  cursor: pointer;
}
.video-edit-modal .edit-thumbnail .help {
  padding-left: .75em;
}
.video-edit-modal input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
  z-index: 1000;
}
.video-edit-modal .thumbnail-container + span > span {
  margin-left: 4px;
  color: #bbb;
}
.video-edit-modal .help {
  color: #999;
}
.video-edit-modal .checkbox {
  margin-bottom: 1px;
}
.video-edit-modal .js-file-input-value {
  background-color: rgba(0,0,0,.05);
  border: none;
  font-size: .9em;
  font-weight: bold;
}
.video-edit-modal .js-file-input-clear {
  display: inline-block;
  vertical-align: middle;
  font-size: 1.5em;
  margin-left: 20px;
  line-height: 1em;
  margin-top: -3px;
}



/* video voter styles */
#video_view .video_actions_like > a,
.thumb_stats .thumb_vote > a {
  display: inline-block;
  vertical-align: middle;
  color: #aaa;
  text-decoration: none;
  -webkit-user-select: none;
}
#video_view .video_actions_like > a:hover,
.thumb_stats .thumb_vote > a:hover {
  background-color: transparent;
  color: #888;
}
#video_view .video_actions_like > a.active,
.thumb_stats .thumb_vote > a.active {
  color: #444;
}
#video_view .video_actions_like > a.active span,
.thumb_stats .thumb_vote > a.active span {
  color: #444;
}
#video_view .video_actions_like > a span.num,
.thumb_stats .thumb_vote > a span.num {
  font-size: 1.2em;
  margin-left: 3px;
}
#video_view .video_actions_like > a > i {
  display: inline-block;
  vertical-align: middle;
  font-size: 24px;
}
#video_view .video_actions_like .js-video-vote-down {
  margin-right: .25em;
}



/* oauth */
#oauth-apps .well,
#oauth-clients .well {
  margin-top: 1em;
}
#oauth-apps p,
#oauth-clients p {
  margin-top: 1em;
  margin-bottom: 0;
}
#oauth-app-detail span.heading,
#oauth-client-detail span.heading {
  width: 150px;
  display: inline-block;
  margin-bottom: 0.3em;
}
#oauth-app-detail span.heading + span,
#oauth-client-detail span.heading + span {
  display: inline-block;
  margin-bottom: 0.3em;
}
#oauth-app-detail ul,
#oauth-authorize .oauth-scopes ul {
  list-style: disc;
  padding-left: 2em;
}
#oauth-app-detail .oauth-app-detail-permissions .actions {
  margin-top: 2em;
}
#oauth-client-detail .actions {
  margin-top: 2em;
  display: none;
}
#oauth-authorize .well {
  background-color: transparent;
}
#oauth-authorize .oauth-scopes {
  margin-top: 1em;
  margin-bottom: 1em;
}



/* uploader modal */
#uploader-modal .step1 > * {
  height: 55px;
  margin-bottom: 10px;
  border-radius: 3px;
  cursor: pointer;
  border: 2px solid #eee;
  font-weight: bold;
}
#uploader-modal .alert a {
  color: #2a6496;
}
#uploader-modal .step1 > *:hover {
  border-color: #ccc;
}
#uploader-modal .step1 > *:hover span {
  color: #555;
}
#uploader-modal .step1 > * i {
  font-size: 1.7em;
  display: inline-block;
  vertical-align: middle;
  margin-right: .25em;
  width: 22px;
}
#uploader-modal .step1 > * span {
  display: inline-block;
  vertical-align: middle;
  color: #999;
  font-weight: normal;
}
#uploader-modal .browse {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  padding: 15px;
  width: 100%;
}
#uploader-modal label.browse {
  display: block;
}
#uploader-modal .browse input[type="file"] {
  cursor: pointer;
  direction: ltr;
  margin: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 300%;
  height: 100%;
}
#uploader-modal .drag-and-drop {
  padding: 15px;
  border-style: dashed;
  cursor: default;
  border-color: #ddd;
}
#uploader-modal .step1 > .drag-and-drop:hover {
  border-color: #ddd;
}
#uploader-modal .step1 > .drag-and-drop:hover span {
  color: #999;
}
#uploader-modal .grab i {
  position: absolute;
  margin-top: 15px;
  margin-left: 15px;
}
#uploader-modal .grab input {
  display: inline-block;
  vertical-align: middle;
  padding: 0;
  padding-left: 47px;
  height: 53px;
  width: 100%;
  border: none;
  background: none;
  box-shadow: none;
  background-image: none;
  text-align: left;
}
#uploader-modal .selected-channel a.pull-right {
  text-decoration: none;
  font-size: 1.5em;
  margin-top: -4px;
}
#uploader-modal .spinner span {
  vertical-align: middle;
  margin-left: 3px;
}
#uploader-modal .grab input::-moz-placeholder {
  color: #555;
}
#uploader-modal .video-public {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
/* placeholder shim */
#uploader-modal .grab input.placeholder {
  color: #999; 
}
#uploader-modal .drag-and-drop.in {
  background: #FFFCEA;
  border-color: transparent;
}
#uploader-modal .drag-and-drop-overlay {
  color: transparent;
}
#uploader-modal .progress {
  width: 99.8%;
  margin-bottom: 10px;
}
#uploader-modal .progress-bytes {
  margin-bottom: .5em;  
  color: #aaa;
}
.draggin-n-droppin #uploader-modal {
  overflow-y: hidden;
}
.draggin-n-droppin #uploader-modal > * {
  display: none;
}
.draggin-n-droppin #uploader-modal .drag-and-drop-overlay {
  z-index: 1;
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  font-weight: bold;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.7);
}
.draggin-n-droppin #uploader-modal .drag-and-drop-overlay-close {
  cursor: pointer;
  text-align: right;
  padding-right: 30px;
  padding-top: 30px;
  font-size: 30px;
  line-height: 30px;
}
.draggin-n-droppin #uploader-modal .drag-and-drop-overlay-inner {
  font-size: 100px;
  z-index: 0;
  position: fixed;
  top: 50%;
  height: 8em;
  margin-top: -100px;
  display: inline-block;
  left: 0;
  width: 100%;
}
/* IE9 hack */
#uploader-modal.ie9orless .browse input {
  left: -99999px;
  opacity: 1;
  visibility: visible;
}


/* sharing buttons */
.sharing {
  background-position: center center;
  background-repeat: no-repeat;
}
.sharing.reddit {
  background-image: url("/images/sharing/reddit.png");
}
.sharing.facebook {
  background-image: url("/images/sharing/facebook_white.png");
}
.sharing.twitter {
  background-image: url("/images/sharing/twitter_white.png");
}
.sharing.tumblr {
  background-image: url("/images/sharing/tumblr_white.png");
}
.sharing.tackk {
  background-image: url("/images/sharing/tackk.png");
  background-color: #212121;
  background-size: 30px;
}
.sharing.tackk:hover {
  opacity: .8;
}
@media (-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 
  .sharing.reddit {
    background-image: url("/images/sharing/reddit@2x.png");
    background-size: 20px 17px;
  }
  .sharing.facebook {
    background-image: url("/images/sharing/facebook_white@2x.png");
    background-size: 8px 17px;
  }
  .sharing.twitter {
    background-image: url("/images/sharing/twitter_white@2x.png");
    background-size: 18px 13px;
  }
  .sharing.tumblr {
    background-image: url("/images/sharing/tumblr_white@2x.png");
    background-size: 11px 17px;
  }
  .sharing.tackk {
  background-image: url("/images/sharing/tackk.png");
    background-size: 30px;
  }
}




/* fonts
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(fonts/open-sans-normal.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url(fonts/open-sans-bold.woff) format('woff');
}
*/



/* dominant color */
.swatches {
  display: none;
}
.swatches { margin-top: 6px;}
.swatches .swatch {
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 3px;
  padding: 0;
}


/* misc */
.reset-thumbnail {
  margin-left: 4px;
}

/* mobile safari fixes */
body.pg-video-embed {
    padding: 0;
}
.pg-video-embed .footer {
    display:none;
}
.pg-video-embed .main > .container {
    min-height: 0px;
}
.vjs-progress-control {
    overflow-x: hidden;
}
.mobile-play-button {
    display: none;
}
.mobile-play-button img {
    max-width: 100%;
}
@media (max-height: 767px) {
    .mobile-play-button  .play-button {
        background: rgba(50, 50, 50, 0.74902);
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -32px;
        margin-left: -32px;
        width: 32px;
        line-height: 0px;
        font-size: 42px;
        text-align: center;
        vertical-align: middle;
        color: rgb(255, 255, 255);
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        border: 32px solid rgba(50, 50, 50, 0.74902);
        -webkit-border-radius: 32px;
        -moz-border-radius: 32px;
    }
    .mobile-play-button .play-button > .contents:before {
        content: "\27A4";
        text-shadow: none;
        font-family: VideoJS;
        margin-left: -17px;
        margin-top: -4px;
        position: relative;
        display: block;
    }
    .mobile-play-button {
        display:block;
        width: 100%;
        height: auto;
        min-height: 200px;
        max-height: 300px;
        position: relative;
        text-align: center;
    }
    .device-android .mobile-play-button {
      display: none;
    }
    .device-android-old .mobile-play-button {
      display: block;
    }
    .mobile-play-button img {
      height: auto;
      max-height: 300px;
      max-width: 100%;
    }
    /* hides the loading indicator until play button is clicked */
    .mobile-play-button .loading-indicator{
        display:none;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 64px;
        height: 64px;
        margin-top: -32px;
        margin-left: -32px;
        background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNjQgNjQiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDY0IDY0IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik02MS4zLDMwLjdDNjAtNi42LDQtNi42LDIuNywzMC43YzAsMC43LTAuNiwxLjMtMS40LDEuM2wwLDBDMC42LDMyLDAsMzEuNCwwLDMwLjZjMS40LTQwLjgsNjIuNi00MC44LDY0LDANCgljMCwwLjgtMC42LDEuNC0xLjQsMS40bDAsMEM2MS45LDMyLDYxLjMsMzEuNCw2MS4zLDMwLjd6Ii8+DQo8L3N2Zz4NCg==");
        -webkit-animation: spinme linear .2s infinite!important;
        -moz-animation: spinme linear .2s infinite!important;
        animation: spinme linear .2s infinite!important;
    }
    /* hide video until mobile play button is clicked */
    .device-ios #video_player {
        display: none;
    }
    .device-android-old #video_player {
        display: none;
    }
    .device-ios .player,
    .device-android-old .player {
        text-align: center;
    }
    .device-ios #video_player,
    .device-android-old #video_player {
        width: auto;
        margin: 0 auto !important;
    }

}

.loading-more {
    margin-top: 60px;
    position: relative;
    height: 64px;
}
.loading-more .spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    margin-left: -32px;
    margin-top: -32px;
    background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOC4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNjQgNjQiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDY0IDY0IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiNjY2NjY2MiIGQ9Ik02MS4zLDMwLjdDNjAtNi42LDQtNi42LDIuNywzMC43YzAsMC43LTAuNiwxLjMtMS40LDEuM2wwLDBDMC42LDMyLDAsMzEuNCwwLDMwLjZjMS40LTQwLjgsNjIuNi00MC44LDY0LDANCgljMCwwLjgtMC42LDEuNC0xLjQsMS40bDAsMEM2MS45LDMyLDYxLjMsMzEuNCw2MS4zLDMwLjd6Ii8+DQo8L3N2Zz4NCg==");
    -webkit-animation: spinme linear 0.2s infinite !important;
    -moz-animation: spinme linear 0.2s infinite !important;
    animation: spinme linear 0.2s infinite !important;
}
.loading-more .spinner:before {
    content: none;
}

.pg-video-view .youtube-player {
    max-width: 100%;
    max-height: 600px;
    min-height: 360px;
}
.pg-video-embed .youtube-player {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
}



/* album modals */
.album-create-modal .album-link {
  font-weight: bold;
}
.album-add-videos-modal .modal-body {
  padding-top: .5em;
}
.album-add-videos-modal ul.album-add-video-list {
  list-style: none;
  overflow-y: auto;
  max-height: 500px;
  border: 1px solid #eee;
  padding: 5px;
}
.album-add-videos-modal ul.album-add-video-list li {
  cursor: pointer;
  text-align: center;
  overflow: hidden;
  margin: 5px 0;
}
.album-add-videos-modal ul.album-add-video-list li:first-child {
  margin-top: 0;
}
.album-add-videos-modal ul.album-add-video-list li:last-child {
  margin-bottom: 0;
}
.album-add-videos-modal ul.album-add-video-list li:hover {
  background-color: #f5f5f5;
}
.album-add-videos-modal .thumb {
  width: 100px;
  float: left;
}
.album-add-videos-modal .thumb + div {
  overflow: hidden;
  text-align: left;
  padding-left: .5em;
}
.album-add-videos-modal .thumb img {
  max-width: 100%;
}
.album-edit-videos-modal fieldset > * {
  display: inline-block;
  overflow: hidden;
  width: 75%;
}
.album-edit-videos-modal fieldset .handle {
  width: 3%;
  float: left; 
  font-size: 17px;
  color: #ccc;
  cursor: pointer;
}
.album-edit-videos-modal fieldset .left {
  float: left;
  width: 20%;
  margin-right: 10px;
}
.album-edit-videos-modal fieldset .left img {
  max-width: 100%;
}
.album-edit-videos-modal fieldset .form-group input {
  margin-bottom: 5px
}


/* user profile albums */
#user_view .album_collection h1 {
  margin: 0;
  font-size: 4em;
  font-weight: bold;
}
#user_view .album_collection h2 {
  margin-top: 0;
}
#user_view .album_collection .album_list {
  text-align: left; 
}





/* album list */
.albums_list > li {
  margin-bottom: 1em;
}
.albums_list > li + li {
  margin-top: 1em;
}
.albums_list > li .thumb_author_avatar {
  display: inline-block;
  vertical-align: middle;
}
.albums_list > li .thumb_author_avatar img {
  width: 36px;
  height: 36px; 
}
.albums_list > li .inner {
}
.albums_list > li .thumb_wrapper {
  background-color: #f0f0f0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.albums_list > li .thumb_wrapper > a {
  position: relative;
  display: block;
  float: left;
  width: 300px;
  height: 170px;
  overflow: hidden;
}
.albums_list > li .thumb_wrapper > a > .thumb_duration {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 12px;
  padding: 4px 7px;
  line-height: 1em;
  background-color: rgba(0,0,0,.6);
  color: rgba(255,255,255,.8);
}
.albums_list > li .thumb_wrapper > a > img,
.albums_list > li .thumb_wrapper > a > video {
  min-width: 100%;
  min-height: 100%
}
.albums_list > li .thumb_unlisted,
.albums_list > li .thumb_channel,
.albums_list > li .thumb_nsfw {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
  padding: 4px 7px;
  line-height: 1em;
  border: 1px solid rgba(0,0,0,.15);
  color: rgba(0,0,0,.5);
}
.albums_list > li .thumb_channel {
  background-color: #3CE8DB;
  border: 1px solid #3CE8DB;
}
.albums_list > li .thumb_channel a { 
  color: rgba(0,0,0,.5);
}
.albums_list > li .thumb_nsfw { 
  color: #fff;
  background-color: #FF5151;
  border: 1px solid #FF5151;
}
.albums_list > li .thumb_featured {
  background-color: #eee;
  border-color: #eee;
}
.albums_list > li .thumb_featured a {
  color: #aaa;
}
.albums_list > li .thumb_title {
  display: block;
  overflow: hidden;
  font-size: 1.2em;
  margin-bottom: .25em;
  padding: .5em .7em;
  font-weight: normal;
}
.albums_list > li .thumb_title_label {
  display: block;
  margin-top: .5em;
  color: #555;
  font-weight: bold;
  line-height: 1.2em;
}
.albums_list > li .thumb_author {
  margin-top: .25em;
}
.albums_list > li .thumb_author_username {
  color: #999;
}
.albums_list > li .thumb_title_label + .thumb_author {
  margin-top: 0;
}
.albums_list > li .thumb_info {
  display: block;
  text-align: left;
}
.albums_list .thumb_stats {
  padding: .5em 0 0 0px;
}
.albums_list > li .thumb_stat {
  display: inline-block;
  vertical-align: middle;
  margin-right: .5em;
  color: #aaa;
}
.albums_list .boost {
  color: rgb(98, 219, 27);
}
.albums_list > li .thumb_stat > a {
  color: #aaa
}
.albums_list > li .thumb_stat.thumb_watching {
  color: #3CE8DB;
  opacity: 1;
  cursor: default;
}
@media (max-width: 979px) {
  .albums_list > li .thumb_info {
    font-weight: normal;
  }
  .albums_list > li .thumb_wrapper {
  }
}
@media (max-width: 767px) {
  .albums_list .thumb_vote_wrapper {
    width: 40px;
  }
  .albums_list > li .thumb_wrapper > a {
    float: left;
    width: 120px;
    height: 85px;
  }
  .albums_list > li .thumb_wrapper > a > .thumb_duration {
    font-size: .7em;
  }
  .albums_list > li .thumb_title {
    font-size: .9em;
    padding: .5em 0 0 .5em;
    margin-bottom: 0;
  }
  .albums_list > li .thumb_title > span {
    font-size: .7em;
  }
  .albums_list .thumb_stats {
    padding-top: 0;
    padding-left: 40px;
  }
  .albums_list > li .thumb_info .thumb_stat {
    display: inline-block;
    vertical-align: middle;
    margin-right: .25em;
    font-size: .8em;
  }
}
