/*
Theme Name: Vwalt
Theme URI: vwalt.com
Author: OMiD
Author URI: wohil.com
Description: Vwalt Theme.
Version: 2.5
*/

:root {
  --real-vh: 100vh;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('/wp-content/uploads/fonts/Vazirmatn[wght].woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  text-decoration: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  direction: rtl;
  text-align: right;
}

* {
  font-family: inherit;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  flex-direction: column;
  background-color: #fff;
  min-width: 320px;
  max-width: 100rem;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  text-decoration: none;
  min-height: 100vh;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 100%;
}

::-webkit-scrollbar {
  display: none;
}

a {
  text-decoration: none;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
a,
.category-button,
.wp-block-button__link {
  cursor: pointer;
}

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

.layout {
  display: flex;
  width: 100%;
  height: var(--real-vh);
}

.sidebar-left {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 10px 20px;
  flex: 1;
}

.sidebar-center {
  flex: 2;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: 100px;
  height: var(--real-vh);
  box-sizing: border-box;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

.sidebar-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 13px;
  padding: 10px 20px;
  flex: 1;
}

@media (max-width: 1024px) {
  * {
    -webkit-tap-highlight-color: transparent;
   }

  *:hover {
    transition: none !important;
   }

  a:hover, button:hover, input[type="button"]:hover, input[type="submit"]:hover {
    background-color: none !important;
    color: none !important;
    border-color: none !important;
    text-decoration: none !important;
   }
   
    body {
     align-items: normal;
   }

  a, button, input[type="button"], input[type="submit"] {
    pointer-events: auto !important;
   }
  
  .layout {
    margin: unset;
   }
   
  .sidebar-left {
    flex: none;
   }
  
  .sidebar-center {
    background: #f2f4f7;
    max-width: 100%;
    border: none;
    padding-bottom: 150px;
  }
}

[data-theme="dark"] table {
    color: #e7e9ea;
}