/* Mobile and desktop display
================================= */
.view-in-mobile {
  display: block;
}
.view-in-desktop {
  display: none;
}
/* Color and background
================================= */
.theme-color,
.primary {
  color: var(--primary);
}
.secondary,
.theme-color-two {
  color: var(--secondary);
}
.dark {
  color: var(--dark);
}
.light {
  color: var(--light);
}
.white {
  color: #ffffff;
}
.black {
  color: #000000;
}
/* Background */
.bg-theme-color,
.bg-primary {
  background-color: var(--primary);
}
.bg-secondary,
.bg-theme-color-two {
  background-color: var(--secondary);
}
.bg-dark {
  background-color: var(--dark);
}
.bg-light {
  background-color: var(--light);
}
.bg-black {
  background-color: #000000;
}
.bg-white {
  background-color: #ffffff;
}
/* Content and Text Alignment
================================= */
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}
.text-justify {
  text-align: justify;
}
.inline {
  display: inline-block;
}
/* Direction
================================= */
.rtl {
  direction: rtl;
}
.ltr {
  direction: ltr;
}
/*Font Size
================================= */
.size-1 {
  font-size: 1rem;
}
.size-2 {
  font-size: 1.25rem;
}
.size-3 {
  font-size: 1.5rem;
}
.size-4 {
  font-size: 2rem;
}
.size-5 {
  font-size: 2.5rem;
}
.size-6 {
  font-size: 3rem;
}
.size-small {
  font-size: 0.75rem;
}

/* icons image size
================================= */
.icon-s {
  max-height: 1rem;
}
.icon-m {
  max-height: 1.5rem;
}
.icon-l {
  max-height: 2rem;
}
.icon-xl {
  max-height: 3rem;
}
.icon-x2 {
  max-height: 4rem;
}
.icon-x3 {
  max-height: 5rem;
}

/* Shortcodes - Button
================================= */
.button-small {
  font-size: 0.75rem;
}
.button-medium {
  font-size: 1.25rem;
}
.button-large {
  font-size: 1.5rem;
}
/* Empty width and height
================================= */
.w20px {
  display: inline-block;
  width: 20px;
}
.w40px {
  display: inline-block;
  width: 40px;
}
.w50px {
  display: inline-block;
  width: 50px;
}
.w70px {
  display: inline-block;
  width: 70px;
}
.w100px {
  display: inline-block;
  width: 100px;
}
.empty {
  width: 100%;
  height: 2rem;
  padding: 2rem 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

/* Responsive Columns
================================= */
.items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}
.items img {
  display: block;
}
.columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.items:not(:last-child), .columns:not(:last-child) {
  margin-bottom: 1rem;
}
/* Create Equal width columns with no gap */
.column {
  flex: 1 1 230px;
  margin: 0;
  padding: 0;
}
/* flex-items width */
.w10,
.w20,
.w30,
.w40,
.w50,
.w60,
.w70,
.w80,
.w90 {
  flex-basis: 100%;
}

