body {
    /* overflow: hidden; */
}

.overlay {
    position: fixed; /* Cover the entire screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: semi-transparent background */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    z-index: 1000; /* Ensure it is on top */
    display: none;
}

#spinner {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.editor-wrapper {
    opacity: 0;
    position: relative;
}

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

.api-search-container {
    display: block;
    float: right;
    justify-content: right;
    min-width: 90px;
    width: 220px;
    position: relative;
    text-align: right;
    margin: 0px;
    margin-right: 10px;
    margin-left: 0px !important;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    margin-bottom: 10px;
}

#api-search {
    padding: 7px 40px 7px 10px;
    position: relative;
    top: -3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #f8f8f8;
    width: 75%;
    width: calc(100% - 52px);
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #bbbbbb;
}

/* For modern browsers */
#api-search::placeholder,
#popup-search::placeholder {
    color: #bbbbbb; /* Replace with your desired color */
    opacity: 1;  /* Firefox adjusts the opacity */
}

/* For older versions of Internet Explorer */
#api-search:-ms-input-placeholder,
#popup-search:-ms-input-placeholder {
    color: #bbbbbb;
}

/* For older versions of Microsoft Edge */
#api-search::-ms-input-placeholder,
#popup-search::-ms-input-placeholder {
    color: #bbbbbb;
}

/* For WebKit browsers (Safari, Chrome, etc.) */
#api-search::-webkit-input-placeholder,
#popup-search::-webkit-input-placeholder {
    color: #bbbbbb;
}

/* For Mozilla Firefox 18- */
#api-search::-moz-placeholder,
#popup-search::-moz-placeholder {
    color: #bbbbbb;
}

/* For Mozilla Firefox 19+ */
#api-search:-moz-placeholder,
#popup-search:-moz-placeholder {
    color: #bbbbbb;
}

#api-search {
    cursor: pointer; /* Pointer cursor to indicate it's clickable */
}

.api-search-container .scicon {
    z-index: 1;
    position: absolute;
    right: 9px;
    top: 4px;
}

.api-search-container .scicon::before {
    color: #bbbbbb;
}

.wrapper.limitedw {
    width: calc(100% - 50px);
}

.api_container {
    display: flex;
    justify-content: space-between;
}

.left_content, .right_content {
    width: 48%;
    box-sizing: border-box;
}

.left_content {
    padding-right: 1%;
    margin-bottom: unset!important;
}

.right_content {
    padding-left: 1%;
    /* margin-bottom: 50px; */
}

.api_content.left_content p,
.api_content.right_content p {
    line-height: 22px;
}

h3.api_title_elem:not(:first-of-type),
section:not(:first-of-type) {
    margin-top: 50px;
}

.http-request {
    margin-bottom: 10px;
    /* opacity: 0; */
}

.http-request .request_method {
    margin-top: unset;
}

.code-title {
    font-size: 15px !important;
    color: #555 !important;
    font-family: 'AvenirLTStdMedium' !important;
    font-weight: normal !important;
    display: block !important;
    margin-bottom: 10px;
    /* opacity: 0; */
}

.code-title-small {
    margin-top: 10px;
    /* opacity: 0; */
}

.editor-wrapper.dark .code-title {
    background-color: #515862;
    color: #fff !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 1px solid #ededed;
    border-bottom: unset;
    margin: 0 !important;
    position: relative;
    top: 1px;
}

.editor-wrapper.dark .code-title span{
    border-left: 6px solid #686868;
    display: block;
    border-top-left-radius: 5px;
    padding: 8px 12px;
}

.editor-wrapper.gray .code-title {
    background-color: #ebeef1;
    color: #2e383c !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border: 1px solid #ededed;
    border-bottom: unset;
    margin: 0 !important;
}

.editor-wrapper.gray .code-title span{
    border-left: 6px solid #c9c9c9;
    display: block;
    border-top-left-radius: 5px;
    padding: 8px 12px;
}

.copy-code-wrap {
	height: 34px;
	width: 34px;
	position: absolute;
	top: 1px;
	right: 3px;
	z-index: 10;
	cursor: pointer;
}
.copy-code {
	height: 32px;
	width: 32px;
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 10;
	transition: 0.2s;
}
.copy-code span {
	font-weight: 600;
	font-size: 16px;
	color: #fff;
	position: absolute;
	top: 6px;
	left: 8px;
}
.copy-code-wrap:active .copy-code {
	transform: translate(0, 0) scale(0.9);
}
.animate {
	transform: translate(0, 0) scale(1.12);
}

