/* New posts */
/* Square/Round post button styles */
.accessories .disabled{
  pointer-events: none;
  opacity: .2;
  cursor: not-allowed;
}
.accessories .accessory-option {
  position: relative;

  display: inline-block;
  width: 70px;
  height: 70px;
  padding: 10px;
  margin: 4px;

  cursor: pointer;
  transition: .14s;

  border: 3px solid #0b9bd9;
  border-radius: 50px;
  background: #fff;
}
.accessories .accessory-option:hover {
  transform: scale(1.1);
}
#canvas .hover-tool {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: 2px;

  line-height: 28px;

  transition: .5s background, color;
  text-align: center;

  color: #333;
  border: 2px solid #333;
  border-radius: 14px;
  background: #fff;
}
#canvas .hover-toolbar {
  position: absolute;
  top: calc(40%);
  left: calc(50% - 28px);

  display: none;

  cursor: pointer;
}
#canvas .placed:hover .hover-toolbar {
  display: block;
}
#canvas .hover-toolbar .hover-tool:hover {
  color: #fff;
  border: 2px solid #fff;
  background: #333;
}
#canvas .placed {
  position: absolute;

  cursor: move;
}
.vertical img {
  transform: rotateZ(90deg) translateY(-100%);
  transform-origin: 0 0;
}
.accessories .accessory-option > img {
  position: absolute;
  top: 50%;
  left: 50%;

  max-width: 40px;
  max-height: 40px;

  transform: translateX(-50%) translateY(-50%);
}
.accessory {
  display: inline-block;
}


/* Square Post */

