/* DEBUG *//*
header, section, article, main, footer, aside {
    border: 1px solid #000;
    padding: 2px;
    margin: 1px;
}*/
/* fonts */
/*
@font-face{
    font-family:"writer-pixellove";
    src:url('../fonts/writer-pixellove.eot');
    src:url('../fonts/writer-pixellove.eot?#iefix') format("embedded-opentype"),
	url('../fonts/writer-pixellove.woff') format("woff"),
	url('../fonts/writer-pixellove.ttf') format("truetype"),
	url('../fonts/writer-pixellove.svg#writer-pixellove') format("svg");
    font-weight:normal;
    font-style:normal;
}
*/

/* COMMON */
*, *:after, *:before {
    -moz-box-sizing: border-box;
    -webkit-box-sizing border-box;
    box-sizing: border-box;
}

html, body, main, #bgwrapper {
    width: 100%;
    font-family: Tahoma, sans-serif;
    height: 100%;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover{
    text-decoration:none;
}

img{
    max-width: 100%;
}

a.readon, a.btn, a.button {

}

a.readon:hover, a.btn:hover, a.button:hover {

}

.fleft{
    float:left;
}

.fright{
    float:right;
}

img.fleft, img.fright{
    margin: 10px;
}
#mxcpr{
	display: none;
}

/* modal sysmessage/ */
    #modal-messages {
	position: fixed;
	text-align: center;
	width: 500px;
	height: auto;
	overflow: hidden;
	margin: 0;
	left: 0;
	top: 0;
	z-index: 1000;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    }

    #messages-overlay{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: #000000;
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
	opacity: 0.6;
    }

    #modal-messages #messages-header{
	height: 35px;
	width: 100%;
	display: block;
	text-align: left;
	line-height: 35px;
	font-size: 125%;
	margin: 0;
    }

    #modal-messages #messages-header #messages-title{
	float: left;
	margin-left: 15px;
	font-weight: bold;
    }

    #modal-messages #messages-header #messages-close{
	float: right;
	margin-right: 15px;
	margin-top: 7px;
    }

    #modal-messages #messages-header #messages-close a{
	display: block;
	width: 30px;
	height: 30px;
	text-indent: 100500px;
	background-image:url('../images/sm-buttons.png');
	margin: -4px -10px 0 0;
	overflow: hidden;
    }

    #modal-messages #messages-header.warning #messages-close a{
	background-position: 0 0;
    }

    #modal-messages #messages-header.warning #messages-close a:hover{
	background-position: 0 -30px;
    }

    #modal-messages #messages-header.error #messages-close a{
	background-position: -30px 0;
    }

    #modal-messages #messages-header.error #messages-close a:hover{
	background-position: -30px -30px;
    }

    #modal-messages #messages-header.notice #messages-close a{
	background-position: -60px 0;
    }

    #modal-messages #messages-header.notice #messages-close a{
	background-position: -60px -30px;
    }

    #modal-messages #messages-main{
	background: #fff
	height: auto;
	width: 100%;
	display: block;
	color: #000
	font-size: 125%;
	text-align: justify;
	min-height: 100px;    
    }


    #modal-messages #messages-main p{
	margin: 0;
	padding: 15px;
	text-align: justify;
	line-height: 125%;
    }

    #modal-messages #messages-footer{
	clear: left;
	display: block;
	width: auto;
	min-height: 35px;
	height: auto;
	color: #000;
	line-height: 35px;
	padding-right: 15px;
	font-size: 85%;
	text-align: right;
    }

    #modal-messages #messages-footer a{
	color: #000;
	border-bottom: 1px dotted #f9fea6;
    }

    #modal-messages #messages-header.error{
	background: #f00;
    }

    #modal-messages #messages-main span{
	display: block;
	margin-bottom: 10px;
    }

    #modal-messages #messages-main span.messages-error{
	color: #000;
    }

    #modal-messages #messages-main span.messages-notice{
	color: #000;
    }
    /* /modal sysmessage */

    /* footer to bottom */

    /* /footer to bottom */

/* colors */
#site-wrapper{
    margin: 0 auto;
    box-shadow: 0 0 15px 15px #181818;
}

