#b {
    width: 374px;
    text-align: left;
    font: 12px/18px Verdana,Tahoma,sans-serif;
    color: #2f1f14;
}

#b a {
    color: #2f1f14
}

.b_title {
    font-size: 14px;
    color: #535353;
    margin-bottom: 3px
}

.b_products {
    border: 1px solid #c7c7c7;
    background: #fff
}

.b_p {
    padding: 15px 12px;
    border-bottom: 1px solid #c7c7c7
}

.b_p-img {
    width: 90px;
    margin-right: 5px;
    text-align: center;
    float: left
}

.b_p-info {
    width: 242px;
    float: left
}

.b_p-color {
    position: relative;
    margin: 15px 0 10px
}

.b_color-choose,.b_color-name,.b_color-src {
    float: left
}

.b_color-choose {
    padding-top: 13px;
    width: 51px
}

.b_color-choose span {
    border-bottom: 1px dashed
}

.b_color-name {
    color: #6D6D6D;
    font-size: 11px;
    line-height: 14px;
    width: 130px;
    padding-top: 17px;
    cursor: pointer
}

.b_color-src {
    margin: 0 5px;
    width: 50px;
    height: 50px
}

.b_p-color-i {
    height: 50px
}

.b_color-choose:hover,.b_color-src:hover {
    cursor: pointer
}

.b_colorGroups {
    display: none;
    position: absolute;
    z-index: 1000;
    top: 30px;
    left: -108px
}

.b_cg-header,.b_cg-footer {
    background: url(/img/design/c.png) 0 0 no-repeat;
    width: 373px;
    height: 34px
}

.b_cg-footer {
    background-position: 100% 0
}

.b_cg-middle {
    background: url(/img/design/c.png) -373px 0 repeat-y;
    padding: 0 11px 0 19px;
    width: 343px
}

.b_close {
    width: 14px;
    height: 14px;
    background: url(/img/design/close.png) 0 0 no-repeat;
    cursor: pointer;
    border: none;
    z-index: 1;
    position: absolute;
    top: 25px;
    right: 15px
}

.b_colorGroup-name {
    margin-bottom: 4px
}

.b_number {
    width: 35px;
    padding: 2px;
    text-align: center;
    font: 12px/12px Verdana,Tahoma,sans-serif;
    color: #2f1f14
}

.b_price,.b_price_opt {
    width: 42px;
    padding: 2px;
    font: 12px/12px Verdana,Tahoma,sans-serif;
    color: #2f1f14
}

.opt {
    text-decoration: none;
    border-bottom: 1px dashed
}

.b_p-price {
    line-height: 22px;
    margin-top: 7px
}

.b_price-t1,.b_price-t2,.b_price-t3 {
    float: left
}

.b_price-t2 {
    width: 72px;
    text-align: right
}

.b_price-t3 {
    width: 72px;
    text-align: right
}

.b_del_product {
    width: 14px;
    height: 14px;
    float: left;
    background: url(/img/design/close.png) 0 0 no-repeat;
    cursor: pointer;
    margin: 5px 0 0 4px
}

.b_color-checked {
    border: 2px solid red
}

.b_total {
    font-size: 14px;
    padding: 8px 15px
}

.ll {
    float: right
}

.hidden {
    display: none
}

#colorbox #b {
    width: 500px
}

#colorbox .b_p-name a {
    font-size: 14px
}

#colorbox .b_p-img {
    width: 200px
}

#colorbox .b_p-info {
    width: 268px
}

.wrap_b_comment {
    margin-top: 7px
}

.b_comment {
    width: 232px;
    height: 38px
}

#cena_prepay,#cena_discount,#cena_dostavka,#cena_sborka,#cena_zanos,#dostavka_perevozchik {
    font: 14px/18px Verdana,Tahoma,sans-serif;
    width: 38px;
    text-align: right
}

.pp {
    line-height: 22px
}

#colorbox #total_tovary {
    display: none
}

@media only screen and (max-width: 506px) {
    #colorbox .b_p-info {
        width:100% !important;
        float: none;
    }

    #colorbox .b_p-img {
        width: 100%;
        float: none;
        text-align: center;
    }

    #colorbox .b_p-img img {
        max-width: 100%;
        height: auto
    }
}

@media only screen and (max-width: 425px) {
    #b {
		width: 255px;
	}
	#popup a.ordering, 
	#popup a.continue {
        display:block;
        margin: 20px 0 0 0
    }
}
