html {
  height: 100%;
}

body {
  padding-top: 49px;
  height: 100%;

  background-image:url(/static/bg.png);
  background-position:center top;
  background-repeat:repeat-y
}
body.admin { padding-top: 100px; }

a:hover {
  text-decoration: none;
}

a.anchor {
    display: block;
    position: relative;
    top: -60px;
    visibility: hidden;
}

a.yellowbg {
  background-color: #ff9;
}

a.btn-transp, a.btn-transp:hover, a.btn-transp:active, a.btn-transp:link, a.btn-transp:visited {
  color: #666666;
}

hr.item-separator {
  margin: 0px;
  border-color: #dddddd;
}

table.links {
  margin-bottom: 0px;
}

table.actionbar {
  margin-bottom: 0px;
}

div.category_header {
  background-color: #eeeeee;
  margin: 0px;

  padding-left:15px;
  padding-top:1px;
  padding-bottom:1px;
}

div.category_header h4 {
  color: #000000;
}

div.item-outer {
}

div.item-inner {
  padding-left:15px;
  padding-right:15px;
  padding-top:0px;
  padding-bottom: 8px;
}

div.item-image-big {
  margin-left: -15px;
  margin-right: -15px;
  margin-top: 0px;
}

div.item-image-big img {
  width: 100%;
}

img.item-image-sml {
  width: 120px;
  margin-top: 15px;
  margin-right: 10px;
  margin-bottom: 10px;
  float: left;
}

div.itemtitle {
  cursor: pointer;
}

div.itemtitle h5 {
  padding-top: 15px;
  margin-top: 0px;
}

div.item-summary {
  margin-bottom: 5px;
  overflow: hidden;
  position: relative;
}

a.upvote {
  background-color: #F5F5F5;
}

a.downvote {
  background-color: #F5F5F5;
}

a.readinglist {
  background-color: #F5F5F5;
}

span.newstag {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 8px;
  padding: 2px 4px;
  margin-right: 5px;
  border-radius: 2px;
}

/* Conflict w bootstrap? */
.table, .table td, .table tr {
  border-color: #ff0000;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.btn-sm {
  padding: 5px 7px;
}

a.edit-image {
  z-index:2;
  position: absolute;
  top: 14px;
  left: 14px;
}

a.edit-image i {
  color: #fff;
}

div.edit-image-bg {
  z-index: 1;
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 1-0px;
  border-radius: 10px;
  background: #000;
  opacity: 0.75;
}

.topmenu {
  padding: 0px;
  position:fixed;
  z-index: 1000;
  top: 0px;
  height: 50px;
  background-color:#212121;
  margin: 0px;
}

.col-sidemenu {
  padding: 0px;
}

.sidemenu {
  padding: 0px;
  padding-top: 4px;
  /* background-color: #424242; */
  background-color: #FAFAFA;
  border-right: 1px solid #E0E0E0;
  position: fixed;
  height:100%;
  z-index: 999;
}

.sidemenu ul li a {
  color: #000;
  padding-left: 16px;
}

.sidemenu ul li a i.mdi {
  position: relative;
  top: -2px;
  color: #666;
  margin-right: 12px;
}

.sidemenu ul li a i.spacing {
  width: 30px;
  display: inline-block;
}

.sidemenu ul li a:hover {
  background-color: #E0E0E0;
}

.sidemenu hr {
  padding: 0px;
  margin: 0px;
  border-color: #E0E0E0;
}

#sidemenu-toggle {
  cursor: pointer;
}

.darkoverlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.3;
  z-index: 500;
  left: 0px;
  top: 0px;
}

.bubbleblock {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 32765;
  left: 0px;
  top: 0px;
}

.ftue-invitation {
  position: fixed;
  width: 250px;
  z-index: 1001;
  left: 20px;
  bottom: 90px;
  background-color: #0097A7;
  color: #fff;
  border-radius: 5px;
  padding: 16px;
  box-shadow: 0px 1px 4px rgba(0,0,0,0.5);
  display: none;
}

.betabubble {
  position: relative;
  z-index: 1000;
  width: 310px;
  top: -24px;
  left: 15px;
  border-radius: 2px;
  padding: 1px 0px;
  color: #00BCD4;
  font-size: 10px;
  text-align: center;
  display: none;
}

.betabubble-sml {
  position: fixed;
  z-index: 1001;
  width: 33px;
  margin-left: 68px;
  top: 19px;
  left: 50%;
  border-radius: 2px;
  padding: 0px 0px;
  color: #00BCD4;
  font-size: 10px;
  text-align: center;
  display: none;
}

.cookie-consent {
  width: 100%;
  padding: 10px;
  position:fixed;
  z-index: 32765;
  bottom: 0px;
  background-color: #333;
  color: #fff;
}

.contentarea {
  padding: 0px;
}

.collapsable-item {
  display:block;
  overflow:hidden;
  font-size: 13px;
  word-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
}

