/*
 * Globals
 */

@media (min-width: 48em) {
    html { font-size: 18px; }
}

body { font-family: Tahoma, Georgia, "Times New Roman", Times, serif; color: #555; direction: rtl; }

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 { font-family: Tahoma, "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; color: #333; }

h4 { font-size: 1.2rem; text-decoration: underline; padding-top: 10px; }

/*
 * Override Bootstrap's default container.
 */

.container { max-width: 60rem; text-align: right; }

.blog-post ul li, .blog-post ol li { padding-bottom: 1rem; }


/*
 * Masthead for nav
 */

.blog-masthead { margin-bottom: 3rem; background-color: #181d52; box-shadow: inset 0 -.1rem .25rem rgba(0,0,0,.1); }

/* Nav links */
.nav-link { position: relative; padding: 1rem; font-weight: 500; color: #cdddeb; }
    .nav-link:hover,
    .nav-link:focus { color: #fff; background-color: transparent; }

    /* Active state gets a caret at the bottom */
    .nav-link.active { color: #fff; }
        .nav-link.active::after { position: absolute; bottom: 0; left: 50%; width: 0; height: 0; margin-left: -.3rem; vertical-align: middle; content: ""; border-right: .3rem solid transparent; border-bottom: .3rem solid; border-left: .3rem solid transparent; }


/*
 * Blog name and description
 */

.blog-header { padding-bottom: 1.25rem; padding-top: 1.25rem; text-align: right; background-color: #181d52; color: white; height: 250px; }
.blog-title { margin-bottom: 0; font-size: 2rem; font-weight: 400; }
.blog-description { font-size: 1.1rem; color: #999; }

.blog-header-slogan { width: 100%; text-align: center; }
.blog-header-left { text-align: left; }
.blog-header-center { text-align: center; }
.blog-header-right { text-align: right; }
    .blog-header-left img, .blog-header-center img, .blog-header-right img { height: 150px; }

@media (max-width: 767px) {
    .blog-header { height: 100%; }
    .blog-header-left { text-align: center; }
    .blog-header-center { text-align: center; }
    .blog-header-right { text-align: center; }
        .blog-header-left img, .blog-header-center img, .blog-header-right img { height: 100px; }
}

/*
 * Main column and sidebar layout
 */

/* Sidebar modules for boxing content */
.sidebar-module { padding-top: 1rem; }
.sidebar-module-inset { padding: 1rem 1rem 1rem 0.5rem; background-color: #f5f5f5; border-radius: .25rem; margin-bottom:1.5rem;}
    .sidebar-module-inset p:last-child,
    .sidebar-module-inset ul:last-child,
    .sidebar-module-inset ol:last-child { margin-bottom: 0; }
    .sidebar-module-inset ul { padding-right: 1rem; }

/* Pagination */
.blog-pagination { margin-bottom: 4rem; }
    .blog-pagination > .btn { border-radius: 2rem; }


/*
 * Blog posts
 */

.blog-post { margin-bottom: 4rem; }
.blog-post-title { margin-bottom: 1rem; font-size: 1.5rem; }
.blog-post-meta { margin-bottom: 1.25rem; color: #999; }


/*
 * Footer
 */

.blog-footer { padding: 2.5rem 0; color: #999; text-align: center; background-color: #f9f9f9; border-top: .05rem solid #e5e5e5; }
    .blog-footer p:last-child { margin-bottom: 0; }


/*
 * Photos
 */
.photo { display: inline; float: left; width: 225px; height: 150px; margin-bottom: 25px; margin-right: 0px; overflow: hidden; }

    .photo img { vertical-align: middle; }
