﻿/* Rocky default styles included in every cms template*/

html {
    height: 100.1%;
}

    html.print {
        margin-top: 20px;
        font-size: 90%;
    }

label {
    display: block;
    color: #666;
    font-size: 90%;
}

select {
    font-size: 90%;
}

ul.rky-menu {
    margin-left: 0;
}

.rky-content-aside {
    position: relative;
}

    .rky-content-aside .rky-edit {
        float: right;
        margin-right: -24px;
    }

.rky-article-list .rky-item {
    margin-bottom: 30px;
    clear: both;
}

.rky-article-list .rky-thumb {
    float: left;
    margin-right: 10px;
    max-width: 120px;
    border: 1px solid #2D4A9A;
    max-height: 100px;
    overflow: hidden;
}

.rky-article-list .rky-date {
    font-size: 80%;
    color: #666;
    font-style: italic;
}

.rky-article-detail .rky-blurb {
    font-weight: bold;
    margin-bottom: 20px;
}

.rky-title-bar-sub {
    padding: 7px 10px;
    background-color: #2D4A9A;
    color: #fff;
    font-weight: bold;
    margin-bottom: 20px;
}

    .rky-title-bar-sub button {
        color: #fff;
        padding: 3px;
    }

.rky-resource-list .rky-desc {
    font-size: 85%;
    color: #333;
}

input.invalid {
    border: 1px solid red;
}

select.invalid {
    border: 1px solid red;
}

textarea.invalid {
    border: 1px solid red;
}

/* images in body inserted by ckeEditor using Image2 plugin */
figure.rky-image {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #ccc;
    margin: 5px 0 10px 0;
    text-align: center;
    padding: 5px;
}

    figure.rky-image figcaption {
        padding: 5px;
        font-size: 85%;
        text-align: left;
    }

    figure.rky-image[style="float:left"] {
        margin-right: 3%;
    }

    figure.rky-image[style="float:right"] {
        margin-left: 3%;
    }

img.rky-image {
    background-color: #fff;
    padding: 5px;
    border: 1px solid #ccc;
}

    img.rky-image[style="float:left"] {
        margin: 5px 3% 10px 0;
    }

    img.rky-image[style="float:right"] {
        margin: 5px 0 10px 3%;
    }

/* comments */
.rky-comments {
    margin-top: 20px;
    padding-top: 20px;
    margin-bottom: 40px;
}

    .rky-comments .item {
        padding: 8px 0px;
        border-bottom: 1px solid #f2f8f8;
    }

        .rky-comments .item .date {
            color: #027b70;
            font-style: italic;
            font-size: 90%;
        }

    .rky-comments form {
        margin-top: 20px;
    }

/* defaults */
.rky-image-box {
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

    .rky-image-box .rky-image {
        padding: 5px;
    }

        .rky-image-box .rky-image img {
            border: 0;
            margin: 0;
            padding: 0;
            width: 100%;
        }

    .rky-image-box .rky-text {
        padding: 8px;
        font-size: 80%;
        color: #666;
    }

.rky-image-box-center {
    width: 100%;
    margin-bottom: 20px;
}

.rky-image-box-left {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
    width: 40%;
}

.rky-image-box-right {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
    width: 40%;
}

/* page-nav (new 1 oct 2018 - replaces nav */
.rky-page-nav {
    margin-top: 20px;
    list-style: none;
}

    .rky-page-nav ul {
        list-style: none;
    }

    .rky-page-nav li.item a {
        display: block;
        padding: 8px;
        text-decoration: none;
    }

    .rky-page-nav span.item a {
        display: inline-block;
        padding: 8px;
        text-decoration: none;
    }

    .rky-page-nav li.item a:before {
        font-family: FontAwesome;
        font-size: 10px;
        content: "\f054";
        color: inherit;
        padding-right: 5px;
    }

    .rky-page-nav .item.active a {
        background-color: #607D8B;
        color: #fff;
    }

    .rky-page-nav .item a:hover {
        background-color: rgba(136, 163, 177, 0.86);
        color: #fff;
    }

/* nav */
.rky-nav {
    margin-top: 20px;
    list-style: none;
}

    .rky-nav ul {
        list-style: none;
    }

    .rky-nav .item a {
        display: block;
        padding: 8px;
        text-decoration: none;
    }

        .rky-nav .item a:before {
            font-family: FontAwesome;
            font-size: 10px;
            content: "\f054";
            color: inherit;
            padding-right: 5px;
        }

    .rky-nav .item.active a {
        background-color: #607D8B;
        color: #fff;
    }

    .rky-nav .item a:hover {
        background-color: rgba(136, 163, 177, 0.86);
        color: #fff;
    }

.rky-thumb-left {
    float: left;
    margin: 3px 20px 10px 0;
    background-color: #fff;
    padding: 5px;
    border: 1px solid #ccc;
}

.rky-thumb-right {
    float: right;
    margin: 3px 0 10px 20px;
    background-color: #fff;
    padding: 5px;
    border: 1px solid #ccc;
}

.rky-thumb-center {
    display: block;
    margin-top: 3px;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 5px;
    border: 1px solid #ccc;
}

    .rky-thumb-center img {
        width: 100%;
    }

.item.status0 {
    opacity: 0.4;
}



/* prevent padding jump on modal open */
body.is-reveal-open {
    overflow: visible;
}

.reveal-overlay {
    overflow-y: hidden;
}

.rky-content-treeview .item {
    padding: 5px;
}

    .rky-content-treeview .item.status0 {
        opacity: 0.4;
    }

    .rky-content-treeview .item.item-sub1 {
        margin-left: 15px;
    }

    .rky-content-treeview .item.item-sub2 {
        margin-left: 30px;
    }

    .rky-content-treeview .item.item-sub3 {
        margin-left: 45px;
    }

    .rky-content-treeview .item.selected {
        background-color: #ddd;
    }

    .rky-content-treeview .item:hover {
        background-color: #e6e6e6;
    }

.rky-photo-list .item {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 5px;
}

    .rky-photo-list .item img {
        width: 100%;
    }

    .rky-photo-list .item .desc {
        font-size: 90%;
        color: #666;
    }
