﻿#ProductOptionsCanvasSmall {
    background-color: transparent;
    border: 5px dashed #79a08f;
    width: 100%;
    height: 100%;
    max-height: 80vh;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
}

.bnlink-submit-disabled {
    cursor: not-allowed !important;
    text-decoration: line-through;
}

#ProductOptionsCanvasLarge {
    background-color: transparent;
    border: 5px dashed #79a08f;
    width: 100%;
    height: 100%;
    padding: 10px;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
}

#ProductOptionsSmallCanvasElement {
    max-height: 55vh;
    max-width: 100%;
    margin-bottom: 10px;
}

#ProductOptionsLargeCanvasElement {
    max-height: 750px;
    max-width: 100%;
    position: absolute;
    top: 52%;
    transform: translate(-50%,-50%);
    max-width: 90%;
    max-height: 85%;
}

.background-color-link {
    margin: .1rem .1rem;
    border: 1px solid black;
    border-radius: 1rem;
    width: 1.5rem;
    height: 2rem;
}

.bnlink-next-disabled {
    cursor: not-allowed !important;
    text-decoration: line-through !important;
}

    /*.background-color-link:hover {
        content: attr(data-name);
        display: block;
        background: #000;
        position: absolute;
        top: 100%;
        left: -7px;
        right: -7px;
        padding: 15px;
    }*/

#ProductColors {
    background-color: #ffffff !important;
    max-height: 500px !important;
    padding-left: .1rem !important;
    overflow-x: hidden !important;
    width: 210px;
}

#ProductColors .row{
    padding-left: 20px;
}

#desktop-background-colors {
    display: none;
}

#desktop-logo-colors {
    display: none;
}

#color-group-container {
    width: 98%;
    flex: 0 0 49%;
    max-width: 49%;
    height: 100%;
}

#color-group-container-mobile {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    height: 100%;
    display:block;
    z-index:90;
}

.topZindex {
    display:block;
    z-index:100;
}

#text-color-back {
    cursor: pointer;
}

.color-group {
    width: 50%;
    cursor: pointer;
}

.color-group:hover {
    background-color: darkgrey;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.color-group-image {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    width: 24px;
    height: 24px;
    background-color: black;
}

.color-group-colors {
    height: 100%;
    display: none;
}

.color {
    cursor: pointer;
}

.color:hover {
    border-bottom: 2px solid #ff0000;
    transform: scale(1.50);
}

.selected-background-color {
    border-bottom: 2px solid #ff0000;
}

.selected-image-color {
    border-bottom: 2px solid #ff0000;
}

.selected-logo-color {
    border-bottom: 2px solid #ff0000;
}

.selected-text-color {
    border-bottom: 2px solid #ff0000;
}

.close-color-group-color {
    cursor: pointer;
}

.close-color-group {
    cursor: pointer;
}

#desktop-add-text {
    display: none;
}

.desktop-product-textAdd {
    margin-bottom: 5px;
}

#add-text-container {
    width: 98%;
    flex: 0 0 49%;
    max-width: 49%;
    height: 100%;
}

#mobile-background-colors {
    display: none;
}

.marginTop {
    margin-top: 5px;
}

.selectorWidth {
    width: 14em;
}

.found-logo-color {
    cursor: pointer;
    z-index: 1; /* Makes aria-label on hover name showing thingy not fall behind the textbox (which has z-index 0)*/
}

.found-logo-color:hover {
    border-bottom: 2px solid #ff0000;
    transform: scale(1.5);
}

div[aria-label]:hover:after {
    content: attr(aria-label);
    padding-left: 5px;
    padding-right: 5px;
    position: absolute;
    text-align: center;
    top: 80%;
    left: 50%;
    white-space: nowrap;
    background: #79a08f;
    color: #ffffff;
    border-radius: 3px;
    transform: scale(.6);
}

.close-add-text {
    cursor: pointer;
}

.color-search {
    height: 35px;
    text-align: center;
    border-radius: 5px;
    border: 3px #79a08f solid;
    padding: 5px 5px 5px 5px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

.color-search:focus {
    outline-width: 0;
}

.logo-color-search {
    display: none;
    text-align: center;
    width: 115%;
    height: 35px;
    border-radius: 5px;
    border: 3px #79a08f solid;
    padding: 5px 5px 5px 5px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
    z-index: 0;
}

.logo-color-search:focus {
    outline-width: 0;
}

/* The following (upper-canvas, lower-canvas, and canvas-container, are all created by fabric.js' external css.
    Values needed to be overrided to maintain the desired position on the text canvas.
*/

.canvas-container {
    position: static !important;
    width: auto !important;
    height: auto !important;
}

.upper-canvas {
    max-height: 750px !important;
    max-width: 100% !important;
    position: absolute !important;
    top: 52% !important;
    transform: translate(-50%,-50%) !important;
    max-width: 90% !important;
    max-height: 90% !important;
    left: auto !important;
    width: auto !important;
}

.lower-canvas {
    max-height: 750px !important;
    max-width: 100% !important;
    position: absolute !important;
    top: 52% !important;
    transform: translate(-50%,-50%) !important;
    max-width: 90% !important;
    max-height: 90% !important;
    left: auto !important;
    width: auto !important;
}

.textvam {
    display: flex;
    align-items: center;
}
/*** below fixes line height movement on Logo Colors - Found colors ***/
#image-color-container {
    height: 34px;
}
/*** above fixes line height movement on Logo Colors - Found colors ***/

.colorfh30 {
    height: 30px;
}

.colorfh35 {
    height: 35px;
}

.colorfh47 {
    height: 47px;
}

.colorfh50 {
    height: 50px;
}

.modal-footer {
    border-top: 0px transparent;
    height:30px;
}

#nonTextBlock {
    display: contents;
    width: intrinsic; /* Safari/WebKit uses a non-standard name */
    width: -moz-max-content; /* Firefox/Gecko */
    width: -webkit-max-content; /* Chrome */
    width: max-content;
}

/** Temp solution to trim button text to make "Products name" fit in button - need to trim button name to a max of 28 characters **/
.btn-block {
    overflow: hidden;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.colorInline {
    display:inline-block;
}

.colorInline > p {
    margin-left:2rem;
}

.dropdown-item {
   padding: .25rem;
}

.dropdown-menu.show {
    z-index: 1002;
    display: block;
    transform: translate3d(0px, 0px, 0px);
    top: none;
    left: none;
    will-change: none;
}

.dropdownfix {
    will-change: transform;
    position:absolute;
    height:400px;
    background:white;
    z-index:1000000;
    overflow-y:scroll;
    transform: translate3d(0px, 38px, 0px);
    top:0px;
    left:0px;
}

.no-colors-found-error {
    color: red;
}

.no-colors-found-display {
    display: none;
}

.alert {
    margin-bottom: 0 !important;
}

.flex-even {
    justify-content:center;
    align-items:center;
}