/*
Theme Name: BW
Theme URI: ? http://wordpress.org/themes/bw ?
Author: Hadi
Author URI: http://www.sukamampir.com/
Tags: black,white,dark,light,two-columns,custom-background,custom-header,sticky-post,custom-menu
Description: Simple WordPress theme with black and white color. Background color and header image can be changed. Support gallery post format, so you can display your beautiful pictures as gallery.
Version: 0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 1px solid gray;
}
.entry-content th {
	background-color:white;
	color:black;
	text-align:center;
}
html {
	font-size: 62.5%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
body {
	background: #00ff00;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section {
	display: block;
	over-flow:auto;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
}
blockquote, q {
	background: url(images/quote.jpg) no-repeat;font-style: italic;
	padding:0px 5px 5px 20px;color:#ddd;
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active {
	outline: 0;
}
a img {
	border: 0;
}
pre, code p {white-space: pre-wrap;
word-wrap: break-word;}


/* =Global
----------------------------------------------- */

body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
}
hr {
	background-color: #cccccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #666;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
img {
	height: auto;
	max-width: 100%;
}
img.attachment-post-thumbnail {
	margin:5px 0 5px 5px;
	border:1px solid gray;
	border-radius:5px 0 0 0;
}
button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0;
	vertical-align: baseline;
	*vertical-align: middle;
}
button,
input {
	line-height: normal;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #cccccc;
	border-color: #cccccc #cccccc #bbbbbb #cccccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer;
	-webkit-appearance: button;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #cccccc #bbbbbb #aaaaaa #bbbbbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaaaaa #bbbbbb #bbbbbb #bbbbbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}
input[type="search"] {
	-webkit-appearance: textfield;
	-webkit-box-sizing: content-box;
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { 
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
	color: #666666;
	border: 1px solid #cccccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111111;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto;
	padding-left: 3px;
	vertical-align: top;
	width: 98%;
}

/* Links */
a {
	color: #eeee33;text-decoration:none;
}
a:visited {
	color: #eeee33;text-decoration:none;
}
a:hover,
a:focus,
a:active {
	color: #ffffff;text-decoration:underline;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Clearing */
.clear:before,
.clear:after,
[class*="content"]:before,
[class*="content"]:after,
[class*="site"]:before,
[class*="site"]:after {
	content: '';
	display: table;
}

.clear:after,
[class*="content"]:after,
[class*="site"]:after {
	clear: both;
}

body {
	width:1100px;
	margin:10px auto;
/*	background:url(images/blackground.jpg) center left repeat fixed; */
}
#main {
	margin:10px auto;
}
#primary {
	float:left;
	width:69%;
	color:#fff;
}
#secondary {
	float:right;
	width:30%;
}
#show {
	float:none;width:100%;
}
#show .entry-meta,
#show .entry-content,
#show .entry-footer  {
	color: #ddd;
}

article {
	background-color:#222222;
	padding-bottom:10px;
	-moz- hyphens: auto;
	hyphens: auto;
	overflow:auto;
}
.site-branding {
	width:90%;
	margin:0 auto;
	text-shadow:2px 2px #000;
}
.site-title a {
	font-size:36px;
	text-decoration:none;
	text-transform:uppercase;
}
.site-title a:hover {
	color:#f00;
	text-shadow:2px 2px #666;
}
.site-description {
	font-size:24px;
	line-height:120%;
	text-shadow:2px 2px #000;
	padding-bottom:5px;
}
.site-title a, .site-description {
	font-family:Lucida Sans Unicode;
}
.site-footer {
	background-color: #000000;text-align: center;color: #aaaaaa;
}

/* =Menu
----------------------------------------------- */

.main-navigation {
	clear: both;
	display: block;
	float: left;
	background-color:black;padding:10px 20px;
	border:5px solid #ffffff;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	float: left;
	position: relative;
}
.main-navigation a {
	display: block;
	text-decoration: none;
	color:#ffffff;
	margin:2px 10px;padding:5px;
}
.main-navigation a:hover {
	background-color:#ffffff;
	color:black;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	position: absolute;
		top: 2.3em;
		left: 0;
	z-index: 99999;
	color:#ffffff;
	background-color:#000000;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul li:hover > ul {
	display: block;
}

/* Small menu */
.menu-toggle {
	display: none;
	cursor: pointer;
}

@media screen and (max-width: 600px) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}
}


/* =Content
----------------------------------------------- */

.sticky {
}
h3.sticky {
	background-color: #f00;
	float:right;
	padding:3px;
	margin-right:10px;
	border-radius:20px;
	font-weight:bold;
}
h2.post-type {
	background: url(images/black.jpg) center left repeat;
	padding:10px;
	color:#fff;	
	font-size:20px;
}

article.format-link .entry-content a {
	color:#cccccc;
	font-family:"Times New Roman",Georgia,Serif;
	font-size:24px;
}
.hentry {
	margin: 0 0 1.5em;
	border-radius: 10px 10px 0 0;
}
.byline,
.updated {
	display: none;
}

