﻿/* Breadcrumbs from http://bootsnipp.com/snippets/featured/triangle-breadcrumbs-arrows */
.btn-breadcrumb .btn:not(:last-child):after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid white;
    position: absolute;
    top: 50%;
    margin-top: -8px;
    left: 100%;
    z-index: 3;
}

.btn-breadcrumb .btn:not(:last-child):before {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid rgb(173, 173, 173);
    position: absolute;
    top: 50%;
    margin-top: -8px;
    margin-left: 1px;
    left: 100%;
    z-index: 3;
}

.btn-breadcrumb .btn {
    padding: 6px 12px 6px 24px;
}

    .btn-breadcrumb .btn:first-child {
        padding: 6px 10px 6px 12px;
        border-left-color:#FFF !important;
        border-radius: 0px !important;
    }

    .btn-breadcrumb .btn:last-child {
        padding: 6px 18px 6px 24px;
        border:none;
    }

    /** Default button **/
    .btn-breadcrumb .btn.btn-default:not(:last-child):after {
        border-left: 10px solid #fff;
    }

    .btn-breadcrumb .btn.btn-default:not(:last-child):before {
        border-left: 10px solid #ccc;
    }

    .btn-breadcrumb .btn.btn-default:hover:not(:last-child):after {
        border-left: 10px solid #fff;
    }

    .btn-breadcrumb .btn.btn-default:hover:not(:last-child):before {
        border-left: 10px solid #adadad;
    }

/* The responsive part */

.btn-breadcrumb > * > div {
    /* With less: .text-overflow(); */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-breadcrumb > *:nth-child(n+2) {
    display: none;
}

/* === For phones =================================== */
@media (max-width: 767px) {
    .btn-breadcrumb > *:nth-last-child(-n+1) {
        display: block;
    }

    .btn-breadcrumb > * div {
        max-width: 60px;
    }
}

/* === For tablets ================================== */
@media (min-width: 768px) and (max-width:991px) {
    .btn-breadcrumb > *:nth-last-child(-n+4) {
        display: block;
    }

    .btn-breadcrumb > * div {
        max-width: 100px;
    }
}

/* === For desktops ================================== */
@media (min-width: 992px) {
    .btn-breadcrumb > *:nth-last-child(-n+6) {
        display: block;
    }

    .btn-breadcrumb > * div {
        max-width: 170px;
    }
}

#menu-breadcrumb .btn-default {
    border-top: none !important;
    border-bottom: none !important;
    border: none !important;
    background: #FFF !important;
    color: #333 !important;
    height: 40px !important;
    line-height: 28px !important;
    outline: none !important;
    box-shadow: none !important;
}

#menu-breadcrumb .btn-default:hover {
    border-top:none !important;
    border-bottom: none !important;
    background: #FFF !important;
    color: #333 !important;
}

.btn-border-breadcrumb {
    border-bottom: solid 1px #e7e7e7;
    border-top: solid 2px #6fc9f2;
}

#menu-breadcrumb .btn-default span{
    font-size:12px;
}