/*!
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.8
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: 6.6
Requires PHP: 7.0

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.
*/
:root {
    --primary-color: #333;
    --body-color: #555;
    --accent-color: #f37e7e;
    --meta-color: #999;
    --border-color: #ddd;
}
body {
    background-color: #f5f5f5;
    color: var(--body-color);
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat", sans-serif;
    font-weight: normal;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    color: var(--primary-color);
}
img,
input,
textarea {max-width: 100%;}
img {
    display: inline-block;
    vertical-align: middle;
    height: auto;
}
a,
a:hover,
a:focus,
a:active {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.5s;
}
iframe,
select {max-width: 100%;}
input[type="submit"],
button,
.button {
    background: var(--primary-color);
    border: medium none;
    border-radius: 5px;
    color: #fff;
    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="number"],
input[type="phone"],
input[type="tel"],
input[type="password"],
textarea {
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    border-radius: 5px;
    transition: 0.36s;
}
input[type="text"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="phone"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: var(--border-color);
    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: var(--accent-color);}

/*------------------------------- 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 var(--border-color);}
th,
td {padding: 5px;}
blockquote {
    padding: 1rem;
    border: 4px double var(--border-color);
    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: var(--primary-color);
    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;
}

/* Site header */
.site-header {
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    margin-bottom: 35px;
    z-index: 10;
    position: relative;
}
.site-branding {
    text-align: center;
    padding: 45px 0;
}
.site-title {
    text-transform: uppercase;
    font-size: 65px;
    letter-spacing: 5px;
    color: var(--accent-color);
    font-family: Montserrat;
    margin: 0;
    font-weight: 400;
    line-height: 1;
}
.site-logo a {
    display: inline-block;
    line-height: 1;
}
.site-description {
    margin: 0;
    color: var(--meta-color);
    font-style: italic;
}

