/*
#
# Theme resume X
# Default style for resume X 
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

# Components
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
# Comments
# Menu

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}
img {
  max-width: 100%;
  height: auto;
}
/* Captions
--------------------------------------------- */
iframe {
  border: 0;
  max-width: 100%;
}
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}
.slicknav_menu {
  display: none;
}
input {
  max-width: 100%;
}
/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}
/* Table
--------------------------------------------- */
.entry-content table,
.comment-content table {
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.entry-content table td,
.entry-content table th,
.comment-content table td,
.comment-content table th {
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
  padding: 10px;
}

.entry-content table th,
.comment-content table th {
  background: #ccc;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* Comments
--------------------------------------------- */
input:not([type="submit"]),
input:not([type="checkbox"]) {
  border: 1px solid #ededed;
  min-height: 35px;
  padding: 5px 10px;
}
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}
.comment-respond {
  margin-top: 4rem;
  margin-bottom: 4rem;
  border: solid thin #eaeaea;
  padding: 1.75rem;
}

.comment-notes {
  font-size: medium;
  margin: 0px 0;
}

.comment-list {
  padding: 0;
}

.comments-title {
  font-size: medium;
}

.comment-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 1rem;
}

.comment-author img {
  border-radius: 50%;
  margin-right: 0.5rem;
}

.comment-metadata a {
  color: var(--color-gray-2);
}

.says {
  display: none;
}

.comment-reply-link {
  border: solid thin #eaeaea;
  padding: 0.2rem 0.5rem;
}

.comment-form-cookies-consent {
  font-size: medium;
  font-weight: normal;
}

.comments-area ol {
  list-style: none;
}

.comment-body {
  border: solid thin #e2e8f0;
  padding: 1rem;
  margin-bottom: 2rem;
  font-size: medium;
  word-wrap: break-word;
}

ol.children {
  margin-bottom: 0;
  margin-left: 0;
}

div.comments-area label {
  display: inline-block;
  margin-bottom: 0;
  color: var(--color-gray-2);
}

div.comment-respond h3 {
  font-size: inherit;
}

p.logged-in-as {
  font-size: medium;
  margin: 0px 0;
}

span.nav-subtitle {
  color: #999;
}
form#commentform input:not([type="checkbox"]) {
  display: block;
  width: 100%;
}
.comments-area {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  padding: 20px 20px;
  margin-bottom: 20px;
}
.comments-area .comment-form-comment label {
  display: block;
}
.comments-area .comment-form-comment textarea {
  width: 100%;
}
.comments-area p.form-submit {
  max-width: 200px;
}
@media only screen and (max-width: 991px) {
  .has-thumbnail .portfoliox-text.text-center.p-3 {
    margin-bottom: 2rem;
  }
}

/* Main Menu style
--------------------------------------------- */
.slicknav_menu,
.small-menubar {
  display: none;
}
.menu-bar {
  position: relative;
  box-shadow: 0 0 5px rgb(0 0 0 / 12%);
  margin: 5px 0;
}

div#resume-x-menu ul {
  margin: 0;
}
.main-navigation ul {
  list-style: outside none none;
  padding: 0;
  margin-bottom: 0;
}
.main-navigation ul ul {
  margin: 0;
}
.main-navigation ul li {
  display: inline-block;
  position: relative;
}
.main-navigation ul li a {
  color: #222;
  display: block;
  padding: 15px;
  margin: 3px 2px;
  text-decoration: inherit;
}
.main-navigation ul li:after {
  background: #fff none repeat scroll 0 0;
  content: "";
  height: 25px;
  margin-bottom: 12.5px;
  opacity: 0.2;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
  position: absolute;
  right: 0;
  top: 30%;
  width: 1px;
}
.main-navigation ul li:last-child:after {
  display: none;
}

/*dropdown menu*/

.main-navigation ul li ul {
  position: absolute;
  top: 60px;
  left: 0;
  z-index: 9;
  background: #fff;
  width: 250px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  visibility: hidden;
  text-align: left;
  box-shadow: 0px 5px 42px -6px rgb(92 91 92);
}

.main-navigation ul li ul li {
  display: block;
}

.main-navigation ul li li a,
.main-navigation ul li li:first-child a,
.main-navigation ul li li:last-child a,
.main-navigation ul li:first-child li a {
  padding: 15px;
  text-transform: none;
}