.tooltip {
	font-size: 15px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.copied-to-clipboard {
    display: none;
    width: 112px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    position: relative;
    top: 18px;
    right: 30px;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: 11px;
}

.code {
    line-height: 25px;
    word-break: break-word; /* Break long words if necessary */
    overflow-wrap: break-word; /* Ensure words are broken to prevent overflow */
    hyphens: auto; /* Adds hyphenation when breaking words */
}

.code.parameter.mt5 {
    margin-top: 5px;
}

.error_content .invisible {
    visibility: hidden;
}

.smaller.mt5 {
    margin-top: 5px;
    display: inline-block;
}

.error_content .smaller {
    padding: 1px 0;
}

.style-box-1 .CodeMirror-lines {background-color: #f8f8f8;}

.style-box-1 .CodeMirror-gutters {
    border-right: unset!important;
    padding-right: unset!important;
    left: 0px!important
}

.style-box-1 .CodeMirror-gutter {width: 0!important;}

.style-box-1 .CodeMirror-linenumber {display: none;}

.style-box-1 .CodeMirror-sizer {
    /* margin-left: unset!important; */
}

.style-box-1 .CodeMirror-scroll {
    background-color: #f8f8f8;
}

.style-box-1 .CodeMirror-lines {cursor: default;}

.style-box-1 .CodeMirror-selected {background: transparent;}

.style-box-1 .CodeMirror-line span {
    cursor:pointer;
}

.cm-s-neo.CodeMirror.style-box-1.dark {
    color:#2e383c;
    border: 1px solid #ededed;
    background-color: #ffffff;
    border-top: unset;
    border-top-left-radius: unset;
    border-top-right-radius: unset;
}

.cm-data-elem {display: none;}

.left_content .api_sub_title_2 {margin-top: 25px!important;}
.left_content .mt0,
.error_content .mt0 {margin-top: 0!important;}

.error_content .api_content table tr td:nth-child(2) {
    width: 180px;
}

.error_content span b {
    font-family: "AvenirNext"!important;
    font-weight: bold!important;
}

.url-parameters,
.json-response,
.body-parameters {
    display: block;
    list-style: none;
    margin: 9px 0 0 0 !important;
    border-top: 1px solid #ededed;
    width: 100%;
}


.url-parameters li,
.json-response li,
.body-parameters li {
    border-bottom: 1px solid #ededed;
    padding: 6px 0 9px 0;
}
.url-parameters .url-parameter, 
.json-response .json-parameter,
.body-parameters .body-parameter {
    line-height: 20px;
 }
.url-parameters .url-parameter-parameter, 
.json-response .json-parameter-parameter,
.body-parameters .body-parameter-parameter {
    font-size: 14px;
    font-weight: bold;
}

.url-parameters .url-parameter-type, 
.json-response .json-parameter-type,
.body-parameters .body-parameter-type {
    font-size: 13px!important;
    color: #596170;
}

.url-parameters .url-parameter-status,
.body-parameters .body-parameter-status {
    font-style: italic;
    font-size: 13px!important;
}

.url-parameters .url-parameter-status.bold,
.body-parameters .body-parameter-status.bold {
    font-weight: bold;
}

.url-parameters li p, 
.json-response li p,
.body-parameters li p {
    margin: unset!important;
    padding-top: 8px;
    font-size: 13px!important;
    line-height: 20px;
}

.body-parameters ul {
    list-style: none;
}

.body-parameters ul li:last-child {
    border-bottom:unset;
    padding-bottom: 0;
}

.cm-code-7,
.cm-code-22,
.cm-code-33,
.cm-code-33,
.cm-code-230,
.cm-code-237,
.cm-code-238 {height: 350px!important;}

.cm-code-39,
.cm-code-68,
.cm-code-79,
.cm-code-90,
.cm-code-201,
.cm-code-212,
.cm-code-222 {height: 400px!important;}

.cm-code-16,
.cm-code-24,
.cm-code-27,
.cm-code-231,
.cm-code-233,
.cm-code-235,
.cm-code-245,
.cm-code-247,
.cm-code-250 {height: 500px!important;}

.cm-code-41,
.cm-code-44,
.cm-code-70,
.cm-code-73,
.cm-code-81,
.cm-code-84,
.cm-code-203,
.cm-code-206,
.cm-code-243 {height: 550px!important;}

.cm-code-14 {height: 650px!important;}

.cm-code-6,
.cm-code-20,
.cm-code-93,
.cm-code-96,
.cm-code-99,
.cm-code-102,
.cm-code-105,
.cm-code-108,
.cm-code-111,
.cm-code-114,
.cm-code-117,
.cm-code-120,
.cm-code-123,
.cm-code-126,
.cm-code-129,
.cm-code-132,
.cm-code-135,
.cm-code-138,
.cm-code-141,
.cm-code-144,
.cm-code-147,
.cm-code-150,
.cm-code-153,
.cm-code-156,
.cm-code-159,
.cm-code-162,
.cm-code-165,
.cm-code-168,
.cm-code-171,
.cm-code-174,
.cm-code-177,
.cm-code-180,
.cm-code-183,
.cm-code-186,
.cm-code-189,
.cm-code-192,
.cm-code-195,
.cm-code-232 {height: 700px!important;}

.cm-code-66,
.cm-code-88,
.cm-code-199 {height: 750px!important;}

.cm-code-37,
.cm-code-46 {height: 800px!important;}

.cm-code-11,
.cm-code-31 {height: 850px!important;}


.in-text-link {
    color: #3DA4F1;
    font-weight: 800;
    text-decoration: none;
}

.in-text-link:hover {
    color: #3DA4F1;
    text-decoration: underline;
}

.feedback-link {
    line-height: 20px;
    font-size: 15px;
    padding-left: 7px;
    color: #3e5a7f;
    font-family: 'AvenirLTStdMedium';
    font-weight: normal;
    text-decoration: none;
}

.feedback-link:hover {
    color: #3DA4F1;
}

.feedback-link span {
    font-size: 20px;
    vertical-align: middle;
}

#colorbox {
    max-height: 500px;
}

#search-popup,
#feedback-popup {
    width: 530px;
    min-height: 100px;
    max-height: 500px;
    height: 100%;
    background-color: #f9f9f9;
}

