44#tartan_search_box {
  float: left;
  font-size: 14px;
  height: 14px;
  border: 1px solid #D8D7D7;
  padding: 5px;
  font-family: sans-serif;
  color: #222;
}

#tartan_search_button {
  float: left;
  font-size: 1.2em;
  height: 25px;
  font-family: verdana, arial, helvetica, sans-serif;
}

.tartan_letters {
  clear: both;
  margin-left: 5px;
  margin-right: 5px;
}

.tartan_letters {
  font-size: 1.2em;
  display: none;
}

#tartan_panel {
    max-width: 700px;
    height: 775px;
    z-index: 999999;
    width: 100%;
    padding: 0 15px;
    left: 50%;
    box-sizing: border-box;
}
#tartan_loading {
z-index: 1102;
background-image: url(../../images/loading.gif);
background-position: center center;
background-repeat: no-repeat;
width: 87px;
height: 84px;
z-index: 10000000;
}

#tartan_panel_background { visibility:hidden; position:fixed; height:100%; width:100%; top:0; left:0; background:#000000; z-index:1100; }

#tartan img {
  margin-bottom:5px;
}

.tartan-sidebox {
  text-align:center;
}

#tartan_selection_holder img {
  margin-right:6px;
}

#tartan_info_button {
  padding-left: 2em;
}

#tartan_info_inner {
  background-position: center bottom;
  background-image: url('../images/tartan_info.png');
}

#tartan_info {
  /*position: absolute;
  display: none;*/
  z-index: 680;
}

#tartan_panel_content { width: 670px; }
.tartanList { width: 650px; }
.tartan_panel_nav_buttons { float: left; }
.tartan_panel_panel_buttons { float:right; padding-top:3px; }

#tartan_panel .centerColumn {
    padding: 0.8em;
}

#tartan_panel .tartan-view {
    padding: 20px;
}

#tartan_panel .tartan-view .header {
    padding: 0 0 10px 0px;
}

#tartan_panel .tartan-view .header h1 {
    text-align: left;
    float: left;
}

#tartan_panel .tartan-view .header .surcharge {
    float: left;
    color: #ff874b;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.15;
    margin-left: 60px;
}

#tartan_panel .tartan-view .header .select-tartan-link {
    float: right;
}

#tartan_panel .tartan-view .tartan-image{
    margin-right: 20px;
    margin-bottom: 20px;   
    float: left;
    max-width: 400px;
    max-height: 400px;
}

#tartan_panel .tartan-view li {
    margin-bottom: 5px;
}

/*#tartan_info_content {
  background: white;
}

#tartan_info_content div {
  padding: 12px;
}*/
.swatch_title {
  padding-bottom: 6px;
}

#tartan_info_content ul, #tartan_info_content ol {
  list-style-type: disc;
  margin-left: 2em;
}

.numberTartans {
  margin-top: 15px;
}

td.tartanCell {
  width: 120px;
}

.tartanCell {
  /*background-image: url(../images/ajax-swatch-bg.jpg);
  background-position: bottom;
  background-repeat: no-repeat;*/
  padding-bottom: 2px;
  padding-top: 15px;
  text-align: center;
  width: 120px;
}

.ajaxTartanCell {
  /*background-image: url(../images/ajax-swatch-bg.jpg);
  background-position: bottom;
  background-repeat: no-repeat;*/
  padding-top: 10px;
  padding-bottom: 2px;
  width: 130px;
  text-align: center;
}

.weightsRow {
  border-spacing: 0px 5px;
}

.weightsRow .ajaxTartanCell {
  /*padding-top: 2px;
  padding-bottom: 2px;*/
}

#tartan_panel .weightsRow {
background-image: url(../images/centre-head3-bg.jpg);
background-repeat: no-repeat;
}

.ajaxTartanCellPlaceHolder {
  width: 130px;
/*  height: 147px;*/
}

.tartanCell img {
  margin-bottom: 5px;
}


#tartan_panel .numberTartans {
  margin-left: 11px;
  width: 640px;
  margin-top: 8px;
}

.tartan_info_more_link {
  text-align: right;
}

.tartan_info_more_contracted {
  display: none;
}

