body, h2, label, a i.fa  {
    color: #666;
}

body {
    padding-bottom: 20px;
    background-color: #f9f9f9;
}

.detail-number-label .fa.fa-pencil { font-size: 18px; }
.detail-label-edit .fa.fa-edit { font-size: 19px; }
.door-config .fa.fa-warning { position: relative; top: 1px;}

.logo-row {
    margin-top: -5px;
}

.apps-container {
    width: 1140px !important;
    max-width: none !important;
}

span.text-strong-danger {
    color: #d9464b;
}

.hidden-on-load {
    display: none;
}

.btn:focus, .btn:active, .btn:active:focus { outline: 0 none;}

h3 {
    margin-bottom: 0;
    width: 100%;
}

.mt-1 { margin-top: 1px; }
.mt5 { margin-top: 5px; }

.word-break-all { word-break: break-all;}

.door-config-row h5,
.sheet-config-row h5 {
    margin-top: 0;
}

.door-config-row textarea,
.sheet-config-row textarea {
    height: 154px;
    resize: none;
}

.door-config-row textarea {
    height: 113px;
}

h5.addressDelivery {
    font-size: 0.95rem;
    padding-top: 0.2rem;
}

.sheet-config-row .h5.addressDelivery {
    margin-top: -4px;
}

h5.addressDelivery span {
    display: inline-block;
    vertical-align: top;
}

h5.detailWithBordersWarning {
    font-size: 1.1rem;
    margin-top: -2px;
    margin-bottom: -5px;
}

h3.siteTitle { font-size: 1.5rem; }

.btn.openSelectSheetConfigModal { margin-left: 1.7rem;}

.cut-results {
    padding-right: 0;
}
/*.details-list { padding-right: 5px; }*/

.details-list h5 {
    padding-left: 0.75rem;
    display: flex;
    justify-content: space-between;
    line-height: 1.75rem;
}

a:focus, a:hover {
    outline: 0 none !important;
}
a.dropdown-item {
    padding: .25rem 0.75rem;
}

.card-body {
    padding: 0.75rem 1rem;
}

.form-control, .form-control-sm {
    height: auto;
}

.door-config-row select.form-control-sm, .door-config-row input.form-control-sm,
.sheet-config-row select.form-control-sm, .sheet-config-row input.form-control-sm {
    margin-top: 3px;
}

.margin-top-3 {
    margin-top: 3px;
}

.sheets-wrap .card {
    word-wrap: normal;
}

.sheets-wrap .card-body {
    padding: 0.75rem 0 0.75rem 1.25rem
}

.order-payment-row label,
.door-config-row label,
.sheet-config-row label,
.orders-config-row label:not(.input-group-text){
    /*padding-top: 7px;*/
    margin-bottom: 0;
    font-weight: 600;
    padding-right: 0;
}

.mh70{ min-height: 70px;}


.door-config-row label.twoLinesLabel,
.sheet-config-row label.twoLinesLabel {
    line-height: 1.1;
    margin-top: -8px;
}

.sheet-config-row .checkbox-group i {
    margin-top: 13px;
    display: block;
    font-size: 1.04rem;
    cursor: pointer;
}

.orders-info a .fa-question-circle,
.order-payment-footer a .fa-question-circle,
.door-config-row .fa-question-circle,
.sheet-config-row .fa-question-circle {
    font-size: 1.1rem;
    position: relative;
    top: 2px;
    left: 4px;
    color: #4b7ebc;
}

.door-config-row .fa-question-circle:hover,
.sheet-config-row .fa-question-circle:hover {
    color: #0056b3;
}

.sheet-config-row .checkbox-group #mergeSimilarDetails i {
    margin-left: -14px;
}

#notifyModal button:focus {
    outline: 0 none !important;
    color: #333333;
    background-color: #ffffff;
    border-color: #cccccc;
}

#notifyModal button:hover {
    color: #333333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.control-label {
    text-align: left !important;
}

.control-label.selected-sheet-dimension {
    padding-left: 17px;
}

.no-bottom-margin {
    margin-bottom: 0 !important;
}

.no-wrap {
    white-space: nowrap;
}

a.popover-button,
a.preview-button {
    position: absolute;
    top: 6px;
    z-index: 99;
}

.cursor-pointer, .cursor-pointer:hover {
    cursor: pointer;
}

a.popover-button.cut-size-desc { margin-top: 1px; }

.modal-body,
.modal-footer {
    justify-content: center;
    text-align: center;
}

#selectDoorConfigModal .modal-lg,
#detailCornersConfigModal .modal-lg,
#selectSheetConfigModal .modal-lg {
    max-width: 900px !important;
}

#selectDoorConfigModal .modal-body,
#selectSheetConfigModal .modal-body {
    justify-content: normal;
    text-align: left;
    max-height: 500px;
    overflow: auto;
}

#selectSheetConfigModal .modal-footer,
#detailLabelConfigModal .modal-footer,
#detailCornersConfigModal .modal-footer {
    justify-content: space-between;
}

button.openSelectDoorConfigModal {
    position: relative;
    top: 2px;
}

#selectDoorConfigModal .select-door-image,
#selectSheetConfigModal .select-sheet-image {
    width: 210px;
    text-align: center;
    height: 210px;
    margin: 0 auto 5px auto;
}

#selectDoorConfigModal .select-door-data,
#selectSheetConfigModal .select-sheet-data,
#selectSheetConfigModal .select-border-data {
    margin-bottom: 15px;
}

#selectDoorConfigModal .select-door-data > div,
#selectSheetConfigModal .select-sheet-data > div {
    padding: 15px 15px;
}

