/**
 * Theme Name:     Newsmatic Child
 * Author:         BlazeThemes
 * Template:       newsmatic
 * Text Domain:	   newsmatic-child
 * Description:    It is a child of Newsmatic Theme.
 */

*:not(i, .ab-icon, h1, h2, h3, h4, h5, h6, h1 *, h2 *, h3 *, h4 *, h5 *, h6 *) {
    font-family: "Inter", Sans-serif !important;
}

:is(h1, h2, h3, h4, h5, h6, h1 *, h2 *, h3 *, h4 *, h5 *, h6 *) {
    font-family: "Lexend", Sans-serif !important;
}

body a:focus {
	outline: none;
}
.nekit_dark_mode .side_menu_toggler .elementor-icon svg path {
	fill: #fff;
}
.nekit-single-content ol,
.nekit-single-content ul {
	margin: 0;
	padding-left: 20px;
}
.nekit-single-content ol li,
.nekit-single-content ul li {
	margin-bottom: 5px;
}
.nekit_dark_mode .sidemenu_wrap .dialog-widget-content {
	background-color: #000 !important;
}
.nekit_dark_mode .sidemenu_wrap .dialog-widget-content .elementor-widget-social-icons svg path {
	fill: #fff;
}
.nekit_dark_mode .sidemenu_wrap .dialog-widget-content .dialog-close-button svg {
	fill: #fff;
}
/* ************************* CF7 *************************  */

/* ****************************** Form ****************************** */

.form-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
}

.form-wrap .form-item {
    position: relative;
    width: 100%;
}

.form-wrap .form-item:not(.w-half) {
    grid-column: span 2;
}

.form-wrap .form-item input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
.form-wrap .form-item textarea {
    border: 1px solid #E8E8E8;
    border-radius: 0 !important;
    background-color: #e8e8e857;
    line-height: 1.5;
    font-size: 1rem;
    color: #02002A;
    padding-top: 0.557em;
    padding-right: 0.875em;
    padding-bottom: 0.557em;
    padding-left: 0.875em;
    outline: 2px solid transparent !important;
    outline-offset: -1px;
    transition: all .3s ease;
    font-weight: 400;
    width: 100%;
}

.form-wrap .form-item input::placeholder,
.form-wrap .form-item textarea::placeholder {
    opacity: 1 !important;
    color: #a2a2a2;
}

.form-wrap .form-item input:focus,
.form-wrap .form-item textarea:focus-visible {
    outline: 2px solid #02002a63 !important;
}

.form-wrap .form-item textarea {
    height: 134px;
}

.wpcf7 span.wpcf7-not-valid-tip {
    margin-top: 0.4rem;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.form-wrap .form-item label {
    line-height: 1.5;
    font-weight: 400;
    text-transform: none;
    color: #333;
    font-size: 0.875rem;
    margin-bottom: 6px;
    display: inline-block;
}

.form-wrap .form-item label:has(+span .wpcf7-validates-as-required):after {
    content: "*";
    padding: 0 2px;
    position: relative;
    top: 0;
    color: #CA9700;
    margin: 0;
}

.form-wrap .wpcf7-form-control-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* ************** Submit Button ************** */

.form-wrap .form-item.form-submit input[type="submit"] {
    padding-top: 12px;
    padding-right: 1.125em;
    padding-bottom: 12px;
    padding-left: 1.125em;
    font-size: 1rem;
    line-height: 1.5;
    color: #02002A;
    background-color: #FCD70D;
    position: relative;
    outline: none !important;
    letter-spacing: 0px;
    font-weight: 600;
    transition: all .3s ease;
    width: 100%;
    opacity: 1;
    margin-top: 0.5rem;
    border: 0;
    text-align: center;
    cursor: pointer;
}

.form-wrap .form-item.form-submit input[type="submit"]:hover {
    background-color: #CA9700;
    color: #fff;
}

.form-item.form-submit span.wpcf7-spinner {
    display: none;
    flex-shrink: 0;
}

form.submitting .wpcf7-spinner {
    display: block !important;
}

.form-item.form-submit p {
    display: flex;
    align-items: center;
}

/* ************** Submit Button ************** */

/* ************** Error ************** */

.wpcf7 form .wpcf7-response-output {
    margin-bottom: 0;
    margin-inline: 0;
    padding: 0.5rem 1rem;
    border-width: 1px;
    font-weight: 500;
}

.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
    color: #dc3232;
    border-color: #f8d7da;
    background: #f8d7da;
}

