// LMS layouts

.content-wrapper {
    max-width: $lms-max-width;
    padding-bottom: $baseline*2;

    .container {
        @include clearfix();
        border: 1px solid $lms-border-color;
        background-color: $lms-container-background-color;
    }

    .page-header {
        @include clearfix();
        border-bottom: 1px solid $lms-border-color;
        padding: $baseline;

        .page-title {
            @extend %t-title4;
            margin-bottom: ($baseline/4);
            text-transform: none;
            color: $black;
        }

        .page-description {
            @extend %t-copy-sub1;
            margin-bottom: ($baseline/4);
            color: $gray;
        }

        &.has-secondary {
            .page-header-main {
                display: inline-block;
            }

            .page-header-secondary {
                @include float(right);
                @include text-align(right);
                display: inline-block;
                vertical-align: text-bottom;

                .form-actions {
                    display: inline-block;
                }

                .form-actions > *:first-child {
                    @include margin-left(0);
                }
            }
        }
    }

    .page-content {
        padding: $baseline;
    }
}
