/** Fonts **/

@import url('https://fonts.googleapis.com/css?family=Lato:400,600,700&subset=latin-ext');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');

/** Inspirations **/

@import url('https://fonts.googleapis.com/css?family=Parisienne');

/** Titles **/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&display=swap');
*,
html,
body {
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    color: #444;
    overflow-x: hidden;
    /* Prevent scroll on narrow devices */
    height: 100%;
    font-weight: 400;
    font-size: 14px;
}

body.activity_bg {
    background: url('/img/banner/header_bg.jpg') no-repeat center top;
}


/** Headings, gral. **/

h1,
h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

h1 a,
h2 a {
    font-family: 'Playfair Display', serif;
    color: #000000;
}

h3,
h4,
h5,
h6 {
    font-family: 'PT Sans', sans-serif;
    vertical-align: baseline;
    color: #333333;
    font-weight: 400;
}

h3 a,
h4 a,
h5 a,
h6 a {
    color: #333333;
}

h1 {
    font-size: 25px;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 17px;
    font-weight: 600;
}

h4 {
    font-size: 15px;
}

h5 {
    font-size: 12px;
}

h6 {
    font-size: 10px;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
    font-size: 60%;
}

h1.bt,
h2.bt,
h3.bt,
h4.bt,
h5.bt,
h6.bt {
    padding-top: 20px;
    margin-top: 10px;
    border-top: 1px dotted #e5e5e5;
}

h3.bt-2 {
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px dotted #ccc;
}

h1.bb,
h2.bb,
h3.bb,
h4.bb,
h5.bb,
h6.bb {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dotted #e5e5e5;
}

h1.script,
h2.script,
h3.script,
h4.script,
h5.script,
h6.script {
    font-family: 'Parisienne', cursive!important;
    font-weight: normal;
}

h1.script {
    font-size: 35px;
}

h2.script {
    font-size: 28px;
}

h1.title,
h2.title,
h3.title,
h4.title,
h5.title,
h6.title {
    border-top: 1px dotted #e2e2e2;
    border-bottom: 1px dotted #e2e2e2;
    text-align: center;
}

h1.title {
    padding: 15px 0;
}

h2.title {
    padding: 10px 0;
}

h3.title {
    padding: 5px 0;
}

h3.browse {
    background: url('/img/icon/magnifier.png') no-repeat left center;
    padding-left: 20px;
}

h2.order-yarn {
    height: 80px;
    background: url('/img/retailers/order-yarn.jpg') no-repeat right bottom;
    padding-top: 30px;
    margin-top: 0;
}

p strong {
    font-weight: 700 !important;
}


/** Clear styles **/

.warning-header {
    color: #333!important;
    background-color: #f5f5f5!important;
    padding: 20px !important;
    font-size: 14px;
    text-align: center;
    margin: 0 -15px !important;
    border-radius: 0 !important;
    border: none !important;
}

.clear {
    clear: both;
}

.clear-right {
    clear: right;
}

.clear-left {
    clear: left;
}


/** Hidden **/

@media only screen and (min-width: 240px) and (max-width: 767px) {
    .resp_hidden {
        display: none!important;
    }
}


/** Links **/

a {
    color: #666;
}

a:hover,
a:focus {
    color: #333333;
    text-decoration: underline;
}

a.comment {
    background: url('/img/icon/balloon-small.png') no-repeat left center;
    padding-left: 20px;
}

a.price-tag {
    padding-left: 16px;
    background: url('/img/icon/price-tag.png') no-repeat left 5px;
}

.disabled {
    pointer-events: none;
    opacity: 0.6;
}

.well {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.well-custom {
    max-width: 500px;
}

.table-s {
    width: auto;
}


/** Other gral. styles **/

.navbar-brand>img {
    height: 25px;
}

hr.div {
    height: 1px;
    border: 0;
    background: #e2e2e2;
    color: #e2e2e2;
    clear: both;
    margin: 0 0 15px 0;
    padding: 0;
}

.hidden-mobile {
    display: inline-block;
}

@media (max-width: 767px) {
    .hidden-mobile {
        display: none !important;
    }
}

.small {
    font-size: 10px;
}

.medium {
    font-size: 14px;
    line-height: 22px;
}

.crossed {
    text-decoration: line-through;
}

.underlined {
    text-decoration: underline!important;
    color: #663;
}

.border-1 {
    border: .1rem solid white;
}

.border-2 {
    border: 5px solid white;
}

.row-0 {
    margin-right: -30px;
    margin-left: -30px;
}

.refs {
    text-transform: uppercase;
    line-height: 50px;
}

.red {
    color: #b62826!important;
}

.blue {
    color: #0286b5!important;
}

.gray-darker {
    color: #222222;
}

.gray-dark {
    color: #333333;
}

.gray {
    color: #555555;
}

.gray-light {
    color: #999999;
}

.gray-lighter {
    color: #eeeeee;
}

.black {
    color: #000;
}

.newheading {
    text-align: center;
    padding: 3rem 0 1rem 0;
}

.newheading-s {
    text-align: center;
    padding: 2rem 0 0 0;
}

@media only screen and (min-width: 240px) and (max-width: 767px) {
    .newheading {
        text-align: center;
        padding: .5rem 1rem 1rem 1rem;
    }
}

.seemore {
    text-align: center;
    padding: 2rem 0 3rem 0;
}

.seeall {
    text-align: center;
    padding: 1rem 0 .5rem 0;
}

.no-blur {
    filter: blur(0) !important;
    -webkit-filter: blur(0) !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    image-rendering: pixelated !important;
    image-rendering: -webkit-optimize-contrast !important;
}

.heart {
    background: url(/img/icon/heart-small.png) no-repeat left center;
    padding-left: 16px;
    font-size: 12px;
}

.text-inspiration {
    font-style: italic;
    text-align: center;
    margin: 0 auto 20px auto;
    max-width: 500px;
}

blockquote.share {
    margin: 5px 0;
    padding: 10px 15px;
    clear: both;
    -moz-box-shadow: 1px 1px 0 #e6e6e6;
    -webkit-box-shadow: 1px 1px 0 #e6e6e6;
    box-shadow: 1px 1px 0 #e6e6e6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color='#e6e6e6')";
    filter: progid: DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color='#e6e6e6');
    zoom: 1;
    display: block;
    background: #e5e5e5;
    border: 1px solid #ccc;
    color: #333;
}

blockquote.info {
    margin: 5px 0;
    padding: 13px 10px 13px 32px;
    clear: both;
    -moz-box-shadow: 1px 1px 0 #e6e6e6;
    -webkit-box-shadow: 1px 1px 0 #e6e6e6;
    box-shadow: 1px 1px 0 #e6e6e6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color='#e6e6e6')";
    filter: progid: DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color='#e6e6e6');
    zoom: 1;
    display: block;
    background: url(/img/icon/icon-info.png) no-repeat 10px 8px #E9F3F8;
    border: 1px solid #BBD7E4;
    color: #333;
}

blockquote.price-info {
    margin: 5px 0;
    padding: 13px 10px;
    clear: both;
    font-size: 15px;
    border: 1px solid #ccc;
    background: #f5f5f5;
}

blockquote.info.warning {
    clear: both;
    display: block;
    background: url(/img/icon/icon-warning.png) no-repeat 10px 8px #cc3333;
    border: 1px solid #9a0000;
    color: #fff;
}

.alert.alert-success {
    background: #fafbf9;
    border-color: #fff;
    color: #1c3c20;
    border-radius: 0;
}


/* bootstrap tweak */


/*Image Styles */

img.banner {
    background: #fff;
    padding: 5px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    box-shadow: 1px 1px 0 #e6e6e6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color='#e6e6e6')";
    filter: progid: DXImageTransform.Microsoft.Shadow(Strength=1, Direction=135, Color='#e6e6e6');
}

img.outline {
    padding: 5px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
}

img.img-title {
    margin-top: 10px;
    margin-bottom: 10px;
}

img.pt_thumb {
    display: block;
    position: relative;
    border: 3px solid #fff;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .25), transparent 0 0 0, transparent 0 0 0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .25), transparent 0 0 0, transparent 0 0 0;
}

.media {
    position: absolute;
    top: 0;
    background-color: #f5f5f5;
}
.media-2 {
    background-color: transparent;
    min-height: 200;
}

.ratio-2-3 {
    position: relative;
    width: 100%;
    padding-top: 153%;
    background-color: #f5f5f5;
}

.ratio-5-4 {
    position: relative;
    width: 100%;
    padding-top: 125%;
    background-color: #f5f5f5;
    overflow: hidden;
}

.caption-img-t {
    padding: 10px 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #f5f5f5;
    padding-bottom: 20px;
    text-align: center;
}

.caption-img-l {
    padding: 10px 15px;
    background: #f5f5f5;
    margin-bottom: 20px;
    text-align: center;
    height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
}

.caption-img1 {
    padding: 10px 10px 0 10px;
    background: #f5f5f5;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    height: 38px;
}

.caption-img2 {
    padding: 0 10px 10px 10px;
    background: #f5f5f5;
    margin-bottom: 20px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    height: 28px;
}

.caption-img small {
    font-weight: 600;
}

.mb-0 {
    margin-bottom: 0;
}

.mb {
    margin-bottom: 10px;
}

.pt {
    padding-top: 10px;
}

.pb {
    padding-bottom: 15px;
}

.mt {
    margin-top: 15px;
}

.mt-2 {
    margin-top: 20px;
}

.pt-2 {
    padding-top: 20px;
}

.pt-5 {
    padding-top: 50px;
}

@media screen and (max-width: 767px) {
    .img-xs-right {
        float: right!important;
    }
    .mt {
        margin: 0;
    }
}


/* Follow icons */

ul.thumbs {
    list-style: none;
    margin: 5px 0;
    padding: 0;
}

ul.thumbs li {
    display: block-inline;
    float: left;
}

ul.thumbs li img {
    max-width: 50px;
}

ul.follow-us {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.follow-us li {
    display: block-inline;
    margin: 2px;
    background: #A1B463;
    float: left;
}

ul.follow-us li img {
    width: 16px;
    margin: 8px;
    color: #fff;
    line-height: 16px;
}

ul.follow-us.xs li {
    background: #666;
}

ul.follow-us.xs li img {
    width: 12px;
    margin: 5px;
    color: #fff;
    line-height: 12px;
}

ul.follow-us.ret {
    display: block;
    clear: both;
    margin-top: 2px;
    margin-bottom: 8px;
}

ul.follow-us.ret li {
    background: #666;
    border-radius: 0;
    display: block-inline;
    margin: 0 2px 5px 0;
}

ul.follow-us.ret li img {
    width: 12px;
    margin: 8px;
    color: #fff;
    line-height: 12px;
}


/* Pop ups */

.row.popup {
    max-width: 550px;
    margin: 0 auto;
    background: #fff;
    padding: 10px;
}

#yarnCarousel .carousel-control {
    width: 10%;
    font-size: 16px;
}


/*div.easter-popup {width: 100%; float: left;  margin: 0; background: url('/img/holidays/bg_error_easter.jpg') no-repeat left top!important; min-height: 200px;}
	div.easter-popup p {font-size: 14px; margin-top: 50px; color: #333333;}*/

body.website.shipping {
    min-height: 395px;
    background: #fff url('/img/retailers/shipping_bg.jpg') no-repeat right bottom!important;
}

body.website.shipping .row.popup {
    background: none!important;
}


/********* Tables - gral classes *********/

td.thumb {
    max-width: 70px;
}

td.thumb-2 {
    max-width: 120px;
}

td.thumb-1 {
    width: 120px;
}

td.empty {
    background: #e8e8e8;
}

tr.header th {
    vertical-align: bottom!important;
}

td.prices {
    white-space: nowrap;
}

.table tbody>tr>td.vert-align {
    vertical-align: middle;
}

table.lines {
    width: 100%;
    border-collapse: collapse;
}

table.lines,
table.lines th,
table.lines td {
    border: 1px solid #ccc;
}

table.lines td.text-right {
    text-align: right;
}

table.borderless td,
table.borderless th {
    border: none !important;
}

#diag_symbols {
    font-size: 14px;
    line-height: 1.7;
}


/* table with symbols in pattern */

#diag_symbols tr td {
    vertical-align: top;
}


/* table with symbols in pattern */

#diag_symbols tr td.symbol {
    text-align: right;
}


/* table with symbols in pattern */

table.table td.symbol {
    text-align: right;
    min-width: 50px!important;
}


/* table with symbols in pattern */


/* 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;
}

.form-control {
    border: 1px solid #ccc;
    box-shadow: none !important;
}

.form-control:hover,
.form-control:focus {
    border-color: #bbb;
    box-shadow: none !important;
}


/********* Intro page *********/

.intro-main {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #F2F2F2;
    transition: 0.5s;
    font-family: 'Lato', sans-serif;
}

.intro-main h4 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 15px;
}

.intro-main .left-section {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.intro-main .right-section {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
}

.intro-main .right-section .grid-content {
    padding: 20px;
}

.intro-main .top-section {
    width: 100%;
    height: 25%;
    display: block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

.intro-main .visible-xs .top-section {
    background-position: center top;
}

.intro-main .down-section {
    width: 100%;
    position: absolute;
    top: 25%;
    display: block;
}

.intro-main .down-section .grid-content {
    padding: 0 20px;
}

.intro-main .grid-content h2.script2 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 17px;
    margin-top: -8px!important;
}

.intro-main .list-langs {
    list-style: none;
}

.intro-main ul.list-langs {
    margin: 0!important;
    padding: 0!important;
}

.intro-main ul.list-langs li {
    padding: 2px;
}

.intro-main ul.list-langs li:hover {
    background: #fff5c0;
}

.intro-main ul.list-langs a:hover {
    text-decoration: none;
}

.intro-main .section-spacer {
    height: 40px;
}

.intro-main .grid-footer {
    color: #666;
    padding: 10px 0;
    border-top: 1px dotted #e5e5e5;
    margin-top: 20px;
}

.intro-main .grid-footer a {
    color: #666;
}


/********* Main layout *********/

#all {
    background: none;
    width: 100%;
    float: left;
    clear: both;
    padding: 0px;
    margin: 0px;
}


/*#all, body.admin_full #all {background: none;}*/

#site_wrapper {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0;
    clear: both;
    display: block;
}


/* Header */


/* Ad at the top of the page - we use it for SALES and COLLECTIONS, or hide it and remove the height */

