﻿
/****************************************************************************************************/
/***********************ADD TO CART AUTOMATIC RESIZE*************************************************/

/*@font-face {
    font-family: ProL;
    src: url('../../../fonts/Proxima Nova Light.ttf');
}*/

.AddToCartParent 
{
    position:relative;
    width:99%;
}

.PricingComparisonPanes .AddToCartParent {
    width: 100%;
}

.AddToCartChild 
{
    position: relative;
    max-height: 35px;
    min-height: 35px;
    /*padding-bottom:14%;*/
   
}
.AddToCartChild > div 
{
    position: absolute;
    top: -1px;
    bottom: 0;
    left: 0;
    right: 0;
}

.GridProductInfo .QTYcontent {
    max-height: 35px;
    min-height: 35px;
    max-width: 35px;
    /*width:100%;*/
    min-width:25px;
    padding-bottom: 0;
}

.GridProductInfo .QTYinnerContainer {
    margin-left: 7%;
    height: 35px !important;
}

.ATCContainer
{
    margin-bottom:0px;
    width:100%;
    height:100%;
}

.ATCMain
{
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19 */
    display: -ms-flexbox;      /* IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    height:100%;
    margin:0px;
    padding:0px;
}

.ATCMain > div
{
    height:100%;
}

.ATCMainMultiAccount {
width:74%;
}

.ATCMainMultiAccountItem
{
    display:flex;
    margin-top:5px;
}

.ATCMainMultiAccountItemName
{
    margin-left:-200px;
    position:absolute;
}

.AddToCartParentQO {
    position: relative;
    width: 100%;
    height: 30px;
}

.AddToCartChildQO
{
    position: relative;
    padding-bottom: calc(100% * 20 / 100);
}

.ATCElementQO
{
    /*width:33.3333333333333%;*/
    background-color:#FAFAFA;
    /*position:relative;*/
    /*max-height:40px;*/
    border-radius: .25em;
        position:absolute;
    width:100%;
    height:100%;
    border-radius:.15em;
}

.ATCElementQO:hover
{
    /*width: 33%;*/
    background-color: #FAFAFA;
    /*position: relative;*/
    box-shadow: inset 0px 0px 10px rgba(217, 217, 217, 0.7);
    cursor: pointer;
    /* border: solid 1px rgba(217, 217, 217, 0.7); */
    border-radius: .15em;

    position:absolute;
    width:100%;
}

.ATCElementQO svg
{
    transform: scale(0.4);
    border:solid 1px white;
    padding:0px;
    margin:0px;
}
.ATCElementInputQO
{
    margin: 0px;
    padding: 3px 0px 0px 0px;
    text-align: center;
    background-color: white;
    border-color: transparent;
    font-family: SlateL;
    min-height: 5vmin;
    border-radius:.15em;
    /* min-width: 4vmin; */
    /* color: black; */
    width: 90%;

    /*margin:0px;
    padding:0px;
    width:100%;
    height:100%;
    font-family: SlateL;
    text-align:center;
    min-height:4vmin;
    min-width:4vmin;
    border: 1px solid transparent;*/
}

.ATCElementInputQO:hover
{
        border-color: #1976d2;
    border-radius: 0.15em !important;
    /*background-color: #FFF;
    position: relative;
    /*box-shadow: inset 0px 0px 10px rgba(217, 217, 217, 0);*
    cursor: pointer;
    border: solid 1px #1976d2 !important;
    border-radius: .25em !important;*/
}
.redInput {
    border: 1px solid #F00;
    border-radius: .25em;
    outline-color: #F00;
}

.redInput:hover {
border: solid 1px #1976d2 !important;
    border-radius: .25em !important;
    outline-color: #F00;
}
/*****************/

.ATCElement {
    width: 100%;
    height:100%;
    margin-right: 7px;
    background-color: #FAFAFA;
    position: relative;
    border: 1px solid transparent;
    overflow: hidden;
    border-radius: .15em;
}

.ATCElement:hover {
    margin-right: 7px;
    background-color: #ebf2fa;
    border: 1px solid #3069A9;
    position: relative;
    cursor: pointer;
    /*border-radius: 3px;*/
}

.ATCElement svg
{
    position:absolute;
    width:50%;
    height:50%;
    left:28%;
    top:28%;
}



.ATCElementBtnDisabled {
    width: 64%;
    font-family: Slate;
    background-color: #AAA;
    color: #FFF;
    text-align: center;
    margin: 0px;
    padding: 2% 0;
    font-size: 1.4vmin;
    border-radius: .15em;
    line-height: 0.1em;
}