.collapsable-item-link {
  font-size: 11.9px;
}

span.spacing {
  width: 50px;
  display: inline-block;
}

/* Styles for XS */
@media (max-width:767px) {
  .col-sidemenu {
    width: 256px;
  }

  .sidemenu {

    left: -100%;
  }
  .sidemenu-visible {
    left: 0%;
  }
}

/* Fixes container sizing for different sizes */
@media (min-width: 0px) and (max-width: 992px) {
  .container {
    width: inherit;
  }
}
.container {
  max-width: 970px;
}

/* Custom fonts/icons */
@font-face {
    font-family: 'newsvoice';
    src:    url('/fonts/newsvoice.eot?tr87se');
    src:    url('/fonts/newsvoice.eot?tr87se#iefix') format('embedded-opentype'),
        url('/fonts/newsvoice.ttf?tr87se') format('truetype'),
        url('/fonts/newsvoice.woff?tr87se') format('woff'),
        url('/fonts/newsvoice.svg?tr87se#newsvoice') format('svg');
    font-weight: normal;
    font-style: normal;
}

i.nvi {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'newsvoice' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    font-size: 18px;
    vertical-align: middle;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nvi-comment:before {
    content: "\e900";
}
.nvi-comment-outline:before {
    content: "\e901";
}
.nvi-comment-text-outline:before {
    content: "\e902";
}
.nvi-bookmark-check:before {
    content: "\e903";
}
.nvi-bookmark:before {
    content: "\e904";
}
.nvi-bookmark-outline:before {
    content: "\e905";
}
.nvi-chevron-down-bold:before {
    content: "\e906";
}
.nvi-chevron-up-bold:before {
    content: "\e907";
}
.nvi-megaphone:before {
    content: "\e908";
}
.nvi-pencil:before {
    content: "\e909";
}
.nvi-share:before {
    content: "\e90a";
}

/* MDI */
i.mdi::before,
span.mdi::before,
button.mdi::before {
    font-size: 24px;
    line-height: 13px;
}
.btn.mdi::before,
.btn .mdi::before {
    position: relative;
    top: 4px;
}
.btn-xs.mdi::before,
.btn-xs .mdi::before {
    font-size: 18px;
    top: 3px;
}
.btn-sm.mdi::before,
.btn-sm .mdi::before {
    font-size: 18px;
    top: 3px;
}
.dropdown-menu .mdi {
    width: 18px;
}
.dropdown-menu .mdi::before {
    position: relative;
    top: 4px;
    left: -8px;
}
.nav .mdi::before {
    position: relative;
    top: 4px;
}
.navbar .navbar-toggle .mdi::before {
    position: relative;
    top: 4px;
    color: #FFF;
}
.breadcrumb .mdi::before {
    position: relative;
    top: 4px;
}
.breadcrumb a:hover {
    text-decoration: none;
}
.breadcrumb a:hover span {
    text-decoration: underline;
}
.alert .mdi::before {
    position: relative;
    top: 4px;
    margin-right: 2px;
}
.input-group-addon .mdi::before {
    position: relative;
    top: 3px;
}
.navbar-brand .mdi::before {
    position: relative;
    top: 2px;
    margin-right: 2px;
}
.list-group-item .mdi::before {
    position: relative;
    top: 3px;
    left: -3px
}

/* Spinning icon */
.icon-spin {
  display:inline-block;
  -webkit-animation: icon-spin 2s infinite linear;
  animation: icon-spin 2s infinite linear;
}
.fa-pulse {
  -webkit-animation: icon-spin 1s infinite steps(8);
  animation: icon-spin 1s infinite steps(8);
}
@-webkit-keyframes icon-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes icon-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

/* Pulsating text */
.pulsating-red {
	-webkit-animation: color_change 1s infinite alternate;
	animation: color_change 1s infinite alternate;
}

@-webkit-keyframes color_change {
	from { color: #666; }
	to { color: #900; }
}
@keyframes color_change {
	from { color: #666; }
	to { color: #900; }
}

.fadeout-overlay {
  position: absolute;
  right: 0px;
  bottom: 0px;
  height: 20px;
  width: 100px;
  z-index:+1;
  background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);
  background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 100%);
  background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 100%);
}

.cyangradient {
  background: #0096aa;
  background: -moz-linear-gradient(top, #0096aa 0%, #35d2e6 100%);
  background: -webkit-linear-gradient(top, #0096aa 0%,#35d2e6 100%);
  background: linear-gradient(to bottom, #0096aa 0%,#35d2e6 100%);
}

.btn-primary {
  background: #0096aa;
  background: -moz-linear-gradient(top, #35d2e6 0%, #0096aa 100%);
  background: -webkit-linear-gradient(top, #35d2e6 0%,#0096aa 100%);
  background: linear-gradient(to bottom, #35d2e6 0%,#0096aa 100%);
  border-color: #003e46;
}

.btn-primary:hover {
  background: #003e46;
  border-color: #003e46;
}
