﻿/* RESETS */
* {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    font-family: inherit;
    font-size: inherit;
}

html {
    font-family: Verdana, Arial, Helvetica, sans-serif
}

/* COMMON */
body {
    font-size: 12px;
}

blockquote, q {
    quotes: none;
    padding-left: 20px;
    padding-right: 8px;
    border-left-width: 5px;
    border-color: #990000;
    border-style: solid;
}

    blockquote:before, blockquote:after, q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-spacing: 0;
}

a {
    text-decoration: none;
    color: #000099;
}

.icon-box img {
    vertical-align: text-bottom;
}

.icon-box {
    border-radius: 5px;
    border: 2px solid #FFD9AA;
    padding: 10px;
    margin: 10px;
    width: inherit;
    max-width: 600px;
    background-color: #FFFBF4;
}

/* FORMS */
button, input[type=button], input[type=submit] {
    border: 1px outset #999;
    border-radius: 5px;
    padding: 4px;
    color: #333;
    cursor: pointer;
    background-color: #CCC;
    background-image: url('/Resources/Images/Controls/button-gradient.png');
    background-repeat: repeat-x;
}

input[type=text], input[type=password], input[type=select], textarea, select {
    border: solid 1px #999;
    padding: 4px;
    border-radius: 5px;
}

    input:focus, textarea:focus, select:focus {
        box-shadow: 0px 0px 5px 0px #999;
    }

/* BUTTON */
a.button {
    text-decoration: none;
    border: 1px outset #999;
    border-radius: 4px;
    display: inline-block;
    margin: 0px 4px;
    padding: 2px 4px;
    height: 20px;
    line-height: 20px;
    color: #333;
    cursor: pointer;
    background-color: #CCC;
    background-image: url('/Resources/Images/Controls/button-gradient.png');
    background-repeat: repeat-x; /* box-shadow: 0px 0px 5px 0px #999;  */
}

    a.button:active {
        border-style: inset;
    }

    a.button img {
        display: block;
        float: left;
        margin-right: 5px;
        margin-top: 2px;
    }

    a.button.right img {
        display: block;
        float: right;
        margin-left: 5px;
        margin-top: 2px;
    }

.contact-form {
    margin: 25px 0px;
}

    .contact-form input[type=text], .contact-form textarea {
        width: 90%;
        margin-bottom: 20px;
        margin-top: 5px;
    }

    .contact-form textarea {
        height: 150px;
    }

    .contact-form label {
        font-weight: bold;
    }

.form-field-group {
    margin: 25px 0px;
}

    .form-field-group input[type=text],
    .form-field-group textarea,
    .form-field-group .cke_skin_kama {
        width: 90%;
        margin-bottom: 20px;
        margin-top: 5px;
    }

    .form-field-group .cke_skin_kama {
        margin-bottom: 5px;
    }

    .form-field-group .label {
        font-weight: bold;
    }
/*
fieldset => formFieldGroup formFieldGroupLast
div.heading
div.formFields
div div.label
div div.contents
*/

.twocol-form-field-set {
    margin: 0px 10px;
}

    .twocol-form-field-set TD {
        padding: 5px;
        margin: 0px;
        border: solid 1px #996666;
        border-bottom-width: 0px;
        border-left: 0px;
        background-color: #FFFBF4;
    }

        .twocol-form-field-set TD.description {
            vertical-align: top;
            background-color: #FFD9AA;
        }

            .twocol-form-field-set TD.description DIV.heading {
                margin-top: -3px;
                font-weight: bold;
            }

            .twocol-form-field-set TD.description DIV.contents {
                margin: 5px;
            }

        .twocol-form-field-set TD.form-fields {
            border-right: 0px;
            vertical-align: top;
        }

            .twocol-form-field-set TD.form-fields DIV.label {
                margin-bottom: 2px;
            }

            .twocol-form-field-set TD.form-fields DIV.contents {
                margin-bottom: 10px;
            }

                .twocol-form-field-set TD.form-fields DIV.contents input[type=text],
                .twocol-form-field-set TD.form-fields DIV.contents input[type=password],
                .twocol-form-field-set TD.form-fields DIV.contents select,
                .twocol-form-field-set TD.form-fields DIV.contents textarea,
                .twocol-form-field-set TD.form-fields DIV.contents .password-textbox-container {
                    width: 90%;
                }

    .twocol-form-field-set:last-child {
        margin-bottom: 10px;
    }

        .twocol-form-field-set:last-child TD {
            border-bottom-width: 1px;
        }

.twocol-form-field-set {
    width: 90%;
}

    .twocol-form-field-set TD.description {
        width: 250px;
    }

.password-textbox-container {
    display: inline-block;
}

    .password-textbox-container input[type=password] {
        display: block;
        width: 100%;
    }

    .password-textbox-container .checkbox-container {
        display: block;
        text-align: right;
        margin-top: 3px;
    }

