.open > .cataltop {
    
    position: absolute;
    top: 100%;
    left: 5px !important;
}
.open > ul.mega-menu {
    display: block !important;
}

.risunkimdf {box-shadow: 0 0 2px
#174A57;
margin: 5px;
    margin-bottom: 5px;
border-radius: 2px;
margin-bottom: 15px;
}
.ris {
    float: left;
    text-align: center;
    color: 
    #174A57;
    font-family: Calibri;
    font-size: 14px;
}

.obrotdelka img {border-radius:3px; width:10%; margin:5px !important; min-width:80px;}
.obrotdelka a {text-decoration:none;}
.gall img {margin:5px !important; width:18%; border-radius:5px; box-shadow:0 0 1px #000;}
.gall2 img {margin:5px !important; width:10%; border-radius:5px; box-shadow:0 0 1px #000;}
.main {background:#fff;  border-radius:3px; box-shadow:0 0 3px #555;}
	.formamain {
	
	padding:10px; background:#FFAF7A url(images/zamerfon.jpg) right bottom no-repeat;
	box-shadow: -500px 0 0 #FFAF7A, 500px 0 0 #FFAF7A;
	height:350px;
}
.formamain p {color:#0F2840; font-size:20px;}
.formamain h2 {color:#0F2840; text-align:center; margin-top:0; font-size:30px;
text-shadow:2px 2px 1px #fff, -2px -2px 1px #fff, -2px 2px 1px #fff, 2px -2px 1px #fff }
.formamain h4 {color:#0F2840; font-size:24px; font-weight:bold; text-align:center; margin-top:0;}
.formamain form {width:40%; float:left; margin-right:20px;}

.f1, .f2 {font-size:20px; color:#0F2840; width:50%; float:left; padding:5px;}
.f3  {font-size:20px; color:#0F2840; width:100%;  padding:5px;}

@media (max-width:760px)
{
.formamain form {width:100%; float:none;}	
}

body {background:url(images/fon.jpg);}
.cop {display:none;}
footer {background: url(images/fon.jpg) 0 0 repeat-x; height:230px; margin:-15px;}
footer .telefon span {color:#fff; text-shadow:none;}
footer .telefon {color:#fff; text-shadow:none;}


footer .col-md-3 ul li {
	list-style:none; 
	display:block;
	}
	footer .col-md-3 ul a {
color: #fff;
display:block;
	}
		footer .col-md-3 ul a:hover {
color: #419AE8;
text-decoration:none;
	}
	

footer .col-md-3 ul {
	margin:0;
	}
	footer   {
box-shadow:-1px -1px 5px #333;
background: #0F2840;
	}
	

footer  a.list-group-item {
    color: #fff;
}
footer  a.list-group-item:hover {
    background:none;
	color:#419AE8;
}

footer .list-group-item {
    position: relative;
    display: block;
    padding: 0;
    margin-bottom: -1px;
	background:none;
	border:none;
	margin-left:40px;
   
}
footer .list-group-item:last-child {
    margin-bottom: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}


.preim {
    width: 15%;
    min-width: 150px;
    float: left;
    text-align: center;
    position: relative;
    vertical-align: middle;
    display: table-cell;
    height: 200px;
}

.preim .iconp {
    margin: 0 auto;
    top: 0;
    left: 25%;
    height: 100px;
    position: absolute;
    vertical-align: middle;
}
.preim img {
    height: 100px;
}

@media (min-width:1300px) {
header {background:url(images/door5.png) 26% 10px no-repeat, url(images/door4.png) 40% 10px no-repeat,  url(images/plintus.png) 60% 222px repeat-x, url(images/fonpol.jpg) 0 222px repeat-x, url(images/fon.jpg) 0 0 repeat-x; 
height:260px;}
}
@media (min-width:768px) and (max-width:1300px)
{
	header {background:url(images/door5.png) 26% 10px no-repeat,  url(images/plintus.png) 60% 222px repeat-x, url(images/fonpol.jpg) 0 222px repeat-x, url(images/fon.jpg) 0 0 repeat-x; 
height:260px;}
}

@media (min-width:1400px)
{
header {background:url(images/door5.png) 26% 10px no-repeat, url(images/door3.png) 75% 10px no-repeat, url(images/door4.png) 40% 10px no-repeat,  url(images/plintus.png) 50% 222px repeat-x, url(images/fonpol.jpg) 0 222px repeat-x, url(images/fon.jpg) 0 0 repeat-x; 
height:260px;}
}


header .col-md-5 .zamer { text-align:center; margin-top:-20px;
	color:#fff; 
	border-color:#419AE8; 
	font-size:18px;
	border:2px dashed #000; float:left; margin-left:30%; padding:10px; padding-top:20px; border-radius:3px;
background: rgba(65, 154, 232, 0.7);}

.telefon a.mail {display:block; margin:0 auto; margin-top:10px; line-height:25px; width:180px; font-size:16px; color:#fff; 
 background: #337ab7; border-radius:3px;}
.telefon a.mail:hover {background:#419AE8; text-decoration:none;}

.telefon {float:right; text-align:center;}
.telefon span {font-size:26px;font-weight:bold; color:#2D79C1;  letter-spacing:3px;
text-shadow: 0px 0px 3px rgba(255,255,255,0.8);}
#contact_3 {
    background: url(images/zakaz_zvonka.png) no-repeat center top;
    
    padding-top: 1px;
    padding-right: 5px;
    height: 50px;
    
    text-align: center;
}

#contact_3 a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 25px;
}

#contact_4 {
    background: url(images/zakaz_zvonka.png) no-repeat center top;
    
    padding-top: 1px;
    padding-right: 5px;
    height: 50px;
    
    text-align: center;
}

#contact_4 a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 25px;
}



.catal-table img {
    border-radius: 5px;
    width: 100%;
    float: left;
}

.catal-table {
    width: 18%;
    float: left;
    margin: 10px;
    box-shadow: 0px 0px 3px #000;
    background: #fff;
    border-radius: 5px;
    text-align: center;
	min-width:150px;
}

@media (min-width:1201px) and (max-width:1380px)
{
	.catal-table {width:23%; margin:4px;}
	.main {width:66%;}
}

@media (min-width:1000px) and (max-width:1200px)
{
	
	.main {width:75%;
	}
}

@media (min-width:768px) and (max-width:999px)
{
	.catal-table {width:23%; margin:4px; min-width:100px;}
	.main {width:99%;
	}
}
@media (min-width:381px) and (max-width:768px)
{
	.catal-table {width:45%;}
	
	.main {padding:0;}
}
@media (min-width:200px) and (max-width:380px)
{
	.catal-table {width:95%;}
	.main {margin:0; padding:0;}
}

@media (min-width:768px)
{
	
	.col-md-7 {width:40%; float:left;
	}
}

@media (max-width:767px)
{
	
	.col-md-7 {width:90%; margin:0 auto; float:none;
	}
}

#visualcart > a{
    height: 75px;
}

.bxslider a{
    cursor: url(images/zoomin.cur), pointer; 
}

.modal-body .bx-wrapper img {
    max-width: 500px;
    display: table; 
    text-align: center;
}

.bxsliderbig a{
    cursor: url(images/zoomout.cur), pointer; 
}

#fotoload > .bxslider-pre{
    display: table; 
    margin: 0 auto; 
    text-align: center;
    padding: 10px 10% 20px 10%;
}

.bx-pager img{
    max-width: 70px;
    margin:0px 5px 0px 5px;
}

.bx-pager-big img{
    max-width: 50px;
    margin:0px 5px 0px 5px;
}
.bxslider{
    display: table; 
    text-align: center;
}

@font-face {
    font-family: ALSRubl;
    src: url('fonts/rouble.eot') format('embedded-opentype');
    src: url('fonts/rouble.eot?#iefix') format('embedded-opentype'), url('fonts/rouble.woff') format('woff'), url('fonts/rouble.ttf') format('truetype');
}

.rubznak {
    font-family: ALSRubl;
}

.chat-modal-content{
    height:500px;
    width:100%;
    overflow:hidden;
    border: 0px;
    margin:0px;
}
#chatopenwindow{
    margin-right:7px;
}
.chat{ 
    position: fixed; bottom: 20px; left: 20px;
    border-radius: 0 !important;
    border: 0px;
    height: 42px;
    background: #D9D9D9 !important;
}

.page-header h1{
    font-size: 30px;
}

.alert h1{
    font-size: 27px;
    font-weight: normal;
}

.promo{
    padding: 5px 0px 0px 0px;
}

#slider-range{
    margin-top:10px;
}

.btn-sale{
    padding: 0px 9px 9px 9px;
}

.thumbnail .description{
    padding-bottom: 0px !important;
}

a#faset-filter-reset span {
    padding-right:3px;
}

.dropdown-right{
    width: 100% !important;
}

#catalog-menu .list-group-item {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

#catalog-menu .active{
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
}

.dropdown-menu-right a {
    white-space: normal !important;
}

.dropdown-menu-right{
    right: -200px !important;
    top: 0px !important;
    width: inherit !important;
}

.dropdown-menu-right img, .dropdown-menu-right .nav-header,.dropdown-menu-right .mega-more, .mega-menu-column a.list-group-item{
    display: none;
}

.list-group > li{
    list-style-type: none;
}

.dropdown-right .none-cat{
    padding: 0px !important;
    margin: 0px !important;
    border: 0px !important;
}

/*
* UItoTop
*/
#toTop {
    display:none;
    text-decoration:none;
    position:fixed;
    bottom:20px;
    right:20px;
    overflow:hidden;
    width:42px;
    height:42px;
    border:none;
    text-indent:100%;
    background:url(images/ui.totop.png) no-repeat left top #419AE8;
}

#toTopHover {
    background:url(images/ui.totop.png) no-repeat left -42px;
    width:42px;
    height:42px;
    display:block;
    overflow:hidden;
    float:left;
    opacity: 0;
    -moz-opacity: 0;
    filter:alpha(opacity=0);
}

