@import url(http://fonts.googleapis.com/css?family=Open+Sans);
@import url(http://fonts.googleapis.com/css?family=Doppio+One);

img, embed, object{
	max-width: 100%;
}

body {
	margin: 0px;
	text-align: center;
	padding: 0px 20px 0px 20px;
	border-top: 4px solid #333;
}

body, div, a, input, select, button, textarea {
	font-family: 'Open Sans';
	font-size: 14px;
	color: #333333;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Doppio One";
	font-weight: bold;
}

code {
	font-weight: bold;
}

pre code {
	font-weight: normal;
}

a {
	text-decoration: none;
	color: #d40055;
	font-size: 100%;
}

a:hover {
	text-decoration: none;
}

img{
	border: 0px;
	box-shadow: 0 0px 5px #cccccc;
	border-radius: 5px;
    padding: 3px;
}

a img {
	border: 0px;
}

h1 {
	font-size: 30px;
	font-weight: normal;
}


#layout {
	width: 95%;
	margin: auto;
	text-align: left;
}

#heading {
	margin: 20px 0px 15px 0px;
	position: relative;
	padding: 0px 0px 15px 0px;
	border-bottom: 1px solid #eee;
}

#logo {
	float: left;
	font-size: 40px;
}

#logo a {
    font-size: 40px;
    color: #000000;
    text-decoration: none;
    font-family: "Doppio One";
}

#logo #logo_docs {
	color: #d40055;
}

#links {
	float: right;
	margin: 20px 0 0 0;
	color: #eee;
}

#links img {

	box-shadow: 0 0px 0px #cccccc;
	border-radius: 0px;
    padding: 0px;
    margin-bottom: 10px;
}

#content {
	margin: 20px 0px 0px;
}

#footer {
	margin: 30px 0px 0px 0px;
	padding: 10px 0px 10px 0px;
	border-top: 1px solid #dddddd;
	text-align: center;
	font-size: 13px;
}

#posts ul {
	list-style:none; 
	margin: auto;
	padding: 0px;
}

#posts ul li {
	margin: 0px 20px 20px 0px;
	width: 250px;
	float: left;
	border-radius: 3px;
    padding: 10px;
    border: 1px solid #eee;
}

#posts ul li img {
	width: 95%;
}

.post-title {
	margin: 0px 0px 8px 0px;
	line-height: 20px;
	font-size: 20px;
}

.post-image{
	width: 250px;
	box-shadow: 0 0px 0px #cccccc;
	border-radius: 0px;
    margin: 10px 0px 10px 0px;
}

.post-date {
	font-size: 11px;
	color: #666;
}

.post-content {
	margin-top: 10px;
	font-size: 13px;
}

#side-bar {
	width: 20%;
	float: left;
	margin: 30px 0px 0px 0px;
}

#side-bar #user-name{
	font-size: 12px;
	margin: 5px 0px 0px 0px;
}

#side-bar #tags {

	margin: 20px 0px 0px 0px;
}

#side-bar #date {
	font-size: 11px;
}

#page-title {
	margin-top: 0px;
	padding-top: 0px;
	font-size: 30px;
}

#page {
	margin-top: 20px;
	width: 75%;
	float: left;
	padding-left: 3%;
	border-left: 1px dashed #ddd;
	font-size: 1.15em;
	overflow: hidden;
}

.tag {
	font-size: 12px;
    padding: 2px 6px 2px 6px;
    color: white;
    line-height: 24px;
}

blockquote{

	font-family: monospace;
	font-size: 16px;
	/*font-style: italic;*/
	border-left: 4px solid #ddd;
	padding-left: 20px;
}

.nodejs { background-color: #008080}
.php { background-color: #aa00d4}
.js { background-color: #2d5016}
.jekyll { background-color: #aa0088}
.marketing { background-color: #bb0066}
.github { background-color: #8b4513}
.websocket { background-color: #440055 }


/****** Media Queries For Adaptive Layouts******/

@media only screen and (min-width: 1367) {

	#posts ul li {
		width: 220px;
	}
}

@media only screen and (max-width: 1366) {

	#posts ul li {
		width: 273px;
	}
}

/* Tables - Landscape */
@media only screen and (max-width: 1280) {

	#posts ul li {
		width: 252px;
	}

}

/* Tables - Landscape */
@media 
only screen and (max-device-width:1024px),
only screen and (max-width: 1024px) {

	#posts ul li {
		width: 265px;
	}

}

/* Tables - Verticle */
@media 
only screen and (max-device-width:768px),
only screen and (max-width: 768px) {

	#posts ul li {
		width: 300px;
	}
}

/* Smart Phone */
@media 
only screen and (max-device-width:600px),
only screen and (max-width: 600px) {

	#logo, #links {
		float: none;
		text-align: center;
	}

	#links {
		margin: 0 0 0 0;
	}

	#posts ul li {
		width: 95%;
	}

	#side-bar {
		display: none;
	}

	#page {
		border-left: 0px;
		width: 100%;
		margin: 0 0 0 0 ;
		padding: 0 0 0 0 ;
	}

	#page img {
		width: 100%;
	}
}
