html {
    font-family: sans-serif;
    background: #191919;
    padding: 1rem;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 12pt;
    margin: 0 auto;
    background: #191919;
}

h1 {
    color: #fff;
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 0px;
}

a {
    text-decoration: none;
    color: #fff;
}

a:visited {
    color: #46beda;
}

a:visited {
    color: #46beda;
}

nav {
    background: #191919;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
}

nav h1 {
    flex: auto;
    margin: 0;
}

nav h1 a {
    text-decoration: none;
    padding: 0.25rem 0.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a,
nav ul li span,
header .action {
    display: block;
    padding: 0.5rem;
}

.content {
    padding: 1rem 1rem 1rem;
    color: #fff;
    max-width: 1000px;
    margin: 0 auto;
}

.content>header {
    border-bottom: 1px solid #46beda;
    display: flex;
    align-items: flex-end;
}

.content>header h1 {
    flex: auto;
    margin: 1rem 0 0.25rem 0;
}

.content-info {
    padding: 1rem 1rem 1rem;
    color: #fff;
    max-width: 1000px;
    margin: 0 auto;
}

.content-search {
    padding: 1rem 1rem 1rem;
    color: #fff;
}

.flash {
    margin: 1em 0;
    padding: 1em;
    background: #333;
    border: 1px solid #377ba8;
}

.content:last-child {
    margin-bottom: 0;
}

.content label {
    font-weight: bold;
    margin-bottom: 0.5em;
}

.content textarea {
    min-height: 12em;
    resize: vertical;
}

.feed>header {
    display: flex;
    align-items: flex-end;
    font-size: 0.85em;
}

.feed>header>div:first-of-type {
    flex: auto;
}

.feed>header h1 {
    font-size: 1.5em;
    margin-bottom: 0;
}

.feed .name {
    color: #bbb;
}

.feed .value {
    color: white;
}

.post .body {
    white-space: pre-line;
}

.ruleinfo {
    color: white;
    width: 400px;
    display: inline-block;
    vertical-align: top;
    padding-top: 10px;
}

.graph {
    padding-top: 20px;
}

.serving-info {
    margin: 0 auto;
    max-width: 1000px;
    padding-bottom: 60px;
}

.rulecount {
    color: #46beda;
}

input.danger {
    color: #cc2f2e;
}

input[type=submit] {
    align-self: start;
    min-width: 10em;
    color: #46beda;
}

.center {
    display: block;
    /* background: #191919; */
    margin-left: auto;
    margin-right: auto;
}

.info-logo {
    padding-top: 0px;
    height: 100px;
    /* background: #191919; */
    margin-left: auto;
    margin-right: auto;
}

.table {
    display: table;
    width: 100%;
}

.trow {
    display: table-row;
}

.tcell,
.theading,
.tcell-clean,
.tcell-suspicious,
.tcell-malicious,
.tcell-code {
    border: 1px solid #191919;
    display: table-cell;
    padding: 3px 10px;
    word-break: break-all;
}

.theading {
    background-color: #46beda;
    font-weight: 700;
}

.tcell {
    color: #191919;
    background-color: #fff;
}

.tcell-link {
    border: 1px solid #191919;
    background-color: #46beda;
    display: table-cell;
    padding: 3px;
    margin: 0px;
    text-align: center;
    color: #fff !important;
    vertical-align: middle;
}

.tcell-link a {
    color: #fff !important;
}

.tcell-ref {
    border: 1px solid #fff;
    display: block;
    padding: 3px;
    margin: 0px;
    text-align: center;
    color: #fff !important;
}

.tcell-clean {
    background-color: #46da4a;
}

.tcell-suspicious {
    background-color: #daac46;
}

.tcell-malicious {
    background-color: #da466f;
}

.tcell-code {
    font-family: monospace;
}

::placeholder {
    color: #46beda82;
}


/* Loader */

.lds-css {
    display: inline-block;
    padding-left: 358px;
    margin: 0 auto;
}

@keyframes lds-blocks {
    0% {
        background: #00c0db;
    }
    25% {
        background: #00c0db;
    }
    25.25% {
        background: #dddddd;
    }
    100% {
        background: #dddddd;
    }
}

@-webkit-keyframes lds-blocks {
    0% {
        background: #00c0db;
    }
    25% {
        background: #00c0db;
    }
    25.25% {
        background: #dddddd;
    }
    100% {
        background: #dddddd;
    }
}

.lds-blocks {
    position: relative;
}

.lds-blocks div {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #dddddd;
    -webkit-animation: lds-blocks 3s linear infinite;
    animation: lds-blocks 3s linear infinite;
}

.lds-blocks {
    width: 39px !important;
    height: 39px !important;
    -webkit-transform: translate(-19.5px, -19.5px) scale(0.195) translate(19.5px, 19.5px);
    transform: translate(-19.5px, -19.5px) scale(0.195) translate(19.5px, 19.5px);
}


/* SARCH FORM */

.search_form {
    overflow: hidden;
    background: #46beda;
    padding: 10px 5px 5px 5px;
}


/* API KEY FORM */

.quick_access_form {
    overflow: hidden;
    background: #46beda;
    padding: 5px 5px 10px 5px;
}

.form_key {
    float: left;
    padding: 0px 10px;
    margin-top: 8px;
    width: 55px;
    font-weight: 700;
}

.apikey_span {
    display: block;
    overflow: hidden;
    padding: 5px 10px 5px 5px;
}

.apikey_button {
    float: right;
    padding: 5px 15px;
}

input[type=submit] {
    /* padding: 5px 5px; */
    border: 2px solid #FFF;
    background-color: #fff;
    cursor: pointer;
    color: #46beda;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1em;
    float: right;
    margin-top: 2px;
    margin-right: 10px;
    margin-left: 15px;
    font-weight: 700;
}

input[type=text],
textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: 'Roboto Condensed', sans-serif;
    color: #46beda;
    font-size: 1em;
    text-indent: 3px;
    outline: none;
    border: 0px solid rgba(81, 203, 238, 1);
}

