/* Font Awesome (3rd party) */
@import 'partial/fontawesome';

/* Normalize (3rd party) */
@import 'partial/normalize';

body {
    color: #2c2c2c;
    font-family: arial;
    font-size: 13px;
}

img {
    border: 0;
}

a {
    color: #00f;
    cursor: pointer;
    text-decoration: underline;
}

a:link {
    color: #00f;
}

a:visited {
    color: #00f;
}

a:active {
    color: #00f;
}

a:hover {
    color: #00f;
}

a img {
    vertical-align: middle;
}

.header_top {
    background: rgba(0, 0, 0, 0) linear-gradient(#c6c6c6, #fff) repeat scroll 0 0;
    height: 50px;
    padding: 10px 5px 5px;
}

.logo {
    height: auto;
    margin-bottom: 10px;
    margin-left: -3px;
    max-width: 100%;
}

nav .fa {
    margin-right: 5px;
}

.error_header {
    background-color: #ffbaba;
    background-image: url('../../image/message/error.png');
    background-position: 5px center;
    background-repeat: no-repeat;
    border: 1px solid;
    color: #d8000c;
    float: right;
    margin-top: 10px;
    padding: 5px 5px 5px 25px;
    position: relative;
}

.wrapper {
    padding: 3px;
}

main {
    padding-left: 5px !important;
}

h1 {
    color: #fb5e00;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 2px;
    margin-top: 10px;
}

h1 + hr {
    background-color: #dfdfdf;
    border: 0;
    height: 5px;
    margin-top: 0;
}

h2 {
    color: #8f8f8f;
    font-size: 17px;
    font-weight: normal;
    margin-bottom: 5px;
    margin-top: 10px;
}

h3 {
    color: #8f8f8f;
    font-size: 15px;
    font-weight: normal;
    margin-bottom: 5px;
    margin-top: 10px;
}

.page_help_block {
    float: right;
}

.page_help_block a {
    font-size: .9em;
    text-decoration: none;
}

input[type='text'], input[type='email'], input[type='password'], select, textarea {
    box-sizing: border-box;
}

.controls {
    margin-top: -8px;
}

.controls .fieldset {
    display: table-row;
    line-height: 37px;
}

.controls .fieldset label {
    display: table-cell;
    padding-right: 15px;
    vertical-align: top;
}

.controls textarea {
    line-height: initial;
}

.controls input[readonly], .controls textarea[readonly] {
    background-color: #f0f0f0;
    border: 1px solid #a0a0a0;
    cursor: not-allowed;
}

input.small[type='text'], input.small[type='password'], input.small[type='email'], select.small {
    width: 30px;
}

input.small_plus[type='text'], input.small_plus[type='password'], input.small_plus[type='email'], select.small_plus {
    width: 50px;
}

input.medium[type='text'], input.medium[type='password'], input.medium[type='email'], select.medium {
    width: 125px;
}

input.medium_plus[type='text'], input.medium_plus[type='password'], input.medium_plus[type='email'], select.medium_plus {
    width: 160px;
}

input.large[type='text'], input.large[type='password'], input.large[type='email'], select.large {
    width: 200px;
}

input.large_plus[type='text'], input.large_plus[type='password'], input.large_plus[type='email'], select.large_plus {
    width: 300px;
}

.note {
    color: #838b8b;
    font-size: .85em;
    font-style: italic;
    margin-left: 3px;
}

.hint {
    font-size: .9em;
    margin-left: 15px;
    outline: 0;
    text-decoration: none;
}

.note + .hint {
    margin-left: 5px;
}

#hintbox {
    background-color: #ffffe0;
    border: 1px solid #000;
    border-bottom: 3px solid #000;
    border-right: 3px solid #000;
    font: normal 11px Verdana;
    line-height: 18px;
    padding: 3px;
    position: absolute;
    top: 0;
    visibility: hidden;
    width: 200px;
    z-index: 100;
}

span.error {
    color: #f00;
    display: block;
    font-size: .9em;
    line-height: normal;
    margin-bottom: 5px;
    margin-top: -5px;
    text-align: left;
}

.controls .divide_after input, .controls .divide_after select {
    margin-bottom: 20px;
}

.controls .divide_after textarea {
    margin-bottom: 10px;
}

.controls .divide_after div {
    margin-bottom: 10px;
}

.controls .divide_after + .fieldset label {
    border-top: 1px solid #dfdfdf;
    padding-bottom: 5px;
}

.controls .divide_after span.error {
    margin-bottom: 12px;
    margin-top: -18px;
}