/* Page Styles */
#submittedModal .modal-body .tray-title,
#submittedModal .modal-body .tray-title:focus,
#submittedModal .modal-body .tray-title:active,
#submittedModal .modal-body .tray-title:visited,
#draftsModal .modal-body .tray-title,
#draftsModal .modal-body .tray-title:focus,
#draftsModal .modal-body .tray-title:active,
#draftsModal .modal-body .tray-title:visited {
  transition: .3s color;

  color: #333;
}
#submittedModal .modal-body .tray-title:hover,
#draftsModal .modal-body .tray-title:hover {
  color: #0b9bd9;
}
#submittedModal .modal-body h2 {
  margin-bottom: 4px;

  font-size: 30px;
}
#submittedModal img {
  transition: .3s transform;
}
#submittedModal img:hover {
  transform: scale(1.05);
}
.form-alert {
  font-family: "Oswald", sans-serif;
  font-weight: 600;

  text-transform: uppercase;

  color: #ea0000;
}
.feature-case {
  max-width: 500px;
  margin: 0 auto;
  margin-bottom: 20px;

  background: url("/site/templates/_assets/img/build-a-tray/page/ez-build-real.jpg");
  background-size: 100%;
}
.feature-case img {
  width: 100%;

  -webkit-animation: trayFade 15s infinite;
  /* Safari and Chrome */
     -moz-animation: trayFade 15s infinite;
  /* Firefox */
          animation: trayFade 15s infinite;
}
@-moz-keyframes trayFade {
  /* Firefox */
  0% {
      opacity: 1;
  }
  10% {
      opacity: 0;
  }
  50% {
      opacity: 0;
  }
  60% {
      opacity: 1;
  }
}
@-webkit-keyframes trayFade {
  /* Firefox */
  0% {
      opacity: 1;
  }
  10% {
      opacity: 0;
  }
  50% {
      opacity: 0;
  }
  60% {
      opacity: 1;
  }
}
/* Tray Builder */
.posts-disclaimer{
  display: none;
}
#tray-builder {
  overflow-x: scroll;
}
.reference {
  position: absolute;
  z-index: -10;
}
.transparent {
  z-index: -1;

  opacity: 0;
}
.base-option,
.insert-option {
  transition: .5s all;

  border: 2px solid #0b9bd9;
  border-radius: 35px;
  background: #fff;
}
.base-option:hover,
.insert-option:hover {
  border: 2px solid #fff;
  background: #0b9bd9;
}
.options-label {
  transition: .5s all;

  color: #000;
}
.base-option:hover .options-label,
.insert-option:hover .options-label {
  color: #fff;
}
h3 {
  margin-bottom: 30px;

  font-family: "Oswald", sans-serif;
  font-weight: 700;

  text-align: center;
  text-transform: uppercase;
}
#canvas {
  position: relative;

  width: 1400px;
  height: 720px;
  margin: auto; /*added*/

  transform-origin: top;
}
#canvas.screenshot-ready {
  left: auto !important;

  transform: none !important;
}
@media screen and (min-width: 1400px) {
  #canvas {
      /*left: 50%;*/

      /*transform: translateX(-50%);*/
  }
}
#toolbar {
  padding: 15px;

  text-align: left;

  background: #eaeaeb;
}
#toolbar .toolbar-label {
  font-family: "Oswald", sans-serif;

  text-transform: uppercase;
}
#toolbar hr {
  max-width: 500px;

  border-top: 2px solid #0b9bd9;
}
#toolbar .dropdowns {
  text-align: center;
}
#toolbar .dropdown-label {
  text-align: left;
}
.button {
  display: inline-block;
  padding: 5px;

  font-family: "Oswald", sans-serif;
  font-size: 10px;
  font-weight: 800;

  cursor: pointer;
  transition: .3s background, .3s color;
  letter-spacing: .2em;
  text-transform: uppercase;

  color: #fff;
  border: 2px solid #0b9bd9;
  background: #0b9bd9;
}
.blue-button {
  cursor: pointer;
}
.button:hover {
  color: #0b9bd9;
  background: #fff;
}
.dropdown-label {
  display: inline-block;
}
.dropdown-label.material {
  display: block;

  text-align: center !important;
}
.dropdown-label.material [type=radio] {
  position: absolute;

  width: 0;
  height: 0;

  opacity: 0;
}
.dropdown-label.material [type=radio] + img {
  padding: 20px;
  margin: 10px;

  cursor: pointer;

  border: 5px solid rgba(255, 255, 255, 0);
  border-radius: 29px;
}
.dropdown-label.material [type=radio]:checked + img {
  border: 5px solid #0b9bd9;
  background: #fff;
}
.dropdown-label p {
  margin-bottom: 0;

  font-family: "Oswald", sans-serif;

  text-transform: uppercase;
}
#created-wall {
  position: absolute;
  top: 98px;
  left: 38px;

  width: 35px;
  height: 518px;
}
#grid-base,
#grid-insert {
  position: absolute;
}
#grid-base.base-12 {
  top: 98px;
  left: 482px;

  width: 434px;
  height: 518px;
}
#grid-base.base-21 {
  top: 98px;
  left: 264px;

  width: 868px;
  height: 518px;
}
#grid-insert.insert-21 {
  top: 118px;
  left: 306px;
  /* left: 284px; */

  /* width: 830px;
  height: 478px; */
  width: 786px;
  height: 478px;
}
#grid-insert.insert-21-12-2 {
  top: 118px;
  left: 306px;

  width: 786px;
  height: 478px;
}
#grid-base.base-24 {
  top: 98px;
  left: 198px;

  width: 1004px;
  height: 518px;
}
#grid-insert.insert-24 {
  top: 120px;
  left: 244px;

  width: 918px;
  height: 476px;
}
#grid-insert.insert-24-12-2 {
  top: 120px;
  left: 244px;

  width: 918px;
  height: 476px;
}
.post {
  position: absolute;

  width: 35px;
  height: 35px;
}
.post img {
  position: relative;
  top: 50%;
  left: 50%;

  transform: translateX(-50%) translateY(-50%);
}
.post.a {
  top: 0;
  left: 0;
}
.post.b {
  right: 0;
  bottom: 0;
}
.new.block {
  /*    top: -82px !important;
  left: 50% !important;
  transform: translateX(-50%);*/
}
.new-border {
  position: absolute;

  display: block;
  width: 100%;
  height: 36px;

  -webkit-animation: fade 1s infinite;
  /* Safari and Chrome */
     -moz-animation: fade 1s infinite;
  /* Firefox */
          animation: fade 1s infinite;

  outline: 4px dashed #0b9bd9;
  outline-offset: 10px;
}
@-moz-keyframes fade {
  /* Firefox */
  0% {
      outline-color: #0b9bd9;
  }
  50% {
      outline-color: rgba(11, 155, 217, .4);
  }
  100% {
      outline-color: #0b9bd9;
  }
}
@-webkit-keyframes fade {
  /* Firefox */
  0% {
      outline-color: #0b9bd9;
  }
  50% {
      outline-color: rgba(11, 155, 217, .4);
  }
  100% {
      outline-color: #0b9bd9;
  }
}