/* Flex - Common for all
================================= */
.space-between {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.v-center {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.h-center {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.vh-center {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
/* Shortcodes - Box
================================= */
.box, .box-dark, .box-primary, .box-secondary {
  position: relative;
  display: block;
  padding: 1rem;
  margin-bottom: 1rem;
}
.box p:last-child, .box-dark p:last-child, .box-primary p:last-child, .box-secondary p:last-child {
  margin: 0;
}
.box-primary {
  background-color: var(--primary);
  color: var(--dark);
}
.box-secondary {
  background-color: var(--secondary);
  color: #ffffff;
}
.box-dark {
  background-color: var(--dark);
  color: #ffffff;
}
.box-dark h1, .box-dark h2, .box-dark h3, .box-dark h4, .box-dark h5, .box-dark h6,
.box-secondary h1, .box-secondary h2, .box-secondary h3, .box-secondary h4, .box-secondary h5, .box-secondary h6 {
  color: var(--primary);
}
.box-title {
  background-color: var(--dark);
  color: #ffffff;
  padding: 2px 10px;
  border-radius: 4px;
}
.icon-box {
  position: relative;
  display: block;
  padding: 1rem;
  margin-bottom: 1rem;
}
/* Progress Bar
================================= */
.progress {
  display: flex;
  background-color: var(--secondary);
  color: var(--primary);
  border-radius: 50px;
  align-items: center;
  justify-content: center;
}
.progress:not(:last-child) {
  margin-bottom: 1rem;
}

/* Tag
================================= */
.tags:not(:last-child) {
  margin-bottom: 1.2rem;
}
.tag {
  position: relative;
  display: inline-block;
  background: var(--dark);
  color: #ffffff;
  padding: 0.4em 0.8em;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.tag:not(:last-child) {
  margin-right: 1.2em;
}
.tag::before {
  content: "#";
  color: var(--primary);
  margin-right: 6px;
}
.tag::after {
  position: absolute;
  top: 0;
  left: calc(100% - 1px);
  content: '';
  background: var(--dark);
  height: 100%;
  width: 1em;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}
.tag a,
a.tag {
  color: #ffffff;
}
.tag a:hover,
a.tag:hover {
  color: var(--primary);
}
/* Card
================================= */
.cards:not(:last-child) {
  margin-bottom: 1rem;
}
.card-content {
  padding: 1rem;
}

/* Modal
================================= */
.model-content {
  display: none;
}
.model-active {
  position: fixed;
  display: block;
  background: var(--light);
  padding: 1rem;
  top: 50%;
  left: 10px;
  right: 10px;
  max-height: calc(100vh - 60px);
  transform: translateY(-50%);
  box-shadow: 0 0 8px 2px var(--dark);
  z-index: 99;
  overflow: auto;
}
.model-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--dark);
  border: 2px solid var(--primary);
  color: var(--primary);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  outline: none;
}
/* Accordion and Toggle
================================= */
.accordion-title,
.toggle-title {
  position: relative;
  background-color: var(--light);
  padding: 10px 1rem;
  border-radius: 5px;
  cursor: pointer;
}
.accordion-title::after,
.toggle-title::after {
  position: absolute;
  content: "+";
  right: 1rem;
  color: var(--dark);
}
.accordion-title:not(:first-child),
.toggle-title:not(:first-child) {
  margin-top: 1rem;
}
.active-accordion,
.active-toggle {
  background-color: var(--secondary);
  color: #ffffff;
}
.active-accordion::after,
.active-toggle::after {
  content: "-";
  color: var(--primary);
}
.accordion-content,
.toggle-content {
  padding: 1rem;
}
/* Tab
================================= */
.tabs, .v-tabs {
  position: relative;
  display: flex;
  flex-direction: column;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  align-items: stretch;
}
.tabs:not(:last-child) {
  margin-bottom: 1rem;
}
.tab-nav {
  display: flex;
  justify-content: flex-start;
  padding: 0;
}
.tab-nav li {
  display: block;
  margin-right: 2px;
  padding: 0;
}
.tab-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border);
  border-bottom-color: transparent;
  color: var(--dark);
  margin-bottom: -1px;
  padding: 0.5em 1em;
  vertical-align: top;
  border-radius: 4px 4px 0 0;
}
.tab-nav a:hover {
  color: var(--dark);
  background-color: var(--primary);
  border-bottom-color: var(--primary);
}
.active-tab a {
  color: #ffffff;
  background-color:  var(--secondary);
  border-color:   var(--secondary);
  border-bottom-color: var(--secondary);
}
.tabs-content {
  border: 1px solid var(--border);
}
.tab-content {
  display: none;
  padding: 1rem;
}
.active-tab-content {
  display: block;
}
/* Vertical tabs */
.v-tabs {
  flex-direction: row;
}
.v-tabs .tab-nav {
  flex-direction: column;
}
.v-tabs .tab-nav a {
  border-right-color: transparent;
  border-bottom: 1px solid var(--border);
}
.v-tabs .tabs-content {
  flex-grow: 1;
  margin-left: -2px;
}

.sliding-titles {
  position: relative;
}
.sliding-titles li {
  display: none;
}
.sliding-titles li.active-title {
  display: block;
}
