body {
  background: #f8f9fa !important;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

section.allnews {
    padding-top: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.containernews {
    max-width: 800px;
    width: 70%;
    display: inline-block;
}

.newscard {
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 6px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 4px;
}

h1,h2 {
  padding-left: 10px;
}

.articleimage {
    display: inline-block;
    width: 100px;
    float: left;
    margin-right: 10px;

}

a.newsheadline {
   font-size: 18px;
   line-height: 24px;
   text-decoration: none;
   color: #222;
   font-weight: 500;
}

div.sourcedate {
  color: #616161;
  padding: 8px 6px 0px 0px;
  font-size: 14px;
}

h1, h2 {
  font-size: 24px !important;
  padding: 0px !important;
}

h1, h2 {
  color: #199a5c;
}

.tagnav {
    margin: 10px 0px;
    margin-bottom: 10px;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
}

.sidebar {
    width: 25%;
    display: inline-block;
    vertical-align: top;
    margin-left: 3%;
}

a.catlink {
    display: block;
    padding: 8px 16px;
    background: #eee;
    border-radius: 8px;
    margin-bottom: 4px;
    color: #199a5c;
    text-decoration: none;
}


a.taglink {
    background: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 1px 4px;
    margin-right: 8px;
    white-space: nowrap;
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent; /* make scrollbar transparent */
}

div.container {
  max-width: 1200px !important;
  padding: 0px;
}

img.siteicon {
  background: #eee;
  padding: 4px;
  border-radius: 22px;
}

.pt-5 {
  padding-top: none !important;
}

.vote {
  display: inline-block !important;
}

p.inforow {
  padding: 0px;
  margin: 0px;
}

img.newsimage {
  height: 95px;
  border-radius: 4px;
}

.voterow {
  padding-top: 6px;
}

button.btn.btn-link.text-success, button.btn.btn-link.text-danger {
  padding: 0px;
}

.vote.vote-like, .vote.vote-dislike {
    background: #eee;
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 11px;
}

nav.navbar.navbar-expand-lg.navbar-dark.bg-dark.fixed-top {
  background: #189a5c !important;
  position: relative !important;
}


* {
  box-sizing: border-box;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background: #e5e5e5;
}
.input {
  position: absolute;
  opacity: 0;
}
.label {
  width: 100%;
  padding: 12px 18px;
  background: #e5e5e5;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  color: #212529;
  transition: background 0.1s, color 0.1s;
}
.label:hover {
  background: #d8d8d8;
}
.label:active {
  background: #ccc;
}
.input:focus + .label {
  z-index: 1;
}
.input:checked + .label {
  background: #199a5c;
    color: #fff;
}

@media (min-width: 100px) {
  .label {
    width: auto;
  }
}

.panel {
  display: none;
  padding-top: 10px;
  background: #f8f9fa;
  width: 100%;
}

@media (min-width: 100px) {
  .panel {
    order: 99;
  }
}

.input:checked + .label + .panel {
  display: block;
}



@media (max-width: 768px) {
.newscard {
margin-bottom: 10px !important;
max-width: 100% !important;
padding: 6px 8px;
margin: 0 auto;
}

.containernews {
  width: 100%;
  display: block;
}

.sidebar {
  padding-top: 50px;
  width: 100%;
  display: block;
  margin: 0px;
}

section.allnews {
  width: 96%;
}

img.newsimage {
  width: 80px;
  height: 80px;
}

.articleimage {
  width: 80px;
}

h2 {
  padding-left: 8px !important;
}

}

@media (min-width: 992px) {
    .col-lg-6 {
        flex: 0 0 auto;
        width: 100% !important;
    }
}
