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

/* Apply dark theme immediately to prevent flash */
html[data-theme="dark"] body,
html[data-theme="dark"] {
  --main-nav-text: #FCFCFD;
  --main-nav-bg: #0F172A;
  --header-text: #FCFCFD;
  --sub-header-text: #DDCCDD;
  --search-box-text: #B5B8C8;
  --search-box-boundary: #595C65;
  --card-header: #FCFCFD;
  --card-subtext: #DCDEE4;
  --link-text: #B5B8C5;
  --button-color: #FFFFFF;
  --screen-bg: #0F172A;
  --link-hover: #3C3655;
  --card-hover: #DAB9EC;
  --link-hover-text: #FFFFFF;
  --card-boundary: #3D3E47;
  --mode-icon: #FFC000;
  --side-menu-selected: #303747;
  --srach-box-details: #151842;
  --use-case-card: #201D4C;
  --feedback-box: #202941;
  --grey-color: #EDECEC;
  --notes-border: #3B73EC;
  --notes-bg: #001D56;
  background-image: url('https://cyware-techdocs.s3.us-east-1.amazonaws.com/details-page-dark-mode.svg');
}

html[data-theme="dark"] body {
  background-color: #0F172A;
  color: #FCFCFD;
}


.DocSearch-Container {
  z-index: 2000 !important;
}
.DocSearch-Logo {
  display: none !important;
}
.DocSearch-Footer {
  display: none !important;
}
.DocSearch-Button {
  background: var(--screen-bg) !important;
  border: 1px solid !important;
  width: 240px !important;
 border-radius: 40px 0 0 40px !important;
}
.DocSearch-Button .DocSearch-Search-Icon {
  width: 20px !important;
  height: 16px !important;
  color: var(--search-box-text) !important;
}
.DocSearch-Button-Placeholder {
  font-size: 14px !important;
}
.DocSearch-Hit-AskAIButton-title {
    align-items: center !important;
}
.DocSearch-Button-Keys {
  display: none !important;
}
body {
  --main-nav-text: #1D222F;
  --main-nav-bg: #FFFFFF;
  --header-text: #3F375E;
  --sub-header-text: #6D6882;
  --search-box-text: #5B637E;
  --search-box-boundary: #8A8D95;
  --card-header: #3F375E;
  --card-subtext: #6D6882;
  --link-text: #3F375E;
  --button-color: #6B10FF;
  --screen-bg: #FFFFFF;
  --link-hover: #F4EDFF;
  --card-hover: #4A00E0;
  --link-hover-text: #1E1F24;
  --card-boundary: #D5D5D5;
  --mode-icon: #1B2C7E;
  --side-menu-selected: #EEF0FB;
  --srach-box-details: #FFFFFF;
  --use-case-card: #EEEBFD;
  --feedback-box: #F6F4FF;
  --grey-color: #EDECEC;
  --notes-border: #6884FD;
  --notes-bg: #E9EDFF;
  background-image: url('https://cyware-techdocs.s3.us-east-1.amazonaws.com/details-page-light-mode.svg'); /* Default light background */
  transition: background-image 0.2s ease, color 0.2s ease, background-color 0.2s ease; /* Smooth transitions */
}

body.dark-theme {
  --main-nav-text: #FCFCFD;
  --main-nav-bg: #0F172A;
  --header-text: #FCFCFD;
  --sub-header-text: #DDCCDD;
  --search-box-text: #B5B8C8;
  --search-box-boundary: #595C65;
  --card-header: #FCFCFD;
  --card-subtext: #DCDEE4;
  --link-text: #B5B8C5;
  --button-color: #FFFFFF;
  --screen-bg: #0F172A;
  --link-hover: #3C3655;
  --card-hover: #DAB9EC;
  --link-hover-text: #FFFFFF;
  --card-boundary: #3D3E47;
  --mode-icon: #FFC000;
  --side-menu-selected: #303747;
  --srach-box-details: #151842;
  --use-case-card: #201D4C;
  --feedback-box: #202941;
  --grey-color: #EDECEC;
  --notes-border: #6884FD;
  --notes-bg: #00105C;
  background-image: url('https://cyware-techdocs.s3.us-east-1.amazonaws.com/details-page-dark-mode.svg'); /* Dark background */
}

body {
  color: var(--header-text);
  font-family: "Inter", sans-serif !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
}
body.theme2 {
  background-color: var(--main-nav-bg) !important;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: "Open Sans", sans-serif !important;
}

pre,
code.code {
  border: none;
  white-space: pre;
}

.portal-header::before {
  background-color: transparent !important;
}

.portal-header-navbar + .inner {
  margin-top: 80px;
}

.portal-header::after {
  opacity: 1 !important;
  filter: none;
}

.portal-header {
  padding: 2px 20px;
  height: 290px;
}

thead {
  background-color: var(--side-menu-selected) !important;
}

.portal-header .inner h1 {
  color: var(--main-nav-bg);
  font-size: 36px;
  margin-bottom: 0;
  margin-top: 50px;
}

.portal-header .portal-search button,
.portal-header .portal-search input {
  background-color: var(--main-nav-bg);
  color: rgba(23, 43, 77, 0.5);
  box-shadow: none !important;
}

