
/*
	Theme Name: Noqai
	Theme URI: https://iwebsite.co.il/
	Author: iWebsite
	Author URI: https://iwebsite.co.il/

	Template: genesis
	Template Version: 1.0

	License: GPL-2.0+
	License URI: http://www.opensource.org/licenses/gpl-license.php

	OPTIMIZATION NOTES:
	- Replaced float-based layout with modern Flexbox
	- Simplified column width calculations
	- Removed unnecessary clearfix styles
	- Improved button and form alignment
	- Maintained backward compatibility
*/

/* Table of Contents

	- HTML5 Reset
		- Baseline Normalize
		- Box Sizing
		- Float Clearing
	- Defaults
		- Typographical Elements
		- Headings
		- Icons
		- Objects
		- Gallery
		- Forms
	- Structure and Layout
		- Site Containers
		- Column Widths and Positions
		- Column Classes
	- Common Classes
		- Avatar
		- Genesis
		- Search Form
		- Titles
		- WordPress
	- Widgets
		- Featured Content
	- Plugins
		- Simple Social Icons
	- Site Header
		- Title Area
		- Widget Area
		- Shrink
	- Site Navigation
		- Header Navigation
		- Primary Navigation
	- Content Area
		- Home Page
		- Entries
		- Entry Meta
		- After Entry
		- Pagination
	- Sidebars
	- Footer Widgets
	- Site Footer
	- Form validation
	- Woocommerce
	- Media Queries
		- Max-width: 1360px
		- Max-width: 1280px
		- Max-width: 1023px
		- Max-width: 782px
		- Max-width: 480px

*/
@import url("theme-style.css");
/*
HTML5 Reset
---------------------------------------------------------------------------------------------------- */

/* Baseline Normalize
	normalize.css v2.1.3 | MIT License | git.io/normalize
--------------------------------------------- */
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
    font-family: "Assistant", sans-serif !important;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block
}

audio, canvas, video {
    display: inline-block
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden], template {
    display: none
}
.admin-bar .site-header {
    top: 32px;
}
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0;
    min-height: 100vh;
}

a {
    background: transparent
}

a:focus {
    outline: thin dotted
}

a:active, a:hover {
    outline: 0;
    text-decoration: none;

}