#top{
    background-image: url("../images/main-bck-texture.png");
    margin: 0 auto;
}

#top #top-text{
    color: #c1c1c1;
	vertical-align: top;
}

#top #phones {
    color: #ffbb13;
}

#top #phones  a{
    color: #ffbb13;
	text-decoration: none;
}

#top-bar{
    background-color: #ffbb13;
    box-shadow: 15px 6px 15px 0 #000000, 0 0 25px 0 #ffffff inset;
}

#logo{
    margin: 18px 0;
}

#slogan{
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 22px;
    line-height: 24px;
    vertical-align: middle;
    margin-left: 20px;
}



main, #top-modules, #site-wrapper > section{
    background-image: url("../images/main-bck-texture.png");
    background-size: 100% auto;
/*    float:left;*/
	overflow: auto;
}

#top-modules{
    color: #d6d6d6;
}

footer #mod-wrapper{
    margin: 0 auto;
    padding: 20px 0;
    color: #616161;
}

#news-border-top, #site-wrapper > section:before, #top-modules.top-modules:after{
	content: "";
    background-image: url("../images/m-b-border.png");
    height: 37px;
    clear:both;
	display: block;
}

#news-border-bottom{
    background-image: url("../images/b-b-border.png");
    height: 9px;
}

#mf-content{
    background-image: url("../images/bottom-bck-texture.png");
    /*height: 166px;*/
	background-size: auto 100%;
    overflow: hidden;
    text-align: justify;
    padding: 20px 40px !important;
	background-repeat: round;
}

#mf-content h3{
    border-bottom: 2px solid #191b1b;
    height: 24px;
    margin-bottom: 18px;
    text-align: center;
}

#mf-content h3 span{
    background-image: url("../images/bottom-bck-texture.png");
    padding: 0 20px;
    color: #191b1b;
}

#mf-content ul{
    margin:0;
}

#mf-content li{
    display: inline-block;
    text-align: left;
    height: 103px;
    overflow:hidden;
    color: #acacac;
}

#mf-content li:first-child, #mf-content li:last-child{
    margin: 0;
}

#mf-content li h4{
    border: none 0 transparent;
    height: auto;
    background-color: #1c1d1d;
    color: #ffffff;
    text-align: center;
    padding: 8px 0;
    margin-top: 0;
}

.jshop_img_description img{
    width: 31%;
}

.jshop_prod_description_bottom{
    padding-top: 20px;
}

.jshop_list_product .block_product{
    text-align: left;
    vertical-align: top;
}

.jshop_list_product .block_product .mainblock .jshop_price, .jshop_list_product .block_product .mainblock .buttons{
    text-align: right;
}

.jshop_list_category .category .image{
    float: left;
    height: 100px;
    padding-right: 10px;
    width: 100px;
}

.nvg_clear{
    clear: both;
}
#lightbox-wrap, #lightbox-content{
    box-sizing:content-box;
}

#lightbox-outer{
    background-color: #252525;
}

#lightbox-content, #modal-messages{
    background-image: url("../images/main-bck-texture.png");
    border-color: #252525;
}

div[id^=modal] {
    width: 300px;
    text-align: center;
}

div[id^=modal] h3, #messages-title{
    color: #ffbb13;
}

#messages-main{
    color:#d6d6d6;
}
.prod_buttons{
    text-align:right;
    padding: 10px 0;
}

#mainmenu .nav ul{
    display: none;
}
.convertiblePlus, .convertibleEqually {
    display: inline-block;
    font-size: 30px;
    text-align: center;
}

.convertiblePrice {
    display: inline-block;
    padding: 37px 0 0 !important;
}

.old_price{
	text-decoration: line-through;
}

.prod_table .table-header{
	background-color: #FFCC00;
	color: #000;
	font-weight: bold;
	font-size: 16px;
	word-wrap: break-word;
	text-align: center;
	margin-top: 25px;
}

.prod_table .table-header > div{
	vertical-align: middle;
}

.category-header h4{
	color: #000;
	background-color: #74923C;
	margin: 0;
	padding: 10px;
}

.category-header h4 a, .product-row a{
	color: #000;
	text-decoration: none;
}

