/*******************************Calendar Top Navigation*********************************/
#ok-result-msg{
  display: none;
  color: green;
  font-size: 15px;
  width: 602px;
  height: auto;
  margin-bottom: 10px;
}

#error-result-msg{
  display: none;
  color: red;
  font-size: 15px;
  width: 602px;
  height: auto;
  margin-bottom: 10px;
}


div#calendar{
  padding:0px;
  width: 602px;
  font-family:Helvetica, "Times New Roman", Times, serif;
}

div#calendar div.box{
    position:relative;
    top:0px;
    left:0px;
    width:100%;
    height:40px;
    background-color:   #787878 ;
}

div#calendar div.header{
    line-height:40px;
    vertical-align:middle;
    position:absolute;
    left:11px;
    top:0px;
    width:582px;
    height:40px;
    text-align:center;
}

div#calendar div.header a.prev,div#calendar div.header a.next{
    position:absolute;
    top:0px;
    height: 17px;
    display:block;
    cursor:pointer;
    text-decoration:none;
    color:#FFF;
}

div#calendar div.header button.return{
	position:absolute;
	top:7px;
	height:17px;
	cursor:pointer;
	text-decoration:none;
	color:#FFF;
	background-color: transparent;
	display:none;
	font-weight: normal;
	padding:0;
}

div#calendar div.header button.add{
	position:absolute;
	top:7px;
	height:17px;
  width: 17px;
	cursor:pointer;
	text-decoration:none;
	color:#FFF;
	background-color: transparent;
	display:none;
	font-weight: normal;
	padding:0;
	right: 0px;
}

div#calendar div.header button.add[disabled]{
   cursor: not-allowed;
   opacity: 0.5;
 }

div#calendar ul.dates li.activity div.remove[disabled]{
  opacity: 0.5;
}

div#calendar ul.dates li.activity div.edit[disabled]{
  opacity: 0.5;
}

div#calendar div.header button.add[enabled]{
  cursor: pointer;
  opacity: 1;
}

div#calendar ul.dates li.activity div.remove[enabled]{
  cursor: pointer;
}

div#calendar ul.dates li.activity div.edit[enabled]{
  cursor: pointer;
}

div#calendar div.header span.title{
    color:#FFF;
    font-size:18px;
}


div#calendar div.header a.prev{
    left:0px;
}

div#calendar div.header a.next{
    right:0px;
}




/*******************************Calendar Content Cells*********************************/
div#calendar div.box-content{
    border:1px solid #787878 ;
    border-top:none;
	position: relative;
}



div#calendar ul.label{
    float:left;
    margin: 0px;
    padding: 0px;
    margin-top:5px;
    margin-left: 5px;
}

div#calendar ul.label li{
    margin:0px;
    padding:0px;
    margin-right:5px;
    float:left;
    list-style-type:none;
    width:80px;
    height:40px;
    line-height:40px;
    vertical-align:middle;
    text-align:center;
    color:#000;
    font-size: 15px;
    background-color: transparent;
}


div#calendar ul.dates{
    float:left;
    margin: 0px;
    padding: 0px;
    margin-left: 5px;
    margin-bottom: 5px;
}

/** overall width = width+padding-right**/
div#calendar ul.dates li{
    margin:0px;
    padding:0px;
    margin-right:5px;
    margin-top: 5px;
    line-height:80px;
    float:left;
    list-style-type:none;
    width:80px;
    height:80px;
    font-size:25px;
    background-color: transparent;
    color:#000;
    text-align:center;
	position: relative;
}

.daytext{
	position: relative;
	color: #bfbfbf;
	margin: 0;
	padding: 0;
	text-align:center;
	width: 100%;
	height: 20px;
	top: -20px;
}

.btn-day{
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0;
}

.btn-day-no-hover{
	//pointer-events:none !important;
	position: relative;
	width: 100%;
	height: 100%;
	background: #fff;
	padding: 0;
}

.btn-day:hover {
	background-color: #737373;
	cursor: pointer;
}

.btn-div{
	position: relative;
	width: 100%;
	height: 100%;
}

.activities{
	position: absolute;
	width: 100%;
	padding: 0;
	padding-top: 35px;
	top:0;
	overflow: hidden;
	height: 100%;
  margin-left: 0;
}

div#calendar ul.dates li.activity{
	position: relative;
	width: 100%;
	height: 20px;
	text-overflow: ellipsis;
	overflow: hidden;
	font-size: 10px;
	margin: 0;
	line-height: 16px;
	text-align: left;
	padding-left: 5px;
    padding-top: 2px;
	background-color:hsla(120,60%,70%,0.3);
	white-space:nowrap;
	color: #737373
}