#top-warning{
    margin: 0;
    background: #e6e6e6;
    color: #666;
    padding: 10px;
    font-size: 12px;
    text-align: center;
}

#top-ad a {
    color: #fff;
}

#top-ad a.cc {
    background: url('/img/holidays/cc_leaf.png') no-repeat left center;
    padding-left: 35px;
}

#top-ad a.sale {
    background: url('/img/icon/offer.png') no-repeat left center;
    padding-left: 20px;
    line-height: 20px;
}

#top-ad .row.top_nav {
    max-width: 1020px;
    margin: 0 auto;
}
#top-ad .row.top_nav {
    max-width: 1020px;
    margin: 0 auto;
}
#top-ad .row.top_nav {
    max-width: 1020px;
    margin: 0 auto;
}


/* Top navbar with language + favs + newsletter */

#top-nav {
    margin: 0;
    padding: 0;
    background: none;
    border-bottom: 1px dotted #e5e5e5;
}

#top-nav .row.top_nav {
    max-width: 1020px;
    margin: 0 auto;
}

#top-nav .row.top_nav .top-links {
    font-size: 10px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1px;
}

#top-nav .row.top_nav .top-links #MyModal {
    line-height: normal;
}

#top-nav .row.top_nav .top-links .item {
    display: inline-block;
    padding: 0 10px;
    margin: 0;
    height: 35px;
    border-left: 1px dotted #e5e5e5;
    border-right: 1px dotted #e5e5e5;
    line-height: 35px;
    box-sizing: border-box;
}

#top-nav .row.top_nav .top-links .item-r {
    display: inline-block;
    padding: 0 10px;
    margin: 0;
    height: 35px;
    border-right: 1px dotted #e5e5e5;
    line-height: 35px;
    box-sizing: border-box;
}

#top-nav .row.top_nav select {
    font-size: 10px!important;
    border: 0;
}

#top-nav .row.top_nav .top-links a {
    color: #444;
}


/* Header div */


/*#site_wrapper .row.header {background: url('/img/home/header_pic.jpg') no-repeat center top;}*/


/* we use this for custom header events */


/*#site_wrapper .row.header.halloween {background: url('/img/holidays/halloween-header.jpg') no-repeat center top;}*/


/*#site_wrapper .row.header.christmas-workshop {background: url('/img/holidays/christmas-workshop-header.jpg') no-repeat center top;}
	#site_wrapper .row.header.christmas-workshop .click {position: absolute; left: 30%; padding-top: 10px;}*/

#site_wrapper .row.header.christmas-calendar {
    background: url('/img/holidays/christmas-calendar-header.jpg') no-repeat center top;
}

#site_wrapper .row.header.christmas-calendar .click {
    position: absolute;
    left: 30%;
    padding-top: 10px;
}

#site_wrapper .row.header .top_search-box {
    margin: 10px 0;
    padding: 8px 15px;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 0px #e5e5e5;
}

#site_wrapper .row.header .top_search-box.extra-options {
    position: absolute;
    z-index: 1009;
    right: 0;
}

.top_search {
    padding: 40px 30px 0 0;
}

.top_search_link {
    margin-top: 10px;
    padding: 0;
}

@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .top_search {
        padding: 30px 30px 0 0;
    }
}


/*#site_wrapper .row.header .top_search-box.extra-options #SearchTipModal_header {
    z-index: 9999;
}*/

#site_wrapper .row.header .top_search-box input,
#site_wrapper .row.header .top_search-box select {
    border: 0;
}

#site_wrapper .row.header .top_search-box .form-group {
    padding-bottom: 0;
    margin-bottom: 5px;
}

#site_wrapper .row.header .top_search-box .btn {
    font-size: 11px;
    border: 0!important;
    box-shadow: 2px 2px 0 #e5e5e5;
}

.header-gap {
    height: 100px;
}


/* we use it on 404 pages */

@media only screen and (min-width: 240px) and (max-width: 767px) {
    #site_wrapper .row.header {
        background: none!important;
    }
}

.modal-content.search-tip {
    font-family: 'PT Sans', sans-serif;
    font-size: 13px;
}


/* Didn't we replace this with a popup? 

.modal-content.lang-switch {
    font-size: 12px;
}


 we need to remove this modal and change it for something else 

.modal-content.lang-switch a.list-group-item {
    padding: 3px 5px;
    border: 0;
    border-bottom: 1px dotted #ccc;
    border-radius: 0;
    margin-bottom: 1px;
}

.modal-content.lang-switch .list-group-item.active {
    color: #fff;
    background-color: #A1B463;
    border-color: #94a54c;
}
*/


/* sidebar */

ul.sidebar {
    list-style: none;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
}

ul.sidebar li {
    padding: 5px;
    margin: 0;
    border-bottom: 1px dotted #ccc;
}

ul.sidebar li ul {
    list-style: none;
    padding: 0 0 5px 0;
    margin: 0;
    font-size: 11px;
    text-transform: none;
}

ul.sidebar li ul li {
    padding: 5px;
    margin: 1px 0;
    border-bottom: 0;
    background: #f5f5f5
}


/* Footer */

#footer_wrapper {
    width: 100%;
    padding: 0;
    clear: both;
    display: block;
    font-size: 12px;
}

#footer_wrapper .row.footer {
    max-width: 1020px;
    margin: 0 auto;
    padding: 10px;
    color: #899199;
}

#footer_wrapper .row.footer a {
    color: #899199;
}

@media only screen and (min-width: 240px) and (max-width: 767px) {
    #footer_wrapper {
        margin: 0;
        padding: 0;
    }
}


/* Sidebar - mobile collapse for pattern search and video search filters - we need to change to an horizontal filter system */

@media screen and (min-width: 768px) {
    .row-offcanvas {
        position: relative;
        -webkit-transition: all .25s ease-out;
        -moz-transition: all .25s ease-out;
        transition: all .25s ease-out;
        margin-top: 20px;
    }
    .row-offcanvas-right {
        right: 25%;
    }
    .row-offcanvas-left {
        left: 25%;
    }
    .row-offcanvas-right .sidebar-offcanvas {
        right: -25%;
        /* 3 columns */
        background-color: rgb(255, 255, 255);
    }
    .row-offcanvas-left .sidebar-offcanvas {
        left: -25%;
        /* 3 columns */
        background-color: rgb(255, 255, 255);
    }
    .row-offcanvas-right.active {
        right: 0;
        /* 3 columns */
    }
    .row-offcanvas-left.active {
        left: 0;
        /* 3 columns */
    }
    .row-offcanvas-right.active .sidebar-offcanvas {
        background-color: rgb(254, 254, 254);
    }
    .row-offcanvas-left.active .sidebar-offcanvas {
        background-color: rgb(254, 254, 254);
    }
    .row-offcanvas .main-content {
        width: 75%;
        /* 9 columns */
        -webkit-transition: all .25s ease-out;
        -moz-transition: all .25s ease-out;
        transition: all .25s ease-out;
        min-height: 900px!important;
    }
    .row-offcanvas.active .main-content {
        width: 100%;
        /* 12 columns */
    }
    .sidebar-offcanvas {
        position: absolute;
        top: 0;
        width: 25%;
        /* 3 columns */
    }
}

@media screen and (max-width: 767px) {
    #site_wrapper .row.header .top_search-box.extra-options {
        position: static;
    }
    .row-offcanvas {
        position: relative;
        -webkit-transition: all .25s ease-out;
        -moz-transition: all .25s ease-out;
        transition: all .25s ease-out;
    }
    .row-offcanvas-right {
        right: 0;
    }
    .row-offcanvas-left {
        left: 0;
    }
    .row-offcanvas-right .sidebar-offcanvas {
        right: -50%;
        /* 6 columns */
    }
    .row-offcanvas-left .sidebar-offcanvas {
        left: -50%;
        /* 6 columns */
    }
    .row-offcanvas-right.active {
        right: 50%;
        /* 6 columns */
    }
    .row-offcanvas-left.active {
        left: 50%;
        /* 6 columns */
    }
    .sidebar-offcanvas {
        position: absolute;
        top: 0;
        width: 50%;
        /* 6 columns */
    }
    #site_wrapper .row.header .top_search-box {
        margin: 0;
    }
}


/**** More bootstrap layout fixes ****/


/* rows customization */

.row.bt {
    border-top: 1px solid #f5f5f5;
}

.row.bb {
    border-bottom: 1px solid #f5f5f5;
}

.row.no-pad {
    margin-right: 0;
    margin-left: 0;
}

.row.no-pad>[class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}

.row.divider {
    padding: 0;
    border-top: 1px dotted #dedede;
    margin: 10px 0;
}


/* row-col spacing */

.padding-0 {
    padding: 0!important;
}

.padding-right-0 {
    padding-right: 0!important;
}

.padding-sm {
    padding: 2px!important;
}

.padding-md {
    padding: 5px!important;
}


/* nav-tabs */

.nav-tabs {
    border-bottom: 1px solid #ddd
}

.nav-tabs>li {
    float: left;
    margin-bottom: -1px
}

.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: #fcfcfc;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
    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%
    }
    .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: #A1B463
}

.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: #A1B463;
    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
}


/* list styles */

ul.list-group.cats {
    margin: 0;
    list-style: none;
    border: 0;
}

ul.list-group.cats li.list-group-item {
    padding: 3px 10px 5px 10px;
    border-color: #ddd;
    background: #f5f5f5;
    margin-bottom: 1px;
}

ul.list-group.cats li.list-group-item.sale {
    background: #f4b0b0;
}


/* market */

ul.list-group.market .list-group-item {
    border: 0;
    padding: 5px 0;
    border-top: 1px dotted #d5d5d5;
}

.list-group-item {
    color: #333333;
}


/* video */

.list-group-item.sm {
    padding: 1px 15px;
    color: #666666;
    border-top-style: dotted;
    border-top-color: #f2f2f2;
}

.list-group-item.md {
    padding: 5px 15px;
    color: #666666;
    border-top-style: dotted;
    border-top-color: #f2f2f2;
}


/* Bootstrap menu fixes */

div.navbar {
    /*font-family: 'Slabo 27px', serif;*/
    z-index: 999;
    border: 0;
    background: transparent;
    border-top: 1px dotted #e5e5e5;
    border-bottom: 1px dotted #e5e5e5;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    box-sizing: border-box;
}

div.navbar li {
    font-size: 13px!important;
    color: #444!important;
}

div.navbar li a {
    color: #444!important;
}

div.navbar li ul li {
    font-size: 12px!important;
    text-transform: none!important;
    color: #222!important;
}

div.navbar li.menu-sale a {
    color: #CC111A!important;
    text-shadow: 0px 1px 1px #ccc;
}

div.navbar .navbar-nav>.active>a,
div.navbar .navbar-nav>.active>a:hover,
div.navbar .navbar-nav>.active>a:focus {
    background: #fff;
    margin-top: -3px;
    border-top: 3px solid #A1B463;
}

div.navbar .navbar-nav>.open>a,
div.navbar .navbar-nav>.open>a:hover,
div.navbar .navbar-nav>.open>a:focus {
    background: #fff;
    margin-top: -3px;
    border-top: 3px solid #A1B463;
}

div.navbar .dropdown-menu {
    border: 0;
}

.navbar-collapse {
    max-height: 100vh !important;
}


/* Titles */

.title-banner {
    margin: 5px 0;
    border-radius: 8px;
    border: 1px solid #f5f5f5;
    padding: 3px;
}


/* Forms */

form.commentsp div.form-group input.form-control {
    width: 100%!important;
}


/* used in comment popups and suggest popups */

.btn-primary {
    color: #fff;
    background-color: #A1B463;
    border-color: #94a54c;
}

.btn-primary:hover {
    color: #fff;
    background-color: #8c9958!important;
    border-color: #96aa41;
}

.btn-primary:focus {
    color: #fff;
    background-color: #8c9958!important;
    border-color: #92a053;
}

.btn-primary:active,
.btn-primary.active,
.open>.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #8c9958;
    border-color: #96aa41;
}

.btn-black {
    background-color: #444;
    color: white;
}

.btn-black:focus,
.btn-black.focus {
    color: #fff;
    background-color: #000;
    border-color: #000
}

.btn-black:hover {
    color: #fff;
    background-color: #000;
    border-color: #000
}

.nav-pills>li>a.btn-black:hover {
    color: #fff;
    background-color: #000;
    border-color: #000
}

.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,
.btn-link:focus {
    color: #8c9958;
}

.label-primary {
    color: #fff;
    background-color: #A1B463;
    font-weight: normal;
}

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!important;
    border-color: #A1B463!important;
    color: #ffffff;
}

select.sortby {
    margin: 0 0 15px 0;
}

form.search-videos {
    background: #f8f8f8;
    padding: 10px 15px;
    margin: 0;
    margin-top: 16px;
}

form.search-videos h2 {
    padding: 0;
    margin: 5px 0;
    padding-left: 20px;
    background: url('/img/icon/magnifier.png') no-repeat left center;
}


/* Navigation Crumbs */

.crumbs {
    font-weight: 300;
    color: #777777;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.crumbs a {
    color: #777777;
}


/* Navigation Filters */

div.filters {
    font-size: 14px;
    margin: 15px 0;
    color: #666666;
}

.search-button {
    margin: 10px 0;
}

div.search-title-video {
    padding: 5px 8px;
    background: #f8f8f8;
    border-color: #edeff1;
    font-weight: 400;
    font-size: 12px;
    margin: 0;
    border-top: 2px solid #e5e5e5;
}

div.search-title-video a {
    text-align: none;
}

div.search-title {
    font-weight: 700;
    padding-top: 10px;
    padding-bottom: 10px;
}

div.search-title a.clear-sm {
    font-weight: 300;
    font-size: 10px;
}

div.filter {
    border-top: 3px solid #f5f5f5;
    padding-top: 10px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 10px;
    max-height: 150px;
}

div.filter-kw {
    border-top: 3px solid #f5f5f5;
    padding-top: 10px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 10px;
    max-height: 150px;
    overflow-y: scroll;
    margin-bottom: 5px;
}

div.filter-box {
    border-top: 3px solid #f5f5f5;
    padding-top: 10px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 10px;
    margin-bottom: 5px;
}

div.filter-kw .btn,
div.filter-box .btn {
    border-color: #e5e5e5!important;
    border-radius: 0!important;
    margin-bottom: 1px;
}

a.filter_thumb {
    margin: 0;
    padding: 0;
}


/* colour filters */

