/* COLOR VARIABLES*/
:root {
  --header-bg-color: #007ac3;
  --header-ft-color: #fff;
  --highlight-light: #409bd2;
  --highlight-dark: #005b92;
  --accent-dim: #ededed;
  --font-color: #4e4e4e;
  --card-box-shadow: 0 1px 2px 0 rgba(61, 65, 68, 0.06), 0 1px 3px 1px rgba(61, 65, 68, 0.16);
  --under-box-shadow: 0 4px 4px -2px #eee;
  --search-box-shadow: 0px 0px 5px 0px rgba(255,255,255,1);
}

body {
  color: var(--font-color);
  font-family: "Fira Sans", "Helvetica Neue", Helvetica, "Roboto", Arial, sans-serif;
  line-height: 1.5;
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
}

p {
	font-weight:300px;
}

/* HIGHLIGHT COLOR */

button,
a {
  color: var(--highlight-dark);
  cursor: pointer;
}

button:hover,
button:focus,
a:hover,
a:focus {
  color: var(--highlight-light);
  text-decoration: none;
}

.toc .nav > li.active > a {
  color: var(--highlight-dark);
}

.toc .nav > li.active > a:hover,
.toc .nav > li.active > a:focus {
  color: var(--highlight-light);
}

.pagination > .active > a {
  background-color: var(--header-bg-color);
  border-color: var(--header-bg-color);
}

.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  background-color: var(--highlight-light);
  border-color: var(--highlight-light);
}

/* HEADINGS */

h1 {
  font-weight: 600;
}

h2 {
  font-weight: 600;
  line-height: 1.8;
}

h3 {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.8;
}

h5 {
  padding: 10px 0px;
}

article h1,
article h2,
article h3,
article h4 {
  margin-top: 35px;
  margin-bottom: 15px;
}

article h4 {
  padding-bottom: 8px;
  border-bottom: 2px solid #ddd;
}

/* NAVBAR */

.navbar-brand > img {
  color: var(--header-ft-color);
  margin-top:11px;
}

.navbar {
  border: none;
  /* Both navbars use box-shadow */
  -webkit-box-shadow: var(--card-box-shadow);
  -moz-box-shadow: var(--card-box-shadow);
  box-shadow: var(--card-box-shadow);
}

.navbar-nav {
	float:right;
	margin-left: 20px;
}

.subnav {
  border-top: 1px solid #ddd;
  background-color: #fff;
}

.navbar-inverse {
  background-color: var(--header-bg-color);
  z-index: 100;
}

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-text {
  color: var(--header-ft-color);
  background-color: var(--header-bg-color);
  border-bottom: 3px solid transparent;
  padding-bottom:0;
}

.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-nav > li > a:hover {
  color: var(--header-ft-color);
  background-color: var(--header-bg-color);
  border-bottom: 3px solid white;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:focus,
.navbar-inverse .navbar-nav > .active > a:hover {
  color: var(--header-ft-color);
  background-color: var(--header-bg-color);
  border-bottom: 3px solid white;
}

.navbar-form .form-control {
  border: 0;
  border-radius: 0;
}

.navbar-form .form-control:hover {
  box-shadow: var(--search-box-shadow);
}

.toc-filter > input:hover {
  box-shadow: var(--under-box-shadow);
}

/* NAVBAR TOGGLED (small screens) */

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
  border: none;
}
.navbar-inverse .navbar-toggle {
  box-shadow: var(--card-box-shadow);
  border: none;
}

.navbar-inverse .navbar-toggle:focus,
.navbar-inverse .navbar-toggle:hover {
  background-color: var(--header-ft-color);
}

/* SIDEBAR */

.toc .level1 > li {
  font-weight: 400;
}

.toc .nav > li > a {
  color: var(--font-color);
}

.sidefilter {
  background-color: #fff;
  border-left: none;
  border-right: none;
}

.sidefilter {
  background-color: #fff;
  border-left: none;
  border-right: none;
}

.toc-filter {
  padding: 10px;
  margin: 0;
}

.toc-filter > input {
  border: none;
  border-bottom: 2px solid var(--accent-dim);
}

.toc-filter > .filter-icon {
  display: none;
}

.sidetoc > .toc {
  background-color: #fff;
  overflow-x: hidden;
}

.sidetoc {
  background-color: #fff;
  border: none;
}

/* ALERTS */

.alert {
  padding: 0px 0px 5px 0px;
  color: inherit;
  background-color: inherit;
  border: none;
  border:1px solid #ddd;
}

.alert > p {
  margin-bottom: 0;
  padding: 5px 10px;
}

.alert > ul {
  margin-bottom: 0;
  padding: 5px 40px;
}


.alert > h5 {
	/* display:none; */
  padding: 10px 15px;
  margin-top: 0;
  text-transform: uppercase;
  font-size:18px;
  font-weight:normal;
}

.alert-info > h5 {
  color: #ffffff;
  /* border-bottom: 4px solid #1976d2; */
  background-color: #007ac3;
}

.alert-info > h5:before {
  content:none;
}

.alert-warning > h5 {
  color: #ffffff;
  /* border-bottom: 4px solid #f57f17; */
  background-color: #ea8f00;
}

.alert-danger > h5 {
  color: #ffffff;
  /* border-bottom: 4px solid #d32f2f; */
  background-color: #e5202e;
}

/* CODE HIGHLIGHT */
pre {
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 13px;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #fffaef;
  border-radius: 4px;
  border: none;
  box-shadow: var(--card-box-shadow);
}

/* STYLE FOR IMAGES */

.article .small-image {
  margin-top: 15px;
  box-shadow: var(--card-box-shadow);
  max-width: 350px;
}

.article .medium-image {
  margin-top: 15px;
  box-shadow: var(--card-box-shadow);
  max-width: 550px;
}