.product-row a:hover{
	color: #000;
}

.product-row{
	border-bottom: 1px solid #000;
	border-left: 1px solid #000;
	text-align: center;
	color: #000;
}
.product-row.silver{
	background-color: #DBEEF4;
}
.product-row.gold{
	background-color: #D8E4BC;
}
.product-row.blue{
	background-color: #CDFFFF;
}
.product-row.green{
	background-color: #CDFFCC;
}
.product-row .short-description{
	font-size: 12px;
	line-height: 14px;
}
.flex-row, .flex-col{
	display: flex;
	align-items:stretch;
	flex-wrap: nowrap;
	height: 100%;
}

.flex-col{
	flex-direction: column;
}

div[class^="flex-item"]{
	box-sizing: border-box;
	border-right: 1px solid #000;
}
div[class^="flex-item"]:last-child{
	border-right: 0 none;
}
.flex-col .flex-row{
	border-bottom: 1px solid #000;
}
.flex-col .flex-row:last-child{
	border-bottom: 0 none;
}
.flex-item2{
	width: 16.66666666666667%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.flex-item3{
	width: 25%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.flex-item4{
	width: 33.3333333333%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.flex-item6{
	width: 50%;
}
/*all mobile*/
@media all and (max-width: 923px){
	div{
		max-width: 100%;
	}
	
	#site-wrapper{
		width: 100%;
	}
	
	#top-bar{
		height: auto;
	}
	
	#top-bar #mainmenu{
		width: 100%;
		display: none;
		padding-bottom: 20px;
	}
	
	.btn-navbar.navbar-toggle{
		background-color: transparent;
		border: 0 none transparent;
		box-shadow: 0 0 0;
		color: #fff;
		display: inline-block;
		float: right;
		font-size: 42px;
		margin: 36px 10px 0 0;
	}
	
	#top-bar div{
		display: inline-block;
	}
	
	#mainmenu > .nav {
		margin: 0;
	}
	
	#mainmenu li{
		text-align: center;
		font-size: 22px;
		line-height: 26px;
		margin-bottom: 5px;
		border-bottom: 1px dashed #252525;
	}
	
	#mainmenu li:last-child{
		margin-bottom: 0;
		border-bottom: 0 none transparent;
	}
	
	#mainmenu li a{
		padding: 5px 0;
		color: #252525;
		text-decoration: none;
		display: block;
	}
	
	#top > div{
		text-align: center;
	}
	
	#top-text{
		font-size: 18px;
	}
	
	#phones > .custom{
		font-size: 22px;
		padding: 10px 0;
	}
	
	#jshop_module_cart{
		padding-bottom: 10px;
	}
	
	.list_product_row, .jshop_list_product > .block_product{
		border-bottom: 1px solid #e5bd13;
		padding: 5px 0;
	}
	
	.list_product_row:last-child, .jshop_list_product > .block_product:last-child{
		border-bottom: 0 none transparent;
	}
	
	.image_block a{
		display: block;
	}
	
	.image_block a img{
		display: block;
		margin: 0 auto;
	}
	
	.block_product .product_title, .block_product .description{
		text-align: center;
	}
	
	.block_product h2.product_title {
		font-size: 24px;
	}
	
	main article, #site-wrapper > section > .module {
		padding: 0 5px;
	}
	
	.robot-right{
		width: 100%;
		height: 364px;
	}
	
	.custom.robot-right {
		background-position: center center;
		background-repeat: no-repeat;
		padding: 1px;
	}
	
	.custom.robot-right a{
		display: block;
		margin-top: 271px;
		text-align: center;
	}
	
	#sidebar1{
		width: 100%;
	}
	
	#catalog_activator{
		display: block;
		float: none;
		margin: 0;
		text-align: center;
		width: 100%;
	}
	
	main article{
		width: 100%;
		overflow: hidden;
	}
	
	.module.catalog_menu{
		display: none;
	}
	
	.module.catalog_menu .catalog ul{
		display: none;
	}
	
	.catalog_menu .catalog li {
		font-size: 18px;
		text-align: center;
	}
	
	.catalog_menu .catalog li a{
		text-decoration: none;
		display: block;
		padding: 5px 0;
	}
	
	.catalog_menu .catalog li a:hover, .catalog_menu .catalog li a:focus{
		color: #e5bd13;
	}
	
	.catalog_menu .catalog ul, .catalog_menu .catalog li{
		list-style: outside none none;
		margin-left: 0;
	}
	
	.catalog_menu .catalog ul{
		border-bottom: 1px solid #e5bd13;
	}
	
	.flex-row.product-row, .flex-row.table-header{
		flex-wrap: wrap;
	}
	
	.flex-item4{
		width: 100%;
		border-top: 1px solid #000;
		padding: 2px 0;
	}
	
	
	.table-header .flex-item6{
		border-top: 1px solid #000;
		border-bottom: 1px solid #000;
	}
	
	.flex-item6 > .flex-item6{
		width: 50%;
		border-top: 1px solid #000;
		border-bottom: 1px solid #000;
		border-right: 0 none;
		border-left: 1px solid #000;
	}
	
	.flex-item6 > .flex-item6:first-child{
		border-left: 0 none;
	}
}
/* phones */
@media all and (max-width: 768px){
	#slogan{
		display: block;
		width: 100%;
		text-align: center;
		padding-bottom: 10px;
		margin: 0;
	}
	
	.row-fluid div[class^="span"],.row-fluid div[class*=" span"], div[class^="span"], div[class*=" span"]{
		width: 100%;
		margin-left: 0 !important;
	}
	
	.row-fluid{
		overflow: hidden;
	}
	
	.zones img{
		display:block;
		margin: 0 auto;
	}
	.zones{
		text-align: center;
	}
	table{
		display: block;
		overflow-x: scroll;
		width: 100% !important;
		margin: 0 !important;
	}
}
/* tablets */
@media all and (min-width: 769px) and (max-width: 923px){
	#slogan{
		width: 199px;
	}
}

