@media all and (max-width: 1170px) {
    #master-header{z-index:99999}
    #master-header .menu{
        display: none;
    }
    .taptap-menu-button-wrapper{
        display: block;
    }

    #master-header .menu.open{display:block!important}

    #master-header .menu.open{
        display: block;
        position: absolute;
        width: 40%;
        background: #FFFFFF;
        top: 225px;
        right: 21px;
        box-shadow: 0 1px 50px 0 rgba(0,0,0,.1);
    }
    #master-header .menu.open a{
        float:left;
        width:100%;
        padding: 15px 30px;
        border-bottom: 1px solid #E0E0E0;
    }
}

@media all and (max-width: 980px) {



    #master-header .menu.open{
        top: 80px;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        width: 83.3%;
        max-width: 100%;
        left: auto;
        right: 0;
        background: #fff;
        border-top: 1px solid #EDEDED;
        box-shadow: 0 18px 26px rgba(0,0,0,.46);
    }

    .event-tab{ max-width:100%!important}

    .tabs li a small{
        float: left;
    }

    .publications .col-md-2{
        width: 100%;
        display: inline-block;
    }

    .publications .tabs li{
        width: auto;
        margin: 0;
        padding: 0;
        float: left;
        margin-right: 10px;
    }

    .publications .tabs{
        padding-top:0;
        margin:0
    }

    .publications .tabs li a{
        border-top: 0;
        padding: 10px!important;
    }

    .publications .tabs li.active a{
        border: 0;
        border-bottom: 5px solid #DE5251;
        /* margin: 0; */
    }


    .publications .tab-content:after{
        width: 100%;
        margin-top: -4px;
    }
}

iframe{    max-width: 100%;}

@media all and (max-width: 980px) {

    .page-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .taptap-menu-button-wrapper{
        right:10px
    }

    #master-header .menu.open{
        width: 40%;
    }
}


@media all and (max-width: 580px) {


    .post-meta {
        width: 100%;
        float: left;
    }

    .post .post-info .post-meta div .icon {
        width: 30px;
        margin-right: 10px;
    }

    .post .post-info .post-meta div {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-top: 1px;
    }

    .events-header .event-nav a{font-size: 0;}
    .events-header .event-nav a .icon{
    }

    #master-header .logo{

    }

    #master-header .header-left{
        background: transparent;
        width: 612px;
    }

    #master-header .logo {
        position: absolute;
        top: -23px;
        width: 70px;
    }

    #master-header .menu.open{
        width: 60%;
    }

    .book{
        width: 120px;
    }

    .left-column {
        padding-right: 0;
        display: none;
    }

    .calendar-days .day .event-badge {
        width: 16px;
        height: 16px;
        font-size: 10px;
        background: #7BD6B2;
        border-radius: 50%;
        color: #FFF;
        text-align: center;
        line-height: 16px;
        position: absolute;
        left: 15%;
        top: 15%;
    }


    .map-wrap {
        overflow: initial;
        height: 420px;
    }

    #map {
        top: 0;
        z-index: 2;
        height: 60%;
    }

    .map-sidebar {
        width: 100%;
        left: 0;
        top: 0;
        position: relative;
        display: inline-block;
        max-height: inherit;
        margin-top: 249px;
    }

    .place-info-sidebar {
        top: 80px;
        width: 85%;
    }

    .category-item{
        background-position: center;
    }

    .categories-list a {
        width: 100%;
    }

}



@media all and (max-width: 480px) {
    .placeholder{width: 130px;}
    .placeholder:after{display:none}

    .calendar-panel {
        width: 65%;
    }
}


@media all and (max-width: 360px) {

    .content-title a {
        font-size: 14px;
        margin: 0;
    }

    .content-group .content-title {
        font-size: 17px;
    }

    .select-box{left: 100px;}

    .events-header h2 {
        font-size: 20px;
    }

    .events-header {
        height: 139px;
    }

    .book{
        width: 100px;
        height: 240px;
    }

    footer.page-footer {
        text-align: center;
    }

    footer.page-footer .col-sm-4{
        display:inline-block;
        width:100%;
        margin-bottom: 29px;
        text-align: center;
    }
}

@media only screen and(max-width:992px){
    #master-header .menu.open {
        top: 80px;
    }
}

