﻿
/* Calendar Styling  */

.clearfix::after,
.dbc-calendar ol::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.dbc-calendar {
    border-radius: 10px;
}

.month {
    font-size: 2rem;
}

@media (min-width: 992px) {
    .month {
        font-size: 3.5rem;
    }
}

.dbc-calendar ol li {
    float: left;
    width: 14.28571%;
}

.dbc-calendar .day-names {
    border-bottom: 1px solid #eee;
}

    .dbc-calendar .day-names li {
        text-transform: uppercase;
        margin-bottom: 0.5rem;
    }

.dbc-calendar .days li {
    border-bottom: 1px solid #eee;
    min-height: 10rem;
}

    .dbc-calendar .days li .date {
        margin: 0.5rem 0;
    }

    .dbc-calendar .days li .event {
        font-size: 0.75rem;
        padding: 0.2rem 0.1rem 0.2rem 0.1rem;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 1px;
    }

        .dbc-calendar .days li .event.span-2 {
            width: 200%;
        }

        .dbc-calendar .days li .event.begin {
            border-radius: 1rem 0 0 1rem;
        }

        .dbc-calendar .days li .event.end {
            border-radius: 0 1rem 1rem 0;
        }

        .dbc-calendar .days li .event.clear {
            background: none;
        }

    .dbc-calendar .days li:nth-child(n+29) {
        border-bottom: none;
    }

    .dbc-calendar .days li.outside .date {
        color: #ddd;
    }


.dbc-activity-table-column {
    border: solid 1px;
    padding: 3px;
    margin-top: 3px;
    margin-bottom: 3px;
}

.dbc-activity-table-header-column {
    border-left: solid 1px;
    border-right: solid 1px;
    border-bottom: solid 2px;
    border-top: solid 1px;
    padding: 3px;
    font-size: 105%;
    font-weight: bold;
}

.dbc-activity-table {
    margin-top: 10px;
    margin-bottom: 10px;
    border: solid 1px;
    width: 100%;
    border-collapse: collapse;
}

.dbc-activity-rable-row-error { BACKGROUND-COLOR: lightpink }
.dbc-activity-table-row-blocked { BACKGROUND-COLOR: lightgoldenrodyellow }
.dbc-activity-table-row-security-failure { BACKGROUND-COLOR: lightsalmon }


/* align with bootstrap (grid-framework.scss) */
.dbc-blogpost-fields-allignment-compatibility { 
    padding-left: 15px;
    padding-right: 15px; 
}
        
/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.dbc-form-check {
    position: relative;
    display: block;
}

.dbc-form-group {
    margin-bottom: 1rem;
}

.dbc-col-form-label {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}

.dbc-archive-anchor {
    
}

.dbc-post-image-full {
    width: 100%;
    height: 100%;
}

tbody.dbc-admin-comment-table td {
    word-break: break-all;
}