﻿

body {
    font-size: 90%;
    background-color: #23282d;
}

.rky-admin-tools-top {
    background-color: #23282d;
    color: #ddd;
    font-size: 14px;
    height: 31px;
}

    .rky-admin-tools-top .logo {
        position: absolute;
        font-size: 18px;
        top: 6px;
        left: 5px;
    }

.org-finder {
    position: absolute;
    left: 161px;
    margin-top: 4px;
}

    .org-finder input {
        font-size: 100%;
        padding: 4px;
        border: 0;
        width: 200px;
        background-color: #666;
        color: white;
    }

        .org-finder input:focus {
            outline: none;
        }

.org-finder-results {
    position: absolute;
    border-top: 4px solid #111;
    width: 460px;
    min-height: 50px;
    max-height: 600px;
    background-color: #666;
    padding: 10px;
    box-shadow: 3px 5px 5px #333;
    overflow: hidden;
    z-index: 100;
}



.rky-admin-tools-top .user-info {
    float: right;
    font-size: 90%;
}

.rky-admin-tools-top .title-info {
    margin-left: 40px;
}

.rky-admin-tools-top a {
    display: inline-block;
    padding: 5px 10px;
    color: #ddd;
}

    .rky-admin-tools-top a:hover {
        background-color: #333;
        color: #1ea5e6;
    }

.rky-admin-tools-top div.items a {
    color: #eee;
    margin-right: 20px;
}

.rky-admin-tools-left {
    float: left;
    padding-top: 20px;
    background-color: #23282d;
    width: 160px;
}

    .rky-admin-tools-left a {
        display: block;
        color: #eee;
        padding: 7px 1px 7px 5px;
    }

        .rky-admin-tools-left a .fa {
            width: 28px;
            text-align: center;
        }

        .rky-admin-tools-left a.active {
            background-color: #0073aa;
        }

        .rky-admin-tools-left a:hover {
            background-color: #000;
            color: #1ea5e6;
        }

    .rky-admin-tools-left li a.active {
        background-color: rgba(26, 105, 127, 0.68);
    }


.rky-admin-main {
    margin-left: 161px;
    background-color: #fff;
}

.iframe {
    background-color: #fff;
}

    .iframe .rky-admin-main {
        margin-left: 0;
        background-color: #fff;
    }

        .iframe .rky-admin-main .rky-edit-col {
            background-color: #fff;
        }

/* overrides used when row is collapsed */
.pad-left-10 {
    padding-left: 10px !important;
}

.pad-left-20 {
    padding-left: 20px !important;
}

.pad-left-30 {
    padding-right: 30px !important;
}

.pad-right-10 {
    padding-right: 20px !important;
}

.pad-right-20 {
    padding-right: 20px !important;
}

.pad-right-30 {
    padding-right: 30px !important;
}

h1 {
    font-size: 200%;
}

h2 {
    font-size: 160%;
}

h3 {
    font-size: 140%;
}

    h3 small {
        color: gray;
    }

h4 {
    font-size: 120%;
}

label {
    color: #666;
    font-size: 90%;
}

a {
    color: #264fc1;
}

ul {
    margin-left: 36px;
    font-size: 90%;
}

table {
    font-size: 90%;
}

.indicator {
    display: none;
}

td .fa-remove {
    color: red;
}

/* Angular 2  hacks */
[hidden] {
    display: none !important;
}

.CodeMirror {
    height: 55vh;
}

ul.root.names {
    margin-left: 12px;
    margin-bottom: 2px;
}

    ul.root.names li {
        list-style-image: url('../img/section_link.png');
    }

ul.names {
    margin-left: 35px;
    list-style-type: none;
}

.names li {
    position: relative;
}

    .names li a {
        display: block;
        padding: 2px 0px;
        border-bottom: 1px solid #dadada;
    }

        .names li a:hover {
            font-weight: bold;
        }

        .names li a.active {
            background-color: #008cba;
            color: #fff;
            padding-left: 3px;
        }

    .names li .toggle {
        position: absolute;
        left: -40px;
        border: 0;
    }