.positive {
    color: #060;
    font-weight: bold;
}

.negative {
    color: #c00;
    font-weight: bold;
}

.buttons {
    margin-top: 12px;
}

.button {
    background: url('../../image/button/gradient.png') repeat-x scroll 0 100% #ffac47;
    border-color: #ed6502 #a04300 #a04300 #ed6502;
    border-style: solid;
    border-width: 1px;
    color: #fff;
    cursor: pointer;
    font: bold 12px arial, helvetica, sans-serif !important;
    padding: 1px 7px 2px;
    text-align: center !important;
    white-space: nowrap;
}

.button_delete, .button_edit, .button_view, .button_approve, .button_send {
    height: 15px;
    width: 15px;
}

.links {
    margin-top: 15px;
}

.pagination_stats {
    float: left;
    margin-top: 10px;
}

.pagination_links {
    float: right;
    margin-top: 10px;
}

.pagination_links span {
    background: none repeat scroll 0 0 #f8f8f8;
    border: 1px solid #d8d8d8;
    color: #3e3e3e;
    font-size: 14px;
    margin-left: 5px;
}

.pagination_links span:first-of-type {
    margin-left: 0;
}

.pagination_links span:hover {
    border: 1px solid #9e9e9e;
}

.pagination_links span.active {
    background: none repeat scroll 0 0 #636363;
    border: 1px solid #2a2a2a;
    color: #fff;
    padding: 0 4px;
}

.pagination_links span.active:hover {
    border: 1px solid #636363;
}

.pagination_links span a {
    color: #3e3e3e !important;
    padding: 2px 4px;
    text-decoration: none;
}

.filter {
    background-color: #f6f6f6;
    border: 1px solid #e5e5e5;
    margin-bottom: 10px;
    padding: 10px;
}

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

.filter .column {
    box-sizing: border-box;
    float: left;
    padding-left: 15px;
    padding-right: 15px;
    width: 33.33%;
}

.filter .column:first-of-type {
    padding-left: 0;
}

.filter label {
    display: block;
    font-weight: bold;
    margin-bottom: 2px;
}

.filter input[type='text'], .filter select {
    box-sizing: content-box;
    margin-bottom: 10px;
    width: 100%;
}

.filter input[type='button'] {
    float: right;
    margin-right: -5px;
}

@media all and (max-width: 750px) {
    .filter .column {
        float: none;
        padding-left: 0;
        width: 100%;
    }
}

img.loading {
    margin-left: 5px;
}

.star::before {
    content: '\f005';
    display: inline-block;
    font-family: FontAwesome;
    font-size: 1.1em;
}

.star_empty {
    color: #ddd;
}

.star_full {
    color: #ffd700;
}

.hide {
    display: none;
}

.clear::before, .clear::after {
    content: ' ';
    display: table;
}

.clear::after {
    clear: both;
}

/******************* Page Specific *******************/

/* Main */

#main_checklist_page .controls input[type='submit'] {
    margin-top: 12px;
}

#main_dashboard_page div.success, #main_dashboard_page div.info, #main_dashboard_page div.error, #main_dashboard_page div.warning {
    margin-bottom: 8px;
}

#main_dashboard_page div.info a:last-child {
    display: none;
}

#main_dashboard_page .left {
    float: left;
    margin-right: 1%;
    width: 49.5%;
}

#main_dashboard_page .right {
    float: left;
    width: 49.5%;
}

#main_dashboard_page .block {
    background-color: #fafafa;
    border-color: #d6d6d6;
    border-style: solid;
    border-width: 1px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    width: 100%;
}

#main_dashboard_page .news_block {
    height: 65px;
    overflow: auto;
}

#main_dashboard_page .links_block {
    min-height: 95px;
}

#main_dashboard_page .title {
    background-color: #7c7c7c;
    box-sizing: border-box;
    color: #fff;
    margin-bottom: 5px;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-top: 3px;
}

#main_dashboard_page .content {
    padding-left: 5px;
}

#main_dashboard_page .controls {
    margin-top: 0;
}

#main_dashboard_page .title:last-of-type {
    margin-bottom: 0;
    width: 100%;
}

#main_dashboard_page .sponsors_block .content {
    padding-right: 5px;
}

#main_dashboard_page .sponsors {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}

#main_dashboard_page .sponsor {
    margin-top: 5px;
}

#main_dashboard_page .sponsor a img {
    border: 1px solid #e5e5e5;
    height: 100px;
    width: 100px;
}