#selectDoorConfigModal label,
#selectSheetConfigModal label {
    background: none;
}

#selectSheetConfigModal .select-border-data > div {
    padding: 15px 15px;
}

#selectDoorConfigModal .select-door-data > div:hover,
#selectSheetConfigModal .select-sheet-data > div:hover,
#selectSheetConfigModal .select-border-data > div:hover {
    cursor: pointer;
}

#selectDoorConfigModal .select-door-data > div:hover,
#selectDoorConfigModal .select-door-data > div.selected,
#selectSheetConfigModal .select-sheet-data > div:hover,
#selectSheetConfigModal .select-sheet-data > div.selected,
#selectSheetConfigModal .select-border-data > div:hover,
#selectSheetConfigModal .select-border-data > div.selected {
    background: #fff3cd;
    border-radius: .25rem;
}

#selectDoorConfigModal .select-door-data > div.selected,
#selectSheetConfigModal .select-sheet-data > div.selected,
#selectSheetConfigModal .select-border-data > div.selected {
    border: 2px solid #dee2e6;
    margin: -2px;
}

#selectDoorConfigModal .select-door-data span,
#selectSheetConfigModal .select-sheet-data span {
    display: block;
    font-size: 14px;
}

#selectSheetConfigModal .select-sheet-data span.sheet-1c-quantity {
    display: inline-block; margin-left: 10px;
}

#selectDoorConfigModal .select-door-image img,
#selectSheetConfigModal .select-sheet-image img {
    /*max-height: 200px;*/
    width: 100%;
    height: auto;
    max-height: 100%;
}

#selectSheetConfigModal .select-border-data img {
    max-height: 120px;
    width: auto;
    margin-bottom: 5px;
}

#selectDoorConfigModal a.select-door-preview,
#selectSheetConfigModal a.select-sheet-preview,
#selectSheetConfigModal a.select-border-preview {
    position: absolute;
    top: 40px;
    right: 60px;
    width: 40px;
    height: 40px;
}

#selectDoorConfigModal a.select-door-preview.no-door-image,
#selectSheetConfigModal a.select-sheet-preview.no-sheet-thumb {
    top: 10px;
    right: 15px;
}

#selectDoorConfigModal a.select-door-preview.no-door-image img,
#selectSheetConfigModal a.select-sheet-preview.no-sheet-thumb img {
    -webkit-filter: invert(0.3);
    filter: invert(0.3);
}

#selectSheetConfigModal a.select-border-preview {
    top: 30px;
    left: 50px;
}

#selectDoorConfigModal a.select-door-preview:hover,
#selectSheetConfigModal a.select-sheet-preview:hover,
#selectSheetConfigModal a.select-border-preview:hover {
    transform: scale(1.1);
}


.tooltip {
    z-index: 9999;
    max-width: 500px;
    max-height: 500px;
}

.tooltip img {
    max-width: 100%;
    height: auto;
}

a[data-lightbox]:hover, a[role="button"]:hover {
    text-decoration: none;
    cursor: pointer;
}


.table thead th {
    font-weight: 600;
}

.table td, .table th, .detail-borders-text {
    padding: 0.5rem 0.75rem;
}

.detail-borders-text {
    padding-top: 0;
}

table.table-no-borders td, table.table-no-borders th  {
    border-top: 0 none;
}

.sheet-wrap:first-child {
    margin-top: 30px;
}

.sheet {
    border: 1px solid #999;
    margin: 30px auto 10px auto;
    box-sizing: content-box;
}

.sheet .info {
    color: #999;
    font-size: 16px;
    position: absolute;
    text-align: center;
}

.sheet .info.sheet-title {
    font-size: 14px;
    margin: -30px 0 0 30px;
}

.sheet .info.sheet-width {
    border-bottom: 1px solid #ccc;
    margin-top: -31px;
    width: inherit;
    height: 22px;
}

.sheet .info .sheet-width-left {
    font-size: 20px;
    line-height: 22px;
    left: -3px;
    margin-top: 8px;
    position: absolute;
}

.sheet .info .sheet-width-right {
    font-size: 20px;
    line-height: 22px;
    left: 100%;
    margin-top: 8px;
    position: absolute;
    margin-left: -8px;
}

.sheet .info.sheet-height {
    border-right: 1px solid #ccc;
    box-sizing: border-box;
    height: inherit;
    margin-left: -32px;
    width: 23px;
}

.sheet .info.sheet-height span {
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    display: block;
    position: relative;
    white-space: nowrap;
}

.sheet .info .sheet-height-top {
    font-size: 20px;
    line-height: 22px;
    display: block;
    position: absolute;
    margin-top: -4px;
    margin-left: 18px;
}

.sheet .info .sheet-height-bottom {
    font-size: 20px;
    line-height: 22px;
    top: calc(100%);
    position: absolute;
    margin-left: 18px;
    margin-top: -28px;
}

.sheet .detail {
    box-sizing: border-box;
    position: absolute;
    margin-top: 0;
    margin-left: 0;
    border: 1px solid #000000;
    /*opacity: 0.7;*/
    overflow: hidden;
}


.sheet .detail:hover {
    cursor: pointer;
    background: url(../img/detailRotate.png) center center no-repeat;
    box-shadow: 0 0 4px #78baee;
}

.sheet .detail-width {
    /*text-shadow: 0 0 1px white;*/
    margin-top: 5px;
    color: #111;
    position: absolute;
    text-indent: 0;
    font-size: 12px;
    right: 8px;
}

.sheet .detail-height {
    /*text-shadow: 0 0 1px white;   */
    color: #111;
    position: absolute;
    transform: rotate(-90deg);
    font-size: 12px;
    bottom: 9px;
    margin-left: 4px;
}