.ATCElementBtn
{
    width: 64%;
    font-family: Slate;
    background-color: #1976d2;
    border: 1px solid #1976D2;
    color: white;
    text-align: center;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
    border-radius: .15em;
    text-transform: capitalize;
    transition: 0.2s ease-in;
}

.GridProductInfo .ATCElementBtn
{
    width: 95%;
    box-sizing: border-box;
    height: 35px;
    margin-right: 9px;
}

.ATCElementBtn:hover {
    cursor:pointer;
    border: 1px solid #0f4d8a;
    background-color: #0f4d8a !important;
    transition: 0.2s ease-in;
}

.ATCInputDisabled:hover {
    background-color: #CCC !important;
}

.ATCElementInput {
    margin: 0px;
    padding: 0px;
    width: 100%;
    max-width: 100% !important;
    height: 100%;
    font-family: SlateL;
    text-align: center;
    position: absolute;
    color: black;
    min-width: 100%;
    background-color: transparent;
    border: 1px solid #EEE;
    border-radius: .15em;
}

.ATCElementInput:hover {
    /*border-radius: 3px;*/
    background-color: #ebf2fa;
    height: 100%;
    border: 1px solid transparent;
    padding-top: 0;
}
.ATCElementInput:focus {
    position: relative;
    margin-left: -1px;
    margin-top: -1px;
    padding-left: 1px;
    padding-top: 1px;
}

.ATCElementBtnDDOptions
{
    top:22%;
    right:0px;
    position:relative;
    border:solid 1px #1976d2;
    background-color:white;
    width:214px;
    height:auto;
    z-index:2 !important;
    display:none;
}

.ATCElementBtnDDOptionsItem
{
    color:black;
    text-align:left;
    padding:5px;
}

.ATCElementBtnDDOptionsItem:hover
{
    background-color:#1976d2;
    color:white;
    text-align:left;
    padding:5px;
}


.ATCElementBtn > div.ATCDownArrowSmall,.ATCElementBtn > div.ATCDownArrowSmallUp
{
    position:absolute;
    top:0px;
    right:0px;
    margin-top:0px;
}


.ATCDownArrowSmallUp
{
    width:50px;
    height:100%;
    background-image: url('../../../Images/DropDown/DropdowniconUp.png');
    background-repeat:no-repeat;
    background-position: center center;
    background-color:#1976d2;
    z-index:1;
    position:relative;
    float:right;
    margin-top:-12px;
    border-left:solid 1px white;
}

.ATCDownArrowSmallUp:hover
{
    background-image: url('../../../Images/DropDown/DropdowniconUp.png');
    background-repeat:no-repeat;
    background-position: center center;
    background-color:#0072C5;
    z-index:1;
    position:relative;
    float:right;
    margin-top:-12px;
    border-left:solid 1px white;
}

.ATCDownArrowSmall
{
    width:50px;
    height:100%;
    background-image: url('../../../Images/DropDown/Dropdownicon.png');
    background-repeat:no-repeat;
    background-position: center center;
    background-color:#1976d2;
    z-index:1;
    position:relative;
    float:right;
    margin-top:-12px;
    border-left:solid 1px white;
}

.ATCDownArrowSmall:hover
{
    background-image: url('../../../Images/DropDown/Dropdownicon.png');
    background-repeat:no-repeat;
    background-position: center center;
    background-color:#0072C5;
    z-index:1;
    position:relative;
    float:right;
    margin-top:-12px;
    border-left:solid 1px white;
}
/*TEMPORARY NO MARGIN< REMOVE AFTER DEMO*/
.temp-no-gutters {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;

}
.QTYinnerContainer {
    background-color: transparent !important;
    border-color: transparent !important;
    position: relative;
    width: 100%;
    margin-bottom: 0px;
    margin-left:0px;
    max-height: 40px;
    height: 40px !important;
    box-sizing:border-box !important;
    height: 26px;
}

.TabProductsTable .QTYinnerContainer {
    max-height:30px !important;
}

.TabProductsTable .QTYcontent {
    width: 35px !important;
    height: 35px !important;
    max-height: 35px !important;
    max-width: 35px !important;
}

.QTYcontent {
    float: left;
    text-align: center;
    width: 30%;
    height: 0;
    padding-bottom: 30%;
    position: relative;
    font-size: 255%;
    line-height: 107%;
    background-color: transparent;
    box-sizing:border-box !important;
}

