/*!
Theme Name: SarahLite
Theme URI: https://az-theme.net/downloads/sarah-lite-free-lifestyle-wordpress-theme-blog
Author: AZ-Theme
Author URI: https://az-theme.net
Description: A Lifestyle Blog --- Need help with the theme? For support please visit: https://az-theme.net/submit-ticket --- LIVE DEMO: https://sarahlite.az-theme.net
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sarahlite
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Tested up to: 5.4.2
Requires PHP: 5.6

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body {
    margin: 0;
    padding: 0;
    font-family: "Meiryo", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    font-weight: normal;
    color: #333;
    background: #f9f9f9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 10px;
    padding: 0;
    line-height: 1.3;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 20px;
    font-weight: bold;
}

p {
    margin: 10px 0;
    padding: 0;
    font-size: 16px;
    font-weight: normal;
    line-height: 30px;
    color: #333;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
    color: #c5181f;
    transition: 0.5s;
}

.h3-space {
    letter-spacing: 1px;
}


/*------------------------------- CSS --------------------------------*/

img,
input,
textarea {
    max-width: 100%;
}

img {
    display: inline-block;
    vertical-align: middle;
    height: auto;
}

iframe,
select {
    max-width: 100%;
}

input[type="submit"],
button,
.button {
    background: #333;
    border: medium none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: normal;
    padding: 12px 20px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.5s;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    border: 1px solid #eee;
    padding: 0.5rem;
    border-radius: 5px;
    transition: 0.36s;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: #ccc;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

button:focus,
input[type="submit"]:focus {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

input[type="submit"]:focus {
    background: #333;
}


/*------------------------------- WordPress Core --------------------------------*/

.sticky {
    color: inherit;
}

.gallery-caption {
    color: inherit;
}

.bypostauthor {
    color: inherit;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

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

a img.alignnone {
    margin: 5px 20px 20px 0;
}

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

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

.wp-caption {
    max-width: 100%;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}

.wp-caption .wp-caption-text {
    font-size: inherit;
    font-style: italic;
    color: inherit;
    line-height: 17px;
    margin: 8px 0 0;
}

table {
    border-collapse: collapse;
    width: 100%;
}

table,
th,
td {
    border: 1px solid #ddd;
}

th,
td {
    padding: 5px;
}

blockquote {
    padding: 1rem;
    border: 4px double #ddd;
    border-radius: 5px;
}

.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
    margin: 0 0 1rem;
    padding: 1rem 1em;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
    font-size: 1rem;
    font-style: normal;
    line-height: 1.6;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !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;
    clip-path: none;
    color: #333;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 111100;
    /* Above WP toolbar. */
}


/*------------------------------- Header --------------------------------*/

.site-header {
    background: #fff;
    /*margin-bottom: 50px;*/
}

#site-name {
    padding-bottom: 40px;
    padding-top: 30px;
    text-align: center;
    background: none;
}

.site-logo {
    /*background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 0 0 10px 10px;
    display: inline-block;*/
}

#site-name .site-logo a {
    display: block;
}

#site-name .site-logo img {
    max-width: 100%;
}

#nav-wrapper {
    background: #ED1C24;
    /*margin-bottom: 50px;*/
    position: relative;
    z-index: 35;
}

#nav-wrapper .container {}

.nav-inner {
    position: relative;
    text-align: center;
    background: none;
}

