/* ================ OPS TEMPLATE SYSTEM MATRIX ===============*/
.template-matrix-more {
  text-align: center;
  margin-bottom: 1em;
}

/* ================ OPS TEMPLATE SYSTEM PREVIEW ALL ===============*/

#template-actions.proceed_box{
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  background-color: #f5f5f5;
}
#template-actions-checkbox {
  text-align: center;
  margin-top:0.5rem;
}
#template-actions-checkbox input[type=checkbox]
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(1.25); /* IE */
  -moz-transform: scale(1.25); /* FF */
  -webkit-transform: scale(1.25); /* Safari and Chrome */
  -o-transform: scale(1.25); /* Opera */
  transform: scale(1.25);
}
/* ================ OPS TEMPLATE SYSTEM ===============*/
#home h1, #catalogue h1, #designs h1 {}
#designs .listing-name { font-size: 1.25rem; }
.listing-template, #template-designs .w-col, #templates .w-col { margin-bottom: 2rem;}
.listing-template-name { font-size: 1.25rem; }
.templates-loading {
    background:#F2F2F2;
    font-size:1rem;
    padding:5px 10px;
    text-align:center;
    width:75%;
    margin:0px auto;
    display:none;
    clear: both;
}
.template_thumb,
.listing-product-image img,
.listing-category-image img{
  border:1px solid #E0E0E0;
}
#p-matrix-options-container { margin:0; }
a.template-create-link:link, a.template-create-link:visited {  font-weight: bold;opacity: 0.8; }
a.template-create-link:hover { opacity: 1; }
div.create-online{
    padding:20px;
}

.tab-pane { padding: 1em 0  }
.tab-pane h2 { margin-bottom: 15px;}
.tab-pane .checkout-action { margin-bottom: 1em;}
.template-form{
  border:1px solid #d9d9d9;
  padding:10px;
}
div.template-form-intro{
  margin:0;
  color:#535555;
  font-size:14px;
  font-weight:bold;
}
.template-form input{
  width:99%;
  border: 1px solid #7b7f80;
  text-align:center;
  color:#9ea1a2;
  height:38px;
  font:bold 16px/38px Arial,Helvetica,sans-serif;
}

/* LW - 09/11/2018 Fixing stuff*/
/* Template Detail*/


/* LW 12/09/2019 Matched/Similar Listing CTA*/

.listing-link.cta, .listing-link.cta:visited{
color:#FFF;
}

/* Template proof tabs*/

.template-proof.r-tabs{
  background-color: #FFF;
  border:none;
  border-radius: 0;
}

.template-proof #myTab.r-tabs .r-tabs-panel{
  padding: 2rem 0;
}

.template-proof #myTab ul.r-tabs-nav{
	border-bottom:1px solid #ddd;
}

.template-proof #myTab li.r-tabs-tab {
    position: relative;
    top: 1px;
}

/* FW 05-07-2019: changed to style background on the container because the old style was applied to the template preview and was hiding the base artwork image */
.template-proof{
  background-color: #FFF;
}

.template-preview-loader{
  position:absolute;
  margin-top:30%;
  left:30%;
  right:30%;
  color:#111; 
  text-align:center;
  border:1px solid #ccc;
  background:#eee;
  display:none;
}
.template-preview-loader img{
  padding:50px;
}
#templatezoom { width:100%; overflow:auto; }
.template-image {
    margin: 0 auto;
    position:relative;
}
.templateimage {
    margin: 0 auto;
    /* FW 04-10-2017: changed to top left because left of the template goes outside of the scrollable area so not usable */
    transform-origin: top left;
    border:1px solid #E0E0E0;
    overflow:hidden;
    /* LW 29-09-2020 Added pos:rel to improve layout on mobile devices*/
    position:relative;
}
.templatefields {
    position: relative;
    left: 0px;
    top: 0px;
    height: 100%;
}
.templateform{
    padding-left:0;
}
.templateform input[type=text], .templateform textarea { width:95%; }
.templateform textarea { height:150px; }
#template-confirm-box{
  width:600px;
  max-width: 95%;
  margin: 10px auto;
}
.create-online-confirm{ float:left; height: 40px; margin-right:10px; }
.template-continue{
  text-align:center;
}
.fields-margin{
  margin: 10px 0 4px; 
}
.field-image{
  margin: 5px 0 10px;
}
.field-loader {
  zoom:1;
  display: inline-block;
  margin: 10px 0;
}
#editor-notifications{
  position:absolute;
  top:-1rem;
  left:0;
  right:0;
  z-index: 9999;
  margin:0;
}