.main-navigation ul li li:after {
  bottom: auto;
  width: 100%;
  height: 1px;
  top: auto;
  margin-top: 0;
  opacity: 0.1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";
}

.main-navigation ul li li:hover > a,
.main-navigation ul li li.hover > a {
  background-color: #fff;
  color: #000;
}

.main-navigation ul li:hover > a,
.main-navigation ul li:focus > a {
  color: var(--color-primary);
}

.main-navigation ul li:hover ul,
.main-navigation ul li.hover ul {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  visibility: visible;
  top: 50px;
}

.main-navigation ul li ul ul {
  left: 250px;
}
.main-navigation ul li:hover ul li ul {
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  visibility: hidden;
}
.main-navigation ul li:hover ul li:hover > ul {
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  visibility: visible;
  top: 20px;
}
.main-navigation ul ul ul ul ul {
  right: 250px;
  left: auto;
}

.main-navigation ul ul ul ul ul ul ul {
  right: auto;
  left: 250px;
}

.main-navigation ul ul ul ul ul ul ul ul ul {
  left: auto;
  right: 250px;
}

.main-navigation ul ul ul ul ul ul ul ul ul ul ul {
  right: auto;
  left: 250px;
}
.main-navigation ul > li.menu-item.menu-item-has-children {
  padding-right: 15px;
}

.main-navigation ul ul li.menu-item.menu-item-has-children {
  padding-right: 0;
}
.main-navigation ul li.menu-item.menu-item-has-children > a,
.sm-main-navigation ul li.menu-item.menu-item-has-children > a {
  position: relative;
  z-index: 0;
}

.sm-main-navigation ul li.menu-item.menu-item-has-children > a:after,
.main-navigation ul li.menu-item.menu-item-has-children > a:after {
  position: absolute;
  top: 0;
  right: 2px;
  background: transparent;
  z-index: 99999;
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 8px;
  bottom: 0;
  display: flex;
  align-items: center;
}
ul.sub-menu li {
  background: #f1f1f1;
  border-bottom: 1px solid #ccc;
}
.main-navigation ul ul li.menu-item.menu-item-has-children > a:after {
  right: 12px;
}
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}
html body .slicknav_menu {
  z-index: 999;
  background: #000;
}
html body .slicknav_menu .slicknav_menutxt {
  display: none;
}
html body .slicknav_menu .slicknav_nav {
  background: #000;
  min-width: 250px;
}
html body .slicknav_menu .slicknav_btn {
  border-radius: 0;
  background: #000;
}

html body .slicknav_nav a:hover,
html body .slicknav_menu .slicknav_nav a:focus,
html body .slicknav_menu .slicknav_nav a:active {
  border-radius: 0;
  background: inherit;
  color: inherit;
  opacity: 0.8;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}
