/*
Theme Name: Imbalance 2
Theme URI: http://www.wpshower.com/
Description: Imbalance 2 turns you Wordpress-based website to an attractive blog, portfolio or even online magazine. This free template designed in strict modern style with a minimalistic touch. Imbalance 2 can easily fresh up your web-magazine or blog. Due to modern flexible features and layout Imbalance 2 fits to almost any project and your visitors won't remain indifferent.
Author: WPSHOWER
Author URI: http://www.wpshower.com
Version: 1.0.3
License: GNU General Public License
License URI: license.txt
Tags: fluid, grid, blog, magazine, imbalance
*/

/* Import Manrope Google Font */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap");

/* Theme Color Variables */
:root {
  --theme-color: #f05133; /* Default theme color, will be overridden by PHP if set */
  --font-family: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html,
body,
form,
ul,
li,
table,
td {
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-family);
  font-size: 13px; /* Moved from combined selector */
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  text-decoration: underline;
}

a img {
  border: 0;
}

td {
  vertical-align: top;
}

ul {
  list-style-position: inside;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family);
  font-weight: 600;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 18px;
}

h3 {
  font-size: 12px;
}

blockquote {
  border-left-width: 3px;
  border-left-style: solid;
  margin-left: 7px;
  padding-left: 20px;
  font-size: 16px;
  color: #636363;
  border-color: var(--theme-color);
  font-family: var(--font-family);
  font-weight: 300;
  line-height: 1.5;
}

.fbx-item-current,
.fbx-item-next,
.fbx-stage {
  opacity: 1 !important;
}

.clear {
  clear: both;
}

.main_separator {
  color: #dedfe0;
}

.wrapper {
  width: 960px;
  margin: 0 auto;
  padding-top: 31px;
}

#header {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 20px 0 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Mobile menu toggle and header container for responsive layout */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 15px;
}

#site-title {
  flex: 1;
  padding-right: 15px;
}

#site-title a {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease;
  font-family: var(--font-family);
}

#site-title a:hover {
  opacity: 0.9;
}

#site-subheader {
  font-size: 13px;
  color: #777;
  font-weight: 400;
  margin: 3px 0 0;
  padding: 0;
  font-family: var(--font-family);
  line-height: 1.5rem; /* Combined duplicate */
  color: #a9a9a9; /* Combined duplicate */
  margin: 8px 0; /* Combined duplicate */
}

.main-navigation {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  margin-top: 5px;
}

#header-left .menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
  line-height: 1.5;
}

#header-left .menu li {
  margin: 0 15px 5px 0;
  position: relative;
}

#header-left .menu a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  padding: 3px 0;
  display: inline-block;
  transition: color 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.01em;
}

#header-left .menu a:hover,
#header-left .menu .current-menu-item a {
  color: var(--theme-color, #f05133);
}

/* Removed redundant #header-center, #search float/width */
#search label,
#search input[type="submit"] {
  display: none;
}

#search input[type="text"] {
  width: 200px;
  padding: 7px 9px;
  margin: 0;
  border: 1px solid #dedfe0;
  background: #fff;
  font-size: 13px;
  outline: none;
  font-family: var(--font-family); /* Applied font-family */
}

#page_search input[type="submit"] {
  display: none;
}

/* Removed redundant .menu styles, kept only the necessary ones for header navigation */

#boxes {
  margin-top: 40px;
}

.box {
  width: 210px;
  margin-bottom: 70px;
  color: #636363;
}

.box .rel {
  position: relative;
}

.box .rel p {
  margin: 0;
}

.box .texts {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 210px;
  color: #fff;
  z-index: 200;
  opacity: 0;
  filter: alpha(opacity=0);
  border: 20px solid var(--theme-color);
  background: var(--theme-color);
}

.box .texts .categories a,
.box .texts a,
.box .texts .posted,
.box .texts .posted a {
  color: #fff;
}

.box .texts .transparent img {
  opacity: 0.1;
  filter: alpha(opacity=10);
}

