html, body {
	height:100%;
	color:#2e2118;
    font-family:"TrebuchetMS";
	background:url(../images/background.png) center center repeat;
	/*min-width:1200px;*/
}

#telefon {   /*margin:20px 0 0 290px;*/
             position:absolute;/* margin:20px 0 0 290px;*/
             margin-top: 20px; 
             /*padding-left: 20%;*/
             left: 20%; 
text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
             0px 8px 13px rgba(0,0,0,0.1),
             0px 18px 23px rgba(0,0,0,0.1);
			 color:#E6CA69;
			 font-size:18px;
			 font-family:"Vesna";
}

#email {     /*margin:20px 0 0 1060px;*/
             position:absolute;
             margin-top: 20px; 
             /*padding-left: 70%;*/
             right: 20%; 
text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
             0px 8px 13px rgba(0,0,0,0.1),
             0px 18px 23px rgba(0,0,0,0.1);
			 color:#E6CA69;
			 font-size:22px;
			 font-family:"Vesna";
}


#slider_ramka { width:965px; height:390px; background:url(../images/ramka.png); background-repeat:no-repeat; margin-top: 20px; 
  
       
        
        
        border-radius:5px;
   -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -webkit-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
        -moz-border-radius:5px;
 }
#slider { margin-top:-372px; margin-left:13px; padding-bottom: 30px; }

#page {
	min-height:100%;
}

/*Header*/

