﻿/* Sidebar */
#sidebar-wrapper {
    z-index: 1;
    position: absolute;
    width: 0;
    height: 100%;
    overflow-y: hidden;
    background: #f4f4f4;
    opacity: 0.9;
    transition: all .5s;
    align-items: center;
}

#sidebar-wrapper #logo {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Content */
#page-content-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    padding: 15px;
    transition: all .5s;
}

.fix {
    position: absolute;
}

.fill {
    height: 100%;
}

#menu-toggle {
    transition: all .3s;
    font-size: 2em;
    padding: 0 12px;
}
/* Change the width of the sidebar to display it*/
#wrapper.menuDisplayed #sidebar-wrapper {
    width: 300px;
}

#wrapper.menuDisplayed #page-content-wrapper {
    padding-left: 300px;
}

/* Sidebar styling */
.sidebar-nav {
    padding: 0;
    list-style: none;
    transition: all .5s;
    width: 100%;
    /*text-align: center;*/
}

.sidebar-nav li {
    line-height: 40px;
    width: 100%;
    transition: all .3s;
    padding: 10px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #222;
}

.sidebar-nav li:hover {
    background: #CCC;
}

#map {
    height: 100%;
    background-color: #222;
    margin-left: 0.5%;
}

.sidebar-nav.title {
    padding-top: 10px;
}

input {
    border-radius: 5px;
    border: 1px #222 solid;
    padding-left: 8px;
}

input#searchfield {
    width: 100%;
    padding-left: 10px;
}

input#mapsearchfield {
    min-width: 200px;
    width: 40%;
    height: 44px;
}

#bigContainer .row {
    padding-top: 6px;
    width: 100%;
    display: block;
}

div#advertising {
   float: right;
   display: flex;
}

div#advertising img {
    max-height: 50px;
}

.h4Container {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    align-items: center;
    clear: both;
}

.filterItem {
    cursor: pointer;
    padding: 10px
}

.filterItem:hover {
    background: #CCC;
}

.filterItemClicked {
    background: #ff8f46 !important;
}

.filterItemClicked:hover {
    background: rgba(247, 174, 121, 0.73) !important;
}

.sideBarButton {
    padding: 10px;
    justify-content: center;
    background: #bfbfbf;
    cursor: pointer;
    width: 50%;
    float: left;
    text-align: center;
}

.sideBarButton:hover {
    background: rgba(204, 204, 204, 0.90);
}

.filterContainer {
    display: flex;
}

/* Fancybox */
.fancybox-is-open .fancybox-bg {
    opacity: 0.7 !important;
}

