﻿/* CSS reset code Start ---> */ 
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

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

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

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

hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
    margin: 0;
}

/* <--- CSS reset code Finish */ 

body {
}

#PageWrapper {
    font-family: Helvetica;
    font-size: 1em;
	line-height: 1.5em;
    text-align: left;
    max-width: 1000px;
    margin: 20px auto 5px auto;
    padding: 30px 40px 10px 40px;
}

#Header {
    height: 60px;
    *height: 80px;
    display: none;
}

#Header a.Logo {
    display: block;
	float: left;
    width: 188px;
    height: 35px;
    background: url(Images/ArashMilaniLogo.png) no-repeat;
    text-indent: -999px;
    overflow: hidden;
    margin: 12px 0 0 0;
	outline: none;
}

#ContentWrapper {
    overflow: hidden;
    background-color: #fff;
    padding: 0 0 5px 0;
}

#Content {
    float: left;
    max-width: 750px;
    width: 65%;
    margin: 0 auto;
    overflow: hidden;
    color: #424242;
}

#Content p {
    margin-bottom: 30px;
}

#Content a {
    text-decoration: none;
	color: #2595d0;
}

#Content a:hover {
    color: #62b1da;
	border-bottom:1px solid #62b1da;
}

#Content h1 {
    font-size: 1.7em;
    margin-bottom: 0.95em;
    line-height: 1.4em;
}

#Content h2 {
    font-size: 1.4em;
    margin-top: 1.4em;
    margin-bottom: 0.5em;
    line-height: 1.4em;
}

#Content h2 a {
	color:#424242;
}

#Content ol, #Content ul {
    margin-left: 2.5em;
 	margin-bottom: 1.875em;
}

#Content li {
    padding-left: 0.3125em;
    margin-bottom: .3em;
}

#Content img {
    width: 100%;
    margin-bottom: .7em;
}

#Content pre {
	direction: ltr;
	margin-bottom: 30px;
	font-family: Consolas,monospace;
	font-size: 12px;
	line-height: 20px;
	background-color: #2e3436;
	color:#d3d7cf;
	padding: 10px;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
	border-radius: 5px;
}

blockquote {
    quotes:"\201C" "\201D";
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    margin-left: 80px;
    font-style: italic;
}

blockquote:before, blockquote:after {
    font: bold 75px serif;
    color:#adadad;
    position:absolute;
}

blockquote:before {
    content:open-quote;
    margin: -15px 0 0 -55px;
}

#Aside {
    width: 25%;
    min-width: 250px;
    margin: 0 auto;
    overflow: hidden;
    float: right;
}

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

#Aside p a:hover {
    color: #62b1da;
    border-bottom:1px solid #62b1da;
}

#Aside .AboutMe {
    float: left;}

blockquote, q {
    quotes:none;
}
}

#Aside .AboutMe p {
    float: left;
}

#Aside .AboutMe a.Avatar {
    text-decoration: none;
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto 1em auto;
	border:4px solid #c8c8c8;
	border-radius: 50%;
    background-image: url(Images/ArashMilani.jpeg);
    overflow: hidden;
    text-indent: -9999px;
}

#Aside .GetInTouch {
    float: left;
    overflow: hidden;
    margin-top: 1em;
    margin-bottom: 1.5em;
}

#Aside .GetInTouch a {
    display: inline-block;
    width: 40px;
    height: 40px;
    overflow: hidden;
    text-indent: -999px;
    margin-right: 7px;
    margin-bottom: .5em;
}

#Aside .GetInTouch a:hover {
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    filter: alpha(opacity=60);
}

#Aside .GetInTouch .Facebook {
    background: url(Images/Facebook.png) no-repeat;
}

#Aside .GetInTouch .RSS {
    background: url(Images/RSS.png) no-repeat;
}

#Aside .GetInTouch .Twitter {
    background: url(Images/Twitter.png) no-repeat;
}

#Aside .GetInTouch .Github {
    background: url(Images/Github.png) no-repeat;
}

#Aside .GetInTouch .Stackoverflow {
    background: url(Images/Stackoverflow.png) no-repeat;
}

#Aside .GetInTouch .SwitchLanguage {
	background: url(Images/SwitchLanguage.png) no-repeat;
    width: 61px;
    height: 40px;
    background-position: -70px 0;
    border-radius: 10px;
}

