/*!
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.5
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.5.1
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.
*/
:root{
    --primary-color: #333;
    --body-color: #555;
    --accent-color: #f37e7e;
    --meta-color: #999;
}

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: #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: 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 #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: 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; /* Above WP toolbar. */
}


/*------------------------------- Header --------------------------------*/
.site-header {
	background: #fff;
	box-shadow: 0 0 5px rgba(0,0,0,0.06);
}

.site-title {
	text-transform: uppercase;
	font-size: 3rem;
	letter-spacing: 3px;
	color: var(--primary-color);
	font-family: Montserrat;
	margin: 0;
}

#site-name {
  padding-bottom: 50px;
  padding-top: 50px;
  text-align: center;
}

#site-name a {
  display: block;
}

#nav-wrapper {
	border-top: 1px solid #eee;
	margin-bottom: 2.5rem;
	position: relative;
	z-index: 35;
}

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

.nav-inner .add-menu {
	padding: 0.5rem 0;
    display: block;
}

.nav-inner .site-title{
    display: none;
}
.nav-inner h1, .nav-inner h2 {
	margin: 0;
}

.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: var(--primary-color);
	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;
}

.primary-menu .menu-item-has-children:focus-within > ul {
    display: block;
}

/* ------------------------------------------- Post ----------------------------------- */
.post {
	border-radius: 5px;
	box-shadow: 0 0 5px rgba(0,0,0,0.06);
	background: #fff;
	margin-bottom: 2.5rem;
	padding: 20px;
}

.post .featured-image {
	display: block;
    text-align: center;
}

.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: 0px 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: #eee;
	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-thumbnail {
  margin-bottom: 1.5rem;
}

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

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

/* ------------------------------------ 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 #ddd;
    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 #ddd;
    padding: 10px 0;
}

.tagcloud a, .post-tags a {
    border: 1px solid #ddd;
    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 #eee;
	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 #ddd;
	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: 50px;
    overflow: hidden;
    position: relative;
}

.featured-posts .slide-item {
	background-size: cover;
	min-height: 600px;
	position: relative;
	margin: 0;
	padding: 0;
	background-position: center;
	background-repeat: no-repeat;
}

.featured-posts .slide-item-text {
	background: rgba(255,255,255,0.9);
	border-radius: 5px;
	max-width: 450px;
	overflow: hidden;
	padding: 50px 60px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.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);
}

/* ------------------------------------ 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;
}

#sb_instagram .sb_instagram_header {
	margin-top: 35px;
}

.copyright > p {
  margin: 0;
}

.social-footer {
	display: table;
	float: left;
	margin: 0;
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 10;
	padding-top: 30px;
	padding-bottom: 30px;
}

.social-footer a {
	color: var(--meta-color);
	display: table-cell;
	line-height: normal;
	margin: 0;
	padding: 13px 0;
}

.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: 70px;
	width: 100%;
	border-top: 1px solid #eee;
}

/* -------------------------- Promo Boxes ------------------------------------ */
.probox-item {
	min-height: 240px;
	margin-bottom: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.probox-item a {
	background: rgba(255,255,255,0.86);
	min-width: 50%;
	text-align: center;
	height: 45px;
	line-height: 45px;
	color: var(--primary-color);
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 2px;
	border-radius: 2px;
}

/* --------------------------------------------- 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 li {
    	margin: 0 1rem;
    }
    
    .primary-menu li a {
    	color: var(--primary-color);
    	text-transform: uppercase;
    	letter-spacing: 2px;
    	font-size: 0.775rem;
    	display: block;
    	padding: 1.2rem 0;
    }

    .primary-menu a:hover{
        color: var(--accent-color);
    }
    
    .primary-menu ul {
    	display: none;
    	position: absolute;
    	min-width: 200px;
    	background: #fff;
    	box-shadow: 0px 3px 3px rgba(0,0,0,0.1);
    	padding: 0px;
    	list-style: none;
    	margin: 0;
    	top: 100%;
    	left: 0;
    }
    
    .primary-menu li li {
    	margin: 0;
    	padding: 0 15px;
    	border-bottom: 1px solid #eee;
    }
    
    .primary-menu ul li:last-child{
        border-bottom: none;
    }
    
    .primary-menu li.menu-item-has-children {
    	position: relative;
    	display: flex;
    	align-items: center;
    	justify-content: space-between;
    }

    .primary-menu li li a {
    	text-transform: capitalize;
    	letter-spacing: 0;
    	font-size: 0.875rem;
    	padding: 0.5rem 0;
    }

    .primary-menu .menu-item-has-children .caret {
    	font-size: 0.775rem;
    	color: var(--meta-color);
    	margin-left: 3px;
    	margin-top: 2px;
    }
    
    .primary-menu li .menu-item-has-children > a {
        width: calc( 100% - 10px );
    }
    
    .primary-menu li .menu-item-has-children .caret {
    	position: absolute;
    	top: 0.5rem;
    	right: 5px;
    	width: 20px;
    	border-radius: 50%;
    	height: 20px;
    	text-align: center;
    	line-height: 20px;
    	padding: 0;
    	margin-left: 0;
    }
    
    .primary-menu ul ul {
    	left: 100%;
    	top: 0;
    }

    .primary-menu .menu-item-has-children:hover > ul {
        display: block;
    }
}


@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 1.5rem;
        display: none;
        text-align: left;
    }

    .primary-menu,
    .primary-menu ul {
        list-style: none;
        margin: 0;
    }

    .primary-menu ul {
    	padding: 0 0 0 1rem;
        display: none ;
    }
    
    .primary-menu li {
    	position: relative;
    }
    
    .primary-menu li a {
    	color: var(--primary-color);
    	border-bottom: 1px solid #eee;
    	display: block;
    	padding: 0.375rem 0;
    }

    .primary-menu li.menu-item-has-children .caret {
    	position: absolute;
    	top: 0.5rem;
    	right: 0;
    	background: #f0f0f0;
    	width: 20px;
    	font-size: 0.775rem;
    	border-radius: 50%;
    	height: 20px;
    	text-align: center;
    	line-height: 20px;
    	cursor: pointer;
    	padding: 0;
    }

    .featured-posts .slide-item {
    	min-height: 400px;
    }
}

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

    .featured-posts .slide-item {
    	min-height: 300px;
    }
    
    .featured-posts .slide-item-text {
    	max-width: 90%;
    	padding: 20px;
        width: 90%;
    }
}
