/*
 * Base structure
 */

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

.cover-container {
    flex: 1;
}

.cover-container > nav {
    flex: none;
}
.cover-container > .container {
    flex: 1 0 auto;
}
.cover-container > footer {
    flex: none;
}

/*
 * Navbar
 */
.navbar {
    min-height: 60px;
}

.localization-icons img {
    width: 21px;
    opacity: 0.3;
}

.localization-icons img:hover,
.localization-icons img.active {
    opacity: 1;
}

/**
 * Sidebar
 */

.list-group-borderless .list-group-item {
    border: 0 !important;
}

.list-group-borderless .list-group-item.active {
    color: #007bff;
    background-color: inherit;
    font-weight: bold;
}

.list-group-borderless .list-group-item i {
    color: #666;
    width: 25px;
}

.list-group-borderless .list-group-item.active i {
    color: #007bff;
}

/**
 * Social Buttons
 */
.btn-social:hover {
    opacity: 0.85;
    text-decoration: none;
}

.btn-facebook, .btn-facebook:hover {
    color: #3B5998;
}

.btn-twitter, .btn-twitter:hover {
    color: #55ACEE;
}

.btn-google, .btn-google:hover {
    color: #dd4b39;
}

/**
 * Login Page Form Wrapper
 */
.form-wrapper { display: none; }
.form-wrapper.active { display: block; }

/**
 * Misc
 */

.page-header small {
    font-size: 1rem;
}

.blockquote {
    font-size: 1rem;
}

.table th {
    font-size: 0.85rem;
    color: #666;
}

.dropdown-item i {
    color: #666;
}

label .required {
    color: #a00;
}

.table-responsive {
    min-height: 200px;
}

dt {
    font-weight: 400 !important;
}

dd {
    font-weight: 700;
}

/**
 * Responsive CSS Rules
 */

@media (min-width : 992px) {
    .table-responsive {
        overflow-x: visible;
    }
}

@media (max-width : 768px) {
    .list-group-borderless {
        margin-bottom: 20px;
    }

    .localization-icons {
        margin-top: 15px;
        margin-bottom: 10px;
        display: flex !important;
        justify-content: space-evenly;
    }
}

#barcodesList {
	border: 1px solid #f5f7f9; margin-bottom: 100px; padding: 1px 1px 0 1px;
}

#barcodesList a {display: block;}

.barcodeItem:nth-child(odd) a, .barcodeItem:nth-child(odd) > div {
	background: #f5f7f9;
}

.barcodeItem {margin-bottom: 1px;}

.barcodeItem a, .barcodeItem > div {padding: 10px; color: #333; text-decoration: none;}
.barcodeItem > div.status_1 {background: #8ebf24!important;}

.uploadField {
    position: relative;
    border: 1px solid #e9edf4;
    border-radius: 0 0 7px 7px;
    height: 150px;
	margin-top: 15px;
	cursor: pointer;
}

.uploadField:hover {
    background-size: 30px 30px;
    background-image: -webkit-linear-gradient(135deg, #f6f6fb 25%, transparent 25%, transparent 50%, #f6f6fb 50%, #f6f6fb 75%, transparent 75%, transparent);
    background-image: linear-gradient(-45deg, #f6f6fb 25%, transparent 25%, transparent 50%, #f6f6fb 50%, #f6f6fb 75%, transparent 75%, transparent);
    -webkit-animation: stripes 2s linear infinite;
    animation: stripes 2s linear infinite;
}

@-webkit-keyframes stripes {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 60px 30px;
    }
}

@keyframes stripes {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 60px 30px;
    }
}

#qr-reader {
	max-width: 500px;
	position: relative;
}
#qr-reader-results {position: relative; height: 30px; max-width: 500px;}
#qr-code-found, #qr-code-used, #qr-code-not_found {position: absolute; top: 0; left: 0; right: 0; padding: 10px; text-align: center; color: #fff; opacity: 0; transform: scale(0); z-index: 9;}
.animated {transition: all .2s ease-in-out;}
#qr-code-found.info_visible, #qr-code-used.info_visible, #qr-code-not_found.info_visible {opacity: 1; transform: scale(1);}
#qr-code-found {background: #8ebf24; z-index; 10;}
#qr-code-used, #qr-code-not_found {background: red;}

#addBarcode {width: 100%;}
.error {border-color: red;}
input, select, input:focus, select:focus {outline: none!important; box-shadow: none!important;}
.firstDataPart, .secondDataPart {display: block;}

@media (max-width : 768px) {
	.hiddenMobile {display: none;}
	.blockMobile {display: block; font-size: 14px;}
}
#barcodesStats {margin-top: 40px; text-align: center;}
#barcodesStats strong {display: block; text-transform: uppercase;}
#barcodesStats span {font-size: 30px;}