#search-popup #search-header,
#feedback-popup #feedback-header {
    background-color: #ffffff;
}

#search-popup .api-search-container {
    width: 100%;
    margin: 0;
    float: unset;
}

#search-popup .api-search-container .scicon {
    left: 9px;
    right: unset;
    top: 15px;
}

#popup-search {
    width: 100%;
    color: #bbbbbb;
    background-color: #ffffff;
    border: unset;
    border-bottom: 1px solid #E9E9E9;
    padding: 16px 32px;
}

#search-popup .result-item {
    cursor: pointer;
}

#search-popup .result-item:not(:first-child) {
    border-top: 1px solid #E9E9E9;
    padding-top: 20px;
}

#search_header {
    z-index: 100;
    position: relative;
}

#popup-search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    z-index: 50; /* Ensure it is on top */
    display: none;
}

#popup-search-spinner,
.editor-spinner {
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid #3498db;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
    position: relative;
    top: 23px;
}

.editor-spinner {
    top: 0;
}

#search-popup #search_content,
#search-popup #search_footer {
    /* background-color: #F7F7FA; */
    padding: 10px;
}

#search-popup #search_footer {
    /* height: 30px; */
    display: none;
    height: 100%;
}

#search-popup #search_footer .nav-keys,
#search-popup #search_footer .enter-key {
    display:inline-block;
}

#search-popup-content,
#feedback-popup-content,
#feedback-popup-user-details-content {
    display: none;
}

#feedback-popup #feedback-header {
    padding: 16px 32px;
    border-bottom: 1px solid #E9E9E9;
    color: #3E5A7F;
    font-size: 20px;
    font-family: 'AvenirLTStdMedium';
    font-weight: normal;
}

#feedback-popup #feedback-header p {
    margin: unset;
}

#feedback-popup textarea {
    resize: vertical;
    min-height: 50px;
    height: 50px;
    max-height: 100px;
    padding: 7px 10px !important;
    width: calc(100% - 20px);
    margin-bottom: 12px;
    border-radius: 3px;
    background-color: #ffffff;
    border: 1px solid #f1f1f1;
    color: #3e5a7f;
    font-size: 14px;
    height: 80px;
    resize: none;
}

#feedback-popup textarea:hover,
#feedback-popup textarea:focus,
#feedback-popup input:hover,
#feedback-popup input:focus {
    border-color: #3DA4F1;
}

#feedback-popup input {
    padding: 10px !important;
    margin-bottom: 12px;
    background-color: #ffffff;
    border: 1px solid #f1f1f1;
    border-radius: 3px;
    color: #3e5a7f;
    font-size: 14px;
    padding: 10px;
    width: calc(100% - 20px);
}

#feedback-content label {
    width: 110px;
    display: inline-block;
    color: #3e5a7f;
    font-size: 14px;
    padding-bottom: 5px;
}

#feedback-popup #feedback-content {
    padding: 25px 32px 0px 32px;
    background-color: #F7F7FA;
}

#search-footer {
    text-align: right;
    padding: 0px 32px 25px 32px;
}

#send-feedback {
    margin: 0;
}

#close-feedback {
    margin: 0!important;
    display: none;;
}

#feedback-content .error {
    color: #fb7664;
    display: none;
}

#search-footer .success {
    color: #A1DA56;
    margin-bottom: 20px;
    display: none;
}

@media (max-width: 849px) {
    .api_container {
        display: block;
    }

    .left_content, .right_content {
        width: 100%;
        padding: 0px;
    }

    .left_content .mt0,
    .error_content .mt0 {margin-top: 25px!important;}
}