body {
	/* background-image: url('stylesheets/img/370fade.png'), url('stylesheets/img/futaba69.png') !important; */
	/* background-image: url('stylesheets/img/370fade.png'), url('stylesheets/img/futabavezys.png') !important; */
	background-image: url('stylesheets/img/370fade.png'), url('stylesheets/img/futaba69vezys.png') !important;
	background-repeat: repeat-x, repeat !important;
	background-attachment: scroll !important;
	background-position: top, 0 0 !important;
	font-size: 10pt;
	font-family: arial, helvetica, sans-serif;
}

header {
    margin-top: -18px;
}
header div.subtitle {
    color: black;
    margin-bottom: -3px;
}

.boardtitle {
    font-size: 14px;
    font-weight: bold;
    word-spacing: initial;
    height: 0;
    display: none;
    margin-top: -73px;
}
a[title="Apie viską"]:hover ~ #blenta, a[title="Internacionalus"]:hover ~ #intlenta, a[title="Anime ir Manga"]:hover ~ #alenta, a[title="Fotografija"]:hover ~ #folenta, a[title="Technologijos ir Žaidimai"]:hover ~ #glenta, a[title="Muzika"]:hover ~ #mulenta, a[title="Teptukas"]:hover ~ #tlenta {
    display: block;
}

img.banner, img.board_image {
	border: none;
	max-width: 100%;
}

nav.menu-bar {
	max-width: 700px;
	margin: 15px auto;
	text-align: center;
}

nav.menu-bar ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

nav.menu-bar li {
	display: inline-block;
	float: none;
	box-shadow: 1px 1px 2px #a24f17cc;
	border-top: 2px solid #E28F91;
	border-left: 2px solid #E28F91;
	border-bottom: 2px solid #800509;
	border-right: 2px solid #800509;
}

nav.menu-bar li div {
	border-top: 1px solid #800509;
	border-left: 1px solid #800509;
	border-bottom: 1px solid #E28F91;
	border-right: 1px solid #E28F91;
}

nav.menu-bar li:not(:first-child) {
  margin-left: 15px;
}
/* 
nav.menu-bar li:not(:last-child) {
  margin-right: 15px;
}
 */
nav.menu-bar li a i {
    font-size: 14px;
}
nav.menu-bar li a {
    background-color: #AF0A0F;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    display: block;
    padding: 3px 7px;
    border: 1px solid #800;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
	color: white;
    padding: 2px 3px;
	height: 15px;
    border: 1px outset #af0a0f;
	border-top: 1px solid #DA8E90;
	border-left: 1px solid #DA8E90;
	border-bottom: 1px solid #76070B;
	border-right: 1px solid #76070B;
}
nav.menu-bar li a:hover {
	text-shadow: 0px 0px 4px rgb(255, 255, 255), 1px 1px 1px rgba(0, 0, 0, 0.7);
	background-color: #bf070c;
	border: 1px outset #bf070c;
	border-top: 1px solid #E28F91;
	border-left: 1px solid #E28F91;
	border-bottom: 1px solid #800509;
	border-right: 1px solid #800509;
}
nav.menu-bar li.active a {
    color: #FFF;
    cursor: default;
    text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.7), 1px 1px 1px rgba(0, 0, 0, 0.7);
	background-color: #AF0A0F!important;
}

.columns {
	display: grid;
	width: 100%;
}

div.category > h3 {
	margin: 0;
	padding: 10px 20px;
	text-align: center;
}

div.category > ul {
	padding: 0 20px 20px 20px;
}

#boards ul,
#recent-content ul,
#stats ul {
	margin: 0;
}

#boards ul > li,
#recent-content ul > li,
#stats ul > li {
	list-style-type: none;
}

div.category > ul > li > a,
div.category > ul > li > a:visited {
	color: #28759C;
	text-decoration: none;
}

div.category > ul > li > a:hover,
div.category > ul > li > a:active {
	color: #28759C;
	font-weight: bold;
}

#stats .columns,
#recent-content ul {
	padding: 0;
}

#recent-content div:first-child ul {
    display: flex;
	height: 100%;
	align-items: center;
	flex-direction: column;
	justify-content: space-around;
}

#recent-content div:last-child ul {
	overflow: hidden;
	white-space: nowrap;
	width: auto;
	margin: 0 5px 0 4px;
}

