/* 
    Document   : style
    Created on : 2013-4-28, 2:06:37
    Author     : Ludiq
    Description:
        Purpose of the stylesheet follows.
*/
#calendar {
    width: 868px;
    margin: 0 auto;
}
#calendar .rows {
    width: 868px;
    overflow: hidden;
}
#calendar .rows .block {
    float: left;
    width: 120px;
    height: 120px;
    border: #1668ad solid 1px;
    margin: 1px;
    background: #a3cff4;
    position: relative;
}
.none {
    border: #919699 solid 1px !important;
    background: #cfd2d3 !important;
}
#calendar .rows .block .number {
    position: absolute;
    z-index: 100;
    background: #deeaec;
    border-radius: 5px;
    padding: 5px;
    font-family: Arial;
    color: #1061a6;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    top: 5px;
    right: 5px;

}
#calendar .rows .block .number.today {
    background: #d46b1d;
    color: white;
}
#calendar .rows .block.today {
    border: #d46b1d solid 1px;
    background: #f6bc92;
    
}
#calendar .rows .block .taskscount {
    position: absolute;
    z-index: 200;
    text-align: center;
    top: 45px;
    left: 20px;
}
#calendar .rows .block .taskscount a {
    font-family: Arial;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    padding: 10px;
    display: block;
    background: #deeaec;
    color: #1061a6;
}
#calendar .rows .block .taskscount a:hover {
    background: #1061a6;
    color: #deeaec;
}
#calendar .rows .weekday {
    border: #094278 1px solid;
    background: #2473bc;
    width: 120px;
    padding: 5px 0 5px 0;
    text-align: center;
    float: left;
    margin: 1px;
    color: #fff;
    font-family: Arial;
    font-size: 14px;
    font-weight: bold;
}
.pagingmonths {
    margin: 0 auto;
    margin-bottom: 20px;
    width: 250px;
}
.pagingmonths a {
    background: #a3cff4;
    border-radius: 5px;
    padding: 5px 15px 5px 15px;
    color: #1061a6;
    text-decoration: none;
    font-family: Arial;
    font-size: 15px;
    margin: 0 10px 0 10px;
    font-weight: bold;
}
.pagingmonths .curmy {
    color: #75390d;
    background: #f6bc92;
    text-align: center;
    font-family: Arial;
    font-size: 13px;
    padding: 5px;
    border-radius: 5px;
    font-weight: bold;
}

/*Modal*/
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1000;
}
.taskscontent {
    position: fixed;
    width: 600px;
    padding: 10px;
    left: 35%;
    top: 25%;
    border-radius: 5px;
    background: #1061a6;
    box-shadow: 0 0 10px rgba(0,0,0,1);
    display: none;
    z-index: 1100;
}
.taskscontent .maincontent {
    overflow: hidden;
    width: 590px;
    margin-top: 15px;
}
.taskscontent .maincontent table {
    width: 590px;
}
.taskscontent .maincontent tr {
    background: #a3cff4;
    font-family: Arial;
    font-size: 13px;
}
.taskscontent .maincontent td {
    margin: 1px;
    padding: 5px;
    text-align: center;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
.taskscontent .maincontent tr.done {
    background: green;
    color: white;
}

/*Header*/

#header {
    width: 1000px;
    margin: 0 auto;
    height: 50px;
    border-bottom: darkgray solid 2px;
    margin-bottom: 20px;
    text-align: center;
    padding-top: 20px;
}
#header a {
    text-decoration: none;
    margin: 0 10px;
    padding: 10px;
    /*color: white;*/
    color: #2473bc;
    font-family: Arial;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    background: #deeaec;
}
#header a:hover, #header a.active {
    background: #2473bc;
    color: #deeaec;
}

/*New task*/
.newtask {
    width: 500px;
    margin: 0 auto;
}
.newtask h1 {
    text-align: center;
    font-family: Arial;
    font-size: 20px;
    font-weight: bold;
    color: #1061a6;
}
.newtask .formrow {
    overflow: hidden;
    width: 500px;
    margin-bottom: 3px;
}
.newtask .formrow .text, .newtask .formrow .field {
    background: lightblue;
    float: left;
    height: 26px;
    width: 355px;
}
.newtask .formrow .text {
    text-align: right;
    width: 100px;
    padding: 16px 10px 4px 10px;
    font-family: Arial;
    font-weight: bold;
    font-size: 12px;
}
.newtask .formrow .field {
    margin-left: 5px;
    padding: 10px 10px 10px 10px;
}

.err {
    background: red;
    color: white;
    padding: 10px;
    font-family: Arial;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 10px 0;
}

.succ {
    background: green;
    color: white;
    padding: 10px;
    font-family: Arial;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 10px 0;
}

/*Footer*/
#footer {
    width: 1000px;
    margin: 0 auto;
    border-top: darkgray 2px solid;
    text-align: center;
    margin-top: 20px;
    font-family: Arial;
    font-size: 13px;
    padding-top: 10px;
    color: darkgray;
}
#footer a {
    color: #1061a6;
    text-decoration: none;
}
#footer a:hover {
    text-decoration: underline;
}