ul.slicknav_nav {
  background: #000;
  min-width: 320px;
}
html body .slicknav_menu .slicknav_icon {
  margin: 0;
  width: 20px;
  height: 15px;
}
html body.admin-bar .slicknav_menu {
  top: 40px;
}
@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: block;
  }
}
@media screen and (max-width: 991px) {
    .col-lg-12.rxmain-content {
      margin-top: 4rem;
    }

    /* Top bar */
    .sm-mobile-menu {
      background: #fff;
      width: 100%;
      padding: 5px 0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      position: fixed;
      top: 0;
      left: 0;
      z-index: 999998;
    }
    body.admin-bar .sm-mobile-menu {
      top: 46px;
    }
    .small-menubar {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .sm-mobile-menu .site-title a {
      text-decoration: inherit;
    }
    .sm-mobile-menu .site-title {
      font-size: 20px;
      margin: 0;
    }
    .sm-mobile-menu .head-logo-sec {
      display: flex;
      align-items: center;
    }
    .sm-mobile-menu .site-description {
      margin-bottom: 0;
    }
    .sm-mobile-menu .site-branding img {
      max-width: 70px;
      margin-right: 10px;
    }

    /* Hamburger button */
    button.btn.smallmenubtn {
      background: transparent;
      color: #000;
      box-shadow: none;
      border: none;
      padding: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      position: relative;
      cursor: pointer;
      z-index: 10;
    }
    .hamburger-icon {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      width: 26px;
      height: 20px;
      position: relative;
    }
    .hamburger-line {
      display: block;
      width: 100%;
      height: 3px;
      background-color: #333;
      border-radius: 3px;
      transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
      transform-origin: center;
    }
    /* Animate to X when menu is open */
    .smallmenubtn.active .hamburger-line:nth-child(1) {
      transform: translateY(8.5px) rotate(45deg);
    }
    .smallmenubtn.active .hamburger-line:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }
    .smallmenubtn.active .hamburger-line:nth-child(3) {
      transform: translateY(-8.5px) rotate(-45deg);
    }
    button.btn.smallmenubtn:focus,
    button.btn.smallmenubtn:hover {
      box-shadow: none;
      border: none;
      outline: 2px solid rgba(13, 110, 253, 0.47);
      outline-offset: 2px;
      border-radius: 4px;
    }
    button.btn.smallmenubtn:hover .hamburger-line {
      background-color: #0d6efd;
    }

    /* Overlay */
    .sm-menu-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999998;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .sm-menu-overlay.is-visible {
      opacity: 1;
      visibility: visible;
    }

    /* Off-canvas slide-in panel */
    .sm-offcanvas-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 300px;
      max-width: 85vw;
      height: 100vh;
      background: #fff;
      z-index: 999999;
      transform: translateX(-100%);
      transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .sm-offcanvas-menu.is-open {
      transform: translateX(0);
    }

    /* Off-canvas header */
    .sm-offcanvas-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 20px;
      border-bottom: 1px solid #eee;
      background: #f8f9fa;
      flex-shrink: 0;
    }
    .sm-offcanvas-title {
      font-size: 18px;
      font-weight: 600;
      color: #222;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .sm-offcanvas-close {
      background: none;
      border: none;
      font-size: 28px;
      line-height: 1;
      color: #666;
      cursor: pointer;
      padding: 0 4px;
      transition: color 0.2s ease;
    }
    .sm-offcanvas-close:hover {
      color: #e74c3c;
    }

    /* Nav inside off-canvas */
    nav#sm-navigation {
      flex: 1;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    nav#sm-navigation ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }
    nav#sm-navigation > div > ul > li > a {
      font-weight: 600;
    }
    nav#sm-navigation ul li {
      position: relative;
    }
    nav#sm-navigation ul li a {
      padding: 12px 20px;
      display: block;
      color: #333;
      text-decoration: none;
      border-bottom: 1px solid #f0f0f0;
      font-size: 15px;
      transition: background 0.2s ease, color 0.2s ease;
    }
    nav#sm-navigation ul li a:hover,
    nav#sm-navigation ul li a:focus {
      background: #f0f4ff;
      color: #0d6efd;
    }

    /* Dropdown toggle arrow button */
    .sm-dropdown-toggle {
      position: absolute;
      top: 0;
      right: 0;
      width: 48px;
      height: 48px;
      background: none;
      border: none;
      border-left: 1px solid #f0f0f0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s ease;
    }
    .sm-dropdown-toggle:hover {
      background: #f0f4ff;
    }
    .sm-dropdown-toggle .sm-arrow {
      display: inline-block;
      width: 8px;
      height: 8px;
      border-right: 2px solid #666;
      border-bottom: 2px solid #666;
      transform: rotate(45deg);
      transition: transform 0.3s ease;
    }
    .sm-dropdown-toggle.is-toggled .sm-arrow {
      transform: rotate(-135deg);
    }

    /* Sub-menus */
    nav#sm-navigation ul ul {
      display: none;
      background: #f8f9fa;
      border-top: 1px solid #eee;
    }
    nav#sm-navigation ul ul.is-open {
      display: block;
    }
    nav#sm-navigation ul ul li a {
      padding-left: 36px;
      font-size: 14px;
      color: #555;
      border-bottom-color: #eaeaea;
    }
    nav#sm-navigation ul ul ul li a {
      padding-left: 52px;
      font-size: 13px;
      color: #777;
    }
    nav#sm-navigation ul ul li a:hover,
    nav#sm-navigation ul ul li a:focus {
      background: #e8edff;
      color: #0d6efd;
    }

    /* Hide the CSS :after arrow from desktop menu */
    .sm-main-navigation ul li.menu-item.menu-item-has-children > a:after {
      display: none;
    }
}
