/* Write your custom CSS here */
.padding-0 {
	padding:2px !Important;
}
.padding-left-0 {
	padding-left:0px;
}
.padding-right-0 {
	padding-right:0px;
}
.margin-0 {
	margin:0px;
}
.margin-left-0 {
	margin-left:0px;
}
.margin-right-0 {
	margin-right:0px;
}
.margin-top-0 {
	margin-top:0px;
}
.margin-bottom-0 {
	margin-bottom:0px;
}
.error {
    color:#a94442;
	border:solid 1px #a94442;
	background:rgba(249, 186, 186, 0.3);
}
.form-group textarea {
	border:1px solid #dce1e4;
	width:100%;
	padding:5px;
}
.form-horizontal .fileld-error {
	color:#a94442;
}
.form-horizontal .fileld-error + div > input {
	color:#a94442;
	border:solid 1px #a94442;
	background:rgba(249, 186, 186, 0.3);
}
.float-none {
	float:none;
}
.table-responsive .datalist {
	margin:0px;
	padding:0px;
}
.table-responsive .datalist li {
	list-style:none;
	margin-bottom:5px;
}
.table-responsive .datalist li a {
	text-decoration:none;
}
.table-responsive .datalist li span {
	font-weight:bold;
	color:#1E126A;
}
.table-responsive .datalist li span .fa {
	width:20px;
	text-align:center;
	/*background:#7a6fbe;*/
	color:#000;
	padding:3px;
}
.table-responsive .datalist li span .fa-mobile {
    float: left;
    font-size: 20px;
    margin-top: -4px;
	margin-right:4px;
}
.table-responsive .datalist li span .fa-map-marker {
	font-size:17px;
}
.table tr td span {
	color:#1E126A;
	font-weight:bold;
}
/* Deshboard Start */
.dashboard .info-box .info-box-stats {
	width:86%;
}
.dashboard .info-box-title {
	width:80%;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap; 
}
.activities-content {
	height:345px !important;
	overflow:hidden !important;
}
.activities-content ul li {
    padding: 3px 0 3px 30px;
    position: relative;
}
.activities-content ul li::before {
    content: "";
    height: 100%;
    left: 4px;
    position: absolute;
    width: 1px;
}
.activities-content ul li .point {
    border: 1px solid transparent;
    border-radius: 100%;
    display: inline-block;
    height: 9px;
    left: 0;
    position: absolute;
    top: 8px;
    width: 9px;
}
.activities-content ul li.primary::before {
    background: #3f51b5 none repeat scroll 0 0;
}
.activities-content ul li.primary .point {
    background: #3f51b5 none repeat scroll 0 0;
    border-color: #3f51b5;
}
.activities-content ul li.success::before {
    background: #4caf50 none repeat scroll 0 0;
}
.activities-content ul li.success .point {
    background: #4caf50 none repeat scroll 0 0;
    border-color: #4caf50;
}
.activities-content ul li.warning::before {
    background: #ffeb3b none repeat scroll 0 0;
}
.activities-content ul li.warning .point {
    background: #ffeb3b none repeat scroll 0 0;
    border-color: #ffeb3b;
}
.activities-content ul li.info::before {
    background: #2196f3 none repeat scroll 0 0;
}
.activities-content ul li.info .point {
    background: #2196f3 none repeat scroll 0 0;
    border-color: #2196f3;
}
.activities-content ul li.danger::before {
    background: #f44336 none repeat scroll 0 0;
}
.activities-content ul li.danger .point {
    background: #f44336 none repeat scroll 0 0;
    border-color: #f44336;
}
.activities-content ul li.pink::before {
    background: #e91e63 none repeat scroll 0 0;
}
.activities-content ul li.pink .point {
    background: #e91e63 none repeat scroll 0 0;
    border-color: #e91e63;
}
.list-unstyled-padding li {
	padding: 12px 0;
}
/* Mobile Tab Start */
div[role="mob-tabs"] {
	display:none;
}
/* Mobile Tab End */
/* Deshboard End */