.portal-body-container {
  margin: 0;
  width: 100%;
}

/* Responsive centering for portal content */
@media (min-width: 1200px) {
  .portal-body-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .portal-body-row {
    max-width: 100%;
  }
}

@media (min-width: 1400px) {
  .portal-body-container {
    max-width: 1400px;
  }
}

@media (min-width: 1600px) {
  .portal-body-container {
    max-width: 1600px;
  }
}

@media (min-width: 1920px) {
  .portal-body-container {
    max-width: 1800px;
  }
}
.portal-search-result {
  padding: 10px 290px 50px;
}
.portal-body-container .portal-body-row {
  margin: 0 150px;
}

.portal-header .portal-search input {
  border-radius: 6px 0 0 6px !important;
  color: var(--header-text);
}

.portal-header .portal-search button {
  border-radius: 0 6px 6px 0;
  margin-left: 0;
}

.portal-header .portal-search button i:before {
  content: "\f002";
}

.portal-header .inner p {
  color: var(--main-nav-bg);
  font-size: 14px;
  width: 45%;
  margin: 20px auto 30px;
}

.portal-header-custom {
  height: 65px;
}
.portal-header-custom .inner .portal-search {
  position: absolute;
  top: 0.75rem;
  left: 30%;
  z-index: 1000;
}

.portal-publications {
  margin-top: 30px;
  padding-bottom: 15px;
}

#client-collab-banner {
  height: 4.8rem;
  background: #E7EDF9;
  border-radius: .8rem;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

}
#client-collab-banner:hover {
  background-color: #CFDDF9;
}

#client-collab-banner.dark-mode {
  background: #1E1F24;
}

#client-collab-banner > a {
  height: 100%;
  width: 100%;
}

#collab-banner-container {
  height: 100%;
  display: flex;
  color: white;
  align-items: center;
  justify-content: center;
}

#collab-banner-container > .collab-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1E1F24;
}

#collab-banner-container > .left-right-logo {
  margin: 0 1.5rem;
}

.collab-name > .collab-logo {
  margin-right: .4rem;
}

#collab-banner-btn {
  position: absolute;
  right: 2rem;
}

#collab-banner-btn > a {
  color: #565656;
  font-size: 1.2rem;
  font-weight: 600;
}
#collab-banner-btn a:hover{
  color: #325fe6;
}

.portal-single-publication .portal-single-publication__block {
  padding: 10px;
  box-shadow: 0px 9px 18px rgba(42, 83, 204, 0.08);
  border-radius: 4px;
}

.portal-single-publication .portal-single-publication__block a {
  box-shadow: none;
  background: none;
  min-height: 100px;
}





.portal-single-publication .portal-single-publication__block > a {
  background-color: rgba(43, 113, 244, 0.1);
  text-align: left;
  padding: 15px;
}

.portal-single-publication .portal-single-publication__block > a > h3 {
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 25px;
  margin: 0;
  margin-top: 10px;
}

.portal-single-publication .portal-single-publication__block > a img {
  height: 50px;
  height: 50px;
  max-width: none;
}

.portal-single-publication
.portal-single-publication__block
.featured-subtopics {
  list-style: none;
  margin: 0;
  padding: 0;
}

.portal-contents,
.featured-content-label,
.portal-footer {
  display: none !important;
}

.portal-single-publication
.portal-single-publication__block
.featured-subtopics
a {
  padding: 0;
  margin: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portal-single-publication
.portal-single-publication__block
.featured-subtopics {
  padding: 20px 20px;
}

.portal-single-publication
.portal-single-publication__block
.featured-subtopics
> li {
  margin-bottom: 10px;
}

.portal-single-publication
.portal-single-publication__block
.featured-subtopics
> li:last-child {
  margin-bottom: 0;
}

.site-body-container .site-body-row {
  display: flex;
  padding-left: 24px;
}

.site-body-container .site-sidebar {
  position: relative;
  width: 400px;
  min-width: 400px;
  background: none;
  overflow: visible;
  transition: width 0.3s;
  z-index: 1 !important
}

.site-body-container .site-sidebar .nav-site-sidebar {
  margin-top: 20px;
  background: transparent;
  border-radius: 10px;
}

.site-body-container .site-sidebar .nav-site-sidebar > li > a {
  font-weight: 600;
  font-size: 16px;
  line-height: 25px;
  color: var(--header-text);
}

.site-body-container .site-sidebar .nav-site-sidebar > li.active > a,
.nav-site-sidebar ul .active > a {
  color: var(--card-header) !important;
  background-color: var(--side-menu-selected) !important;
}

.site-sidebar .toc > li {
  border-bottom: 1px solid rgba(23, 43, 77, 0.08);
  padding: 10px 15px;
}

.site-sidebar .toc > li:last-child {
  border-bottom: none;
}

.site-body-container .site-body-row .site-content {
  flex-grow: 1;
  margin-left: 0;
  z-index: 1; /* Lower than sidebar to prevent overlap */
}

.sm {
  z-index: 999;
}

.toolbar .toolbar-tools {
  display: flex;
  align-items: center;
}

.toolbar-tools .navbar-collapse.collapse {
  margin-right: 0;
  order: 2;
  padding-right: 0px;
  display: flex;
  align-items: center;
}
.top-nav-menu {
  display: flex;
  align-items: center;
}
.toolbar-tools .navbar-collapse.collapse li a {
  padding: 0px !important;
  padding-right: 20px !important;
}
.toolbar-tools .navbar-collapse.collapse .external-top-nav-link {
  font-size: 16px;
  color: var(--main-nav-text) !important;
    display: flex;
    align-items: center;

}

.toolbar {
  background: transparent;
  box-shadow: none;
  color: rgba(23, 43, 77, 0.5);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 24px 40px 24px !important;
}

.DocSearch-Button-Placeholder {
  color: var(--search-box-boundary) !important;
}

/* Dark mode styling for DocSearch placeholder */
html[data-theme="dark"] .DocSearch-Button-Placeholder,
body.dark-theme .DocSearch-Button-Placeholder {
  color: var(--search-box-text) !important;
}

/* Search wrapper for Kapa AI button */
.search-wrapper {
  display: flex;
  align-items: center;
  gap: 2px;
}
#kapa-widget-container {
  z-index: 1000;
  position: fixed;
}

