/*
Theme Name: Akrabat 3
Theme URI: https://akrabat.com
Author: Rob Allen
Author URI: https://www.akrabat.com
Description: Akrabat theme 3
Version: 3.0
Text Domain: akrabat3
*/

/*
 * Globals
 */

body {
    /*font-family: Georgia, "Times New Roman", Times, serif;*/
    font-family: 'PT Serif', Georgia, serif;
    color: #555;
    background-color: #FFF;
    font-size: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    margin-top: 0;
    /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
    font-family: "Lato", sans-serif;
    font-weight: 300;
    color: #333;
}

h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
    margin-top: 22px;
    margin-bottom: 12px;
    
}

ul {
    list-style-type: square;
}

a, a:visited, a:focus, .required {
    color: #AF38E6;
    text-decoration: none;
}

a:hover {
    color: #9116CA;
    text-decoration: none;
}

.meta a {
    color: #999;
}
.meta a:hover {
    color: #9116CA;
}

h1 a, .h1 a,
h2 a, .h2 a,
h3 a, .h3 a,
h4 a, .h4 a,
h5 a, .h5 a,
h6 a, .h6 a {
    color: #333;
}

.meta-segment {
    /*margin-left: 6px;*/
}

.meta-segment::before {
    content: "|";
}



.btn, button, input[type="submit"] {
    color: #AF38E6;
}

ul {
    padding-left: 20px;
}

tt {
    font-family: Inconsolata, InconsolataRegular, Menlo, 'Andale Mono', Courier, 'Courier New', monospace;
    color: #6a218c;
}

h2 tt {
	color: red;
}

p tt {
    font-size: 15px;
}

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

@media (min-width: 1200px) {
    .container {
        width: 970px;
    }
}


/*
 * Masthead for nav
 */

.blog-masthead {
    background-color: #9116CA /*#57B1CA*/ /*#428bca*/;
    -webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
    box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
    margin-bottom: 20px;
}

/* Nav links */
.blog-nav .menu-item a {
    position: relative;
    display: inline-block;
    padding: 10px;
    font-weight: 500;
    color: #F1D5FF /*#cdddeb*/;
}

ul.blog-nav > li:first-child a {
    padding-left: 0;
}

.blog-nav .menu-item a:hover,
.blog-nav .menu-item a:focus {
    color: #fff;
    text-decoration: none;
}

/* Active state gets a caret at the bottom */
.blog-nav .current-menu-item a {
    color: #fff;
}
.blog-nav .current-menu-item a:after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -5px;
    vertical-align: middle;
    content: " ";
    border-right: 5px solid transparent;
    border-bottom: 5px solid;
    border-left: 5px solid transparent;
}


/*
 * Footer
 */

footer .blog-nav .menu-item a {
    color: #AF38E6;
    padding: 0;
}
footer .blog-nav .menu-item a:hover,
footer .blog-nav .menu-item a:focus {
    color: #9116CA;
}

.blog-footer {
    padding: 20px 0;
    color: #999;
    text-align: center;
    /*background-color: #f9f9f9;*/
    /*border-top: 1px solid #e5e5e5;*/
    border-top: 1px solid #9116CA;
}
/*.blog-footer p:last-child {
    margin-bottom: 0;
}
*/


/*
 * Blog name and description
 */

.blog-header {
    /*padding-top: 20px;*/
    /*padding-bottom: 20px;*/
}
.blog-title {
    margin-top: 30px;
    margin-bottom: 0;
    font-size: 50px;
    font-weight: 300;
    color: #fff;
}

.blog-title a, .blog-title a:visited, .blog-title a:focus, .blog-title a:hover {
    color: #fff;
}
.blog-title::first-letter { margin-left: -0.088em; }

.blog-description {
    font-size: 20px;
    /*color: #999;*/
    color: #fff;
    font-family: "Lato", sans-serif;
    font-weight: 300;
}


/*
 * Main column and sidebar layout
 */