.box .texts .abs {
  position: absolute;
  top: 0;
}

.box .categories {
  padding-bottom: 10px;
  padding-top: 15px;
}

.box .categories a,
.box .posted a {
  color: #a1a1a1;
}

.box h1 {
  margin: 0;
  padding-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.box h1 a {
  color: #333;
}

.box .posted {
  padding-top: 10px;
  color: #a1a1a1;
}

.box img {
  display: block;
}

.fetch {
  clear: both;
  width: 460px;
  margin: 0 auto 40px;
  background: #f9f9f9;
  -moz-border-radius: 4px;
  border-radius: 4px;
  text-align: center;
}

.fetch a {
  display: block;
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.fetch:hover {
  background: var(--theme-color);
}

#content {
  padding-bottom: 20px;
}

#nav-above {
  float: left;
  width: 210px;
  padding-right: 40px;
  text-align: right;
  color: #636363;
}

#nav-above a {
  text-decoration: none;
  color: #333;
}

.nav-previous,
.nav-next {
  display: inline;
}

.nav-separator {
  color: #e5e5e5;
}

.post_title {
  margin-top: 35px;
  overflow: hidden;
}

.post_title h1 {
  margin: 0 0 10px 250px;
  font-size: 27px;
  line-height: 1.3;
  width: 710px;
  font-weight: 700;
}

.entry-title,
.page-title {
  margin-top: 35px;
  margin-bottom: 30px;
  line-height: 1.3;
  font-weight: 700;
}

.entry-meta {
  padding-bottom: 30px;
  color: #636363;
}

.entry-meta a {
  color: #333;
  text-decoration: none;
}

#wides {
  clear: both;
}

.entry-aside {
  width: 210px;
  padding-right: 40px;
  vertical-align: middle;
}

.entry-content-right {
  width: 710px;
  font-weight: 400;
  line-height: 1.6;
  font-size: 15px;
}

.entry-content {
  width: 710px;
  font-weight: 400;
  line-height: 1.6;
  font-size: 15px;
}

.entry-utility {
  padding: 10px 0;
}

.entry-tags {
  margin: 10px 0;
}

.entry-tags span {
  font-weight: bolder;
}

#social {
  padding: 20px 0 0 0;
}

.twitter-share-button {
  float: left;
  margin: 2px 20px 0 0;
}

.post img,
.page img {
  margin: 20px 0;
}

.post .alignleft,
.page .alignleft {
  float: left;
  margin-right: 20px;
}

.post .alignright,
.page .alignright {
  float: right;
  margin-left: 20px;
}

.post .aligncenter,
.page .aligncenter {
  display: block;
  clear: both;
  margin: 20px auto;
}

#comments {
  padding: 0 0 0 246px;
  width: 714px;
}

#comments-title {
  font-size: 21px;
  margin: 40px 0 20px 4px;
}

.commentlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.commentlist ul.children {
  list-style: none;
}

.commentlist li > div {
  position: relative;
  border-bottom: 1px solid #dedfe0;
  padding: 30px 0 30px 4px;
}

.commentlist li li > div {
  margin-left: 90px;
}

.commentlist li li li > div {
  margin-left: 180px;
}

.commentlist li li li li > div {
  margin-left: 270px;
}

.commentlist li li li li li > div {
  margin-left: 360px;
}

.comment-avatar {
  position: absolute;
  top: 30px;
  left: -96px;
}

.comment-content {
  margin-left: 96px;
  border-bottom: 1px solid #dedfe0;
}

.comment-author {
  float: left;
  width: 210px;
  padding-right: 40px;
  font-size: 15px;
  font-weight: 500;
}

cite {
  font-style: normal;
  font-weight: 600;
}

.comment-meta {
  float: left;
  width: 210px;
  padding-right: 40px;
  color: #999999;
}

.comment-body {
  clear: both;
  padding-top: 7px;
  font-size: 15px;
  line-height: 21px;
}

#respond {
  padding-left: 4px;
}

li.comment > div {
  position: relative;
}