/* Kapa AI Ask AI button styles */
.kapa-ask-ai-button {
  padding: 6px 8px;
  background-color: var(--main-nav-bg, #FFFFFF);
  border: 1px solid var(--search-box-boundary, #595C65);
  border-radius: 0 40px 40px 0;
  color: #6C28F5;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
}

.toolbar .toolbar-tools {
  float: none;
}

.breadcrumb-container {
  border-bottom: 1px solid var(--card-boundary) !important;
  padding-bottom: 20px;
}

.breadcrumb a {
  color: var(--header-text);
  font-size: 12px;
}

.breadcrumb {
  font-size: 12px;
}

.breadcrumb > li + li:before {
  color: var(--header-text);
  padding: 0 8px;
  content: "/\00a0";
  font-size: 14px;
  vertical-align: bottom;
}

.tool-search-form {
  display: block !important;
  position: relative;
  width: 100%;
}

.tool-search-form .search-field {
  background: none;
  padding: 10px;
  color: var(--header-text);
  font-size: 14px !important;
}

.tool-search-form .search-field::-webkit-input-placeholder {
  color: var(--search-box-boundary);
}

.tool-search-form .search-field:-ms-input-placeholder {
  color: var(--search-box-boundary);
}

.tool-search-form .search-field::placeholder {
  color: var(--search-box-boundary);
}

/* Page Css */
main {
  padding: 14px 40px 40px;
}

main article {
  margin-left: 0;
  float: none;
  width: 100%;
  margin-top: 0;
}

.content-container .topic-content .titlepage .title {
  font-weight: bold;
  font-size: 19px;
  color: var(--header-text);
  text-transform: none;
}

.content-container .topic-content .bridgehead {
  font-weight: bold;
  font-size: 16px;
  color: var(--header-text);
  text-transform: none;
}

.content-container .topic-content a {
  color: #2b71f4;
}

.content-container .topic-content a:hover {
  text-decoration: underline;
}

.content-container .topic-content ul li p,
.content-container .topic-content ol li p {
  margin-bottom: 8px;
}

.site-sidebar-header {
  border: none;
  text-align: left;
  padding: 30px 0px;
  width: 120px;
  position: relative;
  z-index: 6;
}

.site-sidebar-header a {
  width: 160px !important;
  display: block !important;
}

.site-sidebar .logo {
  padding: 0;
  height: 35px;
  max-width: 100% !important;
}

.pager {
  padding: 30px 40px;
  margin: 20px 0px 0px 0px;
  text-align: center;
  list-style: none;
}

.pager li > a {
  border: 1px solid var(--button-color);
  box-sizing: border-box;
  border-radius: 4px;
  font-weight: 600;
  background: transparent !important;
  color: var(--button-color) !important;
  padding: 5px 10px;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  &:hover {
    background-color: var(--side-menu-selected) !important;
  }
}

.pager > .previous > a:before {
  font-family: FontAwesome;
  content: "\f060";
  font-size: 14px;
  padding-right: 8px;
  font-weight: 400;
  font-stretch: normal;
}

.pager > .next > a:after {
  font-family: FontAwesome;
  content: "\f061";
  font-size: 14px;
  padding-left: 8px;
  font-weight: 400;
  font-stretch: normal;
}


.nod-icon {
  animation: nod 0.3s ease-in-out;
  transform-origin: bottom left;
}

@keyframes nod {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(5px) rotate(-2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Animation for Dislike (One-Side Vertical Shake) */
.shake-vertical-icon {
  animation: shakeVertical 0.5s ease-in-out;
  transform-origin: bottom left; /* Set the origin for the transformation */
}

@keyframes shakeVertical {
  0% { transform: translateY(0) rotate(0deg); }
  10% { transform: translateY(3px) rotate(1deg); }
  30% { transform: translateY(-3px) rotate(-1deg); }
  50% { transform: translateY(3px) rotate(1deg); }
  70% { transform: translateY(-3px) rotate(-1deg); }
  90% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.content-container .table thead th {
  background-color: #808080;
  font-size: 16px;
  line-height: 26px;
  padding: 8px 15px;
  color: var(--main-nav-bg);
}

.content-container .table thead tr th,
.content-container .table tbody tr td,
.content-container .table {
  border-color: rgba(23, 43, 77, 0.15);
}

.content-container .table tbody tr td {
  padding: 10px 15px;
  border-top: none;
  border-bottom: none;
}

.content-container .table tbody tr:first-child td {
  padding-top: 30px;
}

.content-container .table tbody tr:last-child td {
  padding-bottom: 30px;
}

.note:before,
.tip:before,
.warning:before,
.caution:before,
.important:before {
  display: none;
}
.danger,
.warning,
.note,
.important,
.caution,
.tip {
  border-left-width: 6px !important;
  border-radius: 5px 0 0 5px;
  padding: 10px 15px 10px 15px;
  /* display: flex;
  align-items: center; */
}

.warning h3,
.note h3,
.important h3,
.caution h3,
.tip h3 {
  padding: 0;
  margin: 0;
  padding-right: 9px;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
}

.warning > p,
.note > p,
.important > p,
.caution > p,
.tip > p {
  padding: 0;
  margin: 0;
  font-size: 14px;
  flex-grow: 1;
}

.note {
  border-color: var(--notes-border);
  border: 1px solid var(--notes-border);
  background-color: var(--notes-bg);
  border-radius: 6px;
}

.tip {
  border-color: #FDC468;
  border: 1px solid #FDC468;
  background-color: #FFF8EC;
  border-radius: 6px;
}

.warning {
  border-color: #FDC468;
  border: 1px solid #FDC468;
  background-color: #FFF8EC;
  border-radius: 6px;
}

.important {
  border-color: #6884FD;
  background-color: #FFFFFF;
  border: 1px solid #6884FD;
  border-radius: 6px;
}

.notice {
  border-color: var(--notes-border);
  background-color: var(--notes-bg);
  border-radius: 6px;
  margin-top: 0px;
  border: 1px solid var(--notes-border);
}

.caution {
  border-color: #FFC000;
  background-color: #FFFFFF;
  border: 1px solid #FFC000;
  border-radius: 6px;
}

.danger {
  border-color: #FF2B2B;
  background-color: #FFFFFF;
  border: 1px solid #FF2B2B;
  border-radius: 6px; 
}
.panel {
  background-color: transparent;
}
div.feedback-panel {
  display: block;
  margin-left: 0px !important;
  /*width: 78% !important;*/
  max-width: none !important;
  margin-top: 30px;
  padding: 12px 0;
  border-top: none !important;
  background-color: var(--feedback-box);
}

.toggle-feedback {
  a {
    color: var(--header-text) !important;
  }

}
.feedback-panel .voting-title {
  display: inline-block;
  width: 82%;
  text-align: left;
  color: var(--header-text);
  font-weight: 500;
  font-size: 20px;
  padding: 0px 20px;
  border-radius: 4px;
}

.feedback-panel .btn-group .btn-group-toggle {
  display: inline-block;
  width: 30%;
}

.toggle-feedback {
  font-weight: bold;
}

div.feedback-panel .btn {
  border: none;
  padding: 0px;
  margin: 10px !important;
}

div.feedback-panel .btn.active {
  background-color: transparent !important;
}

table tr td,
table tr th {
  border: 1px solid #ddd;
}

.inlinemediaobject {
  vertical-align: baseline;
}

.search-result-url,
.search-result-breadcrumbs {
  color: #888;
}

blockquote {
  font-size: 14px;
  padding: 9.5px 19px;
  margin: 0 0 19px;
  border-left: 5px solid #eeeeee;
  background-color: rgba(23, 43, 77, 0.05);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.section.internal {
  padding: 0;
}

.scroll-bottom {
  position: fixed;
  bottom: 26px;
  right: 30px;
  border-radius: 5px;
  height: 32px;
  width: 32px;
  background-color: var(--search-box-boundary);
  text-align: center;
  line-height: 32px;
  display: none;
  cursor: pointer;
  z-index: 1000;
}

.scroll-bottom .bottom-icon {
  font-family: "Glyphicons Halflings";
}

.scroll-bottom .bottom-icon::before {
  content: "\e260";
  color: var(--main-nav-bg);
}

.tooltiptext {
  visibility: hidden;
  background-color: var(--link-hover-text);
  white-space: nowrap;
  color: var(--main-nav-bg);
  text-align: center;
  padding: 0px 10px;
  border-radius: 6px;
  position: absolute;
  font-size: 12px;
  z-index: 1;
}

.scroll-bottom .tooltiptext {
  right: 0;
  bottom: 110%;
}

.site-sidebar-header{
  background-color: transparent !important;
  padding: 12px 0px !important;
}
.site-sidebar-header .tooltiptext {
  top: 35px;
  left: 115px;

}

.scroll-bottom:hover .tooltiptext,
.site-sidebar-header:hover .tooltiptext {
  visibility: visible;
}

.navbar-header :hover .tooltiptext {
  visibility: visible;
}

.dark-mode-toggle {
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
.featured-text {
  text-align: left;
  min-height: 120px;
}

.portal-single-publication__block a {
  height: 100px;
}

.theme2.page-toc main article {
  padding-left: 0.33333333%;
}
.theme2 .site-footer {
  margin-left: 90px;
}

.page-toc .pager {
  float: left;
  width: 100%;
}


.copyright {
  float: left;
  margin-right: 30px;
  margin-left: 25px;
}

.page-toc .section-nav-container {
  /*padding-top: 30px;*/
  top: 120px;
  padding-left: 0px;
  margin-bottom: 40px;
  width: 15.6% !important;
}

/* Responsive breakpoints for different screen resolutions */
/* Mobile devices (up to 768px) */
@media (max-width: 768px) {
  .site-content {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  
  .site-body-container {
    max-width: none;
    margin: 0;
  }
  
  .page-toc .section-nav-container {
    position: relative;
    left: auto;
    width: 100% !important;
    margin-bottom: 20px;
  }
  
  .portal-body-container {
    max-width: none;
    margin: 0;
  }
  
  #content-wrapper {
    max-width: none;
    margin: 0;
  }
}

/* Tablet devices (769px to 1199px) */
@media (min-width: 769px) and (max-width: 1199px) {
  .site-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .site-body-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .page-toc .section-nav-container {
    position: relative;
    left: auto;
    width: 100% !important;
    margin-bottom: 20px;
  }
  
  .portal-body-container {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  #content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
  }
}

/* Desktop devices (1200px and above) */
/* @media (min-width: 1200px) {
  .page-toc .section-nav-container {
    right: calc((100vw - 1200px) / 2 - 200px);
    position: fixed;
  }
} */

.section-nav {
  border-left: 2px solid var(--card-boundary) !important;
}
.section-nav.nav>li a {
  color: var(--main-nav-text) !important;
}
.section {
  padding: 0px 0px;
}

.titlepage {
  margin-top: 10px;
}

.mediaobject img {
  border: 1px solid #eee;
}

.titlepage .title {
  /* margin: 0em 0 0em; */
  font-size: 25px;
}

.code {
  padding: 2px 4px;
  font-size: 90%;
  color: var(--main-nav-text);
  background-color: var(--notes-bg);
  border-radius: 4px;
}

.programlisting .hljs .ini {
  display: block;
  overflow-x: auto;
  background: #f2f3f3;
  color: #4f424c;
  padding: 0.5em;
}

ul.featurelist {
  /* display: none; */
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  /*background-color: #333333;*/
  margin-bottom: 1em;
}

.featurelist-tick-mark {
  font-weight: bold;
  color: initial !important;
}

.featurelist-tick-mark::before {
  content: "\f00c";
  font-family: FontAwesome;
  margin-right: 0.5em;
  color: #1976d2;
}

.taxonomy-feature-enterprise ul.featurelist,
.taxonomy-feature-lite ul.featurelist,
.taxonomy-feature-spoke ul.featurelist {
  display: inline-block;
  border-radius: 8px;
}

ul.featurelist li {
  float: left;
  display: inline-block;
  color: #bbb;
  text-align: center;
  padding: 20px;
  background-color: #eee;
}

ul.featurelist li.featureavailability {
  color: #444;
  font-weight: bold;
}

.taxonomy-feature-enterprise .enterprise,
.taxonomy-feature-enterprise .lite,
.taxonomy-feature-enterprise .spoke,
.taxonomy-feature-lite .lite,
.taxonomy-feature-lite .spoke,
.taxonomy-feature-spoke .spoke {
  color: #444;
}

.taxonomy-feature-enterprise .enterprise:before,
.taxonomy-feature-enterprise .lite:before,
.taxonomy-feature-enterprise .spoke:before,
.taxonomy-feature-lite .lite:before,
.taxonomy-feature-lite .spoke:before,
.taxonomy-feature-spoke .spoke:before {
  content: "\f00c";
  font-family: FontAwesome;
  margin-right: 0.5em;
  color: #1976d2;
}

.text-capitalize {
  text-transform: capitalize;
}

.filter-list {
  list-style: none;
  background-color: rgba(26, 62, 232, 0.05);
  width: 260px;
  margin: 40px 20px;
  position: absolute;
  padding: 15px;
  border-radius: 4px;
  left: -350px;
  top: 0;
}

.filter-list.sub-list {
  margin-top: 20px;
  top: 270px;
}

.filter-title {
  font-size: 12px;
  color: #091e42;
  font-weight: 600;
  margin-bottom: 10px;
}

.filter-list li {
  padding: 3px 5px 1px 5px;
  display: flex;
  align-items: start;
  font-size: 14px;
  &:hover {
    background-color: rgba(26, 62, 232, 0.1);
  }
}

.filter-list li input[type="checkbox"] {
  &:checked + label {
    font-weight: 600;
  }
  &:disabled + label {
    color: #8e99ab;
  }
}

.loader {
  width: 48px;
  height: 48px;
  position: absolute;
  border: 4px solid var(--main-nav-bg);
  border-bottom-color: transparent !important;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.filter-list li label {
  padding-left: 10px;
  font-weight: 400;
}

/*
.feedback-input {
  margin-top: 20px;
  width: 89%;
  margin: auto;
}

.feedback-input textarea{
  width: 100%;
  resize: none;
  border: none;
  padding: 10px;
  outline: 0;
}

.feedback-input .feedback-input__bottom {
  background-color: #fff;
  margin-top: -5px;
  text-align: right;
}
*/
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 50px;
}

.pagination-number,
.pagination-button {
  font-size: 1.1rem;
  background-color: transparent;
  border: 1px solid transparent;
  margin: 0.25rem 0.25rem;
  cursor: pointer;
  height: 2.5rem;
  width: 2rem;
  text-align: center;
  border-radius: 0.2rem;
  box-sizing: content-box;
}

.pagination-number:hover,
.pagination-button:not(.disabled):hover {
  background: var(--main-nav-bg);
  border-color: #1976d2;
}

.pagination-number.active {
  color: var(--main-nav-bg);
  border-color: #1976d2;
  background: #1976d2;
}

.pagination-number.hidden {
  display: none;
}

.searchresults .searchresultitem .searchresulttitle {
  color: #0275ff;
}

.searchresults .searchresultitem .searchresultsnippet {
  color: #000000;
}

.searchresults .searchresultitem .search-result-breadcrumbs {
  color: #7f7f7f;
}

.searchresults .searchresultitem.removed {
  display: none;
}

.site-body-row .search-container {
  position: relative;
  z-index: 9999;
}

#features-info {
  display: flex;
}

#features-info .portal-contents {
  display: block !important;
  background: var(--main-nav-bg);
  box-shadow: 0px 4px 10px #edeff6;
  border-radius: 4px;
  margin: 0 11px 100px;
  flex-grow: 1;
  flex-basis: 0;
}

#features-info .portal-contents:first-child {
  margin-left: 0;
}

#features-info .portal-contents:last-child {
  margin-right: 0;
}

#features-info .portal-contents .inner {
  display: flex;
  margin: 0;
  flex-direction: column;
  padding: 0 30px 24px;
}

#features-info .portal-contents .inner .publication-contents {
  width: 100%;
  border-top: 1px solid #e2e2e2;
  padding: 24px 0px;
  margin-bottom: 0;
}

#features-info .featured-title {
  margin: 0;
}