.blog-main {
    /*font-size: 16px;*/
    line-height: 1.5;
}


.categories-links a {
    color: #AF38E6;
}


.sidebar {
    font-size: 14px;
}

@media screen and (min-width: 768px) {
.sidebar {
    padding-left: 30px;
    padding-right: 30px;
}
}

.sidebar h3, .sidebar h4 {
	margin-top: 0;
}
.sidebar ul {
/*     padding-left: 0; */
/*     list-style-type: none; */
}

.sidebar .books-title {
	margin-top: 0;
	margin-bottom: 0;
}


/* Sidebar modules for boxing content */
.sidebar-module {
    padding: 10px 15px;
    margin: 0 -15px 15px;
    margin-bottom: 0;
}


.sidebar-2 {
	margin-top: 15px;
	padding: 10px 15px;
	background-color: #f5f5f5;
}
.sidebar-2 p {
	margin-bottom: 10px
}
.sidebar-module-inset {
    padding: 0;
	margin: 0;
/*     border-radius: 4px; */
}

.sidebar-module-inset h3 {
	margin: 15px 0 5px 0
}

.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
    margin-bottom: 10px;
}


/* Pagination */
.pager {
    margin-bottom: 60px;
    text-align: left;
}
.pager > li > a {
    width: 140px;
    padding: 10px 20px;
    text-align: center;
    /*border-radius: 30px;*/
    border-radius: 0;
}

/* Assistive text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    left: 5px;
    top: 5px;
    text-decoration: none;
    width: auto;
    z-index: 100000; /* Above WP toolbar */
}


/*
 * Blog posts
 */

.blog-post, .post-navigation {
    margin-bottom: 36px;
}
.post-title {
    margin-bottom: 10px;
    /*font-size: 35px;*/
}
.page-header {
    padding-bottom: 9px;
    margin: 40px 0 40px;
    border-bottom: none;
}
.post-meta {
    margin-bottom: 20px;
    color: #999;
}
.singular-post-meta {
    margin-top: 20px;
}

.post-title a {
    color: inherit;
}

.post-title a:hover {
    color: #9116CA;
}

.comments-title {
    font-size: 24px;
    margin-bottom: 20px;
}
.comment-list, .comment-list .children {
    padding-left: 0;
    list-style-type: none;
}
.comment-list .children {
    margin-left: 25px;
}

.comment {
    list-style-type: none;
}

.comment-author {
    display: block;
    max-width: 74px;
    float: left;
}
.comment-author b {
    display: block;
    text-align: center;
    font-weight: normal;
}
.comment-author .says {
    display: none;
}

.comment-body {
    padding: 0 0 20px 0;
    position: relative;
}


.comment-metadata,
.comment-awaiting-moderation,
.comment-content,
.comment-list .reply {
    float: right;
    width: 80%;
    width: -webkit-calc(100% - 90px);
    width:         calc(100% - 90px);
    word-wrap: break-word;
}

.comment-list .comment-metadata {
    position:absolute;
    right:0px;
    bottom: 20px;
    height: 1.5em;
    text-align: right;
    width: auto;
}

.comment-author, .comment-meta {
    color: #999;
    font-size: 0.9em;
}
.comment-author a, .comment-meta a {
    color: inherit;
}
.comment-author a:hover, .comment-meta a:hover {
    color: #9116CA;
}

.comment-body::after {
   content: " ";
   display: block;
   height: 0;
   clear: both;
}

.comment-form  {
    margin-bottom: 24px;
}

.comment-form label {
    font-weight: normal;
}

.comment-form .comment-notes {
    font-size: 0.9em;
}

.comment-form .comment-form-comment,
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url,
.comment-form .form-submit {
    margin-bottom: 8px;
    clear: left;
}

.comment-form [for="author"],
.comment-form [for="email"],
.comment-form [for="url"],
.comment-form [for="comment"] {
    float: left;
    padding: 5px 0;
    width: 80px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    max-width: 270px;
    width: 60%;
}

