body {
    background-color: #ffffff;
    background-image: url("https://www.chaindlk.com/wp/wp-content/uploads/2020/04/chaindlk_background_redgears_cropped.png");
    background-repeat: no-repeat;
}

#dlk_container {
    margin: auto;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
}

#dlk_post_nav {
    margin: auto;
    text-align: center;
    padding-bottom: 20px;
}

.center {
    text-align: center;
}

.reviews_small {
    font-size: x-small;
}

.error {
    color: white;
    background-color: red;
    padding: 8px;
    line-height: 26pt;
}

.success {
    background-color: lime;
    padding: 5px;
}

.orange {
    background-color: orange;
    padding: 3px;
}

.dlk_author_more {
    float: right;
}

#dlk_comments, #dlk_category_browser { /* this puts the comments on the left and the embedded player on the right, only if the player is not 100% wide (like bandcamp) */
    float: left;
    width: 50%;
    padding-right: 20px;
}

#dlk_search {
    float: left;
    width: calc(50% - 20px); /* The 20px is the padding-right of left column above (category browser) */
}

@media screen and (max-width: 576px) {
    #dlk_embed_url, #dlk_comments, #dlk_category_browser, .dlk_author_more {
        width: 100%;
        padding-bottom: 20px;
    }

    #dlk_search {
        width: 100%;
    }
}

/* following two definitions are to make sure that the the iframe fits the entire width of the DIV (and not of the screen) */
#dlk_embed_url {
    position: relative;
    padding-top: 0;
    overflow: hidden;
    padding-bottom: 26px;
}

#dlk_embed_url iframe {
    border: 0;
}

#dlk_all_reviews,
.review_separator,
.clear_both {
    clear: both;
}

.dlk_review_separator {
    height: 2px;
    border-width: 0;
    color: gray;
    background-color: gray;
    margin-bottom: 40px;
}

h2.dlk_posttitle {
    line-height: 90%; /* no less than 85% or it will overlap on mobile */
    margin-top: 15px;
}

/* ########################################### FORM ########################################### */
/* table styled with www.somacon.com/p141.php */
table.reviews_form {
    border-width: 1px;
    border-style: dotted;
    border-color: gray;
    border-collapse: collapse;
    background-color: white;
}

table.reviews_form th {
    border-width: 1px;
    padding: 5px;
    border-style: inset;
    border-color: gray;
    background-color: gray;
}

table.reviews_form td {
    text-align: left;
    border-width: 1px;
    padding: 5px;
    border-style: inset;
    border-color: gray;
    background-color: white;
}

.center {
    text-align: center;
    margin: auto;
}

textarea {
    font-size: 12px;
    width: 90%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

textarea.review {
    height: 300px;
    background-color: GhostWhite;
}

textarea.embed {
    height: 50px;
    min-height: 80px !important;
    background-color: GhostWhite;
}

textarea.notification {
    height: 150px;
    background-color: GhostWhite;
}

select.text {
    width: 250px;
    font-size: 16px;
    border: 1px solid #CCC;
    height: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: GhostWhite;
}

/* CAUTION: Internet Explorer hackery ahead */
select.text::-ms-expand {
    display: none; /* Remove default arrow in Internet Explorer 10 and 11 */
}

/* Target Internet Explorer 9 to undo the custom arrow */
@media screen and (min-width: 0\0
) {
    select.text {
        background: none \9;
        padding: 5px \9;
    }
}

select.category {
    width: 650px;
    font-size: 16px;
    border: 1px solid #CCC;
    height: 190px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: GhostWhite;
}

/* CAUTION: Internet Explorer hackery ahead */
select.category::-ms-expand {
    display: none; /* Remove default arrow in Internet Explorer 10 and 11 */
}

/* Target Internet Explorer 9 to undo the custom arrow */
@media screen and (min-width: 0\0
) {
    select.category {
        background: none \9;
        padding: 5px \9;
    }
}

input[type=text], input[type="url"], input[type="password"], input[type="button"] {
    width: 50%;
    background-color: GhostWhite;
}

input[type=text].search_form {
    width: 250px;
    background-color: GhostWhite;
}

.button {
    background-color: #000;
    border-width: 2px;
    border-color: gray;
    color: white;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition: all 0.15s;
}

.button:hover {
    background-color: red;
    border-width: 2px;
    border-color: #000;
    text-shadow: 0 0 2em rgba(255, 255, 255, 1);
    color: #FFFFFF;
}

/* -------------------------------CHECKBOX styling -------------------------------- */
/* The container */
.container {
    display: block;
    position: relative;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -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: 25px;
    width: 25px;
    background-color: gray;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: red;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: lime;
}

/* 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: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* -------------------------------CHECKBOX styling -------------------------------- */

.requirederror {
    display: inline-block;
    background-color: red;
    font-size: 12px;
    color: white;
    border: 4px dotted yellow;
    padding: 3px;
}

.required {
    background-color: pink;
    padding: 8px;
    position: relative;
    top: 2px;
}

.blue {
    background-color: deepskyblue;
    padding: 8px;
    position: relative;
    top: 2px;
}

.fuchsia {
    background-color: fuchsia;
    padding: 8px;
    position: relative;
    top: 2px;
}

/* ########################################### ADDITIONAL ########################################### */

.dlk_paging_button {
    cursor: pointer;
    margin: 0 .3em 0 0;
    -moz-box-shadow: inset 0px 1px 0px 0px #cccccc;
    -webkit-box-shadow: inset 0px 1px 0px 0px #cccccc;
    box-shadow: inset 0px 1px 0px 0px #cccccc;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #000000), color-stop(1, #4e4e4e));
    background: -moz-linear-gradient(center top, #000000 5%, #4e4e4e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000", endColorstr="#4e4e4e");
    background-color: #000000;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #4e4e4e;
    display: inline-block;
    color: #ffffff;
    font-family: arial;
    font-size: .8em;
    font-weight: bold;
    padding: 6px 10px;
    text-decoration: none;
    /*text-shadow:1px 1px 0px #f1f1f1;*/
}

.dlk_paging_button:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #4e4e4e), color-stop(1, #000000));
    background: -moz-linear-gradient(center top, #4e4e4e 5%, #000000 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#4e4e4e", endColorstr="#000000");
    background-color: #4e4e4e;
}

.dlk_paging_button:active {
    position: relative;
    top: 1px;
}

input[type=text].dlk_paging,
input[type=password].dlk_paging {
    padding: .3em;
    width: 50px;
}

#dlk_paging {
    margin: 1em 0;
}

.dlk_review_container {
    clear: both;
    padding-top: 10px;
}

.dlk_cover_image {
    position: relative;
    top: 5px;
    left: 0;
    border: 1px solid black;
}

.dlk_cell_cover {
    float: left;
    vertical-align: text-top;
    padding-bottom: 10px;
}

.dlk_cell_desc {
    float: left;
    vertical-align: text-top;
}

.dlk_cell_cover + .dlk_cell_desc {
    padding-left: 15px;
}

/* ########################################### MESSAGES ########################################### */
.messages {
    list-style: none;
}

.messages__message {
    margin-left: 0;
    padding: 10px;
    color: #ffffff;
}

.messages__message--success {
    background-color: #00ce00;
}

.messages__message--error {
    background-color: #dd3333;
}
