body {
	font-family:arial,monospace,tahoma,arial; font-size:12px;
}

:root {
--main-text-color: #333333; /* Darker text for better readability on light background */
--main-bg-color: #f4f4f4; /* Light background color */
--main-bg-secondary-color: #ffffff; /* Lighter secondary background for contrast */
--main-link-color: #007bff; /* Blue color for links, more neutral */
--main-shadow: 0 2px 8px rgba(0,0,0,.1); /* Lighter shadow for a softer appearance */
--main-padding: 20px;
--main-margin: 20px;
--main-color-dark-gray: #fffee0; /* Adjusted dark gray for text elements if needed */

}
 
body {
    background: var(--main-bg-color);
    margin: 0;
    color: var(--main-text-color);
    font-size: 18px;
}


* {
    box-sizing: border-box;
}

a {
    color: #007bff; /* Blue color for links */
    text-decoration: none; /* Remove underline by default */
    font-weight: 500; /* Slightly bold */
    transition: color 0.3s ease; /* Smooth color transition */
}

a:hover, a:focus {
    color: #0056b3; /* Darker blue on hover or focus */
    text-decoration: underline; /* Add underline on hover */
}


h1, h2, h3, h4 {
    font-weight: 300;
    margin: 0 0 10px 0;
    color: #000000;
}

h1 {
    margin-bottom: 20px;
}

hr {
    margin:40px 0;
}

ol li {
    margin-bottom:var(--main-margin);
}

ul {
    list-style-type:none;
    margin:var(--main-margin) 0;
    padding:0;
}

ul li {
    margin-bottom:var(--main-margin);
}

    ul li ul {
        margin-left:20px;
        margin-bottom:40px;
    }
    ul li ul li {
        margin-bottom: 10px;
        font-weight:400;
    }

.next-nav {
    margin-top:40px;
}