input[type=text]:focus,
textarea:focus {
    background: #fff;
    border: 0px solid rgba(81, 203, 238, 1);
    outline: none;
}


/* Chrome Auto-Fill Bugfix */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 10000px white inset !important;
    -webkit-text-fill-color: #46beda !important;
}

.checkbox_span {
    display: block;
    float: right;
    padding: 0px 0px 0px 15px;
    margin-top: 5px;
}


/* The container */

.container {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Hide the browser's default checkbox */

.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


/* Create a custom checkbox */

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
}


/* On mouse-over, add a grey background color */

.container:hover input~.checkmark {
    background-color: #eee;
}


/* When the checkbox is checked, add a blue background */

.container input:checked~.checkmark {
    background-color: #fff;
}


/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


/* Show the checkmark when checked */

.container input:checked~.checkmark:after {
    display: block;
}


/* Style the checkmark/indicator */

.container .checkmark:after {
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #46beda;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/* TABS ---------------------- */


/* Style the tab */

.tab {
    overflow: hidden;
    /* border: 1px solid #ccc; */
    background-color: #fff;
    margin-top: 20px;
}


/* Style the buttons that are used to open the tab content */

.tab button {
    font-family: 'Roboto Condensed', sans-serif;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 13px;
    transition: 0.3s;
    font-size: 1em;
    color: #3dbedc;
    background-color: #fff;
    font-weight: 700;
}


/* Change background color of buttons on hover */

.tab button:hover {
    background-color: #3dbedc;
    color: #fff;
}


/* Style the disabled buttons that are used to open the tab content */

.tab button.disabled {
    color: #d3d3d3;
    background-color: #808080;
}


/* Create an active/current tablink class */

.tab button.active {
    background-color: #3dbedc;
    color: #fff;
}


/* Style the tab content */

.tabcontent {
    display: none;
    padding: 0px 0px;
    border: 0px solid #ccc;
    border-top: none;
}

.tabcontent {
    animation: fadeEffect 1s;
    /* Fading effect takes 1 second */
}


/* Go from zero to full opacity */

@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Integration Tab */

.textlink {
    color: #46beda;
    text-decoration: none;
}

hr {
    border: none;
    border-top: 1px solid #fff;
    margin: 25px 0px;
}

.inline-message {
    color: #fff;
    padding: 0px 0px 5px 0px;
    margin-top: 10px;
    text-align: center;
}


/* INFO PAGES ------------------ */

.titlebar {
    overflow: hidden;
    display: table-cell;
    background: #46beda;
    padding: 10px 15px;
    font-size: 1.4em;
}

.home {
    background-color: #46beda;
    display: table-cell;
    padding-right: 16px;
    margin: 0px;
    font-size: 2em;
    text-align: right;
    color: #fff !important;
    vertical-align: middle;
}

.home a {
    color: #fff !important;
}


/* SEARCH --------------------- */

.results-table {
    border: 1px solid #222;
}


/* RULE INFO ------------------ */

.tcell a {
    color: #46beda;
}

.error-message {
    padding: 10px;
}

.footer {
    color: #fff;
    padding: 0px 0px 5px 0px;
    margin-top: 10px;
    text-align: center;
}


/* MODAL */

.modal_default_main {
    color: #fff;
    margin: 0 auto;
    width: 400px !important;
    top: 260px !important;
    background-color: #46beda !important;
    border-color: #fff !important;
}

.modal_default_ok {
    /* padding: 5px 5px; */
    border: 2px solid #FFF;
    background-color: #fff;
    cursor: pointer;
    color: #46beda;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1em;
    float: right;
    margin-top: 2px;
    margin-right: 10px;
    margin-left: 15px;
    font-weight: 700;
    margin-bottom: 15px;
}