*,
*:after,
*:before {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  position: relative;
  background: #EFEFEF;
}
/* for demo */
.wrapper {
  /*position: absolute;*/
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 480px;
  background: #FFF;
  margin: 1em auto;
  border: 4px solid #E2E2E2;
  box-shadow: 0 10px 9px -6px #C5C5C5;
  border-top-width: 25px;
  border-bottom-width: 32px;
  border-radius: 8px;
  overflow: hidden;
}
div#calendar {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #F3F3F3;
}
table {
  width: 100%;
  font-family: sans-serif;
  border-collapse: separate;
  border-spacing: 0;
}
.head_cal {
  background: #FFF;
  color: #85BAFF;
  font-size: 2rem;
  line-height: 4rem;
  text-transform: uppercase;
}
.subhead_cal {
  background: #85BAFF;
  color: #FFF;
  font-size: 1.2rem;
  line-height: 2rem;
}
.week_cal {
  background: #FFF;
  color: #D7D7D7;
  font-size: 1rem;
  line-height: 2rem;
}
.white_cal {
  background: #ECECEC!important;
}
tbody.days_cal tr td a {
  padding: 0;
  text-decoration: none;
  background: #FFF;
  color: #888;
  height: 3.2rem;
  width: 100%;
  line-height: 3.2rem;
  display: block;
}
tbody.days_cal tr td {
  padding: 0;
  margin: 0;
  border: 1px solid #ECECEC;
  text-align: center;
  width: 14.28571428571429%;
  height: auto;
}
.event {
  background: #85BAFF !important;
  color: #FFF !important;
  /*color: #85BAFF !important;*/
  transition: all 0.3s ease;
}
.today_cal.event {
  background: #FF8D8D !important;
  color: #FFF !important;
  transition: all 0.3s ease;
}
.today_cal.event:hover,
  .event:hover{
  opacity:0.5;
  transition: all 0.3s ease;
}
.week_event {
  color: #85BAFF;
}
#calendar_data {
  margin-top: 120px;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFF;
  color: #C5C5C5;
  opacity:0;
  visibility:hidden;
  -webkit-transform: scale(0,0);
          transform: scale(0,0);
  transition: all 0.8s ease;
}

#calendar_data h3 {
  text-align: center;
  font-size: 20px;
  padding: 5px 10px;
  margin: 0;
  background: #F2F2F2;
  color: #43AEEF;
  border-bottom: 1px solid #DFDFDF;
  text-transform: capitalize;
}
#calendar_data  dl {
  padding: 0.5em;
  margin-left: 0;
  display: block;
  height: calc(100% - 4rem);
}
#calendar_data  dt {
  float: left;
  clear: left;
  width: 12rem;
  text-align: left;
  font-size: 1.5rem;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-weight: 300;
  color: #43B0EF;
  background: #FFF;
  padding: 0.2rem;
}
#calendar_data  dd {
  margin: 0 0 2rem 5rem;
  padding: 0 3.5rem 0.5rem 5rem;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  font-size: 1.5rem;
  line-height: 1.2rem;
  color: #ADADAD;
  border-bottom: 1px solid #EAEAEA;
}
#calendar_data dd:last-child {
border: none;
}

#calendar_data a:not(.hideEvent) {
  color: #43AEEF;
  border: 0.1rem solid #43AEEF;
  padding: 0.2rem 1rem;
  text-decoration: none;
}
.show_data{
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-transform: scale(1, 1) !important;
          transform: scale(1, 1) !important;
  transition: all 0.2s ease;
}

.hideEvent {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 2rem;
  font-family: sans-serif;
  font-weight: 300;
  text-align: center;
  text-decoration: none;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  background: #F2F2F2;
  border-left: 0.1rem solid #E5E5E5;
  color: #D3D3D3 !important;
}
.hideEvent:hover{
  text-decoration:none;
  color:#f55;
}

/* added */

#basic-info {
  font-family: sans-serif;
}

#square {
    width: 20px;
    height: 20px;
    position: absolute;
    background: #85BAFF;
}

