* {
  margin: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #3d9eff;
}

body {
  font-family: "Matter";
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  text-align: left;
  overflow-x: hidden;
  color: #fff;
  background: #f8f8ff;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1250px;
  padding: 0 15px;
  margin: 0 auto;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: row;
}

a {
  transition: all ease-in-out 0.3s;
  text-decoration: none;
  color: var(--primary-color);
}

.d-flex {
  display: flex;
}

.align-center {
  align-items: center;
}

.justify-space-between {
  justify-content: space-between;
}

.p-0 {
  padding: 0;
}
.mb-30 {
  margin-bottom: 30px;
}
.mt-30 {
  margin-top: 30px;
}
body {
  background: #292826;
}
header.login-header {
  padding: 10px 30px;
  box-shadow: 0px 0px 5px 0px #ffffff80;
  min-height: 65px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-bar {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all ease-in-out 0.5s;
}

.search-bar.search-close {
  position: relative;
  width: auto;
  height: auto;
}
input[type="search"] {
  -webkit-appearance: none !important;
  background-clip: padding-box;
  background-color: white;
  vertical-align: middle;
  border-radius: 0.25rem;
  border: 1px solid #e0e0e5;
  font-size: 1rem;
  width: 100%;
  line-height: 2;
  padding: 0.375rem 1.25rem;
  -webkit-transition: border-color 0.2s;
  -moz-transition: border-color 0.2s;
  transition: border-color 0.2s;
}

form.search-form {
  display: flex;
  justify-content: center;
  width: 600px;
  align-items: center;
}

label {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: auto;
  align-self: center;
  margin-bottom: 0;
}

input.search-field {
  margin-bottom: 0;
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: auto;
  align-self: center;
  height: 45px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  text-indent: 0px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.search-submit {
  height: 45px;
  display: inline-block;
  background: #f9d342;
  border: 1px solid transparent;
  vertical-align: middle;
  text-shadow: none;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  padding: 10px 15px;
  width: 55px;
}

.search-submit:hover,
.search-submit:active {
  cursor: pointer;
  background: #000000;
  outline: 0;
  border: 1px solid #ffffffa6;
}
.search-submit:focus {
  outline: 0;
  border: 1px solid #ffffffa6;
}
ul.toggle {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: 30px;
  width: 35px;
  height: 40px;
  cursor: pointer;
  transform: translateY(-50%);
}

ul.toggle li {
  position: absolute;
  left: 0px;
  transform: translateY(-50%);
  height: 5px;
  width: 100%;
  list-style: none;
  background: #fff;
  transition: 0.5s;
}
ul.toggle:hover li {
  background: #f9d342;
}
ul.toggle li:nth-of-type(1) {
  top: 20%;
}

ul.toggle li:nth-of-type(2) {
  top: 50%;
}

ul.toggle li:nth-of-type(3) {
  top: 80%;
}

ul.toggle.active li:nth-of-type(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.toggle.active li:nth-of-type(2) {
  left: -100%;
  opacity: 0;
}

ul.toggle.active li:nth-of-type(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/******Sidebar******/
.sidebar {
  position: fixed;
  top: 0;
  right: -350px;
  background: #262626;
  width: 350px;
  height: 100vh;
  box-sizing: border-box;
  padding: 65px 20px;
  transition: 0.9s;
  z-index: 4;
  overflow: auto;
}
.sidebar::-webkit-scrollbar-track {
  background-color: #f5f5f5;
}

.sidebar::-webkit-scrollbar {
  width: 5px;
  background-color: #f5f5f5;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #000000;
}

.sidebar.active {
  right: 0;
}

.sidebar img {
  border-radius: 50%;
  background: #fff;
}

.sidebar img:hover {
  background: #f9d342;
}

.sidebar ul.menu {
  position: relative;
  width: 100%;
  margin-top: 20px;
  padding: 0;
}

.sidebar ul.menu li {
  list-style: none;
}

.sidebar ul.menu li a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  width: 100%;
  padding: 10px 10px;
  box-sizing: border-box;
  font-size: 15px;
}

.sidebar ul.menu li:hover a {
  background: #f9d342;
  color: #000;
}

/**************/
.hidden {
  display: none;
}
.morelink {
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: 10px;
  padding-right: 22px;
  background-image: url(../images/right-arrow.png);
  background-repeat: no-repeat;
  background-size: 21px;
  background-position-x: right;
}
.morelink:hover {
  color: #f9d342;
}

.answers {
  position: relative;
  font-size: 15px;
  font-weight: 300;
}
.question-wrap {
  background: rgb(255 255 255 / 12%);
  padding: 25px;
  border-radius: 5px;
  margin-top: 25px;
  color: #fff;
  font-size: 22px;
}

.question {
  font-size: 22px;
  font-weight: 500;
  color: #f9d342;
  margin-bottom: 10px;
  padding-right: 150px;
}

.morecontent span {
  display: none;
}
.morelink {
  display: table;
}

ul.qustion-top-info {
  list-style: none;
  padding: 0;
  position: absolute;
  right: 15px;
  top: 5px;
  display: flex;
  align-items: center;
}

.question-wrap {
  position: relative;
}

ul.qustion-top-info li {
  padding: 5px 10px;
  background: rgb(167 167 167 / 13%);
  margin: 2px;
  border-radius: 2px;
  min-height: 35px;
  display: flex;
  align-items: center;
  opacity: 0.8;
  cursor: pointer;
}
ul.qustion-top-info li:hover {
  background: rgb(167 167 167 / 20%);
  opacity: 1;
}

ul.qustion-top-info li img {
  height: 18px;
  filter: invert(1);
}

.add-question-wrap {
  background: rgb(255 255 255 / 12%);
  padding: 25px;
  max-width: 650px;
  border-radius: 5px;
  margin: 35px auto;
  color: #fff;
  position: relative;
}

/***********************/

.popup_body {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 15px;
  z-index: 5;
  bottom: 0;
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -o-transition: 300ms;
  -ms-transition: 300ms;
  transition: 300ms;
  /* margin-bottom: 30px; */
}
.popup_back {
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin-bottom: 30p;
}
.popup_body_show {
  display: flex;
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -o-transition: 300ms;
  -ms-transition: 300ms;
  align-items: center;
}
.popup-small {
  width: 800px;
  margin-top: 35px;
}
.popup-small {
  position: relative;
  background: #838080;
  margin: 0 auto;
  min-height: 150px;
  overflow: auto;
  padding: 40px;
  color: white;
  text-align: center;
  max-height: calc(100vh - 100px);
}
.popup_close {
  padding: 7px 12px 7px;
  position: relative;
  right: 0;
  top: 0;
  cursor: pointer;
}
.popup_close img {
  width: 15px;
  height: 15px;
}
.top-poup-info .right-buttons button:hover {
  opacity: 1;
}
.popup-list-buttons {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 25px 0px 0px;
}
.d-btn {
  font-size: 16px;
  background: #f9d342;
  color: #000;
  padding: 15px 45px;
  align-items: center;
  text-transform: uppercase;
  border-radius: 5px;
  border: none;
  font-weight: 500;
  cursor: pointer;
}

.close-right-btn {
  background: #f3f3f3;
  border: 1px solid #ddd;
  color: #000;
  opacity: 0.6;
  font-size: 18px;
  border-radius: 50%;
  position: absolute;
  right: 5px;
  width: 40px;
  top: 5px;
  height: 40px;
  display: flex;
  align-items: center;
}

.close-right-btn:hover {
  opacity: 1;
}
.d-btn:hover {
  background: #000;
  color: #fff;
}

.m-title {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-form-wrapper {
  text-align: left;
}

p.description {
  opacity: 0.8;
  margin-bottom: 15px;
}

input,
textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 14px 15px;
  font-size: 15px;
  background: #edeef2;
  border: 1px solid #edeef2;
  font-family: "Matter";
}

input:focus,
textarea:focus {
  outline: none;
  border: 1px solid #000;
}

input.d-btn {
  margin-bottom: 0px;
  text-align: center;
}
.search-submit:hover img {
  filter: invert(1);
}

.user-profile {
  display: flex;
  align-items: center;
  color: #fff;
  cursor: pointer;
}

.user-profile .user-image {
  width: 75px;
  margin-right: 15px;
}

.user-profile p.username {
  font-size: 20px;
  font-weight: 500;
  color: #f9d342;
}
/***************************************/

@media screen and (max-width: 991px) {
  header.login-header {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 768px) {
  header.login-header {
    justify-content: flex-start;
  }
  form.search-form {
    width: 90%;
  }
  input[type="search"] {
    padding: 10px 15px;
  }
  header.login-header {
    padding: 10px 10px;
  }
  ul.toggle {
    right: 10px;
    width: 30px;
  }
  .search-submit {
    padding: 10px 10px;
    width: 45px;
  }
  .search-bar.search-close form.search-form label {
    display: none;
  }
  .search-bar.search-close form.search-form {
    width: auto;
  }
  .search-bar.search-close form.search-form {
    justify-content: flex-start;
  }
  .sidebar {
    width: 300px;
  }
  .question {
    margin-top: 15px;
    padding-right: 0px;
  }
  .question-wrap {
    padding: 25px 15px;
  }
  body {
    font-size: 15px;
  }
  .question {
    font-size: 17px;
  }
  .answers {
    font-size: 14px;
  }
  .user-profile .user-image {
    width: 65px;
    margin-right: 10px;
  }
  ul.qustion-top-info {
    right: 10px;
    top: 2px;
  }
  .popup-small {
    padding: 40px 25px;
  }
}

.input-box {
  width: 100%;
  margin-bottom: 15px;
  padding: 14px 15px;
  font-size: 15px;
  background: #edeef2;
  border: 1px solid #edeef2;
  font-family: "Matter";
  text-indent: 0px;
}

.read-more-less--more,
.read-more-less--less {
  color: rgb(26, 24, 24);
}

.wrapper-class {
  padding: 1rem;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  background-color: black;
}
.editor-class {
  background-color: lightgray;
  padding: 1rem;
  border: 1px solid #ccc;
}
.toolbar-class {
  border: 1px solid #ccc;
}

.DraftEditor-editorContainer {
    height: 200px;
}

.rdw-editor-toolbar {
  background-color: transparent;
}

.show-more {
  text-align: center;
  padding: 15px;
  cursor: pointer;
  font-size: 22px;
  color: rgb(20, 20, 243);
  text-decoration: underline;
}