a.filter_thumb img {
    border-radius: 15px;
    border: 2px solid #fff;
}

a.filter_thumb.on img {
    border: 2px solid #eb74a2;
}

@media only screen and (min-width: 240px) and (max-width: 479px) {
    /*Navigation */
    .text-right .per-page {
        text-align: left!important;
    }
    .text-right .per-page button.btn.btn-sm {
        padding: 2px 5px!important;
    }
    ul.pagination.pagination-sm li a {
        padding: 3px 6px!important;
    }
}


/* Pages */


/* ---------------------------------------- home_ali.php ---------------------------------------------

.home-slide #NewsCarousel {
    position: relative;
}

.home-slide #NewsCarousel .carousel-caption {
    left: auto;
    width: auto;
    position: absolute;
    bottom: 20px;
    right: 10px;
    margin: 0;
    padding: 5px 20px;
    text-align: right;
}

.home-slide #NewsCarousel .carousel-caption h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: #fff;
    text-shadow: none;
    font-size: 22px;
    margin: 0;
    padding: 10px 0 5px;
    text-shadow: 0px 0px 3px #333;
}

.home-slide #NewsCarousel .carousel-caption p {
    color: #fff;
    text-shadow: none;
    font-size: 12px;
}

.home-slide #NewsCarousel .carousel-caption a {
    color: #fff!important;
}

.home-slide #NewsCarousel .carousel-indicators {
    bottom: 10px;
    left: 0;
    width: auto;
    padding: 5px 25px 5px 25px;
    margin-left: 0;
    margin-bottom: 0;
}

.home-slide #NewsCarousel .carousel-indicators li {
    border-radius: 0;
    width: 8px;
    height: 8px;
    background: #fff;
}

.home-slide #NewsCarousel .carousel-indicators .active {
    width: 10px;
    height: 10px;
    background: #A1B463;
    border-color: #A1B463;
}

.home-slide #NewsCarousel .carousel-inner>.item>a>img {
    display: block;
    height: auto;
    width: 100%;
}




.home-search {
    background: #f5f5f5;
    margin: 0 15px 0 15px;
}

.home-search form {
    padding: 5px 20px 20px;
}

.home-search form .radio-options {
    font-size: 11px;
    line-height: 16px;
    margin-top: 10px
}

.home-search form .radio-options input[type=radio] {
    font-size: 11px;
    margin: 0 3px;
    vertical-align: middle;
    padding: 3px 0;
}

.row.search form .radio-options label {
    margin: 0 5px 5px 0;
}


/* ------------------------------------ home_ali.php ------------------------------------------*/


/* home.php*/

.row.search-slide {
    background: #f5f5f5;
    margin: 10px 0 0 0;
}

.row.search-slide form.find-patterns {
    padding: 3px 15px 10px;
}

.row.search-slide form.find-patterns .btn {
    font-size: 11px;
    border: 0!important;
    box-shadow: 2px 2px 0 #e5e5e5;
}

.row.search-slide form.find-patterns .radio-options {
    font-size: 11px;
    padding: 3px 0;
    line-height: 16px;
    margin: 0 3px;
}

.row.search-slide form.find-patterns .radio-options input[type=radio] {
    font-size: 11px;
    padding: 0;
    margin: 0 3px;
    vertical-align: middle;
}

.row.search-slide form.find-patterns .radio-options label {
    margin: 0 5px 5px 0;
}

.news-bar {
    margin: 10px 0;
    padding: 3px 15px;
    background: #f8f8f8;
    height: 30px;
    border-top: 1px dotted #ccc;
    border-bottom: 1px dotted #ccc;
}

.label-cat {
    padding: 3px 6px;
    background: #333;
    font-size: 12px;
    color: #fff;
}

.heading {
    line-height: 40px;
    margin-top: 15px;
    margin-bottom: 10px;
    overflow: hidden;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e5e5e5;
}

.heading h1,
.heading h2 {
    float: left;
    font-weight: 300;
    padding-top: 10px;
}

.heading span {
    float: right;
    line-height: 40px;
    margin-bottom: 0;
    text-transform: none;
}

@media only screen and (min-width: 240px) and (max-width: 736px) {
    .heading small {
        display: inline-block;
    }
}


/* rows for titles */

.row.title {
    margin: 10px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.row.title h2 {
    padding: 5px 0;
    margin: 0;
    color: #333;
    float: left;
}

.row.title .see-all {
    text-align: right;
    font-size: 14px;
    padding: 0;
    margin: 0;
}

.row.title p {
    padding: 10px 0;
    margin: 0;
}

.row.title.yarn-thread a:hover h2 {
    text-decoration: underline!important;
}

.row.home {
    margin: 0;
}

@media only screen and (min-width: 240px) and (max-width: 767px) {
    .row.home .row {
        margin-right: -15px;
        margin-left: -15px;
    }
}

.intro-text {
    margin-top: 20px;
}

.intro-text p {
    margin: 5px 0;
    font-size: 12px;
}

.row.ads {
    margin: 0;
}

.row.feature {
    padding: 10px 0 25px 0;
    margin: 15px 0;
    background: #f5f5f5 url('/img/retailers/superstore_sm.png') no-repeat 3px -15px;
}

.row.feature h2 {
    font-family: 'Roboto Condensed', Verdana, Arial, Helvetica, sans-serif;
    padding: 0 0 0 35px;
}

.row.feature h3 {
    font-family: 'Roboto', Verdana, Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 13px!important;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.row.feature .superstore {
    height: 40px;
    text-align: center;
    padding: 20px 0;
}

.row.ads img {
    display: block;
    position: relative;
}

.row.browse-cats .cat {
    position: relative;
    text-align: center;
}

.row.browse-cats .cat .cat_img {
    z-index: 9;
    max-height: 200px;
    overflow: hidden;
}

.row.browse-cats .cat .cat_img img {
    max-width: 100%;
}

.row.browse-cats .cat .cat_name {
    background: #fff;
    width: 84%;
    margin-left: 8%;
    margin-right: 8%;
    text-align: center;
    position: absolute;
    line-height: 18px;
    bottom: 10px;
    left: 0;
    z-index: 9;
    font-size: 12px;
    font-weight: 400;
    color: #000;
    padding: 3px 0;
    overflow: hidden;
    opacity: 0.75;
}

.row.browse-cats .cat .cat_name a {
    color: #000;
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .row.browse-cats .cat .cat_img {
        max-height: 220px;
    }
}

.cat .cat_manage {
    height: 150px;
}


/** cover admin **/

.cat .cat_manage select {
    font-size: 10px;
    width: 120px!important;
}


/** cover admin **/

.row .col-md-12.title h2 {
    font-size: 20px;
    font-weight: 400;
    text-shadow: 1px 1px #f5f5f5;
}

.bar-more {
    display: block;
    border-bottom: 1px dotted #ccc;
    margin-bottom: 0;
    text-align: center;
    line-height: 40px;
    font-weight: 700!important;
}

.bar-more a {
    font-weight: 700!important;
    font-size: 13px;
    text-transform: uppercase;
}

.row.browse-cats .yarn_cat {
    position: relative;
    margin: 3px 0;
}

.row.browse-cats .yarn_cat img.img-rounded {
    box-shadow: 1px 1px 1px #e5e5e5;
}

.row.browse-cats .yarn_cat .cat_name {
    height: 30px;
    text-align: center;
    line-height: 20px;
    font-size: 15px;
    color: #666;
}

.row.banners .home-banner {
    margin: 5px 0;
}

.row.intro-videos {
    margin: 0;
}

.row.intro-videos .heading {
    border-top: 0;
}

.row.intro-videos .row.browse-cats {
    padding: 0 15px;
}

.row.intro-videos .thumb-caption {
    font-size: 11px;
}

.row.intro-videos .video_caption {
    font-size: 13px;
}

.row.content {
    padding-top: 15px;
    padding-bottom: 20px;
    margin: 0;
}


/* News slider - not in use - it's for the full width slider */

.carousel-control.left,
.carousel-control.right {
    background-image: none !important;
}

#carousel-news .carousel-inner {
    border-bottom: 3px solid #A1B463;
}

#carousel-news .carousel-inner .item img {
    width: 100%;
    height: 100%;
}

#carousel-news .carousel-indicators {
    bottom: 5px;
    left: 0;
    width: auto;
    padding: 5px 25px 5px 25px;
    margin-left: 0;
    background: rgba(229, 229, 229, 0.9);
}

#carousel-news .carousel-indicators li {
    border-radius: 0;
    width: 8px;
    height: 8px;
    background: #fff;
}

#carousel-news .carousel-indicators .active {
    width: 10px;
    height: 10px;
    background: #A1B463;
    border-color: #A1B463;
}

#carousel-news .carousel-control {
    background: #A1B463;
    color: #fff;
    padding: 4px 0;
    width: 26px;
    top: auto;
    left: auto;
    bottom: 12px;
    opacity: 0.85;
}

#carousel-news .carousel-control.right {
    right: 10px;
}

#carousel-news .carousel-control.left {
    right: 46px;
}

#carousel-news .carousel-caption {
    top: auto;
    width: auto;
    min-width: 250px;
    max-width: 300px;
    right: auto;
    bottom: 60px;
    left: 25px;
    padding: 15px 35px 15px 25px;
    background: rgba(255, 255, 255, 0.90);
    text-align: left;
    height: auto;
    max-width: 50%;
}

#carousel-news .carousel-caption h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: #333;
    text-shadow: none;
    font-size: 18px;
}

#carousel-news .carousel-caption p {
    color: #333;
    text-shadow: none;
    font-size: 13px;
}

#carousel-news .carousel-caption .btn {
    font-size: 11px;
    border: 0!important;
    box-shadow: 2px 2px 0 #e5e5e5;
}


/* News slider */

#NewsCarousel {
    position: relative;
}

#NewsCarousel .carousel-caption {
    left: auto;
    width: auto;
    position: absolute;
    bottom: 20px;
    right: 10px;
    margin: 0;
    padding: 5px 20px;
    text-align: right;
}


/*
#NewsCarousel .carousel-caption p {
    color: #fff;
    text-shadow: none;
    font-size: 12px;
}*/

#NewsCarousel .carousel-indicators {
    bottom: 10px;
    left: 0;
    width: auto;
    padding: 5px 25px 5px 25px;
    margin-left: 0;
    margin-bottom: 0;
}

#NewsCarousel .carousel-indicators li {
    border-radius: 0;
    width: 8px;
    height: 8px;
    background: #fff;
}

#NewsCarousel .carousel-indicators .active {
    width: 10px;
    height: 10px;
    background: #A1B463;
    border-color: #A1B463;
}


/*
#NewsCarousel .carousel-caption a {
    color: #fff;
}*/

a .news-cat {
    color: #fff !important;
}

.title-white {
    color: #fff;
    text-shadow: none !important;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 22px;
    margin: 10px 0 5px;
}

.title-black {
    color: #333;
    text-shadow: none !important;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 22px;
    margin: 10px 0 5px;
}

.text-white a {
    color: #fff;
    text-shadow: none !important;
}

.text-white {
    color: #fff;
    text-shadow: none !important;
}

.text-black {
    color: #333 !important;
    text-shadow: none !important;
}

.carousel-caption> a .text-black {
    color: #333;
}

.carousel-caption> a .text-white {
    color: #fff;
}

a .text-white:hover,
a .text-white:focus {
    color: #fff !important;
    text-decoration: underline;
}

a .title-white:hover,
a .title-white:focus {
    color: #fff !important;
    text-decoration: underline;
}

a .title-black:hover,
a .title-black:focus{
    color: #333 !important;
    text-decoration: underline;
}


/* Video thumbs slider */

#VideoCarousel {
    position: relative;
    margin-left: -15px;
    margin-right: -15px;
}

#VideoCarousel .carousel-inner .row {
    padding: 0 45px;
}

#VideoCarousel .carousel-control {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    opacity: 1;
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-shadow: none;
}

#VideoCarousel .carousel-control.left {
    background: none;
    color: #666!important;
    padding-left: 0;
    margin-left: 0;
}

#VideoCarousel .carousel-control.right {
    background: none;
    left: auto;
    right: 0;
    color: #666!important;
    padding-right: 0;
    margin-right: 0;
}

#VideoCarousel .carousel-control .glyphicon-chevron-left,
#VideoCarousel .carousel-control .glyphicon-chevron-right {
    top: 50%;
    margin-top: -40px;
    font-size: 30px;
}

#VideoCarousel .carousel-indicators {
    height: 30px;
    right: 50%;
    bottom: 0;
    margin-right: -19px;
    margin-bottom: -20px;
}

#VideoCarousel .carousel-indicators li {
    background: #666;
}

#VideoCarousel .carousel-indicators .active {
    background: #A1B463;
}


/* Home media queries */

@media only screen and (min-width: 240px) and (max-width: 767px) {
    #VideoCarousel .carousel-control .glyphicon-chevron-left,
    #VideoCarousel .carousel-control .glyphicon-chevron-right {
        margin-top: -15px;
    }
    #VideoCarousel .carousel-indicators {
        margin-bottom: -30px;
    }/*
    #NewsCarousel .carousel-caption h3 {
        margin: 20px 0 0;
        line-height: .1;
    }*/
    .intro-text {
        background: none!important;
        padding-right: 0;
    }
    .row.prices,
    .row.prices-header {
        font-size: 12px;
    }
    .row.prices.btn-primary.btn-block {
        margin: 20px;
        margin: 5px 0;
    }
    .row.title .see-all {
        text-align: left;
        margin-top: 0;
        margin-bottom: 10px;
    }
    .row.title .see-all .btn {
        margin: 0 10px 0 15px;
    }
    .row.feature .superstore {
        height: 65px;
    }
}

ul.pager-bar {
    text-transform: uppercase;
    font-size: 11px;
    color: #afafaf;
    background: #fff;
    border-top: 1px dotted #e5e5e5;
    border-bottom: 1px dotted #e5e5e5;
    border-radius: 0;
    line-height: 25px;
    text-align: center;
}

ul.pager-bar .breadcrumb .pager-item .dropdown {
    display: inline-block !important;
}

ul.pager-bar .pager-item {
    padding: 0 5px;
}

ul.pager-bar a {
    color: #333333;
}

ul.pager-bar .dropdown-menu>li>a {
    font-size: 11px;
    text-align: left;
    padding: 3px 10px;
}

.select-div {
    margin-bottom: 15px;
}