.sections .names li {
    list-style-image: url('../img/section_normal.png');
}

    .sections .names li.acs1 {
        list-style-image: url('../img/section_normal_key.png');
    }

    .sections .names li.status0 > a {
        color: #000;
        opacity: 0.5;
    }

    .sections .names li.document {
        list-style-image: url('../img/folder_table.png');
    }

    .sections .names li.virtual {
        list-style-image: url('../img/section_link.png');
    }

        .sections .names li.virtual.acs1 {
            list-style-image: url('../img/section_normal_key_gray.png');
        }

    .sections .names li.custom {
        list-style-image: url('../img/section_normal_custom.png');
    }

        .sections .names li.custom.acs1 {
            list-style-image: url('../img/section_normal_key_custom.png');
        }

/* templates */

.layout-thumb {
    position: relative;
    margin-right: 10px;
}


    .layout-thumb img {
        margin-left: 20px;
        max-height: 140px;
        max-width: 90%;
    }

.layout-thumb-upload {
    position: relative;
    background-color: #e6f1ff;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
}

    .layout-thumb-upload a {
        position: absolute;
        right: 5px;
        top: 5px;
        padding: 1px 3px;
        font-size: 80%;
    }

    .layout-thumb-upload input {
        margin: 3px;
        font-size: 90%;
    }

.templates ul li {
    margin-left: -22px;
}

    .templates ul li a {
        padding: 0;
    }

.templates .items .head {
    display: block;
    border-bottom: 2px solid #ccc;
    color: #333;
    padding-bottom: 3px;
    margin-bottom: 5px;
    font-weight: bold;
}

.templates .items .add {
    float: right;
    font-size: 80%;
}

.template-help-panel {
    position: absolute;
    z-index: 1000;
    margin-top: -37px;
    right: 30px;
    background-color: #eee;
    font-size: 90%;
    border: 1px solid #ccc;
}

.modules.items li {
    margin-left: -40px;
}

    .modules.items li a {
        padding-left: 10px;
    }

        .modules.items li a:before {
            font-family: FontAwesome;
            margin-left: -0px;
            padding-right: 10px;
        }


    .modules.items li.article-list a:before {
        content: "\f0ca";
    }

    .modules.items li.article-detail a:before {
        content: "\f1ea";
    }

    .modules.items li.country-list a:before {
        content: "\f0ca";
    }

    .modules.items li.ebook-list a:before {
        content: "\f12e";
    }

    .modules.items li.ebook-detail a:before {
        content: "\f12e";
    }

    .modules.items li.country-list a:before {
        content: "\f0ca";
    }

    .modules.items li.country-detail a:before {
        content: "\f1ea";
    }

    .modules.items li.document a:before {
        content: "\f1c1";
    }

    .modules.items li.form a:before {
        content: "\f044";
    }

    .modules.items li.fileshare a:before {
        content: "\f07c";
    }

    .modules.items li.members a:before {
        content: "\f2bd";
    }

    .modules.items li.document-list a:before {
        content: "\f0c5";
    }

    .modules.items li.document-detail a:before {
        content: "\f15b";
    }


#tag_help {
    min-width: 250px;
}

#razor_help {
    min-width: 320px;
}


.template-help-panel .header {
    font-weight: bold;
    margin-bottom: 0;
}

.template-help-panel .tag {
    padding: 0px 8px;
    margin-bottom: 3px;
}

    .template-help-panel .tag.inactive {
        opacity: 0.3;
    }

.template-help-panel ul {
    display: none;
    margin-left: 38px;
    color: #666;
}

.usage {
    border: 1px solid #ddd;
    background-color: #eee;
    padding: 5px;
    font-size: 90%;
    color: #666;
}

.templates code {
    background-color: rgb(255, 255, 217);
}

/*.names li.template {
    list-style-image: url('../img/template.png');
}

.names li.layout {
    list-style-image: url('../img/layout.png');
}

.names li.partial1 {
    list-style-image: url('../img/partial.png');
}

.names li.partial2 {
    list-style-image: url('../img/partial.png');
}

.names li.list {
    list-style-image: url('../img/partial.png');
}

.names li.detail {
    list-style-image: url('../img/partial.png');
}

.names li.snippet {
    list-style-image: url('../img/snippet.png');
}*/

