@import "general.css";

html {
    /*width: 320px;
    height: 480px;
    overflow: auto;
    border: 1px outset gray;*/
}

body {
    font: normal normal normal 12px Arial;
    color: #000;
    background: #fff;
    min-height: 100%;
}

.empty {
    background: #fff;
}

.idle {
    background: #ff9999;
}

.full {
    background: #99ff99;
}

.future {
    background: #eee !important;
}

fieldset {
    border: none;
}

a {
    color: #4b89c3;
}

a:visited {
    color: #4b89c3;
    border-bottom-color: #4b89c3;
}

a.script {
    border-bottom-style: dashed;
}

a.script:visited {
    color: #4b89c3;
    border-bottom-color: #4b89c3;
}

a img {
    border: none !important;
}

#wrapper {
    /*height: 100%;*/
    min-height: 100%;
    position: relative;
}

    #header {
        height: 40px;
        position: relative;
        font-size: 13px;
        font-family: Trebuchet MS, Arial;
        border-bottom: 2px solid #e7e5e5;
    }
    
        #logo {
            position: absolute;
            left: 10px;
            top: 5px;
        }
        
            #logo a {
                border: none;
            }
        
            #logo img {
                /*height: 20px;*/
            }
        
        #exit {
            font-size: 11px;
            font-weight: normal;
            position: absolute;
            right: 10px;
            top: 11px;
        }
        
        #user {
            position: absolute;
            left: 11px;
            top: 33px;
            font-size: 11px;
        }

    #content {
        padding-bottom: 40px;
    }

    #footer {
        margin: 13px 0px 0px;
        padding: 0px 10px;
        border-top: 2px solid #e7e5e5;
        position: relative;
        bottom: 0px;
        margin-top: -30px;
    
        font-size: 12px;
        font-family: "Trebuchet MS", Arial;
        color: #5a5c58;
        
        /* for ie6 */
        } * html #footer {
        left: 0px;
        
        /* for ie7 */
        } *:first-child+html #footer {
        left: 0px;
    }
    
        #footer a {
            color: #5a5c58;
            border-color: #5a5c58;
        }
                
/* menu */
#menu {
    position: absolute;
    top: 10px;
    left: 124px;
}

    #menu li {
        display: inline;
        margin-right: 24px;
    }
    
        #menu li img {
            vertical-align: middle;
        }
        
/* calendar */
#calendar {
    margin: 10px;
}
    
    #calendar td {
        border: 1px solid #eee;
        margin: 1px;
        position: relative;
        width: 40px;
        height: 40px;
    }

    #calendar td.today {
        border-color: red;
    }
    
        #calendar a {
            display: block;
            position: relative;
            width: 100%;
            height: 100%;
            border: none;
        }
        
            #calendar a span {
                display: inline-block;
                padding: 0px 2px;
                text-decoration: none;
                font-size: 12px;
                font-weight: bold;
                margin: 2px;
            }

        #calendar a.empty {
            outline: #eee;
        }

        #calendar .future a {
            /*cursor: default;*/
        }
        
        #calendar a:hover,
        #calendar .active a {
            outline: 1px solid #0c74cd;
        }
        
        #calendar caption {
            font-size: 16px;
            font-weight: normal;
            margin-bottom: 5px;
        }
        
        #calendar td.none {
            border: none;
        }
        
        #calendar td.tasks a {
            background-image: url("../../img/site/pin.png");
            background-repeat: no-repeat;
            background-position: right top;
        }
        
        #calendar td.events a {
            background-image: url("../../img/site/clock_small.png");
            background-repeat: no-repeat;
            background-position: right top;
        }
        
/* monthly calendar */
#monthly-calendar {
    margin: 10px;
}
    
    #monthly-calendar td {
        border: 1px solid #eee;
        margin: 1px;
        position: relative;
        width: 40px;
        height: 40px;
    }

    #monthly-calendar td.today {
        border-color: red;
    }
    
        #monthly-calendar a {
            display: block;
            position: relative;
            width: 100%;
            height: 100%;
            border: none;
            background: #eee;
        }
        
            #monthly-calendar a span {
                display: inline-block;
                padding: 0px 2px;
                text-decoration: none;
                font-size: 12px;
                font-weight: bold;
                margin: 2px;
            }
        
        #monthly-calendar a:hover,
        #monthly-calendar .active a {
            outline: 1px solid #0c74cd;
        }
        
        #monthly-calendar caption {
            font-size: 16px;
            font-weight: normal;
            margin-bottom: 5px;
        }
        
        #monthly-calendar td.none {
            border: none;
        }
        
        #monthly-calendar td.tasks a {
            background-image: url("../../img/site/pin.png");
            background-repeat: no-repeat;
            background-position: right top;
        }
        
        #monthly-calendar td.events a {
            background-image: url("../../img/site/clock_small.png");
            background-repeat: no-repeat;
            background-position: right top;
        }
        
