@font-face {
  font-family: 'fontawesome-selected';
  src: url("../fonts/fontawesome-selected.eot");
  src: url("../fonts/fontawesome-selected.eot?#iefix") format('embedded-opentype'), url("../fonts/fontawesome-selected.woff") format('woff'), url("../fonts/fontawesome-selected.ttf") format('truetype'), url("../fonts/fontawesome-selected.svg#fontawesome-selected") format('svg');
  font-weight: normal;
  font-style: normal;
}
.fc-calendar-container {
    position: relative;
    height: 300px;
    width: 400px;
}

.fc-calendar {
    width: 100%;
    height: 100%;
}

.fc-calendar .fc-head {
    height: 30px;
    line-height: 30px;
    background: #ccc;
    color: #fff;
    width: 100%;
}

.fc-calendar .fc-body {
    position: relative;
    width: 100%;
    height: 100%;
    height: -moz-calc(100% - 30px);
    height: -webkit-calc(100% - 30px);
    height: calc(100% - 30px);
    border-bottom: 1px solid #ddd;
}

.fc-calendar .fc-row {
    width: 100%;
    border-bottom: 1px solid #ddd;
}

.fc-four-rows .fc-row {
    height: 25%;
}

.fc-five-rows .fc-row {
    height: 20%;
}

.fc-six-rows .fc-row {
    height: 16.6%;
}

.fc-calendar .fc-row > div,
.fc-calendar .fc-head > div {
    float: left;
    height: 100%;
    width: 14.25%;
    position: relative;
}

/* IE 9 is rounding up the calc it seems */

.ie9 .fc-calendar .fc-row > div,
.ie9 .fc-calendar .fc-head > div {
    width: 14.2%;
}

.fc-calendar .fc-row > div {
    padding: 4px;
    overflow: hidden;
    position: relative;
}

.fc-calendar .fc-head > div {
    text-align: center;
}

.fc-calendar .fc-row > div > span.fc-date {
    position: absolute;
    width: 30px;
    height: 20px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    color: #ddd;
    text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.8);
    bottom: 5px;
    right: 5px;
    text-align: right;
}

.fc-calendar .fc-row > div time {
    display: none;
}

.fc-calendar .fc-row > div > span.fc-weekday {
    padding-left: 5px;
    display: none;
}

.fc-calendar .fc-row > div.fc-today {
    background: #fff4c3;
}

.fc-calendar .fc-row > div.fc-out {
    opacity: 0.6;
}

.fc-calendar .fc-row > div:last-child,
.fc-calendar .fc-head > div:last-child {
    border-right: none;
}

.fc-calendar .fc-row:last-child {
    border-bottom: none;
}