#features-info .featured-title .toc-count {
  display: none;
}

#features-info .featured-title a {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  color: #1e1e1e;
}

#features-info .featured-title a:hover {
  color: #325fe6;
}

#features-info .feature-icon {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: #e8eafa;
  border-radius: 2px;
  margin-right: 14px;
}

#features-info h3 {
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  margin: 0;
  color: #000000;
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
}

#features-info h3 a {
  font-size: 12px;
  color: #565656;
}

#features-info h3 a:hover {
  color: #325fe6;
}

#features-info .feature-small-text {
  font-weight: 400;
  font-size: 12px;
  margin-bottom: 5px;
}

#features-info .feature-large-text {
  display: flex;
  align-items: center;
}

#features-info .feature-less-font {
  font-weight: 400;
  font-size: 15px;
}

.nav-site-sidebar li a {
  font-size: 14px;
  color: var(--sub-header-text);
  border-radius: 4px;
  &:hover, &:focus {
    background-color: var(--side-menu-selected);
    text-decoration: none;
  }
}
.nav-site-sidebar li a:focus,
.nav-site-sidebar li a:hover {

}

a[target="_blank"]:after {
  font-family: "FontAwesome";
  content: " \f08e";
}

.label {
  display: inline;
  padding: 1px 5px 1px 5px;
  font-size: 65%;
  font-weight: 600;
  color: var(--main-nav-bg);
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border-radius: 0.25em;
  position: relative;
  left: 3px;
}