/* Mobile data start */
.border-bottom { border-bottom: solid 2px #dedede; padding:0 0 10px 0; }
.border-bottom th { padding-bottom: 10px !important; }
.mobile-data .panel-title a, .mobile-data .panel-title a span { display: block; }
.mobile-data .panel-title a span { margin-bottom: 5px; }
.mobile-data .panel-heading .accordion-toggle:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e114";    /* adjust as needed, taken from bootstrap.css */
    float: right;        /* adjust as needed */
    color: grey;         /* adjust as needed */
}
.mobile-data .panel-heading .accordion-toggle.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}

/* Mobile data start */
.mobile-data {
   /* border: solid 1px red;*/
}
/* Mobile data End */
@media (max-width: 760px) {
.Req-Id {
	margin-bottom:15px;
}
}
@media (max-width: 770px) {
.mob-nav-tabs {
	display:none;
}
div[role="mob-tabs"] {
	display:block;
	margin-bottom:5px;
}
div[role="mob-tabs"] a {
	display:block;
	background:#f1f1f1;
	padding:5px 10px;
	text-decoration:none;
	color:#555;
}
div[role="mob-tabs"] a span {
	float:right;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;	
}
div[role="mob-tabs"] a span.active {
	transform:rotate(180deg);
}
div[role="padding-0"] {
	padding:0;
}
}

/* Batch No Mapping mobile scanner layout */
.scanner-input-group .form-control {
    height: 42px;
}

.scanner-action-btn {
    min-width: 48px;
    height: 42px;
}

.scanner-action-btn:disabled,
.scanner-action-btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.batch-map-select,
.batch-map-form-row select.form-control,
.batch-map-form-row input.form-control,
.batch-map-form-row .input-group {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}

.batch-map-select {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.scanner-reader,
.scanner-video {
    width: 100%;
}

.scanner-preview-shell {
    background: #111820;
    position: relative;
}

.scanner-reader {
    background: #111820;
    min-height: 320px;
    overflow: hidden;
}

.scanner-reader video,
.scanner-reader canvas {
    max-width: 100% !important;
}

.scanner-reader video {
    object-fit: cover;
}

.scanner-video {
    display: none;
    background: #000;
    min-height: 260px;
}

.scanner-status {
    margin: 10px 0 0;
    color: #555;
}

#qrModal:not(.vision-scan-modal) .modal-dialog {
    max-width: 540px;
    width: calc(100% - 28px);
}

#qrModal:not(.vision-scan-modal) .scanner-preview-shell {
    aspect-ratio: 1 / 1;
    max-height: min(72vh, 520px);
    min-height: 320px;
}

#qrModal:not(.vision-scan-modal) .scanner-reader {
    height: 100%;
}

#messagePopup {
    text-align: center;
}

#messagePopup:before {
    content: "";
    display: inline-block;
    height: 100%;
    min-height: 100vh;
    vertical-align: middle;
}

#messagePopup .modal-dialog {
    display: inline-block;
    margin: 0;
    max-width: 360px;
    text-align: center;
    vertical-align: middle;
    width: calc(100% - 32px);
}

.message-popup-card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    padding: 26px 24px 22px;
    position: relative;
}

.message-popup-close {
    color: #9da6ad;
    font-size: 28px;
    opacity: 0.7;
    position: absolute;
    right: 16px;
    top: 10px;
}

.message-popup-icon-wrap {
    align-items: center;
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: 34px;
    height: 78px;
    justify-content: center;
    margin: -62px auto 12px;
    width: 78px;
}

