/*
Theme Name: Gemma Labs
Theme URI: https://www.shield.com.np
Author: Shield Technology
Author URI: https://www.shield.com.np
Description: Custom theme created for Gemma Labs
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gemmalabs
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you’ve learned with others.
*/

/*------------- header--------- */

@import url("https://fonts.googleapis.com/css2?family=Raleway&display=swap");

body {
  font-family: "Raleway", sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.archive-blog-box h4 {
  color: #111 !important;
}

/* site-nav */
.navbar {
  padding: 0;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.navbar-brand img {
  height: auto;
  width: 220px;
}

.menu-nav-menu-container .menu-item {
  list-style-type: none;
}

.menu-item a {
  text-decoration: none;
}

.navbar-nav .menu-item a {
  /* nav-link */
  display: block;
  font-family: "Raleway", sans-serif;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  color: #000;
  padding: 30px 13px;
  border-top: 3px solid #fff;
}
.navbar-nav .menu-item a:hover {
  color: #00a8b6;
}
#primary-menu .menu-item.active a {
  color: #00a8b6;
}
/* ---------contact-pages -------------*/
.page-template-contact-us-page .wp-block-columns {
  margin-bottom: 0;
}

.page-template-contact-us-page #primary {
  background-color: #f1f1f1;
}

.page-template-contact-us-page article {
  padding: 50px 0;
}

h2.wp-block-heading {
  padding-bottom: 0.3rem;
}

article ul {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.page-template-contact-us-page .wpcf7-form {
  background: #fff;
  padding: 1rem 2.5rem;
  box-shadow: 0 4px 11px -5px rgba(0, 0, 0, 0.4);
}

.page-template-contact-us-page .wpcf7-form p {
  padding-bottom: 0rem;
}

.page-template-contact-us-page textarea.wpcf7-form-control.wpcf7-textarea,
.page-template-contact-us-page input.wpcf7-form-control.wpcf7-text {
  margin-top: 0.5rem;
}

.career-form {
  padding: 1rem 3rem;
  box-shadow: 0 4px 11px -5px rgba(0, 0, 0, 0.4);
}

.page-template-contact-us-page .wpcf7-form p,
.career-form p {
  display: block !important;
  font-size: 15px;
  font-weight: 600;
}

.page-template-contact-us-page textarea,
.page-template-contact-us-page input {
  width: 100%;
  background: #f8fafb;
  border: 1px solid #cbd6e2;
}

.page-template-contact-us-page input {
  height: 40px;
}

.page-template-contact-us-page .wpcf7-submit {
  margin-top: 1.2rem;
  background: #00a8b5;
  color: #f0f0f0;
  text-transform: uppercase;
  border-radius: 0;
  letter-spacing: 1px;
  font-size: 15px;
  font-weight: 600;
  border-color: #00a8b5;
}

.page-template-contact-us-page .wpcf7-form p,
.career-form p {
  margin: 0;
}

.grecaptcha-badge {
  visibility: hidden;
}

hr.ub_divider {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

#primary-menu i.far.fa-check-circle {
  color: #00a8b6;
  font-weight: 400;
  font-size: 18px;
  position: relative;
  padding-right: 0.4rem;
  top: 1.2px;
  /* justify-content: flex-start; */
  /* align-content: stretch; */
}

/* ---------page-template-full-width-greybg -------------*/
.page-template-full-width-greybg #primary {
  background: #f1f1f1;
}

.page-template-full-width-greybg .wp-block-column {
  background: #fff;
}

.page-template-full-width-greybg .wp-block-column {
  margin-bottom: 1rem;
}

.page-template-full-width-greybg
  .wp-block-columns
  .wp-block-column
  .wp-block-columns
  .wp-block-column,
.page-template-full-width-greybg .wp-block-column .wp-block-columns {
  margin-bottom: 0;
}

.report-image {
  display: flex;
  justify-content: center;
}

.report-colon {
  display: inline-block;
  margin-right: 1rem;
}