#recent-content div:last-child ul li {
	overflow: hidden;
	text-overflow: ellipsis;
}

#stats .columns > li {
	text-align: center;
	padding: 10px 20px;
}

#stats .columns > li {
	text-align: center;
	padding: 10px 20px;
}

small#renewtime {
	font-size: 0.7em;
	float: right;
	font-weight: normal;
	margin-top: 3px;
}

#recent-content .columns > div {
	margin: 4px 4px 6px 4px;
	display: grid;
}
#recent-content .columns > div:last-of-type {
	margin: 4px auto 6px auto;
}

#recent-content div:first-child {
	text-align: center;
}

#recent-content img {
	float: none;
	margin: 0;
	display: inline-block;
}

#recent-content div:first-child li:not(:last-child) img {
	margin-bottom: 10px;
}

#recent-content div:last-child li {
	margin-bottom: 1px;
}


/* Columnize the content if it's on desktop */
@media only screen and (min-width: 700px) {
	#recent-content > .columns {
		grid-template-columns: 50% 50%;
	}

	#boards > .columns,
	#stats > .columns {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

#kitiformat * {
	display:inline;
}


div.banwrap {
    margin: 15px auto!important;
	box-shadow: 0px 0px 3px rgb(162, 79, 23);
	background: #fca;
	max-width: 700px;
	border: 1px outset #fca;
	border-top: 1px solid #FFEFE5;
	border-left: 1px solid #FFEFE5;
	border-bottom: 1px solid #8d715e;
	border-right: 1px solid #8d715e;
}

div.banwrap.alternate {
	background: #af0a0f;
	border: 1px outset #af0a0f;
	border-top: 1px solid #DA8E90;
	border-left: 1px solid #DA8E90;
	border-bottom: 1px solid #76070B;
	border-right: 1px solid #76070B;
}

div.ban {
    margin: 2px !important;
    box-shadow: inset 0px 0px 3px #4d4d4d7d;
    border: 1px inset #fca;
	border-top: 1px solid #8D715E;
	border-left: 1px solid #8D715E;
	border-bottom: 1px solid #FFEFE5;
	border-right: 1px solid #FFEFE5;
}

div.ban h2 {
	box-shadow: 0px 2px 2px -1px #8c8c8c7d;
	height: 20px;
	border: 1px outset #fca;
	border-top: 1px solid #FFEFE5;
	border-left: 1px solid #FFEFE5;
	border-bottom: 1px solid #8d715e;
	border-right: 1px solid #8d715e;
}
div.ban h2 ~ h2 {
	box-shadow: 0px 2px 2px -1px #8c8c8c7d, 0px -2px 2px -1px #8c8c8c4d;
}

div.ban.alternate {
	margin: 1px !important;
	border-top: 1px solid #76070B;
	border-left: 1px solid #76070B;
	border-bottom: 1px solid #DA8E90;
	border-right: 1px solid #DA8E90;
}
div.ban.alternate h2 {
	color: #FFF;
	background-color: #AF0A0F;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
	border: 1px outset #af0a0f;
	border-top: 1px solid #DA8E90;
	border-left: 1px solid #DA8E90;
	border-bottom: 1px solid #76070B;
	border-right: 1px solid #76070B;
}
div.ban.alternate h2 a {
	color: #FFF;
}
div.ban.alternate h2 a:hover {
    text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.7), 1px 1px 1px rgba(0, 0, 0, 0.7);
}

div#boards.ban a {
    color: maroon;
    text-decoration: none;
}
div#boards.ban a:hover {
    color: #d00;
}

@media screen and (max-device-width: 480px) {
	nav.menu-bar li:not(:first-child) {
		margin-left: 5px;
	}
	nav.menu-bar li:not(:last-child) {
		margin-right: 5px;
	}
	nav.menu-bar li a {
		font-size: 11px;
	}
	div#boards div p:first-child {
		word-spacing: 0px!important;
		font-size: 25px!important;
	}
	div#news h2 {
		font-size: 11px!important;
	}
	table * {
		font-size-adjust: 0.2;
	}
}

@media screen and (max-width: 674px) {
	div#boards div p:first-child {
		word-spacing: -1px!important;
	}
	div#news img {
		display: none;
	}
	div.ban.alternate h2 {
		height: initial;
	}
	.boardtitle {
		display: none!important;
	}
}