.open-mobile-menu {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

.mobile-toggle {
    width: 24px;
    height: 16px;
    position: relative;
}

.mobile-toggle span {
    height: 1px;
    width: 100%;
    background: #fff;
    position: absolute;
    left: 0;
}

.mobile-toggle .line-1 {
    top: 0;
}

.mobile-toggle .line-2 {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-toggle .line-3 {
    bottom: 0;
}


/* ------------------------------------------- Default ----------------------------------- */

#content {
    padding-top: 50px;
    padding-bottom: 50px;
}

/*#content .container {
    background: none;
    padding-top: 30px;
    padding-bottom: 15px;
}*/


/* ------------------------------------------- Post ----------------------------------- */

.blog-standard {}

.post {
    background: #fff;
    margin-bottom: 60px;
    border-radius: 2px;
}

.post:hover {
    -webkit-box-shadow: 0px 15px 30px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 15px 30px 0px rgba(0,0,0,0.1);
}

.post .featured-image {
    display: block;
}

.post .featured-image img {
    border-radius: 2px;
}

.post img {}

.post .post-content {
    width: 100%;
    margin: 0 auto;
    padding: 30px;
}

.post .post-content h3.post-title {}

.post .post-content h3.post-title a {
    color: #333;
}

.post .post-content .post-except p {}

.post .post-content .readmore {
    margin-top: 30px;
}

.post .post-content .readmore .link-more {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background: #ed1c24;
    border-radius: 2px;
    padding: 10px 20px;
    -webkit-transition: color 400ms, background-color 400ms;
    transition: color 400ms, background-color 400ms;
}

.post .post-content .readmore .link-more:hover {
    background: #c5181f;
    color: #fff;
}


/* ------------------------------------------- Type Post ----------------------------------- */

.sarah-blog {}

.type-post {
    background: none;
    margin-bottom: 30px;
}

.type-post img {
    display: block;
    margin-bottom: 20px;
    border-radius: 2px;
}

.type-post .post-content {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0 0 80px;
    position: relative;
}

.type-post .post-content:before {
    position: absolute;
    content: "";
    width: 66px;
    height: 66px;
    background: #ED1C24 url(../wp-content/uploads/2020/10/medical.png) no-repeat center;
    border-radius: 2px;
    left: 0;
    top: 0;
}

.type-post .post-content:after {
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    background: #ED1C24;
    border-radius: 2px;
    left: 0;
    top: -5px;
}

@media (max-width: 478px) {
    .type-post img {
        margin-bottom: 0;
    }
    .type-post .post-content:before {
        top: 20px;
    }

    .type-post .post-content:after {
        top: 15px;
    }
}

.type-post .post-content h2.post-title {
    font-weight: bold;
}

.type-post .post-content .post-except {
    border-top: 1px dashed #e6e6e6;
}

.type-post .post-content .post-except p {}


/* ------------------------------------------- Status Publish ----------------------------------- */

.sarah-blog-standard {
    margin-bottom: 30px;
}

.status-publish {
    background: #fff;
}

.status-publish img {
    display: block;
}

.status-publish .post-content {
    width: 100%;
    margin: 0 auto;
    padding: 30px;
}

.status-publish .post-content h2.post-title {
    background: #ED1C24;
    border-radius: 2px;
    padding: 10px 15px;
    margin-bottom: 20px;
    color: #fff;
}

.status-publish .post-content .post-except h3 {
    color: #333;
    position: relative;
    padding-left: 15px;
}

.status-publish .post-content .post-except h3:before {
    position: absolute;
    content: "";
    width: 4px;
    height: 18px;
    background: #ed1c24;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto 0;    
}

.status-publish .post-content .post-except p {
    padding-left: 15px;
}


/*----------------------------------- Widgets ------------------------------*/

#sidebar {
    padding-left: 40px;
}

.widget {
    margin: 0 0 30px;
}

#sidebar .widget_text {
    background: #fff;
    -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    padding: 10px;
}

#sidebar .widget_text p {
    margin: 0;
    padding: 20px;
    border: solid 1px #58BAB9;
    border-left: solid 5px #58BAB9;
}

#sidebar .widget_categories {
    background: #fff;
    -webkit-box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 2px 2px;
}

#sidebar .widget_categories h2.widget-title {
    overflow: hidden;
    font-size: 20px;
    font-weight: bold;
    background: #ED1C24;
    padding: 10px 20px;
    border-radius: 2px 2px 0 0;
    margin-bottom: 0;
}

#sidebar .widget_categories h2.widget-title a {
    color: #fff;
}

#sidebar .widget_categories ul {
    list-style: none;
    margin: 0;
    padding: 0 20px;
}

