/*
Theme Name: Bitbucket2012
Theme URI: http://blog.bitbucket.org
Description: Modern Look and Feel
Author: Atlassian
Author URI: http://www.atlassian.com/
Version: 1.0
Tags: minimalistic
*/

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

/* tables still need 'cellspacing="0"' in the markup */

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}

article, aside, figure, footer, header, hgroup, nav, section {
	display: block;
}

/* General Styles */

body {
	background: #f5f5f5;
	color: #404040;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*::selection, *::-moz-selection {
	background: rgba(61,119,180,0.85);
	color: #ffffff;
	text-shadow: 0 1px 0 rgba(0,0,0,0.5);
}

a {
	color: #3d77b4;
	text-decoration: none;
}

a:hover, a:focus {
	text-decoration: underline;
}

h1.entryTitle {
	border-bottom: 1px solid #dadada;
	padding-bottom: 16px;
}

h1 {
	font-size: 24px;
	font-weight: normal;
	margin-bottom: 16px;
}

h2 {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 9px;
}

h3 {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 9px;
}

h4{
	font-size: 14px;
	font-weight: bold;
}

p {
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 18px;
}

ul li, ol li {
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 12px;
	margin-left: 20px;
}

ol { 
	counter-reset: item ;
}
ol li { 
	display: block;
	margin-left: 0px;
 }
ol li:before {
	content: counter(item) ". ";
	counter-increment: item;
	font-weight: bold;
}

img.aligncenter {
	display: inline-block;
	margin: 0 auto !important;
}

.button {
	background-color: #3d77b4;
	background-image: -webkit-linear-gradient(top, rgb(70, 135, 206) 0%, rgb(48, 104, 162) 100%);
	background-image: -moz-linear-gradient(top, rgb(70, 135, 206) 0%, rgb(48, 104, 162) 100%);
	border-radius: 3px;
	border: 1px solid #1e4c7a;
	color: #ffffff;
	display: inline-block;
	height: 20px;
	line-height: 20px;
	padding: 4px 10px;
	text-align: center;
	text-shadow:rgb(32, 80, 129) 0px 1px 0px;
}

a.button:hover {
	background-image: -webkit-linear-gradient(top, rgb(48, 104, 162) 0%, rgb(70, 135, 206) 100%);
	background-image: -moz-linear-gradient(top, rgb(48, 104, 162) 0%, rgb(70, 135, 206) 100%);
	border: 1px solid #205080;
	text-decoration: none;
}

.clear {
	clear: both;
}

.arrow {
	font-family: arial;
}

/* Header */

header[role=banner] {
	background: #205081;
	border-bottom: 1px solid #28344a;
	height: 40px;
	margin-bottom: 50px;
}

header[role=banner] nav {
	margin: 0 auto;
	width: 960px;
}

header[role=banner] h1 {
	border-bottom: none;
	float: left;
	width: 119px;
}

header[role=banner] h1 a {
	background: transparent url(/wp-content/themes/bitbucket2012/images/bitbucketLogoSmall.png) scroll no-repeat center center;
	display: block;
	height: 40px;
	text-indent: -99999px;
}

header[role=banner] ul {
	float: right;
}

header[role=banner] ul li {
	float: left;
	font-size: 14px;
	line-height: 40px;
	list-style: none;
	margin-left: 0px;
}

header[role=banner] a {
	color: #ffffff;
	display: block;
	padding: 0 10px;
}

header[role=banner] a:hover {
	background: #3b73af;
	text-decoration: none;
}

header[role=banner] h1 a:hover {
	background: transparent url(/wp-content/themes/bitbucket2012/images/bitbucketLogoSmall.png) scroll no-repeat center center;
}

header[role=banner] a.button {
	background-color: #3d77b4;
	background-image: -webkit-linear-gradient(top, rgb(70, 135, 206) 0%, rgb(48, 104, 162) 100%);
	background-image: -moz-linear-gradient(top, rgb(70, 135, 206) 0%, rgb(48, 104, 162) 100%);
	border-radius: 3px;
	border: 1px solid #1e4c7a;
	color: #ffffff;
	display: inline-block;
	height: 20px;
	line-height: 20px;
	margin-left: 10px;
	padding: 4px 10px;
	text-align: center;
	text-shadow:rgb(32, 80, 129) 0px 1px 0px;
}

