.header--topbar .top-menu {
  margin: 0;
  padding: 0;
  float: left;
}
.header--topbar .top-menu-right {
  margin: 0;
  padding: 0;
  float: right;
}

.header--topbar .top-menu > li {
  display: inline-block !important;
  list-style: none;
  line-height: 28px;
  height: 30px;
}

.header--topbar .top-menu-left li {
  line-height: 30px;
}

.header--topbar .top-li-auth {
  margin-right: 15px;
}

.header--topbar .top-menu > li > a {
  color: #c4c4c4;
  display: block;
  padding: 0 10px;
  font-size: 12px;
  height: 30px;
  line-height: 30px;
  position: relative;
}

.header--topbar .top-menu li a:hover {
  color: #fff;
}

.header--topbar .top-menu li span {
  color: #ddd;
  display: inline-block;
  font-size: 12px;
}

.header--topbar .top-menu .dropdown-menu {
  border: 1px solid #e6e6e6;
  min-width: 170px;
  padding: 0;
  left: -20px !important;
  z-index: 999999;
  margin-top: 4px;
}

.header--topbar .top-menu .dropdown li {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 3px 4px;
}

.profile-dropdown .dropdown-menu li:last-child {
  border-top: 1px solid #e6e6e6;
}

.header--topbar .top-menu .dropdown li a {
  width: 100%;
  max-width: 100%;
  color: #606060;
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  padding: 4px 15px;
  position: relative;
  text-align: left;
}

.header--topbar .top-menu .dropdown li a:hover {
  background-color: #f5f5f5;
}

.header--topbar .top-menu .lang-dropdown li a {
  padding: 4px 16px;
}

.header--topbar .top-menu .dropdown li a i {
  display: inline-block;
  font-size: 14px;
  width: 20px;
  text-align: left;
  color: #606060;
}

.header--topbar .top-menu-right {
  margin: 0;
  padding: 0;
  float: right;
  height: 30px;
}

.top-menu .profile-dropdown .a-profile {
  font-weight: 500;
}

.top-menu .profile-dropdown img {
  border-radius: 100%;
  display: inline-block;
  height: 30px;
  margin-right: 5px;
  width: 30px;
  border: 1px solid #545454;
  position: relative;
  top: -1.3px;
  left: 0;
}

.top-menu .profile-dropdown li {
  height: auto;
  line-height: 30px;
}

.top-menu .top-li-auth a {
  display: inline-block !important;
}

.top-menu .top-li-auth span {
  color: #ddd;
}
.post-share {
  display: table;
  width: 100%;
  float: left;
  margin-bottom: 15px;
}

.post-share .share-left {
  display: table-cell;
  white-space: nowrap;
  vertical-align: top;
  padding-right: 30px;
}

.post-share .share-right {
  display: table-cell;
  vertical-align: top;
}

.post-share .share-box {
  margin: 0;
  padding: 0;
  text-align: left;
}

.post-share .share-box li {
  display: inline-block;
  font-size: 12px;
  line-height: 12px;
  margin-right: 8px;
  margin-bottom: 8px;
}

.post-share .share-box .social-btn-sm {
  height: 38px;
  width: 38px;
  color: #fff;
  float: left;
  overflow: hidden;
  position: relative;
  border-radius: 0.25rem;
  line-height: 38px;
  text-align: center;
  font-size: 15px;
  -moz-transition: all 0.2s ease-in-out 0s;
  -webkit-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
}

.post-share .share-box li .social-btn-lg {
  color: #fff;
  float: left;
  padding: 0 25px;
  line-height: 36px;
  text-decoration: none;
  -moz-transition: all 0.2s ease-in-out 0s;
  -webkit-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
  height: 38px;
  min-width: 110px;
  border-radius: 0.25rem;
}

.post-share .share-box li .social-btn-lg span {
  position: relative;
}

.post-share .share-box li .social-btn-lg:hover {
  opacity: 0.8;
}