.article .large-image {
  margin-top: 15px;
  box-shadow: var(--card-box-shadow);
  max-width: 700px;
}


/* WK */

.affix h5 {
	text-transform: uppercase;
	font-size:16px;
	padding-left: 0;
	color: var(--header-bg-color);
}

.affix ul > li > a {
	font-size: 14px;
}

.affix ul ul > li > a::before {
    font-size: 18px;
    top: -1px;
    left: 3px;
}

pre {
	background-color:#f5f5f5;
}



/* WK Footer */
/* .wk-footer { */
    /* bottom: 0; */
    /* left: 0; */
    /* position: absolute; */
    /* right: 0; */
	
	/* background-color: #757575; */
	/* margin-top: 1.75rem; */
/* } */

/* .index-footer-container .container .wk-footer-container, .index-footer-container .container .wk-footer-copyright { */
    /* padding-left: 1rem; */
    /* padding-right: 1rem; */
/* } */

/* .wk-footer .container .wk-footer-container { */
    /* margin-left: auto; */
    /* margin-right: auto; */
    /* padding: 1.875rem 1rem; */
        /* padding-right: 1rem; */
        /* padding-left: 1rem; */
/* } */

/* .wk-footer .container .wk-footer-copyright { */
    /* background-color: #f6f6f6; */
    /* color: #757575; */
    /* font-family: "Fira Sans","Helvetica Neue",Helvetica,"Roboto",Arial,sans-serif; */
    /* font-size: .82397rem; */
	/* font-size:18px; */
/* } */

.sidefilter {
	top:97px;
}

.sidetoc {
	top:170px;
}

.product-name {
	display: block;
    font-size: 26px;
    color: white;
    width: 250px;
    height: 40px;
    margin-top: 9px;
    margin-left: 50px;
}


.wk-input, input:not([type="radio"]):not([type="checkbox"]) { 
	height: 2.1rem !important;
}

.toc-filter > .clear-icon {
    top: 19px;
    right: 20px;
}

.floating-box {
/*    position: fixed;
    top: 100px;
    right: 18px;*/
    width: 450px;
    background-color: #007ac3;
    color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

#popup-background {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

#popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

#close-popup {
    background-color: #ff5c5c;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.left-column {
    flex: 1;
    padding: 20px;
    border: 1px solid #ccc;
}

.right-column {
    flex: 1;
    padding: 20px;
    border: 1px solid #ccc;
}


/*Edded to ensure that nav pane did not overlap content pane.*/

.sideaffix {
    margin-left: 7%;
}

.content {
    width: 120%;
    margin-left: 20px; /* Adjust this value to be slightly more than the TOC width */
    margin-bottom: 50px;
}

.sidebar {
    background-color: #f8f8f8; /* Replace with your desired background color */
    background-color: #F0F4F8;
}


/* For Title Block*/
.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-title-cell {
    flex: 0 0 auto;
    padding: 3px;
}

.right-title-cell {
    flex: 1;
    padding: 0px;
}

    .right-title-cell > h1 {
        padding: 1px;
        margin: 0;
    }

    .right-title-cell > h3 {
        padding: 1px;
        margin: 0;
    }

.title-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* END for title block*/

/*For Portal Window*/

.portal-window {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.portal-title-bar {
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    font-size: 18px;
}

.portal-content-pane {
    background-color: white;
    background-color: #f0f4f8;
    padding: 20px;
}

/* Data Element View */
.data-element {
    margin-bottom: 20px;
}

    .data-element h4 {
        background-color: #333;
        color: white;
        padding: 10px;
        border-radius: 5px;
    }

    .data-element p {
        margin: 0;
        padding: 10px;
        background-color: #f0f4f8;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

/* For the Code*/
.code-container {
    max-width: 100%;
    margin: 0 auto;
    background: #2c2c2c;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

    .code-container h1, .code-container h2 {
        text-align: center;
        color: #4CAF50;
    }

    .code-container label {
        color: #4CAF50;
        display: block;
        margin-bottom: 10px;
    }

.code-dropdown {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #333;
    color: #fff;
    font-size: 16px;
    appearance: none;
}

.code-button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    border: none;
    border-radius: 4px;
    background-color: #4CAF50;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

    .code-button:hover {
        background-color: #45a049;
    }

    button.code-button, button.code-header-button {
        color: white;
        text-decoration: none;
    }

    button.code-button:visited, button.code-header-button:visited {
        color: white;
    }

.code-textarea {
    width: 100%;
    height: 250px;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
    font-size: 14px;
}

.code-textarea-small {
    width: 100%;
    height: 70px;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #333;
    color: #fff;
    font-size: 14px;
}

.code-input {
    width: 100% !important;
    padding: 10px !important;
    margin-top: 10px !important;
    border: 1px solid #444 !important;
    border-radius: 4px !important;
    background-color: #333 !important;
    color: #fff !important;
    font-size: 14px !important;
}

.header-entry {
    width: 100%
}

.header-name, .header-value {
    padding: 5px !important;
    margin-top: 5px !important;
    border: 1px solid #444 !important;
    border-radius: 4px !important;
    background-color: #333 !important;
    color: #fff !important;
    font-size: 12px !important;
    width: 40% !important;
    display: inline
}

.code-header-button {
    display: block;
    padding: 5px;
    margin-top: 5px;
    border: none;
    border-radius: 3px;
    background-color: #4CAF50;
    color: #fff;
    font-size: 10px;
    cursor: pointer;
    width: 100px !important;
    display: inline;
}

.swal2-confirm {
    background-color: #007bff;
    color: #fff;
}

.swal2-confirm:hover {
    background-color: #007bff;
    transition: background-color 0.3s ease-in-out;
}