.navigation {
    margin: 10px auto 0 auto;
    clear: both;
    padding: 5px 25px;
    border-top: 1px dotted #e5e5e5;
    border-bottom: 1px dotted #e5e5e5;
    text-align: center;
    color: #cccccc;
    line-height: 20px;
}

.navigation .current {
    border-bottom: 0;
    background: #b4c27c;
    padding: 2px 4px;
    color: #fff!important;
}

.navigation button {
    border: 0;
    font-size: 11px;
    background: #f5f5f5;
    border-radius: 4px;
}

.navigation button.active {
    background: #b4c27c;
    color: #fff;
}

.filter-div {
    background: #f5f5f5;
    padding: 10px 15px;
    box-sizing: border-box;
    color: #666;
    margin-bottom: 10px;
}

.list-group.filter-cats {
    font-size: 12px;
    margin: 0;
    border-top: 2px solid #e5e5e5;
}

.list-group.filter-cats .list-group-item {
    padding: 5px 8px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background: #f8f8f8;
    border-color: #edeff1;
}

.list-group.filter-cats .list-group-item.active {
    background: #afafaf;
    border-color: #afafaf;
}

@media only screen and (min-width: 240px) and (max-width: 767px) {
    .filter-div {
        margin-top: 10px;
    }
}

ul.bk li {
    border-bottom: 1px solid #fff;
    padding-top: 5px;
    padding-bottom: 5px;
    background: #f2f2f2;
}

ul.bb li {
    border-bottom: 1px solid #f2f2f2;
    padding-top: 5px;
    padding-bottom: 5px;
}

ul.bt li {
    border-top: 1px solid #f2f2f2;
    padding-top: 5px;
    padding-bottom: 5px;
}


/* Product grids */

.buttons .prod_desc {
    min-height: 70px;
    line-height: 16px;
    overflow: hidden;
}

.needles .prod_desc {
    height: 120px;
    overflow: hidden;
    font-size: 12px;
    color: #666;
}

.buttons .prod_desc h4,
.color .prod_desc h4,
.yarns .prod_desc h3,
.needles .prod_desc h4 {
    padding: 0;
    margin-top: 4px;
    margin-bottom: 2px;
}

.needles .campaign {
    position: absolute;
    top: 10px;
    right: 25px;
    width: 40px;
    width: 40px;
}


/* Search */

.search-patterns .patterns {
    margin-top: 15px;
}

.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;
}

.search-filter {
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.search-sort {
    padding: 5px;
}

ul.nav-pills.search-filter li a {
    color: #666;
}

.scrollable-menu {
    height: auto;
    max-height: 40vh;
    overflow-x: hidden;
    overflow-y: scroll;
}


/* Yarns */

.yarns {
    padding-top: 15px;
}

.yarns .prod_desc {
    height: 135px;
    overflow: hidden;
    font-size: 12px;
}

.yarn .prod_desc .price {
    margin-top: 5px;
}

.yarn .prod_desc .extra-info {
    font-size: 10px;
}

.yarns .yarn {
    position: relative;
    line-height: 16px;
}

.yarns .yarn .yarngroup {
    position: absolute;
    right: 25px;
}

.yarns .yarn .supersale {
    position: absolute;
    left: 0;
    top: 50%;
    background: url('/img/retailers/ribbon-sale-end.png') no-repeat right center;
    padding: 5px 20px 5px 10px!important;
    color: #fff;
    font-size: 12px;
    line-height: 20px;
}

.yarns .yarn .campaign {
    position: absolute;
    top: 10px;
    right: 25px;
    width: 40px;
    width: 40px;
}

.yarns .yarn .campaign2 {
    position: absolute;
    top: 0;
    right: 15px;
    width: 50px;
    font-family: 'PT Sans', sans-serif;
    color: #fff;
    background: #bf2529;
    font-weight: bold;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.yarns .yarn .new {
    position: absolute;
    top: 15px;
    left: 30px;
    font-size: 12px;
    text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
    color: #666633;
    text-transform: uppercase;
}

.yarns .color .prod_desc {
    height: 90px;
    overflow: hidden;
    font-size: 12px;
    color: #666;
}

.yarns .color .prod_desc h4 {
    overflow: hidden;
    white-space: nowrap;
}

.yarns .color .prod_desc .yarnname {
    overflow: hidden;
    white-space: nowrap;
    font-size: 10px;
}

.yarns .color .prod_desc .price,
.needles .prod_desc {
    margin-top: 5px;
}

.yarns .color .new {
    position: absolute;
    top: 15px;
    left: 30px;
    background: #fff;
    opacity: 0.8;
    font-size: 10px;
    color: #666633;
    text-transform: uppercase;
    padding: 3px;
}

.yarns .color .campaign {
    position: absolute;
    top: 0;
    right: 15px;
    width: 40px;
    width: 40px;
    font-family: 'PT Sans', sans-serif;
    color: #fff;
    background: #bf2529;
    font-weight: bold;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.yarn-patterns {
    margin-bottom: 15px;
}

.filter-this {
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.filter-this ul.nav-pills li a {
    color: #666;
}

.sort-container {
    font-size: 13px;
    margin-top: 30px;
}

.sort-item {
    list-style: none;
    margin: 10px 0;
    display: inline-block;
    color: #333;
    margin: 5px;
}

.sort-item a:hover,
.sort-item a:focus {
    color: #000000;
    list-style: none;
    font-weight: 700 !important;
    text-decoration: none;
}

.change_lang-box {
    padding: 0;
    background: white;
}

.yarn_comb img {
    position: relative;
}

.yarn_comb i {
    position: absolute;
    font-size: 16px;
    top: 15px;
    right: 15px;
    z-index: 5;
    color: #ccc;
}

.yarn_comb i:hover {
    color: #A1B463;
    border-color: #94a54c;
}

.yarn-comb img {
    position: relative;
}

.yarn-comb i {
    position: absolute;
    font-size: 16px;
    top: 15px;
    right: 25px;
    z-index: 5;
    color: #ccc;
}

.yarn-comb i:hover {
    color: #A1B463;
    border-color: #94a54c;
}

.yarn-group {
    position: absolute;
    font-size: 16px;
    font-weight: 600;
    top: 10px;
    left: 30px;
    z-index: 5;
    color: #777;
}

.yarn-wash-container {
    position: relative;
    height: 50px;
    margin: 10px 0;
}

.yarn-wash {
    height: 50px;
    margin: 10px 0;
}

.yarn-wash img {
    height: 50px;
    width: auto;
    position: absolute;
    top: -10px;
    left: -5px;
}

@media only screen and (max-width: 767px) {
    .pills-yarn {
        margin: 15px 0;
    }
    .sort-container {
        margin: 0;
    }
}

@media only screen and (max-width: 767px) {
    .row .ypic {
        margin: 0;
    }
    .table-responsive {
        border: none;
    }
    .change_lang-box {
        padding: 15px 3px;
    }
}

@media only screen and (min-width: 613px) and (max-width: 767px){
    .yarn-combinations {
        padding: 0 10%;
    }
}

.yarn-carousel.carousel-inner .active.left {
    left: -50%;
}

.yarn-carousel.carousel-inner .next {
    left: 50%;
}

.yarn-carousel .carousel-inner>.item {
    transition: 90ms ease-in-out all;
    -moz-transition: 90ms ease-in-out all;
    -webkit-transition: 90ms ease-in-out all;
    backface-visibility: visible;
    transform: none!important;
}


/* Pattern & Yarn */

.pattern-material a {
    color: #444 !important;
}

.pattern-material a:hover,
.pattern-material a:focus {
    font-weight: 700 !important;
}

.change_lang-box {
    padding: 0;
    background: white;
}

.keywords-box {
    margin-top: 10px;
    font-size: 12px;
    padding: 10px 15px;
    box-shadow: 0 1px 0px #e5e5e5;
    background: #EFEFED;
}

.keywords-box h3 {
    padding: 0;
    margin: 0;
}

.video_header h1 {
    font-size: 22px;
    margin-bottom: 15px;
}

.yarn_header h4 {
    font-family: 'PT Sans', sans-serif!important;
    font-weight: 400;
    font-size: 15px;
}

.yarn_header {
    line-height: 1.7;
    font-size: 14px;
}

.yarn-intro {
    padding: 10px 16px;
    border-top: 1px dotted #ccc;
}

.yarn_header .tabmenu .ui-tabs-nav {
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
}

.yarn_header .tabmenu ul.ui-tabs-nav li {
    border: 0!important;
    background: #f2f2f2;
}

.yarn_header .tabmenu ul.ui-tabs-nav li.ui-state-active {
    background: #fff;
}

.yarn_header .tab-content {
    font-size: 13px;
}

.pattern_header p.pattern_cont {
    margin-top: 10px;
    font-weight: bold;
}

.pattern_header p.pattern_cont a {
    color: #d65b8c;
}


/*
.quicklinks{
    margin: 20px 0;
}

.pattern_icons {
    padding: 5px 0;
}

.pattern_icons i {
    padding: 10px;
    background: #f3f3f3;
    border-radius: 50%;
    margin-right: 10px;

}*/


/* Working Mode */

#workingMode .close {
    padding: 4px;
    font-size: 27px;
}

#workingMode .icon-bar {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 1999;
    width: 100%;
    background-color: #ccc;
    overflow: auto;
}

#workingMode .icon-bar .icon {
    /* Float links side by side */
    float: left;
    /* Equal width (5 icons with 20% width each = 100%) */
    width: 20%;
    text-align: center;
    padding: 12px 0;
    transition: all 0.3s ease;
    color: white;
    font-size: 16px;
}

#workingMode .icon-bar .icon:hover {
    background-color: #A1B463;
}

#workingMode .icon-bar .icon .active {
    background-color: #A1B463;
}

#modal-img {
    position: fixed;
    margin-top: 47px;
    padding: 0 10px;
    background: white;
}

#workingMode .carousel-inner>.item>img {
    margin: auto;
    max-height: 50vh;
}

#workingMode .carousel-control {
    background: none;
    margin: 30px 5px;
}

#workingMode .fa-chevron-circle-right {
    right: 30%;
}

#workingMode .fa-chevron-circle-left {
    right: 30%;
}

#workingMode .fa-chevron-circle-right,
#workingMode .fa-chevron-circle-left {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
    font-size: 23px;
}


/* IMAGE */


/* The grid: Four equal columns that floats next to each other */

#workingMode .column {
    float: right;
    width: 30%;
    padding: 5px;
}


/* Style the images inside the grid */

#workingMode .column img {
    cursor: pointer;
}


/* The expanding image container (positioning is needed to position the close button) */

#workingMode .container-img {
    position: relative;
    display: none;
}


/* Closable button inside the image */

#workingMode .closebtn {
    position: absolute;
    top: 23%;
    right: 5%;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.expanded-img {
    width: 100%;
}

@media only screen and (max-width: 480px) {
    .custom-btn {
        font-size: 12px;
        line-height: 1.5;
        padding: 8px 10px !important;
    }
}


/* end Working Mode */


/* prices */

.pprice,
.yprice {
    float: right;
    margin: 0;
    text-align: right;
    clear: right;
    padding-top: 20px;
}

.pprice a,
.yprice a {
    color: #666;
}

.pprice .from,
.yprice .from {
    padding: 0;
    margin: 0;
    line-height: 13px;
    color: #666;
    font-size: 11px;
}

.pprice .cost1,
.yprice .cost1 {
    font-size: 22px;
    margin: 0;
}

.pprice .cost2,
.yprice .cost2 {
    padding-top: 2px;
}

.ptitle,
.ytitle {
    color: #474747;
    margin-top: 5px;
    margin-bottom: 20px;
}

.pfree {
    text-align: center;
    text-shadow: 1px 1px #f5f5f5;
    background: #EAF4F3;
    padding: 8px 10px;
}

.pfree .pbg {
    font-size: 25px;
    font-weight: 700!important;
    margin: 0;
    padding: 0;
    line-height: 25px;
}

.pfree .psm {
    font-size: 13px;
    margin: 0;
    padding: 0;
}

div.pfaq {
    font-weight: bold;
}

.pfaq p {
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: normal;
}

.pfaq p.pfaq-a {
    margin-top: 15px;
    font-weight: bold;
    border-top: 1px dotted #666;
    padding-top: 15px;
}

.pfaq p.info {
    background: url('/img/icon/hand-point.png') no-repeat left center;
    padding-left: 20px;
}

.pfaq p a {
    text-decoration: underline;
}

.pfaq .pfaq-q {
    margin-bottom: 5px;
}

@media screen and (max-width: 480px) {
    .pfree .pbg {
        font-size: 20px;
    }
}

.pattern_header .pattern_yarns {
    margin: 5px 0;
    border-top: 1px dotted #e5e5e5;
    padding: 5px 0;
    line-height: normal;
    font-size: 13px;
}

.pattern_header .pattern_yarns h3 {
    margin-bottom: 0;
    padding-bottom: 0!important;
}

.pattern_header .pattern_yarns p {
    margin: 5px 0;
    background: url('/img/icon/heart-small.png') no-repeat left 2px;
    padding-left: 16px;
}

.pattern_header .pattern_pm,
.yarn_header .yarn_pm {
    padding: 5px 0;
}

.pattern_header .pattern_pm a.pm_button,
.yarn_header .yarn_pm a.pm_button {
    font-size: 13px;
    padding: 9px 10px 11px 32px;
    color: #fff!important;
    line-height: 15px;
    display: inline-block;
    border-radius: 0!important;
}

.pattern_header .pattern_pm a.pm_button.comm,
.yarn_header .yarn_pm a.pm_button.comm {
    background: url('/img/buttons/py-comm_on.png') no-repeat left center;
}

.pattern_header .pattern_pm a.pm_button.comm:hover,
.yarn_header .yarn_pm a.pm_button.comm:hover {
    background: url('/img/buttons/py-comm_off.png') no-repeat left center;
    text-decoration: none;
}

.pattern_header .pattern_pm a.pm_button.print,
.yarn_header .yarn_pm a.pm_button.print {
    background: url('/img/buttons/py-print_on.png') no-repeat left center;
}

.pattern_header .pattern_pm a.pm_button.print:hover,
.yarn_header .yarn_pm a.pm_button.print:hover {
    background: url('/img/buttons/py-print_off.png') no-repeat left center;
    text-decoration: none;
}

.pattern_header .pattern_pm a.pm_button.fav {
    background: url('/img/buttons/py-fav_on.png') no-repeat left center;
}