.sheet .detail .detail-label-edit {
    margin-left: 9px;
    top: 3px;
    position: relative;
}

.details-list .table-striped tbody tr thead {
    display: none;
}
.details-list .table-striped tbody tr:nth-of-type(1) thead {
    display: table-header-group;
}

.table-details-list .detail-color-box {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-top: 3px;
    margin-bottom: -1px;
}

.table-details-list .form-control-sm {
    width: 90px;
}

.table-details-list thead th { padding-left: 0.9rem; }
.table-details-list thead th:first-child { padding-left: 0.75rem; }

.table-details-list .detail-number-label {
    min-width: 60px;
}

.table-details-list .detail-number-label span {
    position: relative;
    top: -2px;
}

.table-details-list th.detailCorners, td.config-detailCorners-button {
    min-width: 60px;
}

.details-list table.table-striped > tbody > tr > td {
    padding: 0;
}

table.table-details-list {
    margin-bottom: 0;
}

.table-striped tbody tr table.table-details-list tr {
    background: none;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: none;
}

.table-striped tbody tr:nth-of-type(odd) table.table-details-list tr,
.table-orders-info.table-striped tbody:nth-of-type(odd) tr {
    background-color: rgba(0,0,0,.05);
}

.table-striped tbody tr:nth-of-type(odd) table.table-details-list thead tr{
    background: none;
}

table.table-details-list > tbody > tr > td {
    vertical-align: middle;
}

.table > thead > tr > th.detail-borders {
    padding-left: 20px;
}

div.detail-borders {
    width: 24px;
    background-color: #ddd;
    height: 24px;
    box-sizing: content-box;
    border: 1px solid;
    padding: 5px;
}

td.remove-detail-button {
    min-width: 24px;
}

td.remove-detail-button a {
    margin-bottom: 8px;
    display: inline-block;
    font-weight: bold;
}

td.config-detailCorners-button {
    text-align: center;
}

td.config-detailCorners-button a {
    margin-bottom: 3px;
    display: inline-block;
    opacity: 0.75;
}

td.config-detailCorners-button a[disabled] {
    opacity: 0.4;
}

.table-sm td, .table-sm th {
    padding: 0.15rem 0.3rem;
    font-size: 0.9rem;
}

.detail-border {
    padding: 0 10px;
    cursor: pointer;
    font-size: 10px;
    line-height: 12px;
}

.detail-border.active {
    color: #2ebc60;
    text-decoration: none;
    font-weight: bold;
}

.right-detail-border,
.detail-border-center, .left-detail-border,
.top-detail-border div, .bottom-detail-border div {
    float: left;
}


.detail-border-center, .left-detail-border, .left-detail-border div,
.top-detail-border div, .bottom-detail-border div,
.right-detail-border, .right-detail-border div {
    padding: 0 2px;
}

.detail-border-center {
    margin-top: 8px;
}

.right-detail-border,
.left-detail-border {
    margin-right: 2px;
    margin-top: 8px;
    text-align: center;
    width: 18px;
}

.right-detail-border .detail-border-2,
.left-detail-border .detail-border-2{
    margin-top: 2px;
}

.top-detail-border {
    margin-top: -14px;
    margin-bottom: 17px;
}


.top-detail-border div {
    margin: -2px 4px 1px 5px;
    min-width: 10px;
    text-align: center;
}

.top-detail-border div.active {
    /*margin: -2px 3px 1px 5px;*/
}

.bottom-detail-border div {
    margin: 0 4px 1px 5px;
    min-width: 10px;
    text-align: center;
}

.bottom-detail-border div.active {
    /*margin: 0 3px 1px 5px;*/
}


.detail-border.detail-border-1 { border-bottom: 3px solid; }
.detail-border.detail-border-2 { border-bottom: 6px solid; }