.message-popup-success .message-popup-icon-wrap {
    background: linear-gradient(145deg, #5bd7ff, #1f7cff);
}

.message-popup-error .message-popup-icon-wrap {
    background: linear-gradient(145deg, #ff9aa5, #f24c55);
}

.message-popup-title {
    color: #2f3f4c;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    margin: 0 22px 8px;
}

.message-popup-text {
    color: #445766;
    font-size: 16px;
    line-height: 22px;
    margin: 0 auto 20px;
    max-width: 280px;
    word-break: break-word;
}

.message-popup-button {
    border: 0;
    border-radius: 4px;
    color: #fff;
    min-width: 104px;
    padding: 10px 24px;
}

.message-popup-success .message-popup-button {
    background: #1fb8ee;
}

.message-popup-error .message-popup-button {
    background: #7565bf;
}

.sweet-loader-overlay {
    align-items: center;
    background: rgba(0, 0, 0, 0.52);
    bottom: 0;
    display: none;
    justify-content: center;
    left: 0;
    padding: 18px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.sweet-loader-overlay.active {
    display: flex;
}

.sweet-loader-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
    max-width: 320px;
    padding: 28px 24px 24px;
    text-align: center;
    width: 100%;
}

.sweet-loader-spinner {
    animation: sweetLoaderSpin 0.85s linear infinite;
    border: 5px solid #e7edf3;
    border-top-color: #7565bf;
    border-radius: 50%;
    height: 58px;
    margin: 0 auto 16px;
    width: 58px;
}

.sweet-loader-card h4 {
    color: #2f3f4c;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}

.sweet-loader-card p {
    color: #445766;
    font-size: 15px;
    line-height: 22px;
    margin: 0;
}

@keyframes sweetLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

.batch-map-action-bar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    width: 100%;
}

.batch-map-primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.batch-map-action-btn {
    min-width: 108px;
    white-space: nowrap;
}

.batch-map-tagging-btn {
    min-width: 190px;
}

.batch-map-scan-row .batch-map-scan-show .btn {
    height: 42px;
    min-width: 74px;
}

#qrModal.vision-scan-modal {
    padding-left: 0 !important;
}

#qrModal.vision-scan-modal .modal-dialog {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 520px;
    width: calc(100% - 32px);
}

#qrModal.vision-scan-modal .modal-content {
    border: 0;
    border-radius: 6px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
    overflow: hidden;
}

#qrModal.vision-scan-modal .modal-header {
    align-items: center;
    border-bottom: 1px solid #e5e9ec;
    display: flex;
    min-height: 56px;
    padding: 14px 18px;
}

#qrModal.vision-scan-modal .modal-header .close {
    color: #9aa4aa;
    font-size: 28px;
    line-height: 28px;
    margin-left: auto;
    opacity: .8;
    order: 2;
}

#qrModal.vision-scan-modal .modal-header h4 {
    color: #415462;
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
}

#qrModal.vision-scan-modal .modal-body {
    padding: 0;
}

.scanner-preview-shell {
    background: #111820;
    position: relative;
}

#qrModal.vision-scan-modal .scanner-preview-shell {
    aspect-ratio: 4 / 3;
    max-height: min(62vh, 440px);
    min-height: 260px;
}

#qrModal.vision-scan-modal .scanner-video {
    background: #111820;
    display: block;
    height: 100%;
    max-height: inherit;
    min-height: 0;
    object-fit: contain;
    width: 100%;
}

#qrModal.vision-scan-modal .scanner-reader {
    display: none;
}

.scanner-target-frame {
    border: 2px solid rgba(255, 255, 255, .88);
    border-radius: 8px;
    box-shadow: 0 0 0 999px rgba(0, 0, 0, .18);
    display: none;
    height: 30%;
    left: 12%;
    pointer-events: none;
    position: absolute;
    right: 12%;
    top: 35%;
}

#qrModal.vision-scan-modal .scanner-target-frame {
    display: block;
}

#qrModal.vision-scan-modal .scanner-status {
    background: #fff;
    color: #445766;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
    min-height: 44px;
    padding: 12px 18px;
}

#qrModal.vision-scan-modal .scanner-status.text-danger {
    color: #d9534f;
}

#qrModal.vision-scan-modal .modal-footer {
    border-top: 0;
    padding: 14px 18px 18px;
    text-align: right;
}

#qrModal.vision-scan-modal #btnVisionCapture {
    min-width: 112px;
    padding: 10px 22px;
}

