/*!
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: #f1f1f1 url(../images/world.png) no-repeat right bottom;
}

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;
    color: #93291E;
}

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: #93291E;
    transition: 0.5s;
}


/*------------------------------- 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: #93291E;
    /*margin-bottom: 50px;*/
    padding-bottom: 100px;
}

#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: none;
    border-top: solid 1px rgb(255 255 255 / 5%);
    /*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: linear-gradient(180deg, rgba(255,255,255,1) 50%, rgba(255,255,255,0.3) 100%);
    padding-top: 15px;
    padding-bottom: 15px;
    position: relative;
    top: -100px;
    margin-bottom: -100px;
}


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

.blog-standard {}

.post {
    background: #fff;
    border: solid 1px #dedede;
    margin-bottom: 60px;
    padding: 5px;
}

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

.post .featured-image img {}

.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: #93291E;
}

.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: #e3712c;
    border: solid 1px #e3712c;
    padding: 10px 20px;
    -webkit-transition: 0.2s all linear;
    transition: 0.2s all linear;
}

.post .post-content .readmore .link-more:hover {
    background: none;
    border: solid 1px #e3712c;
    color: #e3712c;
}


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

.sarah-blog {}

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

.type-post img {
    display: block;
}

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

.type-post .post-content h2.post-title {
    font-weight: bold;
    background: #D2B48C;
    /*background: linear-gradient(90deg, rgba(237,33,58,1) 0%, rgba(147,41,30,1) 100%);*/
    padding: 10px 30px;
    color: #fff;
    position: relative;
    top: -30px;
    display: inline-block;
}

.type-post .post-content .post-except {
    padding: 0 30px;
    margin-top: -30px;
}

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


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

.sarah-blog-standard {
    margin-bottom: 0;
}

.status-publish {}

.status-publish img {
    display: block;
}

.status-publish .post-content {
    padding: 20px 0 0;
}

.status-publish .post-content h2.post-title {
    background: linear-gradient(90deg, rgba(237,33,58,1) 0%, rgba(147,41,30,1) 100%);
    padding: 10px 20px;
    color: #fff;
    position: relative;
    margin-bottom: 30px;
}

.status-publish .post-content h2.post-title:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 30px;
    border: 15px solid transparent;
    border-top: 15px solid #ed213a;
    width: 0;
    height: 0;
}

.status-publish .post-content .post-except h3 {
    color: #333;
}

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


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

#sidebar {
    padding-left: 40px;
}

.widget {
    margin: 0 0 30px;
}

#sidebar .widget_text {
    background: #f1f1f1;
    border-top: solid 3px #ddd;
    border-bottom: solid 3px #ddd;
    padding: 20px;
}

#sidebar .widget_text p {
    margin: 0;
    padding: 0;
}

@media (max-width: 478px) {
    #sidebar .widget_text {
        margin-top: 30px;
    }
}

#sidebar .widget_categories {}

#sidebar .widget_categories h2.widget-title {
    overflow: hidden;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    padding-left: 20px;
}

#sidebar .widget_categories h2.widget-title:after {
    position: absolute;
    content: "";
    width: 4px;
    height: 20px;
    border-left: solid 5px #93291E;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

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

#sidebar .widget_categories ul {
    list-style: none;
    margin: 0;
    padding: 0 20px;
    background: linear-gradient(0deg, white 0%, whitesmoke 100%);
}

.widget_categories ul li {
    margin: 0;
    padding: 10px 0 10px 0;
    border-bottom: 1px solid #eee;
}

.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,
.widget_categories ul li:hover a {
    color: #93291E;
    font-weight: bold;
}

.widget select {
    width: 100%;
}

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

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


@media (max-width: 767px) {
    #sidebar {
        margin-top: 50px;
    }
}

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

.single .format-standard {
    background: none;
    margin-bottom: 30px;
}

.single-post-content {}

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

.single-post-content .featured-image img {}

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

.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: #93291E;
}

.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: none;
    text-align: center;
    border-top: solid 1px #dedede;
}

.copyright {
    padding: 20px 0;
}

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

.copyright p a {
    color: #333;
    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 30px;
    }
    .primary-menu a:hover {
        color: #ec894d;
    }
}

@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;
}