.post-share .share-box li .social-btn-sm:hover {
  opacity: 0.8;
}

.post-share .share-box li .social-btn-lg i {
  font-size: 15px;
  position: relative;
  margin-right: 10px;
}

.post-share .share-box .share-li-sm {
  display: none;
}

.post-share .share-title {
  float: left;
  font-size: 14px;
  font-weight: 600;
  line-height: 42px;
  margin: 0;
}

.post-share .share-title i {
  margin-right: 5px;
}

.share-box li a.facebook {
  background: #3b5998 !important;
}

.share-box li a.twitter {
  background: #55acee;
}

.share-box li a.linkedin {
  background: #007bb5;
}

.share-box li a.whatsapp {
  background: #3ebe2b;
}

.share-box li a.whatsapp i {
  font-size: 17px;
}

.share-box li a.pinterest {
  background: #cb2027;
}

.share-box li a.tumblr {
  background: #2c4762;
}

.share-box li a.btn-print {
  background: #444;
}

.share-box li a.youtube {
  background: #b00;
}

.share-box li a.add-reading-list {
  background-color: #bababa;
  color: #fff !important;
  font-size: 15px !important;
}

.share-box li a.remove-reading-list {
  background-color: #43a047;
  color: #fff !important;
  font-size: 15px !important;
}
.post-share .share-box .share-li-lg {
  display: none;
}

.post-share .share-box .share-li-sm {
  display: inline-block;
}
.post-share .share-box .social-btn-sm {
  height: 38px;
  line-height: 38px;
  width: 38px;
}
.post-share .share-box li {
  margin-right: 5px;
  margin-bottom: 0;
}
.home-button {
  color: #ffffff;
  font-size: 19px;
}
/*comment box*/
.row-sub-comment {
  margin-left: 80px;
}
.title-404 h1 {
  text-align: center;
  font-weight: 600;
  margin: 0;
  font-size: 120px;
  line-height: 130px;
}
.sub-title-404 h2 {
  font-size: 20px;
}
.back-home-404 {
  width: 100%;
  height: 35px;
}
/*modal popup*/
.modal-dialog {
  width: 770px;
  margin: 100px auto;
}

.modal-header {
  padding: 15px;
  border-bottom: none;
  position: absolute;
  z-index: 100;
  right: 0;
}

.close {
  float: right;
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: 1;
}
.close:hover,
.close:focus {
  color: #f00;
  text-decoration: none;
  text-shadow: 0 1px 0 #f00;
  cursor: pointer;
  filter: alpha(opacity=50);
  opacity: 1;
}
.modal-body {
  position: relative;
  padding: 0;
}
.comment-success-message {
  color: #388e3c;
  font-size: 15px;
}

.summary {
  font-size: 16px !important;
  color: #868686;
  line-height: 24px;
}
/*Gallery*/
.portfolio-menu {
  text-align: center;
  padding: 10px;
}
.portfolio-menu ul li {
  display: inline-block;
  margin: 0;
  list-style: none;
  padding: 10px 15px;
  cursor: pointer;
  -webkit-transition: all 05s ease;
  -moz-transition: all 05s ease;
  -ms-transition: all 05s ease;
  -o-transition: all 05s ease;
  transition: all 0.5s ease;
}

