/*!
 * Start Bootstrap - SB Admin (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Global Styles */

body {
    margin-top: 100px;
    background-color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    font-family:'Franklin Gothic',Arial,sans-serif;
}

h2 {
    font-family:'Franklin Gothic',Arial,sans-serif;
}

h3 {
    font-family:'Franklin Gothic',Arial,sans-serif;
}

@media(min-width:768px) {
    body {
        margin-top: 50px;
    }
}

#wrapper {
    padding-left: 0;
}

#page-wrapper {
    width: 100%;
    padding: 0;
    background-color: #fff;
}

.huge {
    font-size: 40px;
    line-height: normal;
}

@media(min-width:768px) {
    #page-wrapper {
        padding: 10px;
    }
}

/* Top Navigation */

.navbar {
    margin-top: -100px;
}

@media (min-width: 768px) {
    .navbar {
        margin-top: -50px;
    }
}

ul.message-dropdown {
    padding: 0;
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
}

li.message-preview {
    width: 275px;
    border-bottom: 1px solid rgba(0,0,0,.15);
}

li.message-preview>a {
    padding-top: 15px;
    padding-bottom: 15px;
}

li.message-footer {
    margin: 5px 0;
}

ul.alert-dropdown {
    width: 200px;
}

/* Side Navigation */

@media(min-width:768px) {
    .side-nav {
        position: fixed;
        top: 51px;
        left: 225px;
        width: 225px;
        margin-left: -225px;
        border: none;
        border-radius: 0;
        overflow-y: auto;
        background-color: #222;
        bottom: 0;
        overflow-x: hidden;
        padding-bottom: 40px;
    }

    .side-nav>li>a {
        width: 225px;
    }

    .side-nav li a:hover,
    .side-nav li a:focus {
        outline: none;
        background-color: #000 !important;
    }
}

.side-nav>li>ul {
    padding: 0;
}

.side-nav>li>ul>li>a {
    display: block;
    padding: 10px 15px 10px 38px;
    text-decoration: none;
    color: #999;
}

.side-nav>li>ul>li>a:hover {
    color: #fff;
}

/* Flot Chart Containers */

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

/* Custom Colored Panels */

.huge {
    font-size: 35px;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green > .panel-heading {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green > a {
    color: #5cb85c;
}

.panel-green > a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red > .panel-heading {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red > a {
    color: #d9534f;
}

.panel-red > a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow > .panel-heading {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow > a {
    color: #f0ad4e;
}

.panel-yellow > a:hover {
    color: #df8a13;
}

.navbar-brand-logo
{
    height: 50px;
    padding-left: 10px;
}

.btn-header-tools{
  margin-top: 15px;
}

.selectpicker{
  display: block;
  width: 25%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
       -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
          transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.alert-success{
	display: none;
}

.img-productManagement
{
    max-height: 120px;
}

.img-productForm
{
    max-height: 220px;
}

.btn-back
{
    margin-left: 12px;
}

#loaderBg{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #222222;
    z-index: 10000;
}
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

em{
    background-color: yellow
}

em[id$='-error']{
    background-color: white;
    font-size: 10px;
}

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

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


@media screen and (min-width: 992px) and (max-width: 1700px) {
    .huge{
    font-size: 18px;
    }
}


/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
/* Styles */
.btn-table-addnew
{
  float:right;
}

}


/* Desktops and laptops ----------- */
@media only screen  and (min-width : 1224px) {
/* Styles */
.btn-table-addnew
{
  float:right;
}
}
/* iPhone 4 ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2) {
/* Styles */
.btn-table-addnew
{
  float:left;
}

}
/* iPhone 6 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
.btn-table-addnew
{
  float:left;
}

}
/* iPhone 6+ ----------- */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 2){
/* Styles */
.btn-table-addnew
{
  float:left;
}
}
.polinkForm {
    color:#007bff;
  }

/* Stock Warning Component Styles */
.stock-warning-component {
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.3s ease-out;
}

/* Animation for component entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for interactive elements */
.stock-warning-rule {
    transition: all 0.2s ease;
}

.stock-warning-rule:hover {
    background-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateX(2px);
}

/* Loading spinner animation */
.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(359deg);
    }
}

/* Print styles */
@media print {
    .stock-warning-component {
        border: 1px solid #000 !important;
        background-color: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
    }
    
    .stock-warning-header,
    .stock-warning-rule span,
    .stock-warning-footer {
        color: #000 !important;
    }
    
    .fa {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .stock-warning-component {
        border: 2px solid #000;
        background-color: #fff;
    }
    
    .stock-warning-header,
    .stock-warning-rule span,
    .stock-warning-footer {
        color: #000;
    }
    
    .stock-warning-rule {
        border-left-color: #000;
        background-color: #f0f0f0;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .stock-warning-component,
    .stock-warning-rule {
        animation: none;
        transition: none;
    }
    
    .fa-spin {
        animation: none;
    }
}

/* Stock Warning Icon Styles */
.stock-warning-icon {
    transition: all 0.2s ease;
}

.stock-warning-icon:hover {
    color: #f57c00 !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Popover customization for stock warnings */
.popover.stock-warning-popover {
    max-width: 400px;
}

.popover.stock-warning-popover .popover-body {
    font-size: 0.9em;
    line-height: 1.4;
}

.popover.stock-warning-popover .popover-header {
    font-weight: bold;
    background-color: #fff3cd;
    border-bottom: 1px solid #ffeaa7;
}

/* Light theme - text-info should be dark grey */
.text-info {
    color: #333333 !important;
}

/* Dark theme support */
[data-theme="dark"] .text-info,
body.dark-theme .text-info,
html.dark-theme .text-info {
    color: #f0f0f0 !important;
}

/* White links inside alert-warning boxes for better contrast */
.alert-warning a,
.alert-warning a:hover,
.alert-warning a:focus {
    color: #fff;
    text-decoration: underline;
}