.detail-borders.bottom-border-1 { border-bottom: 3px solid #333 !important; padding-bottom: 3px; }
.detail-borders.bottom-border-2 { border-bottom: 6px solid #333 !important; padding-bottom: 0; }

.detail-borders.top-border-1 { border-top: 3px solid #333 !important; padding-top: 3px; }
.detail-borders.top-border-2 { border-top: 6px solid #333 !important; padding-top: 0; }

.detail-borders.left-border-1 { border-left: 3px solid #333 !important; padding-left: 3px; }
.detail-borders.left-border-2 { border-left: 6px solid #333 !important; padding-left: 0; }

.detail-borders.right-border-1 { border-right: 3px solid #333 !important; padding-right: 3px; }
.detail-borders.right-border-2 { border-right: 6px solid #333 !important; padding-right: 0; }

.detail.bottom-border-1 { border-bottom: 3px solid #333;}
.detail.bottom-border-2 { border-bottom: 6px solid #333; }

.detail.top-border-1 { border-top: 3px solid #333;}
.detail.top-border-2 { border-top: 6px solid #333; }

.detail.left-border-1 { border-left: 3px solid #333; }
.detail.left-border-2 { border-left: 6px solid #333; }

.detail.right-border-1 { border-right: 3px solid #333; }
.detail.right-border-2 { border-right: 6px solid #333; }


.single-border-config div.detail-borders {
    margin-top: -22px;
}

.single-border-config .detail-border-center {
    text-align: center;
}

.single-border-config .top-detail-border div,
.single-border-config .bottom-detail-border div,
.single-border-config .left-detail-border div,
.single-border-config .right-detail-border div {
    font-weight: bold;
}

.single-border-config .top-detail-border,
.single-border-config .bottom-detail-border {
    display: inline-block;
}

.single-border-config .top-detail-border {
    margin-bottom: 17px;
}

.single-border-config .bottom-detail-border {
    margin-bottom: 2px;
}

.single-border-config .top-detail-border .detail-border,
.single-border-config .bottom-detail-border .detail-border {
    text-align: center;
}

.single-border-config .detail-border-center {
    margin-bottom: -8px;
}

.single-border-config .left-detail-border div,
.single-border-config .right-detail-border div {
    margin-top: 5px;
}


.sheet .detail-with-entire-borders.detail-with-small-height .detail-width {
    font-size: 9px;
    margin-top: 0;
}

.sheet .detail-with-entire-borders.detail-with-small-width .detail-height {
    font-size: 10px;
    margin-left: 0;
}

.sheet .detail-with-entire-borders.detail-with-small-height .detail-height {
    font-size: 10px;
    bottom: 1px;
}

.sheet .detail-with-entire-borders.detail-with-small-width .detail-width {
    font-size: 9px;
    right: 3px;
}

.alert { padding: .75rem 1rem; }
.alert.face-description-alert { padding: 6px 12px 9px 12px; font-size: 14px }

/*.clear-button { margin-top: -10px; margin-bottom: 15px; }*/

/*button.btn, a.btn { padding: 6px 9px; }*/
.btn-group-sm>.btn, .btn-sm { font-size: 1rem;}
.btn-group.send-order-button { display: inline-block; position: relative; }
.btn-group.send-order-button .dropdown-menu { min-width: 172px; }
.btn-group.order-available-managers .dropdown-menu a,
.btn-group.print-order-button .dropdown-menu a,
    .btn-group.send-order-button .dropdown-menu a { cursor: pointer; }
.details-config .panel-body { padding: 15px 12px;}
.card { margin-top: 0.5rem; }

.print-order-button { margin-right: 10px; }
.order-available-managers .btn,
.print-order-button .btn, .send-order-button .btn, button.send-order-button {
    padding: .25rem .4rem;
}
.print-order-button .btn, .send-order-button .btn, button.send-order-button {
    margin-top: -1px;
}
.order-available-managers {
    min-width: 100%;
    margin-top: 4px;
}
.order-buttons { display: inline-block; }
.order-available-managers .btn { text-align: left; }

.order-available-managers .btn,
.print-order-button .btn, .print-order-button.btn, .send-order-button .btn, button.send-order-button {
    font-size: 0.95rem;
}

#detailCornersConfigModal .modal-header {
    padding: 0.75rem 1rem;
}

#detailCornersConfigModal .modal-header .close {
    padding: 1.25rem 1rem;
}

#detailCornersConfigModal .modal-header .modal-title {
    padding-top: 0.25rem;
}

#detailCornersConfigModal .modal-body {
    min-height: 500px;
}

#detailCornersConfigModal .modal-body .row {
    position: relative;
}

#detailCornersConfigModal .modal-body > .row > div {
    width: 33.33%;
    position: absolute;
}

#detailCornersConfigModal .btn {
    margin-right: 0.25rem;
}

#detailCornersConfigModal .detailCorner > label{
    font-weight: 600;
}


#detailCornersConfigModal .detailGroove-left,
#detailCornersConfigModal .detailCorner-bottomLeft,
#detailCornersConfigModal .detailCorner-topLeft {
    left: 0;
    top: 0;
}

#detailCornersConfigModal .detailGroove-right,
#detailCornersConfigModal .detailCorner-bottomRight,
#detailCornersConfigModal .detailCorner-topRight {
    right: 0;
    top: 0;
}

#detailCornersConfigModal .detailGroove-right,
#detailCornersConfigModal .detailGroove-left {
    top: 85px;
}

#detailCornersConfigModal .detailGroove-top,
#detailCornersConfigModal .detailGroove-bottom {
    top: 0;
    left: 50%;
    margin: 0 0 0 -149px;
}

#detailCornersConfigModal .detailGroove-bottom { top: 315px; }

#detailCornersConfigModal .detailCorner-bottomLeft, #detailCornersConfigModal .detailCorner-bottomRight {
    top: 230px;
}

#detailCornersConfigModal .detailCorner-config {
    padding-top: 1rem;
}

#detailCornersConfigModal .detailGroove-config .input-group,
#detailCornersConfigModal .detailCorner-config .input-group {
    margin-bottom: 1rem;
}

#detailCornersConfigModal  .detailGroove-config .input-group .col-form-label.form-control,
#detailCornersConfigModal  .detailCorner-config .input-group .col-form-label.form-control{
    cursor: pointer;
}

#detailCornersConfigModal  .detailGroove-config .input-group .input-group-text.with-checkbox,
#detailCornersConfigModal  .detailCorner-config .input-group .input-group-text.with-checkbox {
    text-align: left;
    padding: .375rem .85rem;
}

#detailCornersConfigModal .detailCorner-config i.fa,
#detailCornersConfigModal .detailGroove-config i.fa {
    width: 13px;
}

#detailCornersConfigModal .detailCorner-config .input-group.disabled i.fa,
#detailCornersConfigModal .detailCorner-config .input-group.disabled .col-form-label.form-control,
#detailCornersConfigModal .detailGroove-config .input-group.disabled i.fa,
#detailCornersConfigModal .detailGroove-config .input-group.disabled .col-form-label.form-control,
#detailCornersConfigModal .detailGroove-config .input-group .col-form-label.form-control[disabled],
#detailCornersConfigModal .detailCorner-config .input-group .col-form-label.form-control[disabled] {
    cursor: default;
    color: #6c757d;
}

