﻿/* =============================================================
   GENERAL STYLES
 ============================================================ */

@import url(https://fonts.googleapis.com/css?family=Montserrat); /* FREE GOOGLE FONT */

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 30px;
    font-size: 16px;
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* =============================================================
   HEAD SECTION STYLES
 ============================================================ */

#head {
    background: url(feathers-lores.jpg) no-repeat center center;
    background-image: -webkit-image-set(url(feathers-lores.jpg) 1x,
                                        url(feathers-hires.png) 2x);
    background-image: -moz-image-set(url(feathers-lores.jpg) 1x,
                                     url(feathers-hires.png) 2x);
    background-image: -o-image-set(url(feathers-lores.jpg) 1x,
                                   url(feathers-hires.png) 2x);
    background-image: -ms-image-set(url(feathers-lores.jpg) 1x,
                                    url(feathers-hires.png) 2x);
    padding: 0;
    -webkit-background-size: cover;
    background-size: cover;
    -moz-background-size: cover;
    color: #fff;
}
    #head a.logo,#head a.logo:hover {
        text-decoration:none;
        color:#fff;
    }
    #head .overlay {
        background-color: rgba(40, 40, 40, 0.8);
        min-height: 300px;
    }

    #head h1 {
        font-family: 'Wire One', sans-serif;
        color: #fff;
        font-size: 50px;
        letter-spacing: 2px;
        font-weight: 600;
        line-height: 55px;
        padding-bottom: 20px;
        padding-top: 20px;
    }

    #head p {
        font-weight: 900;
        line-height: 35px;
        font-size: 16px;
        padding-bottom: 40px;
        color: #46beac;
    }

.adv-div {
    vertical-align: middle;
    color: #808080;
    margin: 30px;
}
/*=====================================
    SOCIAL BUTTON STYLES
======================================*/
.social-wrapper {
    margin-top: 30px;
}

    .social-wrapper .btn-social {
        color: white;
        background-color: rgba(92, 92, 92, 0.38);

    }

        .social-wrapper .btn-social:hover {
            text-decoration: none;
        }

   


/* =============================================================
   BLOG SECTION STYLES
 ============================================================ */
#blog {
    min-height:400px;
}

/* Inline code styling to match code blocks */
code {
    color: inherit;
    background: #f8f8f8;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 14px;
}
.img-blog {
    width: 200px;
    height: 200px;
    text-align: center;
}

.custom-blog {
    padding-bottom: 30px;
    border-bottom: 1px dotted #e1e1e1;
    margin-bottom: 30px;
}

    .custom-blog p {
        padding-bottom: 10px;
    }

    .custom-blog h1 {
        padding-bottom: 20px;
        color: #46beac;
        line-height: 50px;
    }

    
    .custom-blog h2 {
        border-bottom:rgba(92, 92, 92, 0.38) 1px dashed;
    }

    .custom-blog .tldr {
        background-color: #f5f5f5;
        border: 1px solid #e1e1e1;
        border-radius: 4px;
        padding: 10px 15px;
        margin-bottom: 20px;
    }

    .custom-blog .tldr summary {
        cursor: pointer;
        font-weight: 600;
        color: #46beac;
        list-style: none;
    }

    .custom-blog .tldr summary::-webkit-details-marker {
        display: none;
    }

    .custom-blog .tldr summary::before {
        content: "▶ ";
    }

    .custom-blog .tldr[open] summary::before {
        content: "▼ ";
    }

    .custom-blog .tldr p {
        margin-top: 10px;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .custom-blog table {
        width: 100%;
        border-collapse: collapse;
        margin: 20px 0;
        font-size: 15px;
    }

    .custom-blog th,
    .custom-blog td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #e1e1e1;
    }

    .custom-blog th {
        background-color: #f8f8f8;
        font-weight: 600;
        color: #333;
        border-bottom: 2px solid #46beac;
    }

    .custom-blog tr:hover {
        background-color: #fafafa;
    }

    .custom-blog tr:last-child td {
        border-bottom: none;
        font-weight: 600;
    }

.page-set {
    text-align:center;
    padding:5px;
}
/*================================
    COMMENT STYLES
 ============================  */
.comment-sec h1 {
    padding-bottom:30px;
}
.comment-sec .comment-wrapper {
    padding:20px;
    border:1px dashed rgba(92, 92, 92, 0.38);
    margin:10px;
}
.set-post {
    padding:20px;
    margin:10px;
}
/*================================
    FOOTER SECTION STYLES
 ============================  */
footer {
    padding: 20px;
    color: #46beac;
    font-size: 16px;
    background-color: rgba(16, 16, 16, 0.9);
}

footer a, footer a:hover, footer a:focus {
    color: #46beac;
    text-decoration: none;
    margin-right: 10px;
    margin-left: 10px;
}


/*================================
    DRAFT WARNING
 ============================  */
.draft-warning {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 20px;
    color: #856404;
}

/*================================
    TRANSLATION LINKS
 ============================  */
.translations {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 1em;
}

/*================================
    PRINT STYLES
 ============================  */
@media print
{
    .no-print, .no-print *
    {
        display: none !important;
    }
}

/*================================
    MOBILE STYLES
 ============================  */
@media (max-width: 576px) {
    /* Smaller header on mobile */
    #head h1 {
        font-size: 32px;
        line-height: 38px;
    }

    #head .overlay {
        min-height: 200px;
    }

    #head p {
        padding-bottom: 20px;
    }

    /* Reduce section padding on mobile */
    section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* Horizontal scroll for code blocks */
    .codehilite {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .codehilite pre {
        white-space: pre;
        word-wrap: normal;
        overflow-x: visible;
    }

    .codehilite pre code {
        white-space: pre;
    }

    /* Better footer on mobile */
    footer {
        font-size: 14px;
        line-height: 24px;
    }

    footer small {
        display: block;
        margin-top: 8px;
    }

    /* Article title sizing */
    .custom-blog h1 {
        font-size: 28px;
        line-height: 36px;
    }

    /* Horizontal scroll for tables */
    .custom-blog table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .custom-blog th,
    .custom-blog td {
        padding: 10px 12px;
        white-space: nowrap;
    }
}