html,
body {
    color: #444;
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Raleway', sans-serif;
}

h1.bt,
h2.bt,
h3.bt,
h4.bt,
h5.bt,
h6.bt {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px dotted #e5e5e5;
}

h1.bb,
h2.bb,
h3.bb,
h4.bb,
h5.bb,
h6.bb {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dotted #e5e5e5;
}

a {color: #8ea548; text-decoration: none;}

a:hover,
a:focus {
    color: #6d8427;
    text-decoration: underline;
}

a:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.red {
    color: #b62826;
}

.nobreak {
    white-space: nowrap;
}


/* Navbar */

nav.top-nav {
    color: #fffde7;
    margin-bottom: 0;
    border-radius: 0;
}

.navbar-brand {
    font-size: 18px;
}

ul.sub-menu {
    list-style: none;
    height: 40px;
    line-height: 40px;
    background: #e2e2e2;
    border-top: 1px solid #f5f5f5;
}

ul.sub-menu li {
    float: left;
    display: inline-block;
}

ul.sub-menu li a {
    padding: 10px 20px;
}

ul.sub-menu li.active {
    background: #63b76c;
}

ul.sub-menu li.active a {
    color: #fff;
}


/* Tables */

td.prices {
    white-space: nowrap!important;
}


/* Forms */

.input-mini {
    width: 60px!important;
}

.input-small {
    width: 90px!important;
}

.input-medium {
    width: 150px!important;
}

.input-large {
    width: 210px!important;
}

.input-xlarge {
    width: 270px!important;
}

.input-xxlarge {
    width: 530px!important;
}


/* Grid */

.container.media_pages {
    max-width: 1020px;
}

.gutter-10.row {
    margin-right: -5px;
    margin-left: -5px;
}

.gutter-10>[class^="col-"],
.gutter-10>[class^=" col-"] {
    padding-right: 5px;
    padding-left: 5px;
}


/* Buttons */

.btn-primary {
    color: #fff;
    background-color: #A1B463;
    border-color: #94a54c
}

.btn-primary:focus,
.btn-primary.focus {
    color: #fff;
    background-color: #8c9958;
    border-color: #92a053
}

.btn-primary:hover {
    color: #fff;
    background-color: #8c9958;
    border-color: #96aa41
}

.btn-primary:active,
.btn-primary.active,
.open>.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #8c9958;
    border-color: #96aa41
}

.btn-primary:active:hover,
.btn-primary.active:hover,
.open>.dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open>.dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open>.dropdown-toggle.btn-primary.focus {
    color: #fff;
    background-color: #96aa41;
    border-color: #92a053
}

.btn-primary:active,
.btn-primary.active,
.open>.dropdown-toggle.btn-primary {
    background-image: none
}

.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
    background-color: #A1B463;
    border-color: #94a54c
}

.btn-primary .badge {
    color: #A1B463;
    background-color: #fff
}

.btn-link {
    color: #333333;
}

.btn-link:hover {
    color: #8c9958;
}

/*.thumbnail select.dropdown {
	font-size: 12px!important;
    padding: 5px 1px;
    line-height: 1.5;
    border-radius: 3px;
}*/


/* Pagination */

ul.pagination {
    z-index: 0;
}

ul.pagination a {
    color: #333333;
}

ul.pagination>.active>a,
ul.pagination>.active>span,
ul.pagination>ul.active>a:hover,
ul.pagination>.active>span:hover,
ul.pagination>.active>a:focus,
ul.pagination>.active>span:focus {
    background-color: #A1B463;
    border-color: #A1B463;
    color: #ffffff;
}


/* Navigation */

