html {
    height: 100%;
    font-family: "Salesforce Sans", Arial, sans-serif;
}

body {
    min-height: 100%;
    display: block;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch !important;
}

.monospace {
    font-family: monospace, monospace;
}

.slds-schema-nav {
    left: 0;
    top: 0;
    width: 20rem;
    padding: 0;
    position: fixed;
    height: 100%;
    overflow: auto;
    box-sizing: border-box;
}

nav sup {
    font-style: italic;
    opacity: 0.7;
}

header a, .navbar-default a {
    text-decoration: none !important;
    color: #0070d2 !important;
    transition: color 0.1s linear !important;
}

main, footer {
    max-width: 60rem;
    margin-left: 20rem;
    padding: 2rem;
    box-sizing: border-box;
    position: relative;
}

.title p {
    font-size: 1rem;
    font-weight: 300;
    max-width: 40rem;
}

.panel p {
    white-space: nowrap;
    width: 100%;                   /* IE6 needs any width */
    overflow: hidden;              /* "overflow" value must be different from  visible"*/
    -o-text-overflow: ellipsis;    /* Opera < 11*/
    text-overflow:    ellipsis;
}

main section {
    margin-bottom: 3rem;
}

main section .slds-section__title {
    border-bottom: 1px solid #D8DDE6;
    margin-bottom: 1.5em;
}

main code.highlight {
    display: block;
    background: #4D4D4C;
    position: relative;
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.16);
    padding: 0.125rem;
    padding-top: 1.5rem;
    border-radius: 0.25rem;
}

main code.highlight::after,
main code.highlight::before {
    content: "";
    display: block;
    height: 0.75rem;
    width: 0.75rem;
    position: absolute;
    top: 0.5rem;
    /*border: 1px solid darken($color: #4D4D4C, $amount: 10%);*/
    border-radius: 100%;
    cursor: pointer;
}

main code.highlight::before {
    background: #C23934;
    left: 0.5rem;
}

main code.highlight::after {
    background: #676766;
    left: 1.75rem;
}

input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  font-size: 1em;
}
::-moz-placeholder { /* Firefox 19+ */
  font-size: 1em;
}
:-ms-input-placeholder { /* IE 10+ */
  font-size: 1em;
}
:-moz-placeholder { /* Firefox 18- */
  font-size: 1em;
}

.SocialMediaShareButton {
    cursor: pointer;
    display: inline-block;
    padding: 0 2px;
}

/* Home Page */

.main {
    flex: 1 0 0;
    min-width: 400px;
    max-width: 2400px;
    margin: 0 auto;
}

.main-section-wrapper {
    background: #99E0FF;
    padding-bottom: 50px;
}

.main-section {
    padding-top: 40px !important;
}

.main-header {
    margin-bottom: 0 !important;
    background: white !important;
}

.main-home-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.main-home-col {
    padding: 25px 0;
}

.main-home-bullets {
    padding: 15px 0;
}

.main-home-text {
    font-family: monospace, monospace;
    font-size: 1.25em;
}

.main-form-title {
    padding: 20px 0;
}

.main-form {
    padding: 20px 0;
}

.main-header-underline {
    background: #337AB6;
    border: none;
    height: 3px;
}

.triangle::before {
    content: '';
    box-shadow: 0 -39px 102px 0 #EBF2F8;
    width: 100%;
    height: 90%;
    background: #99E0FF;
    overflow: hidden;
    position: absolute;
    max-width: 2400px;
    clip-path: polygon(0% 0, 100% 0%, 100% 75%, 0% 90%);
}

.see-the-docs {
    color: #0070D2 !important;
    font-size: 1.25em !important;
}

.main-api-list-header {
    padding: 50px;
}

.about-section {
    margin-top: 28px;
    text-align: center;
}

.main-footer-section {
    padding: 25px 0;
}

/* Documentation Page */

#root > div {
    height: 100%;
}

.loading-spinner {
    /*display: flex;*/
    /*align-items: center;*/
    height: 100%;
    width: 100%;
    margin: 20% 48%;
    font-size: 35px;
}

.loading-text {
    margin-left: -300px;
}

.sidenav-search-bar {
    width: 100%;
}

.sidenav-search-bar:focus {
    outline: none;
}

.docs-graphiql-link {
    float: right;
    font-size: 1rem !important;
    padding: 10px 5px 0;
}

@media(max-width: 1300px) {
    .triangle::before {
        content: '';
        box-shadow: 0 -39px 102px 0 #EBF2F8;
        width: 100%;
        height: 100%;
        background: #99E0FF;
        overflow: hidden;
        position: absolute;
        max-width: 2400px;
        clip-path: polygon(0% 0, 100% 0%, 100% 65%, 0% 80%);
    }
}

@media(max-width: 1170px) {
    .loading-text {
        font-size: 30px;
        margin-left: -250px;
    }

    .triangle::before {
        content: '';
        box-shadow: 0 -39px 102px 0 #EBF2F8;
        width: 100%;
        height: 100%;
        background: #99E0FF;
        overflow: hidden;
        position: absolute;
        max-width: 2400px;
        clip-path: polygon(0% 0, 100% 0%, 100% 65%, 0% 80%);
    }
}

@media(max-width: 992px) {
    .triangle::before {
        content: '';
        box-shadow: 0 -39px 102px 0 #EBF2F8;
        width: 100%;
        height: 105%;
        background: #99E0FF;
        overflow: hidden;
        position: absolute;
        max-width: 2400px;
        clip-path: polygon(0% 0, 100% 0%, 100% 85%, 0% 100%);
    }
}

@media(max-width: 776px) {
    .loading-text {
        font-size: 15px;
        margin-left: -120px;
    }

    .triangle::before {
        content: '';
        box-shadow: 0 -39px 102px 0 #EBF2F8;
        width: 100%;
        height: 110%;
        background: #99E0FF;
        overflow: hidden;
        position: absolute;
        max-width: 2400px;
        clip-path: polygon(0% 0, 100% 0%, 100% 85%, 0% 100%);
    }
}

@media(max-width: 400px) {
    .loading-text {
        font-size: 15px;
        margin-left: -120px;
    }

    .triangle::before {
        content: '';
        box-shadow: 0 -39px 102px 0 #EBF2F8;
        width: 100%;
        height: 115%;
        background: #99E0FF;
        overflow: hidden;
        position: absolute;
        max-width: 2400px;
        clip-path: polygon(0% 0, 100% 0%, 100% 85%, 0% 100%);
    }

    .main-header-underline {
        display: block;
    }
}

@media(min-width: 600px) {
    .main-header-underline {
        display: none;
    }
}