#toTop:active, #toTop:focus {
    outline:none;
}

/* 
* PHPShop Editor 
*/
.editor_var{
    overflow: hidden;
}
.editor_empty{
    color:#6C809A;
    text-align: center;
    padding:5px;
    background: #FFE785;
    border: dashed 1px #6C809A;
    border-radius:4px;
    margin:3px;
}
.editor_empty a{
    text-decoration:none !important;
    color:#6C809A !important;
}
body {}
.navbar-default {}
.footer {}
.panel-title{}
.panel-default{}
h2{}
a.template-product-name{}

.progress-scroll {
    background: #fff url(images/zoomloader.gif) no-repeat center;
    padding:10px;
}

header {
    padding: 10px 0px 10px 0px;
}
header a{
    font-size: 12px;
}
header .col-md-12{
    margin-bottom:10px;
}


span.newtip-icon {
    background-color: rgba(255, 0, 0, 0.3)!important;
    float: left;
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
    padding: 3px 7px 4px;
    margin: 2px 2px 2px 2px;
    font-size: 12px;
    display: inline;
}

span.sale-icon {
    background-color: rgba(89, 101, 115, 0.29)!important;
    float: left;
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.05);
    text-transform: uppercase;
    padding: 3px 7px 4px;
    margin: 2px 2px 2px 2px;
    font-size: 12px;
    display: inline;
}

