/*
Theme Name: Cros Child
Template: code4rest
Author: Code4rest WP
Description: Code4rest Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Tags: translation-ready,two-columns,right-sidebar,left-sidebar,footer-widgets,blog,custom-logo,custom-background,custom-menu,rtl-language-support,editor-style,threaded-comments,custom-colors,featured-images,wide-blocks,full-width-template,theme-options,e-commerce
Version: 1.1.40.1694078127
Updated: 2023-09-07 09:15:27

*/
/* Theme customization starts here
-------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;600;700;800;900&display=swap');

/* common css */
body .single-content h1,
body .single-content h2,
body .single-content h3,
body .single-content h4,
body .single-content h5,
body .single-content h6 {
    margin-top: 0;
}

.site-footer-section .widget-area ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-navigation,
.post-navigation {
    border-top: 1px solid var(--global-palette6);
    border-bottom: 1px solid var(--global-palette6);
    padding: 50px 0;
}


/* footer */

.site-footer .textbox input[type="email"] {
    border-radius: 0;
    margin-block-end: 20px;
    border: none;
    width: 100%;
    height: 48px;

}

/*blog page*/
.loop-entry .post-thumbnail-inner img {
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.loop-entry .post-thumbnail-inner:hover img {
    transform: scale(1.05);
}

/* -------------------- elementor section css -------------------- */
/* Blog */
.code4-blog .ue-meta-data {
    position: absolute;
    top: 0;
    margin: 35px !important;
    padding: 15px 21px;
    background: #b0915b;
}

.code4-blog h3.uc_post_title,
.blog .loop-entry .entry-header .entry-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 261px;
}

.blog .loop-entry .entry-header .entry-title:hover {
    color: var(--global-palette2);
}

.uc_image_carousel_container_holder.uc_carousel_item.ue-item {
    margin-right: 8px;
}

.elementor-post__title:hover {
    color: var(--global-palette2);
}

/* image box */
.code4-imagebox .elementor-image-box-img {
    overflow: hidden;
}

.our-member .elementor-image-box-img {
    overflow: hidden;
}

/* blog comment */
@media screen and (max-width: 766px) {

    form.comment-form .comment-input-wrap .comment-form-author,
    form.comment-form .comment-input-wrap .comment-form-email,
    form.comment-form p.comment-form-float-label {
        margin: 0px;
    }

    body .comment-form p {
        margin-bottom: 20px;
    }

}


/* blog sidebar */
.primary-sidebar.widget-area .widget_block {
    padding-block-end: 30px;
    border-block-end: 1px solid var(--global-palette4);
}

.primary-sidebar.widget-area .widget_block.widget_search,
.primary-sidebar.widget-area .widget_block:last-child,
.wp-block-search .wp-block-search__input {
    border: none;
}

.comment-reply-link:hover, .comment-reply-link:focus {
    color: var(--global-palette1) !important;
}

.wp-block-search .wp-block-search__input {
    color: var(--global-palette1);
}

.wp-block-search .wp-block-search__input:focus {
    color: var(--global-palette1);
}

.wp-block-search__inside-wrapper {
    border-block-end: 1px solid var(--global-palette6);
}

.wp-block-search .wp-block-search__button:hover,
.wp-block-search__inside-wrapper #wp-block-search__input-1:focus {
    box-shadow: none;
}

.wp-block-latest-posts.wp-block-latest-posts__list,
body .wp-block-latest-posts__list li,
body.search-results.content-style-unboxed .site .post-thumbnail,
body.woocommerce div.product .woocommerce-tabs ul.tabs li:first-child {
    margin: 0;
}

#secondary .woocommerce.widget_product_categories>ul li,
.widget .tagcloud a,
.widget li,
#secondary .woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item,
.wp-block-tag-cloud .tag-cloud-link {
    padding-block: 4px;
}

body .loop-entry .entry-content-wrap .entry-footer .more-link-wrap .post-more-link {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--global-palette1);
    text-decoration: underline;
    font-family: 'inter';
}