.custom-calendar-wrap {
    margin: 10px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.custom-inner {
    background: #fff;
}

.custom-inner:before,
.custom-inner:after {
    content: '';
    width: 99%;
    height: 50%;
    position: absolute;
    background: #f6f6f6;
    bottom: -4px;
    left: 0.5%;
    z-index: -1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.custom-inner:after {
    content: '';
    width: 98%;
    bottom: -7px;
    left: 1%;
    z-index: -2;
}

.custom-header {
    background: #fff;
    padding: 5px 10px 10px 20px;
    height: 50px;
    position: relative;
}

.custom-header h2,
.custom-header h3 {
    text-align: center;
}

.custom-header h2 {
    color: #fff;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1em;
    margin: 0;
    color: #000;
}

.custom-header h3 {
    font-size: .6rem;
    font-weight: 700;
    color: #b7bbc2;
    line-height: 1em;
    margin: 0;
}

.custom-header nav span {
    position: absolute;
    top: 5px;
    width: 30px;
    height: 30px;
    color: transparent;
    cursor: pointer;
    margin: 0 1px;
    font-size: 20px;
    line-height: 30px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.custom-header nav span:first-child {
    left: 5px;
}

.custom-header nav span:last-child {
    right: 5px;
}

.custom-header nav span:before {
    font-family: 'fontawesome-selected';
    color: #ccc;
    position: absolute;
    text-align: center;
    width: 100%;
}

.custom-header nav span.custom-prev:before {
    content: '\25c2';
}

.custom-header nav span.custom-next:before {
    content: '\25b8';
}

.custom-header nav span:hover:before {
    color: #495468;
}

/* Modifications */

.fc-calendar-container {
    height: 250px;
    width: auto;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.8);
}

.fc-calendar .fc-head {
    background: transparent;
    color: rgba(0, 0, 0, .5);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

.fc-calendar .fc-row > div {
    background: #fff;
    cursor: pointer;
}

.fc-calendar .fc-row > div:empty {
    background: transparent;
}

.fc-calendar .fc-row > div > span.fc-date {
    top: 50%;
    left: 50%;
    text-align: center;
    margin: -10px 0 0 -15px;
    color: #686a6e;
    font-weight: 400;
    pointer-events: none;
}

.fc-calendar .fc-row > div > span.fc-emptydate {
    color: #ccc;
}

.fc-calendar .fc-row > div.fc-content {
    background: #eee;
    box-shadow-bottom: inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}

.fc-calendar .fc-row > div.fc-content:hover {
    background: rgba(46, 68, 125,.2);
}

.fc-calendar .fc-row > div.fc-content > span.fc-date {
    color: #999;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.fc-calendar .fc-row > div.fc-today {
    background: #2E447D;
    box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}

.fc-calendar .fc-row > div.fc-today > span.fc-date {
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}


.fc-calendar .fc-row > div.fc-today.fc-content:after {
    color: #b02c42;
}

.fc-calendar .fc-row > div.fc-today:hover {
    background: rgba(46, 68, 125,.2);
}

.fc-calendar .fc-row > div.fc-today.fc-content:hover:after {
    color: #fff;
}

.fc-calendar .fc-row > div > div a,
.fc-calendar .fc-row > div > div span {
    display: none;
    font-size: 22px;
}

.popover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1010;
    display: none;
    max-width: 276px;
    padding: 1px;
    text-align: left;
    white-space: normal;
    background-color: #ffffff;
    border: 1px solid #ccc;
    background-clip: padding-box;
}

.popover.top {
    margin-top: -10px;
}

.popover.right {
    margin-left: 10px;
}

.popover.bottom {
    margin-top: 10px;
}

.popover.left {
    margin-left: -10px;
}

.popover-title {
    padding: 4px 14px;
    margin: 0;
    font-size: .75rem;
    font-weight: normal;
    line-height: 1.2em;
    border-bottom: 1px solid #ccc;
    
}
.popover-content {
    padding: 8px 14px;
    font-size: .75rem;
    line-height: 1.5em;
}

.popover-content a,
.popover-content span {
    display: block;
}

.popover-content time {
    display: none;
}

.popover-content .hall{
    font-size: .6rem;
    line-height: 1em;
    padding: .2rem;
    border: 2px solid #2E447D;
    display: inline-block; 
}
.popover-content .rent{
    background: #aaa;
    display: block;
    text-align: center;
    border: none;
    color: #fff;
}
.popover-content .rest{
    background: #c00;
    display: block;
    text-align: center;
    border: none;
    color: #fff;
}
.popover-content .hall-l{
    background: #2E447D;
    color: #fff;
}
.popover-content .hall-s{
    margin-top: .5rem;
    background: #fff;
}
.popover-content .title{
    font-size: .75rem;
    font-weight: bold;
    margin-bottom: .5rem;
    
}

.popover .arrow,
.popover .arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

.popover .arrow {
    border-width: 11px;
}

.popover .arrow:after {
    border-width: 10px;
    content: "";
}

.popover.top .arrow {
    bottom: -11px;
    left: 50%;
    margin-left: -11px;
    border-top-color: #999999;
    border-top-color: rgba(0, 0, 0, 0.25);
    border-bottom-width: 0;
}

.popover.top .arrow:after {
    bottom: 1px;
    margin-left: -10px;
    border-top-color: #ffffff;
    border-bottom-width: 0;
    content: " ";
}

.popover.right .arrow {
    top: 50%;
    left: -11px;
    margin-top: -11px;
    border-right-color: #999999;
    border-right-color: rgba(0, 0, 0, 0.25);
    border-left-width: 0;
}

.popover.right .arrow:after {
    bottom: -10px;
    left: 1px;
    border-right-color: #ffffff;
    border-left-width: 0;
    content: " ";
}

.popover.bottom .arrow {
    top: -11px;
    left: 50%;
    margin-left: -11px;
    border-bottom-color: #999999;
    border-bottom-color: rgba(0, 0, 0, 0.25);
    border-top-width: 0;
}

.popover.bottom .arrow:after {
    top: 1px;
    margin-left: -10px;
    border-bottom-color: #ffffff;
    border-top-width: 0;
    content: " ";
}

.popover.left .arrow {
    top: 50%;
    right: -11px;
    margin-top: -11px;
    border-left-color: #999999;
    border-left-color: rgba(0, 0, 0, 0.25);
    border-right-width: 0;
}

.popover.left .arrow:after {
    right: 1px;
    bottom: -10px;
    border-left-color: #ffffff;
    border-right-width: 0;
    content: " ";
}

.fade {
    opacity: 0;
    -webkit-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}

.fade.in {
    opacity: 1;
}

@media screen and (max-width: 400px) {
    .fc-calendar-container {
        height: 300px;
    }
    .fc-calendar .fc-row > div > span.fc-date {
        font-size: 15px;
    }
}
