/*****
* CSS Code for Buy Buttons
*
* (C) 2019 M.Wacker, Kreapptivo GmbH & Co. KG
*/


.buy-button
{
  background-image: url(/static/dist/images/buybutton/Buy-Corner.svg);
  /* background-image: url(../../../Buy-Corner.svg); */
  background-repeat: no-repeat;
  background-position-x: left;
  background-position-y: top;
  background-size: 200% 200%;
  width: 22%;
  height: 25%;
  z-index: 10001;
  position: absolute;
  right: 0;
  display: none;
}

.product-list.grid_view .buy-button {
    top: 0;
    /* width: 50%; */
    /* height: 40%; */
    width: 40%;
    height: 30%;
}

.product-list.list_view .buy-button {
    display: none !important;
}


.buy-side
{  
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 1020;
  /* box-shadow: 1px 0px 2px 0px rgba(3, 3, 3, 0.6); */
  /* -webkit-box-shadow: 1px 0px 2px 0px rgba(3, 3, 3, 0.6); */
  /* -moz-box-shadow: 1px 0px 2px 0px rgba(3, 3, 3, 0.6); */
  height: 55px;  
  cursor: pointer;
  display: none;
}

.buy-side-button
{
  color: #fff;
  background-color: #000;
  height: 100%;
  opacity: 1;
  float: left;
}

.buy-side:hover .buy-side-text
{
  width: 200px;
  background: #bfb686;
  opacity: 1;
  -webkit-transition: all .5s cubic-bezier(0.7, 0, .3, 1);
  transition: all .5s cubic-bezier(0.7, 0, .3, 1);
}

.buy-side-text
{
  display: flex;
  color: #000;
  background-color: #000;
  float: left;
  height: 100%;
  width: 0px;
  overflow: hidden;
	/* opacity: 0; */
  -webkit-transition: all .5s cubic-bezier(0.7, 0, .3, 1);
  transition: all .5s cubic-bezier(0.7, 0, .3, 1);
}

.buy-side-text p
{
  text-align: center;
  margin: auto;
  font-family: "ITC Officina Display W01", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 34px;
  text-transform: uppercase;
}

.buy-side:hover .buy-side-text-button
{
  background: #bfb686;
  -webkit-transition: all .5s cubic-bezier(0.7, 0, .3, 1);
  transition: all .5s cubic-bezier(0.7, 0, .3, 1);
}

.buy-side-text-button
{
  float: left;
  width: 30px;
  height: 100%;  
  background: #000;
  opacity: 1;
  color: #fff;
  margin: auto;
  -webkit-transition: all .5s cubic-bezier(0.7, 0, .3, 1);
  transition: all .5s cubic-bezier(0.7, 0, .3, 1);
}

.buy-side-text-button:before
{
  display: block;
  width: 30px;
  height: 100%;
  font-family: icon;
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e601";
  font-size: 25px;
  line-height: 55px;
  text-align: center;
  margin: auto;
}

#buy-button-modal {
  /* max-height: 96%; */
  /* prevent page scroll */
  overflow-y: hidden;
}
#buy-button-modal h4 {
  font-size: 26px;
  line-height: 30px;
  color: #000;
}

/*** Fix Scrolling ***/
#buy-button-modal .modal-dialog {
  overflow-y: initial !important;
}

#buy-button-modal .modal-body {
  overflow-y: auto;
  max-height: calc(100vh - 150px);
}