/* all screen */
@media all and (min-width: 924px){
	#top{
		height: 118px;
	}
	
	#top > div{
		display:inline-block;
	}
	
	#top-bar div, #top-bar nav{
		display: inline-block;
	}
	
	.btn-navbar.navbar-toggle{
		display: none;
	}
	
	#top-bar{	
		height: 136px;
	}
	
	nav#mainmenu{
    float: right;
    margin-top: 45px;
    margin-right: 20px;
	}

	nav#mainmenu li{
    display: inline-block;
	}

	nav#mainmenu ul{
    margin: 0 !important;
	}

	nav#mainmenu li a{
    color: #000000;
	}
/*
nav#mainmenu li a:hover{
    color: #3ca0fd;
    background-color: #000000;
    text-decoration: underline;
}*/
	#mainmenu .nav{
    min-height: 2.5em;
    border-radius: 0 0 4px 4px;
    margin: 0;
    padding: 0;
	}

	#mainmenu .nav li{
    float: left;
    display: block;
    position: relative;
    list-style: none;
	}

	#mainmenu .nav a{
    padding: 0 1em;
    display: block;
    min-height: 2.5em;
	}

	#mainmenu .nav .active li a{
    font-weight: normal;
	}

	#mainmenu .nav .active li.active a{
    font-weight: bold;
	}

	#mainmenu .nav a.nosub{
    min-height: 1.5em;
    padding: 0.5em 1em;
	}

	#mainmenu .menu-subtitle{
    color: #777777;
    font-size: 80%;
    font-style: italic;
    margin-left: 10px;
	}

	#mainmenu span{
    float: right;
	}

	#mainmenu .img-wrapper{
    float: left;
    margin: 3px 5px;
	}
	
	#mainmenu .nav{
		float: right;
	}
	
	#mainmenu .nav ul{
		position: absolute;
		z-index: 10;
		left: 0;
		min-width: 180px;
		border-top: none;
	}

	#mainmenu .nav ul ul{
		left: 100%;
		top: -1px;
	}

	#mainmenu .nav li.parent li{
		float: none;
		border-top:  1px solid #ffbb13;
	}

    #mainmenu .nav li.parent li:last-child, #mainmenu .nav li.parent li:last-child a{}

    #mainmenu .nav li:hover{
		background: #000;
	}

	#mainmenu .nav a:hover, #mainmenu .nav li:hover a, #mainmenu .nav .active a{
		color: #3ca0fd;
		background-color: #000000;
		text-decoration: underline;
	}

	#mainmenu .nav li:hover li a{
		color: #ffbb13;
		background: #000;
		text-decoration: none;
	}

	#mainmenu .nav li:hover li:hover a{
		color: #3ca0fd;
		background: #000;
		text-decoration: none;
	}


	#mainmenu .nav li:hover ul ul, #mainmenu .nav li:hover ul li:hover ul ul{
		display: none;
	}

	#mainmenu .nav li:hover ul,
	#mainmenu .nav li:hover ul li:hover ul,
	#mainmenu .nav li:hover ul li:hover ul li:hover ul{
		display: block;
	}
	
	.jshop_list_product .block_product{
		display: inline-block;
	}
	
	main article, main aside{
		display: inline-block;
		vertical-align: top;
		float:left;
	}
	
	
}
/* medium */	
@media all and (min-width: 924px) and (max-width: 1279px){
    #site-wrapper{
		width: 924px;
    }
	
	#slogan{
		width: 199px;
	}

    #top{
		width: 924px;
		padding: 23px 49px 0;
    }

    #top #top-text{
		font-size: 12px;
		margin-top: 30px;
    }

    #top #phones {
		margin-left: 79px;
        font-size: 28px;
    }

    #top-bar{
		width: 940px;
		right: 8px;
		position: relative;
    }

    nav#mainmenu li a{
		font-size: 14px;
		padding: 9px 14px;
    }

    main, #site-wrapper > section > div{
		padding: 35px 49px;
    }

    #top-modules{
		padding-top: 32px;
    }

    main aside{
		width:272px;
    }

    main article{
		width: 825px;
    }

    main article.has-sidebar{
		width:550px;
    }

    #main-footer{

    }

    #mf-content{
		padding: 0 32px;
    }

    #mf-content li{
		width: 263px;
		margin: 0 23px;
	}

    footer{

    }

    footer #mod-wrapper{
		width: 924px;

    }

    .custom.robot-right {
	height: 288px;
	margin-left: 30px;
	width: 254px;
	background-size:cover;
    }

    .custom.robot-left {
	height: 299px;
	width: 257px;
	background-size:cover;
    }

    .custom.robot-right a{
	display: inline-block;
	font-size: 18px;
	left: 26px;
	position: relative;
	top: 215px;
    }

    .custom.robot-left a{
	display: inline-block;
	font-size: 18px;
	left: 36px;
	position: relative;
	top: 236px;
    }

    h2 {
	line-height: 22px;
	font-size: 19px;
    }

    .custom.uslugi{
	font-size: 10px;
	line-height: 12px;
	padding: 0 32px 0 684px;
    }

    .uslugi-cert{
	padding-top: 7px;
	line-height: 23px;
	padding-left: 111px;
    }

    .uslugi a{
	font-size: 14px;
    }

    .jshop{
	width: 809px;
    }

    .jshop_img_wrapper{
		display: block;
		float: left;
		width: 215px;
		margin: 0 5px 5px 0;
    }

    .jshop_prod_description{
		display: block;
    }

    .jswidth33{
		width: 30%;
    }

	.jswidth25 {
		width: 24%;
	}
	
	.convertibleMainProduct h2 {
		font-size: 16px;
		line-height: 22px;
	}
	
    .custom.uslugi {
		height: 442px;
		background-size: 100% auto;
    }
    a.link-cars{
		left: -623px;
		top: 267px;
	}
	a.link-sheeps{
		left: -576px;
		top: 104px;
	}
	a.link-industry{
		left: -256px;
		top: 34px;
	}
	a.link-house{
		left: -173px;
		top: 84px;
	}

    #mainmenu .nav ul {
	top: 34px;
    }

    h1 {
	font-size: 34.5px;
    }

    .jshop_list_product .block_product{
	    border: 1px solid #666;
		margin: 5px 0.5%;
		padding: 5px 4px;
    }
  	h1 {
    	font-size: 28px;
	}
  
	.page-header {
       margin: 10px 0;
	}

    .uslugi-text{
	margin-top: -50px;
    }
	
	main .has-sidebar1{
		width: 554px;
	}
	
	.jswidth50, .jshop_list_product  .jswidth50{
		width: 47%;
		margin: 5px 1.3%;
	}
}