.portfolio-item {
  /*width:100%;*/
}
.portfolio-item .item {
  /*width:303px;*/
  float: left;
  margin-bottom: 10px;
}
.portfolio-menu .btn {
  font-size: 15px;
  /* height: 29px; */
  padding: 4px;
}
.author {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  color: #009787 !important;
  font-size: 16px !important;
}
/*=== Gallery ==*/
.gallery_post_home {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
/*======= Featured post section (4)===========*/
.first-featured-title {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  color: #000000 !important;
  font-size: 21px !important;
}
.first-featured-summery {
  font-size: 15px !important;
  color: #868686 !important;
  line-height: 24px;
  margin-top: 7px;
  text-align: justify;
}
.featured-title {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 800;
  /*color: #000000 !important;*/
  font-size: 16px !important;
}
/*Team member details */
.team-member-details {
  margin-top: 34px;
  text-align: center;
}
.member-info {
  padding: 17px 20px 20px;
  border-style: solid;
  border-width: 0 1px 1px;
  margin-bottom: 15px;
}
.member-info .name {
  text-align: center;
}
.member-info .name h4 {
  margin-top: 3px;
  margin-bottom: 1px;
}
.member-info .position {
  font-size: 14px;
}
.member-info .position p {
  color: #989292;
  margin: unset;
  line-height: 25px;
}
.social--widget.style--3 .nav > li {
  display: inline-block;
  margin: 3px 10px 1px;
}
.about_me {
  text-align: left;
}
/*disclaimer */
.disclaimer {
  background-color: #e5f3ff;
  padding: 10px;
}
.disclaimer p {
  font-size: 15px;
  line-height: 20px;
}

/* fatwa */
.modal-dialog-ask-form {
  width: 925px;
  margin: 10px auto;
}

.close {
  float: right;
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
  opacity: 1;
}
.close:hover,
.close:focus {
  color: #f00;
  text-decoration: none;
  text-shadow: 0 1px 0 #f00;
  cursor: pointer;
  filter: alpha(opacity=50);
  opacity: 1;
}
.modal-body {
  position: relative;
  padding: 0;
}
.panel {
  margin-bottom: 20px;
  background-color: #f9f9f9;
  border: none;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
  box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
}
.panel-group .panel {
  border-radius: 4px;
  padding-bottom: 10px;
}
.panel-heading {
  padding: 18px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.panel-ask-qsn {
}
.panel-ask-qsn-heading {
  background-color: #4caf50 !important;
}
.panel-ask-qsn > .panel-heading {
  color: #fff;
  background-color: #337ab7;
  /* border-color: #337ab7; */
}
/*Ask question form*/
.ask-q-from {
  /*width: 100%;*/
  /*margin: 60px auto;*/
  /*background: #121c52;*/
  padding: 12px 20px 54px 28px;
  text-align: center;
  -webkit-box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
}
.ask-q-from label {
  display: block;
  position: relative;
  margin: 40px 0px;
}
.ask-q-from .label-txt {
  position: absolute;
  top: -1.6em;
  padding: 10px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.8em;
  letter-spacing: 1px;
  color: #009787;
  transition: ease 0.3s;
}
.ask-q-from .input {
  width: 100%;
  padding-top: 15px;
  padding-left: 10px;
  font-size: 18px;
  background: transparent;
  color: #000;
  border: none;
  outline: none;
}

.ask-q-from .line-box {
  position: relative;
  width: 100%;
  height: 2px;
  background: #bcbcbc;
}

.ask-q-from .line {
  position: absolute;
  width: 0%;
  height: 2px;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  background: #8bc34a;
  transition: ease 0.6s;
}

.ask-q-from .input:focus + .line-box .line {
  width: 100%;
}

.ask-q-from .label-active {
  top: -3em;
}

.ask-q-from button {
  display: inline-block;
  padding: 12px 24px;
  background: rgb(220, 220, 220);
  font-weight: bold;
  color: rgb(120, 120, 120);
  border: none;
  outline: none;
  border-radius: 3px;
  cursor: pointer;
  transition: ease 0.3s;
}

.ask-q-from button:hover {
  background: #8bc34a;
  color: #ffffff;
}
.fatwa-ask-question-content {
  /*padding-left: 15px;
    padding-top: 20px;*/
  padding: 15px;
  background-color: #121c52;
  color: #fff;
}
.select {
  position: relative;
  min-width: 200px;
  padding-top: 12px;
}
.select svg {
  position: absolute;
  right: 12px;
  top: calc(50% - 3px);
  width: 10px;
  height: 6px;
  stroke-width: 2px;
  stroke: #9098a9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.select select {
  -webkit-appearance: none;
  padding: 7px 40px 7px 12px;
  width: 100%;
  border: 1px solid #e8eaed;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 3px -2px #9098a9;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  transition: all 150ms ease;
}
.select select:required:invalid {
  color: #5a667f;
}
.select select option {
  color: #223254;
}
.select select option[value=''][disabled] {
  display: none;
}
.select select:focus {
  outline: none;
  border-color: #07f;
  box-shadow: 0 0 0 2px rgba(0, 119, 255, 0.2);
}
.select select:hover + svg {
  stroke: #07f;
}
.sprites {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  user-select: none;
}
.ftwa-qsn-area {
  width: 100%;
  margin-top: 15px;
  height: 127px;
}

/*end*/

.fatwa-questions {
  padding: 16px 20px 3px;
  background-color: #f2f3f5;
  overflow: hidden;
  box-shadow: 0 1px 20px rgb(0 0 0 / 6%);
}
.fatwa-questions .title .h4 {
  font-size: 20px;
  letter-spacing: 0.03em;
  line-height: 1.35;
  font-family: 'Manjari', sans-serif;
  font-weight: 700;
}
.questions--info {
  margin-bottom: 8px;
  color: #d01111;
  line-height: 9px;
  margin-top: 12px;
}
.questions--info .name {
  float: left;
  margin-bottom: 0;
  color: #009787;
  font-weight: 600;
  font-size: 18px;
}
.questions--info .date {
  float: left;
  margin-left: 15px;
  margin-bottom: 0;
  font-size: small;
  padding-left: 14px;
  border-left: 1px solid #ccc;
}
.asked_by {
  color: #000;
  font-size: 16px;
  font-weight: 700;
}
.asked_by-info {
  float: left;
}
.asked_by_label {
  color: #009787;
  font-weight: 600;
  font-size: 18px;
}
.asked_date {
  font-size: 13px;
}
.q_code {
  font-size: 14px;
  color: #000;
  font-weight: 600;
  float: right;
}
.fatwa-question-info {
  padding: 16px 20px 3px;
  background-color: #f2f3f5;
  overflow: hidden;
  box-shadow: 0 1px 20px rgb(0 0 0 / 6%);
}
.fatwa-question-info .title .h4 {
  font-size: 20px;
  letter-spacing: 0.03em;
  line-height: 1.35;
  font-family: 'Manjari', sans-serif;
  font-weight: 700;
}
.fatwa-question-info .subject {
  color: #009787;
}
.fatwa-author {
  font-weight: 700;
  color: #009787 !important;
  font-size: 14px !important;
  letter-spacing: 0.01em;
}
.show-on-hover:hover > ul.dropdown-menu {
  display: block;
}
.show-on-hover > .dropdown-menu > li > a {
  padding-top: 9px;
  padding-bottom: 10px;
  font-size: 16px;
  color: #000;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  /*swal*/
  .swal-modal {
    width: 478px;
    opacity: 0;
    pointer-events: none;
    background-color: #fff;
    text-align: center;
    border-radius: 5px;
    position: static;
    margin: 11px auto;
    display: inline-block;
    vertical-align: top;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    z-index: 10001;
    transition: opacity 0.2s, -webkit-transform 0.3s;
    transition: transform 0.3s, opacity 0.2s;
    transition: transform 0.3s, opacity 0.2s, -webkit-transform 0.3s;
  }
}

.error-message {
  margin-top: 15px;
  padding-left: 15px;
  color: #d43f3a;
}

.error-message p {
  position: relative;
  color: #d43f3a;
  display: list-item;
  margin-bottom: 5px;
}

.success-message {
  margin-top: 15px;
  padding-left: 15px;
}

.success-message p {
  position: relative;
  color: #00a65a;
  margin-bottom: 5px;
}

.input-error {
  border-color: #dc3545 !important;
}
