﻿html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video
{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section
{
    display: block;
}

ol, ul
{
    margin: 2px 0 2px 20px;
    font-size: 0.95em;
}

li
{
    margin-bottom: 2px;
}

blockquote, q
{
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after
{
    content: '';
    content: none;
}

table
{
    border-collapse: collapse;
    border-spacing: 0;
}

html, body
{
    padding: 0;
    margin: 0;
    line-height: 1.2em;
    background-color: #000000;
    color: #DDDDDD;
    width: 100%;
    min-width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-size: 14px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

article, aside, details, figcapxion, figure, footer, header, hgroup, menu, nav, section
{
    display: block;
}

p
{
    padding-bottom: 1em;
}

h1
{
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.6em;
}

h2
{
    font-size: 1.2em;
    word-wrap: break-word;
    white-space: normal;
}

h3
{
    font-size: 1.1em;
}

h2, h3
{
    margin-bottom: 10px;
}

strong
{
    font-weight: bold;
}

iframe
{
    overflow: hidden;
    width: 100%;
    height: 100%;
}

hr
{
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #555555;
    margin: 1em 0;
    padding: 0;
}

a
{
    color: #DDDDDD;
    text-decoration: none;
    background: #121212;
    padding: 2px 6px;
    cursor: pointer;
}

textarea
{
    width: 99%;
    min-height: 400px;
}

label
{
    width: 150px;
    height: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    font-size: 14px;
}

pre
{
    background-color: #111111;
    padding: 8px;
    display: inline-block;
    margin-top: 8px;
    font-family: 'Lucida Console', monospace;
}

form
{
    width: 100%;
}

input[type=checkbox]
{
    position: relative;
    top: 2px;
}

label
{
    padding-bottom: 4px;
}

.inline-form
{
    width: auto;
    display: inline-block;
}

.inline-form button,
.inline-button
{
    color: #DDDDDD;
    background: #121212;
    padding: 4px 6px;
    border: none;
    cursor: pointer;
}

::-webkit-scrollbar
{
    width: 20px;
    height: 20px;
}

::-webkit-scrollbar-track
{
    background: #666666;
    border: 1px solid #444444;
    border-radius: 0;
}
::-webkit-scrollbar-thumb
{
    background: #444444;
    border: 2px solid #999999;
    border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover
{
    background: #888888;
}

#siteContainer
{
    height: 100%;
    width: 100%;
    background: #151515;
}

#bodyContainer
{
    min-height: calc(100% - 20px);
    padding: 10px;
    margin: 0 auto;
    min-width: 320px;
    max-width: 1800px;
    background: #000000;
}

#mailBody
{
    padding: 10px;
    width: calc(100% - 20px);
}

#content
{
    min-height: calc(100vh - 180px);
    overflow: visible;
    margin-top: 10px;
}

#mailContent
{
    margin-top: 10px;
    min-height: 600px;
}

#tabs /* gets shown in the js that creates the tabs */
{
    display: none;
}

#header
{
    height: 34px;
    position: relative;
    left: -10px;
    width: 100%;
    padding: 0 10px 0 10px;
    display: inline-block;
    border-bottom: 1px solid #777777
}

#mailHeader
{
    font: 32px Verdana;
    padding-bottom: 10px;
    border-bottom: 1px solid #777777;
}

#headerTitle
{
    float: left;
    /*
    position: relative;
    top: 50%;
    transform: perspective(1px) translateY(-50%);
    */
}

#headerTitle a
{
    font-size: 0.9em;
    text-decoration: none;
    padding-left: 2px;
}

#headerTitle h1
{
    margin-top: 5px;
}

#headerMenu
{
    float: right;
    text-align: right;
    position: relative;
}

#headerMenuUserName
{
    padding-bottom: 6px;
}

#footer,
#mailFooter
{
    text-align: center;
    padding-top: 10px;
    min-height: 50px;
    font-size: 0.8em;
    display: block;
}

#footer a,
#mailFooter a
{
    background: none;
    padding: 0;
}

#outerFooter
{
    text-align: center;
    font-size: 14px;
    margin-top: 16px;
}

#tabs
{
    border: 1px solid #222222;
    margin-top: 6px;
    background: none;
    padding: 0;
}

.button
{
    border: none;
    background-color: #222222;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    padding: 6px;
}

.cancel-button
{
    color: #888888;
    text-decoration: none;
    padding: 10px;
    display: inline-block;
    font-size: 0.9em;
}

.submit-button,
.delete-button
{
    border: 1px solid #888888;
    background-color: #111111;
    color: #EDEDED;
    text-align: center;
    text-decoration: none;
    padding: 4px;
    min-width: 100px;
    float: left;
    height: 30px;
}

.delete-button
{
    border: 1px solid #FF8888;
    background-color: #991111;
    float: right;
}

.button:hover,
.highlighted,
.submit-button:hover
{
    background-color: #558400; /* Green */
}

.lessImportantText
{
    color: #AAAAAA;
}

.field
{
    padding-bottom: 5px;
    max-width: 720px;
}

.field input
{
    width: 250px;
    font-size: 1em;
    height: 1.2em;
}

.field select
{
    width: 253px;
}

.field label
{
    text-align: right;
    position: relative;
    top: -2px;
    float: left;
    width: 200px;
}

.field input[type=checkbox]
{
    width: 32px;
    height: 24px;
    text-align: left;
    margin: 2px 0 0 -3px;
    padding: 0;
}

.text-box.single-line
{
    width: 99%;
    height: 1.4em;
}

.large-text-area
{
    width: 90%;
    height: 40em;
}

.message
{
    color: green;
}

.error-message
{
    color: red;
}

.center
{
    text-align: center;
}

/* Table CSS */
table.defaultTable
{
    table-layout: fixed;
    width: 100%;
}

table.defaultTable thead th
{
    border-right: #555555 solid 1px;
}

table.defaultTable thead th:last-child
{
    border-right: none;
}

table.defaultTable thead tr
{
    background-color: #222222;
}

table.defaultTable th,
table.defaultTable td
{
    position: relative;
    padding: 4px 8px 4px 8px;
    height: 1.1em;
    word-wrap: break-word;
}

table.defaultTable th span,
table.defaultTable td span
{
    position: absolute;
    left: 4px;
    right: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

table.defaultTable tr:nth-child(even)
{
    background: #222222;
}

table.defaultTable thead th
{
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}

.ui-widget,
.ui-widget.ui-widget-content
{
    background: none;
    background-color: #000000;
    border: 1px solid #333333;
}

#Settings_CountryBlacklistFullNames
{
    font-size: 12px;
    color: #DEDEDE;
}

.tagit.ui-widget,
.tagit.ui-widget.ui-widget-content,
.tagit-choice
{
    border: none;
    border-radius: 0;
}

.subscribe-fields input
{
    width: 300px;
}

.subscribe-fields div:nth-of-type(even)
{
    padding-bottom: 10px;
}

.subscribe-fields div:nth-of-type(odd)
{
    padding-bottom: 4px;
}

.CodeMirror
{
    border: 1px solid #232323;
    height: auto;
}

.CodeMirror-scroll
{
    height: auto;
    min-height: 100px;
    max-height: 400px;
}