.pubdate {
  background-color: var(--side-menu-selected) !important;
  text-indent: 8px;
  position: sticky;
  position: relative;
  font-weight: bold;
  font-size: 14px;
  border-radius: 7px;
  padding: 2px 12px;
}

.titlepage > div {
  display: flex;
  justify-content: space-between;
}

#topic-content > section > .titlepage .title {
  margin: 1px 1px 10px 1px;
}

.nav-site-sidebar ul ul ul ul a {
  padding-left: 80px;
}
.nav-site-sidebar ul ul ul ul ul a {
  padding-left: 95px;
}
.nav-site-sidebar ul ul ul ul ul ul a {
  padding-left: 110px;
}
.toc.nav.nav-site-sidebar {
  width: 89%;
  margin-left: 40%;

  height: auto;
  max-height: calc(
          100vh - 113px
  ); /* 60px is the height of the header + some margin */
  overflow-y: auto;
  scrollbar-width: none !important;
  /* margin-left: 15% !important; */
}

 /* hiding the existing glyphicons in menu section */
.toc .opened > .topic-link > .glyphicon:before {
  content: '' !important
}
.toc > li > .topic-link > .glyphicon {
  margin-top: 12px;
  margin-left: -5px; 
}
.toc .glyphicon:before {
  content: '' !important
}
.toc .glyphicon {
    top: -6px !important;
    right: auto !important;
    left: 0px !important;
    margin-right: 8px;
    content: initial !important;
}

