#test112211223{
overflow:hidden;
}

#confirmOverlay{
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
    background: rgba(255,255,255,0.8);
    z-index: 99999;
}

#confirmOverlay *{
box-sizing: content-box !important;
}

#confirmOverlay img{
    display: inline !important;
}

.top-cart #am_minicart_container  .block-content {
    background: none;
    position: relative;
    right: 0;
    top: 0px;
    width: auto;
}


#am-block-related{
overflow: hidden;
}

#confirmBox{
    width: 100%;
	max-width: 850px !important;
    min-width: 320px;
	position:fixed;
	text-align: center;
	margin:-130px 0 0 -230px;
    z-index: 100;
    background: #FFF;
    border: 1px solid #000;
    border-top: 0;
    top: 25% !important;
}

#confirmBox table {
    margin-bottom: 0;
    margin-top: 0;
}

#confirmBox table tr td {
    border: 0;
}

#confirmBox table tr td img {
    width: 90px;
}

#hideDiv{
    width:100%;
    height:100%;
    z-index: 10;    
}

#confirmBox h1,
#confirmBox p{
	padding: 18px 5px;
    margin: 0;
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
	color:#666;
}

#confirmBox h1{
	color: #FFF;
    background-color: #000;
    font-size: 20px;
    text-shadow: none;
    letter-spacing: 1px;
    font-weight: normal;
}

#confirmBox .close-box {
    background: #000;
    font-size: 0%;
    width: 39px;
    height: 28px;
    position: relative;
    top: 0;
    right: 15px;
    display: block;
    float: right;
    cursor: pointer;
    background-image: url(../../../images/icon_sprite.png);
    background-repeat: no-repeat;
    text-indent: -9999px;
    background-position: 1px -772px;
}

@media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (-o-min-device-pixel-ratio: 4 / 2), (min-device-pixel-ratio: 2), (min-resolution: 192dpi), (min-resolution: 2dppx) {

    #confirmBox .close-box {
        background-image: url(../../../images/icon_sprite@2x.png);
        background-size: 100px 1000px;
    }
}

#confirmBox p{
	background:none;
	font-size:16px;
	line-height:1.4;
	padding-top: 5px;
}

#amcart-count{
    color: #666666;
    background:none;
    font-size:16px;
    line-height:1.4;
    padding-top: 5px;
}

#amcart-count,
#amcart-count + p {
    display: none;
}

#am-input{
    width:25px;
    height: 30px;
    text-align:center;
}

#am-input:focus{
    border-color: #ffff99;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset,0 0 8px rgba(82, 168, 236, 0.6);
    outline: 0 none;
}

.focus{
    border-color: #ffff99;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset,0 0 8px rgba(82, 168, 236, 0.6);
    outline: 0 none;
}

#confirmBox .features-line {
    margin-top: 5px;
    margin-bottom: 35px;
}

#confirmButtons{
    padding: 0 22px 22px;
	text-align: left;
    clear: both;
}

#confirmButtons button {
	display:inline-block;
	position:relative;
    overflow: hidden; 
	margin-right: 15px;
	padding: 0 30px 0 30px;
	text-decoration:none;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    max-width: 325px;
    height: 45px;
    color: #000;
    border: 2px solid #000;
    background: transparent;
    border-radius: 0;
    box-shadow: inset 0 0 0 transparent;
    font-size: 14px;
    letter-spacing: 2px;
    padding-left: 0;
    padding-right: 0;
    font-weight: bold;
}

#confirmButtons button.am-btn-right {
    float: right;
    -webkit-box-shadow: inset 0px 0px 0px 2px rgba(0, 0, 0, 1);
    -moz-box-shadow:    inset 0px 0px 0px 2px rgba(0, 0, 0, 1);
    box-shadow:         inset 0px 0px 0px 2px rgba(0, 0, 0, 1);
}
#confirmButtons button:hover,
#confirmButtons button:active,
#confirmButtons button:focus {
    color: #FFF;
    background: #b9752d;
    border-color: #b9752d;

    -webkit-box-shadow: inset 0px 0px 0px 2px #b9752d;
    -moz-box-shadow:    inset 0px 0px 0px 2px #b9752d;
    box-shadow:         inset 0px 0px 0px 2px #b9752d;
}

#confirmBox button:last-child{
    margin-right:0;
}

.amcart-options form{
    text-align: left;
    color: #000;
    border-bottom: 1px solid #000;
    margin-bottom: 25px;
    padding-bottom: 5px;
    padding-top: 15px;
}

.amcart-options form dd{
    border-bottom: 1px solid white;
    margin: 0 0 15px 0;
    padding: 5px 0 10px 0;
}

.amcart-options form dd input {
    padding: 6px 0 4px 0px;
    border: 1px solid #cecece;
    background: #F6F6f6;
}

.amcart-options form dd select {
    border: 1px solid #cecece;
    background: #FFF;
    width: 300px;
}

.amcart-options form dd textarea {
    /* = Убираем скролл */
    overflow: auto;
 
    /* = Убираем увеличение */
    resize: none;
    width: 300px;
    height: 50px;
 
    /* = Добавим фон, рамку, отступ*/
    background: #f6f6f6;
    border: 1px solid #cecece;
    border-radius: 8px 0 0 0;
    padding: 8px 0 8px 10px;
}