.pattern_header .pattern_pm a.pm_button.fav:hover {
    background: url('/img/buttons/py-fav_off.png') no-repeat left center;
    text-decoration: none;
}

.yarn_header .yarn_pm a.pm_button.patt {
    background: url('/img/buttons/py-patt_on.png') no-repeat left center;
}

.yarn_header .yarn_pm a.pm_button.patt:hover {
    background: url('/img/buttons/py-patt_off.png') no-repeat left center;
    text-decoration: none;
}

.pattern-main .pattern_keywords {
    margin: 0;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666!important;
}

.pattern-main .pattern_keywords a {
    color: #666!important;
}

.pattern-intro {
    padding: 10px 0;
    border-top: 1px dotted #ccc;
}

.text-info {
    font-size: 12px;
    margin-bottom: 10px;
}

.well .text-info {
    font-size: 14px !important;
    margin-bottom: 10px;
    color: #000 !important;
}


/* pattern size*/

.pattern-calc {
    /*background: url('/img/icon/tip.gif') no-repeat left 12px;
    padding-left: 20px;*/
    color: #666;
    padding-top: 10px;
    margin-bottom: 15px;
    font-weight: 700;
}

.pattern-calc a {
    color: #669933!important;
    text-decoration: underline;
}

.pattern-tag {
    /*background: url('/img/icon/tag--plus.png') no-repeat left 5px;
    padding-left: 20px;*/
    margin-top: 20px;
}

.pattern-instructions {
    padding-top: 10px;
    border-top: 1px dotted #ccc;
}

.pattern-instructions a {
    text-decoration: underline;
}

.pattern_text {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 10px;
}


/* this is the container for the pattern text - under prices */

.pattern-material {
    font-size: 14px;
    line-height: 1.7;
}

.pattern-corrections p.warning {
    color: #cc3366;
}

.pattern-corrections p.warning a {
    color: #cc3366;
}

.pattern-related {
    padding: 0;
    margin: 10px;
}

.pattern-ad {
    padding: 10px 0;
}

.px {
    padding: 0 16px;
}

.pattern-yarns_test {
    margin: 15px 0;
}

.p-y_test {
    padding: 20px;
}

.pattern-yarns {
    background: #f5f5f5;
    padding: 10px;
    margin: 15px 0;
    font-size: 13px;
}

.pattern-yarns .content-panel {
    background: #fff;
    padding: 10px 15px;
}

.pattern-yarns table.table-yarns {
    margin-top: 10px!important;
    margin-bottom: 0px!important;
}

.pattern-share {
    background: #F8F7F9;
    padding: 10px;
    margin: 15px 0;
}

.pattern-prices {
    color: #666;
    padding-top: 10px;
    border-top: 1px dotted #e5e5e5;
}

.pattern-prices a {
    color: #669933!important;
    text-decoration: underline;
}

.need-help {
    background: url('/img/divider-yarn.png') no-repeat right top;
    padding-top: 30px;
    font-size: 14px;
    margin-top: 15px;
}

.pattern-comments {
    padding: 10px;
}

.pattern-comments h3 {
    font-size: 22px;
    padding: 15px 0;
    border-top: 1px dotted #ccc;
}

.short-and-sweet-counter {
    color: #666666;
}

.pattern_copyright {
    font-size: 12px;
    color: #666;
    line-height: normal;
    margin-top: 15px;
    background: #f5f5f5;
    padding: 5px 10px;
}

table.table-yarns td.thumb,
.pattern_header table.table-products td.thumb {
    width: 70px!important;
}

table.table-products {
    font-size: 11px;
    margin: 0 0 0 10px;
    padding: 0;
}

.felting-text {
    padding: 30px 10px;
}

@media only screen and (max-width: 768px) {
    .felting-text {
        padding: 0 32px;
    }
}


/*.row.pattern-rel {max-height: 400px; overflow-y: scroll;}*/


/* Pattern activity texts */

.text-halloween {
    background: #000 url('/img/holidays/pat_halloween.png') no-repeat left center;
    padding: 0 12px 0 50px;
    margin-top: 10px;
    color: #fff;
    height: 50px;
    line-height: 50px;
}

.text-halloween a {
    color: #fff;
}

.glass-case {
    margin-bottom: 10px;
}

.glass-case li {
    border: 1px solid #e5e5e5!important;
    padding: 0!important;
}

.glass-case li.gc-active {
    border: 1px solid #A1B463!important;
}

.gc-display-area {
    padding: 0;
    border: 0!important;
    border-radius: 0!important;
    padding: 0!important;
    line-height: 0;
}

.gc-display-area img.gc-display-display {
    border: 1px solid #e5e5e5;
    border-radius: 0!important;
    padding: 0;
    margin: 0;
    line-height: 0;
}

.suggest_name {
    background: #f5f5f5 url('/img/icon/suggest.png') no-repeat 6px 1px;
    padding: 3px 3px 3px 25px;
    margin: 5px 0 10px;
}

.yarn_order {
    margin-bottom: 15px;
}

.deals {
    color: #bf2529;
    font-weight: bold;
    padding-right: 15px;
}

.col-deals {
    padding: 0 0 15px;
}

.yarn_order.from_pattern {
    margin-top: 10px;
}

.yarn_order.from_pattern .tabbable {
    background: #F7F6F0!important;
    padding-top: 5px!important;
}

.yarn_order.from_pattern .tabbable .tab-content {
    background: #ffffff!important;
}

.yarn_text {
    line-height: 1.7;
}

.yarn_links a {
    color: #669933!important;
    text-decoration: underline;
}

ul.py-options,
ul.yarn-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.py-options a:hover,
ul.yarn-options a:hover {
    text-decoration: none;
}

ul.py-options li,
ul.yarn-options li {
    font-family: 'Playfair Display', serif;
    padding: 5px 10px;
    border: 1px solid #efefef;
    margin-bottom: 2px;
}

ul.py-options li:hover,
ul.yarn-options li:hover {
    background-color: #f4f4e3!important;
    border: 1px solid #f4f4e3;
}

ul.py-options li:hover a,
ul.yarn-options li:hover a {
    color: #ffffff;
}

ul.py-options li.cat {
    padding-left: 25px;
    background: url('/img/icon/catalogues.gif') no-repeat 4px center;
}

ul.py-options li.fav {
    padding-left: 25px;
    background: url('/img/icon/star-wn.png') no-repeat 4px center;
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .row .ypic {
        display: block!important;
    }
    .yarn_header .yarn_pic,
    .pattern_header .pattern_pic {
        display: block!important;
        max-height: 560px;
        overflow: hidden;
    }
    .pattern_header {
        overflow: hidden;
    }
    .yarn_header .yarn_pic img,
    .pattern_header .pattern_pic img {
        width: 480px!important;
    }
    .yarn_header .yprice {
        top: 40px;
    }
    .yarn_header .yarn_lang,
    .pattern_header .pattern_lang {
        background: #96C8ED url('/img/icon/flags/globe.png') no-repeat 5px center;
        display: block!important;
        margin: 10px 0 5px 0;
        color: #fff;
        padding: 8px 8px 8px 25px;
    }
    .pattern_header .pattern_fav {
        background: #96C8ED url('/img/icon/dropslovesyou.png') no-repeat 5px center;
        display: block!important;
        margin: 5px 0 5px 0;
        color: #fff;
        padding: 8px 8px 8px 25px;
    }
    .yarn_header div.yarnsearch {
        background: #b4c27c url('/img/icon/yarnsearch.png') no-repeat 5px center;
        padding: 8px 8px 8px 25px;
        color: #fff;
        border-radius: 5px;
    }
    .yarn_header div.yarnsearch a {
        color: #fff;
    }
    .row .ppic {
        display: block!important;
    }
    .pattern_header .share_this {
        padding-left: 5px;
    }
    .pattern_header .pprice .from {
        padding: 0;
        margin: 0;
    }
    h1.pname small {
        display: none!important;
    }
    .row.browse-cats .cat .cat_img {
        max-height: 220px;
    }
}

@media only screen and (min-width: 240px) and (max-width: 479px) {
    .row .ppic {
        display: block!important;
        margin-left: 15px;
        margin-right: 15px;
    }
    .pattern_header .share_this {
        padding-left: 5px;
    }
    .pattern_header .pprice .from {
        padding: 0;
        margin: 0;
    }
    h1.pname small {
        display: none!important;
    }
    .pattern .new {
        position: absolute;
        top: 20px;
        left: 75%;
        width: 16px;
        height: 16px;
    }
    .pattern .featured {
        position: absolute;
        top: 20px;
        left: 75%;
        width: 16px;
        height: 16px;
    }
    .pattern .pattern-type {
        position: absolute;
        top: 5px;
        left: 75%;
        width: 16px;
        height: 16px;
    }
    .pattern .pattern-pics {
        position: absolute;
        top: 15px;
        left: 75%;
        width: 16px;
        height: 16px;
    }
    .row.browse-cats .cat .cat_img {
        max-height: 170px;
    }
    .row .ypic {
        display: block!important;
        margin-left: 15px;
        margin-right: 15px;
    }
    .yarn_header .yarn_pic,
    .pattern_header .pattern_pic {
        display: block!important;
        max-height: 400px;
        overflow: hidden;
    }
    .pattern_header {
        overflow: hidden;
    }
    .yarn_header .yarn_pic img,
    .pattern_header .pattern_pic img {
        width: 320px!important;
    }
    .yarn_header .yprice {
        top: 40px;
    }
    .pattern_header .pprice {
        display: block;
        float: right;
    }
    .yarn_header .yarn_lang,
    .pattern_header .pattern_lang {
        background: #96C8ED url('/img/icon/flags/globe.png') no-repeat 5px center;
        display: block!important;
        margin: 10px 0 5px 0;
        color: #fff;
        padding: 8px 8px 8px 25px;
    }
    .pattern_header .pattern_fav {
        background: #96C8ED url('/img/icon/dropslovesyou.png') no-repeat 5px center;
        display: block!important;
        margin: 5px 0 2px 0;
        color: #fff;
        padding: 8px 8px 8px 25px;
    }
    .yarn_header div.yarnsearch {
        background: #b4c27c url('/img/icon/yarnsearch.png') no-repeat 5px center;
        padding: 8px 8px 8px 25px;
        color: #fff;
        border-radius: 5px;
    }
    .yarn_header div.yarnsearch a {
        color: #fff;
    }
    div.row .ym.campaign25,
    div.row .ym.campaign30,
    div.row .ym.campaign35 {
        background: none!important;
        line-height: 15px!important;
        padding: 3px!important;
    }
    div.row span {
        padding-right: 0!important;
    }
    .prod_desc {
        height: 100px;
    }
}

@media only screen and (min-width: 240px) and (max-width: 319px) {
    /*.pattern .info {
        height: 50px;
        line-height: normal!important;
    }
    .pattern .info h4 {
        font-size: 10px!important;
        line-height: 11px!important;
    }
    .pattern .info h4 small {
        display: none;
    }
    */
    .pattern .new {
        position: absolute;
        top: 20px;
        left: 75%;
        width: 12px;
        height: 12px;
    }
    .pattern .featured {
        position: absolute;
        top: 20px;
        left: 75%;
        width: 12px;
        height: 12px;
    }
    .pattern .pattern-type {
        position: absolute;
        top: 5px;
        left: 75%;
        width: 12px;
        height: 12px;
    }
    .pattern .pattern-pics {
        position: absolute;
        top: 15px;
        left: 75%;
        width: 12px;
        height: 12px;
    }
    /*
    div.video-thumb .video_caption h5 {
        font-size: 10px;
        margin: 0;
    }*/
}


/* Yarn groups */

.yarngroup-header {
    background: #f1f3f5;
    text-align: left;
}

.yarngroup-header h1,
.yarngroup-header p {
    padding-left: 20px;
}

.label-new {
    color: #f8c779;
    border: 1px solid #f8c779;
    font-size: 12px;
    padding: .2rem .4rem;
    line-height: 2;
    font-weight: 600;
    border-radius: 2px;
}

.label-comingsoon {
    color: #f0a76b;
    border: 1px solid #f0a76b;
    font-size: 12px;
    padding: .2rem .4rem;
    line-height: 2;
    font-weight: 600;
    border-radius: 2px;
}

.label-superwash {
    color: #e09ab5;
    border: 1px solid #e09ab5;
    font-size: 12px;
    padding: .2rem .4rem;
    line-height: 2;
    font-weight: 600;
    border-radius: 2px;
}

.label-feltable {
    color: #6383b4;
    border: 1px solid #6383b4;
    font-size: 12px;
    padding: .2rem .4rem;
    line-height: 2;
    font-weight: 600;
    border-radius: 2px;
}

.dyarn {
    margin-top: 10px;
    line-height: 2.5;
    color: #666;
    text-decoration: underline;
}


/* Comments - bootstrap */

div.row.comment,
div.row.question {
    background: #f9f9e4;
    margin: 5px 0;
    padding: 10px 5px;
    clear: both;
    border-radius: 8px;
}

div.row.question {
    background: #eff4f2;
}

div.row.comment span.author,
div.row.question span.author {
    background: url('/img/icon/user-small.png') no-repeat left center;
    padding-left: 16px;
    font-weight: bold;
    color: #666;
}

div.row.comment span.date,
div.row.question span.date {
    background: url('/img/icon/clock-small.png') no-repeat left center;
    padding-left: 16px;
}

div.row.comment span.website,
div.row.question span.website {
    background: url('/img/icon/globe-small.png') no-repeat left center;
    padding-left: 16px;
}