.widget_categories ul li {
    margin: 0 -20px;
    padding: 15px 20px;
    border-bottom: 1px solid #ebebeb;
}

.widget_categories ul li:hover {
    background: #f9f9f9;
}

.widget_categories ul li:last-child {
    border-bottom: none;
}

/*.widget_categories ul li:before {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    border: solid 3px #c5181f;
    border-radius: 50%;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto 0;
}*/

.widget_categories ul li a {
    font-size: 16px;
    font-weight: normal;
    color: #333;
}

.widget_categories ul li a:hover {
    color: #c5181f;
    font-weight: bold;
}

.widget select {
    width: 100%;
}

@media (max-width: 478px) {
    #sidebar {
        padding: 0;
    }
}

@media (max-width: 992px) {
    #sidebar {
        padding: 0;
    }
}


/* ------------------------------------ Single Post --------------------------------- */

.single .format-standard {
    background: #fff;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    padding: 10px;
    margin-bottom: 30px;
}

.single-post-content {}

.single-post-content .featured-image {
    display: block;
}

.single-post-content .featured-image img {
    border-radius: 2px;
}

.single-post-content .post-content-wrap {
    width: 100%;
    margin: 0 auto;
    padding: 30px;
}

.single-post-content .post-content-wrap h1.post-title {
    font-size: 28px;
    font-weight: normal;
}

.single-post-content .post-content-wrap .post-content {}

.single-post-content .post-content-wrap .post-content h3 {
    color: #c5181f;
}

.single-post-content .post-content-wrap .post-content p {}


/* ------------------------------------ Page --------------------------------- */

.page .page-thumbnail {
    margin-bottom: 1.5rem;
}

.page .page-title,
.page .page-thumbnail {
    text-align: center;
}

.page .page-content {
    max-width: 768px;
    margin: 0 auto;
}


/* ------------------------------------ Footer --------------------------------- */

#footer {
    overflow: hidden;
    /*margin-top: 50px;*/
    padding: 0;
    background: #20232e;
    text-align: center;
}

.copyright {
    padding: 20px 0;
}

.copyright p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: normal;
    color: #959595;
}

.copyright p a {
    color: #fff;
    font-weight: bold;
}


/* --------------------------------------------- Responsive ------------------------------------- */

@media ( min-width: 992px) {
    .primary-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: left;
    }
    .primary-menu ul {
        display: none;
        position: absolute;
        min-width: 200px;
        background: #fff;
        box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
        list-style: none;
        padding: 0px;
        margin: 0;
        top: 100%;
        left: 0;
    }
    .primary-menu li {
        /*margin: 0 20px;*/
    }
    .primary-menu ul li:last-child {
        border-bottom: none;
    }
    .primary-menu li a {
        display: block;
        text-transform: uppercase;
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        padding: 15px 20px;
    }
    .primary-menu a:hover {
        color: rgb(255 255 255 / 80%);
    }
}

@media ( max-width: 991.98px) {
    .open-mobile-menu {
        display: flex;
    }
    .primary-menu {
        position: absolute;
        background: #fff;
        width: 100%;
        top: 100%;
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
        padding: 0 15px;
        display: none;
        text-align: left;
        border-top: solid 2px #eee;
        margin-top: 5px!important;
    }
    .primary-menu,
    .primary-menu ul {
        list-style: none;
        margin: 0;
    }
    .primary-menu ul {
        padding: 0 0 0 15px;
        display: none;
    }
    .primary-menu li {
        position: relative;
    }
    .primary-menu li a {
        color: #333;
        border-bottom: 1px solid #eee;
        display: block;
        padding: 15px 0;
    }
    .primary-menu li a:hover {
        color: #333;
    }
}

@media ( max-width: 575.98px) {
    .post .post-content,
    .type-post .post-content,
    .status-publish .post-content {
        width: 100%;
    }
}


/*----------------------------------- type="text/css" ------------------------------*/

img.wp-smiley,
img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 .07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}