@import url('https://fonts.googleapis.com/css2?family=Bitter&family=Work+Sans&display=swap');

:root {
	/*********COLORS********/
  --clr-primary-100: #e6f6f1;
  --clr-primary-200: #9CFCDF; 
  --clr-primary-300: #05C78D; 
  --clr-primary-400: #04a777; /*Jade*/
  --clr-primary-500: #048B63; 
  --clr-secondary-400: #2a73e8;/*Zircon*/
  --clr-secondary-600: #01153a;/*Dark Sapphire*/
  --clr-secondary-800:#161925;/*Onyx*/
  --clr-accent-light-200:#FFEBC2;
  --clr-accent-light-300:#FFD685;
  --clr-accent-light-400:#ffc857;/*Gold*/
  --clr-accent-light-500:#FFBB33;
  --clr-accent-dark:#7a73ff;/*Jasper*/
  --clr-important-200:#FEC3C6;
  --clr-important-300:#FB4B54;
  --clr-important-400:#fb3640;/*Fire Opal*/
  --clr-important-500:#c92b33;
  --clr-neutral-100:#eaeaea;
  --clr-neutral-200:#e0e0e0;
  --clr-neutral-300:#d5d5d5;
  --clr-neutral-400:#cccccc;
  --clr-neutral-500:#999999;
  --clr-neutral-600:#666666;
  --clr-neutral-700:#505050;
  --clr-neutral-800:#424242;
  --clr-neutral-900:#333333;

	/*********FONTS********/
  --ff-headers: 'Bitter', serif;
  --ff-body: 'Work Sans', 'Open Sans', sans-serif;
}

html {
	scroll-behavior: smooth;
	font-size:62.5%;
}