.QTYcontent input[type="text"] {
    height: 100% !important;
    min-height: 100% !important;
    width: 100% !important;
    min-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 !important;
    margin: 0 !important;
    text-align: center;
    box-sizing:border-box !important;
    font-size: 1.9vh;
}
.QTYcontent {
        cursor:pointer !important;
}
.QTYcontent:hover {
        background-color: #E6F2FF;
        cursor:pointer !important;
}
.QTYcontent:active {
        background-color: #ebf2ff;
        cursor: progress !important;
}

.AddToCartParentQO .QTYcontent input[type="text"] {
    font-size: 14px !important;
}

#wndGridAddToCart .ATCSuppliersPricePanel .QTYcontent {
    margin-top: 2px !important;
}

.QTYcontent input {
    font-family: SlateL !important;
        cursor:text;
}
.QTYcontent:hover input {
        cursor:text;
}
.QTYcontent:nth-of-type(2){
    margin:0 3.33333%;
}

.BtnPlus, .BtnMinus {
    width: 40%;
    height: 1px !important;
    background-color: #000;
    position: absolute;
    left: 30%;
    padding-bottom: 0 !important;
    top: 50%;
    box-sizing: border-box !important;
}

.BtnPlusDiv{
    width:1px;
    height:40% !important;
    background-color:#000;
    position:absolute;
    top:31%;
    left: 48.5%;
    box-sizing: border-box !important;
}

.progress-start {
    border-radius: 1em;
    animation: ReduceHeight 0.6s ;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.progress-inner {
    height: 10px;
    border-radius: 1em;
    max-height: 40px;
    margin: 15px 0;
    width: 0%;
    animation: Progressing 1s ease-in;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    background-color: #1976d2;
    box-sizing: border-box;
    padding: 0 2px;
}

.progress-done {
        animation: RestoreHeight 0.6s ease-in;
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
        border-radius: 1em;
}

/*@keyframes ReduceHeight {
    from {
        height: 40px;
        margin: 0 0;
        background-color: #1976d2;
    }
    to {
        height: 10px;
        margin: 15px 0 0;
        background-color: #d9d9d9;
        border-color: #d9d9d9;
    }
}*/

/*@keyframes RestoreHeight {
    from {
        height: 10px;
        margin: 15px 0 0;
        background-color: #d9d9d9;
    }
    to {
        height: 40px;
        margin: 0 0;
        background-color: #1976d2;
        border-color: #1976d2;
        border-radius: .15em;
    }
}

@keyframes Progressing {
    from { width:0%; content: ''; }
    25% { width: 25%; }
    50% { width: 40%; }
    75% { width: 65%; }
    90% { width: 90%; }
    to { width: 100%; }
}*/

.lds-dual-ring {
    display: inline-block;
    width: 100%;
    height: 20px;
    margin: auto;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 20px;
    height: 20px;
    margin: 5px auto;
    border-radius: 50%;
    border: 1px solid #fff;
    border-color: #fff #fff #fff transparent;
    animation: lds-dual-ring 1s infinite
}
@keyframes lds-dual-ring {
  0% {transform: rotate(0deg) }
  10% {transform : rotate(30deg) }
  20% {transform : rotate(65deg) }
  30% {transform : rotate(105deg) }
  40% {transform : rotate(150deg) }
  50% {transform : rotate(200deg) }
  60% {transform : rotate(255deg) }
  70% {transform : rotate(315deg) }
  80% {transform : rotate(335deg) }
  90% {transform : rotate(350deg) }
  100% {transform: rotate(360deg) }
}

.ChkAddToCart {
    content: '\2713';
    box-sizing: border-box !important;
    text-align: center;
    width: 40px;
    height: inherit;
    margin: 0 auto;
    background-color: transparent;
    border-color: transparent;
}

.GridProductContainer .ATCElementBtn div {
    margin-top: 0 !important;
    height: -webkit-fill-available !important;
    line-height: 33px;
    box-sizing: border-box !important;
}

.GridProductContainer .lds-dual-ring:after {
    margin: 6.5px auto;
}

.GridProductContainer .checkmark {
    width: 35px;
    height: inherit;
    box-sizing: border-box !important;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: transparent;
  fill: none;
  animation-fill-mode: forwards;
  /*animation: stroke 0s cubic-bezier(0, 0, 0, 0) forwards;*/
}

.checkmark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  stroke-width: 3;
  stroke: #fff;
  stroke-miterlimit: 10;
  margin: 0 auto;
  box-shadow: inset 0px 0px 0px transparent;
  /*animation: fill 0s ease-in-out 0s forwards, scale 0s ease-in-out 0s both;*/
  animation-fill-mode: forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.5s cubic-bezier(0, 0, 0.45, 1) 0s forwards;
  animation-fill-mode: forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1, 1, 1);
  }
}
@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #40bf80;
  }
}

/*********/