@import "iransans.css";

body {
    background: #fcfcfc;
}

body, h1, h2, h3, h4, h5, h6 {
    font-family: IRANSans !important;
}

hr {
    border: 0;
    border-top: 1px solid #d3d3d3;
    margin: 50px 0;
}


h2 {
    margin-top: 55px
}

h3 {
    margin-top: 45px
}

.site__title {
    font-size: 1.4rem !important;
    display: block;
    margin-bottom: 30px;
}

.site__description {
    font-size: 1rem !important;
}

li p:last-child {
    margin: 0 0 25px !important;
}

li p {
    margin: 0 0 5px !important;
}

.post__meta br:first-child {
    display: none;
}

.img--headshot {
    height: 200px;
    width: 200px;
}


@media (min-width: 768px) {
    .layout-reverse .content {
        margin-left: 2rem;
        margin-right: 20rem;
    }
}

@media (min-width: 992px) {
    .layout-reverse .content {
        margin-left: 4rem;
        margin-right: 20rem;
    }

    .content {
        max-width: 55rem;
    }
}

.sidebar {
    background-color: #134B70;
}

.site__description {
    color: #ffffff;
}

/*
 * RTL support
 */
html[lang=fa-ir] {
    direction: rtl;
}

html[lang=fa-ir] h1 {
    font-size: 1.85rem;
}

html[lang=fa-ir] h2 {
    font-size: 1.4rem;
}

html[lang=fa-ir] h3 {
    font-size: 1.35rem;
}

html[lang=fa-ir] .layout-reverse .sidebar {
    direction: ltr;
}

html[lang=fa-ir] .project__summary,
html[lang=fa-ir] th {
    text-align: right;
}

html[lang=fa-ir] .content article header,
html[lang=fa-ir] .section__title {
    display: block;
    border-bottom: 1px solid #d3d3d3;
    padding-bottom: 20px;
}

html[lang=fa-ir] .section__title {
    font-size: 1.85rem;
    margin: 40px 0 50px;
    padding-bottom: 40px;
}

html[lang=fa-ir] table,
html[lang=fa-ir] table * {
    direction: ltr !important;
    text-align: left !important;
}
/*
 * end RTL support
 */