/*=====================================================
TEMPLATES PAGE
=====================================================*/
.templates_section {  padding-bottom: 2rem;}
.templatesection {  padding-bottom: 2rem;}
.templates_section .other_designs {  display: none; }

@media only screen and (min-width: 992px) {
  .templates_section .other_designs {display: block; }
}


/* FILTERS */
.filter_block {
  position: relative;
  padding: 20px;
  background-color: #f7f7f7;
  margin-bottom: 1rem;
}
#filters ul{
  list-style: none;
  margin:0;
  padding:0;
}
@media only screen and (min-width: 992px) {
    .filter_block{      margin-bottom: 0; }
}

@media only screen and (min-width: 768px) {
  .filter_block {     padding-top: 0;    background-color: transparent;  }
  .filter_block h2 {    font-size: 1.5rem;    cursor:auto;  }
  .filter_block h2:after { display: none; }
}

@media only screen and (min-width: 768px) {
    .filter_block .toggle {      display: none; }
    .filter_block .toggle.expanded {      display: none; }
  }

@media only screen and (max-width: 768px) {
  .filter_block h2 {
    padding-bottom: 0;
    font-size: 1.25rem;
    margin: 0;
    cursor: pointer;
  }
  .filter_block .fa{
    float:right;
  }

  .filter_block .toggle {
    cursor: pointer;
    display: block;
    position: absolute;
    right: 0;
    top: 0.5rem;
    line-height: 3rem;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    color: #e43131;
  }
}
.filter_block .toggle.expanded {
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

#filters {
  display: none;
  padding-top: 1rem;
}

@media only screen and (min-width: 768px) {
  #filters {
    display: block; }
}

#filters input[type="checkbox"] {
  display: inline-block;
  margin: 0 10px 0 0;
}
/*=====================================================
INLINE EDITOR
=====================================================*/

/* styles for all tags */
.inline-enabled .field label, .inline-enabled .field > div, .inline-enabled .field textarea, .inline-enabled .field.editable input{  
  margin:0;
  padding:0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
/* styles for labels - the text visible on page load  */
/* FW 13-08-19: datepicker style added because the input is always visible */
/* FW 25-11-19: improved interface styling - changed to border bottom on text fields */
.inline-enabled .field.editable label, .inline-enabled .field-textarea.editable > div, .inline-enabled .field.editable input.hasDatepicker{
  border-bottom:1px dotted #aaa;
  position: relative;
  box-sizing: content-box;
}
.inline-enabled .field.non-editable label, .inline-enabled .field.editable .field-text-label {
  border:1px dotted transparent;
}
/* FW 13-08-19: datepicker style added because the input is always visible */
.inline-enabled .field.editable label:hover, .inline-enabled .field.editable input.hasDatepicker:hover{
  border-bottom:1px dotted red;
  cursor:pointer;
}
/* FW 25-11-19: improved interface styling - keeping border around full multi-line text field following above change to bottom border on text field */
.field-textarea.editable .cke_editable {
  border:1px dotted #aaa;
}
/* LW 26-07-18 Added Field Hover */
.field-textarea.editable:hover .cke_editable {
  border: 1px dotted red;
}
.field.resize:hover, .field.resize.active-field  {
  border-color: red;
}
/* 20-06-2018 MM: Removed label:hover:after pencil icon as moveable fields replaced this.*/
.inline-enabled .cke_editable.cke_focus:hover:after{
  display:none;
}
/* styles for editing fields - visible when a field is being edited */
/* FW 25-11-19: improved interface styling - remove border applied by theme stylesheet to input then apply 1px bottom so matches field label but with red highlight */
.inline-enabled .field.editable input, .inline-enabled .field.editable textarea, .inline-enabled .field.editable select{
  border:0;
  border-bottom:1px dotted red;
  background:transparent;
  background-color:rgba(0,0,0,0.03);
  border-radius:0;
  display:none;
  box-sizing: content-box;
  background-clip: content-box;
}
/* FW 25-11-19: improved interface styling - include border on the span (label) to keep it inline with the field */
.inline-enabled .field.editable span{
  border-bottom:1px dotted transparent;
  box-sizing: content-box;
}
.inline-enabled .field.editable input:focus, .inline-enabled .field.editable textarea:focus, .inline-enabled .field.editable select:focus{
  outline-offset: 0;
  outline: -webkit-focus-ring-color auto 0px;
}
/* all paragraph tags in CKEditor should look like double line breaks */
.inline-enabled .field.field-textarea > div p {
  margin-bottom: 1.2em;
}
.firefox .inline-enabled .field.field-textarea > div p {
  margin-bottom: 1em;
}

.ops-template{
padding-bottom:2rem;
}

/* TEMPLATE SYSTEM TOOLBAR */

.editor_toolbar {
  background-color: #e1e1e1;
  color: #5F6573;
  padding: 0;
}
.editor_toolbar .w-col {
  padding:0;
}
.editor_toolbar_right{
  display: inline-block;
  float: right;
}
#designs .editor_tool {
  display: inline-block;
  text-align: center;
  line-height: 1;
  cursor: pointer;
  width: 100px;
  padding: 1rem 10px;
  color: #5F6573;
  position: relative;
  float: left;
}
#designs .editor_tool.editor_layout_link {
  width: 180px;
  border:1px solid transparent;
}
#designs .editor_tool.editor_layout_link img {
  max-width: 160px;
  max-height: 160px;
}
#designs a.editor_tool.editor_tool_active {
  background-color:#f5f5f5;
  border:1px solid #9ba1b2;
}
#designs .editor_tool:hover, .editor_tool:visited, .editor_tool:active {
  text-decoration: none;
}
#designs a.editor_tool, span.editor_tool,
#designs a.editor_tool:hover, span.editor_tool:hover {
  text-decoration: none;
}
#designs .editor_tool.next {
  /* background-color: #e48503; */
  color:white;
}