header[role=banner] a.button:hover {
	background-image: -webkit-linear-gradient(top, rgb(48, 104, 162) 0%, rgb(70, 135, 206) 100%);
	background-image: -moz-linear-gradient(top, rgb(48, 104, 162) 0%, rgb(70, 135, 206) 100%);
	border: 1px solid #205080;
	text-decoration: none;
}

/* Content Area */

#content {
	margin: 0 auto;
	width: 960px;
}

.entry-content {
	background: #ffffff;
	border: 1px solid #dadada;
	border-radius: 6px;
	float: left;
	margin-bottom: 50px;
	padding: 45px;
	padding-top: 35px;
	position: relative;
	width: 620px;
}

.entry-content iframe {
	max-width: 620px;
}

small.author {
	font-size: 11px;
	display: block;
	margin-bottom: 30px;
}

.contentFooter {
	border-top: 1px solid #dadada;
	padding-top: 12px;
}

.contentFooter p {
	font-size: 12px;
	margin-bottom: 9px;
	width: 310px;
}

/* Sidebar */

#sidebar {
	float: right;
	margin-left: 50px;
	width: 198px;
}

#sidebar .button {
	border: 1px solid #326ca6;
	font-size: 13px;
	padding-top: 2px;
	-moz-box-shadow: 0px 1px 1px #bbc7d3;
	-webkit-box-shadow: 0px 1px 1px #bbc7d3;
	box-shadow: 0px 1px 1px #bbc7d3;
}

/* remove once ace ads have correct styles */
#sidebar .ace-block .button {
	background-color: transparent;
	background-image: none;
	border: 1px solid #67ab49;
	border-radius: 4px;
	color: #67ab49;
	display: inline-block;
	font-family: Helvetica, sans-serif;
	font-size: 14px;
	font-weight: normal;
	height: 23px;
	line-height: 25px;
	letter-spacing: -0.3px;
	margin-top: 8px;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
	-webkit-box-shadow: none;
	box-shadow: none;
	text-shadow: none;
}

#sidebar .ace-block .button:hover {
	background-color: transparent;
	border: 1px solid #67ab49;
	color: #67ab49;
}

#sidebar .ace-block .headline-text {
	font-family: "Helvetica Neue", Helvetica, arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0;
}
/* end ace ad fix */

#sidebar li {
	list-style: none;
	margin-left: 0;
}

.twitter {
	background: url(/wp-content/themes/bitbucket2012/images/twitterIcon.png) no-repeat scroll 0 bottom;
	border-top: 1px solid #dadada;
	margin-top: 25px;
	padding-top: 18px;
	text-indent: 35px;
}

.rss {
	background: url(/wp-content/themes/bitbucket2012/images/rssIcon.png) no-repeat scroll 0 top;
	border-bottom: 1px solid #dadada;
	padding-bottom: 18px;
	text-indent: 35px;
}

.firewall {
	border-bottom: 1px solid #dadada;
	padding-bottom: 18px;
}

#sidebar .bannerAd {
	border-bottom: 1px solid #dadada;
	padding-top: 6px;
	padding-bottom: 6px;
	margin-bottom: 18px;
}

#searchsubmit {
	text-indent: -99999px;
	background: url(/wp-content/themes/bitbucket2012/images/searchButton.png) no-repeat scroll 0 0;
	border: 0px;
	width: 33px;
	height: 31px;
}

#search-inputs {
	margin-bottom: 24px;
}

#search-inputs input[type=text] {
	height: 28px;
	border: 1px solid #dadada;
	border-radius: 3px;
	position: relative;
	top: 1px;
	padding-left: 5px;
	font-size: 13px;
	width: 150px;
	-moz-box-shadow:    inset 0 1px 3px rgba(0,0,0,0.15);
	-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.15);
	box-shadow:         inset 0 1px 3px rgba(0,0,0,0.15);
}

