﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

a.lang {
    border: 2px solid black;
    border-radius: 8px;
    padding: 5px;
}

.icon-badge-group {
}

.icon-badge-group .icon-badge-container {
    display: inline-block;
    margin-left: 15px;
}

.icon-badge-group .icon-badge-container:first-child {
    margin-left: 0
}

.icon-badge-container {
    position: relative;
}

.icon-badge-icon {
/*    font-size: 1em;*/
    position: relative;
}

.icon-badge {
    background-color:azure;
    /*border:1px solid black;*/
    font-size: 9px;
    color: black;
    text-align: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    position: absolute; /* changed */
    top: -3px; /* changed */
    left: 11px; /* changed */
}

.loader-top-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 999;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.multiselect.dropdown-toggle {
    text-align: left;
}

input#check,
input#tdSchedulerEnabled,
input#tdStrategyEnabled,
input#tdOfferStack,
input#tdExcludeOtherStrategyInSameLevel,
input#tdExcludeMyselfIfOtherEventInSameLevel,
input#tdQSExcludeOtherStrategyInSameLevel,
input#tdQSExcludeMyselfIfOtherEventInSameLevel,
input#tdBuyXLimitOnProduct,
input#tdBuyXLimitOnDiscount {
    position: absolute;
    opacity: 0;
}

    input#check:checked + p svg path,
    input#tdSchedulerEnabled:checked + p svg path,
    input#tdStrategyEnabled:checked + p svg path,
    input#tdOfferStack:checked + p svg path,
    input#tdExcludeOtherStrategyInSameLevel:checked + p svg path,
    input#tdExcludeMyselfIfOtherEventInSameLevel:checked + p svg path,
    input#tdQSExcludeOtherStrategyInSameLevel:checked + p svg path,
    input#tdQSExcludeMyselfIfOtherEventInSameLevel:checked + p svg path,
    input#tdBuyXLimitOnProduct:checked + p svg path,
    input#tdBuyXLimitOnDiscount:checked + p svg path {
        stroke-dashoffset: 0;
    }

    input#check:focus + label,
    input#tdSchedulerEnabled:focus + label,
    input#tdStrategyEnabled:focus + label,
    input#tdOfferStack:focus + label,
    input#tdExcludeOtherStrategyInSameLevel:focus + label,
    input#tdExcludeMyselfIfOtherEventInSameLevel:focus + label,
    input#tdQSExcludeOtherStrategyInSameLevel:focus + label,
    input#tdQSExcludeMyselfIfOtherEventInSameLevel:focus + label,
    input#tdBuyXLimitOnProduct:focus + label,
    input#tdBuyXLimitOnDiscount:focus + label {
        transform: scale(1);
    }

#check + p,
#tdSchedulerEnabled + p,
#tdStrategyEnabled + p,
#tdOfferStack + p,
#tdExcludeOtherStrategyInSameLevel + p,
#tdExcludeMyselfIfOtherEventInSameLevel + p,
#tdQSExcludeOtherStrategyInSameLevel + p,
#tdQSExcludeMyselfIfOtherEventInSameLevel + p,
#tdBuyXLimitOnProduct + p,
#tdBuyXLimitOnDiscount + p {
    display: block;
    border: 2px solid #333;
    width: var(--d);
    height: var(--d);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    #check + p:active,
    #tdSchedulerEnabled + p:active,
    #tdStrategyEnabled + p:active,
    #tdOfferStack + p:active,
    #tdExcludeOtherStrategyInSameLevel + p:active,
    #tdExcludeMyselfIfOtherEventInSameLevel + p:active,
    #tdQSExcludeOtherStrategyInSameLevel + p:active,
    #tdQSExcludeMyselfIfOtherEventInSameLevel + p:active,
    #tdBuyXLimitOnProduct + p:active,
    #tdBuyXLimitOnDiscount + p:active {
        transform: scale(1);
        border-radius: 2px;
    }

    #check + p svg,
    #tdSchedulerEnabled + p svg,
    #tdStrategyEnabled + p svg,
    #tdOfferStack + p svg,
    #tdExcludeOtherStrategyInSameLevel + p svg,
    #tdExcludeMyselfIfOtherEventInSameLevel + p svg,
    #tdQSExcludeOtherStrategyInSameLevel + p svg,
    #tdQSExcludeMyselfIfOtherEventInSameLevel + p svg,
    #tdBuyXLimitOnProduct + p svg,
    #tdBuyXLimitOnDiscount + p svg {
        pointer-events: none;
    }

        #check + p svg path,
        #tdSchedulerEnabled + p svg path,
        #tdStrategyEnabled + p svg path,
        #tdOfferStack + p svg path,
        #tdExcludeOtherStrategyInSameLevel + p svg path,
        #tdExcludeMyselfIfOtherEventInSameLevel + p svg path,
        #tdQSExcludeOtherStrategyInSameLevel + p svg path,
        #tdQSExcludeMyselfIfOtherEventInSameLevel + p svg path,
        #tdBuyXLimitOnProduct + p svg path,
        #tdBuyXLimitOnDiscount + p svg path {
            fill: none;
            stroke: #333;
            stroke-width: 4px;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-dasharray: 100;
            stroke-dashoffset: 101;
            transition: all 350ms cubic-bezier(1, 0, 0.37, 0.91);
        }

/*CashIO and Delivery Note Edit Partial List View CSSS*/
.col-md-1-wise-left-listview {
    position: relative;
    width: 100%;
    height: 30px;
    cursor: pointer;
    background-color: #1b6ec2;
    border-color: #1861ac;
    padding-right: 15px;
    padding-left: 15px;
    margin-left: 0px;
    margin-right: 0px;
}

.col-md-3-wise-left-listview, .col-md-8-wise-left-listview {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-left: 0px;
    margin-right: 0px;
}

.fa-bar-left-listview-position-wise {
    top: 3px;
    left: 49%;
}

.form-view-toggle {
    width: calc(100vw - 0%);    
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 992px) {
    .col-md-1-wise-left-listview {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 1%;
        flex: 0 0 1%;
        max-width: 1%;
        margin-left: 15px;
        height: calc(100vh - 230px);
        cursor: pointer;
        background-color: #1b6ec2;
        border-color: #1861ac;
    }

    .col-md-3-wise-left-listview {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 22%;
        flex: 0 0 22%;
        max-width: 22%;        
        margin-right: 15px;
    }

    .col-md-8-wise-left-listview {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 72%;
        flex: 0 0 72%;
        max-width: 72%;
    }

    .fa-bar-left-listview-position-wise {
        top: 49%;
        left: 9px;
    }

    .form-view-toggle {
        width: calc(100vw - 3.2%);
        padding-right: 15px;
        padding-left: 15px;
    }
}

.list-view-selected-item {
    background-color: lightcyan;
}
/*End CashIO and Delivery Note Edit Partial List View CSS*/