html, body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
	font-size: 14px;
    letter-spacing: 0.05em;
}

.form-control:focus {
    outline: none !important;
    border-color:#dee2e6 !important;
    box-shadow: none !important;
}

a{
    text-decoration: none;
}

a.video-title{
    text-decoration: none;
    font-weight: 700;
    color:#333;
}
a.video-title:hover{
    color: #e34449;
}

.app-header, .app-footer, .sidebar-brand{
    min-height: 56.8px;
    max-height: 56.8px;
    height: 56.8px;
}

.sidebar-brand{
    line-height: 56.8px;
}

.input-group-xs > .form-control,
.input-group-xs > .input-group-text,
.input-group-xs > .btn {
  height: 22px;
  padding: 2px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: .2rem;
}

.btn-xs {
  padding: .25rem .4rem;
  font-size: .875rem;
  line-height: .5;
  border-radius: .2rem;
}

#sidebar-right{
    width: 300px;
    position: absolute;
    right:0;
    top: 56.8px;
    bottom: 56.8px;
    z-index: 12;
    background-color: #000000;
    background-color: rgba(0, 0, 0, .75);
    color: #fff;
}

@media (max-width: 768px){
    .custom-popover {
        min-width: 70vw;
        max-width: 70vw;
    }
}

@media (min-width: 768px){
    .custom-popover {
        min-width: 30vw;
        max-width: 30vw;
    }
    
    .res-md {
        min-width: 700px !important;
        max-width: 700px !important;
    }
}

.sidebar-right-links{
    padding: 1.5rem;
}

.hide{
    display:none !important;
}

.card-header #search-form{
    position: absolute;
    left: 1rem;
    top: .75rem;
    right: 1rem;
    bottom: .75rem;
    z-index: 100;
}

@keyframes blinkerGreen {
  from { background-color: #5cb85c; }
  to { background-color: inherit; }
}

.new-edit-success{
    animation: blinkerGreen 6s;
}

.pointer{
    cursor: pointer
}

.overlay{
    overflow: auto;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.82);
    z-index: 1010000;
}

.bg-1{
    background-color: #ff8fab
}

.bg-2{
    background-color: #ffe5ec
}

.bg-3{
    background-color: #ffc2d1
}

.bg-4{
    background-color: #ffffff
}

#popupSuggestion{
    display:none;
    border-radius:4px;
    border:1px solid #ddd;
    overflow:auto;
    z-index:1000;
    position:absolute;
    background-color: #efefef;
}

.product-suggestion{
    padding:8px 5px;
}

.product-suggestion:nth-child(odd) {
    background-color: #e2e2e2;
}

.product-suggestion:hover{
    background-color: #bbb;
    cursor: pointer;
}

.zebra:nth-child(odd) {
    background-color: #efefef;
}

.zebra:hover{
    background-color: #ddd;
}

@media print {
    /* Ensure the body and containers fit the width of the page */
    body {
        min-width: 100% !important;
    }
    .container,
    .container-fluid {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    /* Set the page size (e.g., A4 portrait) */
    @page {
        size: A4 portrait;
        margin: 1cm; /* Adjust margins as needed */
    }
    /* Ensure columns do not stack unexpectedly */
    .col-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xl-1, .col-xxl-1{
        flex: 0 0 8.333333%;
        width: 8.33%;
        max-width: 8.33%;
        min-width: 8.33%;
    }
    
    .col-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xl-2, .col-xxl-2{
        flex: 0 0 16.66666667%;
        width: 16.66666667%;
        max-width: 16.66666667%;
        min-width: 16.66666667%;
    }
    
    .col-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xl-3, .col-xxl-3{
        flex: 0 0 25%;
        width: 25%;
        max-width: 25%;
        min-width: 25%;
    }
    
    .col-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xl-4, .col-xxl-4{
        flex: 0 0 33.333333%;
        width: 33.333333%;
        max-width: 33.333333%;
        min-width: 33.333333%;
    }
    
    .col-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xl-5, .col-xxl-5{
        flex: 0 0 41.66666667%;
        width: 41.66666667%;
        max-width: 41.66666667%;
        min-width: 41.66666667%;
    }
    
    .col-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xl-6, .col-xxl-6{
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
        min-width: 50%;
    }
    
    .col-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xl-7, .col-xxl-7{
        flex: 0 0 58.333333%;
        width: 58.333333%;
        max-width: 58.333333%;
        min-width: 58.333333%;
    }
    
    .col-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xl-8, .col-xxl-8{
        flex: 0 0 66.666667%;
        width: 66.666667%;
        max-width: 66.666667%;
        min-width: 66.666667%;
    }
    
    .col-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xl-9, .col-xxl-9{
        flex: 0 0 75%;
        width: 75%;
        max-width: 75%;
        min-width: 75%;
    }
    
    .col-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xl-10, .col-xxl-10{
        flex: 0 0 83.333333%;
        width: 83.333333%;
        max-width: 83.333333%;
        min-width: 83.333333%;
    }
    
    .col-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xl-11, .col-xxl-11{
        flex: 0 0 91.666667%;
        width: 91.666667%;
        max-width: 91.666667%;
        min-width: 91.666667%;
    }
    
    .col-12, .col-sm-12, .col-md-12, .col-lg-12, .col-xl-12, .col-xxl-12{
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }
    
    /* Hide elements not needed for print */
    .d-print-none {
        display: none !important;
    }
}