/* ------------------------------------------- Post ----------------------------------- */
.post {
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    background: #fff;
    margin-bottom: 35px;
    padding: 20px;
}
.post .featured-image {
    display: block;
    text-align: center;
}
.blog-2cols-grid .post .featured-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
}
.blog-2cols-grid .post .featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
}
.post .single-post-content .featured-image {margin-bottom: 2rem;}
.post .post-content {
    padding: 25px 0;
    width: 90%;
    margin: 0 auto;
}
.post .single-post-content {padding-bottom: 1rem;}
.post .post-content-wrap .post-content {
    width: 100%;
    padding-bottom: 0;
}
.post .post-content.single-post-content {
    width: 100%;
    padding-bottom: 0;
}
.post-content-inner {margin-top: 1.5rem;}
.post .post-cats {
    text-align: center;
    margin-bottom: 10px;
}
.post-cats > a {
    color: var(--accent-color);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.post .post-title {
    font-size: 1.5rem;
    margin: 0 0 10px;
    position: relative;
    text-align: center;
    text-transform: capitalize;
}
.post .post-title a {color: inherit;}
.post .single-post-content .post-title {font-size: 2rem;}
.search-inner .post .post-title {font-size: 1.3rem;}
.search-inner .post .post-title,
.search-inner .post .post-except {text-align: left;}
.search-no-results .search-inner {
    width: 100%;
    background: #fff;
    padding: 20px 20px 25px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
}
.post a:hover {color: var(--accent-color);}
.post .post-meta {text-align: center;}
.post-meta a {
    margin: 0 10px;
    font-size: 0.875rem;
    color: var(--meta-color);
}
.post .post-except {
    margin: 1rem 0;
    text-align: center;
}
.post .link-more {
    font-size: 0.775rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.post .readmore,
.post-format {text-align: center;}
.post .post-tags {margin-top: 3rem;}

/* ---------------------------------- Blog Pagination ------------------------------------*/
.sarah-pagination {margin: 0 0 3rem;}
.sarah-pagination .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sarah-pagination .page-numbers {
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    border-radius: 5px;
    color: var(--primary-color);
    display: inline-block;
    height: 40px;
    line-height: 38px;
    margin: 0 5px;
    padding: 0;
    text-align: center;
    width: 40px;
}
.sarah-pagination .page-numbers:hover,
.sarah-pagination .page-numbers.current {
    background-color: var(--accent-color);
    color: #fff;
}

/*----------------------------------- Widgets ------------------------------*/
.widget {
    margin-bottom: 2rem;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
}
.widget_mc4wp_form_widget input[type="submit"] {width: 100%;}
.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget ul ul {padding-left: 15px;}
.searchform input {
    width: 100%;
    background: #f9f9f9;
}
.widget select {width: 100%;}
.widget-title {
    border: 1px solid var(--accent-color);
    font-size: 0.775rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
    overflow: hidden;
    padding-bottom: 15px;
    padding-top: 15px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    border-radius: 5px;
    font-weight: 500;
}
.widget a {color: var(--primary-color);}
.widget a:hover {color: var(--accent-color);}

/* ------------------------------------ Single Post --------------------------------- */
.post-tags,
.prev-next-links,
#comments,
#respond {margin-top: 3rem;}
.comments-title,
#reply-title {margin-bottom: 1rem;}
.prev-next-links {
    border: 1px dashed #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    padding: 8px 20px 10px;
}
.prev-next-links a {
    color: inherit;
    font-size: 0.775rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
#commentform {
    background: #f5f5f5;
    padding: 1.5rem 1.5rem;
}

/*----------------------------------- Comments ------------------------------*/
#comments .comment-list {
    margin-bottom: 50px;
    padding: 0;
}
#comments ol.comment-list,
#comments .comment > ol.children {list-style: none;}
.comment-list .comment-body {
    border-bottom: 1px dashed #ccc;
    padding: 25px 25px 25px 0;
    min-height: 150px;
    display: block;
}
.comment-body .comment-author {
    float: left;
    margin-right: 22px;
}
.comment-body .comment-author img {
    max-width: 90px;
    border-radius: 50%;
}
.comment-body .comment-content {overflow: hidden;}
.comment-body .comment-content .author-name {
    color: var(--primary-color);
    display: inline-block;
    font-size: 0.775rem;
    margin-bottom: 0;
    margin-right: 1rem;
    text-transform: uppercase;
}
.comment-body .comment-content .author-name a {color: inherit;}
.comment-body .date-comment {
    font-size: 12px;
    color: var(--meta-color);
}
.comment-body .date-comment a {color: inherit;}
.comment-body .comment-content .reply {float: right;}
.comment-body .comment-content .reply a {
    background: var(--border-color);
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 10px;
    font-weight: normal;
    padding: 5px 10px;
}
.comment-body .comment-content .reply a:hover {text-decoration: none;}
.comment-body .comment-content .comment-text {
    margin-top: 5px;
    font-size: 0.875rem;
}
.comment-body .comment-content .comment-text p {margin-bottom: 10px;}
#commentform .input-form,
#commentform .textarea-form {
    margin-bottom: 1rem;
    width: 100%;
}
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
}
.comment-form-cookies-consent label {
    margin: 0 0 0 5px;
    font-size: 0.875rem;
}
#cancel-comment-reply-link {
    font-size: 18px;
    margin-left: 15px;
}
.comment-form .form-submit {margin-bottom: 0;}

/* ------------------------------------ Page --------------------------------- */
.page .page-title,
.page .page-thumbnail {text-align: center;}
.page .page-content {
    background: #fff;
    padding: 24px;
    z-index: 5;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
}
.page .page-content > p:last-child {margin-bottom: 0;}