.patterns-filter {
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

ul.nav-pills.patterns-filter li a {
    color: #666;
}

.nav-tabs {
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.nav-tabs>li {
    float: left;
    margin-bottom: 20px;
}

.nav-tabs>li>a {
    margin-top: 4px;
    padding-top: 6px;
    padding-bottom: 6px;
    line-height: 2.0825;
    border: 1px solid #ddd;
    border-radius: 4px 4px 0 0;
    background-color: #eee;
}

.nav-tabs>li>a:hover {
    outline: none;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 0;
    color: #555;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-bottom-color: 2px #ffffff;
    cursor: default;
    outline: none;
    -webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease
}

.nav-tabs.nav-justified {
    width: 100%;
    border-bottom: 0
}

.nav-tabs.nav-justified>li {
    float: none
}

.nav-tabs.nav-justified>li>a {
    text-align: center;
    margin-bottom: 5px
}

.nav-tabs.nav-justified>.dropdown .dropdown-menu {
    top: auto;
    left: auto
}

@media (min-width:768px) {
    .nav-tabs.nav-justified>li {
        display: table-cell;
        width: 1%;
        margin: 0;
    }
    .nav-tabs.nav-justified>li>a {
        margin-bottom: 0
    }
}

.nav-tabs.nav-justified>li>a {
    margin-right: 0;
    border-radius: 4px
}

.nav-tabs.nav-justified>.active>a,
.nav-tabs.nav-justified>.active>a:focus,
.nav-tabs.nav-justified>.active>a:hover {
    border: 1px solid #ddd
}

@media (min-width:768px) {
    .nav-tabs.nav-justified>li>a {
        border-bottom: 1px solid #ddd;
        border-radius: 4px 4px 0 0
    }
    .nav-tabs.nav-justified>.active>a,
    .nav-tabs.nav-justified>.active>a:focus,
    .nav-tabs.nav-justified>.active>a:hover {
        border-bottom-color: #fcfcfc
    }
}

.nav-pills>li {
    float: left
}

.nav-pills>li>a {
    border-radius: 4px
}

.nav-pills>li+li {
    margin-left: 2px
}

.nav-pills>li.active>a,
.nav-pills>li.active>a:focus,
.nav-pills>li.active>a:hover {
    color: #fff;
    background-color: #63b76c
}

.nav-justified>li,
.nav-stacked>li {
    float: none
}

.nav-stacked>li+li {
    margin-top: 2px;
    margin-left: 0
}

.nav-justified {
    width: 100%
}

.nav-justified>li>a {
    text-align: center;
    margin-bottom: 5px
}

.nav-justified>.dropdown .dropdown-menu {
    top: auto;
    left: auto
}

@media (min-width:768px) {
    .nav-justified>li {
        display: table-cell;
        width: 1%
    }
    .nav-justified>li>a {
        margin-bottom: 0
    }
}

.nav-tabs-justified {
    border-bottom: 0
}

.nav-tabs-justified>li>a {
    margin-right: 0;
    border-radius: 4px
}

.nav-tabs-justified>.active>a,
.nav-tabs-justified>.active>a:focus,
.nav-tabs-justified>.active>a:hover {
    border: 1px solid #ddd
}

@media (min-width:768px) {
    .nav-tabs-justified>li>a {
        border-bottom: 1px solid #ddd;
        border-radius: 4px 4px 0 0
    }
    .nav-tabs-justified>.active>a,
    .nav-tabs-justified>.active>a:focus,
    .nav-tabs-justified>.active>a:hover {
        border-bottom-color: #fcfcfc
    }
}

.nav-tabs .dropdown-menu {
    margin-top: -1px;
    border-top-right-radius: 0;
    border-top-left-radius: 0
}

.nav-tabs.nav-stacked {
    border-bottom: 0
}

.nav-tabs.nav-stacked>li {
    margin-bottom: 5.75px;
    border: 1px solid #ededed;
    border-bottom: 1px solid #d1d1d1
}

.nav-tabs.nav-stacked>li>a {
    margin: 0;
    border: 0;
    border-left: 5px solid #ddd;
    background-color: #fff;
    padding: 14px 18px;
    border-radius: 0;
    -webkit-transition: background .3s ease-out;
    -o-transition: background .3s ease-out;
    transition: background .3s ease-out
}

.nav-tabs.nav-stacked>.active>a,
.nav-tabs.nav-stacked>.active>a:focus,
.nav-tabs.nav-stacked>.active>a:hover,
.nav-tabs.nav-stacked>li>a:focus,
.nav-tabs.nav-stacked>li>a:hover {
    color: #fff;
    padding: 14px 18px;
    border: 0;
    border-left: 5px solid #418d49;
    background-color: #63b76c;
    z-index: 2;
    -webkit-transition: background .05s ease;
    -o-transition: background .05s ease;
    transition: background .05s ease
}

.nav-list {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 0
}

.nav-list .nav-header {
    display: block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.666;
    color: #777;
    text-transform: uppercase
}

.nav-list li+.nav-header {
    margin-top: 9px
}

.nav-list .nav-header,
.nav-list>li>a {
    margin-left: -15px;
    margin-right: -15px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
    padding: 8px 25px
}

.nav-list>li>a:focus,
.nav-list>li>a:hover {
    background-color: transparent
}

.nav-list>.active>a,
.nav-list>.active>a:focus,
.nav-list>.active>a:hover {
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
    background-color: #63b76c
}

.nav-list [class*=" icon-"],
.nav-list [class^=icon-] {
    margin-right: 2px
}

.nav-list .divider {
    height: 1px;
    margin: 10.5px 0;
    overflow: hidden;
    background-color: #e5e5e5
}

.tabbable:after,
.tabbable:before {
    content: " ";
    display: table
}

.tabbable:after {
    clear: both
}

.tab-content {
    overflow: auto;
    padding: 20px;
    border-style: solid;
    border-color: #ddd;
    border-width: 0 1px 1px
}

.tabs-below>.nav-tabs,
.tabs-left>.nav-tabs,
.tabs-right>.nav-tabs {
    border-bottom: 0
}

.pill-content>.pill-pane,
.tab-content>.tab-pane {
    display: none
}

.pill-content>.active,
.tab-content>.active {
    display: block
}

.tabs-below .tab-content {
    border-width: 1px 1px 0
}

.tabs-below>.nav-tabs {
    border-top: 1px solid #ddd
}

.tabs-below>.nav-tabs>li {
    margin-top: -1px;
    margin-bottom: 0
}

.tabs-below>.nav-tabs>li>a {
    margin-top: 0;
    margin-bottom: 4px;
    border-radius: 0 0 2px 2px
}

.tabs-below>.nav-tabs>.active>a,
.tabs-below>.nav-tabs>.active>a:focus,
.tabs-below>.nav-tabs>.active>a:hover {
    margin-bottom: 0;
    border-color: transparent #ddd #ddd #ddd
}

.scrollable-menu {
    height: auto;
    max-height: 60vh;
    overflow-x: hidden;
    overflow-y: scroll;
}


/* Footer */

footer {
    margin-top: 20px;
}

.page_footer {
    background: #f5f5f5;
    padding: 5px 10px;
}


/* Pattern Overviews */

.media-linked {
    padding-bottom: 15px;
}


/* margin for the row with linked patterns */

.media-linked .pattern {
    text-align: center;
}

.row.publication.republish {
    background: #f5f5f5;
}


/* show a different colour for patterns published more than once */


/* Pattern */

.patterns {
    margin-top: 20px;
}

.patterns .pattern {
    position: relative;
}

.patterns .pattern .pattern-type {
    position: absolute;
    top: 3%;
    right: 10%;
    width: 20px;
    height: 20px;
}

figure.thumbnail {
    padding: 0!important;
    border-color: #e5e5e5;
    border-radius: 0;
}

.pattern .caption {
    font-size: 12px;
    overflow: hidden;
}


/* hides long yarn names */

.pattern .caption small {
    white-space: nowrap;
}

.pattern .caption .pattern-links {
    min-height: 90px!important;
}

@media only screen and (max-width: 480px) {
    .pattern .caption {
        font-size: 11px;
    }
}
.thumbnail {
    border: none;
	max-width: 270px;
}
