﻿@font-face {
    font-family: 'IranianSerifWeb';
    src: url('Fonts/IranianSerifWeb.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TitrWeb';
    src: url('Fonts/TitrWeb.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

#PageWrapper {
    font-family: 'IranianSerifWeb';
    direction: rtl !important;
	font-size: 1.1875em;
	line-height: 1.76em;
    text-align: right;
}

#Content {
    float: right;
}

#Content h1, #Content h2,  #Content h3 {
    font-family: 'TitrWeb';
    font-size: 1.4em;
}

#Content h2 {
    font-size: 1.1em;
}

#Content h3 {
    font-size: .9em;
}


#Content p {
    direction: rtl !important;
}

#Content strong {
    font-weight: bold;
}

#Content ol, #Content ul {
    margin-right: 40px;
	margin-left: 0;
}

#Content li {
    padding-right: 0.3125em;
	padding-left: 0;
}

#Content pre{
    text-align: left;
}

blockquote {
    quotes:"\201C" "\201D";
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    margin-right: 80px;
    margin-left: 0px;
    font-style: normal;
    color: #666666;
}

blockquote:before, blockquote:after {
    font: bold 75px serif;
}
blockquote:before {
    content:open-quote;
    margin: -15px -55px 0 0;
}

#Aside {
    float: left;
}

#Aside .AboutMe {
    float: right;
}

#Aside .AboutMe p {
    float: right;
}

#Aside .GetInTouch {
    float: right;
}

#Aside .GetInTouch a {
    float: right;
    margin-left: 7px;
	margin-right: 0;
}

#Aside .GetInTouch .SwitchLanguage {
	width: 70px;
    height: 40px;
    background-position: 0 0;
}

/* Responsive Style ---> */

@media screen and (max-width: 960px) {
    #Aside {
        float: right;
    }
}

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

    #Aside .AboutMe a.Avatar {
        right: 0;
        left: auto;
    }
}

@media screen and (max-width: 500px) {
    #Aside .GetInTouch {
        float: none;
    }
}

/* <--- Responsive Style */

/* BlogPost ---> */
.BlogPostsList h2 span.PublishDate, .BlogPost h2.Title span.PublishDate {
    margin-left: 20px;
	margin-left: 0;
}

a.NextPage {
	float: left;
}

a.PreviousPage {
	float: right;
}
/* <--- BlogPost */



/* Comments ---> */

.Comments form textarea {
    font-family: 'IranianSerifWeb';
    direction: rtl;
}

.Comments form input[type=text] {
    font-family: 'IranianSerifWeb';
}

.Comments form .EmailWrapper input {
    direction: ltr;
}

.Comments form input[type=submit] {
    font-family: 'IranianSerifWeb';
}

/* <--- Comments */


/* Messages ---> */
.SuccessMessage {
    border-left: 0;
    border-right: 3px solid #257635;
}

.ErrorMessage {
    border-right: 3px solid #b54e35;
    border-left: 0;
}
/* <--- Messages */