.tartanCell .swatchLink {
  padding-left: 14px;
  padding-right: 14px;
  padding-bottom: 5px;
  text-align: center;
  display: block;
}

#tartan_panel .swatchLink {
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    display: block;
    height: 30px;
}

h3.weightsTitle {
  background-image: url(../images/centre-head2-bg.jpg);
  background-repeat: no-repeat;
  margin-top: 0px;
  padding-left: 5px;
  padding-top: 0px;
}

.tartanDetails {
  width: 120px;
  border: none;
  float: left;
  margin: 2px 60px 20px 2px;
  padding: 0px 0px 6px 0px;
  text-align: center;
  background-image: url(../images/swatch-mill-bg.jpg);
  background-repeat:no-repeat;
  background-position:bottom;
}

#tartan_panel .weightsRow {
  background-image: url(../images/centre-head3-bg.jpg);
  background-repeat: no-repeat;
}

#tartan_panel td.weightsTitle {
  vertical-align: top;
}

#tartan_panel .weightsTitle h3 {
  font-size: 1em;
  margin-top: 0;
  padding-left: 8px;
  padding-top: 4px;
}

/* Pagination */

#tartan_panel .paging .amount {
    float: left;
    margin: 0;
    margin-top: 5px;
}

#tartan_panel .paging{
    padding: 5px 5px;padding-right: 0;
}

#tartan_panel .pagination .pages {
    float: right;
    margin: 0;
    padding: 0;
}

#tartan_panel .pagination .pages li a, .pages li a:link{ color: #777; display: block; line-height: 16px;}

#tartan_panel .pagination .pages li:hover{ border-color: #c22c0f;}

#tartan_panel .pagination .pages li {
    display: block;
    float: left;
    margin: 0 2px;
    margin-top: 2px;
    text-align: center !important;
    margin-top: 0px;
    margin: 0 0 0 2px;
}

#tartan_panel .pagination .pages li a img {height: 16px;}

#tartan_panel .pagination .pages .current {
    background: #ddd;
    color: #999;
    border-color: #ccc;
    text-align: center;
    margin-right: 2px;
    padding: 4px 7px 2px 7px;
    border: 1px solid #ccc;
    line-height: 16px;
}

#tartan_panel .pagination .pages strong {
    display: none;
}

#tartan_panel .tartan-panel-search {
    overflow: hidden;float: none;text-align: center;
}
#tartan_panel .tartan-panel-search form {
  overflow: hidden;display: inline-block;
}

#tartan_panel .tartan-panel-header {
    background-color: #f3faf0;
    padding: 12px 30px 8px 30px;
    height: 30px;
    border-bottom: 1px solid black;
}

#tartan_panel .tartan-panel-header:after,
#tartan_panel .toolbar:after,
#tartan_panel #tartan_panel_content #tartans-list .info:after,
#tartan_panel #tartan_panel_content .tartan-view .tartan-information:after{
    display: block;
    content: ".";
    clear: both;
    font-size: 0;
    line-height: 0;
    height: 0;
    overflow: hidden;
}

#tartan_panel .tartan-panel-close {
    height: 36px;
    width: 36px;
    overflow: hidden;
    position: absolute;
    right: 0px;
    top: -16px;
    z-index: 99;
}

#tartan_panel .tartan-panel-home-link {
    float: right;
}

#tartan_panel .tartan-panel-search button{
    background-color: #86a77c;
    border: 0 none;
    float: left;
    color: #fff;
    height: 26px;
}

#tartan_panel .tartan-panel-search button img{

}

#tartan_panel #tartan_panel_content {
    width: 100%;
    height: 725px;
    background: #fff;
}

#tartan_panel #tartan_panel_content #tartans-list {
    height: 675px;
    overflow-y: auto;
    clear: both;
}

