.col-md-1_7{
    width: 14.28%;
    float: left;
    position: relative;
    min-height: 1px;
    padding: 0 15px;
}
#eventList .row .col-sm-6{
    padding: 0;
}
#eventList .row > div > h2{
    padding: 10px 20px;
    background-color: #fff;
}
.event{
    padding: 5px 20px 10px;
    margin-bottom: 20px;
    transition: background-color .25s;
}
#eventList .row .col-sm-6.upcoming{
    padding: 5px 15px 0;
    background-color: #f8f6f2;
    margin-bottom: 20px;
}
.recurring{
    padding-top: 5px;
    background-color: #efefef;
}
@keyframes ev-pulse {
  0% {
    background-color: rgba(216,234,248,.25);
  }
  33% {
    background-color: rgba(216,234,248,1);
  }
  100% {
    background-color: rgba(216,234,248,.25);
  }
}
.event.selected{
    animation: ev-pulse 2s ease-in-out infinite;
}
.calendar{
    width: 1160px;
    margin: 20px auto;
}
.calItem{
    display: inline-block;

    transition: background-color .25s;
}
.calTitle{
    font-family: DIN;
    font-size: 1.5em;
    padding: 5px 0 30px;
    line-height: 1em;
    text-transform: uppercase;
}
.calText{
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
/*    border: 1px solid #ccc;*/
    border-radius: 0px;
    padding: 0;
/*    position: relative;*/
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin-right: 2px;
}
.calText.recur{
    background-color: #f0f0f0;
}
.calText.recur:after{
    background-color: #ccc;
    width: 15px;
    height: 15px;
    content: '';
    position: relative;
    left: 15px;
    display: inline-block;
    top: -1px;
}
.calText a{
    display: none;
    font-weight: 200;
    font-size: .875em;
    text-decoration: none;
    max-width: 130px;
    overflow: hidden;
    position: absolute;
    top: 16px;
    left: 35px;
}
.calText.selected{
    background-color: rgba(216,234,248,1);
}
.calTextFade{
    width: 20%;
    height: 100%;
    position: absolute;
    right: 0;
    background: linear-gradient(to right, transparent, #fff);
    transition: background .25s;
}
.day{
    padding: 15px;
    height: 165px;
    transition: background-color .25s;
    border-radius: 3px;
}
.day:hover{
    background-color: #D8EAF8;
}
.day.active{
    background-color: #D8EAF8;
}
.day.active .calTextFade,.day:hover .calTextFade{
    background: transparent;
}


@media screen and (max-width: 1180px){
    .calendar{
        width: 970px;
    }
    .day{
        height: 138px;
    }
}
@media screen and (max-width: 990px){
    .col-md-1_7{
        width: 14.15%;
    }
    .calendar{
        width: 750px;
    }
    .calItem{
        background-color: rgba(190,10,10,.3);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .calItem.recur{
        border: 3px solid rgba(190,10,10,.3);
        background-color: transparent;
    }
    .calText{
        display: none;
    }
    .day{
        height: 100px;
    }
}
@media screen and (max-width: 768px){
    .calendar{
        width: 640px;
    }
    .day{
        height: 80px;
    }
}
@media screen and (max-width: 640px){
    .calendar{
        width: 520px;
    }
    .day{
        padding: 10px;
        height: 70px;
    }
}
@media screen and (max-width: 520px){
    .col-md-1_7{
        padding: 0 5px;
    }
    .calendar{
        width: 480px;
    }
    .day{
        padding: 8px;
        height: 60px;
    }
}
@media screen and (max-width: 480px){
    .col-md-1_7{
        padding: 0;
    }
    .calendar{
        width: 380px;
    }
    .day{
        padding: 5px;
        height: 50px;
    }
}
@media screen and (max-width: 380px){
    .col-md-1_7{
        padding: 0;
    }
    .calendar{
        width: 320px;
    }
    .day{
        padding: 5px;
        height: 40px;
    }
}
@media screen and (max-width: 320px){
    .col-md-1_7{
        padding: 0;
    }
    .calendar{
        width: 280px;
    }
    .day{
        padding: 0 3px;
        height: 40px;
    }
}