/* 
    Document   : com_minicalendar
    Created on : 2012.05.31., 13:35:25
    Author     : semmer@infoart.hu
*/

div.portlet-content.box.part-minicalendar {
  width: 310px;
  margin: 0 5px 20px;
}

div.portlet-content.box.part-minicalendar > div.component-body {
  height: 251px;
  position: relative;
  background: #f3f3f3;
}

div.portlet-content.box.part-minicalendar > h2.component-heading {
  background: #f3f3f3;
}

div.portlet-content.box.part-minicalendar > div.component-body table.minicalendar {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
}

div.portlet-content.box.part-minicalendar > div.component-body table.minicalendar > thead > tr  {
  background: #333 url('../gfx/cal_red.png') bottom no-repeat;
}

div.portlet-content.box.part-minicalendar > div.component-body table.minicalendar > thead > tr {
  position: absolute;
  bottom: 0;
  width: 100%;
}

div.portlet-content.box.part-minicalendar.blue > div.component-body table.minicalendar > thead > tr  {
  background: #333 url('../gfx/cal_blue.png') bottom no-repeat;
}

div.portlet-content.box.part-minicalendar.green > div.component-body table.minicalendar > thead > tr  {
  background: #333 url('../gfx/cal_green.png') bottom no-repeat;
}

div.portlet-content.box.part-minicalendar.red > div.component-body table.minicalendar > thead > tr  {
  background: #333 url('../gfx/cal_red.png') bottom no-repeat;
}

div.portlet-content.box.part-minicalendar.orange > div.component-body table.minicalendar > thead > tr  {
  background: #333 url('../gfx/cal_orange.png') bottom no-repeat;
}

div.portlet-content.box.part-minicalendar > div.component-body table.minicalendar > thead > tr th {
  height: 40px;
  line-height: 34px;
  vertical-align: top;
  padding: 0;
  width: 14.2857%;
  text-align: center;
}

div.portlet-content.box.part-minicalendar > div.component-body table.minicalendar > thead > tr th:nth-of-type(1) a {
  width: 21px;
  height: 34px;
  background: transparent url('../gfx/cal_prev.png') 0 50% no-repeat;
  display: inline-block;
  text-indent: -9999px;
  float: left;
  margin: 0 0 0 10px;
}

div.portlet-content.box.part-minicalendar > div.component-body table.minicalendar > thead > tr th:nth-last-of-type(1) a {
  width: 21px;
  height: 34px;
  background: transparent url('../gfx/cal_next.png') 0 50% no-repeat;
  display: inline-block;
  text-indent: -9999px;
  float: right;
  margin: 0 10px 0 0;
}

div.portlet-content.box.part-minicalendar > div.component-body table.minicalendar > tbody > tr td {
  height: 30px;
  width: 14.2857%;
  padding: 0;
  text-align: center;
  color: #666;
}

div.portlet-content.box.part-minicalendar > div.component-body table.minicalendar > tbody > tr td:nth-last-of-type(1) {
  color: #000;
  background: #ececec;
}

div.portlet-content.box.part-minicalendar > div.component-body table.minicalendar > tbody > tr td:nth-last-of-type(2) {
  color: #333;
}

div.portlet-content.box.part-minicalendar > div.component-body table.minicalendar > tbody > tr.days td {
  font-weight: 700;
  border-bottom: 1px solid #ccc;
}

div.portlet-content.box.part-minicalendar > div.component-body table.minicalendar > tbody > tr td.curday {
  color: #000;
  border: 1px solid #999;
}

div.portlet-content.box.part-minicalendar > div.component-body table.minicalendar > tbody > tr td a {
  color: #990000;
  font-weight: 700;
}

div.portlet-content.box.part-minicalendar.blue > div.component-body table.minicalendar > tbody > tr td a {
  color: #0099cc;
}

div.portlet-content.box.part-minicalendar.green > div.component-body table.minicalendar > tbody > tr td a {
  color: #669933;
}

div.portlet-content.box.part-minicalendar.red > div.component-body table.minicalendar > tbody > tr td a {
  color: #990000;
}

div.portlet-content.box.part-minicalendar.orange > div.component-body table.minicalendar > tbody > tr td a {
  color: #ff6600;
}

table.minicalendar > tbody > tr > td.eventdisp div.tooltip {
  background: #000;
  position: absolute !important;
  display: none;
  margin: 10px 0 0 10px;
  z-index: 9999;
}

table.minicalendar > tbody > tr > td.eventdisp div.tooltip > span {
  display: block;
  white-space: nowrap;
  color: #fff;
  font-size: 11px;
  padding: 5px 10px;
}

@media only screen and (min-width: 480px) and (max-width: 664px) {
  div.portlet-content.box.part-minicalendar {
    width: 100%;
    margin: 0 0 20px;
  }
}

@media only screen and (min-width : 320px) and (max-width : 479px) {
  div.portlet-content.box.part-minicalendar {
    width: 100%;
    margin: 0 0 20px;
  }
}