
/* Lesson Plan Search Box */
.lp-search-box {
    margin-bottom: 1em;
    background-color: rgba(0,0,100,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 5px;
    padding: 1em;
}

.lp-search-box::after { /* Clearfix */
    content: " "; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.lp-search-box .label {
    font-weight: bold;
    font-size: 110%;
    margin-bottom: 0.25em;
}

.lp-search-box ul {
    margin-left: 0 !important;
}

.lp-search-box li {
    list-style-type: none;
}

.lp-search-subject,
.lp-search-grade {
    width: 150px;
    float: left;
}

.lp-search-box .sort-field {
    margin-bottom: 0.5em;
}

.lp-search-box .keyword-field input {
    width: 160px;
}

.lp-search-box .keyword-field {
    margin-bottom: 1.5em;
}

/* Lesson Plan Search Results */
.lp-result {
    padding: 1em 0 1em 0;
    border-bottom: 1px solid #DDD;
}

.lp-summary .name {
    color: #888;
    width: 8em;
    display: block;
    float: left;
}

.lp-summary .lp-meta {
    font-size: 95%;
}

/* Lesson Plan Search Results Pagination */
.lp-pagination {
    margin: 1em 0 1em 0;
}

.lp-pagination .displaying-num {
    color: #888;
}

.lp-pagination .page-numbers {
    margin-left: 0.25em;
    padding: 0.25em 0.3em 0.25em 0.3em;
    border: 1px solid #DDD;
}

/* Create a Lesson Plan Button */
#blog-page {
    position: relative;
}

.lp-create {
    position: relative;
	margin-bottom: 10px;
	width: 175px;
    right: 0;
    top: 0;
    background-color: #88AD26;
    padding: 0.5em 1em 0.5em 1em;
    border-radius: 5px;
    box-shadow: 0px 1px 2px rgba(0,0,0,0.2), inset 0px 1px 0px rgba(255,255,255,0.5), inset 0px -1px 2px rgba(0,0,0,0.2);
    text-shadow: 0px 1px 0px rgba(0,0,0,0.2);
}

.lp-create a,
.lp-create a:visited,
.lp-create a:hover {
    color: #FFF;
    text-decoration: none;
}

.lp-create:hover {
    background-color: #A8CD46;
}

.lp-create:active {
    background-color: #789D16;
}

/* Single, Full Lesson Plan */
.lesson-plan div.post-content {
    margin-left: 0;
}

.lesson-plan .lessonplan {  /* The lesson plan, but before comments */
    margin-bottom: 3em;
}

.lesson-plan .post-content {
    position: relative;
}

.lesson-plan h3 {
    font-size: 130%;
    margin: 1.5em 0 0.5em 0;
}

.lesson-plan .categories {
    border-bottom: 1px dashed #DDD;
}

.lesson-plan .categories::after { /* Clearfix */
    content: " "; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.lesson-plan .catfield {
    float: left;
    margin-right: 2em;
}

.lesson-plan .catfield ul {
    list-style-type: none;
    margin-left: 0 !important;
}

/* Create a Lesson Plan */
#lp-create-form .lp-form-label {
    font-size: 130%;
    margin-bottom: 0.5em;
}

#lp-create-form .lp-form-help {
    font-size: 95%;
}

#lp-create-form input[type=text] {
    width: 30em;
}

#lp-create-form select {
    width: 20em;
}

#lp-create-form .lp-form-row {
    padding: 1.5em 0 1.5em 0;
    border-bottom: 1px dashed #DDD;
}

.lp-updated {
    padding: 0.5em;
    background-color: lightYellow;
    border: 1px solid #E6DB55;
}

#lp-create-form .attachment input[type=checkbox] {
    margin-left: 1em;
}

#lp-create-form .attachment label {
    color: #888;
    font-size: 95%;
}

#lp-create-form .file-upload {
    margin-bottom: 1em;
}

#lp-create-form .file-upload input[type=file] {
    margin-right: 1em;
}

#lp-create-form input[type=submit] {
    width: 200px;
    margin-right: 1em;
}

/* Widget */
.lp-my-widget .edit {
    font-size: 90%;
    color: #888;
}

.lp-my-widget li {
    border-bottom: 1px dashed #DDD;
    padding: 0.5em 0 0.5em 0;
}

.lp-my-widget .show-more {
    font-size: 90%;
}

.lp-my-widget .show-more::before {
    content: "> ";
}

/* Buddypress profile links */
.lp-bp-profile {
    margin-top: 1em;
    clear: both;
}

#content .edit-link {
    margin-top: 1em;
}