/* ------------------------------------ Page Archive --------------------------------- */
.archive-box {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
    border-radius: 5px;
    white-space: nowrap;
    min-height: 80px;
    margin-bottom: 2.5rem;
    text-align: center;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.archive-box .archive-title {
    display: inline-block;
    font-size: 2rem;
    font-weight: normal;
    margin: 0;
}

/* ------------------------------------ Widgets --------------------------------- */
.widget_categories li {
    color: var(--meta-color);
    text-align: right;
}
.latest-post li,
.widget_categories ul li,
.widget_recent_comments li,
.widget_meta li {
    border-bottom: 1px dashed var(--border-color);
    display: inline-block;
    line-height: 24px;
    width: 100%;
    padding: 5px 0 10px;
}
.latest-post li {
    margin-bottom: 10px;
    padding-bottom: 15px;
}
.widget li:last-child {border-bottom: none;}
.widget_categories ul li a {
    float: left;
    letter-spacing: 0.5px;
}
.widget_recent_entries li {
    border-bottom: 1px dashed var(--border-color);
    padding: 10px 0;
}
.tagcloud a,
.post-tags a {
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    display: inline-block;
    font-size: 11px !important;
    margin: 0 2px 5px;
    padding: 5px 10px;
    text-align: center;
    border-radius: 5px;
}
.tagcloud a span {color: var(--meta-color);}
.widget_nav_menu a,
.widget_pages a {
    border-bottom: 1px dashed var(--border-color);
    display: block;
    line-height: 40px;
}
.widget_mc4wp_form_widget {text-align: center;}
.widget_mc4wp_form_widget .mc4wp-form {
    background: #f5f5f5;
    padding: 20px;
}
.widget_mc4wp_form_widget input[type="email"] {
    line-height: 35px;
    padding: 0 5px;
    border: 1px solid var(--border-color);
    width: 100%;
    text-align: center;
}
.widget_mc4wp_form_widget .mc-mail label {font-size: 0.875rem;}
.widget_mc4wp_form_widget .mc-submit {margin: 0;}

/*------------------------------ Featured Posts Slider -------------------------------------*/
.featured-posts {
    margin-bottom: 35px;
    overflow: hidden;
    position: relative;
}
.featured-posts .post {
    position: relative;
    margin: 0;
    padding: 0;
}
.featured-posts .post-deatails {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    padding: 50px 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
}
.featured-posts .post-thumbnails img {
    height: 650px;
    object-fit: cover;
}
.featured-posts .owl-dots {
    bottom: 30px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 5;
}
.featured-posts .owl-carousel button.owl-dot {
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    height: 10px;
    margin: 0 8px;
    width: 10px;
    outline: none;
}
.featured-posts .owl-carousel button.owl-dot.active {background-color: var(--accent-color);}

/* Contact Form 7 */
.wpcf7-form.init {
    background: #f5f5f5;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
}
.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 20px;
}
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-textarea {width: 100%;}

/* ------------------------------------ Footer --------------------------------- */
#footer {
    margin-top: 3rem;
    overflow: hidden;
    text-align: center;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.06);
}
#footer .widget {
    background: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0;
}
#sb_instagram .sb_instagram_header {margin-top: 35px;}
.copyright > p {margin: 0;}
.social-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 15px 0;
}
.social-footer a {
    color: var(--meta-color);
    line-height: normal;
    margin: 15px;
}
.social-footer a i {
    border: 1px solid;
    border-radius: 50%;
    display: inline-block;
    font-size: 12px;
    height: 30px;
    letter-spacing: 0;
    line-height: 30px;
    text-align: center;
    width: 30px;
}
.social-footer a:hover {color: var(--accent-color);}
.social-footer a span {margin-left: 5px;}
.copyright {
    color: var(--meta-color);
    float: left;
    padding: 30px;
    width: 100%;
    border-top: 1px solid var(--border-color);
}

/* -------------------------- Promo Boxes ------------------------------------ */
.probox-item {
    margin-bottom: 35px;
    position: relative;
    min-height: 250px;
}
.probox-item img {
    height: 250px;
    object-fit: cover;
}
.probox-item a {
    background: rgba(255, 255, 255, 0.86);
    text-align: center;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    border-radius: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    min-width: 35%;
}
.probox-item a:hover {
    background: var(--accent-color);
    color: #fff;
}

/* --------------------------------------------- Responsive ------------------------------------- */
@media(min-width: 1400px) {
    .page .page-content {
        max-width: 1140px;
        margin: -70px auto 0;
    }
}
@media(max-width: 1199.98px) {
    .featured-posts .post-thumbnails img {height: 500px;}
}
@media ( max-width: 991.98px ) {
    .featured-posts .post-thumbnails img {height: 400px;}
    .featured-posts .post-deatails {width: 70%;}
}
@media ( max-width: 767.98px ) {
    .featured-posts .post-thumbnails img {height: 350px;}
    .featured-posts .post-deatails {width: 80%;}
}
@media ( max-width: 575.98px ) {
    .post .post-content {width: 100%;}
    .featured-posts .post-thumbnails img {height: 300px;}
    .featured-posts .post-deatails {padding: 30px;}
}
