#calendar {
  font-family: verdana;
  background-color: #ffffcc;
  font-size: 12px;
  border: 1px solid #333;
  margin: 0 auto;
}
#calendar p,
#calendar div {
  font-size: 12px;
}
.cal-nav,
.cal-hdr {
  height: 35px;
  text-align: center;
  background-color: #48342979;
  color: #fff;
  padding: 15px;
}
.cal-nav a {
  color: #ede6c0;
}
.cal-hdr {
  font-weight: bold;
  font-size: 16px;
}
.cal-square {
  border: 1px solid #787878;
  text-align: center;
  width: 90px;
  height: 90px;
  background-color: #fff;
}
.cal-day {
  height: 25px;
  background-color: #ede6c0;
  font-weight: bold;
  font-size: 11px;
}
.cal-day-square {
  padding: 2px;
  font-size: 10px;
  width: 22px;
  height: auto;
  background-color: #fff;
  border: 1px solid #787878;
  text-align: center;
}
.cal-day-null {
  background-color: #ccc;
}
.cal-day-active:hover {
  background-color: #96c9ff;
}
.cal-today {
  background-color: #ecb7572e;
  /*#A9FF87;*/
}
.cal-event {
  margin-top: 5px;
}
.cal-event a {
  border: none;
  font-size: 10px;
  color: #333;
}
.cal-event a:hover {
  text-decoration: underline;
}
.event-date {
  font-size: 14px;
  color: black;
}
.top {
  vertical-align: top;
}

/*For jQuery UI Modal View*/
#dialog,
.window {
  display: none;
}
#event {
}

/* New Style */

.cal-design td {
  line-height: 25px;
}

.cal-day-square a,
.cal-day-square a:visited {
  color: #c6891c;
}
.cal-today a,
.cal-today a:visited {
  color: #fff;
}
.cal-day-square a:hover {
  background-color: #c6891c;
  color: #ede6c0;
}
.cal-day-square:hover {
  background-color: #c6891c !important;
}
.cal-links,
.cal-links:visited {
  font-size: 10px;
  color: #c98c20;
  margin-top: -10px;
  display: block;

}
/*.cal-event:hover{
	background-color:black;
	}
	.cal-event:hover a{
	color:white;
	}*/
/*.cal-day-active:hover .cal-links{
	color:#483429;
	font-weight:bold;
}*/
.cal-links:hover {
  color: #483429;
  font-weight: bold;
}
.cal-event a:hover {
  color: #c6891c;
}
.ui-dialog-content h2 {
  font-size: 16.133px;
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-weight: bold;
}
.ui-dialog-content h3 {
  font-size: 14.66px;
  font-style: italic;
  font-weight: normal;
  margin-top: 2em;
  margin-bottom: 0.5em;
}
.event-date pre {
  font-size: 13px;
  font-family: monospace;
  color: black; /*#787878;*/
  overflow: inherit;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
}
.ui-dialog-content li a {
  color: blue;
}
.ui-dialog-content .note {
  color: red;
  font-size: 14.667px;
}
.ui-dialog-content .note a {
  color: blue;
}

.isBold-1 a {
  font-weight: bold;
}

.showBlue a {
  color: blue;
}

.showBlack a {
  color: black;
  font-weight: bold;
}

.showRed a {
  color: red;
}

.mycalendar-des {
  width: 53%;
}
@media screen and (min-width: 1300px) {
  .ui-dialog.ui-widget.ui-widget-content {
    width: 50% !important;
    left: 25% !important;
  }
  .ui-widget-overlay {
    width: 100%;
  }
  .mycalendar-des {
    width: 49%;
  }
}
@media screen and (min-width: 1400px) {
  .mycalendar-des {
    width: 45%;
  }
}

@media screen and (max-width: 1025px) {
  .ui-widget-overlay {
    width: 100%;
  }
  .ui-dialog.ui-widget.ui-widget-content {
    width: 93% !important;
    top: 40px !important;
  }
  .mycalendar-des {
    width: 66%;
  }
}
@media screen and (max-width: 900px) {
  .calendar-des {
    margin: 0 60px;
  }
  .mycalendar-des {
    width: 84%;
  }
}

@media screen and (max-width: 800px) {
  #Calendar {
    max-width: 600px;
  }
  .ui-widget-overlay {
    width: 100% !important;
  }
  .ui-dialog.ui-widget.ui-widget-content {
    width: 90% !important;
    top: 43px !important;
  }
  .calendar-des {
    margin: 0 52px;
  }
  .mycalendar-des {
    width: 90%;
  }
}

@media screen and (max-width: 750px) {
  .mycalendar-des {
    width: 94%;
  }
}
@media screen and (max-width: 700px) {
}

@media screen and (max-width: 600px) {
  #Calendar {
    max-width: 500px;
  }
}
@media screen and (max-width: 500px) {
  #cal-section {
    width: 340px;
    overflow-x: auto;
    margin: 0 auto;
  }
  .ui-dialog.ui-widget.ui-widget-content {
    width: 95% !important;
    left: 10px !important;
  }
  .mycalendar-des {
    width: 90%;
  }
  .showBlue,
  .showBlack {
    width: 100px;
  }
}
@media screen and (max-width: 400px) {
  .calendar-des {
    margin: 0px;
  }
  .mycalendar-des {
    width: 97%;
  }
  .showBlue,
  .showBlack {
    width: 100px;
  }
}
@media screen and (max-width: 320px) {
  #cal-section {
    width: 300px;
  }
}
