.infoflocards *
{
    box-sizing: border-box;
}
@media (min-width: 768px)
{
    .col-sm-card-template
    {
        width: 530px;
    }
    /*
    .col-sm-card-options
    {
        margin-top: -96px;
    }
    */
}
.alert-default{border-color: #ddd}
.form-group
{
    margin-bottom: 15px;
}
.form-group.m-0,
.panel-body .form-group:last-child
{
    margin-bottom: 0px;
}
.form-group label
{
    line-height: 1.75em;
}
.input-group[disabled] .input-group-addon
{
    background-color: #cac5c4;
    color: #9b9797;
}
label[disabled],
.form-group.disabled label
{
    opacity: 0.5;    
}
.card-template
{
    background-color: #e0e0e0;
    border: 1px solid #c0c0c0;
    
    width: 500px;
    height: 300px;
    /* margin: 0 auto; */
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    margin-bottom: 20px;
}
.card-template.free-form
{
    margin-left: auto;
    margin-right: auto;
    height: 500px;
}
.card-template img
{
    width: 100%;
}
.card-template.free-form img
{
    height: 100%;
    object-fit: contain;
}
.card-template .no-card-background
{
    background: #fff;
    width: 100%;
    height: 100%;
    display: table;
    border: 4px dashed #c1c1c1;
}
.card-template .no-card-background span
{
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}
.template-thumb-wrapper
{
    margin-bottom: 20px;
    position: relative;
}
.template-thumb-wrapper .template-thumb
{
    position: relative;
    display: inline-block;
    border: 3px inset #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;

    width: 60px;
    height: 60px;
}
.template-thumb-wrapper .template-thumb.active
{
    border-color: #5facff;
}
.template-thumb-wrapper .template-thumb img
{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.template-thumb-wrapper .template-thumb + .template-thumb
{
    margin-left: 10px;
}
.template-thumb-wrapper .template-thumb .btn-close
{
    position: absolute;
    top: 5px;
    right: 5px;
}
.edit-panel
{
    border: 1px solid #ddd;
    padding: 15px;
}
/*
.edit-panel .btn
{
    width: auto;
    padding: 8px 12px;
    font-size: 12px;
    margin-bottom: 5px;
}
*/
/* .text-small
{
    font-size: 11px;
}
.text-center
{
    text-align: center;
} 
.edit-panel .text-helper
{
    margin-top: -5px;
    margin-bottom: 10px;
}
*/
.btn-danger
{
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;  
}
.edit-panel .btn-squared,
.card-footer .btn-squared
{
    padding: 6px;
    line-height: 1px;
}
.btn-squared img
{
    width: 24px;
    height: 24px;
}
.btn-default
{
    color: #666;
    background-color: #fff;
    border: 1px solid #bbb;
}

.edit-panel .btn.active {
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.edit-panel .btn-group > .btn {
    padding-left: 10px;
    padding-right: 10px;
}

.btn-default:hover,
.btn-default:focus
{
    color: #333;
}
.text-settings
{
    margin-bottom: 5px;
}
.col-xs-6 .buddyboss-select
{
    min-width: auto;
}
div.inline
{
    display: inline-block;
    vertical-align: top;
}
.gform_wrapper div.inline
{
    display: inline-block !important;
}
.gform_wrapper div.inline.ng-hide
{
    display: none !important;
}
select.noBpressDropdown
{
    height: 36px;
    box-shadow: inset 0px 1px 1px 1px rgba(0, 0, 0, 0.05);
    background: rgba(0,0,0,0.04);
    border-radius: 4px;
    border: none;
}
div.inline input,
div.inline .buddyboss-select,
.form-group-inline > input,
.form-group-inline > div.inline > select
{
    width: 140px;
}
div.inline .buddyboss-select
{
    min-width: auto;
    margin-right: 0;
    vertical-align: middle;
}
div.inline .buddyboss-select .buddyboss-select-inner
{
    margin-bottom: 0;
}
.form-group-inline > *,
.form-group-inline > div.inline
{
    vertical-align: middle;
}
.form-group-inline > input
{
    display: inline-block;
}
.card-template .drag-wrapper
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.card-template .text-element
{
    line-break: anywhere;
}
.card-template .text-element,
.card-template .image-element
{
    position: absolute;
    cursor: move;
}

/*.card-template .image-element
{
    max-width: 500px;
}
*/
.card-template .image-element img
{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.card-template .image-element .remove
{
    display: none;
    cursor: pointer;
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 5px;
    text-align: center;
    padding: 0px 4px 2px;    
}
.card-template .image-element:hover .remove
{
    display: block;
}
.card-templates
{
    margin-left: -20px;
}
.admin-card-templates .card-wrapper
{
    border: 1px solid #ccc;
    border-radius: 5px;
    display: inline-block;
    width: 300px;
    margin: 20px auto auto 20px;
}
.card-wrapper .card
{
    width: 100%;
    /* padding-top: 60%; */
    position: relative;
    overflow: hidden;
}
.card-wrapper .card img
{
    /*
    position: absolute;
    top: 0;
    left: 0;
    */
    display: block;
    width: 100%;
    height: auto;
}
/* .card-footer
{
    padding: 5px;
} */
.card-footer .btn
{
    width: auto;
}
/*
.btn
{
    width: auto;
    padding: 12px 16px;
}
.btn-small
{
    font-size: 85%;
    padding: 8px 12px;
}
.btn-block
{
    display: block;
    width: 100%;
}
*/
.btn.btn-icon
{
    background: none;
}
.btn.btn-bordered
{
    border: 2px solid #999;
}
.btn.btn-circle
{
    border-radius: 50%;
    padding: 0;
    line-height: 0;
}
.btn.btn-bordered.text-danger
{
    border-color: #b33333;
}
.btn.btn-icon-2 > i
{
    width: 16px;
    height: 16px;
    line-height: 17px;
    color: #999;
    text-align: center;
    position: relative;
    left: 1px;
    font-size: 12px;
}
.btn.btn-icon-2 > i.fa-times
{
    top: -1px;
}
.btn.btn-icon-2.text-danger > i
{
    color: #b33333;
}
.btn.btn-icon[disabled]
{
    opacity: 0.5;
    background: #cac5c4;
    box-shadow: none;
}
.edit-panel .buddyboss-select
{
    width: 100%;
}
.edit-panel .buddyboss-select label
{
    margin-bottom: 10px;
    display: block;
}
.edit-panel textarea.form-control
{
    resize: vertical;
}
/*
.edit-panel .buddyboss-select .buddyboss-select-inner
{
    margin-bottom: 15px;
}
*/
.number-of-copies
{
    margin-top: 15px;
    margin-bottom: -15px;
}
.card-total
{
    font-size: 2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}
.modal-footer .card-total
{
    font-size: 1.25em;
    margin-bottom: 0;
}

.admin-infoflocards .edit-panel .form-group::after
{
    display: block;
    content: "";
    clear: both;
}
.admin-infoflocards .edit-panel .form-group > .form-control
{
    width: 60%;
    display: block;
    float: right;
}
.admin-infoflocards .text-item:after
{
    display: block;
    content: "";
    clear: both;
}
.admin-infoflocards .text-item > *
{
    vertical-align: top;
    transition: none;
}

.admin-infoflocards .edit-panel .text-format {
    display: inline-block;
    width: 20%;
    position: relative;
}
.admin-infoflocards .edit-panel .text-align
{
    display: inline-block;
    width: 15%;
    position: relative;
}
.admin-infoflocards .edit-panel .text-align select {
    max-width: 100%;
}
.admin-infoflocards .edit-panel .text-format select
{
    width: 100%;
}
.admin-infoflocards .edit-panel .text-format .buddyboss-select
{
    margin-right: 0;
    min-width: auto;    
}
.admin-infoflocards .edit-panel .text-format .buddyboss-select .buddyboss-select-inner
{
    margin-bottom: 0;
}
.admin-infoflocards .edit-panel .text-input
{
    display: inline-block;
    width: 40%;
    float: none;
    margin-right: 4px;
}
.form-group > .buddyboss-select
{
    width: 100%;
    max-width: 651px;
}
.ps-selected-contacts
{
	margin-top: 15px;
	margin-left: -10px;
}
@media screen and (min-width: 768px)
{
	.ps-selected-contacts
	{
		width: 47.5%;
	}
}
.ps-selected-contacts .contact
{
	margin-bottom: 10px;
	margin-left: 10px;
}
.ps-selected-contacts .contact .btn-icon
{
	vertical-align: top;
}
.text-success 
{
    color: #449d44;
}
.text-tiny 
{
    font-size: 10px;
}
.inline-block
{
    display: inline-block;
    vertical-align: middle;
}
.infoflocards a.one-line-ellipsis
{
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 92%;
    overflow: hidden;
}
.infoflocards .pill-wrapper
{
    margin-top: 15px;
}
.infoflocards .pill-wrapper > *,
.pill-wrapper > *
{
    display: inline-block;
    vertical-align: middle;
}
.infoflocards .pill,
.pill
{
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 90%;
    position: relative;
}
.infoflocards .pill .pill-content,
.pill .pill-content
{
    position: relative;
}
.infoflocards .pill.error,
.pill.error
{
    background-color: #ffacaa;
    border-color: #e65d5d;
}
.infoflocards div.pill.error,
div.pill.error
{
    border-color: #e65d5d !important;
}
.infoflocards .pill .progress-bar,
.pill .progress-bar
{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    opacity: 0.6;
}
.progress-bar.color-primary
{
    background-color: #3A8BC2;
}
@media screen and (min-width: 768px)
{
    .infoflocards .pill,
    .pill
    {
        width: 40%;
    }
}
.infoflocards .pill.full-width,
.pill.full-width
{
    width: 100%;
}
.infoflocards .progress
{
    display: block;
    background: rgba(79, 168, 67, 0.28);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}
.footerTitle
{
    text-align: center; 
    padding: 5px; 
    margin-bottom: 5px; 
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    font-size: 16px;
}
.load-designs .footerTitle {
    border-bottom: none;
    font-size: 13px;
}
.load-designs .active .card {
    border: 3px solid #428bca;
}
.footerTitle span.stock
{
    display: block;
    font-size: 12px;
    font-weight: normal;
}
.footerTitle .custom-field {
    font-size: 12px;
    font-weight: normal;
}

.footerAction{
    padding: 5px;
}
.mb-10
{
    margin-bottom: 10px;
}
.form-group[disabled]
{
    color: rgba(0,0,0,0.3);
}
.form-group[disabled] .buddyboss-select-inner
{
    color: rgba(0,0,0,0.3) !important;
}
.form-group > .option-error
{
    color: #c66a6a;
}
.bs-label
{
    font-size: 100%;
    font-weight: normal;
    border-radius: .5em;
}
.bs-label-default
{
    background-color: #fff;
    color: #666;
    border: 1px solid #666;
}
.multi-label
{
    margin-bottom: 8px;
}
.advanced-fields
{
    width: 100%;
}
@media (min-width: 768px)
{
    /*
    .gfield .ginput_list
    {
        width: 57%;
    }
    */
    .advanced-fields
    {
        width: 47%;
    }
    /*
    .gform_wrapper .top_label table.gfield_list {
        width: 110%;
    }
    */
}
.advanced-fields > .collapse-header
{
    cursor: pointer;
    position: relative;
    z-index: 0;
}
.advanced-fields > .collapse-header::before
{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 2px;
    background: #ddd;
}
.advanced-fields > .collapse-header > *
{
    vertical-align: middle;
}
.advanced-fields > .collapse-header > strong
{
    display: inline-block;
    padding: 5px 10px;
    margin-left: 15px;
    font-weight: bold;
    background-color: white;
    color: #666;
    line-height: 30px;
}
.advanced-fields > .collapse-header > i
{
    padding: 5px;
    line-height: 30px;
    width: 30px;
    background: white;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 50%;
}
.advanced-fields .collapse-body
{
    padding-bottom: 30px;
}
.advanced-fields .collapse-body > *:first-child
{
    margin-top: 15px;
}
.advanced-fields .form-group label strong
{
    color: #666;
}
input.ng-hide
{
    transition: none;
}
.pricing-image
{
    height: 42px;
}
.pricing-image img
{
    height: 36px;
    margin-right: 0px;
}
.btn-compact
{
    padding: 6px 8px;
}
.row-sidepanel-gutter
{
    margin-left: -2px;
    margin-right: -2px;
}
.row-sidepanel-gutter [class*="col-"]
{
    padding-left: 2px;
    padding-right: 2px;
}
.panel.panel-floating
{
    position: fixed;
    top: 150px;
    right: 50px;
    z-index: 1000;
    box-shadow: 0 5px 5px 0px rgba(0,0,0,0.2);
    width: 25vw;
    min-width: 280px;
}
.panel.panel-floating .panel-heading
{
    cursor: move;
}
.panel .card-thumb
{
    margin-top: -15px;
    margin-left: -15px;
    margin-right: -15px;
    position: relative;
}
.panel .card-thumb::before
{
    display: block;
    content: "";
    padding-top: 60%;
}
.panel .card-thumb img
{
    position: absolute;
    top: 0;
    left: 0;

    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.panel .card-thumb .fancy-icon
{
    display: none;
    position: absolute;
    top: 5px;
    right: 5px;
}
.panel .card-thumb:hover .fancy-icon,
.grid-select .panel.active .card-thumb .fancy-icon
{
    display: block;
}
.icon-to-right .panel .card-thumb
{
    margin-left: 0;
    margin-bottom: -15px;
    float: right;
    width: 72px;
    height: 100%;
}
.icon-to-right .panel .card-thumb::before
{
    padding-top: 100%;
}
.panel .card-title
{
    margin: 5px 0;
    font-weight: bold;
    color: #222;
    line-height: 1.25em;
}
.icon-to-right .panel .card-title
{
    margin-top: 0;
}
.grid-select .panel
{
    cursor: pointer;
}
.grid-select .panel.active
{
    border-color: #428bca;
    box-shadow: 0 0 1px 2px #428bca;
}
.grid-select .panel .card-title
{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.grid-select .col-sm-4 .panel .card-description
{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.grid-select .col-sm-6 .panel .card-description
{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.grid-select .col-sm-6.icon-to-right .panel .card-description
{
    -webkit-line-clamp: 1;
}
.grid-select
{
    margin-bottom: -15px;
}
.quantity-table-wrapper
{
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.quantity-table th
{
    font-weight: bold;
}
.quantity-table th,
.quantity-table td
{
    padding: 15px;
}
.quantity-table tbody td
{
    border-top: 1px solid #ddd;
}
.quantity-table tbody tr
{
    cursor: pointer;
}
.quantity-table tbody tr:hover
{
    background: rgba(0,0,0,0.05);
}
.quantity-table tbody tr.active 
{
    border-color: #428bca;
    box-shadow: 0 0 1px 2px #428bca;
}
.quantity-table tbody tr.active td
{
    border-color: #428bca;
}
.icon-to-left
{
    position: relative;
}
.icon-to-left .icon
{
    display: block;
    position: absolute;
    top: 8px;
    right: 45px;
}
.icon-to-left .icon-10
{
    right: 10px;
}
.ginput_flex
{
    display: flex;
    flex-direction: row;
}
/*
.tag
{
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 0 8px;
    
}
*/
.grid-picker
{
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid;
    font-size: 16px;

    max-width: 32px;
    margin: 0 auto;
}
.grid-picker::before
{
    display: block;
    padding-top: 100%;
    content: "";
}
.grid-picker .grid-picker-thumb
{
    position: absolute;
    top:0;
    left: 0;
    
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.grid-picker-wrapper.active .grid-picker
{
    border: 3px solid #428bca;
}
.grid-picker > i
{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    width: 100%;
    height: 100%;

    text-align: center;
    line-height: 32px;
}
.grid-picker-wrapper.active .grid-picker > i
{
    line-height: 28px;
}
.grid-picker > i.nudge-up
{
    top: 45%;
}
.color-active-label
{
    position: absolute;
    top: 0;
    left: 0;
}
.color-picker-text-ellipsis
{
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.color-items
{
    display: flex;
    width: 85px;
    align-items: center;
}
.color-thumb
{
    width: 20px; 
    height: 20px; 
    padding: 5px 9px;
    margin-left: 5px;
    cursor: default;
}
@media (max-width: 1280px)
{
    .grid-picker > i
    {
        font-size: 12px;
        line-height: 20px;
    }

    .grid-picker-wrapper.active .grid-picker > i
    {
        line-height: 16px;
    }
}
.product-template-restock-wrapper .product-template-name
{
    padding-top: 9px;
    padding-bottom: 9px;
}

/* thoang */
.drag-wrapper div.ui-resizable.enter,
.drag-wrapper div.ui-resizable.focus {
    outline: 2px dashed #c0c0c0;
}

.drag-wrapper div.ui-resizable.focus .ui-icon-gripsmall-diagonal-se,
.ui-icon-gripsmall-diagonal-se {
    background: linear-gradient(315deg,#000 7px,rgba(255,0,0,0) 0); 
}

.warehouse-input {
    margin: 5px;
    padding: 00px;
}

.bg-warehouse {
    box-shadow: 0 0 1px 1px #428bca;
}
.typeahead-wrapper .dropdown-menu
{
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 250px;
}
.typeahead-wrapper .dropdown-menu > li > a
{
    overflow: hidden;
    text-overflow: ellipsis;
}
.savedTemplateDeleteBtn {display: none;}
.products-container .product:hover .savedTemplateDeleteBtn {display: inline-block;}