/* All display  */
@media all and (min-width: 1280px){
	
    .uslugi-text{
	margin-top: -80px;
    }

    .custom.uslugi {
	height: 553px;
    }

    #site-wrapper{
	width: 1156px;
    }

    #top{
		width: 1156px;
		padding: 22px 62px 0;
    }

    #top #top-text{
		font-size: 14px;
		margin-top: 28px;
    }

    #top #phones {
	margin-left: 160px;
        font-size: 36px;
    }

    #top-bar{
	width: 1176px;
	right: 10px;
	position: relative;
    }

    nav#mainmenu li a{
	font-size: 18px;
	padding: 11px 18px;
    }

    main, #site-wrapper > section > div{
		padding: 44px 62px;
    }

    #top-modules{
	padding-top: 40px;
    }

    main aside{
	width:340px;
    }

    main article{
	width: 1032px;
    }

    main article.has-sidebar{
	width:688px;
    }
	
	main .has-sidebar1{
		width: 690px;
	}

	h1{
       font-size: 32px;
    }

  	.page-header {
  		margin: 20px 0 15px;
    } 
      
    #main-footer{

    }

    #mf-content{
	padding: 0 40px;
    }

    #mf-content li{
	width: 329px;
	margin: 0 39px;
    }

    footer{

    }

    footer #mod-wrapper{
	width: 1156px;

    }

    .custom.robot-right {
	height: 360px;
	margin-left: 30px;
	width: 318px;
    }

    .custom.robot-left {
	height: 347px;
	width: 297px;
    }

    .custom.robot-right a{
	display: inline-block;
	font-size: 18px;
	left: 58px;
	position: relative;
	top: 272px;
    }

    .custom.robot-left a{
	display: inline-block;
	font-size: 18px;
	left: 58px;
	position: relative;
	top: 272px;
    }

    h2 {
	line-height: 28px;
	font-size: 24px;
    }

    .custom.uslugi{
	font-size: 12px;
	line-height: 16px;
	padding: 18px 53px 0 852px;
    }

    .uslugi-cert{
	padding-top: 40px;
	line-height: 23px;
	padding-left: 129px;
    }

    .uslugi a{
	font-size: 16px;
    }