.wpcf7 form.sent .wpcf7-response-output {
	color: #46b450;
	border-color: #46b450;
	background: #e1fde3;
}

/* ************** Error ************** */

/* ************** CheckBox ************** */

.checkbox_wrap .wpcf7-form-control-wrap {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.form_checkbox .checkbox_wrap label {
	padding: 0;
	color: #000;
	position: relative;
	padding-left: 2em;
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	font-weight: 400;
	cursor: pointer;
}

.form_checkbox .checkbox_wrap label::before {
	position: absolute;
	content: '';
	width: 1.25em;
	height: 1.25em;
	border: 1px solid #000;
	top: 0.125em;
	left: 0;
	outline: 2px solid transparent !important;
	outline-offset: 2px;
	transition: all 0.3s ease-in-out;
	background: #fff;
	transform: unset;
}

.form_checkbox .checkbox_wrap label::after {
    position: absolute;
    content: '';
    width: 0.875em;
    height: 0.875em;
    opacity: 0;
    visibility: hidden;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%3E%3Cpath%20d='M11.6666%203.5L5.24992%209.91667L2.33325%207'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    top: 0.35em;
    left: 0.19em;
    transform: unset;
}

.form_checkbox .checkbox_wrap label a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
    transition: all 0.3s ease-in-out;
    color: #CA9700;
}

.checkbox_wrap {
    position: relative;
}

.form_checkbox .checkbox_wrap label a:hover {
    color: #000;
}

.form_checkbox .checkbox_wrap label:hover::before,
span.wpcf7-form-control-wrap:has(input:focus)+label::before,
span.wpcf7-form-control-wrap:has(input:focus-visible)+label::before {
    outline-color: #000 !important;
}

span.wpcf7-form-control-wrap:has(input:checked)+label::after {
    opacity: 1;
    visibility: visible;
}

span.wpcf7-form-control-wrap:has(input:checked)+label::before {
    background: #000;
    border-color: #000;
}

/* ************** CheckBox ************** */

/* ****************************** Form ****************************** */

.form-wrap .form-item p {
    margin: 0;
}

/* dark mode */
.nekit_dark_mode .form-wrap .form-item label {
    color: #fff;
}
.nekit_dark_mode .form-wrap .form-item input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]), 
.nekit_dark_mode .form-wrap .form-item textarea {
    background-color: #2d2d2d !important;
}
.nekit_dark_mode .form_checkbox .checkbox_wrap label {
    color: #fff;
}
.nekit_dark_mode .form_checkbox .checkbox_wrap label::before {
	border-color: #fff;
}
.nekit_dark_mode span.wpcf7-form-control-wrap:has(input:checked) + label::before {
	background: #fff;
	border-color: #fff;
}
.nekit_dark_mode .form_checkbox .checkbox_wrap label::after {
	background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%3E%3Cpath%20d='M11.6666%203.5L5.24992%209.91667L2.33325%207'%20stroke='black'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* dark mode */
/* ************************* CF7 *************************  */

/* ************************* responsive *************************  */
@media (max-width: 575px) {
	.nekit-filter-widget .post_title_filter_wrap {
		display: none;
	}
	.nekit-single-content table {
		width: 600px !important;
		overflow: auto;
	}
    .form-wrap {
        grid-template-columns: 1fr;
        gap: 1rem 2rem;
    }
    .form-wrap .form-item:not(.w-half) {
        grid-column: 1;
    }
}
/* ************************* responsive *************************  */