#Aside .EmailSubscriptionTip {
    display: block;
    margin: 1.2em 0 1em 0;
    padding: .4em;
    border: 1px dashed #c4c4c4;
}

/* Responsive Style ---> */

@media screen and (max-width: 960px) {
    #Content {
        width: 100%;
        max-width: 100%;
    }

    #Aside {
        margin-top: 1.5em;
        width: 100%;
        float: left;
    }
}

@media screen and (min-width: 500px) and (max-width: 960px) {
    #Aside .AboutMe {
        position: relative;
        padding-left: 140px;
    }

    #Aside .AboutMe a.Avatar {
        position: absolute;
        left: 0;
        top: 5px;
    }
}

@media screen and (max-width: 500px) {
    #PageWrapper {
        padding: 20px;
        min-width: 280px;
    }

    #Aside .AboutMe p {
        text-align: center;
    }

    #Aside .GetInTouch {
        float: none;
        clear: both;
        margin: 0 auto;
        padding-top: 1em;
        width: 235px;
    }
}

/* <--- Responsive Style */

/* BlogPost Start ---> */

.BlogPostsList h2 span.PublishDate, .BlogPost h1.Title span.PublishDate {
    color: #aeaeae;
    background-color: #eeeeee;
    padding: 5px;
    font-size: .5em;
    border-radius: 5px;
    margin-left: 15px;
    cursor: default;
    display:none;
	vertical-align: middle;
}

.BlogPostsList h2 {
    margin-top: 0;
}

.BlogPostsList .Post {
	margin-bottom: 60px;
}

.BlogPostsList .Post:hover h2 a {
    color: #62b1da !important;
	border-bottom:1px solid #62b1da;
}

.BlogPostsList .Pagination a {
	margin-bottom: 20px;
	display: inline-block;
	font-size: 20px;
	border: 1px solid #2595D0;
	padding: 5px 10px;
}

a.NextPage {
	float: right;
}

a.PreviousPage {
	float: left;
}

/* <--- BlogPost END */


/* Comments ---> */

.Comments {
    margin-top: 3em;
}

.Comments h2 {
}

.Comments form {
    margin-bottom: 2em;
    display: block;
}

.Comments form .InputWrapper {
    margin-bottom: .4em;
}

.Comments form textarea {
    height: 8em;
    padding: .2em;
    width: 97%;
    max-width: 97%;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    font-size: 1em;

}

.Comments form label {
    display: block;
    font-size: .9em;
    margin-bottom: -.2em;
}

.Comments form span.tip {
    color: gray;
}

.Comments form input[type=text] {
    padding: .7em .3em;
    width: 97%;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    font-size: 1em;

}

.Comments form input[type=submit] {
    padding: .7em 1.5em;
    border: 0;
    border-bottom: 3px solid #d2c600;
    border-radius: 4px;
    background-color: #fff200;
    cursor: pointer;
    font-size: .9em;
    margin-top: .5em;
}

.Comments form input[type=submit]:hover {
    background-color: #fff99d;
}

.Comments .Comment {
    margin-bottom: 1.7em;
}

.Comments .Comment .Meta {
    font-weight: 1.2em;
    margin-bottom: .3em;
}

.Comments .Comment .Meta img.Avatar {
    width: 25px !important;
    height: 25px !important;
    margin: 0 !important;
    border-radius: 50%;
    vertical-align: middle;
}

.Comments .Comment .Meta .FullName{
    vertical-align: middle;
    margin: 0 .3em;
    display: inline-block;
}

.Comments .Comment .Meta .DateCreated{
    vertical-align: middle;
    color: #c9c9c9;
    font-size: .8em;
}

.Comments .CommentEmailHash_7de8239839a01a168b90272e9982697e {
    /*padding: .2em .4em .4em .4em;
    border: 1px dashed #c4c4c4;*/
}

/* <--- Comments */


/* Messages ---> */
.Message {
    padding: .7em;
    margin: 2em 0;
}

.SuccessMessage {
    background-color: #2c9a42;
    color: #fff;
    border-left: 3px solid #257635;
}

.ErrorMessage {
    background-color: #f46947;
    color: #fff;
    border-left: 3px solid #b54e35;
}

/* <--- Messages */