/* 
    Document   : planner
    Created on : Feb 11, 2014, 7:58:44 PM
    Author     : Guus
    Description:
        Purpose of the stylesheet follows.
*/

root { 
    display: block;
}

html {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

textarea {
    font-family: Arial, Helvetica, sans-serif;
}

.clear-flat
{
    height: 0px;
    clear: both;
}

.rounded-box
{
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 0 20px #ccc;
}

.messageContainer .message-box
{
    position: absolute;
    left:0; 
    right:0;
    top: 50px;
    margin: 0 auto;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.button-text
{
    font-size: 14px !important;
}

.text-centre {
    text-align: center;
}

.ui-tooltip {
    font-size: 0.8em !important;
}


/*------------------------- login form ------------------------------*/

.login-title
{
    width: 374px;
    margin: auto auto 20px auto;
}

.login-container
{
    width: 350px;
    margin: auto auto 20px auto;
    padding: 12px 12px 0 12px;
}

.login-container table
{
    width: 100%;
}

.login-container table input[type="text"], .login-container table input[type="password"]
{
    width: 100%;
}

.login-container input[type="submit"]
{
    display: block;
    width: 80px;
    margin: 20px auto auto auto;
}

.login-container table .label-cell p
{
    text-align: right;
    margin-right: 20px;
}


/*------------------------- user panel ------------------------------*/

.user-panel
{
    float: right;
    padding-top: 20px;
}

.user-panel a
{
    margin-left: 10px;
    font-size: 0.8em;
}

/*-------------------------- calendar -------------------------------*/

.month-header {
    display: inline-block;
    float: left;
}

.container
{
    position: relative;
    margin: auto;
}

.calendar-container {
    width: 1010px;
    height: 660px;
}

.nav-button
{
    width: 45px;
    height: 30px;
}

.calendar
{
    width: 100%;
    height: 100%;
    background: #ddd;
}

.calendar tr td {
    width: 14%;
    vertical-align: top;
    padding: 5px; 
}

.calendar tr td div
{
    height: 105px;
}

.calendar tr .regular-cell{
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 3px 0 #aaa;
}

.calendar tr .regular-cell:hover{
    border-color: #bb3d3d;
    background-color:#fff7d3;
}

.calendar tr .selected{
    background-color:#ffea82 !important;
}

.calendar tr .weekend-cell{
    border-color:#00a400;
    background-color:#bfdbbf;
}

.today-cell
{
    background-color: #eac1f9 !important;
}

.calendar .header-row td {
    height: 40px;
    background-color: #ddd;
}

.day-cell-container
{
    overflow: hidden;
}

.day-cell-container h4
{
    margin-top: 0px;
    margin-bottom: 0px;
}

.calendar-small
{
    font-size: 12px;
}

.details-overlay
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.details-dialog
{
    width: 250px;
    height: 330px;
    position: relative;
    background-color: #fff7d3;
    box-shadow: 0 5px 25px 0 #777;
    border-radius: 8px;
    padding: 8px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.details-content
{
    width: 240px;
    height: 270px;
    overflow-y: auto;
}

.button-panel
{
    margin-top: 8px;
}

.details-list
{
    padding-left: 0px;
    margin-right: 4px;
    list-style: none;
    font-size: 12px;
    border-bottom: solid 1px #aaa;
}

.details-list li
{
    margin-bottom: 10px;
}

.edit-button, .delete-button, .cancel-button
{
    margin-left: 10px;
    width: 30px;
    height: 25px;
}

.delete-button
{
    margin-left: 3px;
    width: 30px;
    height: 25px;
}

.cancelled {
    color: #aaa !important;
    text-decoration: line-through;
}


/*--------------------------------- Add/Edit activity ----------------------------------*/

.activityform-container
{
    position: relative;
    width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.activityform-container h4
{
    margin-top: 0;
}

.activityform, .day-activity-display
{
    width: 335px;
    padding: 20px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.activityform
{
    float: left;
}

.activityform-list
{
    padding-left: 0px;
    margin-bottom: 0px;
    list-style: none;
}

.activityform-list li
{
    margin-bottom: 8px;
}

.activityform-list li textarea
{
    width: 100%;
}

.activity-type-fields input {
    margin-left:0;
}

.time-field
{
    display: inline-block;
    width: 145px;
}

.time-field-left
{
    float: left;
}

.time-field-right
{
    float: right;
}

.time-field .ui-spinner
{
    width: 95px;
}

.description-field
{
    clear: both;
}

.notifications-display
{
    background-color:#ffea82;
}

.day-activity-display
{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    float: right;
    padding-left: 20px;
    margin-bottom: 25px;
}