ul.fields {
    list-style: none;
}

    ul.fields li {
        margin-bottom: 10px;
    }
   
#calendar-form {
    padding: 10px 10px 0px;
}
   
    #calendar-form h2 {
        font-size: 12px;
        font-weight: normal;
        margin-bottom: 5px;
    }

        #calendar-form .status-list li {
            list-style: none;
        }
            
            #calendar-form .status-list li {
                margin-bottom: 2px;
                overflow: hidden;
            }
            
                #calendar-form .status-list input {
                    margin: 2px;
                    vertical-align: middle;
                    float: left;
                }
            
                #calendar-form .status-list label {
                    padding: 2px 3px;
                    vertical-align: middle;
                    float: left;
                }
        
            #calendar-form textarea {
                font-size: 11px;
                width: 95%;
                height: 65px;
            }
        
            #calendar-form .submit {
                margin: 0px;
            }
            
                #calendar-form .submit button {
                    font-size: 11px;
                }
            
#login-form {
    padding: 10px 10px 0px;
}

    #login-form label {
        vertical-align: middle;
    }
    
    #login-form input {
        vertical-align: middle;
    }
    
    #email,
    #password {
        width: 95%;
    }
    
    #error {
        color: red;
        margin-bottom: 10px;
    }

#agenda {
    padding: 10px 10px 0px;    
}

h2 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 5px;
}

#agenda .events {
    margin-top: 15px;
    list-style: none;
}

    #agenda .event {
        margin-bottom: 15px;
    }
    
    #agenda .event big {
        font-size: 13px;
        font-weight: bold;
    }
    
    #agenda .event h3 {
        font-size: 16px;
        font-weight: normal;
        margin-left: 3px;
        display: inline-block;
        width: 175px;
        vertical-align: top;
    }
    
    #agenda .event small {
        font-size: 11px;
        display: block;
        margin-left: 40px;
    }

    #agenda .tasks {
        margin-left: 35px;
        margin-top: 5px;
    }

    #agenda .comment {
        margin-left: 40px;
        margin-top: 10px;
    }
    
    #agenda .tasks li {
        margin-bottom: 0px;
    }
    
    #agenda .tasks label {
        vertical-align: middle;
    }
            
    #agenda .tasks input {
        vertical-align: top;
    }
    
    #agenda .tasks li.checked textarea {
        text-decoration: line-through;
        color: #ccc;
    }
    
    #agenda textarea {
        padding: 3px;
        width: 200px;
        border: none;
        vertical-align: top;
        height: 18px;
        min-height: 18px;
        font: normal normal normal 12px Arial;
        color: #000;
        resize: none;
        word-wrap: break-word;
        overflow: hidden;
    }
    
    #agenda textarea:focus {
        background: infobackground;
        outline: 2px solid #f1ca80;
    }
    
    #agenda .tasks button {
        vertical-align: top;
    }
    
#event-form {
    padding: 10px;
}

    #event-form label {
        display: block;
    }
    
    #event-form label.inline {
        display: inline-block;
        width: 70px;
        margin-right: 5px;
        text-align: right;
    }

    #event-form input.long {
        width: 95%;
    }

    #event-form input.date {
        width: 70px;
    }
    
    #event-form input.time {
        width: 35px;
    }
    
    #event-form .calendar-input {
        font: normal normal normal 13px Arial;
        border: 2px inset;
        padding: 1px;
    }

    #event-form textarea {
        width: 95%;
        height: 150px;
    }
    
#event-viewer {
    padding: 10px;
}

    #event-viewer .date {
        margin-bottom: 5px;
    }
    
ul.fields p.error {
    color: red;
}
    
button.action {
    background: none;
    border: none;
    padding: 0px;
    font: normal normal normal 11px Arial;
    color: #4b89c3;
}

.date-picker {
    font-size: 14px !important;
}

.date-picker td {
    padding: 5px !important;
}

.time-picker {
    font-size: 14px !important;
    overflow: none !important;
    width: 200px !important;
    height: auto !important;
}

.time-picker li {
    display: inline-block !important;
    width: 40px !important;
    padding: 2.5px !important;
    margin: 2.5px !important;
}

fieldset.time {
    display: inline;
}

    fieldset.time input {
        width: 16px;
    }