header {
	z-index:1;
	height:195px;
	min-width:960px;
	position:relative;
	background:url(../images/index-content-bg.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/index-content-bg.png*/ center center repeat;
}
header .box-wrap {
	background:url(../images/header.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/header.png*/ no-repeat;
	background-size:100% 100%;
	-o-background-size:100% 100%;
	-ms-background-size:100% 100%;
	-moz-background-size:100% 100%;
	-webkit-background-size:100% 100%;
}
header .box {
	z-index:1;
	padding:1px;
	width:960px;
	height:215px;
	margin:0px auto;
	position:relative;
}

a.logo {
	width:275px;
	height:154px;
	display:block;
	margin:0px auto;
	transition:all 0.2s ease-in-out;
	-o-transition:all 0.2s ease-in-out;
	-ms-transition:all 0.2s ease-in-out;
	-moz-transition:all 0.2s ease-in-out;
	-webkit-transition:all 0.2s ease-in-out;
	background:url(../images/logo.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/logo.png*/ top center no-repeat;
}
/*a.logo:hover {
	transform:scale(1.05);
	-o-transform:scale(1.05);
	-ms-transform:scale(1.05);
	-moz-transform:scale(1.05);
	-webkit-transform:scale(1.05);
}*/

/*Nav top*/
nav.top {
	text-align:center;
	margin:7px 0px 0px 0px;
}
nav.top ul {
	margin:0px;
	padding:0px;
}
nav.top li {
	display:inline-block;
}
nav.top li a {
	color:#f8d9b6;
	font-size:23px;
	font-family:"Philosopher";
}
nav.top li a.activ {
	border-bottom:solid 1px #5a4e47;
}
nav.top li:first-child {
	margin:0px 0px 0px 15px;
}
nav.top li {
	margin:0px 0px 0px 5px;
	padding:0px 25px 1px 0px;
	background:url(../images/header-nav-sep.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/header-nav-sep.png*/ right center no-repeat;
}
nav.top li + li + li {
	background:none;
	padding:0px 0px 1px 0px;
}
/*Nav top*/

/*Header*/

/*Borders*/
.border-195x245 {
	width:195px;
	height:245px;
	text-align:center;
	background:url(../images/border-195x245.jpg)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/img-border/border-195x245.jpg*/ center center no-repeat;
}
.border-195x245 img {
	width:159px;
	height:219px;
	margin:12px 0px 0px 0px;
}

.border-295x230 {
	width:295px;
	height:230px;
	text-align:center;
	background:url(../images/border-295x230.jpg)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/img-border/border-295x230.jpg*/ center center no-repeat;
}
.border-295x230 img {
	width:259px;
	height:180px;
	margin:24px 0px 0px 0px;
}

.border-355x195 {
	width:355px;
	height:195px;
	text-align:center;
	background:url(../images/border-355x195.jpg)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/img-border/border-355x195.jpg*/ center center no-repeat;
	
}
.border-355x195 img {
	width:312px;
	height:154px;
	margin:19px auto 0px;
}

.border-230x130 {
	width:230px;
	height:130px;
	text-align:center;
	display:inline-block;
	background:url(../images/border-230x130.jpg)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/img-border/border-230x130.jpg*/ center center no-repeat;
}
.border-230x130 img {
	width:200px;
	height:101px;
	margin:14px 0px 0px 0px;
}
/*Borders*/

/*Index page*/

/*Index content*/
.index-content {
	margin:0px 0px -145px 0px;
	padding:15px 0px 110px 0px;
	background:url(../images/index-content-bg.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/index-content-bg.png*/ center center repeat;
}
.index-content .box {
	width:960px;
	padding:15px;
	margin:0px auto;
	min-height:500px;
}
/*Index content*/

/*Ribbon*/
.ribbon {
	width:846px;
	height:96px;
	padding:1px;
	margin:0px auto -30px;
	background:url(../images/ribbon.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/ribbon.png*/ top center no-repeat;
}
.ribbon .txt {
	width:690px;
	height:40px;
	color:#f8d9b6;
	font-size:22px;
	line-height:22px;
	text-align:center;
	margin:-18px auto 0px;
	text-shadow:1px 1px 1px #000;
    font-family:"Vesna";
}
/*Ribbon*/

/*Index table*/
.index-content .box table.index-table {
	width:100%;
	border-collapse:separate;
	background:url(../images/border-left-right.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/border-left-right.png*/ left center no-repeat,
			   url(border-left-right.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/border-left-right.png*/ right center no-repeat;
}
.index-content .box table.index-table tr:first-child td:last-child,
.index-content .box table.index-table tr:first-child td:first-child {
	padding-top:30px;
	background:url(../images/border-top-bottom.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/border-top-bottom.png*/ top center no-repeat,
			   url(border-top-bottom.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/border-top-bottom.png*/ bottom center no-repeat;
}
.index-content .box table.index-table .index-table-sep {
	width:46px;
	background:url(../images/index-table-vertical-sep.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/index-table-vertical-sep.png*/ top center no-repeat;
	background-size:100% 100%;
	-o-background-size:100% 100%;
	-ms-background-size:100% 100%;
	-moz-background-size:100% 100%;
	-webkit-background-size:100% 100%;
}
/*Index table*/

/*Index img item*/
.index-img-item {
	padding:1px;
	width:355px;
	height:195px;
	display:block;
	position:relative;
	margin:0px auto 100px;
	transition:all .2s ease-in-out;
	-o-transition:all .2s ease-in-out;
	-ms-transition:all .2s ease-in-out;
	-moz-transition:all .2s ease-in-out;
	-webkit-transition:all .2s ease-in-out;
}
.index-img-item:hover {
	box-shadow:0px 0px 30px 2px #d6d6d6;
	-o-box-shadow:0px 0px 30px 2px #d6d6d6;
	-ms-box-shadow:0px 0px 30px 2px #d6d6d6;
	-moz-box-shadow:0px 0px 30px 2px #d6d6d6;
	-webkit-box-shadow:0px 0px 30px 2px #d6d6d6;
}
.index-img-item div {
	padding-bottom:35px;
	background:url(../images/index-img-title-border.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/index-img-title-border.png*/ bottom center no-repeat;
}
.index-img-item div span {
	color:#fff;
	display:block;
	font-size:26px;
	text-align:center;
	font-family:"Vesna";
	margin:30px 0px 0px 0px;
}
/*Index img item*/

/*Index page*/

/*Content*/
section.content {
	width:960px;
	padding:15px;
	margin:10px auto 0px;
}

.title-h1 {
	font-size:24px;
}
.title-h2 {
	font-size:18px;
	text-align:center;
}

.stamp {
	width:92px;
	height:120px;
	margin:0px 0px -70px 434px;
	background:url(../images/stamp.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/stamp.png*/ center no-repeat;
}

.shadow-line-top {
	height:13px;
	margin:15px 0px 0px 0px;
	background:url(../images/shadow-line.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/shadow-line.png*/ top center repeat-x;
}
.shadow-line-centr {
	height:13px;
	margin:15px 0px 0px 0px;
	background:url(../images/shadow-line.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/shadow-line.png*/ center center repeat-x;
}
.shadow-line-bot {
	height:13px;
	margin:0px 0px 0px 0px;
	background:url(../images/shadow-line.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/shadow-line.png*/ bottom center repeat-x;
}

.tracery {
	min-height:86px;
	margin:10px 0px -50px 6px;
	background:url(../images/tracery.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/tracery.png*/ center center no-repeat;
}

.img-left {
	float:left;
	margin:0px 15px 15px 0px;
}
.img-right {
	float:right;
	margin:0px 0px 15px 15px;
}

/*Breadcrumbs*/
nav.breadcrumbs {
	color:#3b2c21;
	font-size:14px;
	margin:5px 0px 20px 0px;
    font-family:"TrebuchetMS";
}
nav.breadcrumbs a {
	color:#3b2c21;
	font-size:14px;
	margin:0px 10px 0px 0px;
	padding:0px 17px 0px 0px;
	text-decoration:underline;
    font-family:"TrebuchetMS";
	background:url(../images/breadcrumbs-sep.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/breadcrumbs-sep.png*/ right center no-repeat;
}
/*Breadcrumbs*/

/*Paginator*/
nav.paginator {
	height:88px;
	padding:1px;
	margin:15px auto 0px;
	background:url(../images/paginator-bg.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/paginator-bg.png*/ top center no-repeat;
}
nav.paginator .arrow-left,
nav.paginator .arrow-right {
	top:17px;
	left:275px;
	float:left;
	width:58px;
	height:59px;
	position:relative;
	display:inline-block;
	background:url(../images/paginator-arrow.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/paginator-arrow.png*/ no-repeat;
}
nav.paginator span.arrow-left,
nav.paginator span.arrow-right {
	opacity:.8;
}
nav.paginator .arrow-right {
	left:-275px;
	float:right;
	background-position:-58px 0px;
}
nav.paginator .page-list {
	text-align:center;
	margin:55px auto 0px;
}
nav.paginator .page-list a,
nav.paginator .page-list span {
	color:#fff;
	font-size:16px;
	margin:0px 2px 0px 2px;
	font-family:"Philosopher";
}
nav.paginator .page-list span {
	border-bottom:solid 1px #fff;
}
/*Paginator*/

/*Buttons*/
.button-one {
	height:45px;
	color:#363636;
	font-size:18px;
	min-width:200px;
	border-radius:8px;
	text-align:center;
	background:#fefefe;
	display:inline-block;
	margin:15px 15px 0px 0px;
	font-family:"Philosopher";
	padding:0px 15px 0px 15px;
	border:solid 1px #dfdfdf;
	background:-moz-linear-gradient(top, #fefefe 0%, #f6f6f6 49%, #dbdbdb 50%, #eeeeee 100%);
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#fefefe), color-stop(49%,#f6f6f6), color-stop(50%,#dbdbdb), color-stop(100%,#eeeeee));
	background:-webkit-linear-gradient(top, #fefefe 0%,#f6f6f6 49%,#dbdbdb 50%,#eeeeee 100%);
	background:-o-linear-gradient(top, #fefefe 0%,#f6f6f6 49%,#dbdbdb 50%,#eeeeee 100%);
	background:-ms-linear-gradient(top, #fefefe 0%,#f6f6f6 49%,#dbdbdb 50%,#eeeeee 100%);
	background:linear-gradient(to bottom, #fefefe 0%,#f6f6f6 49%,#dbdbdb 50%,#eeeeee 100%);
	/*filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#eeeeee',GradientType=0 );*/
}
.button-one:active {
	background:#fefefe;
	background:-moz-linear-gradient(top,  #fefefe 0%, #dbdbdb 0%, #ffffff 100%);
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#fefefe), color-stop(0%,#dbdbdb), color-stop(100%,#ffffff));
	background:-webkit-linear-gradient(top,  #fefefe 0%,#dbdbdb 0%,#ffffff 100%);
	background:-o-linear-gradient(top,  #fefefe 0%,#dbdbdb 0%,#ffffff 100%);
	background:-ms-linear-gradient(top,  #fefefe 0%,#dbdbdb 0%,#ffffff 100%);
	background:linear-gradient(to bottom,  #fefefe 0%,#dbdbdb 0%,#ffffff 100%);
	/*filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#ffffff',GradientType=0 );*/
}
.button-one span {
	height:45px;
	display:block;
	line-height:45px;
	text-align:center;
}

.button-two {
	color:#fff;
	height:45px;
	font-size:18px;
	min-width:200px;
	border-radius:8px;
	text-align:center;
	background:#df3535;
	display:inline-block;
	margin:15px 15px 0px 0px;
	border:solid 1px #690000;
	font-family:"Philosopher";
	padding:0px 15px 0px 15px;
	box-shadow:inset 0px 0px 20px #fff;
    	box-shadow:inset 0px 0px 30px rgba(255,255,255,.5);
   	background:url(../images/data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RmMzUzNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjZTA0MTQxIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjYzE0MTQxIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iNTElIiBzdG9wLWNvbG9yPSIjYmExYjFiIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzliMDYwNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    	background:-moz-linear-gradient(top,  #df3535 0%, #e04141 0%, #c14141 50%, #ba1b1b 51%, #9b0606 100%);
    	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#df3535), color-stop(0%,#e04141), color-stop(50%,#c14141), color-stop(51%,#ba1b1b), color-stop(100%,#9b0606));
    	background:-webkit-linear-gradient(top,  #df3535 0%,#e04141 0%,#c14141 50%,#ba1b1b 51%,#9b0606 100%);
    	background:-o-linear-gradient(top,  #df3535 0%,#e04141 0%,#c14141 50%,#ba1b1b 51%,#9b0606 100%);
    	background:-ms-linear-gradient(top,  #df3535 0%,#e04141 0%,#c14141 50%,#ba1b1b 51%,#9b0606 100%);
   	background:linear-gradient(to bottom,  #df3535 0%,#e04141 0%,#c14141 50%,#ba1b1b 51%,#9b0606 100%);
    	/*filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#df3535', endColorstr='#9b0606',GradientType=0 );*/
}
.button-two:active {
	background:#9b0606;
	background:-moz-linear-gradient(top, #9b0606 0%, #bf3b3b 51%, #c42a2a 55%, #df3535 100%);
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#9b0606), color-stop(51%,#bf3b3b), color-stop(55%,#c42a2a), color-stop(100%,#df3535));
	background:-webkit-linear-gradient(top, #9b0606 0%,#bf3b3b 51%,#c42a2a 55%,#df3535 100%);
	background:-o-linear-gradient(top, #9b0606 0%,#bf3b3b 51%,#c42a2a 55%,#df3535 100%);
	background:-ms-linear-gradient(top, #9b0606 0%,#bf3b3b 51%,#c42a2a 55%,#df3535 100%);
	background:linear-gradient(to bottom, #9b0606 0%,#bf3b3b 51%,#c42a2a 55%,#df3535 100%);
	/*filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#9b0606', endColorstr='#df3535',GradientType=0 );*/
}
.button-two span {
	height:45px;
	display:block;
	line-height:45px;
	text-align:center;
}
/*Buttons*/

/*Title box*/
.title-box {
	clear:both;
	padding:1px;
	min-height:30px;
	text-align:center;
	margin:15px 0px 33px 0px;
	background:url(../images/title-head.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/title-head.png*/ top center no-repeat;
}
.title-box h2 {
	font-size:24px;
	margin:35px 0px 0px 0px;
	font-family:"Philosopher";
}
.title-box.thanks {
	margin:50px 0px -15px 0px;
}
.title-box.thanks h2 {
	font-size:26px;
    	font-family:"Philosopher-BoldItalic";
}
/*Title box*/

/*Img box*/
.img-box {
    	zoom:1;
	clear:both;
	margin:15px 0px 0px 0px;
}


.img-box .img280x160 {
	margin:0px 52px 40px 0px;
}
.img-box .img280x160:nth-of-type(3n) {
	margin:0px 0px 40px 0px;
}

.img-box .img185x290 {
	margin:0px 0px 40px 65.6px;
}
.img-box .img185x290:first-child {
	margin:0px 0px 40px 0px;
}

.img-box .img230x110 {
	margin:0px 127px 15px 0px;
}
.img-box .img230x110:nth-of-type(3n) {
	margin:0px 0px 15px 0px;
}

.img-box .img110x245{
	margin:0px 0px 36px 55px;
}
.img-box .img110x245:first-child {
	margin:0px 0px 36px 0px;
}
.img-box .img110x245.noNumber{
	margin:0px 0px 56px 55px;
}
.img-box .img110x245.noNumber:first-child {
	margin:0px 0px 56px 0px;
}


.img-box.contacts {
	margin:70px 0px 0px 0px;
}
.img-box.contacts .img280x220 {
	margin:0px 52px 0px 0px;
}
.img-box.contacts .img280x220:nth-of-type(3n) {
	margin:0px 0px 0px 0px;
}


.img-box-centr {
    	zoom:1;
	clear:both;
	width:100%;
	text-align:center;
	margin:15px 0px 0px 0px;
}
.img-box-centr .img230x110 {
	margin:0px 10px 0px 10px;
}

.img230x110 {
	width:230px;
	height:130px;
	/*overflow:hidden;*/
	display:inline-block;
	margin:0px 0px 15px 0px;
	/*border:solid 1px #2e2118;*/
}
.img230x110 img {
	width:230px;
	height:110px;
	border:solid 1px #2e2118;
}
.img230x110 span {
	display:block;
	color:#2c1f23;
	font-size:15px;
	margin:0px 0px 0px 0px;
}

.img280x160 {
	max-width:280px; /* Бессовестный А. Гантмахер сделал это - добавил max- =) */
	height:160px;
	overflow:hidden;
	display:inline-block;
	margin:0px 0px 15px 0px;
	border:solid 1px #2e2118;
}
.img280x160 img {
	max-width:280px; /* Бессовестный А. Гантмахер сделал это - добавил max- =) */
	height:160px;
}
.img280x220 {
	width:280px;
	height:220px;
	overflow:hidden;
	display:inline-block;
	margin:0px 0px 15px 0px;
	border:solid 1px #2e2118;
}
.img280x220 img {
	width:280px;
	height:220px;
}
.img185x290 {
	width:185px;
	height:290px;
	overflow:hidden;
	display:inline-block;
	margin:0px 0px 15px 0px;
	border:solid 1px #2e2118;
}
.img185x290 img {
	width:185px;
	height:290px;
}
.img110x245 {
	width:110px;
	display:inline-block;
	margin:0px 0px 15px 0px;
}
.img110x245 img {
	width:110px;
	height:245px;
	border:solid 1px #2e2118;
}
.img110x245 div {
	width:110px;
	height:22px;
	padding:1px;
	margin:-4px auto 0px;
	background:url(../images/doors-number.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/doors-number.png*/ top center no-repeat;
}
.img110x245 div span {
	width:55px;
	height:22px;
	display:block;
	color:#2c1f23;
	font-size:12px;
	text-align:center;
	margin:8px 0px 0px 26px;
}
/*Img box*/

/*Model box*/
.model-box {
    zoom:1;
	clear:both;
	width:100%; 
    text-align:justify;
    text-justify:newspaper;
	margin:30px 0px 0px 0px;
}
.model-box:after {
	width:100%;
	height:0px;
	content:'';
	overflow:hidden;
	visibility:hidden;
	display:inline-block;

}
.model-box .model-item {
	width:110px;
	text-align:center;
	display:inline-block;
	margin:0px 0px 25px 0px;
}
.model-box .model-item img {
	width:110px;
	height:245px;
}
.model-box .model-item div {
	width:110px;
	height:22px;
	padding:1px;
	margin:-4px auto 0px;
	background:url(../images/doors-number.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/doors-number.png*/ top center no-repeat;
}
.model-box .model-item div span {
	width:55px;
	height:22px;
	display:block;
	color:#2c1f23;
	font-size:12px;
	margin:7px 0px 0px 25px;
}
/*Model box*/

/*Cabinets box*/
.cabinets-box {
    zoom:1;
	clear:both;
	width:100%; 
    text-align:justify;
    text-justify:newspaper;
	margin:30px 0px 0px 0px;
}

.cabinets-box:after {
	width:100%;
	height:0px;
	content:'';
	overflow:hidden;
	visibility:hidden;
	display:inline-block;

}
.cabinets-box .cabinets-item {
	max-width:275px;
	text-align:center;
	display:inline-block;
	margin:0px 0px 25px 0px;
}
.cabinets-box .cabinets-item img {
	max-width:273px;
	max-height:213px; /* Бессовестный А. Гантмахер сделал это =) */
	border:solid 1px #2e2118;
}
.cabinets-box .cabinets-item div {
	max-width:275px;
	height:22px;
	padding:1px;
	margin:-4px auto 0px;
	background:url(../images/cabinets-number.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/cabinets-number.png*/ top center no-repeat;
}
.cabinets-box .cabinets-item div span {
	width:55px;
	height:22px;
	display:block;
	color:#2c1f23;
	font-size:12px;
/*	margin:13px 0px 0px 111px;*/
	margin: 13px auto 0px /* Бессовестный А. Гантмахер сделал это =) */
}


/* И ещё кучка понятно чего :( От того же бессовестного :( */
.cabinets-box.specs {
    text-align: left;
}
.cabinets-box.specs .cabinets-item {
	margin:0px 0px 25px 63px;
}

.cabinets-box.specs .cabinets-item.wide {
	margin:0px 0px 25px 43px;
}
.cabinets-box.specs .cabinets-item:first-child {
	margin:0px 0px 25px 0px;
}


/*Cabinets box*/

/*Doors box*/
/*.doors-box {
    	zoom:1;
	clear:both;
	width:100%; 
    	text-align:justify;
    	text-justify:newspaper;
	margin:30px 0px 0px 0px;
}
.doors-box:after {
	width:100%;
	height:0px;
	content:'';
	overflow:hidden;
	visibility:hidden;
	display:inline-block;
}
.doors-box .doors-item {
	max-width:133px;
	text-align:center;
	display:inline-block;
	margin:0px 0px 0px 0px;
}*/

.doors-box {
    zoom:1;
	clear:both;
	margin:30px 0px 0px 0px;
}
.doors-box .doors-item {
	max-width:133px;
	text-align:center;
	display:inline-block;
	margin:0px 0px 0px 68px;
}
.doors-box .doors-item:first-child {
	margin:0px 0px 0px 0px;
}




.doors-box .doors-item img {
	max-width:131px;
	max-height:293px;
	border:solid 1px #2e2118;
}
.doors-box .doors-item div {
	height:22px;
	padding:1px;
	max-width:133px;
	margin:-4px auto 0px;
	background:url(../images/model-number.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/model-number.png*/ top center no-repeat;
}
.doors-box .doors-item div span {
	height:22px;
	display:block;
	color:#2c1f23;
	font-size:12px;
	text-align:center;
	margin:9px 0px 0px 0px;
}
/*Doors box*/

/*Catalog doors about*/
article.catalog-doors-about {
	font-size:14px;
	line-height:20px;
	text-align:justify;
	margin:0px 0px 0px 0px;
	font-family:"Trebuchet MS";
}
article.catalog-doors-about h1 {
	font-size:24px;
	margin:0px 0px 0px 0px;
	font-family:"Philosopher";
}
article.catalog-doors-about p {
	margin:5px 0px 0px 0px;
}
/*Catalog doors about*/

/*Catalog models about*/
article.catalog-models-about {
	font-size:14px;
	line-height:20px;
	text-align:justify;
	margin:0px 0px 0px 0px;
	font-family:"Trebuchet MS";
}
article.catalog-models-about h1 {
	font-size:24px;
	margin:0px 0px 0px 0px;
	font-family:"Philosopher";
}
article.catalog-models-about p {
	margin:5px 0px 0px 0px;
}
/*Catalog models about*/

/*Factory about*/
article.factory-about {
	font-size:14px;
	text-align:justify;
	margin:0px 0px 0px 0px;
	font-family:"Trebuchet MS";
}
article.factory-about img {
	float:right;
	border:solid 1px #2e2118;
	margin:0px 0px 15px 15px;
}
article.catalog-models-about h1 {
	font-size:24px;
	margin:0px 0px 0px 0px;
	font-family:"Philosopher";
}
article.factory-about p {
	margin:5px 0px 0px 0px;
}
/*Factory about*/

/*Factory article about*/
.factory-article {
	clear:both;
	color:#2e2118;
	font-size:14px;
	line-height:18px;
	text-align:justify;
	margin:0px 0px 15px 0px;
}
.factory-article img {
	border:solid 1px #2e2118;
}
.factory-article .factory-info-block {
	float:left;
	width:620px;
	height:76px;
	padding:10px;
	color:#453b35;
	font-size:16px;
	line-height:24px;
	text-align:center;
	margin:0px -10px 15px 0px;
	text-shadow:1px 1px 1px #fff;
	-o-text-shadow:1px 1px 1px #fff;
	-ms-text-shadow:1px 1px 1px #fff;
	-moz-text-shadow:1px 1px 1px #fff;
	-webkit-text-shadow:1px 1px 1px #fff;
    font-family: "Philosopher-BoldItalic";
	background:url(../images/factory-box.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/factory-box.png*/ top center no-repeat;

}
.factory-article .factory-info-block p {
	margin:0px;
}
/*Factory article about*/

/*Handle box*/
.handle-box {
	min-height:150px;
	background:url(../images/handle.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/handle.png*/ right center no-repeat;
}
.handle-box h1 {
	color:#2e2118;
	font-size:24px;
	font-family:"Philosopher";
}
/*Handle box*/

/*Factory page*/

/*Factory article line*/
.factory-article-line {
	background:url(../images/line-content-background.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/line-content-background.png*/ center center repeat;
}
.factory-article-line .box {
	width:960px;
	padding:15px;
	margin:0px auto;
	min-height:500px;
	padding-bottom:15px;
}
/*Factory article line*/

/*Diplom box*/
.diplom-box {
	padding:1px;
	height:290px;
	font-size:16px;
	text-align:center;
	margin:-70px 0px 0px 0px;
	font-family:"Philosopher";
	background:url(../images/diplom-box.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/diplom-box.png*/ top center no-repeat;
}
.diplom-box .text {
	font-size:16px;
	line-height:25px;
	margin:-10px 30px 0px 30px;
	text-shadow:1px 1px 1px #fff;
	-o-text-shadow:1px 1px 1px #fff;
	-ms-text-shadow:1px 1px 1px #fff;
	-moz-text-shadow:1px 1px 1px #fff;
	-webkit-text-shadow:1px 1px 1px #fff;
    font-family: "Philosopher-BoldItalic";
}
.diplom-box .title-box {
	margin:10px 0px 0px 0px;
}
.diplom-box .diplom-sep {
	clear:both;
	height:17px;
	margin:-10px 0px 10px 0px;
	background:url(../images/diplom-sep-line.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/diplom-sep-line.png*/ top center no-repeat;
}
/*Diplom box*/

/*Diplom list*/
.diplom-list {
    zoom:1;
	clear:both;
    width:920px;
    text-align:justify;
    margin:25px auto 0px;
    text-justify:newspaper;
}
.diplom-list:after {
	width:100%;
	height:0px;
	content:'';
	overflow:hidden;
	visibility:hidden;
	display:inline-block;
}
.diplom-list-item {
	display:inline-block;
	margin:0px 0px 35px 0px;
	box-shadow:3px 3px 10px rgba(51,51,51,.3);
	-o-box-shadow:3px 3px 10px rgba(51,51,51,.3);
	-ms-box-shadow:3px 3px 10px rgba(51,51,51,.3);
	-moz-box-shadow:3px 3px 10px rgba(51,51,51,.3);
	-webkit-box-shadow:3px 3px 10px rgba(51,51,51,.3);
}
.diplom-list-centr {
    zoom:1;
	width:100%;
	clear:both;
    text-align:center;
	margin:0px 0px 15px 0px;
}
.diplom-list-centr-item {
	display:inline-block;
	margin:0px 23px 35px 23px;
	box-shadow:3px 3px 10px rgba(51,51,51,.3);
	-o-box-shadow:3px 3px 10px rgba(51,51,51,.3);
	-ms-box-shadow:3px 3px 10px rgba(51,51,51,.3);
	-moz-box-shadow:3px 3px 10px rgba(51,51,51,.3);
	-webkit-box-shadow:3px 3px 10px rgba(51,51,51,.3);
}
/*Diplom list*/

/*Line founder conten*/
.line-founder-content {
	padding:1px;
	min-height:300px;
	margin:0px 0px -140px 0px;
	padding:0px 0px 140px 0px;
	background:url(../images/line-founder-content-background.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/line-founder-content-background.png*/ center center repeat;
}
.line-founder-content .shadow-line-bot,
.line-founder-content .shadow-line-centr {
	top:-13px;
	position:relative;
}
.line-founder-content .box {
	width:960px;
	padding:15px;
	font-size:14px;
	margin:0px auto;
	line-height:25px;
    font-family:"TrebuchetMS";
}
.line-founder-content .box img {
	border:solid 1px #2e2118;
}
.line-founder-content .box img.img-right.icon {
	border:none;
}
.line-founder-content .box .title-box {
	margin:-15px auto 15px;
}
/*Line founder conten*/

/*Factory page*/

/*Contacts*/
.contacts-info {
	float:left;
	width:270px;
	color:#2e2118;
	font-size:14px;
    font-family:"TrebuchetMS";
}
.contacts-info b {
	display:block;
	font-size:16px;
	margin:0px 0px 15px 0px;
    font-family:"TrebuchetMS-Bold";
}
.contacts-info a {
	color:#2e2118;
	border-bottom:solid 1px #2e2118;
}
.contacts-info .phone {
	font-size:22px;
}
.contacts-info .phone span {
	font-size:14px;
}

.contacts-scheme-box {
	float:right;
	width:640px;
	height:325px;
	background:url(../images/contacts-scheme-box.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/contacts-scheme-box.png*/ center center no-repeat;
}
.contacts-scheme-box .scheme-title {
	width:390px;
	font-size:16px;
	font-weight:bold;
	position:absolute;
	text-align:center;
	margin:10px 0px 0px 225px;
    font-family:"TrebuchetMS-Bold";
}
.contacts-scheme-box .block-photo {
	float:left;
	width:170px;
	height:230px;
	margin:54px 0px 0px 31px;
	border:solid 1px #b3b3b3;
}
.contacts-scheme-box .block-photo img {
	width:170px;
	height:230px;
}
.contacts-scheme-box .block-map {
	float:right;
	width:360px;
	height:230px;
	overflow:hidden;
	margin:55px 40px 0px 0px;
	border:solid 1px #b3b3b3;
}
.contacts-scheme-box .block-map img {
	width:360px;
	height:230px;
}

.contacts-form {
	clear:both;
	margin:25px 0px 15px 0px;
}
.contacts-form label {
	display:block;
	font-size:16px;
	font-weight:bold;
    font-family:"TrebuchetMS-Bold";
}
.contacts-form label span {
	color:#ed1c24;
}
.contacts-form label input[type="text"] {
	width:465px;
	height:40px;
	border:none;
	padding:5px;
	outline:none;
	display:block;
	margin:15px 0px 15px 0px;
	border:solid 1px #b3b3b3;
	box-shadow:0px 0px 5px 1px #fff, inset 5px 5px 15px 0px rgba(0,0,0,0.1);
	-o-box-shadow:0px 0px 5px 1px #fff, inset 5px 5px 15px 0px rgba(0,0,0,0.1);
	-ms-box-shadow:0px 0px 5px 1px #fff, inset 5px 5px 15px 0px rgba(0,0,0,0.1);
	-moz-box-shadow:0px 0px 5px 1px #fff, inset 5px 5px 15px 0px rgba(0,0,0,0.1);
	-webkit-box-shadow:0px 0px 5px 1px #fff, inset 5px 5px 15px 0px rgba(0,0,0,0.1);
	background:url(../images/data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjExIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMC4xMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background:-moz-linear-gradient(top,  rgba(0,0,0,0.11) 0%, rgba(255,255,255,0.11) 100%);
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.11)), color-stop(100%,rgba(255,255,255,0.11)));
	background:-webkit-linear-gradient(top,  rgba(0,0,0,0.11) 0%,rgba(255,255,255,0.11) 100%);
	background:-o-linear-gradient(top,  rgba(0,0,0,0.11) 0%,rgba(255,255,255,0.11) 100%);
	background:-ms-linear-gradient(top,  rgba(0,0,0,0.11) 0%,rgba(255,255,255,0.11) 100%);
	background:linear-gradient(to bottom,  rgba(0,0,0,0.11) 0%,rgba(255,255,255,0.11) 100%);
	filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#1c000000', endColorstr='#1cffffff',GradientType=0 );
}
.contacts-form label textarea {
	width:465px;
	height:135px;
	border:none;
	padding:5px;
	outline:none;
	display:block;
	background:none;
	overflow:hidden;
	min-width:465px;
	max-width:465px;
	border:solid 1px #b3b3b3;
	margin:13px 0px 0px 0px !important;
	box-shadow:0px 0px 5px 1px #fff, inset 5px 5px 15px 0px rgba(0,0,0,0.1);
	-o-box-shadow:0px 0px 5px 1px #fff, inset 5px 5px 15px 0px rgba(0,0,0,0.1);
	-ms-box-shadow:0px 0px 5px 1px #fff, inset 5px 5px 15px 0px rgba(0,0,0,0.1);
	-moz-box-shadow:0px 0px 5px 1px #fff, inset 5px 5px 15px 0px rgba(0,0,0,0.1);
	-webkit-box-shadow:0px 0px 5px 1px #fff, inset 5px 5px 15px 0px rgba(0,0,0,0.1);
	background:url(../images/data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwLjExIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMC4xMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background:-moz-linear-gradient(top,  rgba(0,0,0,0.11) 0%, rgba(255,255,255,0.11) 100%);
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.11)), color-stop(100%,rgba(255,255,255,0.11)));
	background:-webkit-linear-gradient(top,  rgba(0,0,0,0.11) 0%,rgba(255,255,255,0.11) 100%);
	background:-o-linear-gradient(top,  rgba(0,0,0,0.11) 0%,rgba(255,255,255,0.11) 100%);
	background:-ms-linear-gradient(top,  rgba(0,0,0,0.11) 0%,rgba(255,255,255,0.11) 100%);
	background:linear-gradient(to bottom,  rgba(0,0,0,0.11) 0%,rgba(255,255,255,0.11) 100%);
	filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#1c000000', endColorstr='#1cffffff',GradientType=0 );
}
.contacts-form input[type="submit"].button-two {
	margin:25px 0px 0px 0px;
}

textarea.error,
input[type="text"].error {
	box-shadow:0px 0px 15px 1px #900, inset 5px 5px 15px 0px rgba(0,0,0,0.1) !important;
	-o-box-shadow:0px 0px 15px 1px #900, inset 5px 5px 15px 0px rgba(0,0,0,0.1) !important;
	-ms-box-shadow:0px 0px 15px 1px #900, inset 5px 5px 15px 0px rgba(0,0,0,0.1) !important;
	-moz-box-shadow:0px 0px 15px 1px #900, inset 5px 5px 15px 0px rgba(0,0,0,0.1) !important;
	-webkit-box-shadow:0px 0px 15px 1px #900, inset 5px 5px 15px 0px rgba(0,0,0,0.1) !important;
}
label.error {
	top:-15px;
	left:270px;
	color:#fff;
	padding:5px;
	font-size:12px;
	position:relative;
	display:inline-block;
	background:rgba(153, 0, 0, 0.5);
}
label[for="message"].error {
	top:0px;
	left:270px;
}
/*Contacts*/

/*Content*/

/*Footer*/

footer {
	padding:1px;
	height:172px;
	min-width:960px;
	margin:135px 0px 0px 0px;
	background:url(../images/footer.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/footer.png*/ no-repeat;
	background-size:100% 100%;
	-o-background-size:100% 100%;
	-ms-background-size:100% 100%;
	-moz-background-size:100% 100%;
	-webkit-background-size:100% 100%;
}
footer .box {
	width:960px;
	padding:1px;
	height:246px;
	position:relative;
	margin:-85px auto 0px;
	background:url(../images/footer-box.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/img/footer-box.png*/ top center no-repeat;
}

footer .box .contacts {
	color:#3b2c21;
	font-size:14px;
	font-family:"Philosopher";
	margin:120px 0px 0px 205px;
}
footer .box .contacts p {
	margin:0px 0px 3px 0px;
}
footer .box .contacts a {
	color:#3b2c21;
	border-bottom:dashed 1px #3b2c21;
}

footer .box .topmedia {
	color:#3b2c21;
	font-size:12px;
	margin:25px 0px 0px 515px;
}
footer .box .topmedia a {
	color:#3b2c21;
	display:inline-block;
	border-bottom:solid 1px #3b2c21;
}

/*Nav foot*/
nav.foot {
	width:310px;
	text-align:center;
	margin:-53px 0px 0px 442px;
}
nav.foot a {
	color:#3b2c21;
	font-size:14px;
	margin:0px 0px 0px 5px;
	padding:0px 20px 0px 0px;
	font-family:"Philosopher-Italic";
	background:url(../images/../img/nav-foot-sep.png) right center no-repeat;
}
nav.foot a + a + a {
	background:none;
	padding:0px 0px 0px 0px;
}
/*Nav foot*/

/*Footer*/

/*Colorbox*/
#cboxContent {
	margin:10px;
	padding:10px;
	border-radius:10px;
	box-shadow:0px 0px 10px rgba(51,51,51,.5);
	background:#a1a1a1 url(../img/colorbox/cbox_background.png) top center repeat-x;
}
#cboxClose {
    top:5px;
    right:5px;
    width:18px;
    height:18px;
	padding:4px;
    position:absolute;
	border-radius:100px;
    text-indent:-9999px;
	box-shadow:0px 0px 10px rgba(51,51,51,.5);
	background:#e9e9e9 url(../img/modal-close.png) center center no-repeat;
}
#cboxCurrent {
    right:20px;
    color:#fff;
    bottom:20px;
    position:absolute;
	background:#828281;
	padding:3px 5px 3px 5px;
	background:rgba(130,130,129,.6);
}
#cboxNext,
#cboxPrevious {
    top:50%;
	opacity:0;
    width:25px;
    height:60px;
    position:absolute;
	margin-top:-30px;
    text-indent:-9999px;
}
#cboxNext {
    right:25px;
	background:url(../images/../img/colorbox/cbox_arrow.png) bottom center no-repeat;
}
#cboxPrevious {
    left:25px;
	background:url(../images/../img/colorbox/cbox_arrow.png) top center no-repeat;
}
#colorbox,
#cboxOverlay,
#cboxWrapper {
    top:0;
    left:0;
    z-index:9999;
	overflow:hidden;
    position:absolute;
}
#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}
#cboxTitle {margin:0px;}
.cboxIframe {background:#fff;}
#cboxContent {position:relative;}
#cboxLoadedContent {overflow:auto;}
#cboxLoadingOverlay,
#cboxLoadingGraphic {
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    position:absolute;
}
#cboxNext,
#cboxClose,
#cboxPrevious,
#cboxSlideshow {
	cursor:pointer;
}
.cboxPhoto {
    border:0px;
    margin:auto;
    display:block;
    max-width:800px;
	max-height: 535px;
	position:relative;
}
.cboxIframe {
    width:100%;
    border:0px;
    height:100%;
    display:block;
}
#colorbox,
#cboxContent,
#cboxLoadedContent {
	box-sizing:content-box;
}
#cboxOverlay {
	background:rgba(153,153,153,.8)
}
#cboxTopLeft,
#cboxTopRight,
#cboxTopCenter,
#cboxMiddleLeft,
#cboxBottomLeft,
#cboxBottomRight,
#cboxMiddleRight,
#cboxBottomCenter {
	width:10px;
	height:0px !important;
}
#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}
#cboxTitle {
    left:0px;
    bottom:4px;
    width:100%;
    color:#949494;
    position:absolute;
    text-align:center;
}
#cboxSlideshow {
    bottom:4px;
    right:30px;
    color:#0092ef;
    position:absolute;
}
#cboxContent:hover #cboxNext,
#cboxContent:hover #cboxPrevious {
	opacity:1;
}
#cboxLoadingGraphic {
	background:url(../images/../img/colorbox/loading.gif) no-repeat center center;
}
/*Colorbox*/	

@-moz-document url-prefix() {
	nav.foot {margin:-58px 0px 0px 442px;}
	footer .box .contacts p {margin:0px 0px 2px 0px;}
}

noindex:-o-prefocus, nav.foot {margin:-52px 0px 0px 442px;}

.x280 {
    width: 273px;
}

.bx-core-waitwindow {
	background-color:#FCF7D1;
	background-image:url(wait.gif)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/js/main/core/images/wait.gif*/;
	background-position:10px center;
	background-repeat:no-repeat;
	border:1px solid #E1B52D;
	color:black;
	font-family:Verdana,Arial,sans-serif;
	font-size:11px;
	padding:10px 30px 10px 37px;
	position:absolute;
	z-index:10000;
	text-align:center;
}

.bx-unselectable {
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

.bx-session-message {
	background-color:#FFEB41;
	border:1px solid #EDDA3C;
	width:630px;
	font-family:Arial,Helvetica,sans-serif;
	font-size:13px;
	font-weight:bold;
	text-align:center;
	color:black;
	position:absolute;
	z-index:10000;
	padding:10px;
}

.bx-session-message a.bx-session-message-close {
	display:block;
	width:12px;
	height:12px;
	background-image:url(close.gif)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/js/main/core/images/close.gif*/;
	background-repeat:no-repeat;
	background-position:center;
	float:right;
}

.bx-timer-semicolon-off .bx-timer-semicolon {visibility: hidden}

/* Tooltip */
.bx-panel-tooltip
{
    z-index:2210 !important;
    overflow: hidden !important;
    position:absolute !important;

    letter-spacing:normal !important;
    list-style:none !important;
    text-align: left !important;
    text-indent:0 !important;
    text-transform: none !important;
    visibility:visible !important;
    white-space: normal !important;
    word-spacing:normal !important;
    vertical-align:baseline !important;
    margin:0 !important;
    padding:0 !important;
    float: none !important;
    text-decoration: none !important;

	-webkit-border-radius: 3px !important;
	-moz-border-radius: 3px !important;
	border-radius: 3px !important;

	-webkit-box-shadow: 0 12px 10px rgba(0,0,0,.25) !important;
	-moz-box-shadow: 0 12px 10px rgba(0,0,0,.25) !important;
	box-shadow: 0 12px 10px rgba(0,0,0,.25) !important;

	border: 1px solid;
	border-color: #a2a6ad #989ca1 #8e9398;

	background: #d0dbdd;
	/*background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2UzZTllYSIgc3RvcC1vcGFjaXR5PSIwLjk1Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjNmQyZDUiIHN0b3Atb3BhY2l0eT0iMC45NSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+)*/
	background: -webkit-linear-gradient(top, rgba(227,233,234,.95), rgba(198,210,213,.95));
	background: -moz-linear-gradient(top, rgba(227,233,234,.95), rgba(198,210,213,.95));
	background: -o-linear-gradient(top, rgba(227,233,234,.95), rgba(198,210,213,.95));
	background: -ms-linear-gradient(top, rgba(227,233,234,.95), rgba(198,210,213,.95));
	background: linear-gradient(to bottom, rgba(227,233,234,.95), rgba(198,210,213,.95));
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2e3e9ea', endColorstr='#f2c6d2d5',GradientType=0);
}

.bx-panel-tooltip div { display: block !important; }

.bx-panel-tooltip .bx-panel-tooltip-top-border, .bx-panel-tooltip .bx-panel-tooltip-bottom-border
{
	display: none !important;
}

.bx-panel-tooltip-content
{
    overflow: hidden !important;
    position: relative !important;
    z-index:10 !important;
    display:inline-block !important;
}

.bx-panel-tooltip-title
{
    font: normal normal bold 14px/normal "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #16191a !important;
    position:relative !important;
    padding: 7px 10px 0 10px !important;
    margin: 0 !important;
	text-shadow: 0 1px rgba(255, 255, 255, 0.66);
}

.bx-panel-tooltip-text
{
    font: normal normal normal 12px/normal "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    color: #272b31 !important;
    padding: 9px 10px 10px 10px !important;
    margin: 0 !important;
    position:relative !important;
	text-shadow: 0 1px rgba(255, 255, 255, 0.25);
}

.bx-panel-tooltip-close
{
	position:absolute !important;
    height:20px !important;
    background: scroll transparent url(top-panel-sprite.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/js/main/core/images/panel/top-panel-sprite.png*/ no-repeat -9px -1881px !important;
    width:25px !important;
    top: 0 !important;
    right: 0 !important;
	z-index:5 !important;
	display:block !important;
}

.bx-panel-tooltip-close:hover { background: scroll transparent url(top-panel-sprite.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/js/main/core/images/panel/top-panel-sprite.png*/ no-repeat -32px -1881px !important; }

.bx-panel-tooltip-text a { font: normal normal normal 12px/normal "Helvetica Neue", Helvetica, Arial, sans-serif !important;}
.bx-panel-tooltip-text a, .bx-panel-tooltip-text a:hover { color: #272b31 !important; text-decoration: underline !important;}
/*
.bx-core-autosave {background-position: 0 0 !important;}
.bx-core-autosave-ready {background: scroll transparent url(../images/autosave/autosave-green.gif) no-repeat 0 0;}
.bx-core-autosave-edited {background: scroll transparent url(../images/autosave/autosave-red.gif) no-repeat 0 0;}
.bx-core-autosave-saving {background: scroll transparent url(../images/autosave/autosave-write.gif) no-repeat 0 0;}
*/
.bx-clear { clear: both }

/* Hot keys settings menu*/

/*div.bx-hk-settings-toolbar {background: white; margin:5px 0 15px 5px; position:relative; zoom:1;}*/
div.bx-hk-settings-toolbar {background: white !important;  position:absolute !important; width:503px !important; margin: 0 !important; padding: 0px !important; top: 54px; left: 4px;}
table.bx-hk-settings-toolbar {background: white !important; width:100% !important; margin:9px 0px 0px 8px !important;}
div.bx-hk-settings-toolbar td.bx-left {background: white url(hk_sett_menu_spr.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/js/main/core/images/hk_sett_menu_spr.png*/ no-repeat -0px -0px !important; height: 33px !important; width: 3px !important; margin: 0 !important; padding: 0px !important;}
div.bx-hk-settings-toolbar td.bx-right {background: white url(hk_sett_menu_spr.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/js/main/core/images/hk_sett_menu_spr.png*/ no-repeat -0px -36px !important; height: 33px !important; width: 3px !important; margin: 0 !important; padding: 0px !important;}
div.bx-hk-settings-toolbar td.bx-content { background: white url(hk_sett_menu_spr.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/js/main/core/images/hk_sett_menu_spr.png*/ repeat-x -0px -72px !important; height: 33px !important; margin: 0 !important; padding: 1px 0px 0px 4px !important;}

div.bx-hk-settings-toolbar a.bx-context-button {color:#555555 !important; display:inline-block !important; height:33px !important; border:none !important; cursor:pointer !important; padding: 0px 0px 0px 0px !important; margin: 0px !important;}
div.bx-hk-settings-toolbar a.bx-context-button:hover { color:black !important; }

div.bx-hk-settings-toolbar span.bx-context-button-text { display:inline-block !important; vertical-align:top !important; margin: 0px !important; padding: 8px 15px 0 0 !important; }
div.bx-hk-settings-toolbar span.bx-context-button-icon { display:inline-block !important; width:18px !important; height:33px !important; background-repeat:no-repeat !important; background-position:center; margin: 0px !important; padding: 0px !important;}

div.bx-hk-settings-toolbar .btn-import {background: transparent url(hk_sett_menu_spr.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/js/main/core/images/hk_sett_menu_spr.png*/ no-repeat -0px -109px !important; height: 33px; width: 18px; margin: 0px !important; padding: 0px !important;}
div.bx-hk-settings-toolbar .btn-export {background: transparent url(hk_sett_menu_spr.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/js/main/core/images/hk_sett_menu_spr.png*/ no-repeat -26px -109px !important; height: 33px; width: 18px; margin: 0px !important; padding: 0px !important;}
div.bx-hk-settings-toolbar .btn-default {background: transparent url(hk_sett_menu_spr.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/js/main/core/images/hk_sett_menu_spr.png*/ no-repeat -52px -109px !important; height: 33px; width: 18px; margin: 0px !important; padding: 0px !important;}
div.bx-hk-settings-toolbar .btn-delall {background: transparent url(hk_sett_menu_spr.png)/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/js/main/core/images/hk_sett_menu_spr.png*/ no-repeat -78px -109px !important; height: 33px; width: 18px; margin: 0px !important; padding: 0px !important;}

div.bx-hk-settings-empty { background: transparent !important; width:1px !important; height:1px !important; overflow:hidden !important; margin: 0px !important;}

.bx-hk-settings-row { height: 22px !important;}
a.hk-delete-icon {display:block; background: none !important; width:18px; height:18px;}
.bx-hk-settings-row:hover  a.hk-delete-icon {display:block !important; width:18px; height:18px; background: url(/bitrix/panel/main/images/bx-admin-sprite-small.png) no-repeat 0px -2933px !important;}
.bx-hk-settings-row:hover a.hk-delete-icon:hover {display:block !important; width:18px; height:18px; background: url(/bitrix/panel/main/images/bx-admin-sprite-small.png) no-repeat -0px -2989px !important;}

a.bx-hk-settings:link { color: #0069c4 !important;}
a.bx-hk-settings:visited { color: #0069c4 !important;}
a.bx-hk-settings:hover { color: #e00000 !important;}
a.bx-hk-settings:active { color: #0069c4 !important;}

@font-face {
    font-family: "Vesna";
    src: url("../path-to/Vesna.eot")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/Vesna.eot*/;
    src: url("../path-to/Vesna.eot-#iefix")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/Vesna.eot?#iefix*/ format("embedded-opentype"),
         url("../path-to/Vesna.woff")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/Vesna.woff*/ format("woff"),
         url("../path-to/Vesna.ttf")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/Vesna.ttf*/ format("truetype"),
         url("../path-to/Vesna.svg#Vesna")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/Vesna.svg#Vesna*/ format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "TrebuchetMS";
    src: url("../path-to/TrebuchetMS.eot")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/TrebuchetMS.eot*/;
    src: url("../path-to/TrebuchetMS.eot-#iefix")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/TrebuchetMS.eot?#iefix*/ format("embedded-opentype"),
         url("../path-to/TrebuchetMS.woff")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/TrebuchetMS.woff*/ format("woff"),
         url("../path-to/TrebuchetMS.ttf")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/TrebuchetMS.ttf*/ format("truetype"),
         url("../path-to/TrebuchetMS.svg#TrebuchetMS")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/TrebuchetMS.svg#TrebuchetMS*/ format("svg");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "TrebuchetMS-Bold";
    src: url("../path-to/TrebuchetMS-Bold.eot")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/TrebuchetMS-Bold.eot*/;
    src: url("../path-to/TrebuchetMS-Bold.eot-#iefix")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/TrebuchetMS-Bold.eot?#iefix*/ format("embedded-opentype"),
         url("../path-to/TrebuchetMS-Bold.woff")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/TrebuchetMS-Bold.woff*/ format("woff"),
         url("../path-to/TrebuchetMS-Bold.ttf")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/TrebuchetMS-Bold.ttf*/ format("truetype"),
         url("../path-to/TrebuchetMS-Bold.svg#TrebuchetMS-Bold")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/TrebuchetMS-Bold.svg#TrebuchetMS-Bold*/ format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Philosopher";
    src: url("../path-to/Philosopher.eot")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/Philosopher.eot*/;
    src: url("../path-to/Philosopher.eot-#iefix")/*tpa=http://gramdoors.com.css.1c-bitrix-cdn.ru/bitrix/templates/main/css/font/Philosopher.eot?#iefix*/ format("embedded-opentype"),
         url("../path-to/Philosopher.woff") format("woff"),
         url("../path-to/Philosopher.ttf") format("truetype"),
         url("../path-to/Philosopher.svg#Philosopher") format("svg");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Philosopher-Bold";
    src: url("../path-to/Philosopher-Bold.eot");
    src: url("../path-to/Philosopher-Bold.eot?#iefix") format("embedded-opentype"),
         url("../path-to/Philosopher-Bold.woff") format("woff"),
         url("../path-to/Philosopher-Bold.ttf") format("truetype"),
         url("../path-to/Philosopher-Bold.svg#Philosopher-Bold") format("svg");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Philosopher-Italic";
    src: url("../path-to/Philosopher-Italic.eot");
    src: url("../path-to/Philosopher-Italic.eot?#iefix") format("embedded-opentype"),
         url("../path-to/Philosopher-Italic.woff") format("woff"),
         url("../path-to/Philosopher-Italic.ttf") format("truetype"),
         url("../path-to/Philosopher-Italic.svg#Philosopher-Italic") format("svg");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Philosopher-BoldItalic";
    src: url("../path-to/Philosopher-BoldItalic.eot");
    src: url("../path-to/Philosopher-BoldItalic.eot?#iefix") format("embedded-opentype"),
         url("../path-to/Philosopher-BoldItalic.woff") format("woff"),
         url("../path-to/Philosopher-BoldItalic.ttf") format("truetype"),
         url("../path-to/Philosopher-BoldItalic.svg#Philosopher-BoldItalic") format("svg");
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Philosopher-Bold";
}

b, strong {
    font-family: "TrebuchetMS-Bold";
}

i, em {
    font-family: "Philosopher-Italic";
}

/*! normalize.css 2012-02-07T12:37 UTC - http://github.com/necolas/normalize.css */

/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

/*
 * Corrects block display not defined in IE6/7/8/9 & FF3
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
    display: block;
}

/*
 * Corrects inline-block display not defined in IE6/7/8/9 & FF3
 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

/*
 * Prevents modern browsers from displaying 'audio' without controls
 */

audio:not([controls]) {
    display: none;
}

/*
 * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
 * Known issue: no IE6 support
 */

[hidden] {
    display: none;
}


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html {
    font-size: 100%; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

/*
 * Addresses font-family inconsistency between 'textarea' and other form elements.
 */

html,
button,
input,
select,
textarea {
    font-family: sans-serif;
}

/*
 * Addresses margins handled incorrectly in IE6/7
 */

body {
    margin: 0;
}


/* =============================================================================
   Links
   ========================================================================== */

a {
	text-decoration:none;
}

/*
 * Addresses outline displayed oddly in Chrome
 */

a:focus {
    outline: none;
}

/*
 * Improves readability when focused and also mouse hovered in all browsers
 * people.opera.com/patrickl/experiments/keyboard/test
 */

a:hover,
a:active {
    outline: 0;
}


/* =============================================================================
   Typography
   ========================================================================== */

/*
 * Addresses font sizes and margins set differently in IE6/7
 * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

h2 {
    font-size: 1.5em;
    margin: 0.83em 0;
}

h3 {
    font-size: 1.17em;
    margin: 1em 0;
}

h4 {
    font-size: 1em;
    margin: 1.33em 0;
}

h5 {
    font-size: 0.83em;
    margin: 1.67em 0;
}

h6 {
    font-size: 0.75em;
    margin: 2.33em 0;
}

/*
 * Addresses styling not present in IE7/8/9, S5, Chrome
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/*
 * Addresses style set to 'bolder' in FF3+, S4/5, Chrome
*/

b,
strong {
    font-weight: bold;
}

blockquote {
    margin: 1em 40px;
}

/*
 * Addresses styling not present in S5, Chrome
 */

dfn {
    font-style: italic;
}

/*
 * Addresses styling not present in IE6/7/8/9
 */

mark {
    background: #ff0;
    color: #000;
}

/*
 * Addresses margins set differently in IE6/7
 */

p,
pre {
    margin: 1em 0;
}

/*
 * Corrects font family set oddly in IE6, S4/5, Chrome
 * en.wikipedia.org/wiki/User:Davidgothberg/Test59
 */

pre,
code,
kbd,
samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
}

/*
 * Improves readability of pre-formatted text in all browsers
 */

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/*
 * 1. Addresses CSS quotes not supported in IE6/7
 * 2. Addresses quote property not supported in S4
 */

/* 1 */

q {
    quotes: none;
}

/* 2 */

q:before,
q:after {
    content: '';
    content: none;
}

small {
    font-size: 75%;
}

/*
 * Prevents sub and sup affecting line-height in all browsers
 * gist.github.com/413930
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}


/* =============================================================================
   Lists
   ========================================================================== */

/*
 * Addresses margins set differently in IE6/7
 */

dl,
menu,
ol,
ul {
    margin: 1em 0;
}

dd {
    margin: 0 0 0 40px;
}

/*
 * Addresses paddings set differently in IE6/7
 */

menu,
ol,
ul {
    padding: 0 0 0 40px;
}

/*
 * Corrects list images handled incorrectly in IE7
 */

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
}


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
 * 2. Improves image quality when scaled in IE7
 *    code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */

img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
}

/*
 * Corrects overflow displayed oddly in IE9
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

/*
 * Addresses margin not present in IE6/7/8/9, S5, O11
 */

figure {
    margin: 0;
}


/* =============================================================================
   Forms
   ========================================================================== */

/*
 * Corrects margin displayed oddly in IE6/7
 */

form {
    margin: 0;
}

/*
 * Define consistent border, margin, and padding
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/*
 * 1. Corrects color not being inherited in IE6/7/8/9
 * 2. Corrects text not wrapping in FF3 
 * 3. Corrects alignment displayed oddly in IE6/7
 */

legend {
    border: 0; /* 1 */
    padding: 0;
    white-space: normal; /* 2 */
    *margin-left: -7px; /* 3 */
}

/*
 * 1. Corrects font size not being inherited in all browsers
 * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
 * 3. Improves appearance and consistency in all browsers
 */

button,
input,
select,
textarea {
    font-size: 100%; /* 1 */
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    *vertical-align: middle; /* 3 */
}

/*
 * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
 */

button,
input {
    line-height: normal; /* 1 */
}

/*
 * 1. Improves usability and consistency of cursor style between image-type 'input' and others
 * 2. Corrects inability to style clickable 'input' types in iOS
 * 3. Removes inner spacing in IE7 without affecting normal text inputs
 *    Known issue: inner spacing remains in IE6
 */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer; /* 1 */
    -webkit-appearance: button; /* 2 */
    *overflow: visible;  /* 3 */
}

/*
 * Re-set default cursor for disabled elements
 */

button[disabled],
input[disabled] {
    cursor: default;
}

/*
 * 1. Addresses box sizing set to content-box in IE8/9
 * 2. Removes excess padding in IE8/9
 * 3. Removes excess padding in IE7
      Known issue: excess padding remains in IE6
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
    *height: 13px; /* 3 */
    *width: 13px; /* 3 */
}

/*
 * 1. Addresses appearance set to searchfield in S5, Chrome
 * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/*
 * Removes inner padding and search cancel button in S5, Chrome on OS X
 */

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

/*
 * Removes inner padding and border in FF3+
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/*
 * 1. Removes default vertical scrollbar in IE6/7/8/9
 * 2. Improves readability and alignment in all browsers
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}


/* =============================================================================
   Tables
   ========================================================================== */

/*
 * Remove most spacing between table cells
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*===>[REVOLT FRAMEWORK ]<===*/

/*===>[Placeholder begin]<===*/
input:-moz-placeholder,
textarea:-moz-placeholder {color:#999;}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {color:#999;}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {color:#999;}

input:focus:-moz-placeholder,
textarea:focus:-moz-placeholder {color:#999;}
input:focus:-ms-input-placeholder,
textarea:focus:-ms-input-placeholder {color:#999;}
input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {color:#999;}
/*===>[Placeholder end]<===*/

/*===>[Transition end]<===*/
* {
	transition:opacity 0.2s linear, border 0.5s linear, color 0.2s linear;
	-o-transition:opacity 0.2s linear, border 0.5s linear, color 0.2s linear;
	-ms-transition:opacity 0.2s linear, border 0.5s linear, color 0.2s linear;
	-moz-transition:opacity 0.2s linear, border 0.5s linear, color 0.2s linear;
	-webkit-transition:opacity 0.2s linear, border 0.5s linear, color 0.2s linear;
}
/*===>[Transition end]<===*/

.clearfix {
	float:none;
	clear:both;
}








nav.foot {margin:-54px 0px 0px 442px;}

@media \0screen {

	header .box-wrap {
		-ms-filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/bitrix/templates/main/img/header.png',sizingMethod='scale')";
		background-image:none;
	}
	footer {
		-ms-filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/bitrix/templates/main/img/footer.png',sizingMethod='scale')";
		background-image:none;
	}

	.button-one {filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#eeeeee',GradientType=0 );}
	.button-one:active {filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#ffffff',GradientType=0 );}

	.button-two {filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#df3535', endColorstr='#9b0606',GradientType=0 );}
	.button-two:active {filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#9b0606', endColorstr='#df3535',GradientType=0 );}