.nav-site-sidebar > li >a {
  padding: 10px 15px 10px 26px !important;
}
.nav-site-sidebar ul ul a > .glyphicon {
  padding-left: 20px !important;
}
.nav-site-sidebar ul ul ul a > .glyphicon {
  padding-left: 34px !important;
}
.nav-site-sidebar ul ul ul ul a > .glyphicon {
  padding-left: 48px !important;
}
.nav-site-sidebar ul ul ul ul ul a > .glyphicon {
  padding-left: 62px !important;
}
.nav-site-sidebar > li > a,
.nav-site-sidebar ul a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.download-button {
  background: #2b71f4;
  padding: 4px 10px;
  border-radius: 5px;
  text-decoration: none;
}

.download-button::after {
  display: none;
}

.download-button:hover {
  cursor: pointer;
  background-color: #6397f9;
}

.content-container .topic-content a.download-button {
  color: white;
}
.content-container .topic-content a.download-button:hover {
  text-decoration: none;
}
.content-container .topic-content a.download-button:focus {
  text-decoration: none;
}

.custom-back-button::before {
  font-family: FontAwesome;
  content: "\f053";
  padding-right: 1px;
}
.custom-back-button {
  background-color: #0275ff;
  border-radius: 50%;
  color: white;
  padding: 7px 9px;
  font-size: 11px;
  cursor: pointer;
  margin: 2px 10px 2px 2px;
}
.custom-search-heading {
  display: flex;
  margin-bottom: 0;
}