#tartan_panel #tartan_panel_content #tartans-list .tartan {
  float: left;
  padding-top: 10px;
  padding-bottom: 2px;
  width: 20%;
  text-align: center;
}
@media (max-width: 700px){
  #tartan_panel #tartan_panel_content #tartans-list .tartan {
    width: 25%;
  }
}
@media (max-width: 590px){
  #tartan_panel #tartan_panel_content #tartans-list .tartan {
    width: 33.3%;
  }
}
@media (max-width: 480px){
  #tartan_panel #tartan_panel_content #tartans-list .tartan {
    width: 50%;
  }
  #tartan_search_box {
    width: 80%;
  }
}
@media (max-width: 322px){
  #tartan_panel #tartan_panel_content #tartans-list .tartan {
    width: 100%;
  }
}

#tartan_panel #tartan_panel_content .toolbar {
    margin: 0px;
}

#tartan_panel #tartan_panel_content #tartans-list .info {
    padding: 0px 8px;
    height: 38px;
    max-width: 110px;
    margin: 0 auto;
    font-size: 12px;
}

#tartan_panel #tartan_panel_content #tartans-list .mill {
    float: left;
}

#tartan_panel #tartan_panel_content #tartans-list .weight {
    float: right;
}

#tartan_panel #tartan_panel_content #tartans-list .weight.full {
    float: right;
}

#tartan_panel #tartan_panel_content #tartans-list .surcharge {
    color: #ff874b;
    font-weight: bold;
}

#tartan_panel #tartan_panel_content #tartans-list .tartan .swatchLink {
  margin-left: 6px;
  margin-right: 6px;
  font-size: 0.95em;
  position:relative;
}

#tartan_panel #tartan_panel_content #tartans-list .tartan .button {
    background: #88a97e;
    padding: 4px 7px;
    text-decoration: none;
    color: white;
}

#tartan_panel #tartan_panel_content #tartans-list .tartan .button:first-child {
    margin-right: 2px;
}

#tartan_panel #tartan_panel_content .tartan-view #tartan-information {
    overflow-y: auto;
}

@media (max-width: 640px){
  #tartan_panel .tartan-panel-search {clear: both;padding-top: 20px;}
  #tartan_panel .tartan-panel-header {padding: 12px 15px 8px;height: auto;}
}

.td_selected_tratan {position: relative;}
.change_tratan {position: absolute;bottom: -3px;}
.change_tratan a {text-decoration: underline;}
.td_selected_tratan strong {
  display: block;margin-top: -5px;
}

.group-header {
    font-weight: bold;
}

.group-header:before,
.group-header:after {
    content:"";
    display:table;
    clear:both;
}

body.tartan-gallery .col-main {
    padding-top: 50px;
}

body.tartan-gallery #tartan_panel,
body.tartan-gallery div#tartan_panel_content,
body.tartan-gallery #tartan_panel #tartan_panel_content{
    max-width: 100%;
    height: auto;
}

body.tartan-gallery #tartan_panel #tartan_panel_content #tartans-list .tartan {
    max-width: 138px;
}

body.tartan-gallery #tartan_panel #tartan_panel_content #tartans-list {
    height: auto;
}

body.tartan-gallery .galleries-grid {
    width: 100%;
    margin-left: 20px;
}

body.tartan-gallery .gallery-item {
    cursor: pointer;
    width: 100%;
    max-width: 42%;
    margin-right: 70px;
    margin-bottom: 50px;
    float: left;
    background-image: url(../images/gallery-bg-inactive.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom;
    border: 1px solid black;
    height: 250px;
    -webkit-transition: all 200ms ease 0ms;
    transition: all 200ms ease 0ms;
}

body.tartan-gallery .gallery-item.type-clan {
    background-image: url(../images/gallery-clan-bg-inactive.png);
}

body.tartan-gallery .gallery-item:hover {
    background-image: url(../images/gallery-bg.png);    
}

body.tartan-gallery .gallery-item.type-clan:hover {
    background-image: url(../images/gallery-clan-bg.png);
}

body.tartan-gallery .gallery-item .header {
    border-bottom: 1px solid black;
    text-align: center;
}

body.tartan-gallery .gallery-item .header h3 {
    font-size: 30px;
}

body.tartan-gallery .gallery-item .details {
    padding: 15px 35px;
}

body.tartan-gallery .gallery-item .details ul {
    float: left;
    width: 50%;
    padding-right: 40px;
    box-sizing: border-box;
}

body.tartan-gallery .gallery-item .details ul li {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

body.tartan-gallery #tartan_panel .tartan-panel-header {
    background-color: transparent;
    padding: 12px 14px 8px 14px;
}

body.tartan-gallery #tartan_panel .tartan-panel-search {
    float: left;
}