#main_dashboard_page .chart_block {
    height: 200px;
    margin-bottom: 30px;
}

#main_dashboard_page .chart {
    border: 1px solid #d6d6d6;
}

#main_dashboard_page textarea {
    height: 200px;
    margin-top: -1px;
    overflow: auto;
    width: 100%;
}

#main_dashboard_page span.error {
    margin-top: 0;
}

#system_settings_dialog {
    margin-top: 5px;
}

#system_settings_dialog ul {
    margin-bottom: 1px;
}

@media all and (max-width: 500px) {
    #main_dashboard_page .dashboard_extra {
        display: none;
    }
}

/* Manage */

#manage_questions_page .controls {
    margin-bottom: 8px;
    margin-top: -3px;
}

#manage_questions_page .buttons {
    margin-bottom: 15px;
}

#manage_users_page .avatar {
    height: 72px;
    width: 72px;
}

/* Edit */

#edit_admin_page input[name='viewable_pages[]'], #add_admin_page input[name='viewable_pages[]'] {
    margin-right: 2px;
}

#edit_admin_page input[name='modifiable_pages[]'], #add_admin_page input[name='modifiable_pages[]'] {
    margin-left: 2px;
    margin-right: 5px;
}

#edit_comment_page .left {
    float: left;
    margin-right: 1%;
    width: 49.5%;
}

#edit_comment_page .right {
    float: left;
    margin-bottom: 10px;
    width: 49.5%;
}

#edit_comment_page .left textarea {
    height: 235px;
    width: 500px;
}

#edit_comment_page textarea[name='notes'] {
    height: 40px;
    width: 300px;
}

#edit_comment_page .upload_section {
    display: inline-block;
    line-height: normal;
}

#edit_comment_page .upload_image {
    height: 100px;
    width: 100px;
}

#edit_comment_page .upload_remove {
    display: block;
    line-height: normal;
    text-align: center;
}

#edit_comment_page .extra_fields {
    background-color: #f7f7f7;
    border: 1px solid #afafaf;
    clear: both;
    margin: auto;
    margin-bottom: 10px;
    padding-bottom: 10px;
    text-align: center;
    width: 98%;
}

#edit_comment_page .extra_fields span {
    font-weight: bold;
}

#edit_spam_page .section div:first-of-type {
    margin-top: 25px;
}

#edit_spam_page .section div {
    margin-top: 15px;
}

#edit_spam_page .section div input {
    margin-bottom: 5px;
}

#edit_spam_page .section div:last-of-type {
    margin-bottom: 15px;
}

#edit_spam_page .section div .error {
    margin-top: 0;
}

div.error + .avatar_section {
    margin-top: 10px;
}

#edit_user_page .avatar {
    height: 150px;
    width: 150px;
}

/* Extension */

#extension_modules_page .description {
    margin-bottom: 20px;
}

#extension_modules_page th:last-of-type, #extension_modules_page td:last-of-type:not(.no_results) {
    text-align: right;
}

#extension_themes_page .theme_preview {
    border: 1px solid #eaeaea;
    height: 115px;
    width: 150px;
}

#extension_themes_page .fa-spin {
    color: #b1b1b1;
    margin-left: 5px;
}

#extension_themes_page .sortable {
    margin-bottom: 20px;
}

#module_css_editor_page .elements {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    margin-top: 20px;
}

#module_css_editor_page .elements > div {
    background-color: #fbfbfb;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    margin-bottom: 10px;
    margin-right: 20px;
    padding: 10px;
    padding-top: 5px;
    position: relative;
}

#module_css_editor_page .elements .corner_checkbox {
    position: absolute;
    right: 8px;
    text-align: center;
    top: 8px;
}

#module_css_editor_page .elements h2 {
    margin-top: 10px;
}

#module_css_editor_page textarea {
    height: 300px;
    width: 100%;
}

#module_extra_fields_page .description {
    margin-bottom: 20px;
}

#module_language_editor_page .description {
    margin-bottom: 20px;
}

#module_language_editor_page thead th:first-of-type {
    width: 1px;
}

#module_language_editor_page .text_value input {
    width: 100%;
}

#module_rich_snippets_page .other_section div {
    color: #555;
    display: inline-block;
}

#module_rich_snippets_page div[id^='property-row'] a {
    margin-left: 5px;
}

/* Settings */

#settings_email_setup_page .section_html {
    margin-top: 10px;
}

#settings_email_setup_page textarea {
    height: 175px;
    width: 100%;
}