#detailCornersConfigModal .corners-config-left-group { padding-right: 5px; }
#detailCornersConfigModal .corners-config-right-group { padding-left: 5px; }

#detailCornersConfigModal .corners-config-right-group .input-group-text,
#detailCornersConfigModal .corners-config-left-group .input-group-text { padding: .375rem .5rem;; }

.detail-borders-text {
    font-size: 0.9rem;
}

.detailGroovesCenter,
.detailCornersCenter {
    left: 50%;
    margin: 70px 0 0 -149px;
}

.detailGroovesCenter .detailGroovesBox,
.detailCornersCenter .detailCornersBox {
    background: rgba(23, 162, 184, 0.7);
    width: 230px;
    height: 230px;
    margin: 0 auto;
    position: relative;
}

.detailGroovesCenter .detailGroovesWidth,
.detailCornersCenter .detailCornersWidth {
    position: absolute;
    top: -25px;
    left: 50%;
    margin-left: -25px;
    color: #999;
}

.detailGroovesCenter .detailGroovesHeight,
.detailCornersCenter .detailCornersHeight {
    position: absolute;
    top: 50%;
    left: -12px;
    margin-top: -20px;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    letter-spacing: 1px;
    color: #999;
    opacity: 0.92;
}

.detailGroovesBox .grooveConfigLabel-left,
.detailGroovesBox .grooveConfigLabel-right,
.detailCornersBox .detailCornersVerticalDivider {
    border-left: 2px dashed #eee;
    height: 100%;
    left: 50%;
    margin-left: -1px;
    position: absolute;
}

.detailGroovesBox .grooveConfigLabel-top,
.detailGroovesBox .grooveConfigLabel-bottom,
.detailCornersBox .detailCornersHorizontalDivider {
    border-bottom: 2px dashed #eee;
    width: 100%;
    top: 50%;
    margin-top: -1px;
    position: absolute;
}

.detailCornersBox.bottomLeftRadius { border-bottom-left-radius: 45px; }
.detailCornersBox.topLeftRadius { border-top-left-radius: 45px; }
.detailCornersBox.topRightRadius { border-top-right-radius: 45px; }
.detailCornersBox.bottomRightRadius { border-bottom-right-radius: 45px; }