.report-qr {
  margin-left: 1rem;
}

img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
  width: 100%;
  height: auto;
}

.archive-box-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  margin: 0;
}

/* [1] The container */
.img-hover-zoom {
  height: auto;
  /* [1.1] Set it as per your need */
  overflow: hidden;
  /* [1.2] Hide the overflowing of child elements */
}

/* [2] Transition property for smooth transformation of images */
.img-hover-zoom img {
  transition: transform 0.5s ease;
}

/* [3] Finally, transforming the image when container gets hovered */
.img-hover-zoom:hover img {
  transform: scale(1.2);
}

.alignwide,
.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

@media screen and (min-width: 992px) {
  #primary-menu .menu-item {
    border-bottom: #fff 3px solid;
  }
  #primary-menu .menu-item:hover,
  #primary-menu .menu-item.active {
    color: #00a8b6;
    border-bottom: #00a8b6 3px solid;
  }
}

/* ---------dropdown -------------*/
.sub-menu {
  /* dropdown-menu */
  border-radius: 0;
  border-bottom: #00a8b6 3px solid !important;
  width: 200px;
  padding: 0;
  position: absolute;

  /* bootstrap css without adding more classes */
  --bs-dropdown-zindex: 1000;
  --bs-dropdown-min-width: 10rem;
  --bs-dropdown-padding-x: 0;
  --bs-dropdown-padding-y: 0.5rem;
  --bs-dropdown-spacer: 0.125rem;
  --bs-dropdown-font-size: 1rem;
  --bs-dropdown-color: var(--bs-body-color);
  --bs-dropdown-bg: var(--bs-body-bg);
  --bs-dropdown-border-color: var(--bs-border-color-translucent);
  --bs-dropdown-border-radius: 0.375rem;
  --bs-dropdown-border-width: var(--bs-border-width);
  --bs-dropdown-inner-border-radius: calc(0.375rem - var(--bs-border-width));
  --bs-dropdown-divider-bg: var(--bs-border-color-translucent);
  --bs-dropdown-divider-margin-y: 0.5rem;
  --bs-dropdown-box-shadow: 0 0.5rem 1rem rgba(var(--bs-body-color-rgb), 0.15);
  --bs-dropdown-link-color: var(--bs-body-color);
  --bs-dropdown-link-hover-color: var(--bs-body-color);
  --bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-link-active-bg: #0d6efd;
  --bs-dropdown-link-disabled-color: #adb5bd;
  --bs-dropdown-item-padding-x: 1rem;
  --bs-dropdown-item-padding-y: 0.25rem;
  --bs-dropdown-header-color: #6c757d;
  --bs-dropdown-header-padding-x: 1rem;
  --bs-dropdown-header-padding-y: 0.5rem;
  position: absolute;
  z-index: var(--bs-dropdown-zindex);
  display: none;
  min-width: var(--bs-dropdown-min-width);
  margin: 0;
  font-size: var(--bs-dropdown-font-size);
  color: var(--bs-dropdown-color);
  text-align: left;
  list-style: none;
  background-color: var(--bs-dropdown-bg);
  background-clip: padding-box;
  border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
}

.sub-menu a {
  /* dropdown-item */
  border-bottom: 1px solid #f7f7f7;
  height: 33px;
  font-weight: 500 !important;
  padding: 4px 16px !important;
}

.sub-menu a:hover {
  border-top: #fff 3px solid !important;
  color: #000 !important;
  background-color: var(--bs-dropdown-link-hover-bg);
}

@media all and (min-width: 992px) {
  .navbar .menu-item .sub-menu {
    display: none;
  }

  .navbar .menu-item:hover .sub-menu {
    display: block;
  }

  .navbar .menu-item .sub-menu {
    margin-top: 0;
  }
}

.menu-item-has-children {
  position: relative;
}