#settings_email_setup_page .section_text span.error, #settings_email_setup_page .section_html span.error {
    margin-top: 0;
}

#settings_email_editor_page div.success, #settings_email_editor_page div.info, #settings_email_editor_page div.error, #settings_email_editor_page div.warning {
    margin-bottom: 8px;
}

#settings_email_editor_page .description {
    float: left;
    margin-top: -8px;
}

#settings_email_editor_page .selection {
    float: right;
    margin-top: 3px;
}

#settings_email_editor_page .ui-tabs {
    margin-top: 0;
}

#settings_email_editor_page .controls {
    margin-top: 0;
}

#settings_email_editor_page .section_keywords, #settings_email_setup_page .section_keywords {
    margin-top: 5px;
}

#settings_email_editor_page .keywords, #settings_email_setup_page .keywords {
    margin-bottom: 20px;
    margin-top: 10px;
}

#settings_email_editor_page .keywords span, #settings_email_setup_page .keywords span {
    background-color: #f5f5f5;
    border: 1px solid #a4a4a4;
    cursor: default;
    padding: 2px 4px;
}

#settings_email_editor_page .section_text {
    margin-top: 8px;
}

#settings_email_editor_page .section_html {
    margin-bottom: 5px;
    margin-top: 15px;
}

#settings_email_editor_page textarea {
    height: 200px;
    width: 100%;
}

#settings_email_editor_page .section_text span.error, #settings_email_editor_page .section_html span.error {
    margin-top: 0;
}

/* Layout Comments */

#settings_layout_comments_page .general_element {
    margin-top: 25px;
}

#settings_layout_comments_page .element_heading {
    font-size: 18px;
    margin-top: 25px;
}

#settings_layout_comments_page .element_heading_extra {
    color: #757575;
    font-size: 16px;
}

#settings_layout_comments_page .elements {
    column-gap: 12px;
    display: inline-flex;
    flex-wrap: wrap;
}

#settings_layout_comments_page .elements > div {
    background-color: #fbfbfb;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    margin-bottom: 10px;
    margin-top: 15px;
    padding: 10px;
    padding-top: 5px;
}

#settings_layout_comments_page .elements h2 {
    margin-top: 25px;
}

#settings_layout_comments_page .elements h2:first-of-type {
    margin-top: 10px;
}

#settings_layout_comments_page .position_block {
    background-color: #fbfbfb;
    border: 1px solid #e1e1e1;
    padding: 5px;
    text-align: center;
    width: 500px;
}

#settings_layout_comments_page .position_block .left {
    float: left;
}

#settings_layout_comments_page .position_block .center {
    display: inline-block;
    margin: 0 auto;
}

#settings_layout_comments_page .position_block .right {
    float: right;
}

#settings_layout_comments_page .position_block .row_1, #settings_layout_comments_page .position_block .row_3 {
    margin-bottom: 10px;
}

#settings_layout_comments_page .position_block .row_2, #settings_layout_comments_page .position_block .row_4 {
    margin-top: 15px;
}

#settings_layout_comments_page .position_block .comments {
    margin-bottom: 10px;
    margin-top: 10px;
}

/* Layout Form */

.section_container {
    display: flex;
    flex-wrap: wrap;
}

.section_container > div:not(:last-child) {
    margin-right: 50px;
}

#settings_layout_form_page .general_element {
    margin-top: 25px;
}

#settings_layout_form_page .elements {
    column-gap: 12px;
    display: inline-flex;
    flex-wrap: wrap;
}

#settings_layout_form_page .elements > div {
    background-color: #fbfbfb;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    margin-bottom: 10px;
    margin-top: 15px;
    padding: 10px;
    padding-top: 5px;
}

#settings_layout_form_page .elements h2 {
    margin-top: 25px;
}

#settings_layout_form_page .elements h2:first-of-type {
    margin-top: 10px;
}

#settings_layout_form_page textarea {
    height: 35px;
    width: 165px;
}

.element_enabled {
    border: 1px solid #008000 !important;
}

.element_disabled {
    border: 1px solid #f00 !important;
}

/* Data */

#data_list_page div.success, #data_list_page div.info, #data_list_page div.error, #data_list_page div.warning {
    margin-bottom: 8px;
}

#data_list_page .description {
    float: left;
    margin-top: -8px;
}

#data_list_page .description a {
    outline-style: none;
    text-decoration: none;
}

#data_list_page .selection {
    float: right;
    margin-top: 3px;
}