@media only screen and (max-width: 767px) {
  *,
  *:after,
  *:before {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    padding: 0;
    height: 100%;
    position: relative;
    background: #EFEFEF;
  }
  /* for demo */
  .wrapper {
    /*position: absolute;*/
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    height: 480px;
    background: #FFF;
    margin: 1em auto;
    border: 4px solid #E2E2E2;
    box-shadow: 0 10px 9px -6px #C5C5C5;
    border-top-width: 25px;
    border-bottom-width: 32px;
    border-radius: 8px;
    overflow: hidden;
  }
  div#calendar {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #F3F3F3;
  }
  table {
    width: 100%;
    font-family: sans-serif;
    border-collapse: separate;
    border-spacing: 0;
  }
  .head_cal {
    background: #FFF;
    color: #85BAFF;
    font-size: 2rem;
    line-height: 4rem;
    text-transform: uppercase;
  }
  .subhead_cal {
    background: #85BAFF;
    color: #FFF;
    font-size: 1.2rem;
    line-height: 2rem;
  }
  .week_cal {
    background: #FFF;
    color: #D7D7D7;
    font-size: 1rem;
    line-height: 2rem;
  }
  .white_cal {
    background: #ECECEC!important;
  }
  tbody.days_cal tr td a {
    padding: 0;
    text-decoration: none;
    background: #FFF;
    color: #888;
    height: 3.2rem;
    width: 100%;
    line-height: 3.2rem;
    display: block;
  }
  tbody.days_cal tr td {
    padding: 0;
    margin: 0;
    border: 1px solid #ECECEC;
    text-align: center;
    width: 14.28571428571429%;
    height: auto;
  }
  .event {
    background: #85BAFF !important;
    color: #FFF !important;
    /*color: #85BAFF !important;*/
    transition: all 0.3s ease;
  }
  .today_cal.event {
    background: #FF8D8D !important;
    color: #FFF !important;
    transition: all 0.3s ease;
  }
  .today_cal.event:hover,
    .event:hover{
    opacity:0.5;
    transition: all 0.3s ease;
  }
  .week_event {
    color: #85BAFF;
  }
  #calendar_data {
    margin-top: 100px;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF;
    color: #C5C5C5;
    opacity:0;
    visibility:hidden;
    -webkit-transform: scale(0,0);
            transform: scale(0,0);
    transition: all 0.8s ease;
  }

  #calendar_data h3 {
    text-align: center;
    font-size: 20px;
    padding: 5px 10px;
    margin: 0;
    background: #F2F2F2;
    color: #43AEEF;
    border-bottom: 1px solid #DFDFDF;
    text-transform: capitalize;
  }
  #calendar_data  dl {
    padding: 0.5em;
    margin-left: 0;
    display: block;
    height: calc(100% - 4rem);
  }
  #calendar_data  dt {
    float: left;
    clear: left;
    width: 5rem;
    text-align: left;
    font-size: 0.8rem;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 300;
    color: #43B0EF;
    background: #FFF;
    padding: 0.2rem;
  }
  #calendar_data  dd {
    margin: 0 0 1rem 5rem;
    padding: 0 0.5rem 0.5rem 0.5rem;
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-size: 0.8rem;
    line-height: 1.2rem;
    color: #ADADAD;
    border-bottom: 1px solid #EAEAEA;
  }
  #calendar_data dd:last-child {
  border: none;
  }

  #calendar_data a:not(.hideEvent) {
    color: #43AEEF;
    border: 0.1rem solid #43AEEF;
    padding: 0.2rem 1rem;
    text-decoration: none;
  }
  .show_data{
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-transform: scale(1, 1) !important;
            transform: scale(1, 1) !important;
    transition: all 0.2s ease;
  }

  .hideEvent {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 2rem;
    font-family: sans-serif;
    font-weight: 300;
    text-align: center;
    text-decoration: none;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    background: #F2F2F2;
    border-left: 0.1rem solid #E5E5E5;
    color: #D3D3D3 !important;
  }
  .hideEvent:hover{
    text-decoration:none;
    color:#f55;
  }

  /* added */

  #basic-info {
    font-family: sans-serif;
  }

  #square {
      width: 20px;
      height: 20px;
      position: absolute;
      background: #85BAFF;
  }
} 