span.sale-icon-content{
    position: absolute;
    z-index: 5;

}

#cartlink{
    cursor: pointer;
}

.list-group-item img{
    max-width: 40px;
    max-height: 40px;
    padding:5px;

}

#showYurDataForPaymentLoad{
    max-width: 50%;
}

.logo{
    padding: 10px 0px 10px 0px;
}

.vertical-align {
    display: flex;
    align-items: center;
}

.news-list a {
    color:#333333;
}

table.table-optionsDisp td{
    padding: 5px 0px 5px 0px;
}

.news-list a:hover,.template-product-name:hover{
    text-decoration: none;
}

form.template-sm{
    width:60%;
}

a.template-product-name{
    font-size: 24px;
    font-weight: 500;
    line-height: 1.1;
    -color:#333333;
}

.page-header span{
    padding-right:3px;
}

#sorttable{
    padding: 10px 0px 0px 0px;
    margin: 0px;
}

.success-notification {
    position: fixed;
    bottom: 5px;
    right: 20px;
    max-width: 400px;
    z-index: 999999;
}


.template-menu-line{
    border-bottom:  1px solid #E7E7E7;
    min-width: 150px;
}

.template-menu-line b{
    padding-right:3px;
}

.template-menu-line:last-child{
    border-bottom:  0px;
}