#data_list_page .guide {
    background-color: #fef6e0;
    border: 1px solid #efe1b9;
    box-shadow: 3px 3px 5px #888;
    margin-bottom: 15px;
    padding: 3px;
}

#data_list_page .guide p:first-child {
    margin-top: 5px;
}

#data_list_page .guide .found {
    color: #060;
    font-weight: bold;
}

#data_list_page .guide .not_found {
    color: #c00;
    font-weight: bold;
}

#data_list_page textarea {
    height: 300px;
    margin-top: 5px;
    width: 100%;
}

#data_list_page span.error {
    margin-top: 0;
}

#data_list_page .update {
    float: left;
}

#data_list_page .modified {
    color: #838b8b;
    float: right;
    margin-top: 1px;
}

/* Report */

#report_errors_page .controls {
    margin-top: 0;
}

#report_errors_page textarea {
    height: 300px;
    width: 100%;
}

#report_phpinfo_page .description {
    margin-bottom: 15px;
}

#report_phpinfo_page .phpinfodisplay {
    margin-left: 25%;
    width: 50%;
}

#report_phpinfo_page .phpinfodisplay h1 {
    color: #2c2c2c !important;
    margin-bottom: 10px !important;
}

#report_phpinfo_page .phpinfodisplay h2 {
    color: #2c2c2c !important;
    margin-bottom: 8px !important;
}

#report_phpinfo_page .phpinfodisplay td {
    white-space: normal;
}

#report_phpinfo_page .phpinfodisplay a {
    color: initial;
    cursor: initial;
    text-decoration: none;
}

#report_phpinfo_page .phpinfodisplay a:hover {
    text-decoration: none;
}

#report_version_check_page .controls {
    margin-top: 0;
}

#report_version_check_page textarea {
    height: 300px;
    width: 100%;
}

#report_viewers_page .viewer {
    height: 16px;
    width: 16px;
}

/* Tool */

#tool_database_backup_page input[name='description'] {
    height: 20px;
    width: 85.5%;
}

#tool_database_backup_page input[name='create'] {
    float: right;
    width: 14%;
}

#tool_database_backup_page .controls {
    margin-top: 0;
}

#tool_database_backup_page table {
    margin-top: 15px;
}

#tool_database_backup_page th:last-of-type, #tool_database_backup_page td:last-of-type:not(.no_results) {
    text-align: right;
}

#tool_optimize_tables_page .controls {
    margin-top: 0;
}

#tool_text_finder_page h2 {
    margin-top: 5px;
}

#tool_text_finder_page .results {
    margin-top: 10px;
}

#tool_text_finder_page .results p {
    margin-bottom: 25px;
}

#tool_upgrade_page .controls {
    margin-top: 15px;
}

#tool_upgrade_page textarea {
    height: 300px;
    width: 100%;
}

/******************* Media Queries *******************/

@media all and (max-width: 1250px) {
    #edit_comment_page .left {
        float: none;
        width: 100%;
    }

    #edit_comment_page .right {
        width: 100%;
    }

    #edit_comment_page h2 {
        display: none;
    }
}

@media all and (max-width: 1000px) {
    #main_dashboard_page .left {
        float: none;
        width: 100%;
    }

    #main_dashboard_page .right {
        width: 100%;
    }

    #main_dashboard_page .news_block {
        height: auto;
    }

    #report_phpinfo_page .phpinfodisplay {
        margin-left: 0;
        width: 100%;
    }
}

@media all and (max-width: 750px) {
    .error_header {
        display: none;
    }

    #settings_email_editor_page .selection {
        float: none;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    #data_list_page .selection {
        display: none;
    }

    #data_list_page .modified {
        display: none;
    }

    #module_language_editor_page thead th:first-of-type {
        width: auto;
    }

    #module_language_editor_page .text_value input {
        padding: 0 !important;
        width: auto !important;
    }

    #tool_database_backup_page input[name='description'] {
        width: 100%;
    }

    #tool_database_backup_page input[name='create'] {
        float: none;
        margin-top: 10px !important;
        width: 100%;
    }
}

@media all and (max-width: 700px) {
    #settings_layout_comments_page .position_block {
        width: auto;
    }

    #settings_layout_comments_page .position_block .left, #settings_layout_comments_page .position_block .center, #settings_layout_comments_page .position_block .right {
        display: block;
        float: none;
        margin-bottom: 10px;
    }

    #settings_layout_comments_page .position_block .comments {
        margin-bottom: 25px;
    }
}