.detailCornersBox.bottomLeftDiagonalCut {
    -webkit-clip-path: polygon(100% 0, 0 0, 100% 100%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.detailCornersBox.topLeftDiagonalCut {
    -webkit-clip-path: polygon(100% 0, 0 100%, 100% 100%);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
}
.detailCornersBox.topRightDiagonalCut {
    -webkit-clip-path: polygon(0 0, 0 100%, 100% 100%);
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}
.detailCornersBox.bottomRightDiagonalCut {
    -webkit-clip-path: polygon(100% 0, 0 0, 0 100%);
    clip-path: polygon(100% 0, 0 0, 0 100%);
}

.detailCornersBox.bottomLeftDiagonalCut .detailCornersHorizontalDivider,
.detailCornersBox.topLeftDiagonalCut .detailCornersHorizontalDivider,
.detailCornersBox.topRightDiagonalCut .detailCornersHorizontalDivider,
.detailCornersBox.bottomRightDiagonalCut .detailCornersHorizontalDivider,
.detailCornersBox.bottomLeftDiagonalCut .detailCornersVerticalDivider,
.detailCornersBox.topLeftDiagonalCut .detailCornersVerticalDivider,
.detailCornersBox.topRightDiagonalCut .detailCornersVerticalDivider,
.detailCornersBox.bottomRightDiagonalCut .detailCornersVerticalDivider,
.detailCornersBox .cornerConfigCutLabel,
.detailCornersBox .cornerConfigRadiusLabel,
.detailGroovesBox .grooveConfigLabel {
    display: none;
}

.detailCornersBox.bottomLeftRadius .cornerConfigRadiusLabel-bottomLeft,
.detailCornersBox.topLeftRadius .cornerConfigRadiusLabel-topLeft,
.detailCornersBox.topRightRadius .cornerConfigRadiusLabel-topRight,
.detailCornersBox.bottomRightRadius .cornerConfigRadiusLabel-bottomRight,
.detailCornersBox.bottomLeftCut .cornerConfigCutEdge-bottomLeft,
.detailCornersBox.topLeftCut .cornerConfigCutEdge-topLeft,
.detailCornersBox.topRightCut .cornerConfigCutEdge-topRight,
.detailCornersBox.bottomRightCut .cornerConfigCutEdge-bottomRight,
.detailCornersBox.bottomLeftCut .cornerConfigCutLabel-bottomLeft,
.detailCornersBox.topLeftCut .cornerConfigCutLabel-topLeft,
.detailCornersBox.topRightCut .cornerConfigCutLabel-topRight,
.detailCornersBox.bottomRightCut .cornerConfigCutLabel-bottomRight,
.detailGroovesBox.topGroove .grooveConfigLabel-top,
.detailGroovesBox.rightGroove .grooveConfigLabel-right,
.detailGroovesBox.bottomGroove .grooveConfigLabel-bottom,
.detailGroovesBox.leftGroove .grooveConfigLabel-left {
    display: block;
}

.detailCornersBox .cornerConfigCutLabel,
.detailCornersBox .cornerConfigRadiusLabel { font-size: 0.8rem; position: absolute; height: 45px; width: 45px; }

.detailCornersBox .cornerConfigCutLabel-bottomLeft,
.detailCornersBox .cornerConfigCutEdge-bottomLeft,
.detailCornersBox .cornerConfigRadiusLabel-bottomLeft { bottom: 0; left: 0; border-top: 1px solid #666; border-right: 1px solid #666; }

.detailCornersBox .cornerConfigCutLabel-topLeft,
.detailCornersBox .cornerConfigCutEdge-topLeft,
.detailCornersBox .cornerConfigRadiusLabel-topLeft { top: 0; left: 0; border-bottom: 1px solid #666; border-right: 1px solid #666; }

.detailCornersBox .cornerConfigCutLabel-topRight,
.detailCornersBox .cornerConfigCutEdge-topRight,
.detailCornersBox .cornerConfigRadiusLabel-topRight { top: 0; right: 0; border-bottom: 1px solid #666; border-left: 1px solid #666; }

.detailCornersBox .cornerConfigCutLabel-bottomRight,
.detailCornersBox .cornerConfigCutEdge-bottomRight,
.detailCornersBox .cornerConfigRadiusLabel-bottomRight { bottom: 0; right: 0; border-top: 1px solid #666; border-left: 1px solid #666; }

.detailCornersBox .cornerConfigRadiusLabel-bottomLeft span { left: 48px; top: -19px; position: absolute; }
.detailCornersBox .cornerConfigRadiusLabel-topLeft span { left: 48px; top: 42px; position: absolute; }
.detailCornersBox .cornerConfigRadiusLabel-topRight span { right: 48px; top: 42px; position: absolute; }
.detailCornersBox .cornerConfigRadiusLabel-bottomRight span { right: 48px; top: -19px; position: absolute; }

.detailCornersBox .cornerConfigCutEdge-bottomLeft {
    -webkit-clip-path: polygon(-1% 1%, 0 100%, 99% 100%);
    clip-path: polygon(-1% 1%, 0 100%, 99% 100%);
    background: #fff; border: 1px solid #fff;
}
.detailCornersBox .cornerConfigCutEdge-topLeft {
    -webkit-clip-path: polygon(100% -1%, 0 0, -1% 100%);
    clip-path: polygon(100% -1%, 0 0, -1% 100%);
    background: #fff; border: 1px solid #fff;
}
.detailCornersBox .cornerConfigCutEdge-topRight {
    -webkit-clip-path: polygon(105% 0%, 1% 0%, 101% 99%);
    clip-path: polygon(105% 0%, 1% 0%, 101% 99%);
    background: #fff; border: 1px solid #fff;
}
.detailCornersBox .cornerConfigCutEdge-bottomRight {
    -webkit-clip-path: polygon(105% 0%, 1% 100%, 100% 100%);
    clip-path: polygon(105% 0%, 1% 100%, 100% 100%);
    background: #fff; border: 1px solid #fff;
}

.detailCornersBox .cornerConfigCutLabel-bottomLeft .cornerConfigCutXLabel { left: 6px; top: -19px; position: absolute; }
.detailCornersBox .cornerConfigCutLabel-topLeft .cornerConfigCutXLabel { left: 6px; top: 42px; position: absolute; }
.detailCornersBox .cornerConfigCutLabel-topRight .cornerConfigCutXLabel { right: 6px; top: 42px; position: absolute; }
.detailCornersBox .cornerConfigCutLabel-bottomRight .cornerConfigCutXLabel { right: 6px; top: -19px; position: absolute; }

.detailCornersBox .cornerConfigCutLabel-bottomLeft .cornerConfigCutYLabel { left: 50px; top: 10px; position: absolute; }
.detailCornersBox .cornerConfigCutLabel-topLeft .cornerConfigCutYLabel { left: 50px; top: 12px; position: absolute; }
.detailCornersBox .cornerConfigCutLabel-topRight .cornerConfigCutYLabel { right: 50px; top: 12px; position: absolute; }
.detailCornersBox .cornerConfigCutLabel-bottomRight .cornerConfigCutYLabel { right: 50px; top: 10px; position: absolute; }


.detailGroovesBox .grooveConfigLabel-top { top: 15px; }
.detailGroovesBox .grooveConfigLabel-bottom { bottom: 15px; top: auto;}
.detailGroovesBox .grooveConfigLabel-left { left: 15px; }
.detailGroovesBox .grooveConfigLabel-right  { right: 15px; left: auto;}


.topGroove .detailGroovesCenter { margin-top: 125px; }
#detailCornersConfigModal .topGroove .detailGroove-bottom { top: 370px; }

#detailCornersConfigModal .topGroove .detailGroove-right,
#detailCornersConfigModal .topGroove .detailGroove-left {
    top: 140px;
}

#detailCornersConfigModal .modal-body > .row > div.detailGroove.detailGroove-top,
#detailCornersConfigModal .modal-body > .row > div.detailGroove.detailGroove-bottom {
    width: 100%;
    left: 0;
    margin-left: 0;
}

#detailCornersConfigModal .detailGroove-config .input-group .input-group-text {
    min-width: 185px;
}

#detailCornersConfigModal .detailGroove-config .input-group .input-group-text.input-group-checkbox-text {
    min-width: inherit;
}

#detailCornersConfigModal .bottomGroove .row.row-col-4,
#detailCornersConfigModal .topGroove .row.row-col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    float: left;
}

#detailCornersConfigModal .topGroove .row.row-col-4 .input-group,
#detailCornersConfigModal .bottomGroove .row.row-col-4 .input-group {
    padding-right: 5px;
}

#detailCornersConfigModal .topGroove .row.row-col-4.second-row-col-4,
#detailCornersConfigModal .topGroove .row.row-col-4.third-row-col-4,
#detailCornersConfigModal .bottomGroove .row.row-col-4.second-row-col-4,
#detailCornersConfigModal .bottomGroove .row.row-col-4.third-row-col-4 {
    margin-left: 25px;
}