h1 {
    font-size: 2em;
    margin: .67em 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b, strong {
    font-weight: 600
}

dfn {
    font-style: italic
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

mark {
    background: #ff0;
    color: #2e2f33
}

code, kbd, pre, samp {
    font-family: monospace, serif;
    font-size: 1em
}

pre {
    white-space: pre-wrap
}

q {
    quotes: "\201C" "\201D" "\2018" "\2019"
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 0
}

fieldset {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    border: 0;
    padding: 0
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
	-webkit-appearance: none;
	border-radius: 0;
}

button, input {
    line-height: normal
}

button, select {
    text-transform: none
}

button, html input[type=button], input[type=reset], input[type=submit] {
    -webkit-appearance: button;
    cursor: pointer
}

button[disabled], html input[disabled] {
    cursor: default
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0
}

input[type=search] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type=search]::-webkit-search-cancel-button, input[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

textarea {
    overflow: auto;
    vertical-align: top
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

/* Box Sizing
--------------------------------------------- */

*,
input[type="search"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

* {
    outline: none !important;
}

/* Float Clearing - Modernized
--------------------------------------------- */

/* Clearfix is no longer needed with Flexbox */
/* These styles are kept for backward compatibility but not used */

.author-box:before,
.clearfix:before,
.entry:before,
.entry-content:before,
.footer-widgets:before,
.nav-primary:before,
.pagination:before,
.site-container:before,
.site-footer:before,
.site-header:before,
.site-inner:before,
.wrap:before {
    content: "";
    display: none;
}

.author-box:after,
.clearfix:after,
.entry:after,
.entry-content:after,
.footer-widgets:after,
.nav-primary:after,
.pagination:after,
.site-container:after,
.site-footer:after,
.site-header:after,
.site-inner:after,
.wrap:after {
    content: "";
    display: none;
}

/* Woocommerce minicart
*/

.mini-cart-dropdown ul.cart_list:before,
.mini-cart-dropdown ul.cart_list li:before {
    content: " ";
    display: table;
}

.mini-cart-dropdown ul.cart_list:after,
.mini-cart-dropdown ul.cart_list li:after {
    content: " ";
    display: table;
    clear: both;
}

/*
Defaults
---------------------------------------------------------------------------------------------------- */

/* Typographical Elements
--------------------------------------------- */
html {
    font-size: 16px;
}

body {
    background-color: #fff;
    color: #2e2f33;
    font-family: 'Assistant', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
.more-link {
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

::-moz-selection {
    background-color: #2e2f33;
    color: #fff;
}

::selection {
    background-color: #2e2f33;
    color: #fff;
}

a {
    color: #363a40;
    text-decoration: none;
    outline: none;
}

.content a:hover,
.sidebar a:hover,
a:hover {
    color: #2e2f33;
}

p {
    margin: 0 0 10px;
    padding: 0;
    font-size: 1.125rem;
    line-height: 1.5;
}

ol,
ul {
    margin: 0;
    padding: 0;
}

li {
    /*list-style-type: auto;*/
	list-style-position: inside;
}

b,
strong {
    font-weight: 600;
}

/*blockquote,*/
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 40px;
}

blockquote::before {
    content: "";
    display: block;
    height: 60px;
    width: 59px;
    left: 0px;
    position: relative;
    top: -16px;
    background-image: url(/wp-content/themes/rofim/images/cite.png);
}

button {
    outline: none;
}

main{
	width: 100%;
}
/* Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Assistant', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 15px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.375rem;
}

h4 {
    font-size: 1.125rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.75rem;
}
.display-none{
	display :none;
}
.hidden-opacity{
	visibility: hidden;
	opacity: 0;
}
/* Icons
--------------------------------------------- */

/* Objects
--------------------------------------------- */

embed,
iframe,
img,
object,
video,
.wp-caption {
    max-width: 100%;
}

img {
    height: auto;
}

.featured-content img,
.gallery img {
    width: auto;
}

/* Equal Column - Modernized with Flexbox
--------------------------------------------- */

.equal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.equal-column {
    margin: 0;
    width: 100%;
}

.equal-column-2 .equal-column {
    flex: 0 0 calc(50% - 10px);
}

.equal-column-3 .equal-column{
    flex: 0 0 calc(33.333% - 14px);
}

.equal-column-4 .equal-column {
    flex: 0 0 calc(25% - 15px);
}

.equal-column-5 .equal-column{
    flex: 0 0 calc(20% - 16px);
}

.equal-column-6 .equal-column{
    flex: 0 0 calc(16.666% - 17px);
}

.equal-column-7 .equal-column {
    flex: 0 0 calc(14.285% - 17px);
}

.equal-column-8 .equal-column {
    flex: 0 0 calc(12.5% - 17px);
}

.equal-column-9 .equal-column {
    flex: 0 0 calc(11.1% - 18px);
}

/* Clear is no longer needed with Flexbox */
.equal-column-2 .equal-column:nth-child(2n+1),
.equal-column-3 .equal-column:nth-child(3n+1),
.equal-column-4 .equal-column:nth-child(4n+1),
.equal-column-5 .equal-column:nth-child(5n+1),
.equal-column-6 .equal-column:nth-child(6n+1),
.equal-column-7 .equal-column:nth-child(7n+1),
.equal-column-8 .equal-column:nth-child(8n+1),
.equal-column-9 .equal-column:nth-child(9n+1) {
    /* Clear is not needed with Flexbox */
}



/* Forms
--------------------------------------------- */

input,
select,
textarea {
    background-color: transparent;
    border: 1px solid #ddd;
    box-shadow: none;
    color: #2e2f33;
    font-size: 1rem;
    font-weight: 400;
    line-height: 48px;
    padding: 0 10px;
    width: 100%;
}

input:focus,
textarea:focus {
    border: 1px solid #999;
    outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"],
input[type="number"] {
    width: auto;
}

input ::-webkit-input-placeholder {
    color: #a3a3a3;
}

input ::-moz-placeholder {
    color: #a3a3a3;
}

input :-moz-placeholder {
    color: #a3a3a3;
}

input :-ms-input-placeholder {
    color: #a3a3a3;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
.button,
.btn,
.button.alt,
.btn.alt,
.site-inner .woocommerce #respond input#submit,
.site-inner .woocommerce a.button,
.site-inner .woocommerce button.button,
.site-inner .woocommerce input.button,
.site-inner .product button.button.alt,
.btn-second,
.button-second {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0 15px;
    text-transform: uppercase;
    width: auto;
    outline: none;
    min-width: 160px;
    min-height: 48px;
}

button:hover,
input:hover[type="button"],
input:hover[type="reset"],
input:hover[type="submit"],
a.button:hover,
.button:hover,
.btn:hover,
.button.alt:hover,
.btn.alt:hover,
.site-inner .woocommerce #respond input#submit:hover,
.site-inner .woocommerce a.button:hover,
.site-inner .woocommerce button.button:hover,
.site-inner .woocommerce input.button:hover,
.site-inner .product button.button.alt:hover,
.btn-second:hover,
.button-second:hover {
      background-color: transparent;
}

.btn.light-btn {
    background-color: #f0d7ae;
    color: #212328;
}

.btn.light-btn:hover {
    background-color: rgba(255, 255, 255, 0.88);
}

.button {
    display: inline-block;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
    display: none;
}

/*
Structure and Layout
---------------------------------------------------------------------------------------------------- */
.ytp-chrome-top {
		display: none;
	}
/* Site Containers
--------------------------------------------- */

.wrap {
    margin: 0 auto;
    max-width: 1170px;
    width: 100%;
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.site-inner {
    background-color: transparent;
    width: 100%;
    margin: 0 0 60px;
}


/* Column Widths and Positions
--------------------------------------------- */

/* Content */

/*
Sidebars
---------------------------------------------------------------------------------------------------- */
/* Primary Sidebar
--------------------------------------------- */

.sidebar {
    font-size: 1rem;
    margin-bottom: 0;
    padding: 30px 0;
    max-width: 320px;
    width: 100%;
}

.sidebar-primary {
}

.sidebar-content .sidebar-primary,
.sidebar-sidebar-content .sidebar-primary,
.sidebar-content .sidebar {
    border: none;
    text-align: right;
}

.sidebar li {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.sidebar ul > li:last-child {
    margin-bottom: 0;
}

.sidebar .widget {
    padding: 30px 0;
}

/* Content with / without sidebars
--------------------------------------------- */

.content-sidebar {
    display: flex;
    gap: 30px;
}

.content-sidebar .content {
    flex: 1;
}

.content-sidebar .sidebar {
    flex: 0 0 320px;
}

.full-width-content .sidebar {
    display: none;
}

/* Column Classes - Modernized with Flexbox
--------------------------------------------- */

/* Flexbox container for columns - ADD THIS */
.flex-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Flexbox container for columns */
.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fourths,
.three-sixths,
.two-fourths,
.two-fifths,
.two-sixths,
.three-fifths,
.two-thirds {
    display: flex;
    flex-direction: column;
}

/* Column widths - simplified */
.three-fifths {
    flex: 0 0 58.97%;
}

.two-fifths {
    flex: 0 0 38.46%;
}

.one-half,
.three-sixths,
.two-fourths {
    flex: 0 0 48.72%;
}

.one-third,
.two-sixths {
    flex: 0 0 31.62%;
}

.four-sixths,
.two-thirds {
    flex: 0 0 65.81%;
}

.one-fourth {
    flex: 0 0 23.08%;
}

.three-fourths {
    flex: 0 0 74.36%;
}

.one-sixth {
    flex: 0 0 14.53%;
}

.five-sixths {
    flex: 0 0 82.91%;
}

/* First element reset */
.first {
    margin-left: 0;
}

/* Equal width columns */
.two-third-eq {
    flex: 0 0 66.66%;
}

.one-third-eq {
    flex: 0 0 33.33%;
}

.one-half-eq {
    flex: 0 0 50%;
}

.one-fourth-eq {
    flex: 0 0 25%;
}

/*
Common Classes
---------------------------------------------------------------------------------------------------- */

/* Search Form
--------------------------------------------- */

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header .search-form {
    margin-left: auto;
}

.genesis-nav-menu .search input[type="submit"],
.widget_search input[type="submit"] {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* Titles
--------------------------------------------- */

.page-title {
    color: #000;
    text-align: center;
}

.entry-title {
    font-size: 2rem;
}


.content .entry-title a,
.sidebar .widget-title a {
    color: #2e2f33;
}

.widget-title {
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-widgets .widget-title {
    text-transform: uppercase;
}

.desktop-rating {
    padding: 30px 0;
}

/* WordPress
--------------------------------------------- */

.alignleft {
    float: left;
    text-align: left;
}

.alignright {
    float: right;
    text-align: right;
}

a.alignleft,
a.alignnone,
a.alignright {
    max-width: 100%;
}

a.aligncenter img {
    display: block;
    margin: 0 auto;
}

img.centered,
.aligncenter {
    display: block;
    margin: 0 auto 10px;
}

a.alignnone {
    display: inline-block;
}

img.alignnone,
.alignnone {
    margin-bottom: 10px;
}

a.alignleft,
img.alignleft,
.wp-caption.alignleft {
    margin: 0 10px 10px 0;
}

a.alignright,
img.alignright,
.wp-caption.alignright {
    margin: 0 0 10px 10px;
}

.wp-caption-text {
    font-weight: 600;
    text-align: center;
}

.entry-content p.wp-caption-text {
    margin-bottom: 0;
}

.gallery-caption {
    margin: 0 0 10px;
}

/*
Widgets
---------------------------------------------------------------------------------------------------- */

.widget {
    margin-bottom: 30px;
    word-wrap: break-word;
}

.widget-area .widget:last-child {
    margin-bottom: 0;
}

.widget li li {
    border: none;
    margin: 0 0 0 30px;
    padding: 0;
}
@media only screen and (max-width: 1280px) {
	.wrap {
		max-width: 900px;
	}
}
@media only screen and (max-width: 1024px) {
	.wrap {
		max-width: 740px;
	}
}
@media only screen and (max-width: 782px) {
	.wrap {
		max-width: 550px;
        padding: 0;
	}
    .five-sixths,
    .four-sixths,
    .one-fourth,
    .one-half,
    .one-sixth,
    .one-third,
    .three-fourths,
    .three-sixths,
    .two-fourths,
    .two-sixths,
    .two-fifths,
    .three-fifths,
    .two-thirds {
        margin: 0 !important;
        width: 100%;
    }
}
@media only screen and (max-width: 600px) {

}
@media only screen and (max-width: 480px) {

}
@media only screen and (max-width: 380px) {

}



/* Import main theme styles */



/* This file is intentionally left mostly empty - styles will be added later */