@media all and (max-width: 650px) {
    #settings_email_editor_page .keywords {
        margin-top: 5px;
    }

    #settings_email_editor_page .keywords span {
        display: block;
        margin-top: 5px;
    }

    #settings_email_editor_page select {
        width: 100%;
    }
}

@media all and (max-width: 600px) {
    #edit_comment_page .left textarea {
        width: 100%;
    }
}

@media all and (max-width: 500px) {
    .page_help_block {
        display: none;
    }

    .description .extra, .description_tab .extra {
        display: none;
    }

    .controls {
        margin-top: 0;
    }

    .controls .fieldset {
        display: inline;
        line-height: normal !important;
    }

    .controls .fieldset label {
        display: block;
        margin-bottom: 3px;
    }

    .controls input, .controls select {
        display: inline;
        text-align: left;
    }

    .controls input[type='text'], .controls input[type='password'], .controls input[type='email'] {
        padding: 5px;
        width: 100% !important;
    }

    .controls select {
        padding: 5px;
        width: 100%;
    }

    .controls textarea {
        margin-top: 0;
        width: 100%;
    }

    .buttons {
        margin-bottom: 5px;
    }

    .controls .button {
        margin-top: 10px;
        padding: 3px;
        width: 100%;
    }

    .controls .button:not(:first-child) {
        margin-top: 28px;
    }

    span.error {
        margin-top: 1px;
    }

    #extension_themes_page .sortable {
        margin-bottom: 15px;
    }

    #module_rich_snippets_page .other_section div {
        display: none;
    }

    #layout_form_comment_page span.error {
        margin-top: 0;
    }

    .note {
        display: none;
    }

    .hint {
        display: none;
    }

    .controls .fieldset::after {
        clear: both;
        content: '';
        display: block;
        margin-bottom: 20px !important;
    }

    .controls .divide_after input, .controls .divide_after select {
        margin-bottom: 10px;
    }

    .controls .divide_after span.error {
        margin-top: -6px;
    }

    #data_list_page .update {
        float: none;
    }

    .pagination_stats {
        float: none;
        margin-bottom: 25px;
        margin-top: 25px;
        text-align: center;
    }

    .pagination_links {
        display: flex;
        float: none;
        justify-content: space-between;
        margin-top: 18px;
    }

    .pagination_links span, .pagination_links span.active {
        padding: 5px;
    }

    #edit_comment_page .right textarea {
        width: 100%;
    }
}

/******************* Messages ************************/

div.success, div.info, div.error, div.warning {
    background-position: 5px center;
    background-repeat: no-repeat;
    border: 1px solid;
    line-height: 1em;
    margin-top: 12px;
    padding: 6px 5px 6px 25px;
    position: relative;
}

div.success {
    background-color: #e8fcdc;
    background-image: url('../../image/message/success.png');
    color: #4f8a10;
}

div.info {
    background-color: #bde5f8;
    background-image: url('../../image/message/information.png');
    color: #00529b;
}

div.error {
    background-color: #ffbaba;
    background-image: url('../../image/message/error.png');
    color: #d8000c;
}

div.warning {
    background-color: #feefb3;
    background-image: url('../../image/message/warning.png');
    color: #9f6000;
}

div.info a:not([href]):last-child, div.warning a:not([href]):last-child {
    color: #848484;
    cursor: pointer;
    float: right;
    font-size: 1.3em;
    font-weight: bold;
    margin-top: -1px;
    outline: none;
    padding-right: 5px;
    text-decoration: none;
}

/*********************** Login ***********************/

#login_page .box, #reset_page .box {
    height: auto;
    left: 50%;
    position: absolute;
    top: 50%;
    width: auto;
}

#login_page .box {
    margin-left: -125px;
    margin-top: -80px;
}

#reset_page .box {
    margin-left: -115px;
    margin-top: -75px;
}

#login_page fieldset, #reset_page fieldset {
    border: 1px solid #c0c0c0;
    padding: 8px;
    width: auto;
}

#login_page label {
    float: left;
    width: 70px;
}

#reset_page label {
    float: left;
    width: 45px;
}

#login_page input[type='text'], #login_page input[type='password'], #reset_page input[type='email'] {
    width: 150px;
}

#login_page .button, #reset_page .button {
    margin-top: 5px;
}

#login_page .message, #reset_page .message {
    margin-top: 10px;
    text-align: center;
}

#login_page .positive, #reset_page .positive {
    color: #060;
    font-weight: bold;
}

#login_page .negative, #reset_page .negative {
    color: #c00;
    font-weight: bold;
}