.editor_tool.back {
  background-color: #b7b7b7;
  color:white;
}

.editor_tool:hover i, .editor_tool:hover span {
  opacity: 0.8;
  text-decoration: none;
}

.editor_tool i {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.editor_tool span {
  display: block;
  font-size: 0.75rem;
}
.editor_tool .editor_extras {
  display: none;
  position: absolute;
  top:95%;
  left:-63px;
  width:auto;
  /*height:100px;*/
  z-index: 999999;
  opacity: 1;
}
.editor_tool:hover .editor_extras {
  display: block;
  opacity: 1;
}
.editor_extras_arrow {
  width:20px;
  margin:0 auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 11px 15px 11px;
  border-color: transparent transparent #9ba1b2 transparent;
}
.editor_extras_iarrow {
  position: relative;
  top: 0;
  left: -10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 15px 10px;
  border-color: transparent transparent #ffffff transparent;
}
.editor_extras_content {
  background: white;
  border: 1px solid #9ba1b2;
  width:200px;
  display: inline-block;
  margin-top: -1px;
}
.editor_tool .form-submit,.editor_tool select{
  width:95%;
  border-radius: 0;
}
.editor_tool .form-submit{
  margin: 0.3em 0 0;
  padding: 0.5em 1em;
  font-weight: normal;
}
.editor_extras_content form{
  margin: 0 0 1em;
}

#designs .editor_extras_content a{
	width:47%;
}

.editor_tool span.template-selectuser{ 
  font-size: 1.1em;
  font-weight: bold;
  display: inline-block;
  line-height: 1.5em;  
}
.editor_layout_link img{
  margin-bottom: 0.5em;
}
.editor_layout .editor_extras{
  left: -248px;
}
.editor_layout .editor_extras_content {
  width:560px;
}
/* editor page navigation */
#designs .editor_navigation{
  background-color:#959595;
  height:2.2rem;
  line-height: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
  color:white;
  font-size: 0.9rem;
}
#designs .editor_navigation a{
  text-decoration: none;
}
.editor_navigation i{
  color:white;
}
.editor_navigation span{
  display: inline-block;
  margin: 0 1em;
}
.editor_navigation input[type=number]{
  width:3.5em;
  height:1.8em;
  border-radius: 0;
  border:0px solid transparent;
  display: inline;
  color: #2e3a3f;
  text-align:center;
}
.editor_navigation h3 {
  font-size: 1.1rem;
  color:#FFF;
}

#editor_load_account {
  margin-bottom: 1em;
  position: relative;
  left: 5px;
}
#editor_load_account span {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  opacity: 1;
}