body {
    background-color: var(--clr-neutral-100) !important;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    color:var(--clr-secondary-600);
    font-family: var(--ff-body);
}
* {
    font-family: var(--ff-body) !important;
}
h1, h2, h3, h4 {
    font-family: var(--ff-headers) !important;
}
/* ================================
    Header
   ================================
*/
header > div {
    background-color: #ffffff !important;
    padding: 40px 40px 10px;
    border-bottom: 1px solid var(--clr-neutral-200);
    display: grid;
    gap: 15px;
}
header > div div:nth-child(1),
header > div div:nth-child(3) p {
    display: none;
}
header > div div:nth-child(2) {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 20px;
    align-items: center;
}
header > div div:nth-child(2) img {
    width: 200px;
    height: auto;
}
header > div div:nth-child(2)::after {
    content: 'API Services';
    font-family: var(--ff-headers) !important;
    color: var(--clr-secondary-600);
    font-size: 3rem;
    line-height: 3rem;
    height: max-content;
}
header > div div:nth-child(3) h2,
header > div div:nth-child(3) h2 a {
    color: var(--clr-neutral-900);
    text-align: left;
    font-family: var(--ff-body) !important;
    font-size: 1.4rem !important;
    margin: 0;
}
header > div div:nth-child(3) h2 a  {
    color: var(--clr-primary-400) !important; 
    text-decoration: underline;
    font-weight: bold;
}
/* ================================
    Body
   ================================
*/
#body {
    padding-top: 0px !important;
    width: calc(100% - 80px);
    float: left;
    margin: 25px 40px 50px;
    border: 1px solid var(--clr-neutral-200);
    background-color: #ffffff;
}
#body section .container-fluid {
    padding: 15px 30px;
    margin: 0;
    width: 100%;
    border-bottom: 1px solid var(--clr-neutral-100);
}
#body section .container-fluid:first-child {
    padding-top: 20px;
}
#body section .container-fluid:last-child {
    padding-bottom: 20px;
    border-bottom: none;
}
#body section .container-fluid:nth-of-type(even) {
    background-color: #f8f8f8;
}
#body section * {
    margin: 0;
    padding: 0;
    float: left;
}
#body section *::before, #body section *::after {
    content: none;
}
#body section .container-fluid > div {
    width: 100%;
    border: none !important;
    background-color: transparent !important;
}
#body .container-fluid .row > div:nth-child(1) {
    margin-right: 30px;
    width: 55px !important;
}
#body .container-fluid .row > div:nth-child(1) button {
    font-size: 1rem;
    padding: 3px 0;
    width: 100%;
    text-align: center;
    border-radius: 0;
    border: none;
    font-weight: bold;
}
#body .container-fluid .row button[onclick*="GET"] {
    background-color: var(--clr-primary-500) !important;
}
#body .container-fluid .row button[onclick*="POST"] {
    background-color: var(--clr-secondary-400) !important;
}
#body .container-fluid .row button[onclick*="PUT"] {
    background-color: var(--clr-accent-dark) !important;
}
#body .container-fluid .row button[onclick*="PATCH"] {
    background-color: var(--clr-accent-light-500) !important;
}
#body .container-fluid .row button[onclick*="DELETE"] {
    background-color: var(--clr-important-500) !important;
}
#body .container-fluid .row > div:nth-child(2) {
    width: 255px !important;
    margin-right: 30px;
}
#body .container-fluid .row > div:nth-child(2) button {
    width: 100% !important;
    background-color: transparent !important;
    color: var(--clr-secondary-800) !important;
    font-weight: bold !important;
    border: none;
    text-decoration: underline;
    text-align: left;
    font-size: 1.4rem;
}
#body .container-fluid .row > div:nth-child(3) {
    width: calc(100% - 375px) !important;
    font-size: 1.4rem;
    line-height: 1.6rem;
    color: #000000;
}
#body .container-fluid .row > div:nth-child(4) {
    margin-top: 20px;
}
.content-wrapper,
#body .container-fluid .row > div:nth-child(4),
body .container-fluid .row > div:nth-child(4) #body.help-page section.featured,
body .container-fluid .row > div:nth-child(4) #body.help-page section.featured div,
#body.help-page section.content-wrapper div {
    width: 100%;
}
#body.help-page {
    background-color: transparent;
}
body .container-fluid .row > div:nth-child(4) #body.help-page {
    width: 100%;
    border: none;
}
#body.help-page section.content-wrapper h1,
#body.help-page section.content-wrapper > div > div:nth-child(1),
body .container-fluid .row > div:nth-child(4) #body.help-page section.featured,
#body.help-page section.content-wrapper > div > h3 + div:empty {
    display: none;
}
#body.help-page .bordert {
    margin: 20px 0 40px;
}
#body.help-page .bordert .row:nth-of-type(even) {
    background-color: #f8fbff;
}
#body.help-page .bordert .row {
    width: 100%;
    border: none !important;
    display: grid;
    gap: 30px;
    padding: 10px 20px;
    align-items: center;
    grid-template-columns: 100px 1fr 60px 1fr;
    border-bottom: 1px solid var(--clr-neutral-200) !important;
}
#body.help-page .bordert .row:nth-child(1) {
    border-bottom: 3px solid var(--clr-primary-400) !important;
    border-top: 3px solid var(--clr-primary-400) !important;
    text-transform: uppercase;
    padding-top: 10px !important;
}
#body.help-page .bordert .row div {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: max-content;
    font-size: 1.4rem;
    line-height: 1.6rem;
    color: var(--clr-neutral-600);
}
#body.help-page .bordert .row:nth-child(1) div {
    font-weight: bold;
    color: var(--clr-neutral-900);
}
#body.help-page .bordert .row div:nth-child(1):hover,
#body.help-page .bordert .row div:nth-child(3):hover,
#body .container-fluid .row > div:nth-child(2) button:hover {
    overflow: inherit !important;
    width: max-content !important;
    position: relative;
    z-index: 2;
}
#body.help-page .bordert .row div:nth-child(1):hover::before,
#body.help-page .bordert .row div:nth-child(3):hover::before,
#body .container-fluid .row > div:nth-child(2) button:hover::before {
    content: '';
    background: #ffffff !important;
    width: calc(100% + 20px);
    height: calc(100% + 10px);
    display: block;
    position: absolute;
    z-index: -1;
    transform: translate(-50%, -50%);
    top: 50%;
    border-radius: 4px;
    left: 50%;
    border: 1px solid var(--clr-neutral-200);
}
#body.help-page .bordert .row div:nth-child(1),
#body.help-page .bordert .row div:nth-child(3),
#body .container-fluid .row > div:nth-child(2) button {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sample-content pre.wrapped,
.sample-content > span + p {
    width: 100% !important;
    padding: 15px 25px !important;
    border: 1px solid var(--clr-neutral-200);
    border-top: none;
    border-radius: 0 0 4px 4px;
}
#body.help-page section.content-wrapper > div > h2,
#body.help-page section.content-wrapper > div > h3,
h4.sample-header {
    font-family: var(--ff-body) !important;
    font-weight: bold;
}
#body.help-page section.content-wrapper > div > h2,
#body.help-page .bordert + h3,
#body.help-page section.content-wrapper > div > h3:last-of-type {
    color: var(--clr-secondary-600) !important;
    font-size: 1.8rem !important;
    line-height: 2rem !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}