div.row.question div.row.answer {
    padding: 30px 0 10px 0;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -10px;
    background: #daeae2 url('/img/comment_answer.png') no-repeat left top;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

div.row.question div.row.answer a {
    text-decoration: underline;
}


/* Videos */

@media only screen and (max-width: 990px) {
    iframe {
        max-width: 90vw;
    }
}

.videoText {
    padding: 10px 0;
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .video-sound {
        margin-left: -10px;
    }
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.31%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
    margin-bottom: 10px;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.related_vids {
    background: #f5f5f5;
    margin: 0 -15px;
}

.related_vids h3 {
    padding: 0px 15px 10px 15px;
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .related_vids .video-image {
        border: none;
        margin-bottom: 15px;
    }
}

.thumb-caption {
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    color: #666;
}

.thumb-caption a {
    color: #666;
}

div.video-sorting {
    line-height: 30px;
    text-align: right;
}

div.cat-thumb div.play {
    position: absolute;
    top: 40px;
    left: 50%;
    margin-left: -20px;
}


/*--------------------------------- videos new----------------------------------------- */

.videoCrumbs {
    margin-bottom: 10px;
}

.videoLanguaje {
    margin: 10px 0;
}

.video_keywords {
    margin: 0;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666!important;
    font-family: 'Lato', sans-serif;
}

.video_keywords a {
    color: #666!important;
}

.video-image {
    position: relative;
    border: 1px solid #f2f2f2;
}

.video-image img {
    margin: auto;
}

.video-caption {
    font-size: 12px;
    margin: 8px 0;
    height: 43px;
    margin-bottom: 10px;
}

.video-play {
    display: block;
    width: 50px;
    height: 35px;
    line-height: 34px;
    margin-left: -23px;
    margin-top: -18px;
    background-color: #3f3c3ce8;
    font-size: 15px;
    text-align: center;
    color: #FFF !important;
    border-radius: 20%;
    position: absolute;
    left: 50%;
    top: 50%;
}

.video-play:hover {
    width: 55px;
    height: 40px;
    margin-left: -25px;
    margin-top: -22px;
    line-height: 40px;
    background-color: #FF0000;
    border-color: #FF0000;
    font-size: 20px;
    -webkit-transition: all .1s ease;
    -o-transition: all .1s ease;
    transition: all .1s ease
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .video-caption img {
        max-height: 120px;
    }
}

.video-carousel-caption {
    font-size: 12px;
    margin: 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 20px;
}

.favourite {
    font-size: 18px;
    margin: 18px 0 0;
    color: #777;
    padding: 10px;
}

.favourite a {
    color: #777;
}

.favourite a:hover,
.favourite a:focus {
    color: #df0e3b;
}


/*--------------------------------- end videos new----------------------------------------- */

.panel.video_cats .panel-title {
    font-size: 14px;
    font-weight: 400!important;
}

.panel.video_cats .panel-title span.badge {
    float: right;
    color: #fff;
    background: #EB74A2;
}

.panel.video_cats .panel-body {
    padding: 0;
    margin: 0;
}

ul.video_cats {
    padding: 0;
    margin: 0;
    list-style: none;
}

ul.video_cats li {
    padding: 3px 15px;
    margin: 0;
    border-bottom: 1px dotted #e2e2e2;
}

.row.video-popular {
    border-top: 3px solid #FFCAE0;
    padding-top: 10px;
}

.row.video-latest {
    border-top: 3px solid #e5e5e5;
    padding-top: 10px;
}

div.video-browse {
    text-align: center;
    border-top: 1px dashed #f5f5f5;
    padding: 10px 0;
    margin: 5px 0;
}

.row.video-cat {
    border-top: 3px solid #f5f5f5;
    padding-top: 10px;
}

.row.video-top {
    border-top: 1px dotted #ccc;
    color: #666;
    padding: 10px 0;
}

.row.video-top span {
    margin: 0;
}

.row.video-top form {
    text-align: right;
}

.row.video-info {
    border-top: 1px dotted #e2e2e2;
    padding-top: 5px;
    margin-top: 5px;
}

.row.video-info .col-md-2 {
    text-align: right;
}

.row.video-info .col-md-2 .modal {
    text-align: left;
}

a.video-home {
    color: #333333;
    background: url('/img/icon/star-wn.png') no-repeat left center;
    padding-left: 20px;
}


/*need-help slider */

.multi-item-carousel1 .carousel-inner>.item {
    transition: 500ms ease-in-out left;
}

.multi-item-carousel1 .carousel-inner .active .left {
    left: -33%;
}

.multi-item-carousel1 .carousel-inner .right {
    left: 33%;
}

.multi-item-carousel1 .carousel-inner .next {
    left: 33%;
}

.multi-item-carousel1 .carousel-inner .prev {
    left: -33%;
}

.multi-item-carousel1 .carousel-inner>.item {
    transition: 10ms ease-in-out all;
    -moz-transition: 10ms ease-in-out all;
    -webkit-transition: 10ms ease-in-out all;
    backface-visibility: visible;
    transform: none!important;
}

.multi-item-carousel2 .carousel-inner .active .left {
    left: -33%;
}

.multi-item-carousel2 .carousel-inner .right {
    left: 33%;
}

.multi-item-carousel2 .carousel-inner .next {
    left: 33%;
}

.multi-item-carousel2 .carousel-inner .prev {
    left: -33%;
}

.multi-item-carousel2 .carousel-inner>.item {
    transition: 10ms ease-in-out all;
    -moz-transition: 10ms ease-in-out all;
    -webkit-transition: 10ms ease-in-out all;
    backface-visibility: visible;
    transform: none!important;
}

.lessons-carousel,
.videos-carousel {
    border: solid 1px #ddd;
    border-radius: 5px;
    margin-bottom: 16px;
    padding: 15px;
    margin-top: 20px;
    transition: color .25s cubic-bezier(.215, .61, .355, 1);
}

.need-help .left.carousel-control,
.need-help .right.carousel-control {
    background-image: none;
    margin: 30px 5px;
}

.need-help .carousel-control {
    width: 5% !important;
    opacity: 1;
    font-size: 14px;
}

.need-help .carousel-control .glyphicon-chevron-right {
    top: 30%;
    font-size: 25px;
    border-radius: 30px;
}

.need-help .carousel-control .glyphicon-chevron-left {
    top: 30%;
    font-size: 25px;
    border-radius: 30px;
}

.need-help .glyphicon-chevron-right,
.need-help .glyphicon-chevron-left {
    margin-right: 5px;
}

.need-help .carousel .glyphicon:empty {
    width: auto !important;
}

.need-help .carousel-inner .col-xs-4 {
    padding-right: 5px!important;
    padding-left: 5px!important;
}

.need-help .comments {
    text-overflow: ellipsis;
    overflow: hidden;
}


/* Catalogues.php and Inspirations.php */

.catalogues_title {
    width: 100%;
    clear: both;
    text-align: center;
    margin: 20px 0;
    padding: 0;
    line-height: normal;
}

.catalogues_title .drops {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: #333333;
}

.catalogues_title .cat_nr {
    font-family: 'Parisienne', cursive!important;
    font-weight: normal;
    font-size: 45px;
    color: #231F20;
}

.inspirations_title {
    width: 100%;
    clear: both;
    text-align: center;
    margin: 20px 0;
    padding: 0;
    z-index: 999;
}

.inspirations_title .inspirations {
    font-family: 'Parisienne', cursive!important;
    font-weight: normal;
    font-size: 45px;
    color: #231F20;
    line-height: 50px;
    padding: 0;
    margin: 0;
}

.inspirations_title .drops {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    line-height: 15px;
    padding: 0;
}

.inspirations_title .insp_nr {
    font-family: 'Parisienne', cursive!important;
    font-weight: normal;
    font-size: 25px;
    color: #231F20;
    padding: 0;
    margin: 0;
}

.insp_cover {
    position: relative;
    margin-bottom: 25px;
}

.insp_cover .insp_no {
    text-align: right;
    padding: 0 10px;
    position: absolute;
    right: 25px;
    font-weight: 600;
    font-size: 12px;
    color: #666;
    bottom: 8px;
    line-height: 30px;
    background: #fefefec2;
}

.catalogue_img {
    position: relative;
    margin-bottom: 25px;
}

.catalogue_no {
    text-align: right;
    padding: 0 10px;
    position: absolute;
    right: 25px;
    font-weight: 600;
    font-size: 12px;
    color: #666;
    bottom: 33px;
    line-height: 30px;
    background: #fefefec2;
}

.insp_banner {
    padding: 8px 0;
    background: url('/img/icon/heart-small.png') no-repeat 98% center;
    border-top: 1px solid #eadfc3;
    border-bottom: 2px solid #eadfc3;
}

.insp_banner a:hover {
    text-decoration: none!important;
}


/* Books & Blogs & News */

.row.books,
.row.blogs {
    margin-top: 10px;
}

.grid-item {
    width: 170px;
    box-shadow: 0px 0px 3px #e5e5e5;
    margin-bottom: 15px;
    overflow: hidden;
}

.grid-item .caption {
    margin: 0;
    padding: 5px 8px;
    background: #fff;
}

.grid-item .caption h3 {
    margin-top: 5px;
}

.dropsfan-entry #bg-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

#bg-image.lazy {
    background-image: none;
    background-color: #f3f3f3;
}

.dropsfan-entry .dropsfan-pic {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.pt_fans .dropsfan-entry #bg-image {
    height: 150px!important;
}

.pt_fans_test .dropsfan-entry #bg-image {
    height: 250px!important;
}

@media only screen and (min-width: 240px) and (max-width: 767px) {
    .dropsfan-entry #bg-image {
        height: 150px;
    }
}

.fans-counter {
    text-align: right;
    font-weight: 600;
    margin: 20px 0;
}

.pt_fans .dropsfan-entry .caption {
    height: 60px;
}

.pt_fans .dropsfan-entry .dropsfan-pic {
    height: 150px!important;
}

.pattern-related h3 {
    margin: 10px -10px;
}

.pt_fans_test .dropsfan-entry .dropsfan-pic {
    height: 250px!important;
}

.pt_fans_test .dropsfan-entry .caption {
    padding: 0;
    height: 50px;
}

@media only screen and (min-width: 240px) and (max-width: 767px) {
    .dropsfan-entry .dropsfan-pic {
        height: 150px;
    }
    .dropsfan-entry .caption {
        padding: 0 !important;
        overflow: hidden;
    }
}

.dropsfan-entry .dropsfan-pic img {
    zoom: 2;
    display: block;
    margin: auto;
    height: auto;
    max-height: 100%;
    width: auto;
    max-width: 100%;
}

.dropsfan-entry .caption {
    height: 95px;
    margin: 0 0 10px 0;
    padding: 5px 8px;
    background: #fff;
}

.dropsfan-entry .caption-s {
    height: 60px;
    margin: 0 0 10px 0;
    padding: 5px 8px;
    background: #fff;
}

.caption h4 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 5px;
}

.dropsfan-entry .caption-s h4 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 5px;
}

.dropsfan-entry .plus {
    margin: 8px 0;
    text-align: right;
}

.dropsfan-entry .caption .info a {
    color: #666666;
}

#site_wrapper .book {
    position: relative;
}

#site_wrapper .book .info {
    height: 145px;
    overflow: hidden;
}

#site_wrapper .book .book_lang {
    font-size: 11px;
    text-transform: uppercase;
    background: #333;
    color: #fff;
    padding: 3px 6px;
    position: absolute;
    top: 5%;
}

img.news-th {
    max-width: 200px;
}

.news_content a {
    text-decoration: underline;
    font-weight: bold;
}

.news_title {
    margin-top: 0;
    padding-top: 5px;
}

.news_footer {
    font-size: 11px;
    font-style: italic;
    padding: 5px 0;
    border-top: 1px dotted #cccccc;
    color: #666;
    margin-top: 10px;
}

.news_footer a {
    color: #666;
}

.news_share {
    font-size: 11px;
    padding: 15px 0 0;
}

.news_share span {
    float: left;
}

.news_extra td.thumb {
    max-width: 20px!important;
}

.news_extra tr[data-href] {
    cursor: pointer;
}

@media only screen and (min-width: 240px) and (max-width: 479px) {
    .blog-entry .blog-pic {
        height: 100px;
    }
    .blog-entry .blog-pic img {
        min-height: 100px;
    }
}


/* Structures aka Pattern Library */

.row.structures {
    font-size: 11px;
    text-align: center;
}

.row.structures strong {
    font-weight: bold;
    padding: 5px 0;
}

.row.structures a.thumbnail {
    margin-bottom: 7px;
}

.row.structures .img_caption {
    margin: 0 0 10px 0;
    min-height: 80px;
}


/* Findastore and retailer profile */

.stores {
    margin-top: 15px;
}

.stores table th {
    background: #a1b463!important;
    color: #fff!important;
}

.stores table tr.sub-header th {
    background: #e2f0d9!important;
    color: #333!important;
}

.stores table th a {
    color: #fff!important;
}


/* new 2018 */

.store {
    margin-top: 20px;
    font-family: 'PT Sans', sans-serif;
}

.store .product {
    position: relative;
}

.store .product h4 {
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    margin: 2px 0;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
}