.names li.style {
    list-style-image: url('../img/style.png');
}

.names li.script {
    list-style-image: url('../img/script.png');
}

.pt_btnEdit {
    float: right;
}


/* secitons */
.layout-box {
    background-color: #fff;
    border: 1px solid #ccc;
}

    .layout-box.disabled {
        opacity: 0.3;
    }

    .layout-box label {
        background-color: #ddd;
        padding: 0px 5px;
    }

    .layout-box .inner {
        padding: 5px 5px;
        font-size: 90%;
    }

    .layout-box img {
        border-bottom: 1px solid #ddd;
    }



#layout_select .item {
    cursor: pointer;
    border-top: 1px solid #ddd;
    padding: 5px;
    background-color: #f6f6f6;
}

    #layout_select .item:nth-child(even) {
        background-color: #fbfbfb;
    }

    #layout_select .item:hover {
        background-color: #eee;
    }

h2 {
    margin-top: 10px;
}



textarea {
    font-size: 90% !important;
    padding: 5px !important;
}

select {
    font-size: 90%;
    height: 32px;
    line-height: 14px;
}

input[type=text] {
    height: 32px;
    font-size: 90%;
}

input[type=date] {
    height: 32px;
    font-size: 90%;
}

input[type=number] {
    height: 32px;
    font-size: 90%;
    padding: 2px;
}

input[type="text"]:disabled {
    color: #aaa;
}

select:disabled {
    color: #aaa;
}

.rky-list-col {
    padding-left: 20px;
    background-color: #eee;
}


.rky-top-bar {
    padding: 18px 15px 12px 15px;
    background-color: #1d5464;
    color: #fff;
    height: 67px;
}

.rky-list-bar {
    padding: 6px 10px 0px 18px;
    background-color: #1d5464;
    color: #fff;
}

    .rky-list-bar h3 {
        margin-top: 3px;
    }

.rky-edit-col {
    padding: 20px 30px !important;
    width: 100%;
}



.rky-edit-toolbar {
    padding: 17px 20px 0px 30px;
    background-color: #507884;
    color: #fff;
}

    .rky-edit-toolbar b {
        display: block;
        margin-top: 8px;
    }

/* form-wrapper */
.rky-form-wrapper {
    border: 1px solid #ccc;
    background-color: #f6f6f6;
}

    .rky-form-wrapper .header {
        background-color: #e6e6e6;
        padding: 5px 10px 5px 5px;
        border-bottom: 1px solid #ccc;
        margin-bottom: 5px;
    }


    .rky-form-wrapper label {
        font-size: 80%;
    }

    .rky-form-wrapper #editor1 {
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
    }

    .rky-form-wrapper .header {
        color: #333;
    }

        .rky-form-wrapper .header .add {
            font-size: 90%;
            float: right;
        }

    .rky-form-wrapper .footer {
        background-color: #e6e6e6;
        padding: 5px 10px 5px 5px;
        border-top: 1px solid #ccc;
        color: #666;
    }

        .rky-form-wrapper .footer .delete {
            color: red;
            float: right;
        }

        .rky-form-wrapper .footer select {
            font-size: 90%;
            margin: 0;
            height: 23px;
            line-height: 10px;
            padding: 2px 25px 2px 5px;
        }


.rky-list-scroller {
    height: 89.5vh;
    overflow-y: auto;
    width: 100%;
}

    .rky-list-scroller table.list td {
        padding: 5px 20px;
    }

    .rky-list-scroller table.list th {
        padding: 5px 20px;
    }



    .rky-list-scroller.divs {
        padding: 15px 15px;
    }