.amcart-options form .price {
    display: none;
}

#messageBox{
      padding: 5px 21px 5px 21px;
}

#messageBox dt label {
    color: #2F2F2F;
    font-weight: bold;
}

#messageBox div.price-box {
    margin-bottom: 0px;
    margin-top: 5px;
    margin-left: 10px;
}
#messageBox div.price-box p {
    margin: 0px;
    padding: 0px;
}

#messageBox .required em {
    color: red;
    margin-right: 3px;
}

#amimg_container
{
    position: absolute;
    top: 340px;
    left: 50%;
    z-index: 9999;
}

#amimg_container {
    width: auto !important;
    margin-left: 0 !important;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform:    translate(-50%, -50%);
    -ms-transform:     translate(-50%, -50%);
    -o-transform:      translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#amprogress{
    height:100%;
    width:100%;
    position:fixed;
    top:0;
    left:0;
    background: rgba(255,255,255,0.8);
    z-index:100000;
 }
 
#messageBox .product {
    margin-left: 0px;
    padding-top: 5px;;
}

#messageBox td .price-box p{
   font-size:13px;
}

#messageBox td {
   text-align: center;
   width:133px;
   padding:0 3px 5px 3px;
}


#am-block-related table{
    table-layout: fixed;
    width: 398px;
    word-wrap: break-word;
}
 
 div.product-details{
    position:relative;
    bottom: 3px;
}

#messageBox .block-related p{
    padding:5px 0 5px 0;
    margin:0;
    
}
#messageBox p.block-related-p{
    border-bottom: 1px solid #C4C1BC; 
}

#am-qty-input{
    margin:5px;
}

#am-qty{
    margin:5px;
}

#am-qty-button-up{
    border: black 1px;
}

#am-qty-button-down{
   border: black 1px;
}

#am-qty-button-update{
    position:relative;
    top:30px;
    left:-15px;
}

#am_minicart_container{
   background: url("header_bg.jpg") repeat-x scroll left bottom #F5F5F5;
    border-radius: 2px 2px 2px 2px;
    color: #555555;
    padding: 8px;
    position: absolute;
    text-align: left;
    right: 0;
    width: 234px;
    z-index: 3000;
    overflow: hidden; 
   /*box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset,0 0 8px rgba(82, 168, 236, 0.6);*/
   -webkit-box-shadow: 1px 1px 1px #D3D3D3; 
   -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#D3D3D3,direction=125,strength=1)";
   box-shadow: 1px 1px 1px #D3D3D3;
}

#am_minicart_container li{
   width: 220px;
   padding: 5px;
   background: none;
}

#am_minicart_container button.button span{
   background-color: rgb(117, 178, 211);
   border: none;
   border-radius: 2px 2px 2px 2px;
}

#am_minicart_container button.button{
    margin: 5px;  
}
 

#am_minicart_container button.button:hover span{
   background-color: rgb(120, 189, 218);
}

#am_minicart_container li:hover{
    background-color: white;
}

#am_minicart_container a.btn-remove, a.btn-edit {
    float: right;
    margin: 1px 0 2px 5px;
}

#confirmBox .product-name {
    font-size: 14px;
}

#confirmBox .product-details {
    padding-left: 20px;
    text-transform: uppercase;
}

#confirmBox .product-details .product-price {
    float: right;
    font-size: 14px;
}

#confirmBox .product-details .product-options {
    margin: 3px 0;
    padding: 0;
}

#confirmBox .product-details .product-options > span {
    margin: 0 5px 0 0;
}

.product-cross-sell-box {
    display: block;
    width: 100%;
}

.product-cross-sell-box .product-cross-sell {
    width: 25%;
    float: left;
    display: block;
    text-align: center;
    margin-bottom: 30px;
}

.product-cross-sell-box .product-cross-sell .product-image {
    height: 158px;
}

.product-cross-sell-box .product-cross-sell .product-info-box {
    min-height: 75px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.product-cross-sell-box .product-cross-sell .product-name {
    font-size: 12px !important;
    margin-bottom: 1px;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 70%;
    display: block;
    margin: auto;
}

.product-cross-sell-box .product-cross-sell .product-sku {
    font-size: 10px !important;
    text-transform: uppercase;
}

.product-cross-sell-box .product-cross-sell .product-price {
    margin-top: 2px;
    font-size: 13px !important;
}

.product-cross-sell-box .product-cross-sell .btn-cart {
    background: transparent;
    border: 3px solid #000;
    font-size: 8px;
    color: #000;
    padding: 0 9px;
    letter-spacing: 1px;
}

.product-cross-sell-box .product-cross-sell .btn-cart:hover,
.product-cross-sell-box .product-cross-sell .btn-cart:active,
.product-cross-sell-box .product-cross-sell .btn-cart:focus {
    background: #000;
    color: #FFF;
}

@media screen and (max-width: 900px) {
    #confirmOverlay {
        display: none !important;
    }
}