.entry-title {
	background: url(images/black.jpg) center left repeat;
	padding:10px;
	color:#ffffff;
	border-radius:10px 10px 0 0;
}
.entry-title:hover {
	background: url(images/white.jpg) center left repeat;
	padding:10px;
	color:#000000;
}
.entry-title {
	font-size:175%;
	font-family:Palatino Linotype;
	font-weight:bold;
}
.entry-title a{
	display:block;
	color:#eeeeee;
	text-decoration:none;
}
.entry-title a:hover{
	color:#222222;
	text-decoration:none;
}
.entry-content, .entry-summary {
	background-color:#000000;
	padding:10px;
}

.single .byline,
.group-blog .byline {
	display: inline;
}
h1.page-title {
	color:#ffff00;
	font-size:24px;
	text-shadow:2px 2px #000000;
}
.page-content,
.entry-content
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.entry-meta {
	padding:10px 0 10px 10px;
}

.error-404 {
	color:#ffffff;
	background-color:#000000;
	padding:5px;
}
.error-404 a {
	color: #0000ff;
}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}
aside, aside .wp-caption-text {
	background-color:#fff;
	color:#333 !important;
	padding:10px;
}
aside a, aside a:visited {
	color:#ff0000;
}
aside a:hover {
	color:#000000;
}

/* =Media
----------------------------------------------- */

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 2px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
	color:#ffffff;
}
.site-content .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
	text-decoration:italic;
	text-align:center;
	margin:0;
}
.site-content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}

.entry-attachment {
	text-align:center;
}
.note {
	width:120px;
	height:120px;
	background: url(images/hoverme.jpg) no-repeat;
	float:right;
}
p.note-text {
	font-size:18px;
	color: #f00;
	padding:20px 0;
	line-height:21px;
}
.entry-attachment img {
	width:100px;
	background:red;
	transition:width 2s, height 2s;
	-webkit-transition:width 2s, height 2s, -webkit-transform 2s; /* Safari */
}
.entry-attachment img:hover {
	width:100%;
}

#show .entry-attachment img:after {
	content: 'hover me,please' ;
	color:white;
	display:table;
	clear:both;
	background: url(images/hoverme.png);
}

/* .site-content .gallery dd */
.gallery-item {
	margin:1px;
	background-color:white;
	color:black;
}
.site-content .gallery-columns-4 .gallery-item {
	max-width:24%;
	font-size:95%;
}
.site-content .gallery-columns-5 .gallery-item {
	max-width:19%;
	font-size:90%;
}
.site-content .gallery-columns-6 .gallery-item {
	max-width:15.75%;
	font-size:87%;
}
.site-content .gallery-columns-7 .gallery-item {
	max-width:13.5%;
	font-size:82%;
}
.site-content .gallery-columns-8 .gallery-item {
	max-width:12%;
	font-size:75%;
}
.site-content .gallery-columns-9 .gallery-item {
	max-width:10.5%;
	font-size:70%;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

#gallery-1 .gallery-caption {
	margin:1px;
}


/* =Navigation
----------------------------------------------- */

.site-content [class*="navigation"] {
	margin: 0 0 1.5em;
	overflow: hidden;
}
[class*="navigation"] .nav-previous {
	float: left;
	background-color:black;
}
[class*="navigation"] .nav-next {
	float: right;
	background-color:black;
	text-align: right;
}
nav#image-navigation {
	margin:10px;
}
.next-image {
	float: right;
	width: 50%;
}
.navigation {
	background-color:black;
}

/* =Comments
----------------------------------------------- */

.comment-content a {
	word-wrap: normal;
}
.bypostauthor {
	padding: 10px 0 0 5px;
	margin-bottom: 10px;
}
.bypostauthor p {
	color:#aaf;
}
.comments-area {
	background-color:#333;
	color:white;
	padding:3px 5px;
}
.comments-title {
	color:white;
}
#respond {
	color:#ccc;
	padding: 0 0 1px 5px;
}
textarea#comment {
	width:90%;
	margin:5px auto;
}
.comment-body {
	color:#eee;
	background-color:#333;
	border-bottom: 1px solid #aaa;
}

/* =Widgets
----------------------------------------------- */

.widget {
	margin: 0 0 1.5em;
	overflow:auto;
}
.widget-title {
	background: url(images/white.jpg) center left repeat;
	padding:10px;
	border-radius:10px 10px 0 0;
	color:black;
}
.widget-title {
	font-size:160%;
	font-family:Palatino Linotype;
	font-weight:bold;
}
.widget select {
	max-width: 95%;
}
.widget .menu ul li, .widget .menu ul {
	display:inline;
	list-style:none;
}
.widget_search .search-submit {
	display: none;
}
table#wp-calendar td, table#wp-calendar th {
	border:1px solid #ccc;
	text-align:center;
}

/* =Infinite Scroll
----------------------------------------------- */

.infinite-scroll .paging-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

.infinity-end.neverending .site-footer {
	display: block;
}