.reply {
  position: absolute;
  top: 30px;
  right: 20px;
}

#reply-title {
  font-size: 21px;
}

.comment-reply-link {
  display: none;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
  float: left;
  width: 460px;
  margin: 0;
  padding: 10px 0;
}

.comment-form-comment {
  clear: both;
  width: 460px;
  margin: 0;
  padding: 10px 0;
}

input[type="text"],
textarea {
  background: #fff;
  border: 1px solid #ccc;
  padding: 8px;
  outline: none;
  color: #6b6b6b;
  -moz-border-radius: 4px;
  border-radius: 4px;
  font-family: var(--font-family); /* Applied font-family */
}

#comments input[type="text"] {
  width: 442px;
}

#comments textarea {
  width: 442px;
}

.form-submit {
  margin-bottom: 40px;
}

.form-submit input {
  width: 460px;
  padding: 6px 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  text-align: center;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background-color: var(--theme-color);
}

.recent {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #ccc;
}

#footer {
  padding: 30px 0 50px;
  border-top: 1px solid #dedfe0;
  text-align: center;
}

#site-info {
  width: 100%;
  margin: 0 auto;
  line-height: 22px;
  text-align: center;
}

#site-info a {
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

/* Removed redundant footer float/width */

#infscr-loading {
  background: none repeat scroll 0 0 #000000;
  bottom: 40px;
  color: #ffffff;
  height: 100px;
  left: 40%;
  opacity: 0.8;
  padding: 10px;
  position: fixed;
  width: 200px;
  z-index: 5000;
  border-radius: 10px;
}

/* Simple Responsive Styles */
@media screen and (max-width: 960px) {
  .wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .iframe-container {
    width: 100%;
    height: auto;
    overflow: hidden;
  }
}

@media screen and (max-width: 768px) {
  #header {
    padding-bottom: 15px;
  }

  #site-title,
  #header-left {
    width: 100%;
    float: none;
    padding-right: 0;
    margin-bottom: 20px;
    text-align: left;
  }

  #site-title {
    margin-bottom: 10px;
    font-size: 22px; /* Combined duplicate */
  }

  #site-subheader {
    font-size: 12px; /* Combined duplicate */
  }

  #search {
    float: none;
    width: 100%;
    margin: 20px 0;
  }

  #search input[type="text"] {
    width: 100%;
    box-sizing: border-box;
  }

  .mobile-menu-toggle {
    display: block !important; /* Force display with !important */
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
  }

  #header-left {
    display: none;
  }

  #header-left.active {
    display: block;
    margin-top: 20px;
  }

  .main-navigation {
    /* Modified to control display based on active class */
    display: none;
    margin-top: 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  .main-navigation.active {
    display: block;
  }

  #header-left .menu {
    /* Modified for mobile menu stacking */
    flex-direction: column;
  }

  #header-left .menu li {
    /* Modified for mobile menu stacking */
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
  }

  #header-left .menu li:last-child {
    border-bottom: none;
  }

  #header-left .menu a {
    /* Modified for mobile menu */
    display: block;
    font-size: 15px;
    padding: 3px 0;
    font-weight: 500; /* Combined duplicate */
  }

  .post_title h1,
  .entry-title,
  .page-title {
    margin-left: 0;
    width: 100%;
    font-size: 22px;
  }

  .entry-content {
    width: 100%;
    margin-left: 0;
  }

  #nav-above {
    float: none;
    width: 100%;
    padding-right: 0;
    text-align: center;
    margin-bottom: 20px;
  }

  .box {
    width: 45%;
    margin-right: 5%;
    float: left;
  }

  .box:nth-child(2n) {
    margin-right: 0;
  }

  .box .texts {
    width: 100%;
    left: 0;
  }

  #comments {
    padding: 0;
    width: 100%;
  }

  .comment-form-author,
  .comment-form-email,
  .comment-form-url,
  .comment-form-comment {
    width: 100%;
  }

  #comments input[type="text"],
  #comments textarea {
    width: 100%;
    box-sizing: border-box;
  }

  .form-submit input {
    width: 100%;
  }

  #site-info {
    /* Combined duplicate */
    float: none;
    width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  #footer-left,
  #footer-right {
    /* Combined redundant float/width */
    float: none;
    width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
  }

  #iframe1,
  #iframe2,
  #iframe3,
  #iframe4,
  #iframe5,
  #iframe6 {
    position: static;
    width: 100%;
    margin-bottom: 20px;
  }

  #footer {
    padding: 20px 0 30px;
  }
}