#confirmCleanupModal .alert,
#confirmCleanupModal .form-check {
    text-align: left;
}

#confirmCleanupModal input[type=checkbox] {
    margin-top: 0.4rem;
}

#confirmCleanupModal .form-check-label {
    font-weight: 600;
}

.page-404 b, .services b { font-weight: 600; }
.page-404 a.services-link, .services a.services-link { margin: 15px 20px 5px 20px; }


.calc-results .alert-info .table>tbody>tr>td.no-top-border {
    border-top: 0 none !important;
}

.calc-results .alert-info .table-condensed {
    margin-bottom: 0;
}

.calc-results .alert-info .table-condensed td {
    padding: 0.1rem 0.25rem;
    font-size: 0.8rem;
}

.calc-results .alert-info .col-sm-6 {
    padding-left: 7px;
    padding-right: 7px;
}

.calc-results .col-form-label {
    padding-top: calc(.075rem + 1px);
    padding-bottom: calc(.875rem + 1px);
}



#selectDoorConfigModal .select-door-label,
#selectSheetConfigModal .select-sheet-label {
    text-align: center;
}

.text-warning {
    color: #ff9101!important;
}

.profileVertHigherLimitLabel { margin-top: -18px;}

.modal-header .search-input-group { width: 250px; position: absolute; right: 50px; }
.modal-header .search-input-group .btn-outline-secondary,
.modal-header .search-input-group .fa { color: #999; }
.modal-header .search-input-group input { border-left: 0 none; padding-left: 0; }
.modal-header .search-input-group input:focus { box-shadow: none !important; border-color: #ced4da !important; }

.order-payment-row label.fn { font-weight: normal;}
.order-payment-row table tr td { padding-left: 0;}
.order-payment-footer a, .order-payment-footer a:not([href]):not([class]) { color: #007bff; cursor: pointer; }
.order-payment-footer a:hover, .order-payment-footer a:not([href]):not([class]):hover { color: #0056b3; text-decoration: underline; }
.order-payment-footer a i { margin-left: 5px;}
.order-payment-footer .row { align-items: center; }
.order-payment-footer .col-12 { display: flex; justify-content: space-between; }
.order-payment-row .logo-row { margin-top: 3px; }
.order-payment-row .link-expired { padding-top: 30px; padding-bottom: 30px; }

.payments-logo { text-align: right; }
.payments-logo img { width: 300px; }
.order-payment-row img, .order-payment-footer img { max-width: 100%; height: auto; max-height: 64px; width: auto; }
.order-payment-row .alert { display: inline-block; }
.order-payment-row .payment-status { margin-top: 0.6rem; }

.order-payment-phone { color: inherit; }
.order-payment-row .fa { position: relative; top: 1px; margin-right: 10px; }

.services-social-links { display: inline-block; position: relative; top: 5px; margin-left: 15px; }
.services-social-links a { border-right: 0 none; padding: 0 15px 0 1px; display: inline-block; }
.services-social-links a img { width: 32px; height: auto;}
.services-social-links a:hover img { transform: scale(1.05); }

label.authorizedPhone {
    margin-top: -3px;
}

label.authorizedPhone button {
    margin-left: 10px;
    margin-top: -2px;
}

.elplatFailureStatus, .elplatSuccessStatus { display: none; }

@media screen and (max-width: 1199px) {
    label.authorizedPhone button {
        margin-left: 2px;
        margin-top: 4px;
    }
}

@media screen and (max-width: 1024px) {
    .print-order-button .btn, .send-order-button .btn {
        padding: .25rem .25rem;
    }
}

@media screen and (max-width: 999px) {
    #selectDoorConfigModal a.select-door-preview,
    #selectSheetConfigModal a.select-sheet-preview {
        right: 50%;
        margin-right: -20px;
    }
}

@media screen and (min-width: 992px) {
    .calc-results  label.twoLinesLabel {
        line-height: 1.1;
        margin-top: -5px;
        margin-bottom: -6px;
    }
}

@media screen and (max-width: 991px) {
    .profileVertHigherLimitLabel {
        margin-top: 0;
    }


    .calc-results .col-form-label, .calc-results label.twoLinesLabel {
        padding-top: calc(.375rem + 1px);
        padding-bottom: calc(.125rem + 1px);
    }

    .order-payment-footer .col-12 {
        display: block;
    }

    .order-payment-footer a {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .order-payment-footer div > a:last-child {
        margin-bottom: 5px;
    }

    .order-payment-row .link-expired { padding-top: 15px; padding-bottom: 15px; }
    .order-payment-row .payment-status { text-align: center; margin-top: 0; }
    .order-payment-row .order-num-row { margin-top: 10px; }
}

@media (max-width: 640px) {
    #selectDoorConfigModal .select-door-image, #selectSheetConfigModal .select-sheet-image {
        width: 150px;
        height: 150px;
    }

    .link-expired { text-align: center; }
    .total-tr td { text-align: left !important; }
}

@media (max-width: 575px) {
    .table-orders-info .twoLinesLabel span:after {  content: " ";}
}

@media (min-width: 576px) {
    .table-orders-info .twoLinesLabel span { display: block; }
}


@media screen and (min-width: 768px) {
    .table-orders-info th.d-md-block, .table-orders-info td.d-md-block {
        display: table-cell !important;
    }
    .table-orders-info th span.d-md-block {
        display: inline !important;
    }
}

@media screen and (max-width: 767px) {
    .page-404 a.page404-link { display: block; margin-right: 0; margin-left: 0; }
    .modal-header .search-input-group { display: none; }

    .payments-logo { text-align: center; }
    .order-payment-row .logo-row { text-align: center !important;}
    .orders-info .pagination-row .text-left, .orders-info .pagination-row .text-right {
        text-align: center !important;
        margin-top: 15px;
    }

    label.authorizedPhone button {
        margin-left: 5px;
        margin-top: -1px
    }
    .table-orders-info th {
        width: 100%;
    }

    .table-orders-info.table-sm td, .table-orders-info.table-sm th {
        font-size: 0.85rem;
    }

    .pagination .page-item-last, .pagination .page-item-first { display: none;}
}

@media screen and (max-width: 475px) {
        .services-social-links { top: 15px;}
}

@media screen and (max-width: 384px) {
    .phoneConfirm-row .input-group-append, .phoneConfirm-row .input-group-append button,
    .enterPhone-row .input-group input,
    .enterPhone-row .input-group-append, .enterPhone-row .input-group-append button { width: 100%}
    .phoneConfirm-row .input-group > .input-group-append > .btn,
    .enterPhone-row .input-group > .input-group-append > .btn { border-radius: .25rem; margin-top: 1rem; }
    .enterPhone-row .input-group > .form-control:not(:last-child) ,
    .phoneConfirm-row .input-group > .form-control:not(:last-child){ border-top-right-radius: 0.2rem; border-bottom-right-radius: 0.2rem; }
}


@media (max-height: 800px) {
    .modal-dialog { margin: 0.5rem auto; max-height: 400px; }
    #selectDoorConfigModal .modal-body,
    #selectSheetConfigModal .modal-body { max-height: 400px; }

    #selectDoorConfigModal .select-door-data,
        #selectSheetConfigModal .select-sheet-data,
        #selectSheetConfigModal .select-border-data { margin-bottom: 0; }
    #selectSheetConfigModal .select-sheet-image { margin-bottom: 5px; }
}

ul.pagination { margin-bottom: 0;}
.pagination .page-link { color: #17a2b8; min-width: 38px; text-align: center;  margin-top: 1rem; padding: 0.5rem 0.5rem;}
.pagination .page-item.active .page-link { background-color: #17a2b8; border-color: #17a2b8; }
.pagination .page-link:hover { color: #245269; }
.pagination .page-item.active .page-link:hover { color:  #fff; cursor: default; }
.pagination { flex-wrap: wrap; }

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.pagination-loader:after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 36px;
    height: 36px;
    margin: -18px auto auto -18px;
    content: '';
    border: solid 3px;
    border-color: rgba(0,0,0,.7) transparent;
    border-radius: 100%;
    animation: spin 1s infinite linear;
    z-index: 9999;
    opacity: 0.7;
}

.pagination-loader.empty-paged-list:after {
    margin: 0 auto auto -18px;
}


.pagination-full-width-loader {
    position: absolute;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(255, 255, 255, .5);
}


.orders-info table tr.clickable { cursor: pointer; }
.orders-info table tbody tr.collapse, .orders-info table tbody tr.collapsing {
    background-color: rgba(0,0,0,.01) !important;
}

.orders-info table tbody tr.collapse .col-form-label,
.orders-info table tbody tr.collapsing .col-form-label {
    line-height: 1;
}

.orders-info .table-hover tbody tr.clickable:hover {
    background-color: rgba(0, 0, 0, 0.075) !important;
}

.orders-info tr td span.tr-state:before {
    content: "–";
    display: inline-block;
    font-weight: bold;
    font-size: 1.1rem;
    width: 14px;
    position: relative;
    left: 2px;
    margin-top: -3px;
}
.orders-info tr.collapsed td span.tr-state:before {
    content: "+";
    left: 0;
}

.orders-info .table tbody+tbody { border: 0 none; }
.orders-info tr.clickable td { vertical-align: middle; }

table thead th.sortable {
    cursor: pointer;
    position: relative;
}

th.sortable::after {
    font-family: FontAwesome;
    content: "\f0dc";
    position: relative;
    color: #bbb;
    font-weight: 400;
    margin-left: 6px;
}

th.sortable:hover::after, th.sortable.asc::after , th.sortable.desc::after  { color: #333; }
th.sortable.asc::after { content: "\f0dd";top: -3px;}
th.sortable.desc::after { content: "\f0de"; top: 4px; }

.cookie-consent-container-wrap { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: 1rem; font-weight: 400; line-height: 1.5; position: fixed; bottom: 0; width: 100%;  z-index: 9999; text-align: center; color: #fff; transition: all 0.25s ease-in-out; }
.cookie-consent-container { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: #2b2b2b; opacity: 0.8; }
.cookie-consent-content { padding: 8px 30px; position: relative; margin: auto; text-align: center; }
.cookie-consent-content div { display: inline-block; padding: 7px 0; margin: 0 15px; }
.cookie-consent-container-wrap a, .cookie-consent-container-wrap a:hover { text-decoration: underline; cursor: pointer; color: #fff; white-space: nowrap; }
.cookie-consent-container-wrap a:hover { text-decoration: none; }
.cookie-consent-ok { margin: 0 15px 0 15px; display: inline-block; border-radius: 5px; padding: 12px 15px; line-height: 1; background: #1e1e1e; color: #fff; text-transform: uppercase; transition: all 0.25s ease-in-out; text-decoration: none !important; }
.cookie-consent-ok:hover { background: #5f6568; }

img.apps-logo { max-height: 54px; width: auto; }

.headerInfoLabel { margin-top: 5px; }

@media screen and (max-width:768px) {
    .cookie-consent-container-wrap { font-size: 14px; line-height: 1.5; }
}

@media screen and (max-width:1024px) {
    .order-available-managers { width: 294px; }
}