#login_page .link, #reset_page .link {
    font-size: .7em;
    margin-top: 10px;
    text-align: center;
}

@media all and (max-width: 500px) {
    #login_page .box, #reset_page .box {
        left: 0;
        margin-left: 5%;
        width: 90%;
    }

    #login_page .box {
        margin-top: -110px;
    }

    #reset_page .box {
        margin-top: -75px;
    }

    #login_page label, #reset_page label {
        display: block;
        float: none;
        width: auto;
    }

    #login_page input[type='text'], #login_page input[type='password'], #reset_page input[type='email'] {
        width: 100%;
    }

    #login_page input[type='submit'], #reset_page input[type='submit'] {
        width: 100%;
    }

    #login_page input {
        margin-bottom: 5px;
    }
}

/*********************** Menu ************************/

.flexnav {
    position: relative;
    z-index: 1;
}

.menu-button {
    background-color: #545454 !important;
    color: #fff !important;
    padding: 10px !important;
    text-decoration: none;
}

.menu-button .touch-button .navicon {
    color: #666;
    font-size: 26px;
    position: relative;
    top: 5px;
}

nav ul {
    padding: 0;
}

.flexnav li a {
    background-color: #545454 !important;
    border-right: 1px solid #acaca1;
    color: #fff !important;
    cursor: pointer !important;
    outline: 0;
    overflow: visible !important;
    padding: .6em;
    text-decoration: none;
}

.flexnav .item-with-ul li:first-of-type a:first-of-type {
    border-top: 1px solid #acaca1;
}

.flexnav .item-with-ul li:last-of-type a:last-of-type {
    border-bottom: 1px solid #acaca1;
}

.flexnav ul li a {
    background-color: #f4f4f4 !important;
    color: #000 !important;
    outline: 0;
}

.flexnav ul li a:hover {
    text-decoration: underline;
}

.flexnav li > ul {
    display: none;
}

.flexnav .touch-button {
    height: 32px !important;
    width: 30px !important;
}

.flexnav .touch-button .navicon {
    top: 9px !important;
}

@media all and (max-width: 1100px) {
    .flexnav li a {
        border-right: 0;
    }

    .flexnav .item-with-ul li:first-of-type a:first-of-type {
        border-top: 0;
    }

    .flexnav .item-with-ul li:last-of-type a:last-of-type {
        border-bottom: 1px solid rgba(0, 0, 0, .15);
    }

    .flexnav .indent {
        padding-left: 25px;
    }
}

/*********************** Tabs ************************/

.ui-tabs {
    border: 0 !important;
    font-family: arial !important;
    font-size: 13px !important;
    margin-top: 18px;
}

.ui-tabs .description {
    font-size: .9em;
}

.ui-tabs .description p {
    line-height: 20px !important;
}

.ui-tabs .ui-tabs-nav li a {
    outline-style: none;
    padding: 5px 10px !important;
}

.ui-tabs .ui-widget-header {
    background: none;
    border: 0;
}

.ui-tabs .ui-widget.ui-widget-content {
    border: 0 !important;
}

.ui-tabs .ui-widget-content a {
    color: #00f;
}

.ui-tabs .ui-tabs-panel {
    margin-top: 5px;
    padding: 0;
}

.ui-tabs .ui-tabs-nav {
    border-bottom: 1px solid #dfdfdf;
    margin-bottom: 5px;
    padding: 0;
}

.ui-tabs .ui-tabs-nav li {
    margin-right: 5px;
}

.ui-tabs .ui-widget-content input, .ui-tabs .ui-widget-content select, .ui-tabs .ui-widget-content textarea, .ui-tabs .ui-widget-content button {
    font-family: arial !important;
    font-size: 13px !important;
}

@media all and (max-width: 500px) {
    .ui-tabs {
        margin-top: 12px;
    }

    .ui-tabs .ui-state-default {
        width: 100%;
    }

    .ui-tabs .ui-tabs-nav li a {
        width: 90%;
    }

    .ui-tabs .ui-widget-content {
        margin-top: 15px !important;
    }
}

/*********************** Editor **********************/

.note-editor {
    line-height: initial !important;
    margin-bottom: 15px !important;
    overflow: hidden !important;
    width: 700px !important;
}

.note-group-select-from-files {
    display: none;
}

@media all and (max-width: 1700px) {
    .note-editor {
        width: auto !important;
    }
}

/*********************** Dialog **********************/

.ui-dialog {
    box-shadow: 1px 1px 5px #333;
    font-family: arial !important;
    font-size: 13px !important;
}