/* TEMPLATE TOOLS - STYLING */

.template-editor {
  background: #f8f8f8;
  border: 1px solid #d1d1d1;
  padding:0.1rem 1rem 0.1rem 0.1rem;
  display: none;
  position: absolute;
  z-index: 999;
  font-family: Arial,Helvetica,Tahoma,Verdana,Sans-Serif;
  height: 2.2rem;
}
#template-editor-image {
  padding:0.3rem 1rem 0.3rem 0.3rem;
  height: auto;
}
.template-editor-close {position: absolute; right: -9px; top:-9px; background:url('../images/delete.png') no-repeat 0 0; background-size: contain; width:20px; height:20px; opacity: 1;}
/*.template-editor .editor_extras_arrow {
  position: absolute;
  top:1px;
  left:-10px;
  border-width: 12px 10px 12px 0;
  border-color: transparent #5F6573 transparent transparent;
  display: none;
}
.template-editor .editor_extras_iarrow {
  top: -10px;
  left: 0;
  border-width: 10px 10px 10px 0;
  border-color: transparent #eee transparent transparent;
  display: none;
}*/
.template-editor > div {
  display:inline-block;
  float:left;
  position: relative;
}
.template-editor > div:after {
    content: "";
    position: absolute;
    height: 1.25rem;
    width: 0;
    border-right: 1px solid #bcbcbc;
    margin-top: 5px;
    top: 0;
    right: 0;
}
.template-editor select{
  width:99%;
  border:1px solid #5F6573;
  border-radius: 0;
}
.template-editor .editor-font, .template-editor .editor-size {
  padding-right: 0.5rem;
}
.template-editor label {
  display: inline-block;
  width:3rem;
  font-size:0.75rem;
  color:inherit;
  padding-left:0.75rem;
}
.template-editor select {
  display: inline-block;
  width:7rem;
  height: 1.9rem;
  line-height: 1.3rem;
  padding: 0.3rem;
  border:0;
  font-size:0.75rem;
  margin-left:0.5rem;

}
.editor-align, .editor-style, .editor-colour{
  padding:0 0.2rem;
}
.editor-colour-swatch{
  display: inline-block;
  margin: 2px 0 0;
}
.editor-colour-swatch-i{
  display: inline-block;
  height: 1.9rem;
  width: 16px;
  background-image: url(http://cdn.ckeditor.com/4.6.1/full/plugins/icons.png?t=GB8C);
  background-position: 0 -402px;
  background-size: auto;
}
.editor-align span, .editor-style span, span.editor-colour-swatch  {
  display: inline-block;
  text-align: center;
  width:2rem;
  height:1.9rem;
  line-height: 1.8rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
}
.editor-align span:hover, 
.editor-style span:hover, 
.editor-colour-swatch:hover, 
.editor-palette > div:hover,
.editor-icon.active {
  cursor:pointer;
  border-color: #ccc;
  background-color: #fff;
}
.editor-palette > div:hover{
  border-color: transparent;
}
.editor-align span.editor-align-top i {
  margin-top:0px; 
}
.editor-align span.editor-align-middle i {
  margin-top:7px; 
}
.editor-align span.editor-align-bottom i {
  margin-top:10px;
}
.editor-colour{
  margin-right:0;
  position: relative;
}
.editor-palette {
  position: absolute;
  top:33px;
  right:0;
  width:212px;
  padding: 10px;
  background-color:white;
  border: 1px solid #d1d1d1;
}
.editor-palette > div,.bgcolor-palette > div{
  width:20px;
  height:20px; 
  float:left;
  margin: 0 4px 4px 0;
}
.active-color {
    border: 2px solid;
}
div.template-image-pos, div.template-image-upload, div#editor-image-filename, div.template-image-delete {
  display: inline-block;
  float: left;
  height: 1.9rem;
  line-height: 1.9rem;
  padding: 0 0.5rem;
}
div#editor-image-filename {
  display: none; 
  text-overflow: ellipsis; 
  overflow: hidden; 
  width: 10rem; 
  white-space: nowrap;
}
div.template-image-pos{
  
}
#template-editor-image .template-image-pos span {
  line-height: inherit;
}
#template-editor-image .template-image-pos a {
  line-height: inherit;
}
.template-image-upload .form-submit {
  margin: 0;
  padding: 0px 20px;
  line-height: 22px;
  font-weight:normal;
}
/* IMAGE CHECK START */
.template-image-error, .template-image-error.fa.fa-exclamation-circle{
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.25rem;
     color: red;
    padding: 1px;
    border-radius: 50%;
    background-color: #FFF;
    line-height: 1.15rem;
}
/* IMAGE CHECK END */
/* TEMPLATE SYSTEM MOVEABLE/RESIZEABLE FIELDS */
.drag .draggable {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: transparent;
  cursor: move;
  z-index: 999999;
  display: none;
}
.field:hover .draggable {
  display: inline-block;
}
.field:focus .draggable {
  display: none;
}
.drag .draggable:after {
  content: '\f0b2';
  font-family: FontAwesome;
  font-size: 1rem;
  position: inherit;
  line-height: 20px;
  width: 20px;
  color: red;
}
.draggable.ui-draggable-handle {
  position: absolute;
  left: -20px;
  /*padding: 0.25rem;*/
}
.draggable.ui-draggable-handle {
    width: 1.4rem;
    height: 1.4rem;
    /* LW 28/06/2018 - Removed border due to duplication causing odd-looking graphics*/
    color: #FFF;
    text-align: center;
    font-size: 0.8rem;
}
.draggable:after {
    width: 1.5rem;
    height: 1.5rem;
    /* LW 28/06/2018 - Removed border + background colour due to duplication causing odd-looking graphics*/
    color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
}
.field .ui-resizable-handle::after {
  content: "/f0c8";
  font-family: FontAwesome;
  position: relative;
}
.field:hover .ui-resizable-handle, .fiels .active-field .ui-resizable-handle {
  display: block !important;
}
.field .ui-resizable-handle {
  display: none!important;
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: transparent;
  border-style: solid;
  border-color: red;
  border-width: 1px;
  border-radius: 2px;
}
.field .ui-resizable-n {
  left: 50%;
}
.field .ui-resizable-e {
  top: 50%;
}
.field .ui-resizable-s {
  left: 50%;
}
.field .ui-resizable-w {
  top: 50%;
}
.field .ui-resizable-ne {
  right: -5px;
  top: -5px;
}
.field .ui-resizable-se {
  right: -5px;
  bottom: -5px;
  background-position: unset;
  background-image: unset;
}
.field .ui-resizable-sw {
  left: -5px;
  bottom: -5px;
}
.field .ui-resizable-nw {
  left: -5px;
  top: -5px;
}
.ui-resizable-resizing { border: 2px; }
.template-editor {
  width: fit-content;
}
/* TEMPLATE SYSTEM MOVEABLE/RESIZEABLE FIELDS END*/
/* TEMPLATE SYSTEM IMAGE LIBRARY */
#image-library.w-container .w-row {margin:0;}
#image-library-search p{
  margin-bottom:1em;
}
#image-library .tab-content{
  min-height: 500px;
}
.image-library-select, #image-library .fa-trash:hover{
  cursor:pointer;
}
.featherlight{
  background: rgba(0,0,0,.8);
}
#image-library #selectFile{
  margin: 10px 0 0 0;
  width:100%;
}
#image-library #dropFile{
  background: #f5f5f5;
  border: 2px dashed #e5e5e5;
  color: #676767;
  width: 100%;
  text-align: center;
  padding: 8px 20px;
  margin: 10px 0 0 0;
  font-weight: bold;
  line-height: 100px;
}

