/* Navbar */
.navbar-wrapper {
    background-color: white;
    position: relative;
    z-index: 25;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1) inset, 0 1px 10px rgba(0, 0, 0, 0.1);
}

.navbar.nomargin {
    margin-top: 0;
    margin-bottom: 0;
}

.navbar .menu,
.navbar .contact,
.navbar .commercial {
    padding: 15px 0;
    font-family: 'PFDinDisplayPro-Light';
}

.navbar .contact {
    text-align: right;
}

.navbar .logo {
    width: inherit;
    max-width: 180px;
}

.navbar .contact span {
    color: #968d88;
    border-bottom: 1px dotted #D2CFCD;
    padding-bottom: 12px;
    border-color: #D2CFCD;
    font-family: 'PFDinDisplayPro-Light';
    font-size: 16px;
}

.navbar .contact span:first-child {
    padding-right: 20px;
}

.navbar ul.icons {
    display: inline-block;
}

.navbar .menu {
    font-family: 'PFDinDisplayPro-Light';
    font-size: 18px;
}

.navbar .menu ul {
    margin: 0;
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-bottom: 15px;
}

.navbar .menu ul li {
    list-style-type: none;
    text-align: right;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: auto;
}

.navbar .menu ul > li a {
    color: #333333;
}

.navbar .menu ul > li:not(.icon) a:hover,
.navbar .menu ul > li:not(.icon) a:active {
    color: #333333;
    text-decoration: underline;
}

.navbar .line-gray {
    height: 15px;
    width: 100%;
    position: absolute;
    left: 0;
    z-index: -1;
    background-image: url('../../img/pattern.png');
    background-repeat: repeat-x;
}

.commercial {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    text-align: right;
    padding: 0 !important;
}

/* Filters */
.navbar .filters {
    font-size:16px;
    font-family:'PFDinDisplayPro-LightItalic';

    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    text-align: right;

    margin-top: 5px;
    margin-bottom: 5px;
}

.navbar .filters > * {
    -webkit-box-flex: 0 1 120px;     /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 0 1 120px;        /* OLD - Firefox 19- */
    -webkit-flex: 0 1 120px;         /* Chrome */
    -ms-flex:0 1 120px;              /* IE 10 */
    flex: 0 1 120px;
}

.navbar .filters .input-append input {
    width: 80px;
}

.navbar .filters select,
.navbar .filters input,
.navbar .filters .input-append {
    margin: 0;
}

.navbar .filters > .filters-title {
    color:#CEA722;
}


/* Remove margins and padding from the list, and add a black background color */
ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #333333;
}

/* Float the list items side by side */
ul.topnav li {float: left;}

/* Style the links inside the list items */
ul.topnav li a {
    display: inline-block;
    color: #f2f2f2;
    text-align: center;
    text-decoration: none;
    transition: 0.3s;
}

/* Change background color of links on hover */
ul.topnav li a:hover {
    color: #333333;
}

/* Hide the list item that contains the link that should open and close the topnav on small screens */
ul.topnav li.icon {display: none;}


/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens */
@media screen and (max-width:1200px) {
    .navbar .filters {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .navbar .filters > * {
        flex: 0 1 auto;
        align-items: flex-end;
        margin-top: 0px !important;
        margin-bottom: 10px !important;
        max-width: 180px;
    }

    .input-append input {
        width: 85% !important;
    }

    .navbar.my-grid > .right-grid {
        padding: 0;
        text-align: left;
    }

    .navbar .menu {
        padding: 35px 10px;
    }

    .navbar .menu ul {
        margin-bottom: 0;
    }

    img.brandpfr {
        width: 165px;
        padding: 0;
        max-width: inherit;
    }

    ul.topnav li,
    .navbar .contact,
    .navbar .commercial,
    .navbar .line-gray {
        display: none;
    }

    ul.topnav li.icon {
        float: right;
        display: inline-block;
    }

    ul.topnav li.icon a {
        font-size: 30px;
        line-height: 30px;
        text-decoration: none;
    }

    ul.topnav.responsive {position: relative;}
    ul.topnav.responsive li.icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .navbar .menu ul {
        flex-direction: column;
    }

    ul.topnav.responsive {
        padding-top: 40px;
    }

    ul.topnav.responsive li {
        float: none;
        display: inline;
    }
    ul.topnav.responsive li a {
        display: block;
        text-align: right;
    }
}