﻿.gl_red{color:#CA323E}

/*buttons*/
[class*="gl_btn"]{display:inline-block;outline:none;cursor:pointer;text-align:center;text-decoration:none!important;   font-size:16px; padding:0 3em;border:0;color:#fff;background-color:#404090;line-height:2.4em;height:2.4em;white-space:nowrap;opacity:1;border-radius: 3px;
    box-shadow: 0 2px 2px rgb(0 0 0 / 40%);}
[class*="gl_btn"][class*="big"]{font-size:20px}
[class*="gl_btn"][class*="small"]{font-size:13px}
[class*="gl_btn"][class*="red"] {background:#CA323E;}
[class*="gl_btn"][class*="blue"] {background:#00006b;}
[class*="gl_btn"]:hover{color:#fff;}
[class*="gl_btn"][class*="red"]:hover{color:#fff; background: #a62626;}
[class*="gl_btn"]:active{position:relative;top:1px}
/*buttons end*/


/*Фиксированный блок */
.fix-block, .fix-block-content {height:60px}
.fix-block-fixed {height:100px}
.fix-block{position:fixed;z-index:5;background-color:#e8e8e8;left:0;right:0;bottom:0;     box-shadow: 0 0 50px rgba(0,0,0,0.5);}
.fix-block-content{position:relative;}


/**Блок корзина на фиксиров**/
.basket-block{height:60px;position:absolute;right:0;bottom:0;width:330px;background-color:#fff}
.basket-block .basket-link{text-decoration:none;color:#000;white-space:nowrap}
.basket-block .basket-link.empty { pointer-events: none;
    cursor: default;}
.basket-block .ico{padding:14px;height:32px;background-color:#CA323E;vertical-align:middle;margin-right:10px}
.basket-block .gl_red{font-size:1.6em}
/**Блок корзина на фиксиров**/


/**товар на фиксиров**/
.fix-block .goods-block{position:absolute;left:0;bottom:0;width:650px}
.fix-block .goods-block .head-title{background:#00006b;color:#fff;padding:5px 10px 5px 90px;font-size:18px;box-shadow:0 -5px 20px rgba(0,0,0,0.5)}
.fix-block .goods-block .head-title a{display:inline-block;color:#fff;font-size:.7em;border-left:thin solid;margin-left:10px;padding-left:10px}
.fix-block .goods-block .goods-items{position:relative}
.fix-block .goods-block .goods-items .item{position:relative;padding:0 10px 0 90px;height:60px;background-color:#fff}
.fix-block .goods-block .goods-items .item a{color:#000;text-decoration:none}
.fix-block .goods-block .goods-items .item .img{display:block;width:60px;height:88px;line-height:88px;padding:5px;background-color:#fff;position:absolute;left:0;bottom:0;border:1px solid #ddd}
.fix-block .goods-block .goods-items .item .img img{max-width:100%;vertical-align:middle}
.fix-block .goods-block .goods-items .item .title{display:inline-block;vertical-align:middle;font-size:14px;line-height:1em;overflow:hidden;max-height:2em;margin:10px 20px 0 0;max-width:70%;text-decoration:underline}
.fix-block .goods-block .goods-items .item .title .author { display: inline-block;}
.fix-block .goods-block .goods-items .item .price{display:inline-block;vertical-align:middle;margin:10px 0 0}
.fix-block .goods-block .goods-items .item .price .gl_red{font-size:1.6em}
/**товар на фиксиров**/

/**альтер текст на фиксиров**/
.fix-block .note-block {position:absolute;left:0;    top: 10px;

    font-size: 16px;
    width:650px}
.fix-block .note-block:first-line {font-weight: bold;}

/**альтер текст на фиксиров**/


/*Фиксированный блок */

	
	
.add-to-card{font-size:14px;text-transform:uppercase;cursor:pointer;cursor:hand;}
#big_book .add-to-card{margin-top:30px}
	
	
	
/*анимация*/	
.animated{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}
@-webkit-keyframes pulse {
from{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}
50%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}
to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}
}
@keyframes pulse {
from{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}
50%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}
to{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}
}
.pulse{-webkit-animation-name:pulse;animation-name:pulse}
/*анимация*/

/*basket page table*/
.basket-items{width:100%;border-collapse:collapse;border-spacing:0}
.basket-items th,.basket-items td{text-align:center;vertical-align:middle;line-height:1.2}
.basket-items th{padding:0 15px 15px;border-bottom:thin solid #00006b}
.basket-items td{padding:10px 15px;border-bottom:1px solid #E0E0E0}
.basket-items .img{width:10%}
.basket-items .img .img-box{display:inline-block;}
.basket-items .img img{max-width:100%}
.basket-items .info{text-align:left}
.basket-items .counter{width:105px;}
.basket-items .price,.basket-items .discount,.basket-items .total-price{font-size:18px;white-space:nowrap}
.basket-items .price.disc-price{color:#FF5252}
.basket-items .total-price{width:80px}
.basket-items .cart-item-count{display:inline-block;width:100px;white-space:nowrap;font-size:0;line-height:0;    text-align: center;}
.basket-items .cart-item-count input{vertical-align:middle;width:35px;text-align:center;line-height:24px;height:24px;border:thin solid #BDBDBD;background-color:#FFF;font-size:14px;margin:0 1px}
.basket-items .cart-item-count button{color:#FFF;background-color:#5050b5;height:26px;width:26px;cursor:pointer;vertical-align:middle;font-size:20px;line-height:26px;display:inline-block;font-weight:700;border:0;outline:0;margin-top:1px}
.basket-items .cart-item-count button.down{float:left}
.basket-items .cart-item-count button.up{float:right}
.basket-items .cart-item-count button[disabled]{background-color:#BDBDBD}
.basket-items .del{width:30px}
.basket-items .del .del-btn{color:#D50000;cursor:pointer;font-size:16px;border:thin solid;background-color:#fff;outline:0;height: 26px;
    width: 26px;
    font-weight: 700;
    line-height: 1;}
.basket-items tfoot td{text-align:right;border:none;padding:20px 45px 20px 0;font-size:20px}
.basket-items .basket-total{font-size:1.4em;display:inline-block;margin:0 5px;font-weight:700}
.basket-items td.divider {
    display: none;
    padding: 0;
}


/*basket page form*/
.tpl-block-main fieldset{margin:0;padding:0;border:0;outline:0;}
.tpl-block-main { font-size:16px}
.tpl-block-main h2 {margin:40px 0 15px 0; font-size:1.5em}
.tpl-block-main .tpl-block-order-customer h2 {margin-top:20px;}
.tpl-block-main button[class*='gl_btn']{margin:40px 0 20px 0}
#text_block .tpl-block-order-customer [class^='tpl-property']{margin-bottom:15px}
.tpl-block-order-customer label .tpl-caption{display:block}
.tpl-block-order-delivery-method, .tpl-block-order-payment-method {margin-bottom:10px}
.tpl-block-order-delivery-method label > *,
.tpl-block-delivery-cost > *
{display:inline-block}
.tpl-property-delivery-method-description + .tpl-property-delivery-method-estimate {display:none}
#text_block .tpl-component-order-added p {margin:10px 0} 
	
@media screen and (max-width: 900px) { 
.fix-block .goods-block, .fix-block .note-block {display: none;}
}	


@media screen and (max-width: 768px) {
	
.basket-items thead,.basket-items br,.basket-items .prize-row .del,.basket .prize-row .js-iter-control,.basket .prize-row .remove{display:none}
.basket-items tr{display:block;background-color:#fff;padding:0 1rem;box-shadow:0 5px 20px 0 rgba(0,0,0,.06)}
.basket-items tbody > tr{margin:1rem 0}
.basket-items tbody > tr+ tr{margin-top:1rem}
.basket-items td{padding:.8em .3em;box-sizing:border-box;text-align:left;position:relative;font-size: .92rem;}
.basket-items td.price,.basket-items td.total-price{width:40%}
.basket-items td.total-price{text-align:center}
.basket-items td.divider{width:100%;display:block}
.basket-items td.img img{width:60px;min-width:60px}
.tpl-block-main h2,.tpl-block-main .tpl-block-order-customer h2{margin-top:30px}

}