@media screen and (max-width: 480px) {
  #header {
    padding-bottom: 15px;
  }

  .box {
    width: 100%;
    margin-right: 0;
    float: none;
  }

  .post_title h1 {
    font-size: 20px;
    line-height: 28px;
  }

  .commentlist li li > div,
  .commentlist li li li > div,
  .commentlist li li li li > div,
  .commentlist li li li li li > div {
    margin-left: 20px;
  }

  .comment-avatar {
    display: none;
  }

  .comment-content {
    margin-left: 0;
  }

  .comment-author,
  .comment-meta {
    float: none;
    width: 100%;
    padding-right: 0;
  }

  #popupContainer {
    padding: 20px;
    width: 90%;
    max-width: none;
  }

  .popupQuote {
    font-size: 1.5em;
  }
}

/* Mobile Menu Toggle - base styling */
.mobile-menu-toggle {
  display: none; /* Hidden by default */
  background: none;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  padding: 8px;
  margin: 0;
  color: #333; /* Black color for icons */
  font-family: var(--font-family);
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background-color: #f5f5f5;
}

.mobile-menu-toggle.active {
  background-color: #f5f5f5;
}

.mobile-menu-toggle svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* Ensure this appears earlier in the stylesheet, before any overrides */

/* Update the media query to properly show the toggle on mobile */
@media screen and (max-width: 768px) {
  /* Make sure this rule appears after the base .mobile-menu-toggle definition */
  .mobile-menu-toggle {
    display: block !important; /* Force display with !important */
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px;
  }
}

/* Removed redundant mobile-menu-toggle active states and menu-icon line transitions as they were commented out or seemed unused */

/* Custom Menu Page - Keeping these as they seem to define specific page elements */
.hr-style1 {
  width: 50px;
  border: 0;
  border-top: 1px solid #d7d7d7;
  margin: 20px auto;
}

#popup {
  display: none;
  position: fixed;
  z-index: 3;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

#popupContainer {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 40px;
  border: 1px solid #888;
  max-width: 450px;
  width: 80%;
  text-align: center;
}

.popupClose {
  margin-top: 15px;
  cursor: pointer;
  display: block;
}

.popupHeader {
  font-size: 1.2em;
  color: #333333;
  font-weight: 300;
  padding-bottom: 20px;
  line-height: 1.5em;
}

.popupQuote {
  font-size: 2em;
  color: #333333;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.02em;
}

.popupAuthor {
  font-size: 0.9em;
  color: #9c9c9c;
  line-height: 1.3em;
}

.btn {
  display: inline-block;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 0.5rem 3rem;
  font-size: 0.9rem;
  border-radius: 0.25rem;
}

.btn-primary {
  border-radius: 0;
  color: #333333;
  border: 2px solid #333333;
  background-color: #ffffff;
  font-weight: 600;
}

#overlay {
  position: absolute;
  width: 300%;
  height: 300%;
  left: -100%;
  top: -100%;
  background-color: #ffffff;
  opacity: 0;
  z-index: 5;
  pointer-events: none;
}

.close {
  text-transform: uppercase;
  color: #909090;
  font-size: 1em;
  letter-spacing: 0.05em;
  margin-top: 5px;
  font-weight: 600;
  cursor: pointer;
}

.close:hover {
  text-decoration: underline;
}

#menu-container {
  width: 100%;
  height: 760px;
  background-color: #ffffff;
}

