/*
 * Copyright 2010 Sean Proctor
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

html {
  background-color: white;
  color: black;
}

body {
  font-family: Tahoma, Arial, sans-serif;
  font-size: .95em;
  margin: 0 2em;
  padding: 0;
}

.php-calendar a {
  color: black;
}

.php-calendar a:hover {
  color: gray;
}

.php-calendar h1 {
  text-align: center;
  font-size: 20px;
  color: gray;
  margin-top: 0px;
  margin-bottom: 0px;
}

.php-calendar h2 {
  text-align: center;
  font-size: 24px;
  color: black;
  margin-top: 0px;
  margin-bottom: 0px;
}

.php-calendar input[type="submit"] {
  background-color: silver;
  color: black;
  border: 1px solid black;
}

.php-calendar input[type="submit"]:hover {
  background-color: black;
  color: silver;
}

.phpc-navbar a {
  text-decoration: underline;
  margin: 0 .5em;
  margin-top: 0px;
  margin-bottom: 0px;
}

.phpc-navbar a:hover {
  color: gray;
}

.phpc-navbar {
  margin: .5em 0;
  text-align: center;
  border: 1px solid black;
  background-color: #EEE;
  padding: 4px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.phpc-month-nav a {
  text-decoration: underline;
  margin: 0 .2em;
  margin-top: 0px;
  margin-bottom: 0px;
}

.phpc-month-nav {
  margin: .5em 0;
  text-align: center;
  padding: 2px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.phpc-month-nav .php-present {
  background: silver;
}

.php-calendar table {
  border-collapse: collapse;
  color: black;
  margin-left: auto;
  margin-right: auto;
}

.php-calendar td, .php-calendar th {
  border: 1px solid #666;
}

.phpc-container {
  min-width: 50%;
}

table.phpc-main {
  width: 100%;
}

div.phpc-main {
  padding: 0;
}

.phpc-main h2 {
  text-align: left;
  margin: 0;
  background-color: white;
  padding: 2px .5em; 
}

.phpc-main div {
  padding-left: .5em;
  padding-right: .5em;
}

.phpc-event {
  border: 2px solid black;
  color: black;
  background-color: #CCC;
  margin: 0;
  padding: .5em;
}

.phpc-event-header {
  border: 1px solid black;
  background-color: #AAA;
  padding: .5em;
}

.phpc-desc {
  padding: .5em;
  margin: 0;
  text-align: justify;
}

.php-calendar caption {
  font-size: 130%;
  color: black;
  background-color: white;
  padding: 2px;
  font-weight: bolder;
  margin: 1px;
}

.php-calendar thead {
  color: black;
}

.php-calendar tfoot {
  text-align: center;
}

.phpc-calendar {
  table-layout: fixed;
}

.phpc-calendar td, .phpc-calendar th {
  border-collapse: collapse;
}

.phpc-calendar td {
  text-align: left;
  height: 80px;
}

td.phpc-past {
  background-color: #EEE;
  padding: 0;
}

td.phpc-future {
  background-color: white;
  padding: 0;
}

td.phpc-present {
  background-color: #FFF788;
  padding: 0;
}

td.phpc-none {
  background-color: #EEE;
  padding: 0;
}

.phpc-main ul {
  margin: 2px;
  padding: 0;
  list-style-type: none;
  border-color: black;
  border-style: solid;
  border-width: 1px 1px 0 1px;
}

.phpc-main li a {
  display: block;
  font-size: 80%;
  font-weight: normal;
  border-color: black;
  border-style: solid;
  border-width: 0 0 1px 0;
  margin: 0;
  background-color: white;
  text-decoration: none;
  padding: 2px;
}

.phpc-main li a:hover {
  background-color: #DDD;
  color: black;
}

.phpc-footer {
  text-align: center;
}

.phpc-button {
  text-align: center;
}

.phpc-add {
  float: right;
  text-align: right;
}

#phpc-summary-view {
  display: none;
  position: absolute;
  background-color: white;
  border: solid 2px black; 
  width: 300px;
  max-height: 250px;
  overflow: hidden;
  padding: 5px;
  z-index:1;
}

.phpc-summary-head {
  border-bottom: solid 1px black;
}

.form table {
  width: 100%;
}

.phpc-none .phpc-date {
  background-color: #999;
}

.phpc-past .phpc-date {
  background-color: #C0C0C0;
}

.phpc-present .phpc-date {
  background-color: #EED055;
}

.phpc-future .phpc-date  {
  background-color: #D0D0D0;
}

td.form-color {
  padding: 2px;
  width: 20px;
  height: 20px;
  border-style: none;
}

td.form-color-selected {
  border: 2px dotted #000000;
  padding: 0;
}

.phpc-message {
  position: fixed;
  background-color: #EED055;
  top: 0;
  left: 0;
  right: 0;
  height: 1.25em;
  padding: 0.5em 1em;
  border-style: solid;
  border-color: #666;
  border-width: 0 0 1px 0;
}

/* \*/ /*/
  .phpc-calendar { table-layout: auto; }
/* */