/*re-formatting of main page for toolbar*/

#content.affix-adjust {
    min-height: 1600px;
    min-height: auto;
}

#navbar-main {
    /* Added `.affix-top` class css when the element is top */
    /* Added `.affix` class css when the element is >= 170px (Look: line 8 html) */
    /* Added `.affix-bottom` class css when the element is footer */
    border-radius: 0;
    overflow-y: auto;
    /*overflow-y:initial;*/
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: scrollbar;
}

    #navbar-main .navbar {
        margin-bottom: 0;
    }

    #navbar-main .container {
        padding: 0;
        max-width: 1140px;
        width: auto;
    }

    #navbar-main.affixed-top {
        background: none;
    }

    #navbar-main.affix {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 3;
        border: 0px none;
        background-color: rgba(255,255,255,1);
        box-shadow: 0px 3px 10px 0 rgba(0, 0, 0, 0.4);
    }

        #navbar-main.affix .navbar-static-top {
            animation: affixFadeIn 0.44s ease-in;
            -webkit-animation: affixFadeIn 0.44s;
        }

@keyframes affixFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-webkit-keyframes affixFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#navbar-main.affix .navbar-static-top {
    box-shadow: 0px 3px 10px 0 rgba(0, 0, 0, 0.4);
    border-bottom: solid 1px rgba(255,255,255,0.4);
}


#navbar {
    padding: 0 5px 15px 5px;
    margin: 0;
}

#filter-button {
    margin-right: 10px;
    margin-left: 10px;
    font-size: 0.875em;
}

.navbar-static-top {
    background-color: rgba(118,84,160,1);
}

#menu {
    margin: 0 auto;
    max-width: 1140px;
    overflow: hidden; /*so accordian child elements don't cause popping*/
    clear: both;
}

#menu h3 {
    font-weight: bold;
    font-size: 1em;
}
.affix #menu.panel-collapse.collapse.in {
    overflow-y: auto;
}

@media (max-width: 975px) {
    #navbar-main.affix .container {
        padding: 0px;
    }

    #navbar {
        padding: 0px;
    }
}

@media (max-width: 480px) {
    .affix #menu.panel-collapse {
        padding: 0 5px;
    }

        .affix #menu.panel-collapse.collapse.in {
            height: 100vh;
            padding-bottom: 51px;
            -ms-touch-action: pan-y;
            touch-action: pan-y;
        }

    #filter-button {
        margin-right: 5px;
        margin-left: 3px;
    }
}

body.no-edit #Occasions {
    display: none;
}

body.no-edit #Occasions {
    display: none;
}

body.no-scroll {
    overflow: hidden;
    /*-ms-touch-action: none; 
             touch-action: none;*/
}

/*#RegEvents #content {
    padding: 0 5px;
}*/


.tooltip.bottom .tooltip-arrow {
    border-bottom-color: #ff6600;
}

#filter-tooltip .tooltip-inner {
    background-color: #ff6600 !important;
    font-size: 0.875em;
}


/* time filter hiding and showing*/
table.seminars td, table.seminars div.bookable {
    display: none;
}

    table.seminars.show-all-time td, table.seminars td.visible  {
        display: table-cell;
    }

    table.seminars div.bookable.visible-theme.visible-category, table.seminars.show-all-theme.show-all-category div.bookable, table.seminars.show-all-theme div.bookable.visible-category, table.seminars.show-all-category div.bookable.visible-theme {
        display: block;
    }


/*filters*/
.time-slot {
    padding: 3px 10px;
    border-radius: 3px;
    background-color: #e5e5e5;
}

.time-filters .form-group {
    margin: 5px 0;
    position: relative;
    min-height: 1px;
    float: left;
    display: inline-block;
    width: 12.5%;
    padding: 0 15px;
}

.time-filters .col-xs-6, .theme-filters .col-xs-6, .category-filters .col-xs-6 {
    padding: 0 5px 0 0;
    margin-bottom: 0px;
}

    .time-filters .col-xs-6:nth-child(even) {
        padding: 0 0 0 0;
    }

.filters {
    padding: 7px 5px 5px 7px;
}

    .filters span {
        margin-left: 5px;
    }

        .filters span:first-child {
            margin-left: 0;
        }
        .time-list, .theme-list, .category-list {
        font-size: 0.688em;
        color: #fff;
        line-height: 2.2em;
    }

    .time-list .time-slot, category-list, .category {
        color: #000;
    }

    .theme-list span, .time-list span, .category-list span {
        padding: 3px 5px;
        border-radius: 2px;
        margin: 0 3px;
        display: inline-block;
        line-height: 1.2em;
    }

        .theme-list span.early-learning {
            border: solid 1px #fff;
            padding: 2px 4px;
        }

.theme {
    color: #fff;
    padding: 3px 10px;
    margin: 5px 0;
    border-radius: 3px;
}

.category {
    color: #000;
    background-color: #e5e5e5;
    padding: 3px 10px;
    margin: 5px 0;
    border-radius: 3px;
}

.theme-filters label, .time-filters label, .category-filters label {
    font-weight: normal;
    font-size: 12.5px;
}

@media (max-width: 991px) {
    .time-filters .form-group {
        width: 20%;
        padding: 0 5px;
    }
}

@media (max-width: 768px) {
    .time-filters .form-group {
        width: 25%;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .time-filters .form-group {
        width: 33.3333%;
        padding: 0 5px;
    }

    .time-slot, .theme, .category {
        padding: 3px;
    }

    .theme-filters label, .time-filters label, .category-filters label {
        font-weight: bold;
    }
}

@media (min-width: 561px) {
    .theme-filters .col-xs-6, .category-filters .col-xs-6 {
        padding: 0 7px;
    }
}

@media (max-width: 560px) {
    /*.track-filters label {
        max-width: 80%;
    }*/
}

.navbar-toggle .open, .navbar-toggle .closed {
    display: none;
}

.collapsed .open, .active .closed {
    display: block;
}

.mobile .form-inline.track-filters .form-group {
    margin-bottom: 5px;
}

    .mobile .form-inline.track-filters .form-group .theme {
        margin: 0;
    }
table.seminars div.filter-block {
    font-size: 0.786em;
    padding: 3px 3px 10px 3px;
}