body.tartan-gallery .td_selected_tratan {
    font-size: 17px;
}

body.tartan-gallery table.selected-tartan {
    width: 100%;
    float: left;
    max-width: 580px;
}

body.tartan-gallery .td_selected_tratan h1 {
    font-weight: bold;
}

body.tartan-gallery .info strong{
    color: #de5700;
}

body.tartan-gallery .info a {
    text-decoration: underline;
    font-weight: bold;
}

body.tartan-gallery .info a:hover {
    text-decoration: none;
}

body.tartan-gallery .toolbar-bottom .amount {
    display: none;
}

body.tartan-gallery #tartan_panel #tartan_panel_content #tartans-list .info {
    max-width: 110px;
}

body.tartan-gallery #tartan_panel #tartan_panel_content #tartans-list .weight.full {
    float: none;
}

#tartan_search_box {height: 22px;padding-left: 5px;float: left;}

.tartan-products .col {
    float: left;
    width: 50%
}
.tartan-products .product-header,
.tartan-products .product-item {
    line-height: 30px;
}
.tartan-products .product-header div:first-child, 
.tartan-products .product-item div:first-child {
    width: 70%;
    float: left;
}
.tartan-products .product-header div:last-child, 
.tartan-products .product-item div:last-child {
    width: 30%;
    float: left;
}
.tartan-products .product-header {
    font-weight: bold;
}
.tartan-products .product-item a {
    text-decoration: underline;
}
.tartan-products .product-item a:hover {
    text-decoration: none;
}
.tartan-products .old-price {
    display: none;
}

@media (max-width: 1020px){
  body.tartan-gallery .gallery-item {
    max-width: 47%;margin-right: 20px;
  }
}
@media (max-width: 768px){
  body.tartan-gallery .galleries-grid {
    margin-left: -3%;
  }
  body.tartan-gallery .gallery-item {
    margin-right: 0;margin-left: 3%;max-width: 46.5%;
  }

  body.tartan-gallery #tartan_panel #tartan_panel_content #tartans-list .tartan {
    max-width: 100%;width: 33.3%;
  }
  body.tartan-gallery #tartan_search_box {width: 213px;}
  .tartan-products {padding: 20px;}
  #tartan_panel_content .tartan-products .col {width: 100%;}
  .tartan-products .col:last-child .product-header {display: none;}
  body.tartan-gallery table.selected-tartan td {display: block;width: 100%;margin: 0 auto 10px;}
  .change_tratan {position: static;}
  body.tartan-gallery .products-grid .product-image img {width: 100%;}
  body.tartan-gallery .products-grid .item .details {background: none;}
  body.tartan-gallery .products-grid .product-actions {clear: both;height: auto;}
  body.tartan-gallery .products-grid .product-actions .btn-cart {float: none;display: inline-block;}
}
@media (max-width: 640px){
  body.tartan-gallery #tartan_panel .tartan-panel-search {clear: none;padding-top: 0px;}
}
@media (max-width: 480px){
  body.tartan-gallery #tartan_panel .tartan-panel-search {clear: both;padding-top: 20px;}
  body.tartan-gallery .galleries-grid {
    margin-left: 0;
  }
  body.tartan-gallery .tartan-panel-header {text-align: center;}
  body.tartan-gallery #tartan_panel .tartan-panel-home-link {float: none;}
  body.tartan-gallery #tartan_search_box {width: 78%;}
  body.tartan-gallery #tartan_panel #tartan_panel_content #tartans-list .tartan {
    max-width: 100%;width: 50%;
  }
  body.tartan-gallery .gallery-item {
    max-width: 100%;margin: 0 0 15px;
  }
}

@media (max-width: 360px){
  body.tartan-gallery #tartan_panel #tartan_panel_content #tartans-list .tartan {
    max-width: 100%;width: 100%;
  }
}