/* LW 26/06/18 - Template System Image library Update (originally created on Vibrant Colour)*/
a.imageUpload{
  display: inline-block;
  padding:5px 10px;
  border-radius: 5px;
  background-color:#8dbf39;
  color:#FFF;
  margin-left: 1rem;
  cursor:pointer;
  transition: 0.2s;
  text-decoration: none;
}
a.imageUpload:hover{
  color:#FFF;
  opacity: 0.8;
}

#image-library-upload{
  display: none;
  margin: 0px 10px;
  padding: 10px;
  border: 1px solid #e3e3e3;
}
#image-library h2{
  display: inline-block;
  font-size: 1.5rem;
  margin:0;
  margin-bottom: 0.5em;
}
#image-library h3{
  margin:0;
  margin-bottom: 0.5em;
}
script.featherlight-inner{
  display: none!important;
}

#image-library #dropFile{
  line-height: normal;
  padding: 30px 10px;
}

#dropFile p{
  font-size: 0.7rem;
}

input.image-search {
    padding: 0 30px;
    width:100%;
}

#image-library-1-loading{
  display: none;
  position: absolute;
  top: 30px;
  left: 15px;
}

#image-library-1.w-row{
  padding-top:1rem;
  margin:0 -10px;
}
/* LW 26/06/18 - Template System Image Library update End*/

