/* Based on code found at https://codepen.io/arkev/pen/nRGEYZ */

html,
body {
    min-height: 100%;
}

body {
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
}

a {
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
}

.breadcrumbs {
    display: inline-block;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    border-radius: 5px;
    margin: 20px;
}

.breadcrumbs a {
    text-decoration: none;
    outline: none;
    display: block;
    float: left;
    line-height: 36px;
    color: white;
    padding: 0 10px 0 30px;
    background: #666;
    background: linear-gradient(#666, #333);
    position: relative;
}

.breadcrumbs a:first-child {
    padding-left: 22px;
    border-radius: 5px 0 0 5px;
}

.breadcrumbs a:first-child:before {
    left: 14px;
}

.breadcrumbs a:last-child {
    border-radius: 0 5px 5px 0;
    padding-right: 20px;
    margin-left: 2px;
}

.breadcrumbs a.active,
.breadcrumbs a:hover {
    background: #333;
    background: linear-gradient(#333, #000);
}

.breadcrumbs a.active:after,
.breadcrumbs a:hover:after {
    background: #333;
    background: linear-gradient(135deg, #333, #000);
}

.breadcrumbs a:first-child,
.breadcrumbs a:first-child:active {
    pointer-events: none;
    background: #333;
    background: linear-gradient(#555, #000);
    cursor: default;
}

.breadcrumbs a:last-child,
.breadcrumbs a:last-child:active {
    pointer-events: none;
    background: #333;
    background: linear-gradient(#000, #555);
    cursor: default;
}

.breadcrumbs a:first-child:after,
.breadcrumbs a.active:after {
    background: #333;
    background: linear-gradient(135deg, #555, #000);
    cursor: default;
}

.breadcrumbs a:after {
    content: '';
    position: absolute;
    top: 0;
    right: -18px;

    width: 36px;
    height: 36px;

    transform: scale(0.707) rotate(45deg);

    z-index: 1;

    background: #666;
    background: linear-gradient(135deg, #666, #333);

    box-shadow:
        2px -2px 0 2px rgba(0, 0, 0, 0.4),
        3px -3px 0 2px rgba(255, 255, 255, 0.1);

    border-radius: 0 5px 0 50px;
}

.breadcrumbs a:last-child:after {
    content: none;
}