.paligocode-wrapper {
  overflow: scroll;
}

.paligocode-wrapper ::-webkit-scrollbar {
  -webkit-appearance: none;
  height: 10px;
}

.paligocode-wrapper ::-webkit-scrollbar-thumb {
  border-radius: 0.4rem;
  background-color: rgba(255, 255, 255, 0.56);
}

.portal-single-publication .publication-icon {
  height: 100% !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important ;
}

.abstract {
  text-wrap: nowrap;
}

.cy-custom-new-tag-container {
  display: flex;
}

.cy-custom-new-tag {
  border-radius: 4px;
  background: #27865f;
  display: inline-flex;
  padding: 2px 4px;
  align-items: flex-start;
  margin-left: 10px;
  gap: 10px;
  color: white;
  max-height: 26px;
}

.informalexample {
  text-align: center;
}

.informalexample .example {
  box-shadow: 0px 0px 1px 0px rgba(37, 42, 50, 0.31),
  0px 8px 20px -4px rgba(37, 42, 50, 0.14);
  border-radius: 6px;
  padding: 16px 24px;
  /* margin: 20px;
  width: 300px; */
  height: 208px;
  flex-shrink: 0;
  text-align: left;
}

.informalexample .example .example-title {
  margin-bottom: 8px;
}

.informalexample .example .example-contents {
  overflow: hidden;
  -webkit-line-clamp: 4;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
}
.informalexample .example:hover {
  box-shadow: 0px 1px 10px 0px rgba(37, 42, 50, 0.31),
  0px 11px 20px -4px rgba(37, 42, 50, 0.14);
}

.informalexample .example p {
  color: #757575;
}

.informalexample .custom-featured-articles {
  color: #1f2647;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  margin: 25px 0;
}

.informalexample .articles-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 25px 0;
  grid-gap: 30px;
}

.informalexample .custom-featured-articles-dropdown {
  color: #1f2647;
  font-family: Open Sans;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  border-radius: 4px;
  border: 2px solid #dfe2e7;
  background: var(--main-nav-bg);
  height: 48px;
  padding: 0 6px;
}