/**** HEADINGS *****/
h1, h1 a, h1 span {
    font-family: Times New Roman, Serif;
    font-size: 16pt;
    color: #000000;
    font-weight: bold;
    margin: 0 0 8pt 0;
}

.subH1 {
    margin: 0pt 0 8pt 0;
}

h2 {
    font-family: Times New Roman, Serif;
    font-size: 14pt;
    color: #000000;
    font-weight: bold;
    margin: 0 0 6pt 0;
}

.subH2 {
    margin: 0pt 0 6pt 0;
}

h3 {
    font-family: Times New Roman, Serif;
    font-size: 12pt;
    color: #000000;
    font-weight: bold;
    margin: 0 0 4pt 0;
}

.subH3 {
    margin: 0pt 0 4pt 0;
}

.styled-table {
    margin-bottom: 20px;
}

    .styled-table th,
    .styled-table td {
        padding: 5px 5px;
        border: solid 1px #990000;
        border-right-width: 0px;
        border-bottom-width: 0px;
    }

    .styled-table th {
        color: #FFF;
        background-color: #990000;
        height: 21px;
        min-height: 21px;
        line-height: 21px;
        font-weight: bold;
        padding: 0px 5px;
    }

        .styled-table th:last-child,
        .styled-table td:last-child {
            border-right-width: 1px;
        }

    .styled-table tr:last-child th,
    .styled-table tr:last-child td {
        border-bottom-width: 1px;
    }

    .styled-table th:last-child {
        border-right-color: #8EA9C4;
    }

    .styled-table tr:first-child th:first-child {
        border-top-left-radius: 4px;
    }

    .styled-table tr:first-child th:last-child {
        border-top-right-radius: 4px;
    }

    .styled-table tr:last-child td:first-child {
        border-bottom-left-radius: 4px;
    }

    .styled-table tr:last-child td:last-child {
        border-bottom-right-radius: 4px;
    }

    .styled-table tr:nth-of-type(odd) {
        background-color: inherit;
    }

    .styled-table tr:nth-of-type(even) {
        background-color: #FFFBF4;
    }

/* FORUMS */
.forum-message {
    position: relative;
    border: 0px solid #000;
    border: 1px solid #FFD9AA;
    margin-bottom: 10px;
    min-height: 120px;
    min-width: 600px;
    background-color: #FFF3E5;
}

    .forum-message .heading, .forum-message .body, .forum-message .buttons {
        margin-left: 100px;
    }

    .forum-message .heading {
        padding: 5px;
        background-color: #FFFBF4;
        border-bottom: 1px solid #FFD9AA;
    }

        .forum-message .heading h2 {
            font-size: 12pt;
        }

        .forum-message .heading .subH2 {
            font-size: 8pt;
        }

    .forum-message .avatar-container {
        position: absolute;
        top: 0;
        bottom: 0;
        background-color: #FFFBF4;
        width: 100px;
        border-right: 1px solid #FFD9AA;
        text-align: center;
    }

        .forum-message .avatar-container .avatar {
            display: block;
            margin: 15px auto 0px auto;
            height: 65px;
            max-width: 65px;
        }

        .forum-message .avatar-container .avatar {
            border-radius: 5px;
            border: 1px solid #252525;
        }

        .forum-message .avatar-container .user-name {
            display: block;
            margin: 10px 0;
            overflow: hidden;
        }

    .forum-message .body {
        padding: 10px;
    }

    .forum-message .buttons {
        float: right;
        margin-left: 0;
    }

p {
    margin-bottom: 12px;
}

ol, ul {
    margin-bottom: 12px;
}

ol, ul, li {
    margin-left: 12px;
}

li {
    margin-bottom: 6px;
}

.storygame-comments .comment-block div.collapsed + div.gradienthide {
    background: linear-gradient(to top, #fff3e5 80%, transparent);
    cursor: pointer;
    position: fixed;
    top: 23rem;
    width: 100%;
    z-index: 1;
}

.storygame-comments .comment-block div.collapsed + div.gradienthide div:not(.from) {
    color: #990000;
    font-weight: bold;
    padding-top: 1rem;
    text-align: center;
}

.storygame-comments .comment-block div.expanded + div.gradienthide div:not(.from) {
    display: none;
}

.storygame-comments .comment-block div.collapsed {
    max-height: 25rem;
    z-index: 0;
}

.storygame-comments .comment-block {
    padding: 10px 0;
    border-bottom: 1px solid #999;
}

.storygame-comments .comment-block > div {
    overflow: hidden;
    transform: translateZ(0);
}

.storygame-comments .comment-block .from {
    margin: 5px 5px 0 5px;
    font-size: 90%;
}