/* ----------------responsive navbar---------- */
@media screen and (max-width: 992px) {
  .navbar-nav .menu-item a {
    /* nav-link */
    padding: 10px 5px !important;
    border-bottom: 1px solid #e8e8e8;
  }

  .menu-item {
    margin: 0 5px;
  }

  .navbar-nav {
    margin: 25px 0 !important;
  }

  .navbar-toggler {
    background-color: #00a8b6;
    color: #fff;
    padding: 5px;
  }

  .navbar-toggler-icon {
    width: 1.5em;
    height: 1em;
    font-size: 16px;
    font-weight: 600;
  }
}

@media screen and (min-width: 992px) {
  .menu-item-has-children a::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f107";
    display: inline-block;
    margin-left: 4px;
    font-size: 12px;
  }

  .sub-menu a::after {
    content: none;
  }
}

/* ----------------footer-------------- */
.site-footer {
  background-color: #0b2629;
  color: #fff;
  bottom: 0;
  width: 100%;
  min-height: 35vh;
  padding: 4em 0 2em 0;
}

.site-footer .navbar-nav .menu-item a {
  display: contents;
  color: #fefefe;
  font-size: 14px;
  text-transform: none;
  font-weight: normal;
  padding: 0;
  border: none;
}

.site-footer p {
  font-size: 14px;
  display: contents;
  color: #fefefe;
  text-transform: none;
  font-weight: normal;
  padding: 0;
  border: none;
}

.site-footer h5 {
  color: #777;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.social-icons {
  margin-top: 50px;
}

.social-icons a {
  /* font-size: 14px; */
}

.social-icons .wp-social-link-facebook,
.social-icons .wp-social-link-instagram,
.social-icons .wp-social-link-twitter {
  background-color: #fff !important;
  color: #212529 !important;
}

.site-footer .widget-title {
  font-size: 15px;
  color: #9cd4d0;
  font-weight: 600;
}

.newsletter-form input {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-radius: 35px !important;
  padding: 0.5rem 1.5rem !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
}

.newsletter-form input:focus {
  border: #fff solid 1px !important;
}

.newsletter-form button {
  font-size: 0.8rem !important;
  border-radius: 0.25rem !important;
  background-color: #c69d66 !important;
  padding: 0.5rem 0.9rem !important;
  border: none !important;
  font-weight: 600;
}

.wp-block-ub-tabbed-content .wp-block-ub-tabbed-content-tabs-content {
  background: #fff;
}

