html {
  box-sizing: border-box;
}

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

/* this file is to customize material UI in ways not possible with just inline styles*/

/*iphone 7 plus veritical height*/
@media all and (max-device-width: 737px) {
  /*the dialog in material ui */
  .full-width-dialog-content {
    width: 100% !important;
    transform: none !important;
    position: fixed !important;
    top: 0;
  }

  /* this is a hack to prevent the iphone from zooming in and misaligning the menu for autocomplete search */
  .input-no-zoom input {
    font-size: 27px !important; /*16px/0.6*/
    font-weight: 100 !important; /*lightest possible*/
  }

  .hide-on-mobile {
    display: none !important;
  }
  .full-width-mobile {
    width: 100% !important;
  }
}

button {
  overflow: hidden;
}

/** Calendar **/

.flexContainer{
    max-width:100%;
    width:100%;
    border-top:1px solid #B4C9E2;
    border-left:1px solid #B4C9E2;
    -webkit-box-orient:horizontal;
    -webkit-box-direction:normal;
    -ms-flex-direction:row;
    flex-direction:row;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap
}
.flexColumn,.flexContainer{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex
}
.flexColumn{
    width:14.2857142857%;
    border-bottom:1px solid #B4C9E2;
    border-right:1px solid #B4C9E2;
    -webkit-box-flex:0;
    -ms-flex:0 1 auto;
    flex:0 1 auto;
    -webkit-box-pack:center;
    -ms-flex-pack:center;
    justify-content: center;
    padding: .25rem 0;
    font-weight: 300;
}
.flexColumn .day {
}
.day.inactive{
    background-color:#f8f8f8;
    opacity: 0.7;
}
.day.today{
    background-color: #e2e9f7;
}
.day .inner-grid{
    width:100%;
    position:relative
}
.day .event-slot {
    position:relative;
    margin: .2rem 0;
    min-height: 24px;
    font-size: 14px
}
.day .event-slot.event {
    white-space: nowrap;
    text-indent: -10000px;
    cursor: pointer;
    transition: all .35s;
    overflow: hidden;
}
.day .event-slot.event:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    background-color: #F2F6FD;
}
.day .event-slot .event-title{
    position:absolute;
    top: 3px;
    font-size: .8125rem;
    left:.5rem;
    z-index:100;
    z-index:1;
    overflow:visible;
    text-indent:0
}
.day .event.event-first-day{
    margin-left:.5rem;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}
.day .event.event-last-day{
    margin-right:.5rem;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}
.day .date {
    padding: .25rem .5rem;
    text-align: right;
    font-size: 0.8125rem;
}


.ant-affix {
  z-index: 10;
}