.block {
  position: absolute;
  z-index: 2;

  width: 35px;
  height: 35px;
}
.block .size-overlay {
  position: absolute;
  top: 50%;
  left: 50%;

  font-size: 28px;

  transform: translateX(-50%) translateY(-50%);

  color: #fff;
  text-shadow: 2px 1px 12px #000, 2px 1px 12px #000, 2px 1px 12px #000;
}
/*.block:hover .size-overlay {
  display: none;
}*/
/*.block .hover-toolbar {
  position: absolute;
  top: 50%;
  left: 50%;

  display: none;

  transform: translateX(-50%) translateY(-50%);
}*/
/*.block:hover .hover-toolbar,
.hover-toolbar.active {
  display: block;
}*/
/*.block .hover-toolbar .hover-tool {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: 2px;

  transition: .5s background, color;

  color: #333;
  border: 2px solid #333;
  border-radius: 14px;
  background: #fff;
}*/
/*.block .hover-toolbar .hover-tool:hover {
  color: #fff;
  border: 2px solid #fff;
  background: #333;
}*/
/*.block .hover-toolbar .hover-tool i {
  position: relative;
  top: 50%;
  left: 50%;

  padding-bottom: 6px;

  transform: translateX(-50%) translateY(-50%);
}*/
.block .color,
.block .texture {
  position: absolute;

  width: 100%;
  height: 100%;

  border: 10px solid transparent;
  background-clip: padding-box;
}
.block .color {
  opacity: .8;
}
/* Materials */
.block.divider .color,
.block.custom .color {
  opacity: 1;
}
.block.aluminum .texture {
  background-image: url("/site/templates/_assets/img/build-a-tray/materials/aluminum.jpg");
  background-repeat: repeat;

  background-blend-mode: overlay;
}
.block.thermoplastic .texture {
  background-image: url("/site/templates/_assets/img/build-a-tray/materials/thermoplastic.jpg");
  background-repeat: repeat;

  background-blend-mode: overlay;
}
/* Colors */
.block.color-code-c045 .color {
  background-color: #235183;
}
.block.color-code-c039 .color {
  background-color: #2e8b42;
}
.block.color-code-c369 .color {
  background-color: #232021;
}
.block.color-code-c084 .color {
  background-color: #b9c243;
}
.block.color-code-c044 .color {
  background-color: #891c29;
}
.block.color-code-c264 .color {
  background-color: #ac5a73;
}
.block.color-code-c362 .color {
  background-color: #9c4d27;
}
.block.color-code-c306 .color {
  background-color: #661f74;
}
.block.color-code-c261 .color {
  background-color: #a48530;
}
.block.color-code-c273 .color {
  background-color: #6e5e4e;
}
.block.color-code-c267 .color {
  background-color: #702932;
}
.block.color-code-c262 .color {
  background-color: #d7d8d9;
}
.block.color-code-bkv010 .color {
  background-color: #232021;
}
.block.color-code-byv110 .color {
  background-color: #87827f;
}
.block.color-code-blv070 .color {
  background-color: #4356a9;
}
.block.color-code-grv080 .color {
  background-color: #3ab978;
}
.block.color-code-mgv020 .color {
  background-color: #c55b99;
}
.block.color-code-ruv010 .color {
  background-color: #9b4745;
}
.block.color-code-aqv020 .color {
  background-color: #3ca6af;
}
.block.color-code-rev050 .color {
  background-color: #a82f41;
}
.block.color-code-blv080 .color {
  background-color: #4486c9;
}
.block.color-code-yev060 .color {
  background-color: #d3a52f;
}
.block.color-code-ytv010 .color {
  background-color: #7c5fa6;
}
.block.color-code-grv090 .color {
  background-color: #1a6340;
}
.block.color-code-orv020 .color {
  background-color: #e65a32;
}
.block.color-code-brv040 .color {
  background-color: #51312c;
}
.block.color-code-whv120 .color {
  background-color: #eeeeef;
}
/* Sizes */
.block.vertical.size-2 {
  height: 122px;
}
.block.vertical.size-3 {
  height: 144px;
}
.block.vertical.size-4 {
  height: 166px;
}
.block.vertical.size-5 {
  height: 188px;
}
.block.vertical.size-6 {
  height: 210px;
}
.block.vertical.size-7 {
  height: 232px;
}
.block.vertical.size-8 {
  height: 254px;
}
.block.vertical.size-9 {
  height: 276px;
}
.block.vertical.size-10 {
  height: 298px;
}
.block.vertical.size-11 {
  height: 320px;
}
.block.vertical.size-12 {
  height: 342px;
}
.block.vertical.size-13 {
  height: 364px;
}
.block.vertical.size-14 {
  height: 386px;
}
.block.vertical.size-15 {
  height: 408px;
}
.block.vertical.size-16 {
  height: 430px;
}
.block.vertical.size-17 {
  height: 452px;
}
.block.vertical.size-18 {
  height: 474px;
}
.block.vertical.size-19 {
  height: 496px;
}
.block.vertical.size-20 {
  height: 518px;
}
.block.horizontal.size-2 {
  width: 122px;
}
.block.horizontal.size-3 {
  width: 144px;
}
.block.horizontal.size-4 {
  width: 166px;
}
.block.horizontal.size-5 {
  width: 188px;
}
.block.horizontal.size-6 {
  width: 210px;
}
.block.horizontal.size-7 {
  width: 232px;
}
.block.horizontal.size-8 {
  width: 254px;
}
.block.horizontal.size-9 {
  width: 276px;
}
.block.horizontal.size-10 {
  width: 298px;
}
.block.horizontal.size-11 {
  width: 320px;
}
.block.horizontal.size-12 {
  width: 342px;
}
.block.horizontal.size-13 {
  width: 364px;
}
.block.horizontal.size-14 {
  width: 386px;
}
.block.horizontal.size-15 {
  width: 408px;
}
.block.horizontal.size-16 {
  width: 430px;
}
.block.horizontal.size-17 {
  width: 452px;
}
.block.horizontal.size-18 {
  width: 474px;
}
.block.horizontal.size-19 {
  width: 496px;
}
.block.horizontal.size-20 {
  width: 518px;
}



/*---*/
.blue-select {
  height: 30px;
  min-width: 50px;

  text-align: center;

  color: #333;
  background: #fff;

  bordeR: none;
}
p.sfa-tooltip {
  position: absolute;
  bottom: 100%;
  left: -50%;
  z-index: 1;

  width: 200%;
  padding: 5px;
  margin: 20px 0;

  animation: slideUp .2s;

  color: black;
  background: white;
}

@keyframes slideUp {
  from {
      transform: translateY(8px);

      opacity: 0;
  }
  to {
      transform: translateY(0);

      opacity: 1;
  }
}


.new {
  transform: scale(1.2);
  animation: pulse .8s alternate infinite ease-in-out;
}
@keyframes pulse {
  from {
      opacity: .5;
  }
  to {
      opacity: .8;
  }
}