#body.help-page section.content-wrapper > div > h3,
#body.help-page section.content-wrapper > div > h3 + p,
#body.help-page section.content-wrapper > div > a,
h4.sample-header + .sample-content > span b,
h4.sample-header,
section.content-wrapper > div > h2 + h3 + div,
section.content-wrapper > div > h2 + h3 + div + a + p {
    font-size: 1.4rem;
    line-height: 1.6rem;
    margin-bottom: 3px !important;
}
#body.help-page section.content-wrapper > div > h3, 
h4.sample-header {
    color: var(--clr-neutral-900);
    width: 160px;
}
#body.help-page section.content-wrapper > div > h3 + p,
section.content-wrapper > div > h2 + h3 + div,
section.content-wrapper > div > h2 + h3 + div + a + p {
    color: var(--clr-neutral-600) !important;
    width: calc(100% - 160px) !important;
}
#body.help-page section.content-wrapper > div > a {
    color: var(--clr-primary-400);
    width: calc(100% - 160px);
    text-decoration: underline;
}
h4.sample-header {
    width: 100%;
}
.sample-content {
    position: relative;
    margin: 5px 0 20px !important;
}
.sample-content:last-child {
    margin: 5px 0 40px !important;
}
.sample-content > span {
    width: 100%;
    background-color: #f5f5f5;
    border-radius: 4px 4px 0 0;
    padding: 10px 10px 0 !important;
    border: 1px solid var(--clr-neutral-200);
    border-bottom: none;
}
.sample-content > span b {
    color: var(--clr-neutral-500) !important;
    width: 70px !important;
    font-weight: 500;
    font-size: 1.2rem !important;
    -webkit-touch-callout: none; 
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}
h4.sample-header + .sample-content > span b {
    margin-bottom: 0 !important;
}
.sample-content > span + p {
    color: var(--clr-neutral-500);
    background-color: #f5f5f5;
    border-radius: 0 0 4px 4px;
    font-size: 13px;
    line-height: 1.42857143;
}
section.content-wrapper > div > h2 + h3 + div { 
    margin-bottom: 3px;
}
section.content-wrapper > div > h2 + h3 + div + a {
    font-weight: bold;
    width: 160px !important;
}
#body.help-page section.content-wrapper > div > h3:last-of-type {
    margin-top: 40px;
}
@media screen and (max-width: 640px)  {
    header > div div:nth-child(2) {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    #body {
        margin: 25px 0 50px;
        width: 100%;
        border-left: none;
        border-right: none;
    }
    #body .container-fluid > .row > div:nth-child(2) {
        margin-right: 0;
    }
    #body .container-fluid > .row > div:nth-child(3) {
        width: 100% !important;
        margin-top: 10px;
    }
    #body.help-page .bordert .row {
        gap: 10px;
        padding-left: 0;
        padding-right: 0;
        grid-template-columns: 70px 1fr 60px 1fr;
    }
}