.comment-form input[type="submit"] {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px 20px;
    margin-left: 80px;
}
.comment-form input[type="submit"]:hover, .comment-form input[type="submit"]:focus {
    background-color: #eee;
    text-decoration: none;
}

.comment-form textarea {
    width: 70%;
    width: -webkit-calc(100% - 90px);
    width:         calc(100% - 90px);
}

.comment-form .logged-in-as a {
    color: #999;
}
.comment-form .logged-in-as a:hover {
    color: #9116CA;
}


.form-allowed-tags,
.form-allowed-tags code {
    color: #141412;
    font-size: 12px;
}

.form-allowed-tags code {
    font-size: 10px;
    margin-left: 3px;
}


.archive-list {
    padding-left: 20px;
    list-style-type: none;
}

.search-header h1 span {
    font-style: italic;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


img {
    margin: 0 0 10px;
}

img.alignleft {
    margin: 5px 20px 5px 0;
}

img.alignright {
    margin: 5px 0 5px 20px;
}

img.border, img.bordered {
    border: 1px solid #ccc;
}

.talk-title small {
    display: block;
    font-size: 55%;
}


.youtubevideowrap {
    width:100%;
    margin: 0 auto;
}

.video-container {
    position:relative;
    padding-bottom:56.25%;
    padding-top:30px;
    height:0;
    overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

table {
    margin-bottom: 10px;
}
tr td, tr th {
    padding-right: 10px;
}
tr td:last-child, tr th:last-child {
    padding-right: 0;
}
/* table.separated, table.separated tr, table.separated tr td, table.separated tr, th {
    vertical-align: top;
} */
table.separated tr {
    border-bottom: 1px solid #cccccc;
    padding-bottom: 2px;
}

code {
    color: inherit;
    background-color: inherit;
    border: none;
}

@media (prefers-color-scheme: dark) {
    /* Overrides for Dark Mode. */
    body {
        color: #ddd;
        background: #222222;
    }

    h1, .h1,
    h2, .h2,
    h3, .h3,
    h4, .h4,
    h5, .h5,
    h6, .h6,
    h1 a, .h1 a,
    h2 a, .h2 a,
    h3 a, .h3 a,
    h4 a, .h4 a,
    h5 a, .h5 a,
    h6 a, .h6 a {    
        color: #fff;
    }


    a, a:visited, a:focus, .required, .categories-links a {
        /* color: #AF38E6; */
        color: #c466f0;
    }
    .meta a {
        color: #999;
    }

    a:hover,
    .post-title a:hover, 
    .comment-author a:hover, 
    .comment-meta a:hover,
    .meta a:hover {
        color: #AE71CA; /*#9116CA;*/
    }

    .btn, button, input[type="submit"] {
        color: #AF38E6;
    }

    .sidebar-module-inset {
        background-color: #464646;
    }

    .comment-form input[type="submit"], .comment-form textarea {
        background-color: #464646;
        border: 1px solid #777777;
        color: #dddddd;
    }
    .comment-form input[type="submit"]:hover, .comment-form input[type="submit"]:focus {
        background-color: #464646;
        text-decoration: none;
    }

    .comment-form .logged-in-as a:hover {
        color: #AE71CA /*#9116CA*/;
    }

    .form-allowed-tags,
    .form-allowed-tags code {
        color: #141412;
    }
    
    .crayon-syntax div {
        background-color: #ccc;
    }

    /* newer / older buttons */
    .pager li > a {
        background-color: #464646;
        border: 1px solid #777777;
        color: #AE71CA;
    }
    .pager li>a:focus, .pager li>a:hover {
        background-color: #666666;
        border: 1px solid #777777;
        color: #AE71CA;
    }
    
    tt {
       color: #b49cc0;
    }
    pre {
        color: #ddd;
        background: #222222;
        border: 1px solid #666;
    }

    img.border, img.bordered {
        border: 1px solid #666;
    }
}