.list {
    width: 100%;
    border-collapse: separate;
    border: 1px solid #ccc;
}

    .list th {
        font-size: 12px;
        text-align: left;
        background-color: #e5e5e5;
        color: #333;
        min-width: 26px;
        border-bottom: 1px solid #ccc;
    }

        .list th a {
            color: White;
        }

            .list th a.selected {
                font-weight: bold;
                display: inline-block;
                padding: 2px 8px;
                background-color: White;
                color: #333;
            }

    .list td {
        vertical-align: top;
    }


        .list td input {
            padding: 1px;
            margin: 0;
            background-color: #fff;
        }

        .list td select {
            padding: 0;
            margin: 0;
            background-color: #fff;
        }



    .list tr.rowMsg td {
        background-color: #fff !important;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ddd;
        border-left: 1px solid #fff;
        border-right: 1px solid #fff;
        text-align: center;
    }

    .list tr.rowMsg .hint {
        color: gray;
    }

    .list tr.rowMsg .warning {
        color: red;
    }

    .list tr.rowMsg td div {
        padding: 15px 5px;
    }

    .list tr.disabled td {
        background-color: #fff !important;
        opacity: 0.2;
    }





.field-validation-error {
    color: red;
}

.rky-tabs {
    border-bottom: 2px solid #0073aa;
    margin: 15px 0;
    padding: 2px 5px;
}

.rky-tab {
    background-color: #d7e5ef;
    padding: 5px 8px 5px 8px;
    font-size: 90%;
}

    .rky-tab:hover {
        background-color: #d7e5ef;
    }

    .rky-tab.active {
        background-color: #0073aa;
        padding: 8px 8px 5px 8px;
    }

    .rky-tab a {
        color: #000;
    }

    .rky-tab.active a {
        color: #fff;
    }

.nav a {
    display: block;
    padding: 2px;
}

.nav .active a {
    background-color: #2D4A9A;
    color: #fff;
}

.switch.publish {
    float: right;
}

    .switch.publish .switch-text {
        position: absolute;
        right: 65px;
        bottom: 7px;
    }

.header1 {
    background-color: #2D4A9A;
    border-bottom: 1px solid #fff;
}

.header2 {
    background-color: #333;
    border-top: 3px solid #333;
    border-bottom: 3px solid #2D4A9A;
}

.header .active {
    background-color: #666;
}


.crumbs {
    font-size: 70%;
    font-style: italic;
    padding: 3px 0;
}

.subnav {
    background-color: #79d2ef;
    padding: 4px;
}

    .subnav a {
        display: inline-block;
        padding: 2px 8px;
        color: #fff;
        background-color: #79d2ef;
    }

        .subnav a.active {
            color: #fff;
            background-color: #2596bb;
        }



table.list {
    width: 100%;
}

    table.list th {
        padding: 3px;
    }

    table.list td {
        padding: 3px;
    }

    table.list tr:hover td {
        background-color: #f3e9ba;
    }

    table.list tr.updated td {
        color: orange;
    }

        table.list tr.updated td a {
            color: orange;
        }

.footer {
    color: #ddd;
    font-size: 80%;
    padding: 5px 5px 5px 160px;
    margin-top: 2px;
}


/*  overrides*/
.cke_reset_all tr {
    background-color: inherit !important;
}

.cke_reset_all label {
    color: #333;
    font-size: 90%
}

.cke_reset_all input {
    height: 24px;
}

.button.success {
    background-color: #06a541;
}

.title-bar {
    background: #333;
    padding: 0.9rem;
}

.top-bar {
    background: #333;
    padding: 0;
}

    .top-bar h1 {
        font-size: 160%;
        margin: 2px 0 5px 10px;
    }

        .top-bar h1 a {
            color: #fff;
        }

    .top-bar ul {
        background: #333;
    }

        .top-bar ul li {
            background: #333;
        }

            .top-bar ul li a {
                color: #fff;
            }


ul.menu .active a {
    background-color: #2D4A9A;
}

.menu-text {
    color: #fff;
}

@media only screen and (max-width: 40em) {
    .menu-text {
        display: none !important;
    }
}

@media only screen and (min-width: 40em) {
    .menu:last-child {
        border-left: 1px solid #4e4e4e;
    }

    .menu:first-child {
        border-left: none;
    }

    .menu li:not(:last-child) {
        border-right: 1px solid #4e4e4e;
    }
}

.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* blazor */
form .invalid {
    border: 1px solid red;
}

form .modified.valid {
    border: 1px green red;
}

.message-status.none {
    display: none;
}

.message-status.success {
    color: green;
}

.message-status.error {
    color: red;
}

.validation-errors {
    color: red;
}