.store .product .campaign {
    position: absolute;
    top: 0;
    right: 15px;
    width: 50px;
    font-family: 'PT Sans', sans-serif;
    color: #fff;
    background: #bf2529;
    font-weight: bold;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

figure.thumbnail {
    padding: 0!important;
    border-color: #e5e5e5;
    border-radius: 0;
}

figure.thumbnail .colours {
    position: absolute;
    background: #fff;
    padding: 3px 6px;
    opacity: 0.9;
    top: 190px;
    margin-left: 10px;
    font-size: 11px;
}

.store .product .caption {
    color: #666;
}

.store .product .caption .product_desc {
    height: 70px!important;
}

.store .product .caption .prices {
    color: #333;
}

.store .product .caption .product_order {
    min-height: 40px!important;
}

.store .store_icon {
    display: block;
}

.store .store_cover {
    text-align: center;
    position: relative;
    padding-top: 50px;
    margin: 0;
}

.store .store_cover .store_profile {
    max-width: 500px;
    background: #fff;
    padding: 5px 15px;
    margin: 0 auto 20px auto;
}

.store .store_address {
    font-size: 12px;
    margin-bottom: 10px;
}

.store .store_social {
    margin-bottom: 10px;
}

.store .store_about {
    padding: 10px 15px;
    margin: 10px auto;
    text-align: left;
}

.store .store_about a {
    text-decoration: underline;
    color: #6a756a;
}

.store .morecontent span {
    display: none;
}

@media only screen and (min-width: 240px) and (max-width: 479px) {
    .store .product .caption .product_desc {
        height: 90px!important;
    }
}


/* Findasale.php */

.display-none {
    display: none;
}

.display {
    display: inline-block;
}

.row.ylist div.bt {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #f2f2f2;
}

.cbanner {
    padding-top: 10px;
    padding-bottom: 10px;
}

.row.bg-gray {
    background: #f5f5f5;
    border-radius: 8px;
}

.row.prices,
.row.prices-header {
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f5f5f5;
}

.row.prices-header {
    font-weight: 700;
}

td.sn,
th.sn {
    padding-left: 23px!important;
    line-height: 15px;
}

td.sn h4 {
    margin: 0;
    padding: 3px 0;
}

td.sn.superstore {
    background: url('/img/retailers/dss.png') no-repeat 2px 5px;
}

@media only screen and (min-width: 240px) and (max-width: 479px) {
    td.sn,
    th.sn {
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media only screen and (min-width: 320px) and (max-width: 756px) {
    .yarn-mob {
        padding-top: 20px;
    }
}


/*** Prices ***/


/* on retailer.php and pricelist.php */

div.list_hidden {
    display: none;
}

div.list_clear {
    clear: both;
    height: 0;
    margin: 0;
    padding: 0;
    border-top: 1px solid #fff;
}

.table.yarn-list .maxprice {
    padding-right: 28px;
}

.table.yarn-list .campaign25 {
    padding-right: 28px;
    background: url('/img/activity/retailer_25.png') no-repeat right top;
    line-height: 15px!important;
}

.table.yarn-list .campaign30 {
    padding-right: 28px;
    background: url('/img/activity/retailer_30.png') no-repeat right top;
    line-height: 15px!important;
}

.table.yarn-list .campaign35 {
    padding-right: 28px;
    background: url('/img/activity/retailer_35.png') no-repeat right top;
    line-height: 15px!important;
}

.table.yarn-list {
    font-size: 12px;
}

.table.yarn-list .deals {
    color: #bf2529;
    font-weight: bold;
}

.table.prices {
    min-width: 80px;
}


/* on the yarn.php shadecard */

.row.prices .campaign25 {
    background: url('/img/activity/retailer_25.png') no-repeat right top;
    line-height: 15px!important;
}

.row.prices .campaign30 {
    background: url('/img/activity/retailer_30.png') no-repeat right top;
    line-height: 15px!important;
}

.row.prices .campaign35 {
    background: url('/img/activity/retailer_35.png') no-repeat right top;
    line-height: 15px!important;
}

.row.prices .campaign25 .text-danger,
.row.prices .campaign25 .crossed,
.row.prices .campaign30 .text-danger,
.row.prices .campaign30 .crossed,
.row.prices .campaign35 .text-danger,
.row.prices .campaign35 .crossed {
    padding-right: 15px;
}

.replace-yarn {
    padding: 10px;
}

.replace-yarn .caption {
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 60px;
}


/* prints */

.row.printpage {
    max-width: 700px;
    margin: 0;
    padding: 15px;
    background: #fff;
}

.print-break-before {
    page-break-before: always!important;
    display: block !important;
    page-break-inside: avoid;
}

p.print-break-before {
    page-break-before: always!important;
}

.print-break-after {
    page-break-after: always!important;
    display: block !important;
    page-break-inside: avoid;
}

p.print-break-after {
    page-break-after: always!important;
}

.row.printpage h1.bt,
.row.printpage h2.bt,
.row.printpage h3.bt,
.row.printpage h4.bt,
.row.printpage h5.bt {
    border-top: 1px solid #cccccc;
}

.row.printpage h1.bb,
.row.printpage h2.bb,
.row.printpage h3.bb,
.row.printpage h4.bb,
.row.printpage h5.bb {
    border-bottom: 1px solid #cccccc;
}


/* fix for Yarn Print (remove when all the shadecard is updated) */

.p4 {
    padding: 4px;
}


/* Patterns */

#site_wrapper .content .pattern,
#site_wrapper .content .col-md-9 .pattern,
#site_wrapper .content .col-md-12 .pattern {
    position: relative;
}

.pattern .new {
    position: absolute;
    top: 35px;
    right: 25px;
    width: 20px;
    height: 20px;
}

.pattern .featured {
    position: absolute;
    top: 35px;
    right: 25px;
    width: 20px;
    height: 20px;
}

.pattern .pattern-type {
    position: absolute;
    top: 10px;
    right: 25px;
    width: 20px;
    height: 20px;
}

.pattern .pattern-pics {
    position: absolute;
    top: 35px;
    right: 25px;
    width: 20px;
    height: 20px;
}

.pattern .unfav {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 15px;
    background: #f2f2f2;
    padding: 0 6px;
}

.pattern .todo {
    position: absolute;
    top: 30px;
    right: 15px;
    font-size: 15px;
    background: #f2f2f2;
    padding: 0 6px;
}

.pattern-main h3 {
    font-weight: 400;
}

.fav_video {
    position: relative;
}

.fav_video .unfav {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 15px;
    z-index: 200;
    background: #f2f2f2;
    padding: 0 6px;
}

.fav_video .todo {
    position: absolute;
    top: 30px;
    right: 15px;
    font-size: 15px;
    z-index: 200;
    background: #f2f2f2;
    padding: 0 6px;
}

.col_info {
    margin-top: 80px;
}

@media only screen and (min-width: 240px) and (max-width: 765px) {
    .col_info {
        margin: 15px 0;
    }
}

.img-pattern {
    border: 1px solid #f2f2f2;
}


/************* search *****************/

#site_wrapper .pattern .info {
    height: 48px;
    overflow: hidden;
    margin: 10px 0;
    font-size: 11px;
    line-height: 16px!important;
}

#site_wrapper .pattern .info .drops-number {
    font-weight: 700;
    margin: 0;
}

#site_wrapper .pattern .info .missing {
    color: #999;
    font-size: 10px;
}

#site_wrapper .pattern .info .missing a {
    color: #999;
}

#site_wrapper .yarn-colour .info {
    height: 50px;
    overflow: hidden;
    font-size: 11px;
    padding: 5px 0;
}

#site_wrapper .yarn-colour .img-colour {
    max-height: 120px;
    max-width: 120px;
}

@media only screen and (min-width: 240px) and (max-width: 640px) {
    #site_wrapper .row .shadecard {
        margin: 0 auto;
    }
    #site_wrapper .yarn-colour {
        padding: 0;
        border: 5px solid white;
    }
    #site_wrapper .yarn-colour .info {
        height: 40px;
    }
    #site_wrapper .yarn-colour .info .name {
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .yarn-patterns {
        margin: 0 auto;
    }
    .yarn-patterns .pattern {
        padding: 0;
        border: 5px solid white;
    }
    .pattern img {
        margin: 0;
    }
}

#site_wrapper .pattern .info.fav {
    height: 80px;
    overflow: hidden;
    font-size: 12px;
}

.figure {
    position: relative;
    max-width: 100%;
}

.figure img.hover {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    object-fit: contain;
    opacity: 0;
    transition: opacity .2s;
}

.figure:hover img.hover {
    opacity: 1;
}

.shadecard-images {
    position: absolute;
    z-index: 5;
    top: 5px;
    right: 5px;
    width: 2rem;
    height: 2rem;
    font-size: 1.4rem;
    color: #ffffffad;
}


/*
#site_wrapper .pattern .info h4 {
    font-family: 'Roboto Condensed', sans-serif;
    margin-top: 5px;
    margin-bottom: 0;
    line-height: 16px!important;
    font-size: 12px;
    font-weight: 700;
}

#favourites .pattern .info h4 small {
    font-size: 10px;
}
*/

#favourites .pattern .info .fav h4 {
    font-family: 'PT Sans', sans-serif;
    margin-top: 3px;
    margin-bottom: 3px;
    line-height: 24px!important;
}

#site_wrapper .pattern .info .fav h4 small {
    font-size: 12px;
}

#site_wrapper .pattern .info h4 .badge {
    margin: 0;
}

#site_wrapper .content .col-md-9 .pattern .btn {
    margin: 0 2px 5px 0;
}

.btn-default:active,
.btn-default.active,
.open>.dropdown-toggle.sort-by.halloween .btn-default {
    color: #333;
    background-color: #ddd;
    border-color: #ccc;
    box-shadow: none;
}

.activity-name {
    text-align: center;
}

.activity-text {
    clear: both;
    max-width: 350px;
    margin: 15px auto 25px;
    text-align: center;
}

.content.halloween {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: url('/img/holidays/halloween_ft-bg.jpg') no-repeat center top;
    color: #000;
    font-size: 14px;
}

.content.alpaca-party {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: url('/img/holidays/alpaca-party_ft-bg.jpg') no-repeat center top;
    color: #000;
    font-size: 14px;
}

.content.felting-fever {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: url('/img/holidays/felting-fever_ft-bg.jpg') no-repeat center top;
    color: #000;
}

.content.felting-fever .activity-name {
    margin-top: 70px;
}

.content.halloween .activity-name img {
    margin-top: -20px;
    padding: 0;
}

.content.sockalicious {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: url('/img/holidays/sockalicious_ft-bg.jpg') no-repeat center top;
    color: #000;
}

.content.super-sale-wool {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: url('/img/holidays/super-sale-wool_ft-bg.jpg') no-repeat center top;
    color: #000;
}

.content.super-sale-cotton {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: url('/img/holidays/super-sale-cotton_ft-bg.jpg') no-repeat center top;
    color: #000;
}

.content.merino-mania {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: url('/img/holidays/merino-mania_ft-bg.jpg') no-repeat center top;
    color: #000;
}

.content.summer-sale {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: url('/img/holidays/summer-sale_ft-bg.jpg') no-repeat center top;
    color: #000;
}


/*
.activity-cats {
    margin-top: 20px;
    margin-bottom: 10px;
}

.activity-cats h2 {
    margin-top: -5px;
}
*/

.halloween .row.footer {
    display: none;
}

.halloween .row.footer.halloween {
    display: block;
    background: url('/img/holidays/halloween-footer.png') no-repeat center bottom;
    height: 200px;
}

.activity-all {
    text-align: center;
    padding: 0 7rem;
}

@media only screen and (min-width: 240px) and (max-width: 640px) {
    .activity-all {
        text-align: center;
        padding: 0 1rem;
    }
}

.activity-cats h2 small {
    font-size: 15px;
}

.content.christmas-workshop {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 60px;
    padding-bottom: 0;
    background: url('/img/holidays/christmas-workshop_ft-bg.jpg') no-repeat center top;
    color: #000;
    font-size: 14px;
}

.christmas-workshop .row.footer {
    display: none;
}

.content.christmas-calendar {
    margin-top: 0;
    margin-bottom: 0;
    padding: 60px 20px 30px 20px;
    background: url('/img/holidays/christmas-calendar_ft-bg.jpg') no-repeat center top;
    color: #000;
    font-size: 14px;
}

.content.christmas-calendar .activity-text {
    max-width: 450px;
    margin: 0 auto 25px;
}


/** SS1920  .collection is used in admin */

.content.ss20 .pattern .modal-content,
.content.collection .pattern .modal-content {
    max-width: 500px;
}

.content.ss20 .pattern .modal-content .carousel-control.right,
.content.ss20 .pattern .modal-content .carousel-control.left {
    background-image: none;
}

.content.collection .pattern .modal-content .carousel-control.right,
.content.collection .pattern .modal-content .carousel-control.left {
    background-image: none;
}

.content.collection .pattern .form-horizontal {
    margin-top: 10px!important;
}

.content.ss20 .vt_check {
    font-size: 12px;
}


/* aw2122 */

.content.vote.aw2122 {
    position: relative;
    font-family: 'Lato', sans-serif;
    color: #333;
    margin: 0;
    padding: 50px 40px 30px 40px;
    background: url('/img/activity/collection/aw2122-vote_ft-bg.jpg') no-repeat center top;
    font-size: 14px;
}

.content.collection.aw2122 {
    position: relative;
    font-family: 'Lato', sans-serif;
    color: #333;
    margin: 0;
    padding: 50px 40px 30px 40px;
    background: url('/img/activity/collection/aw2122-vote_ft-bg.jpg') no-repeat center top;
    font-size: 14px;
}

.aw2122-comment {
    background: url('/img/activity/collection/aw2122-comment.jpg') no-repeat left top;
    padding-top: 20px;
}

.aw2122-comment h2 {
    padding: 0 0 10px 0;
}

.content.aw2122 .aw2122-comment table {
    margin: 20px 0;
}

.aw2122 .aw2122-comment .text {
    padding: 5px 10px;
    color: #333;
    font-size: 13px;
    background: #fff;
    border-radius: 3px;
}

.row .grid {
    margin: 0;
    padding: 0 25px;
}

.row .grid-collection {
    margin: 0;
    padding: 0 5%;
}

.text-margin {
    margin: 30px 110px 50px 80px
}

@media only screen and (min-width: 240px) and (max-width: 450px) {
    .content.vote.aw2122 {
        padding: 20px 5px 30px 5px;
    }
    .aw2122-comment {
        background: url('/img/activity/collection/aw2122-comment-s.jpg') no-repeat left bottom;
        padding-bottom: 120px;
    }
    .row.grid {
        margin: 0;
        padding: 0;
    }
    #ck-button {
        top: 57%;
    }
    .content.vote.aw2122 {
        background: url('/img/activity/collection/aw2122-vote_ft-bg-s.jpg') no-repeat center top;
    }
    .content.aw2122.activity-text {
        max-width: 400px;
    }
    .content.collection.aw2122 {
        padding: 0;
    }
}

@media only screen and (min-width: 300px) and (max-width: 767px) {
    .text-margin {
        margin: 30px 15px 10px 15px;
    }
}

@media only screen and (min-width: 550px) and (max-width: 767px) {
    .content.vote.aw2122 {
        padding: 0 19%;
    }
}
@media only screen and (min-width: 585px) and (max-width: 767px) {
    .row .grid {
        padding: 0 17%;
    }
}
@media only screen and (min-width: 591px) and (max-width: 767px) {
    .row .grid-collection {
        padding: 0 18%;
    }
}
@media only screen and (min-width: 300px) and (max-width: 590px) {
    .content.aw2122 .activity-text {
        margin: 0 auto 25px;
        padding-top: 50px;
    }
    .row .grid {
        padding: 0 13%;
    }
}
@media only screen and (min-width: 504px) and (max-width: 590px) {
    .row .grid-collection {
        padding: 0 13%;
    }
}
@media only screen and (min-width:300px) and (max-width: 505px) {
    .row .grid-collection {
        padding: 0 7%;
    }
}
.content.aw2122 .pattern .modal-content {
    max-width: 458px;
    border-radius: 2px;
    margin: auto;
}

.content.aw2122 .pattern .modal-content .modal-header {
    border: none;
    background-color: #ba9374;
}

.content.aw2122 .pattern .modal-content .modal-header .close {
    color: #fff;
    text-shadow: none;
    opacity: 1;
}

.content.aw2122 .close:hover,
.content.aw2122 .close:focus {
    color: rgba(255, 255, 255, 0);
}

