/*
Theme Name: Ama
Theme URI: https://wp.spider-themes.com/ama/
Author: Spider Themes
Author URI: https://themeforest.net/user/spider-themes
Description: Ama is a powerful, responsive, and high-performance online forum WordPress theme that can assist you quickly develop your next community. It can be used for community, question answering, online discussion etc.
Version: 1.4.2
Requires at least: 5.0
Tested up to: 6.5.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ama
*/

:root {
  --brand_color: var(--accent_solid_color_opt, #078669);
  --secondary_color: var(--secondary_color_opt, #1d2746);
  --p_color: var(--paragraph_color_opt, #6b707f);
  --black_50: #ebebeb;
  --black_100: #d6d9dc;
  --black_150: #c8ccd0;
  --black_200: #bbc0c4;
  --black_300: #7d848d;
  --black_350: #9199a1;
  --black_400: #848d95;
  --black_500: #6a737c;
  --black_600: #535a60;
  --black_700: #3c4146;
  --black_750: #2f3337;
  --black_800: #242729;
  --black_900: #0c0d0e;
}

/* Custom css, in order to activate styles for social network icons on pages with the elementor plugin */

.wp-block-social-links {
  background: none;
  box-sizing: border-box;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
  text-indent: 0;
}

.wp-block-social-links,
.wp-block-social-links.has-normal-icon-size {
  font-size: 24px;
}

.wp-block-social-link {
  border-radius: 9999px;
  display: block;
  height: auto;
  transition: transform 0.1s ease;
}

:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link {
  background-color: #f0f0f0;
  color: #444;
}

:where(.wp-block-social-links:not(.is-style-logos-only))
  .wp-social-link-facebook {
  background-color: #0866ff;
  color: #fff;
}

:where(.wp-block-social-links:not(.is-style-logos-only)) .wp-social-link-x {
  background-color: #000;
  color: #fff;
}

.wp-block-social-links .wp-block-social-link.wp-social-link {
  display: inline-block;
  margin: 0;
  padding: 0;
}

:root :where(.wp-block-social-links .wp-social-link a) {
  padding: 0.25em;
}

.wp-block-social-link a {
  align-items: center;
  display: flex;
  line-height: 0;
  transition: transform 0.1s ease;
}

.wp-block-social-links .wp-social-link a,
.wp-block-social-links .wp-social-link a:hover {
  border-bottom: 0;
  box-shadow: none;
  text-decoration: none;
}

.wp-block-social-links .wp-social-link svg {
  height: 1em;
  width: 1em;
}

.wp-block-social-links
  .wp-block-social-link.wp-social-link
  .wp-block-social-link-anchor,
.wp-block-social-links
  .wp-block-social-link.wp-social-link
  .wp-block-social-link-anchor
  svg,
.wp-block-social-links
  .wp-block-social-link.wp-social-link
  .wp-block-social-link-anchor:active,
.wp-block-social-links
  .wp-block-social-link.wp-social-link
  .wp-block-social-link-anchor:hover,
.wp-block-social-links
  .wp-block-social-link.wp-social-link
  .wp-block-social-link-anchor:visited {
  color: currentColor;
  fill: currentColor;
}

.forum-post-widget .post-filter-widget .single-filter-item:nth-child(3),
.forum-post-widget .post-filter-widget .single-filter-item:nth-child(5),
.forum-post-widget .post-filter-widget .single-filter-item:nth-child(6) {
  display: none;
}

.banner-area-4 .row.pt-120.pb-30 {
  padding-top: 0;
}

@media (max-width: 560px) {
  .header_logo.header_logo img {
    max-width: 170px;
  }
}

.cf7-form .elementor-field-group {
  margin-bottom: 20px;
}

.cf7-form .elementor-field-label {
  margin-bottom: 10px;
}

.cf7-form .elementor-field-textual.elementor-field-textual {
  border-color: #dadce0;
}

.cf7-form .elementor-field-textual.elementor-field-textual:focus {
  border-color: #078669;
}

.cf7-form .wpcf7-textarea {
  max-height: 120px;
}

.cf7-form .elementor-field-type-text > p {
  width: 100%;
}

.cf7-form .wpcf7-submit {
  min-height: 47px;
  padding: 12px 35px 12px 35px;
  padding-block-end: 0;
  padding-block-start: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  border-radius: 4px 4px 4px 4px;
  border: none;
  background-color: #078669;
  transition: all 0.3s;
  cursor: pointer;
}

.cf7-form .wpcf7-submit:hover {
  color: #ffffff;
  box-shadow: 0 20px 30px 0 #046f5733;
  background-color: #05654f;
}

@media (min-width: 1200px) {
  .cf7-form__cols {
    display: flex;
    gap: 0 2%;
  }

  .cf7-form__cols > * {
    width: 49%;
  }
}

.new-login-popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 30px;
  background: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.new-login-popup #user-submit {
  margin-top: 0;
}

.new-login-popup__inner {
  position: relative;
  padding: 30px 20px 10px;
  max-width: 350px;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
}

.new-login-popup__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 25px;
  height: 25px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.new-login-popup__close::before,
.new-login-popup__close::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: #240f4d;
  transform-origin: center;
}

.new-login-popup__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.new-login-popup__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.new-login-popup__hint {
  margin-top: 20px;
}

.new-login-popup__hint button {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration: underline;
}

.new-login-popup__hint button:hover {
  text-decoration: none;
}