.custom-cy-category-tab {
  color: #757575;

  font-family: Open Sans;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.custom-cy-category-tab:hover {
  color: #1f2647;
}

.custom-cy-category-tab.active {
  color: #1f2647;
  border-bottom: 2px solid #0068fa;
}

.articles-layout[data-cy-tab-content] {
  display: none;
  margin: 20;
}

.active[data-cy-tab-content] {
  display: grid;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 25px 0;
  color: #1f2647;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
}

.footer-content .topic-link {
  color: #0068fa;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.section-toc + .relationship-toc {
  margin: 0;
  padding-left: 20px;
}
.footer-content .section-toc + .relationship-toc {
  border-left: 2px solid #dfe2e7;
}

a[target="_blank"]:after {
  display: none;
}

.footer-content .section-toc-after ul {
  max-height: 180px;
  overflow-y: scroll;
}

.cy-expand-button {
  cursor: pointer;
  position: absolute;
  height: 30px;
  width: 30px;
  top: 250px;
  left: 93px;
  background: var(--main-nav-bg);
  border: 1px solid var(--card-boundary);
  padding: 4px 13px 2px 8px;
  border-radius: 50%;
}

.cy-expand-button:hover .tooltiptext {
  visibility: visible;
}

.site-content {
  width: 74%;
  z-index: 1;
  position: relative;
  margin-left: 0;
}

/* Mobile First Approach - Base styles */
@media (min-width: 768px) and (max-width: 1023px) {
  #content-wrapper {
    margin-left: 6.5%;
  }
  .site-content {
    width: 100%;
  }
  .toc.nav.nav-site-sidebar {
    margin-left: 20%;
  }
}
/* Tablet Portrait (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  
  #content-wrapper {
    margin-left: 7.8%;
  }
  .site-content {
    width: 80%;
  }
  .page-toc .section-nav-container {
    right: 1.9%;
    left: auto;
    position: fixed;
  }
}
/* Desktop Small (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .toc.nav.nav-site-sidebar {
    margin-left: 30%;
  }
  #content-wrapper {
    margin-left: 8.7%;
    max-width: 75%;
  }
  .site-content {
    width: 70%;
  }
  .site-body-container {
    max-width: 1400px;
    margin: 0 auto;
  }
}
/* Desktop Medium (1400px - 1599px) */
@media (min-width: 1400px) and (max-width: 1599px) {
  .toc.nav.nav-site-sidebar {
    margin-left: 20%;
  }
  #content-wrapper {
    margin-left: 2.8%;
    max-width: 71%;
  }
  .site-content {
    width: 65%;
  }
  .page-toc .section-nav-container {
    right: calc((100vw - 1200px) / 2 - 3.6%);
    left: auto;
  }
  .cy-expand-button {
    left: 1.6%;
  }
  .theme2 .site-footer {
    left: -3.9%;
  }
  .cy-expand-button {
    left: 1.6%;
  }
}
/* Desktop Large (1600px - 1919px) */
@media (min-width: 1600px) and (max-width: 1919px) {
  .toc.nav.nav-site-sidebar {
    margin-left: 30%;
  }
  #content-wrapper {
    margin-left: 6.1%;
    max-width: 68.25%;
  }
  .site-content {
    width: 60%;
  }
  .site-body-container {
    max-width: 1800px;
  }
  .page-toc .section-nav-container {
    right: calc((100vw - 1200px) / 2 - 9.5%);
    left: auto;
  }
    .cy-expand-button {
        left: 5.5%;
    }
}
@media (min-width: 1600px) and (max-width: 1660px) {
  .toc.nav.nav-site-sidebar {
    margin-left: 20%;
  }
  #content-wrapper {
    margin-left: 2.3%;
    max-width: 75.25%;
  }
  .site-content {
    width: 60%;
  }
  .site-body-container {
    max-width: 1800px;
  }
  .page-toc .section-nav-container {
    right: calc((100vw - 1200px) / 2 - 9.5%);
    left: auto;
  }
  .cy-expand-button {
      left: 1.8%;
  }
}
/* Desktop Ultra-Wide (1920px+) */
@media (min-width: 1920px) {
  .toc.nav.nav-site-sidebar {
    margin-left: 50%;
  }
  #content-wrapper {
    margin-left: 9.8%;
    max-width: 61.9%;
  }
  .site-content {
    width: 55%;
  }
  .site-body-container {
    max-width: 2000px;
  }
  .page-toc .section-nav-container {
    right: calc((100vw - 1200px) / 2 - 10.4%);
    left: auto;
  }
  .cy-expand-button {
    left: 9.3%;
  }
  .theme2 .site-footer {
    left: 2.6%;
  }
}

/* @media (min-width: 1400px) {
  #content-wrapper {
    max-width: 900px;
  }
}

@media (min-width: 1600px) {
  #content-wrapper {
    max-width: 900px;
  }
}

@media (min-width: 1920px) {
  #content-wrapper {
    max-width: 900px;
  }
} */

.site-content > main {
  margin-left: -30px;
}

.site-content > main > .topic.content-container {
  border-left: 1px solid var(--card-boundary);
  padding-left: 22px;
}

@media only screen and (max-width: 320px) {
  .portal-header-navbar.navbar.navbar-fixed-top + .inner{
    p{
      display: none;
    }
  }

  .portal-header {
    padding: 2px 0px;
  }

  .portal-search.form-inline .btn{
    display: none;
  }

  #features-info {
    display: block;
  }

  .portal-body-container .portal-body-row {
    margin: 0 10px;
  }

  .navbar-container .navbar-header .navbar-toggle {
    display: none;
  }
  .portal-header .portal-search .search-field {
    width: 90%;
    border-radius: 6px !important
  }

  .portal-single-publication .portal-single-publication__block > a img {
    height: auto;
  }

  #features-info .portal-contents .inner {
    padding: 0px 13px 0px;
  }

  .navbar-brand {
    width: 90px
  }

  .filter-list {
    display: none
  }
  .portal-search-result {
    padding: 10px 50px;
  }

  .section-nav {
    display:none;
  }
  .site-body-row {
    display: none;
  }

  main {
    padding: 14px 0;
  }
  .cy-expand-button {
    display: none;
  }
}

@media only screen and (max-width: 1024px) and (min-width: 321px) {
  .portal-body-container .portal-body-row {
    margin: 0 10px;
  }

  .navbar-container .navbar-header .navbar-toggle {
    display: none;
  }
  .portal-header .portal-search .search-field {
    width: 97%;
    border-radius: 6px !important

  }
  .portal-search.form-inline .btn{
    display: none;
  }

  #features-info {
    display: block;
  }
  .portal-single-publication .portal-single-publication__block > a img {
    height: auto;
  }

  #features-info .portal-contents .inner {
    padding: 0px 13px 0px;
  }

  .navbar-brand {
    width: 90px
  }

  .filter-list {
    display: none
  }
  .portal-search-result {
    padding: 10px 50px;
  }

  .section-nav {
    display:none;
  }
  .site-body-row {
    display: none;
  }

  main {
    padding: 14px 0;
  }
  .cy-expand-button {
    display: none;
  }
}
.site-body-row {
  overflow-x: hidden;
}

/* Concord button css */
#cd-outer-hab {
    --circle-offset-y: 60px;
}