/* LW 28/06/2018 - Removed Duplicate Moveable/resizeable fields */
/* LW 26/06/2018 - Removed Duplicate Template System Image Library CSS */

/* LW moved from instaprint 24/05*/
p.image-library-info{
max-width:100%;
overflow:hidden;
}

/* IMAGE CROP STYLES */
.template-image-pos > a, .template-image-delete > a {
  display: block;
  line-height: 2rem;
  float:left;
  margin-right: 5px;
}
.template-image-delete > a {
  margin-right: 0;
}
.template-no-image {
  border: 1px dashed !important;
}
/* Classic editor only */
.template-image-pos span {
  float:left;
  display: inline-block;
  line-height: 2rem;
  margin-right:0.5rem;
}
.template-image-pos a, .template-image-delete a{
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  width:23px;
}
a.image-pos-custom,a.image-pos-fit{
  width:26px;
}
.template-image-pos a:before, .template-image-delete a:before{
  font-family: FontAwesome;
  position: absolute;
  top: 0;
  left: 2px;
  font-size: 22px;
  text-indent: 0;
}
a.image-pos-left:before{
  content: "\f0a8";
}
a.image-pos-top:before{
  content: "\f0aa";
}
a.image-pos-centre:before{
  content: "\f192";
}
a.image-pos-right:before{
  content: "\f0a9";
}
a.image-pos-bottom:before{
  content: "\f0ab";
}
a.image-pos-custom:before{
  content: "\f125";
}
a.image-pos-fit:before{
  content: "\f047";
}
a.image-delete:before {
  content: "\f00d";
}
a.image-pos-savecustom{
  text-indent: 0;
  width:auto;
  background-color: <?= $secondary_menu_bg ?>;
  color: <?= $button_link_text ?>;
  display:inline-block;
  padding: 0px 10px;
  margin: 0 0.5rem 0 0.25rem;
  border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px;
}
.template-image-pos a.image-pos-active:before {
  color: <?= $primary_menu_bg ?>;
}
.templateimage.editactive .templatefields{
  background-color: rgba(255,255,255,0.7);
}
.templateimage.editactive .templatefields > div {
    opacity: 0.3;
}
#templateimage div.cropactive{
  /*background-position: 0% 60.5714%;*/
  opacity: 1;
  border: 1px solid <?= $secondary_menu_bg ?>;
  margin-top: -1px;
  margin-left: -1px;
  z-index:9999999;
  box-sizing: content-box;
}
#templateimage div.cropactive:hover {
  cursor: move;
  /*cursor: grab;
  cursor: -webkit-grab; 
  cursor: -moz-grab;*/
}
/*Photo Upload Styles */
.file-input {
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    position: relative;
    float:left;
    z-index:10;
    font-family:Helvetica, Arial, serif;
}
.file-input input {
    cursor: pointer;
    font-size: 100px;
  height:30px;
    filter: alpha(opacity=1);
    -moz-opacity: 0.01;
    opacity: 0.01;
    position: absolute;
    right: 0;
    top: 0;
    z-index:20;
    outline:none;
}
.file-input .btn{
    cursor: pointer;
    display: inline-block;
    float:left;
  width:200px !important;
  height:30px !important;
  line-height:30px !important;
  text-align:center;
  border:none;
  font:18px/30px Anodyne,Arial,Helvetica,sans-serif;
  color:#303B2D;
  margin:0;
  border-radius: 5px;
}
.file-input input:hover, .file-input .btn:hover{
  cursor:pointer;
}
.file-input .file-holder{
    margin-top:4px;
    display: block;
    float: left;
    margin-left:4px;
    font-size:11px
}
.field-exts{
  display:block;  
  clear:both;
  margin-top:5px;
}

/* ================ OPS TEMPLATE DATA UPLOAD AND PREVIEW STYLES ===============*/

h3 {
  font-size: 1.25rem;
}

.design_product_thumb {
  display: block;
}