.qr-code-img {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qr-code-img img {
  width: 80px;
  height: auto;
}

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

@media screen and (max-width: 772px) {
  .qr-code-img img {
    width: 150px;
  }
}

/* ---------------footer copyright---------- */
.footer-copyright p {
  color: #fefefe;
  margin: 0;
  padding: 0;
  font-size: 0.9em;
  padding: 1.5rem 0;
  text-align: center;
}

/* ------------------contact us------------ */
.map-contact-us {
  background-color: #e5e3df;
  min-height: 450px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.map-contact-us img {
  width: 50px;
  height: auto;
  position: absolute;
  z-index: 1;
}

.mapbox {
  z-index: 2;
  width: 100%;
  height: 450px;
}

.wpforms-submit {
  background-color: #000 !important;
  color: #fff !important;
  transition: 0.3s;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0 !important;
}

/* -----------------body----------------- */
.breadcrumbs,
.breadcrumbs a {
  color: white;
  text-decoration: none;
}

.featured-image {
  height: 350px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #9cd4d0;
}

.featured-text {
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.entry-title {
  color: #fff;
  font-weight: bolder;
  text-transform: uppercase;
}

hr {
  opacity: 1;
}

.page-spacing {
  margin: 4em 0;
}

.home-info .wp-block-column {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  padding: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-info .wp-block-column img {
  width: 250px;
  height: auto;
}

.home-info i {
  font-size: 20px;
}

.home-info a {
  color: #000;
}

.home-membership-info ul li {
  color: #fff;
  font-size: 20px;
}

.home-membership-info .wp-block-button__link {
  border-radius: 0 !important;
  background-color: #fff !important;
  color: #000 !important;
  transition: 0.3s;
}

.home-membership-info .wp-block-button__link:hover {
  background-color: #000 !important;
  color: #fff !important;
}

/*report verification*/
.report-details {
  margin: 0;
}

.report-details .entry-title,
.report-details .breadcrumbs,
.report-details .breadcrumbs a {
  color: #111;
}

.report-detail-title {
  text-align: center;
  margin-top: 80px;
  margin-bottom: 3rem;
}

.report-form-box {
  padding: 4rem 0;
  background-color: #f1f1f1;
}

.report-details .report-form {
  padding: 2rem;
  border: 5px #ccc solid;
  background: #fff;
}

.report-form label {
  font-weight: 600;
  margin-right: 0.5rem;
}

.report-form .btn {
  margin-left: 0.5rem;
  background: #00a8b5;
  color: #f0f0f0;
  text-transform: uppercase;
  border-radius: 0;
  letter-spacing: 1px;
  font-size: 15px;
  border-color: #00a8b5;
}

.report-form .btn:hover {
  background: #02909c;
}

.report-form input {
  height: 38px;
}

.report-form form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.report-detail {
  margin-top: 3rem;
}

.report-detail h2 {
  margin-bottom: 2rem;
}

.report-qr img {
  max-width: 150px;
  height: auto;
}

.report-image img {
  width: 80%;
  height: auto;
}

/* teams plugin */
.tmm .tmm_member .tmm_textblock .tmm_sociallink img {
  width: 30px !important;
  height: 30px !important;
}

.site-main ol li,
.site-main ul li {
  margin-bottom: 1em;
}

/* Back To Top Button */

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 28px;
  border: none;
  outline: none;
  background-color: #00a8b5;
  color: #e9e9e9;
  cursor: pointer;
  padding: 0.2em 0.6em;
}

#myBtn:hover {
  color: #464646;
  background: #cccccc;
  transition: 0.8s;
}

.fixed-top {
  top: -40px;
  transform: translateY(40px);
  transition: transform 0.6s;
  background: #fff;
  opacity: 0.9;
}

.featured-image h1 {
  color: #fff;
}

.archive .featured-image {
  margin-bottom: 3rem;
}

.archive-blog-box-in h2 {
  color: #000;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.single-post-box {
  margin: 3rem 0;
}

.archive #colophon {
  margin-top: 3rem;
}

.archive #page {
  background: #f1f1f1;
}

.archive-blog-box-in {
  padding: 2rem;
  margin-bottom: 2rem;
  background: #fff;
}

a.ub-expand-toggle-button {
  background-color: #00a8b5;
  color: #ffffff;
  border: none;
  border-radius: 0;
  width: 50%;
  padding: 8px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 auto;
}
a.ub-expand-toggle-button:hover {
  background-color: #00becb;
}

/* Dropdown menu panel */
.custom-navigation .dropdown-menu {
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  min-width: 200px;
  animation: fadeInDown 0.2s ease;
}

/* Submenu items */
.custom-navigation .dropdown-item {
  padding: 10px 20px;
  font-size: 14px;
  color: #333;
  transition:
    background 0.2s,
    color 0.2s;
}

.custom-navigation .dropdown-item:hover,
.custom-navigation .dropdown-item:focus {
  background-color: #f5f5f5;
  color: #000;
}

/* Arrow only on top-level toggle — Bootstrap adds this automatically */
/* If you want to customize it: */
.custom-navigation .navbar-nav > li.dropdown > a.dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
}

/* Mobile */
@media (max-width: 991px) {
  .custom-navigation .dropdown-menu {
    box-shadow: none;
    padding-left: 16px;
    background: transparent;
  }
  .custom-navigation .dropdown-item {
    color: inherit;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-item-has-children ul li a::after {
  display: none;
}

@media (min-width: 992px) {
  .dropdown-toggle::after {
    border-top: 0px !important;
  }
}