img.template-wishlist-list{
    max-width: 40px; 
    max-height: 40px;
}

.product-tags a{
    float:left;
    padding:2px;
    margin:1px;
}

label{
    cursor: pointer;
}

.product-tags div:hover {
    background:#E7ECF2;
}

td.tablerow{
    padding:5px;
}

/* avg rate */
.rate_l #raiting {position:relative; height:16px; cursor:pointer; width:83px; text-align:center; margin:5px 0px 0px !important; } /* Блок рейтинга*/
.rate_l .rating { margin-left:0px; padding-left:0px;}
#raiting {position:relative; height:16px; cursor:pointer; width:83px; text-align:center; margin:5px auto 0px; } /* Блок рейтинга*/
#raiting_blank, #raiting_votes, #raiting_hover {height:16px; position:absolute}
#raiting_blank { background:url(images/stars/stars1-0.png); width:80px; } /* "Чистые" звездочки */
#raiting_votes {background:url(images/stars/stars1-5.png); cursor: default;} /*  Закрашенные звездочки */
#raiting_info { text-align:center}
.review {margin-top:15px;}

/*Поддержка стилей для шаблона оформления заказа под новую логику*/
span.wait{
    display:inline-block;
    width:16px;
    height:16px;
    background:url(/phpshop/lib/templates/icon/loading.gif) center center no-repeat;
}

input.reqActiv, select.reqActiv {
    border: 1px solid red;
}


.template-pad{
    padding:10px;
}

.delivOneEl {
    padding-left: 5px;
    cursor: pointer;
    padding-bottom: 10px;
    display: block;
    vertical-align: central;
}

.delivOneEl img {
    margin-bottom: -10px;
}
.paymOneEl{
    padding-left: 5px;
    cursor: pointer;
    padding-bottom: 10px;
}
.paymOneEl img {
    margin-bottom: -10px;
}

#fotoload{
    margin-bottom:10px;
}

#fotoload table{
    display: table; 
    margin: 0 auto; 
    text-align: center;
}

#fotoload a.highslide img{
	width:100%;
    max-width: 700px !important;
}

#fotoload img.imgOn, #fotoload img.imgOff{
    max-width: 100px;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
}

img.imgOff {
    border-color: #E0E0E0;
    border-style: solid;
    border-width: 1px;
    margin:5px;
}

img.imgOn {
   
    margin:5px;
}

.template-slider{
    margin-bottom:20px;
}

img.template{
    border: solid 1px #CCC;
    padding: 3px;
    border: solid 1px #CCC;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
    margin:3px;
    cursor:pointer;
}

img.template:hover{
    border: solid 1px #BFDBFF;
    box-shadow: 0 0 5px #BFDBFF;
}

.sort-color{
    width:25px !important;
    height:25px !important;
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    border-radius:3px;
}

.filter-color{
    width:20px;
    height:20px;
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    border-radius:2px;
    border: solid 1px #CCC;
}

.bootstrap-theme{
    width:30px;
    height:30px;
    background:#CCC;
    float:left;
    padding: 3px;
    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    border-radius:3px;
    margin:3px;
    cursor:pointer;
}

.bootstrap-theme:hover{
    border: solid 1px #FFF;
    box-shadow: 0 0 5px #BFDBFF;
}

/* Form Styler */
.jq-selectbox__select-text {
    max-width: 300px;
}


.carousel-control.left, .carousel-control.right{
    background-image: none !important;
}

@media (max-width:990px){
	h1, h2 {font-size:16px;}
	
}


@media (max-width:719px){

    .bar-padding-top-fix{
        padding-top:70px;
    }
}

@media only screen and (max-width: 768px) and (orientation : landscape) {
    .bar, #navigation {
        position: static !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {

    .dropdown-menu-right{
        right: -200px !important;
        top: 0px !important;
        width: inherit !important;
    }

}
/*
@media only screen and (max-height: 768px) and (orientation : landscape)  {
    #catalog-dropdown {
       display:none !important;
    }
}*/