﻿div.RadGrid.RadGrid_Bootstrap table.rgMasterTable tr > td {
    padding: 3px 8px;
}

div.SubtitleRow {
    border-bottom: 2px dotted #005395;
}

    div.SubtitleRow div.subtitle {
        color: #005395;
        font-size: 24px;
    }

        div.SubtitleRow div.subtitle h3 {
            margin-bottom: 0px;
            display: inline-block;
            font-size: 24px;
            color: #005395;
        }

.custom-message-alert {
    padding: 2px 10px;
    min-height: 40px;
    margin-bottom: 0;
}

div.DropDownLowerFont table tr td.rcbInputCell > input.rcbInput {
    font-size: small;
}

input.riTextBox {
    font-size: small !important;
}

span.HeaderStatus {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

.NumberContainer > span {
    font-size: 25px;
    font-weight: bold;
    display: block;
    margin-top: 2px;
}

.tabs-left, .tabs-right {
    border-bottom: none;
    padding-top: 2px;
}

.tabs-left {
    border-right: 1px solid #ddd;
    vertical-align: middle;
    display: table-cell;
}

.tabs-right {
    border-left: 1px solid #ddd;
}

    .tabs-left > li, .tabs-right > li {
        float: none;
        margin-bottom: 2px;
    }

.tabs-left > li {
    margin-right: -1px;
}

.tabs-right > li {
    margin-left: -1px;
}

.tabs-left > li.active > a, .tabs-left > li.active > a:hover, .tabs-left > li.active > a:focus {
    border-bottom-color: #ddd;
    border-right-color: transparent;
    color: #005395;
    font-weight: bold;
}

ul.nav-tabs li.active a > div.menu-item, ul.nav-tabs li a:hover > div.menu-item, ul.nav-tabs li.active a:focus > div.menu-item {
    border-bottom-color: #ddd;
    border-right-color: transparent;
    color: #005395;
    font-weight: bold;
}

    ul.nav-tabs li.active a > div.menu-item div.sub-title, ul.nav-tabs li a:hover > div.menu-item div.sub-title, ul.nav-tabs li.active a:focus > div.menu-item div.sub-title {
        color: #777;
    }


.tabs-right > li.active > a,
.tabs-right > li.active > a:hover,
.tabs-right > li.active > a:focus {
    border-bottom: 1px solid #ddd;
    border-left-color: transparent;
}

.tabs-left > li > a {
    border-radius: 4px 0 0 4px;
    margin-right: 0;
    display: block;
    color: #777;
}

.tabs-right > li > a {
    border-radius: 0 4px 4px 0;
    margin-right: 0;
}

.vertical-text {
    margin-top: 50px;
    border: none;
    position: relative;
}

    .vertical-text > li {
        height: 20px;
        width: 120px;
        margin-bottom: 100px;
    }

        .vertical-text > li > a {
            border-bottom: 1px solid #ddd;
            border-right-color: transparent;
            text-align: center;
            border-radius: 4px 4px 0px 0px;
        }

        .vertical-text > li.active > a,
        .vertical-text > li.active > a:hover,
        .vertical-text > li.active > a:focus {
            border-bottom-color: transparent;
            border-right-color: #ddd;
            border-left-color: #ddd;
        }

    .vertical-text.tabs-left {
        left: -50px;
    }

    .vertical-text.tabs-right {
        right: -50px;
    }

        .vertical-text.tabs-right > li {
            -webkit-transform: rotate(90deg);
            -moz-transform: rotate(90deg);
            -ms-transform: rotate(90deg);
            -o-transform: rotate(90deg);
            transform: rotate(90deg);
        }

    .vertical-text.tabs-left > li {
        -webkit-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
        -o-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }

div.group-date-header h6 {
    font-size: 16px;
    font-weight: bold;
    color: #005395;
    margin-bottom: 0;
}

div.group-date-header hr {
    border-top-color: #337ab7;
    margin-top: 2px;
    margin-bottom: 15px;
}

span.number-of-docs {
    background: #14b700;
    padding: 2px 7px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 13px;
    color: #fff;
    margin-left: 5px;
}

.group-date-files {
    margin-bottom: 10px;
}

.FilesAndHistoryBox {
    /*display: table;*/
}

.tab-content {
    padding: 20px 10px 10px 20px;
    height: 350px;
    overflow: auto;
    border-radius: 0 5px 5px 0;
    border-style: solid;
    border-color: #ccc;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    display: inline-block;
    width: 80%;
    margin-left: -5px;
}

.nav-tabs-bar {
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    height: 350px;
    border-radius: 5px 0 0 5px;
    display: inline-block;
    width: 157px;
    padding: 30px 0px 0 15px;
    background: #005395;
    margin: 0px;
}

div.menu-item {
    display: table;
    color: #fff;
}

    div.menu-item div.menu-item-icon, div.menu-item div.menu-item-name {
        display: table-cell;
        vertical-align: middle;
        line-height: 1;
    }

    div.menu-item div.menu-item-icon {
        padding: 5px 5px 5px 0;
        font-size: 18px;
    }

    div.menu-item div.menu-item-name > div.sub-title {
        font-weight: bold;
        text-transform: uppercase;
        font-size: 10px;
        color: #dcdcdc;
    }

    div.menu-item div.menu-item-name > span {
        font-size: 14px;
    }

.observation-box {
    margin-bottom: 15px;
    color: #005395;
}

div.observation-title {
    border-bottom: 1px dashed;
    margin-bottom: 5px;
}

    div.observation-title > span.observation-autor, div.message-title > span.message-autor {
        font-weight: bold;
    }

    div.observation-title > span.observation-date, div.message-title > span.message-date {
        font-style: italic;
    }

.observation-content {
    text-align: justify;
}

.message-title {
    border-bottom: 1px dotted;
    margin-bottom: 5px;
}

span.custom-grid-alert {
    width: fit-content;
}


div.PanelPrincipal {
    padding: 0 100px 15px;
}

.btn-to-upload {
    width: 100%;
    text-align: center;
}

.PrincipalFileBox {
    width: 120px;
    display: inline-table;
    text-align: center;
    padding: 5px 5px;
    height: 95px;
    margin: 10px 5px;
    position: relative;
}

    .PrincipalFileBox i.file-icon {
        display: block;
        font-size: 40px;
    }

span.file-update-date {
    display: block;
    font-size: 11px;
    font-style: italic;
}

div.DeleteIcon {
    position: absolute;
    top: 2px;
    right: 30px;
}

    div.DeleteIcon a > i.file-icon-box {
        font-size: 20px;
        font-weight: bold;
        color: #af0000;
    }

    div.DeleteIcon a:hover > i {
        color: red;
        text-shadow: 1px 1px 3px #aaa;
    }

.file-name-box {
    min-height: 40px;
    word-wrap: break-word;
}

    .file-name-box a:hover {
        cursor: default;
    }

.icon-color-purple {
    color: #984ad3;
}

.icon-color-orange {
    color: #f35d30;
}

.icon-color-lightblue {
    color: #3099f3;
}

.icon-color-pink {
    color: #ff63c8;
}

.icon-color-gray {
    color: #8288b1;
}

div.SearchBox {
    padding: 10px;
}

    div.SearchBox div.t-row {
        margin: 0;
    }

div.DisabledGrid div.commandItem a.btn-warning {
    color: #aaa;
    background: #ccc;
    border-color: #bbb;
}

div.FeaturedImageBox div.DeleteLink .btn, div.PostGalleryImageBox div.DeleteLink .btn {
    border-radius: 18px;
    border: 1px solid #fff;
    box-shadow: -1px 2px 4px #000;
}

div.FeaturedImageBox div.DeleteLink, div.PostGalleryImageBox div.DeleteLink {
    position: absolute;
    top: 5px;
    right: 5px;
}

div.FeaturedImageBox, div.PostGalleryBox {
    position: relative;
    width: 100%;
    overflow: auto;
}

div.FeaturedImageBox {
    width: 90%;
}

.PostGalleryImageBox {
    width: 200px;
    position: relative;
    margin: 5px 10px;
    display: inline-block;
    max-height: 200px;
    overflow: hidden;
}

div.PostGalleryBox {
    height: 210px;
    overflow: scroll;
}

div.GalleryImage img {
    width: 100%;
}

div.RadUpload ul.ruInputs li.ruSelectWrap span.ruFileWrap span.ruButton {
    background: #ffc107;
    color: #000;
    padding: 2px 10px;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1.5;
    border-color: #c79500;
}

    div.RadUpload ul.ruInputs li.ruSelectWrap span.ruFileWrap span.ruButton.ruButtonHover {
        background: #ffeb3b;
    }


div.RadGrid.CustomPostsGrid table.rgMasterTable tr.rgRow td, 
div.RadGrid.CustomPostsGrid table.rgMasterTable tr.rgAltRow td {
    border: 0;
    padding: 10px 0;
}

div.RadGrid.CustomPostsGrid table.rgMasterTable tr.rgRow, 
div.RadGrid.CustomPostsGrid table.rgMasterTable tr.rgAltRow {
    border: 0;
    background: transparent;
}

.NewsBoxItem {
    display: table;
}

.ImageBox {
    width: 275px;
    display: table-cell;
    text-align: center;
}

div.ImageBox img {
    max-height: 250px;
}

.NewsContent {
    display: table-cell;
    padding-left: 10px;
    vertical-align: top;
}

div.CustomPostsGrid {
    border: 0;
}

div.NewsTitle h2 {
    margin-bottom: 0px;
    font-size: 20px;
}

.NewsAuthor {
    padding: 5px 0;
    font-size: 12px;
}

span.AuthorName {
    font-weight: bold;
}

span.PublishDate {
    font-style: italic;
    color: #888;
}

div.CustomPostsGrid td.rgPagerCell div.NextPrevAndNumeric {
    text-align: center;
    width: fit-content;
    margin: 0 auto;
}

div.CustomPostsGrid td.rgPagerCell {
    background: transparent;
    text-align: center;
}

@media (max-width: 768px) {
    .NewsBoxItem {
        display: block;
    }

    .ImageBox {
        width: 275px;
        display: block;
        text-align: center;
    }

    div.ImageBox img {
        max-height: 250px;
    }

    .NewsContent {
        display: block;
        padding-left: 10px;
        vertical-align: top;
    }

}

.post-gallery.imagebox {
    display: inline-block;
    margin: 5px;
}

.PostFeaturedImage {
    width: 390px;
    display: inline-block;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
    max-height: 300px;
    overflow: hidden;
}

    .PostFeaturedImage img {
        height: 100%;
        width: auto;
    }