.content.aw2122 .pattern .modal-content .modal-title {
    padding-left: 5px;
    color: #fff;
}

.content.aw2122 .pattern .modal-content .modal-body {
    padding: 0;
}

.img-border {
    border: 1px solid #f5f5f5;
}

.model_img {
    position: relative;
}

.pattern-type2 {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 99;
    width: 20px;
    height: 20px;
}

.vt_info {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 6px;
}

.content.aw2122 .pattern h4 {
    font-size: 14px !important;
}

.content.aw2122 .pattern .pattern-pics {
    position: absolute;
    top: 35px;
    left: 25px;
    z-index: 99;
}

.collection-text {
    font-size: 14px;
    line-height: 1.7;
    max-width: 700px;
    margin: 25px auto;
    text-align: center;
}

.content.aw2122 .activity-text {
    font-size: 14px;
    line-height: 1.7;
    max-width: 700px;
    margin: 50px auto 25px;
    text-align: center;
}

.content.aw2122 .row.navigate {
    line-height: 30px;
    color: #666;
    border-top: 1px dotted #ccc;
    border-bottom: 1px dotted #ccc;
    margin: 10px 0;
    font-size: 11px;
    text-align: center;
}

.content .aw2122 .vt_model {
    margin-bottom: 5px;
}

.content .aw2122 .vt_comm {
    font-size: 10px;
    margin: 3px 0;
    height: 15px;
}

.content .aw2122 .vt_comm div {
    display: inline;
    float: left;
    margin-right: 2px;
}

.content .aw2122 .comm div {
    display: inline;
    margin: 2px;
    float: right;
}

.vt_desc {
    margin-bottom: 10px;
}

.vt_name {
    margin: 10px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    font-size: 15px;
}

.coming-soon {
    margin: 10px 0 0;
    color: #bc7e5e;
    font-size: 15px;
}

.vot-desc {
    font-size: 12px;
    padding: 0;
    margin: 10px 0 5px 0;
}

.vot-comm {
    padding: 0;
    margin: 10px 0 5px 0;
}

.comm div {
    display: inline;
    margin: 2px;
}

.comm-right-2 {
    font-size: 13px;
    text-align: right;
    margin: 5px 3px 5px 0;
}

.comm-right-2 i {
    margin: 3px;
    color: #666;
}

.content.aw2122 .votes_left {
    z-index: 900!important;
    width: 250px;
    margin: 0;
    background: #ba9374;
    color: #fff;
    position: fixed;
    bottom: 0;
    left: 50%;
    margin-left: -125px;
    padding: 20px;
    font-size: 12px;
    text-align: center;
}

#site_wrapper .content .collection .pattern {
    padding: 7px;
}

.extra-pics i {
    position: absolute;
    font-size: 12px;
    top: 45px;
    z-index: 5;
    color: #fff;
    right: 20px;
    z-index: 99;
    width: 20px;
    height: 20px;
    background-color: #666;
    border-radius: 10px;
    padding: 4px;
    text-align: center;
}

.btn-primary[disabled] {
    color: #fff;
    background-color: #bfc7a4;
    border-color: #bfc7a4;
}

#ck-button {
    margin: 0 0 10px;
    color: #3e4840;
    background-color: #f2e2d7;
    border-radius: 2px;
    overflow: auto;
    float: left;
    position: absolute;
    top: 60%;
    left: 25%;
    z-index: 100;
}

#ck-button label {
    width: 7rem;
    margin: 0 !important;
}

#ck-button label span {
    text-align: center;
    padding: 8px 0px;
    font-size: 11px;
    display: block;
}

#ck-button label input {
    display: none;
}

#ck-button input[type="checkbox"]:checked+.button-checkbox {
    background-color: #D6A099;
    color: #fff;
    border: none;
    content: "";
}

#ck-button input[type="checkbox"]:checked+.button-checkbox {
    background-color: #D6A099;
    color: #fff;
    border: none;
    content: "";
}

#ck-button:hover {
    color: #fff;
    background-color: #D6A099;
    border: none;
}

.nc_footer {
    text-align: center;
    padding: 30px 20%;
}


/* test Janette */

#vote-button {
    margin: 0 0 20px;
    color: #3e4840;
    background-color: #e3d3c4;
    border-radius: 2px;
    overflow: auto;
    float: left;
    width: 100%;
}

#vote-button label {
    width: 100%;
    margin: 0 !important;
}

#vote-button label span {
    text-align: center;
    padding: 10px 0px;
    font-size: 11px;
    display: block;
    font-size: 12px;
}

#vote-button label input {
    display: none;
}

#vote-button input[type="checkbox"]:checked+.button-checkbox {
    background-color: #bc9377;
    color: #fff;
    border: none;
    content: "";
}

#vote-button input[type="checkbox"]:not(:checked)+.button-checkbox {
    background-color: #f4e5d9;
    cursor: pointer;
    color: #333;
    border: none;
    content: "";
}

#vote-button:hover {
    color: #fff;
    background-color: #ba9374;
    border: none;
}


/* dropsalong */

.row.dropsalong {
    background: url('/img/dropsalong/dropsalong_ft-bg.jpg') no-repeat center top;
    padding: 80px 20px 20px 20px;
    margin: 0;
    line-height: 1.5;
}

.row.dropsalong .cal {
    padding: 10px 0;
}

.row.dropsalong .clue h1 {
    margin: 20px 0 15px 0;
    text-align: left;
}

.row.dropsalong .clue p {
    font-size: 14px;
    line-height: 1.7;
}

.row.dropsalong p a {
    color: #5d5170;
    text-decoration: underline;
}
.row.dropsalong h3 span a{
font-weight: 400;
font-size: 14px;
text-decoration: underline;
}

.row.dropsalong p strong {
    font-weight: 700;
}

.row.dropsalong img {
    max-width: 100%;
}

.row.dropsalong table.table td {
    border-top: none !important;
}

.row.dropsalong table.table td.symbol {
    text-align: right;
    min-width: 50px!important;
}

.row.dropsalong table.table td.symbol img {
    min-width: 10px!important;
}

.row.dropsalong .img-cal {
    margin-bottom: 10px;
}

.row.dropsalong .img-clue {
    margin-bottom: 30px;
}

.row.dropsalong .mat-clue h3{
    margin-top: 0;
}

.row.dropsalong .clue-options {
    margin: 0;
    color: #666;
    padding: 8px 0;
    margin-bottom: 15px;
    line-height: 30px!important;
    font-size: 11px!important;
    background: #f3f3f3;
}

.row.dropsalong .clue-options select {
    color: #666;
    font-size: 11px!important;
}

.row.dropsalong h1,
.row.dropsalong h2 {
    margin: 30px 0 20px 0;
}

.row.dropsalong h1 {
    text-align: center;
    margin: 20px 0 40px 0;
}

.row.dropsalong ul.cal-info {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 15px;
    margin-bottom: 10px;
}

.row.dropsalong ul.cal-info i {
    color: #f5df66;
}

.row.dropsalong ul.cal-clues {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: 15px;
    margin-bottom: 10px;
    line-height: 24px;
}

.row.dropsalong ul.cal-clues i {
    color: #7db8bd;
    padding: 5px;
    font-size: 16px;
}

.row.dropsalong ul.cal-clues li.gray i {
    background: #b1b1b1;
}

.row.dropsalong ul.cal-clues li.more i {
    font-weight: 700;
    background: #fff;
    color: #333;
    font-size: 14px;
    padding: 0;
}

.row.dropsalong .cal-gallery {
    background: #f3f3f3;
    padding: 30px 20px 20px 20px;
    margin-top: 15px;
    margin-bottom: 0;
}

.row.dropsalong .cal-gallery .caption {
    font-size: 10px!important;
    height: 25px;
    overflow: hidden;
}

.row.dropsalong .row.dropscal {
    padding-top: 20px;
}

.row.dropsalong .row.dropscal .thumbnail .caption {
    font-size: 11px;
}

.row.dropsalong .row.dropscal .thumbnail .country {
    font-size: 11px;
    text-transform: uppercase;
    background: #9d6a8f;
    color: #fff;
    padding: 3px 6px;
    position: absolute;
    top: 5%;
}

.row.dropsalong p.info {
    font-weight: 700;
}

.row.dropsalong .fa-child {
    color: #418d49;
    font-size: 16px;
}
.row.dropsalong .fa-female{
    color: #b62826;
    font-size: 16px;
}
.row.dropsalong .fa-male {
    color: #4a90e2;
    font-size: 16px;
}


/* Lessons */

@media only screen and (min-width: 240px) and (max-width: 765px) {
    .school h3 {
        padding-bottom: 15px;
    }
}

.school-header {
    font-size: 14px;
    line-height: 1.7;
    margin: 0 auto 25px auto;
    text-align: center;
}

.btn-link-big {
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    padding: .5rem 0;
    border-bottom: 1px solid #333333;
}

.btn-link-big:hover {
    color: #8c9958;
    background-color: transparent;
    border-bottom: 1px solid #8c9958;
    transition: color .25s cubic-bezier(.215, .61, .355, 1);
    text-decoration: none;
}

.jeanette {
    position: relative;
}

.signature {
    height: 33px;
    position: absolute;
    right: 15px;
    top: 100px;
}

.faq {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.yarns-title {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

div.lessons {
    font-size: 14px;
    line-height: 1.7;
}

div.lessons img {
    max-width: 100%;
}

div.lessons-list {
    margin: 0;
    margin-top: 15px;
}

div.lessons-list .lesson {
    margin-top: 8px;
    margin-bottom: 8px;
    border-bottom: 1px dotted #e2e2e2;
}

div.lessons-list .lesson img.img-lesson {
    margin-top: 5px!important;
}

div.lessons-list .lesson h3 {
    margin-top: 5px!important;
}

div.lessons_title {
    width: 100%;
    height: 120px;
    position: relative;
    margin: 15px 0 0 0;
}

div.lessons_title.cat1 {
    background: url('/img/school/lessons/cat1.jpg') no-repeat left top;
}

div.lessons_title.cat2 {
    background: url('/img/school/lessons/cat2.jpg') no-repeat left top;
}

div.lessons_title.cat3 {
    background: url('/img/school/lessons/cat3.jpg') no-repeat left top;
}

div.lessons_title.cat4 {
    background: url('/img/school/lessons/cat4.jpg') no-repeat left top;
}

div.lessons_title.cat5 {
    background: url('/img/school/lessons/cat5.jpg') no-repeat left top;
}

div.lessons_title.cat6 {
    background: url('/img/school/lessons/cat6.jpg') no-repeat left top;
}

div.lessons_title h3 {
    font-family: 'Parisienne', cursive!important;
    font-weight: normal;
    font-size: 28px;
    padding-left: 20px;
    font-weight: 400!important;
    position: absolute;
    top: 40px;
    color: #fff;
    text-shadow: #6b6561 1px 1px 0px;
}

.lessons p.info {
    background: url('/img/icon/hand-point.png') no-repeat left center;
    padding-left: 20px;
}

.lessons p a {
    color: #5d5170;
    text-decoration: underline;
}

.side-help .sidebar {
    font-size: 14px;
    font-weight: 400;
    padding: 10px 0;
    display: block;
    text-align: center;
    background-color: #f3f3f3;
    border-bottom: 3px solid #fff;
}

.side-help h3 {
    font-weight: 700;
}

.side-help ul.list-unstyled li {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Christmas */

.christmas-modal .modal-content {
    border-radius: 1px;
    background-color: #fff;
    max-width: 300px;
    margin: 0 auto;
}

.christmas-modal .modal-content .text {
    padding: 20px;
    text-align: center;
}

.christmas-modal .modal-content .close {
    opacity: 1;
}


/* Valentines */

.content.valentinesday {
    position: relative;
    font-family: 'PT Sans', sans-serif;
    color: #666;
    margin-top: 0;
    margin-bottom: 0;
    padding: 50px 20px 30px 20px;
    background: url('/img/Holidays/Valentinesday_ft-bg.jpg') no-repeat center top;
    font-size: 14px;
}


/* Easter */

.content.easter-workshop {
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
    padding: 50px 20px 30px 20px;
    background: url('/img/holidays/easterw_ft-bg.jpg') no-repeat center top;
    font-size: 14px;
}


/* Custom Inspirations' headers */

.halloween2014 {
    width: 100%;
    height: 250px;
    position: relative;
    top: 0;
    margin: -100px 0 0 0;
    padding: 0;
    background: url('/img/holidays/halloween-header.gif') no-repeat center top;
    z-index: 9;
}


/* catalogue redirects */

.redirect_wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding-top: 30px;
}

.redirect_wrapper .row.where-to-go {
    max-width: 350px;
    margin: 0 auto;
}


/* Slick Modals - Alert popup */

.ad-popup-1 .close {
    background: #efebe8;
    color: #333!important;
    font-size: 13px!important;
    opacity: 1!important;
    text-transform: uppercase!important;
    padding: 8px 10px;
    text-shadow: 0 0;
}


/* Giveaways */

.giveaways .giveaway .terms {
    font-size: 10px;
    color: #666;
}

.giveaways .giveaway .giveaway-post p a:link {
    text-decoration: underline!important;
}

.giveaways .giveaway .giveaway-date {
    font-size: 11px;
}


/* New Home */

.feature-cats {
    padding: 0 5%;
}

#yarncomb-carousel {
    padding: 15px;
}

.feature-cats .carousel-control {
    height: 40px;
    width: 40px;
    background: none scroll #3f3c3ce8;
    border-radius: 23px;
    position: absolute;
    top: 38%;
}

.feature-cats .carousel-control i {
    top: 33%;
    left: 17px;
    color: rgb(255, 255, 255);
    position: absolute;
    text-shadow: none;
}

.feature-cats .carousel-control {
    opacity: 1;
    font-size: 12px;
}

.feature-cats .carousel-control:hover,
.feature-cats .carousel-control:focus {
    background: none scroll #333 !important;
}


/* Print Styles */

@media print {
    a[href]:after {
        content: none !important;
    }
    div.colours-print {
        display: block !important;
        page-break-inside: avoid;
    }
    .print-break-before {
        page-break-before: always !important;
        display: block !important;
        page-break-inside: avoid;
    }   
    .print-break-after {
        page-break-after: always !important;
        display: block !important;
        page-break-inside: avoid;
    }
    .hiddenprint{
        content: none !important;
    }  
}

.ot-pc-footer-logo {
    height: 0 !important;
}