div#calendar ul.dates li.activity div.remove{
	position: relative;
	float: right;
	margin-right: 5px;
	color: red;
	z-index: 999;
	display: none;
    font-size: 15px;
}

div#calendar ul.dates li.activity div.edit {
  position: relative;
  float: right;
  background-image: url("images/edit.png");
  width:16px;
  height: 16px;
  background-size: cover;
  z-index: 999;
  display: none;
  margin-right: 5px;
}

div#calendar ul.dates li.activity div.remove:hover{
   cursor: pointer;
 }

div#calendar ul.dates li.activity div.edit:hover{
  cursor: pointer;
}

div#calendar ul.dates li.activity div.remove[disabled]:hover{
  cursor: not-allowed;
}
div#calendar ul.dates li.activity div.edit[disabled]:hover{
  cursor: not-allowed;
}

div#calendar ul.dates li.activity div.attendance-button{
  background-image: url(images/person.png);
  background-size: cover;
  position: relative;
  width: 16px;
  height: 16px;
  float: left;
  margin-right: 5px;
  z-index: 999;
  display: none;
}

div#calendar ul.dates li.activity div.attendance-div{
  display: none;
  height: 90%;
  width: 100%;
  overflow-y: auto;
  margin-top: 20px;
  position: relative;
}


div#calendar ul.dates li.activity div.attendance-div ul{
  width:33%;
  float: left;
  height: auto;
  padding: 0;
  position: relative;
}

div#calendar ul.dates li.activity div.attendance-div ul li{
  font-size: 15px;
  width: 100%;
  height: 30px;
  text-align: left;
  padding-left: 10px;
  padding-top: 7px;
  line-height: unset;
  color: #737373;
  margin: 0;
}

div#calendar ul.dates li.activity div.attendance-div ul li:hover{
  background: #dfdfdf;
}

div#calendar ul.dates li.activity div.attendance-div ul.attend-list li.title{
  background-image: url("images/person_attend.png");
  background-size: 40px;
  background-repeat: no-repeat;
  background-position-x: center;
  height: 40px;
}

div#calendar ul.dates li.activity div.attendance-div ul.notattend-list{
  background-color: #fff;
}

div#calendar ul.dates li.activity div.attendance-div div.activity-overview div{
  text-align: left;
  height: 40px;
  font-size: 18px;
}

div#calendar ul.dates li.activity div.attendance-div ul{
  background-color: #efefef;
}

div#calendar ul.dates li.activity div.attendance-div ul.notattend-list li.title{
  background-image: url("images/person_notattend.png");
  background-size: 40px;
  background-repeat: no-repeat;
  background-position-x: center;
  height: 40px;
}

div#calendar ul.dates li.activity div.attendance-div ul.yettorespond-list li.title{
  background-image: url("images/person_yettorespond.png");
  background-size: 40px;
  background-repeat: no-repeat;
  background-position-x: center;
  height: 40px;
}

div#calendar ul.dates li.activity div.attendance-button:hover {
    cursor: pointer;
}

div#calendar ul.dates li.activity:nth-child(even){
	background-color:hsla(193,98%,51%,0.19);
}


:focus{
    outline:none;
}

div.clear{
    clear:both;
}

/* The popup form - hidden by default */
.form-popup {
  display: none;
  top: 15px;
  position: fixed;
  border: 3px solid #f1f1f1;
  z-index:1005;
  background: white;
}

/* Add styles to the form container */
.form-container {
  width: 582px;
  padding: 10px;
  background-color: white;
  height: 100%;
}

.form-container h3 {
  font-size: 20px;
}

.form-container label {
  font-size: 15px;
  margin-bottom: 0;
}

/* Full-width input fields */
.form-container input[type=text], .form-container input[type=time], .form-container input[type=email] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;

}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=time]:focus, .form-container input[type=email]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
 border: 1px solid #f1f1f1;
  cursor: pointer;
  width: 140px;
  margin-bottom:10px;
  margin-left: 10px;
  opacity: 0.8;
  position: relative;
  float: right;
  height: 40px;
  line-height: 20px;
}


/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
  color: #fff;
  background: #ddd;
}

.form-container div.form-attendance {
  width: 100%;
}

.form-container div.form-attendance input[type=checkbox]{
  margin-left: 15px;
  width: 15px;
  height: 15px;
}

.form-subscribe{
  height: 450px;
}