.tc-filter-Tag {
  margin-bottom: 1rem;
}

.tc-filter-Tag:last-child {
  margin-bottom: 0;
}


.tc-filter-Tag ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.design_product_thumb {
  margin-bottom: 2rem;
}


/*------Template PRoduct Selection -----------*/
.optionbuttons {
  display: table;
  width: 100%;
  margin-top: 1px;
}

.optionbutton {
  display: block;
  vertical-align: middle;
  background: <?= $secondary_menu_bg ?>;
  border-right: 1px solid lightgrey;
  padding: 0.5rem 10px;
  text-align: center;
  color: <?= $button_link_text ?>;
  width:100%;
}

.optionbutton:hover {
  opacity: 0.8;
}

.optionbutton:last-child {
  border-right: none;
}

/*------ Template Uploader -----------*/

h2.subtitle {
  margin-bottom: 1rem;
}

.templatedownload {
  font-size: 0.875rem;
}

.templatedownload:before {
  content: "\f0ce";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  text-decoration: inherit;
  margin-right: 10px;
  margin-top: 1rem;
}

.lonebutton {
  margin-left: 0;
}

.secondary {
  background-color: #808285;
}

.form_group {
  padding-bottom: 1rem;
}

.form_group:last-child {
  padding-bottom: 0;
}

.form_group label {
  width: 30%;
  float: left;
  font-weight: bold;
}

.form_group input[type="text"], .form_group textarea, .form_group select, span.info {
  width: 70%;
  float: left;
}

span.info {
  padding-left: 10px;
  color: #2e3a3f;
}

.pricepreview {
  padding-bottom: 1rem;
  display: block;
  font-size: 2rem;
}
.pricepreview .currency {
  font-size: 0.5em;
}

.proceed_box {
  margin-top: 2rem;
  padding: 1.5rem 20px;
  background-color: #f5f5f5;
  border: 1px solid transparent;
}
.proceed_box > * {
  margin-bottom: 0.5rem;
}
/* FW 27-06-2018: changes made below to add .preview_slider to styles for data upload */
.preview_slider .slick-prev, .preview_slider .slick-next {
  position: absolute;
  top: auto;
  bottom: -72px;
  height: 3rem;
  line-height: 3rem;
  font-size: 0;
  color: transparent;
  width: 40px;
  text-align: center;
  border: none;
  background-color: #333;
  outline: none !important;
  margin: 0;
  border-radius: 0;
}

.preview_slider .slick-prev:before, .preview_slider .slick-next:before {
  color: white;
  font-size: 1rem;
  line-height: 3rem;
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  text-decoration: inherit;
}

.preview_slider .slick-prev:before {
  content: "\f0d9";
}

.preview_slider .slick-next:before {
  content: "\f0da";
}

 
.preview_slider .slick-prev {
  left: 0;
  border-right: 1px solid #555;
}

.preview_slider .slick-next {
  right: 0;
  border-left: 1px solid #555;
}
.design_slide {
  cursor: crosshair;
}

.design_slide:hover {
  opacity: 0.8;
}

.designpreview:link, .designpreview:visited {
  display: block;
  margin-bottom: 1rem;
  height: 3rem;
  line-height: 3rem;
  background-color: #333;
  text-align: center;
  color: white;
}

.designpreview:hover {
  background-color: #555;
}

.disclaimer {
  display: block;
  font-size: 0.75rem;
  line-height: 0.75rem;
  color: #888;
  margin-top: -0.5rem;
}

.preview_title {
  display: block;
  text-align: center;
  padding: 0 20px;
}

.slidernav {
  width: 200px;
  display: block;
  margin: auto;
  text-align: center;
  padding-top: 0.5rem;
}

/* ================ OPS TEMPLATE PROOF / APPROVALS ===============*/

.template-preview .r-tabs{
	border:none;
	background-color:transparent;
}
#designs .template-preview .r-tabs .r-tabs-nav .r-tabs-anchor{
	padding:10px 30px;
}

.template-actions{ background:#f5f5f5;padding:3px 5px; margin-bottom:20px;line-height: 40px; text-align:left; }
.template-actions .checkout-action { text-align:left; }
.template-actions a {float:none;margin:0.5em 0; }

/* ================ OPS TEMPLATE SYSTEM PREVIEW ALL ===============*/

#template-actions.proceed_box{
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  background-color: #f5f5f5;
}
#template-actions-checkbox {
  text-align: center;
  margin-top:0.5rem;
}
#template-actions-checkbox input[type=checkbox]
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(1.25); /* IE */
  -moz-transform: scale(1.25); /* FF */
  -webkit-transform: scale(1.25); /* Safari and Chrome */
  -o-transform: scale(1.25); /* Opera */
  transform: scale(1.25);
}