#searchsubmit:hover {
	cursor: pointer;
	background-position: 0 -31px;
}

/* Previous/Next */

#nav-below {
	width: 710px;
	position: relative;
	top: -33px;
	padding-bottom: 23px;
}

.nav-next {
	float: right;
	font-size: 14px;
}

.nav-previous {
	float: left;
	font-size: 14px;
}

.singlePageNavBelow {
	margin: 0 auto;
	width: 960px;
}

.linkToArchive {
	border-top: 1px solid #dadada;
	margin-top: 18px;
	padding-top: 18px;
}

/* Archive */

.byMonth {
	float: left;
	width: 300px;
}

.bySubject {
	float: right;
	width: 300px;
}

/* Footer */

footer {
	background: url(/wp-content/themes/bitbucket2012/images/atlassianGreyLogo.png) no-repeat scroll center 46px;
	border-top: 1px solid #dadada;
	clear: both;
	margin: 0 auto;
	min-height: 360px;
	text-align: center;
	width: 960px;
}

footer li {
	display: inline-block;
	font-size: 14px;
	list-style: none;
	margin: 22px 0 0 12px;

}

footer li:first-child {
	margin-left: 0px;
}

footer li:after {
	content: '\2022';
	color: #707070;
	display: inline-block;
	font-size: 10px;
	margin-left: 14px;
}

footer li.last:after {
	content: '';
	margin-left: 0px;
}

footer li a {
	color: #707070;
}

#disqus_thread {
	margin-top: 60px;
}

/* Ads */

.global_ad {
	clear: both;
	margin-bottom: 20px;
	margin-top: 29px;
	padding-top: 34px;
	border-top: 1px solid #dadada;
	padding-left: 0px;
	padding-right: 0px;
	margin-left: 0px;
	margin-right: 0px;
	width: 620px;
}

.global_ad_text {
	background: #f5f5f5;
	border: 1px solid #dadada;
	border-radius: 7px;
	clear: both;
	color: #404040;
	font-size: 14px;
	height: 32px;
	line-height: 32px;
	text-align: center;
}

/*
.global_ad:nth-child(even) .global_ad_text {
	background: #f0f7fc;
	border: 1px solid #d9e7f3;
}
*/

.global_ad .global_ad_text a {
	position: relative;
	z-index: 3;
}

.global_ad:nth-child(even) .global_ad_text a {
	position: relative;
	z-index: 2;
}

.global_ad .global_ad_text a, .global_ad .global_ad_text a:hover {
	color: #404040;
	display: block;
	line-height: 32px;
	text-decoration: none;
}

.global_ad_arrow {
	color: #7CA60A;
	font-family: Arial;
}

/* Social Sharing */
.social-sharing {
	padding-top: 20px;
	padding-bottom: 20px;
	border-top: 1px solid #dadada;	
}

.social-sharing:after {
	content: '';
	display: block;
	clear: both;
}

.social-sharing .social-code {
	float: left;
	height: 20px;
	margin-left: 0;
	margin-right: 12px;
	margin-bottom: 0;
	width: 20px;
	list-style: none;
}

.social-sharing .social-code a {
	display: block;
	text-indent: -99999px;
}

.social-sharing .facebook {
	background: url(/wp-content/themes/bitbucket2012/images/social-icons/facebook.svg) no-repeat scroll center center;
}

.social-sharing .twitter-code {
	background: url(/wp-content/themes/bitbucket2012/images/social-icons/twitter.svg) no-repeat scroll center center;
}

.social-sharing .google-plus {
	background: url(/wp-content/themes/bitbucket2012/images/social-icons/google-plus.png) no-repeat scroll center center;
	background-size: 20px 20px;
}

.social-sharing .linked-in {
	background: url(/wp-content/themes/bitbucket2012/images/social-icons/linked-in.svg) no-repeat scroll center center;
}