/*
    .jshop{
	width: 1012px;
    }*/

    .jshop_img_wrapper{
	    display: block;
		float: left;
        width: 270px;
		margin: 0 10px 10px 0;
    }
	
    .jshop_prod_description{
		display: block;	
    }

	a.link-cars{
		left: -769px;
		top: 318px;
	}
	a.link-sheeps{
		left: -698px;
		top: 109px;
	}
	a.link-industry{
		left: -310px;
		top: 23px;
	}
	a.link-house{
		left: -333px;
		top: 115px;
	}

    #mainmenu .nav ul {
	top: 38px;
    }

    .jshop_list_product .block_product{
	    border: 1px solid #666;
		padding: 10px 21px;
    }
	
	.jswidth33{
		width: 30%;
    }

	.jswidth50, .jshop_list_product  .jswidth50{
		width: 43%;
		margin: 10px 3%;
	}
	
	.jswidth25{
		width: 24%;
    }

	.convertibleMainProduct h2{
		font-size: 20px;
	}
}

@media all and (-webkit-min-device-pixel-ratio: 1.5),
all and (-moz-min-device-pixel-ratio: 1.5),
all and (min-device-pixel-ratio: 1.5),
all and (-o-min-device-pixel-ratio: 3/2){
}

@media all and (min-width: 768px) and (min--moz-device-pixel-ratio: 1.5),
all and (min-width: 768px) and (-o-min-device-pixel-ratio: 3/2),
all and (min-width: 768px) and (-webkit-min-device-pixel-ratio: 1.5),
all and (min-width: 768px) and (min-device-pixel-ratio: 1.5){
}


