/* reset css */
body {
    font-family: Arial;
}

:focus {
    outline: 0;
}

a {
    color: #1752a6;
    text-decoration: none;
}

a:hover {
    color: #ff0000;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: text-top;
}

form {
    font-size: small;
}

hr {
    border-top: 1px solid gray;
}

textarea {
    font-family: Arial;
    font-size: 17px;
    width: 100%;
    height: 200px;
    border: 1px solid #adb7bf;
    padding: 5px;
    margin-bottom: 3px;
    border-radius: 2px;
    resize: vertical;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

ul {
    padding-left: 20px;
}

input,
select {
    border: 1px solid #adb7bf;
    padding: 3px;
    border-radius: 2px;
}

/* helpers */
.mb-3,
.my-3 {
    margin-bottom: 4px;
}

.mb-2 {
    margin-bottom: 4px;
}

.mt-3,
.my-3 {
    margin-top: 4px;
}

.mr-sm-2 {
    margin-right: 4px;
}

.text-muted {
    color: gray;
}

.top-menu {
    background-color: #f2f6f8;
    border: 1px solid #e9e9e9;
    color: #34617e;
    padding: 4px;
    margin-bottom: 4px;
}

.alert {
    padding: 4px;
    margin-bottom: 4px;
    border: 1px solid transparent;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-success a {
    color: #0b2e13;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-info a {
    color: #062c33;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-warning a {
    color: #533f03;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-danger a {
    color: #491217;
}

.form-group {
    margin-bottom: 4px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-control {
    display: block;
    width: 100%;
    padding: 4px 8px;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 2px;
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
}

.form-text {
    display: block;
}

.form-check-label {
    margin-left: 4px;
}

/* primary warning success danger */
.btn {
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    border: 1px solid transparent;
    padding: 4px 8px;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #00796b;
    border-color: #00796b;
}

.btn-primary:hover {
    color: #fff;
    background-color: #075f54;
    border-color: #075f54;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-warning {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-warning:hover {
    color: #212529;
    background-color: #e0a800;
    border-color: #d39e00;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

.btn:hover {
    text-decoration: none;
}

.btn+.btn {
    margin-left: 4px;
}

.breadcrumb {
    background: #00796b;
    color: #fff;
    margin-bottom: 4px;
    padding: 5px 4px;
}

.breadcrumb a {
    color: #ff0;
}

.card {}

.card-header {
    padding: 4px;
    font-weight: bold;
    border-bottom: 1px solid #dee2e6;
    background: #00796b;
    color: #fff;
}

.card-header a {
    color: #ff0;
}

.card-body {
    padding: 4px;
    border: 1px solid #dee2e6;
}

.card-body:not(:first-child) {
    border-top: 0;
}

.card-footer {
    background-color: #f2f6f8;
    border: 1px solid #dee2e6;
    border-top-width: 0;
    color: #34617e;
    padding: 4px;
}

.list-group:first-child {
    border-top: 1px solid #dee2e6;
}

.list-group-item {
    padding: 5px 4px;
    border: 1px solid #dee2e6;
    border-top-width: 0;
    word-wrap: break-word;
}

.list-group-item-success {
    color: #155724;
    background-color: #d4edda;
}

.pagination>span,
.pagination>a {
    display: inline-block;
    border: 1px solid #dee2e6;
    border-radius: 2px;
    padding: 4px;
    margin-left: 4px;
}

.pagination>span:first-child,
.pagination>a:first-child {
    margin-left: 0;
}

.pagination .current {
    background-color: #00796b;
    color: #fff;
}

.pagination .link:hover {
    background-color: #f9f9f9;
}

.pagination .disabled {}

/*______________________-*/

/* BBCode */
.spoilerhead {
    background: #e8e8f2;
    color: #211f67;
    padding: 3px;
    border: 1px solid #9898ad;
}

.spoilerbody {
    background: #fafafc;
    border: 1px solid #afafc4;
    border-top: none;
    padding: 4px;
    color: #333;
    border-radius: 0px 0px 3px 3px;
}

.bblist {
    color: #4a5663;
    background: transparent url("../images/dot.gif") no-repeat left;
    padding: 0px 0px 0px 10px;
}

.phpcode {
    background-color: #e0e6e9;
    border: 1px dotted #9faebb;
    margin-top: 4px;
    padding: 0 2px 0 2px;
    /*overflow: auto;*/
}

.quote {
    border-left: 4px solid #c0c0c0;
    color: #878787;
    font-size: x-small;
    margin-left: 2px;
    padding: 2px 0 2px 4px;
}

.quote_container {
    border: 1px solid #ccc;
    margin-top: 6px;
    margin-bottom: 6px;
}

.quote_header {
    font-weight: 700;
    color: #444;
    background-color: #e8f4fd;
    padding: 4px 8px;
    border-bottom: 1px solid #ccc;
}

.quote_body {
    font-style: italic;
    background-color: #fff6d4;
    padding: 5px 10px;
}

/* Embed player */
.embed-wrapper {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.embed-container {
    position: relative;
    display: block;
    height: 0;
    padding: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.embed-container.soundcloud {
    padding-bottom: 30%;
}

.embed-container iframe,
.video-container object,
.video-container embed,
.video-container video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.status {
    color: #cd853f;
    font-size: x-small;
    font-weight: bold;
    padding-left: 0;
}

.sub {
    border-top: 1px dotted #ccc;
    font-size: x-small;
    margin-top: 4px;
}

/* helper */
.center {
    text-align: center;
}

.icon {
    padding: 3px 6px 3px 1px;
    vertical-align: middle;
}

.icon-inline {
    padding-right: 6px;
    vertical-align: middle;
}

.left {
    float: left;
}

.gray {
    color: #586776;
}

.alarm a {
    color: #ffffff;
    font-size: x-small;
}

.green,
.green a {
    color: #008000;
}

.red,
.red a {
    color: #ff0000;
}

/* todo: edit / library */
table.desc {
    border-top: 1px dotted #c6c17f;
    width: 100%;
    overflow: auto;
    font-size: x-small;
    margin-top: 4px;
}

table.desc td {
    font-size: x-small;
}

table.desc td.caption {
    width: 1%;
    text-align: right;
    color: #6f6f6f;
    white-space: nowrap;
}

.avatar {
    display: table-cell;
    vertical-align: top;
}

.avatar img {
    height: 60px;
    margin-right: 5px;
    margin-bottom: 5px;
    width: 60px;
}

.righttable {
    display: table-cell;
    vertical-align: top;
}

/* bbcode editor */
.bb_input {
    margin-bottom: 4px;
    background-color: #fff;
}

.bb_toolbar {
    line-height: 24px;
}

.bb_group {
    display: inline-block;
    background-color: #f0f7fc;
    border: 1px solid #d7edfc;
    margin: 0 4px;
    border-radius: 3px;
}

.bb_group:first-child {
    margin-left: 0;
}

.bb_group a {
    display: inline-block;
    height: 24px;
    margin: 0 2px;
}

.bbpopup {
    margin-top: 3px;
}

.bbpopup a {
    border: 1px solid #a7a7a7;
    height: 10px;
    display: inline-block;
    margin: 1px;
    vertical-align: middle;
    width: 10px;
}

.codepopup {
    margin-top: 3px;
}

.codepopup a {
    border: 1px solid #a7a7a7;
    border-radius: 3px;
    background-color: #dddddd;
    color: black;
    font-weight: bold;
    padding: 2px 6px 2px 6px;
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 3px;
    text-decoration: none;
}

/* forum vote */
.vote_result .result_label {
    margin-top: 3px;
}

.vote_result .result_bar {
    vertical-align: bottom;
}

.vote_result .result_bar_container {
    display: inline-block;
    vertical-align: bottom;
    width: 102px;
    height: 12px;
    border: 1px solid #999;
    background-color: #ccc8c8;
}

.vote_result .bar {
    height: 10px;
}

.vote_result .bar.bg1 {
    background-color: #ff6666;
}

.vote_result .bar.bg2 {
    background-color: #ffc83c;
}

.vote_result .bar.bg3 {
    background-color: #b4e63c;
}

.vote_result .bar.bg4 {
    background-color: #64e600;
}

/* forum */
.forum-post .fa-avatar {
    width: 40px;
    padding-right: 4px;
}

.forum-post .fa-gender-icon {}

.forum-post .post-content {
    margin: 4px -4px;
    padding: 4px;
    border-top: 1px solid #ccc;
}