.sub-menu {
  margin: 0 auto;
  width: 220px;
  height: 220px;
  border-radius: 150px;
  background-color: white;
  position: absolute;
  z-index: 5; /* Kept higher z-index */
  border: 1px solid #d2d2d2;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#main-menu {
  margin: 0 auto;
  width: 200px;
  height: 200px;
  border-radius: 150px;
  background-color: transparent;
  position: relative;
  z-index: 1;
  background-color: #ffffff;
  border: 1px solid #d2d2d2;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#main-menu span {
  text-align: center;
  width: 100%;
  display: inline-block;
}

#back-menu {
  color: #333333;
  font-weight: bold;
}

.divItem {
  position: absolute;
  z-index: 3;
}

.menu-title {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.5em;
  letter-spacing: 0.1rem;
  color: #404040;
  font-family: var(--font-family);
}

.submenu-title {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.5em;
  letter-spacing: 0.1em;
  font-family: var(--font-family);
}

.menu-name {
  position: absolute;
  display: inline-block;
  text-align: center;
  padding: 0;
  margin: 0;
  background-color: transparent;
  padding: 0;
  width: 120px;
  font-size: 1.1em;
  z-index: 2;
  top: 50px;
  color: #757575 !important;
}

.anchor {
  position: absolute;
  background-color: transparent;
  text-align: center;
  border: 0;
  padding: 0;
  margin: 0;
  min-height: 40px;
  min-width: 40px;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.2s ease-in-out;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: none;
}

.nohover:hover {
  transform: none !important;
}

.anchor:hover {
  transform: scale(1.1) rotate(45deg);
}

.anchor:hover + .menu-name {
  font-weight: bold;
}

.sub-title {
  color: #bdbdbd;
  font-weight: 300;
}

.flex {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  align-content: center;
  justify-content: center;
  flex-direction: column;
}

/* Adding the iframes for live players */
.absiFrame {
  position: absolute;
  overflow: hidden; /* Changed from none to hidden for better practice */
}

.iframe-container {
  position: relative;
  width: 1000px;
  background-color: #fff;
  margin: 20px auto;
  height: 700px;
}

#iframe1 {
  right: 15%;
  top: 0;
}

#iframe2 {
  right: 0;
  top: 250px;
}

#iframe3 {
  right: 15%;
  top: 500px;
}

#iframe4 {
  left: 15%;
  top: 500px;
}

#iframe5 {
  left: 0;
  top: 250px;
}

#iframe6 {
  left: 15%;
  top: 0;
}

.m0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Theme Color Styles */
a,
.menu a:hover,
#nav-above a:hover,
#footer a:hover,
.entry-meta a:hover {
  color: var(--theme-color);
}

.fetch:hover {
  background: var(--theme-color);
}

.menu ul .current-menu-item a {
  color: var(--theme-color);
}

#respond .form-submit input {
  background: var(--theme-color);
}

.box .texts {
  border: 20px solid var(--theme-color);
  background: var(--theme-color);
}

/* Theme Options-Based Styles - Keeping this comment as it might be relevant for theme users */
.box .categories {
  padding-top: 15px;
}

/* Responsive Font Adjustments - Consolidated and adjusted */
@media (max-width: 768px) {
  body,
  input,
  textarea {
    font-size: 14px;
  }

  #site-title a {
    font-weight: 700;
  }
}

/* Paragraph margin added for readability */
p {
  margin-bottom: 1.2em;
  line-height: 1.6;
}

/* Apply font weights to various elements - Consolidated */
.btn {
  font-weight: 500;
}

.btn-primary {
  font-weight: 600;
}

.menu-title,
.submenu-title,
.mobile-menu-toggle,
#search input[type="text"],
.comment-form-author input,
.comment-form-email input,
.comment-form-url input,
.comment-form-comment textarea {
  font-family: var(--font-family);
}

.foogallery .fg-caption-title {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.fg-default.fg-gutter-10 {
  padding-left: 0px !important;
  margin-bottom: 0px !important;
}
.fg-default.fg-center {
  text-align: left !important;
}