/* Template Cloud */

.tc-image img {
  max-width:100%;
  height: auto;
  border: 1px solid #ddd;
}
.tc-back .checkout-action {
  text-align: left;
}
.tc-template #p-matrix-container {
  margin-top: 20px;
  clear:both;
}
.p-matrix-cost {
  font-size:16px;
  font-weight: bold;
}
.tc-design-price {
  display: block;
}
.tc-filters ul {
  margin-left:0;
  padding-left: 0;
}
.tc-filters ul li {
  list-style-type: none;
}
.tc-listing {
  padding: 8px;
}
.tc-loading {
    background:#F2F2F2;
    font-size:20px;
    padding:5px 10px;
    text-align:center;
    width:450px;
    margin:0px auto;
    display:none;
    border-radius: 5px;
}
.listing-tc-image {
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  height:220px;
  width: 200px;
  position: relative;
}
.listing-tc-image img {
  box-shadow: 3px 3px 3px #ccc;
  max-width:193px;
  max-height: 200px;
}
#tc-matched .listing-tc-image img, #tc-similar .listing-tc-image img {
  width: 99.9%;
  height: auto;
}
#tc-matched .listing-tc-image, #tc-similar .listing-tc-image {
  width: 99.9%;
}
.listing-tc-image-1 {
  z-index: 10;
}
.listing-tc-image-1 img {
  margin-left: -10px;
  margin-top: -12px;
}
.listing-tc-image-2 {
  z-index: 5;
}
.listing-tc-image-2 img{
  position: absolute;
  margin-top:1px;
  margin-left: 3px;
}
.listing-tc-image-active {
  z-index: 20;
  position: relative;
}

/* IMAGE CHECK START */
.template-image-error, .template-image-error.fa.fa-exclamation-circle{
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.25rem;
  color: red;
  padding: 0.25rem;
}
/* 11-09-2018 MM: Default styling for if success is used */
.template-image-success, .template-image-success.fa.fa-exclamation-circle {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.25rem;
    color: green;
    padding: 0.25rem;
}
/* IMAGE CHECK END */
/* 09-08-2019 FW: added custom styles for jquery ui datepicker now used in the template system*/
.ui-datepicker{ z-index: 99999;position: relative; }

/* LW 14/10/2020 Template Drafts */

.draft-container{
  padding:20px;
  background-color:#f7f7f7;
  border-radius: 10px;
}

#SaveReference input[type="text"]{
  width: 79%;
  display:inline-block;
  vertical-align: middle;
}
#SaveReference .checkout-action{
  display:inline-block;
  width:20%;
  margin: 0;
  vertical-align: middle;
}
#SaveReference .checkout-action input[type="submit"]{
  width:100%;
  float: none;
  padding: 6px 20px;
  position: relative;
}

.savedraft-container.proceed_box{
  background-color:#f7f7f7;
  margin:0;
  padding:20px;
  border-radius: 10px;
}

.draft-options.proceed_box{
  margin:0;
  padding:0;
  margin-top:2rem;
}

.draft-options.proceed_box h3{
  margin-bottom:1rem;
}

#SaveReference .draft-saved{
  background-color: #93c117;
}
#SaveReference .checkout-action{
  position: relative;
}
#SaveReference .checkout-action:before{
  content:'\f058';
  font-family: 'FontAwesome';
  color: #FFF;
  font-size: 1rem;
  left: 10px;
  top: 10px;
  position: absolute;
  z-index: 11;
  line-height: 1;
}

@media only screen and (max-width: 768px) {
  #SaveReference input[type="text"]{
    width: 50%;
  }
  #SaveReference .checkout-action{
    width:49%;
  }
  .draft-container{
    margin-bottom: 1rem;
  }
}

@media only screen and (max-width: 640px) {
  #SaveReference input[type="text"],
    #SaveReference .checkout-action{
    width: 100%;
    margin-bottom: 1rem;
  }
}
/* LW 14/10/2020 Template Drafts END */