@media (min-width: 601px) {
    .batch-map-form-row {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
    }

    .batch-map-form-row > [class*="col-"] {
        float: none !important;
        min-width: 0;
    }

    .batch-map-form-row .col-sm-3 {
        flex: 0 0 220px;
        max-width: 220px;
        width: 220px;
    }

    .batch-map-form-row .col-sm-4 {
        flex: 1 1 420px;
        max-width: 520px;
        width: auto;
    }

    .batch-map-form-row .col-sm-5 {
        flex: 1 1 420px;
        max-width: 520px;
        width: auto;
    }

    .batch-map-form-row .col-sm-2 {
        flex: 0 0 auto;
        width: auto;
    }

    .batch-map-form-row .form-control,
    .batch-map-form-row .input-group {
        max-width: 100%;
        width: 100%;
    }

    .batch-map-scan-row {
        flex-wrap: nowrap;
    }

    .batch-map-scan-row .batch-map-scan-input {
        flex: 1 1 420px;
        max-width: 520px;
    }

    .batch-map-scan-row .batch-map-scan-show {
        flex: 0 0 auto;
        margin-left: 12px;
    }
}

@media (min-width: 601px) and (max-width: 1199px) {
    .batch-map-action-bar {
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .batch-map-primary-actions {
        flex: 1 1 auto;
    }

    .batch-map-action-btn {
        min-width: 104px;
    }

    .batch-map-tagging-btn {
        flex: 0 0 190px;
        min-width: 190px;
    }
}

.readonly-field,
.readonly-field[readonly],
.readonly-field:hover,
.readonly-field:focus,
.readonly-field:active,
.readonly-field.FocusColor {
    background-color: #eee !important;
    border-color: #dce1e4 !important;
    box-shadow: none !important;
    cursor: default;
}

@media (max-width: 991px) {
    #main-wrapper {
        padding: 10px;
    }

    .page-title {
        padding: 10px 12px !important;
    }

    .page-title h3 {
        font-size: 20px;
        line-height: 26px;
        margin: 0;
    }

    .panel.panel-white {
        margin-bottom: 15px;
    }

    .panel-white .panel-body {
        padding: 15px 12px;
    }

    .batch-map-form-row {
        display: block;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .batch-map-form-row > [class*="col-"] {
        display: block !important;
        flex: none !important;
        float: none !important;
        max-width: 100%;
        min-width: 0;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .batch-map-form-row .control-label {
        display: block;
        margin-bottom: 6px;
        padding-top: 0;
        text-align: left;
    }

    .batch-map-form-row select.form-control,
    .batch-map-form-row input.form-control,
    .batch-map-form-row .input-group {
        box-sizing: border-box;
        display: block;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }

    .batch-map-form-row .batch-map-select,
    .batch-map-form-row select[id$="ddlMemberType"],
    .batch-map-form-row select[id$="ddlSKU"],
    .batch-map-form-row select[id$="DDLProductionLocation"] {
        box-sizing: border-box !important;
        display: block !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        width: 100% !important;
    }

    .scanner-input-group {
        display: table;
        table-layout: fixed;
    }

    .scanner-input-group .input-group-btn {
        width: 52px;
    }

    .batch-map-action-bar {
        align-items: stretch;
        gap: 0;
        justify-content: flex-start;
    }

    .batch-map-primary-actions {
        display: grid;
        gap: 6px;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .batch-map-actions .batch-map-action-btn {
        margin-bottom: 0;
        min-width: 0;
        padding: 10px 8px;
        width: 100%;
    }

    .batch-map-tagging-btn {
        flex-basis: 100%;
        margin-top: 12px;
        width: 100%;
    }

    .batch-map-actions .text-right {
        text-align: left;
    }

    .batch-map-scan-row .batch-map-scan-show {
        margin-top: 8px;
    }

    .batch-map-scan-row .batch-map-scan-show .btn {
        width: 100%;
    }

    .scanner-action-btn {
        width: 52px;
    }

    #qrModal .modal-dialog {
        width: auto;
        margin: 10px;
    }

    #messagePopup .modal-dialog {
        max-width: 320px;
        width: calc(100% - 28px);
    }

    .message-popup-card {
        padding: 24px 18px 20px;
    }

    .message-popup-icon-wrap {
        height: 68px;
        margin-top: -56px;
        width: 68px;
    }

    .scanner-video {
        min-height: 220px;
    }

    #qrModal.vision-scan-modal .scanner-preview-shell {
        max-height: 52vh;
        min-height: 220px;
    }

    #qrModal.vision-scan-modal .modal-footer {
        padding: 12px 14px 16px;
    }

    #qrModal.vision-scan-modal #btnVisionCapture {
        width: 100%;
    }
}