img {
    max-width: 100%;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.col-1 {
    width:calc(100% / 12);
    padding:20px;
    float:left;
}

.col-2 {
    width: calc((100% / 12) * 2);
    padding: 20px;
    float: left;
}

.col-3 {
    width: calc((100% / 12) * 3);
    padding: 20px;
    float: left;
}

.col-4 {
    width: calc((100% / 12) * 4);
    padding: 20px;
    float: left;
}

.col-5 {
    width: calc((100% / 12) * 5);
    padding: 20px;
    float: left;
}

.col-6 {
    width: calc((100% / 12) * 6);
    padding: 20px;
    float: left;
}

.col-7 {
    width: calc((100% / 12) * 7);
    padding: 20px;
    float: left;
}

.col-8 {
    width: calc((100% / 12) * 8);
    padding: 20px;
    float: left;
}

.col-9 {
    width: calc((100% / 12) * 9);
    padding: 20px;
    float: left;
}

.col-10 {
    width: calc((100% / 12) * 10);
    padding: 20px;
    float: left;
}

.col-11 {
    width: calc((100% / 12) * 11);
    padding: 20px;
    float: left;
}

.col-12 {
    width: 100%;
    padding: 20px;
    float: left;
}

.site-header {
    padding: var(--main-padding);
}

.logo {
    display: block;
    float: left;
    width: 160px;
}

.api-container {
    justify-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.api-element {
    width: 100%;
    padding: var(--main-padding);
    background: var(--main-bg-secondary-color);
    box-shadow: var(--main-shadow);
    margin-bottom: var(--main-margin);
    position:relative;
}

@media (min-width: 600px) {
    .api-element {
        width: 320px;
        margin: var(--main-margin);
        height: 280px;
    }

    .api-element .button {
        position: absolute;
        bottom: 20px;
        width: calc(100% - 40px);
    }
}

    .api-element p {
        margin: 40px 0;
    }

.container {
    padding: 40px;
    width: 100%;
}
@media (min-width: 800px) {
    .container {
        margin: 0 auto;
    }
}
@media (min-width: 1440px) {
    .container {
        padding: 40px 0;
        margin: 0 auto;
        width: 1440px;
    }
}

.button {
    border: none;
    background: var(--main-color-dark-gray);
    color: #000000;
    padding: 5px var(--main-padding) 8px var(--main-padding);
    box-shadow: var(--main-shadow);
    cursor: pointer;
    display: block;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
}

.button-inverted {
    background: var(--main-bg-secondary-color);
}

.commercial {
    padding: 40px 0;
    background: var(--main-bg-secondary-color);
}

.commercial-text {
    text-align: center;
    color: #000000;
    font-size: 1.5em;
}
@media (min-width: 500px) {
    .commercial-text {
        font-size: 2em;
    }
}

    .commercial-text h2 {
        font-size: 2em;
        font-weight: 700;
        margin-bottom: 40px;
    }

    .commercial-text .button {
        font-size: 0.7em;
        border-radius: 20px;
        background: var(--main-link-color);
        display: inline-block;
    }

    .site-footer {
        text-align: Center;
    }

    .row {
        margin: 0 -20px;
    }

    .left-area {
        width: 100%;
        background: var(--main-bg-secondary-color);
        padding: var(--main-padding);
        margin: var(--main-margin) 0;
        box-shadow: var(--main-shadow);
    }

    @media (min-width: 800px) {

        .left-area {
            width: calc((100% / 12 * 4) - 40px);
            margin: var(--main-margin);
            float: left;
        }
    }

    @media (min-width: 1060px) {
        .left-area {
            width: calc((100% / 12 * 3) - 40px);
        }
    }

    @media (min-width: 1440px) {
        .left-area {
        }
    }

    .right-area {
        width: 100%;
        background: var(--main-bg-secondary-color);
        padding: var(--main-padding);
        margin: var(--main-margin) 0;
        box-shadow: var(--main-shadow);
    }

    @media (min-width: 800px) {

        .right-area {
            width: calc((100% / 12 * 8) - 40px);
            margin: var(--main-margin);
            float: left;
        }
    }

    @media (min-width: 1060px) {
        .right-area {
            width: calc((100% / 12) * 9 - 40px);
        }
    }

    @media (min-width: 1440px) {
        .right-area {
        }
    }

    .code {
        display: inline-block;
        background: var(--main-color-dark-gray);
        padding: 10px;
        margin: 10px 0;
        color: #000000;
        font-family: Courier New, Courier, monospace;
    }

.methods-table  {
    margin:0 0 40px 0;
}

table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    table td, table th {
        border: none;
        border-bottom: 1px solid var(--main-color-dark-gray);
        /*width: calc(100% /3);*/
        text-align: left;
        padding: 10px;
    }

    table .documentation {
        #000000-space:pre-line;
    }

nav .active {
    font-weight: 700;
}

.sample-container {
    margin: 40px 0;
}

    .sample-container .code {
        display: block;
    }


.url-list {
    list-style-type:none;
    margin:0 0 40px 0;
    padding:0;
}

.url-list li {
    margin-bottom:10px;
}

.api-description-text {
    margin: 0 0 40px 0;
}

.api-method-text {
    margin: 40px 0;
}

.form-container {
    margin-top: 20px;
    background: var(--main-color-dark-gray);
    padding: 20px;
    max-width: 440px;
}

.input-container {
    margin-bottom:20px;
}
.input-text {
    padding:8px 5px;
    border-radius:5px;
    width:100%;
}

.input-label {
    display:block;
    margin-bottom:5px;
}

fieldset {
    border: none;
    padding: 0;
    margin-bottom: 20px;
}

    fieldset legend {
        margin-bottom:10px;
    }
    fieldset label {
        display:block;
        margin-bottom:10px;
    }

.input-error {
    color: var(--main-link-color);
}

.subscribe-feedback {
    margin-top:40px;
}

.messages-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

    .messages-container .messages-toggle {
        background: transparent;
        width: 40px;
        border: 0;
        filter: invert(100%);
        cursor: pointer;
    }

    .messages-container .read-dot {
        display: inline-block;
        background: var(--main-link-color);
        border-radius: 10px;
        width: 10px;
        height: 10px;
        position: absolute;
        top: 0;
        right: 0;
        filter: invert(0%);
    }

    .messages-container .messages-list {
        display: none;
        position: absolute;
        right: 10px;
        width: 250px;
        background: #75767a;
        padding: 20px;
        color: #000000;
        box-shadow: var(--main-shadow);
    }

        .messages-container .messages-list ul li {
            border-bottom: 1px solid #000000;
            padding-bottom: var(--main-padding);
        }

            .messages-container .messages-list ul li .message-head {
                margin:0 0 10px 0;
                font-size: 1.4rem;
                font-weight:500;
            }
            .messages-container .messages-list ul li .message-date {
                margin-bottom: 10px;
                font-size: 0.9rem;
            }

@media (min-width: 800px) {
    .messages-container .messages-list {
        width: 450px;
    }
}

.messages-list-subscribe {
    margin-top:40px;
    text-align:right;
}

.statusbars-container {
    display:flex;
    flex-direction:row;
    margin-bottom:40px;
}

.statusbar {
    border-right: 1px solid #00d600;
    width: 10px;
    height: 20px;
    position:relative;
}
    .statusbar:last-child {
        border-right:none;
    }

.statusbar-green {
    background: green;
}

.statusbar-red {
    background:red;
}

.statusbar-yellow {
    background: yellow;
}

.statusbar-timer {
    display:none;
}

.statusbar:hover .statusbar-timer {
    display: block;
    position: absolute;
    background: black;
    padding: 5px 8px;
    border-radius: 5px;
    top: 5px;
    z-index: 1;
    left: 3px;
    width:max-content;
}

.table-label th, .table-label td {
    border: 1px solid var(--main-color-dark-gray);
    text-align:center;
    position:relative;
}

.table-column-big {
    height:110px;
}

.table-column-label {
    position:absolute;
    top:3px;
    left:5px;
}