.ui-dialog .ui-dialog-content {
    min-height: 0 !important;
    padding-top: 12px;
}

.ui-dialog .ui-icon-alert {
    float: left;
    margin-right: 7px;
    margin-top: 0;
}

.ui-dialog-content a {
    outline: none;
}

@media all and (max-width: 500px) {
    .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
        float: none;
    }

    .ui-dialog .ui-dialog-buttonpane button {
        margin-left: 5px;
    }

    .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button {
        width: 100%;
    }
}

/*********************** Sortable ********************/

.ui-sortable {
    cursor: default;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 160px;
}

.ui-sortable li {
    margin-bottom: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-top: 5px;
}

.ui-sortable li span {
    margin-left: -18px;
    position: absolute;
}

.ui-icon-arrowthick-2-n-s {
    background-position: -128px -46px;
}

@media all and (max-width: 500px) {
    .ui-sortable {
        width: 93%;
    }
}

/********************** Datepicker ******************/

.ui-datepicker {
    font-family: arial !important;
    font-size: 13px !important;
}

/********************** Autocomplete ****************/

.ui-autocomplete {
    background: #fffff5;
    color: #2c2c2c;
    font-family: arial;
}

.ui-autocomplete .ui-state-focus {
    background: #ffffea;
}

/*********************** Table **********************/

.table_container {
    overflow-x: auto;
}

table.table {
    border-collapse: collapse;
    width: 100%;
}

.table tr:nth-of-type(odd) {
    background: #eee;
}

.table th {
    background: #686868;
    color: #fff;
    font-weight: bold;
}

.table th a {
    color: #fff !important;
    text-decoration: none;
}

.table th .asc {
    background: url('../../image/misc/asc.png') no-repeat scroll right center rgba(0, 0, 0, 0);
    padding-right: 15px;
}

.table th .desc {
    background: url('../../image/misc/desc.png') no-repeat scroll right center rgba(0, 0, 0, 0);
    padding-right: 15px;
}

.table td, th {
    border: 1px solid #ccc;
    padding: 6px;
    text-align: left;
}

.table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table tbody tr:hover {
    background-color: #fdfcdc;
}

.table td:last-of-type a {
    outline: none;
}

.table .no_results {
    text-align: center;
}

@media all and (max-width: 750px) {
    table.table, .table thead, .table tbody, .table th, .table td, .table tr {
        display: block;
    }

    .table tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
    }

    .table td {
        border: 0;
        border-bottom: 1px solid #dedede;
    }

    .table td:not(.selector):not(.actions)::before {
        color: #2c2c2c;
        content: attr(data-th);
        font-weight: bold;
        padding-right: 5px;
    }

    .table td.actions {
        display: flex;
        justify-content: space-between;
    }

    #extension_modules_page .table th:last-of-type, #extension_modules_page .table td:last-of-type:not(.no_results) {
        text-align: left;
    }

    #tool_database_backup_page .table th:last-of-type, #tool_database_backup_page .table td:last-of-type:not(.no_results) {
        text-align: left;
    }
}

/****************** Password Strength ***************/

#password_strength {
    display: block;
    height: 5px;
    margin-top: 15px;
}

#password_description {
    float: left;
    font-size: .8em;
    line-height: 15px;
    margin-bottom: -10px;
}

.strength_0 {
    background: #ccc;
    width: 100%;
}

.strength_1 {
    background: #f00;
    width: 16%;
}

.strength_2 {
    background: #ff5f5f;
    width: 33%;
}

.strength_3 {
    background: #ffcbcb;
    width: 50%;
}

.strength_4 {
    background: #56e500;
    width: 66%;
}

.strength_5 {
    background: #4dcd00;
    width: 83%;
}

.strength_6 {
    background: #399800;
    width: 100%;
}

@media all and (max-width: 500px) {
    #password_strength {
        margin-top: 0;
    }

    #password_description {
        float: none;
    }
}

/****************** Admin Restriction ***************/

.restriction_fieldset {
    line-height: 25px !important;
}

.restriction_fieldset_top {
    line-height: 40px !important;
}

.restriction_fieldset_hidden {
    display: none !important;
}

.restriction_menu_top {
    color: #ee4000;
    font-weight: bold;
}

.restriction_indent_20 {
    margin-left: 20px;
}

.restriction_indent_40 {
    margin-left: 40px;
}

/****************** Font Awesome ********************/

.fa {
    margin-right: 1px;
}