body .loop-entry .entry-content-wrap .entry-footer .more-link-wrap .code4rest-svg-iconset {
    display: none;
}

.wp-block-latest-posts__post-author,
.wp-block-latest-posts__post-date {
    display: block;
    font-size: 15px;
    color: var(--global-palette1);
    font-weight: 500;
}

.wp-block-search .wp-block-search__button {
    color: var(--global-palette1);
}

.left-blog .elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail,
.right-blog .elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail {
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
}

.left-blog .elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail:hover,
.right-blog .elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail:hover {
    transform: scale(1.05);
}

.left-blog .elementor-element.elementor-posts--thumbnail-top .elementor-post__thumbnail__link,
.right-blog .elementor-element.elementor-posts--thumbnail-top .elementor-post__thumbnail__link {
    overflow: hidden;
}

@media screen and (min-width: 720px) and (max-width: 1024px) {

    body .site-footer-row-container-inner .site-footer-row.site-footer-row-tablet-column-layout-default,
    body .site-footer-row-container-inner .site-footer-row.site-footer-row-tablet-column-layout-row {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.faq .elementor-accordion .elementor-accordion-item {
    border-bottom: 1px solid #e5e5e5 !important;
}

.faq .elementor-accordion .elementor-accordion-item:last-child {
    border-bottom: none!important;
}

/* comments */
.comment-form-comment.comment-form-float-label:focus,
textarea:focus {
    color: var(--global-palette1);
}

textarea,
input[type="email"],
input[type="text"],
input[type="url"] {
    background-color: var(--global-palette8);
    border: 1px solid var(--global-palette6);
    color: var(--global-palette1);
    border-radius: 0px;
}

textarea:focus,
input[type="email"]:focus,
input[type="text"]:focus,
input[type="url"]:focus {
    color: var(--global-palette1);
    box-shadow: none;
}

textarea::placeholder,
input[type="email"]::placeholder,
input[type="text"]::placeholder,
input[type="url"]::placeholder {
    color: var(--global-palette1);
}

.comments-area .comment-form p.comment-form-float-label label.float-label,
.comment-input-wrap .comment-form-author .float-label,
.comment-input-wrap .comment-form-email .float-label,
.comment-input-wrap .comment-form-url .float-label {
    color: var(--global-palette1);
}

.comments-area textarea:focus {
    box-shadow: none;

}

.search-results.content-style-unboxed .entry-content-wrap {
    margin-block-start: 20px;
}

#search-drawer .drawer-inner input.search-field {
    border: none;
    border-bottom: 1px solid var(--global-palette6);
    border-radius: 0px;
}

#search-drawer .drawer-inner .search-form input.search-field:focus {
    box-shadow: none;
}

/* loader */
.pageloader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(assets/image/loader.gif) center no-repeat #fff;
}

 /* newslatter  footer */

 .newslatter-footer input[type="email"]::placeholder {
	color: var(--global-palette1);
	text-transform: capitalize;
}
.mc4wp-form-fields {
	width: 272px;
}

.newslatter-footer input[type="email"] {
	width: 100%;
	padding: 15px;
	height: 50px;
	background-color: var(--global-palette8);
	border: none;
	color: var(--global-palette1);
}

.newslatter-footer input[type="submit"] {
	padding: 18px 50px;
	background-color: var(--global-palette2);
	margin-top: 20px;
	color: var(--global-palette8);
}

@media screen and (max-width: 719px) {
	.mc4wp-form-fields {
		width: 100%;
	}

	.newslatter-footer input[type="submit"] {
		width: 100%;
	}

}

.entry-taxonomies a {
    font-weight: 500;
}

/*--- Fonts ---*/

body {
    font-family: 'Exo 2', sans-serif !important;
}

h1, h2, h3 {
    font-family: 'EB Garamond', serif !important;
	font-weight: 500;
}

p {
    font-family: 'Exo 2', sans-serif !important;
}

.widget-title h2 {
	font-family: 'EB Garamond', serif !important;
	font-weight: 500;
}