body {
  background-image: url("/sites/all/themes/bootstrap_comic/background.png");
  /*Default background color if not defined by category*/
  background-color: #c9c9c9;
}

#banner {
  /* Set height to background image height */
  height: 163px;
  background: url("/sites/all/themes/bootstrap_comic/katraccoon-comics-banner-800w.png") no-repeat scroll center top transparent;
}

.main-container {
  background-color: #F5F5F5;
  padding: 15px;
  border-radius: 5px;
  max-width: 800px;
}

.node-comic > div {
  text-align: center;
}

.node-comic h1 {
  text-align: center;
}

body.node-type-comic .content {
  text-align: center;
}

body.front .content {
  text-align: center;
}

.comic-pagination {
  margin: 10px 0px;
}

.page-header {
  margin: 0px;
  padding: 9px 0px;
  text-align: center;
  border-bottom: none;
}

#disqus_thread {
	margin: 0px 10px;
}

.footer {
  border: none;
}

#banner-container  > a {
  display: block;
}

#rss-dropdown {
  text-align: right;
  float: right;
  margin-bottom: -50px;
  display: none;
}

#rss-dropdown div {
  background: transparent url(/modules/contextual/images/gear-select.png) no-repeat 2px 0;
  width: 28px;
  height: 16px;
}

#rss-dropdown div:hover{
  background-position: 2px -18px;
}

.pagination > li > a {
  margin: 0px 10px;
  border-radius: 4px;
  width: 40px;
}

#comments {
  padding: 10px 0px;
}

.social-links {
  //margin: 10px auto;
}

.field-name-field-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  padding: 10px;
  margin-left: auto;
  margin-right: auto;
}

ul.menu.nav.navbar-nav li a {
    padding-top: 10px;
}


@media only screen and (min-width:980px) {
  a.logo {
    display: none;
  }
  a.name {
    display: none;
  }
  header#navbar {
	  padding: 0px;
	  max-width: 800px;
	  margin-top: 0px;
	  margin-bottom: 0px;
	  border-radius: 0px;
	  border: none;
	  background-color: #499c35
  }
}

@media only screen and (max-width:980px){
  #banner-container{
    display: none;
  }
  a.logo {
    display: block;
  }
  a.name {
    display: block;
  }
  
  ul.menu.nav.navbar-nav li a {
    padding-top: 14px;
	height: 50px;
  }
  
  	.social-top
	{
		position: relative !important;
	}
	.view-comic-index .views-field-title
	{
		display:none;
	}
}

@media (min-width: 768px)
{
	.container {
		width: 800px;
	}
}

.comic-body {
	text-align: center;
	width: 100%;
}

.navbar {
	margin-bottom: 0px;
}

.navbar-inverse .navbar-nav>li>a {
    color: #ffffff;
}

.navbar-nav>li>a {
	padding-top: 3px;
	padding-bottom: 12px;
}

.navbar {
    position: relative;
    min-height: 30px;
}

.navbar-inverse {
    background-color: #499c35;
}

.navbar-inverse .navbar-brand {
    color: #ffffff;
}

.navbar-inverse .navbar-nav>.active>a {
	background-color: #82D46E;
}

.navbar-inverse .navbar-nav>.active>a:hover {
	background-color: #82D46E;
}

.dropdown:hover .dropdown-menu {
	display: block;
}

.dropdown-menu>.active>a{
	background-color:white;
	color: black;
  }
.dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {
	color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}
  

.not-logged-in .social-top
{
	//display: none;
}

.social-top
{
	height: 35px;
	position: absolute;
	right: 0px;
	top: 0px;
	margin: 10px;
}

.social-top img
{
	height: 35px;
}

.social-top .btn
{
	height: 35px;
	font-size: large;
}

.social-top h3
{
	float: left;
	width: 100px;
	color: black;
	margin: 10px 0px;
	height: 35px;
}

.social-top .btn-default:hover
{
	color: #333;
	background-color: #fff;
	border-color: #ccc;
}

.view-comic-index .views-field-title
{
	position: relative;
	bottom: 1em;
	height: 4em;
	background-color: rgba(73, 159, 53, .6);
	text-align: center;
}

.view-comic-index .views-field-title a
{
	color: white;
	text-shadow: 1px 1px 2px black;
}

.view-comic-index .views-field-title a:hover
{
	color: white;
	text-decoration: none;
}

.view-comic-index .img-responsive 
{
	height: 191px;
	width: auto;
	margin: auto;
	
}

.view-comic-index .views-field-field-image .field-content {
	height: 150px;
}

.comic-date
{
	padding-top: 1em;
	color: #999
}

#footer-promo {
	text-align : center;
	margin: 15px 0px;
}

#footer-promo div
{
	margin-bottom: 1em;
}

.machine-id
{
	float: right;
	color: gray;
	font-size: x-small;
	height: 0px;
	display: block;
}

.logged-in .machine-id
{
	display:block;
}

.logo img {
	width:32px;
	height:32px;
}

.view-comic-index {
	padding-top: 1em;
}

.view-comic-index .views-field-title {
	display: grid;
}

.view-comic-index .views-field-title .field-content {
	margin: auto;
}

@media (min-width: 768px)
{
	nav[role="navigation"] ul.secondary li {
	    background-size: 32px;
	    background-repeat: no-repeat;
	    font-size: 0px;
	    width: 42px;
	    background-position-x: 5px;
	    background-position-y: 5px;
	}

	nav[role="navigation"] ul.secondary li:nth-child(1) {
		background-image: url(https://s3.amazonaws.com/patreon_public_assets/toolbox/patreon_logo.png);
	}

        nav[role="navigation"] ul.secondary li:nth-child(2) {
                background-image: url(https://webtoons-static.pstatic.net/image/pc/sp_ico_v10.png?dt=2018062902);
                background-repeat: no-repeat;
                background-size: 256px;
		transform: translateX(-3px);
        }
	nav[role="navigation"] ul.secondary li:nth-child(3) {
	    background-image: url("https://instagram-brand.com/wp-content/uploads/2016/11/app-icon2.png");
	}
}

@media only screen and (min-width:980px)
{
	nav[role="navigation"] ul.secondary li:nth-child(2) {
	 	background-image: url(https://webtoons-static.pstatic.net/image/pc/sp_ico_v10.png?dt=2018062902);
		background-repeat: no-repeat;
		background-size: 220px;
		transform: translateX(-3px);
	}
}

.navbar-nav.secondary
{
	float: right;
}
