/* Writing Deadline Prompts Calendar Styles */

#wp-calendar #today.with_prompts {
    background: #662824;
    }
#wp-calendar tbody .with_prompts {
    background: #893530;
    /*display: block;
    width: 100%;
    height: 100%;
    vertical-align: middle;*/
    color: white;
    font-weight: bold;
    /*text-decoration: none;*/
}
#wp-calendar tbody .with_prompts > span {
    /*background: #fff;*/
    position: relative;
    display: block;
    width: 100%;
    height: 20px;
}

.deadline_prompt {
    display: none;
    position: absolute;
    top: 100%;
    z-index: 999;
    left: -2px;
    background: #ddd;

    color: #333;
    font-weight: normal;
    border: 1px solid #bbb;
    /*height: 94%;
    width: 94%;
    padding: 3%;*/
    padding: 5px 8px;
    text-align: left;
    width: 300px;
    height: auto;
    max-height: 300px;
    margin-top: 10px;
}
.deadline_prompt_wrap {
    overflow: hidden;
    max-height: 290px;
    overflow-y: scroll;
}
#sidebar .deadline_prompt {
    left: -75px;
    width: 150px;
}
#sidebar .deadline_prompt_wrap {
    max-height: 290px;
}

#wp-calendar tbody .with_prompts:hover .deadline_prompt {
    display: block;
    cursor: pointer;
}

#wp-calendar tbody .with_prompts:hover .deadline_prompt {
    display: block;
    cursor: default;
}

#content .deadline_prompt h2.first {
    margin-top: 0;
}
#content .deadline_prompt h2 {
    margin-top: 10px;
}
#content .post .deadline_prompt p, #content .page .deadline_prompt p {
    overflow: hidden;
}

.deadline_prompt:before, .deadline_prompt:after {
  content: "";
  position: absolute;
  z-index: 1000;
  top: -7px;
  left: 5px;

  border-top: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ddd;
}
.deadline_prompt:before {
  border-bottom-color: #bbb;
  top: -9px;
}

#sidebar .deadline_prompt:before, #sidebar .deadline_prompt:after {
  left: 50%;
  top: -4px;
}

