.mainblock h1{
	width: 672px;
}

.inlinePic{
	width: 904px;
	margin: auto;
}
.inlinePic >div.img{
	width: 100%;
	height: 600px;
	position: relative;
	background: transparent url("../images/trans.gif") no-repeat scroll center center ;
	background-size: cover;
	cursor: pointer;
}
.inlinePic img{
	width: 100%;
	position: relative;
	display: block;
}
.inlinePic .caption{
	width: 100%;
	font-family: UniversLTCYR-45Light;
	font-size: 13px;
	color: #777777;
	text-align: center;
	line-height: 18px;
	padding: 14px 0;
}

p{
	width: 672px;
	margin: auto;
	font-size: 14px;
	color: #111111;
	line-height: 21px;
	padding-bottom: 16px;
}

.mainblock h3,
p.upper{
	font-size: 14px;
	color: #9f6847;
	line-height: 24px;
 	text-transform: uppercase;
	padding-bottom: 30px;
}
p.upper{
	padding-bottom: 10px;
}
p.upper a{
	color: #9f6847;
	text-decoration: underline;
}
.mainblock h3{
	width: 672px;
	margin: auto;
	padding-bottom: 10px;
	padding-top: 30px;
}
.mainblock h3:first-child{
	padding-top: 0px;
}
hr{
	width: 904px;
	margin: 30px auto;
	padding:0;
	border:0;
	border-bottom: 1px  #f0e7e2 solid;
}


div.table{
	background: #f7f7f7;
	width: 904px;
	margin: 20px auto;
	padding-bottom: 40px;
}
div.table table{
	width: 672px;
	margin: auto;
}
div.table table td{
	padding: 9px 0;
	border-bottom: 1px  #f0e7e2 solid;
}
div.table table td:last-child{
	text-align: right;
}
div.table table td.upper{
	padding-top: 40px;
	color: #9f6847;
 	text-transform: uppercase;
}
div.table table tr:first-child td.upper{
	padding-top: 0px;
}


.gallery{
	width: 904px;
	height: 600px;
	position: relative;
	margin: auto;
	margin-bottom: 30px;
}
.gallery .scrollable{
	width: 904px;
	height: 600px;
	margin: auto;
}

.gallery .scrollable > div{
	float:left;
	width:904px;
	height: 600px;
    background: url("../images/trans.gif") no-repeat scroll center center transparent;
    background-size: cover;
	position: relative;
}
.gallery .scrollable > div > div {
    bottom: -30px;
    color: #777777;
    font-size: 13px;
    height: 20px;
    padding-top: 10px;
    position: absolute;
    right: 0;
    text-align: center;
    width: 100%;
}
.gallery .browser{
    position: absolute;
    left 0;
    top: 0;
    right:0;
    width: 100%;
    z-index:500;
}
.gallery .browser a{
    position: absolute;
    left: 0;
    top: 60px;
    display: block;
	width:60px;
	height: 480px;
    background: url("../images/Left-arrow.png") no-repeat scroll center center transparent;
    cursor: pointer;
    opacity: 0.2;
}
.gallery .browser a.next{
    background: url("../images/Right-arrow.png") no-repeat scroll center center transparent;
    left: auto;
    right: 0;
}
.gallery:hover .browser a{
    opacity: 0.5;
}
.gallery .browser a:hover{
    opacity: 1;
}
.gallery .preload{
    display: inline;
    height: 0;
    width: 0;
}
.gallery.captions,
.gallery .scrollable{
	height: 630px;
}
.gallery .scrollable .items > div > div{
    position: absolute;
    left 0;
    bottom: -30px;
    right:0;
    width: 100%;
	height: 20px;
	padding-top: 10px;
	font-size: 13px;
	color: #777777;
	text-align: center;
}

.gallery .navi{
    position: absolute;
    left 0;
    top: 575px;
    right:0;
    width: 100%;
	height: 20px;
	text-align: center;
    z-index:500;
}
.gallery .navi a{
    display: inline-block;
	height: 12px;
	width: 12px;
	background-color: rgba(234, 234, 234, 0.5);
	border-radius: 6px;
	margin: 0 4px;
}
.gallery .navi a:hover{
	background-color: rgba(255, 255, 255, 0.5);
}
.gallery .navi a.cycle-pager-active{
	background-color: rgba(234, 234, 234, 1);;
}

.bunch{
	width: 904px;
	margin: auto;
	margin-bottom: 30px;
}
.bunch.projects{
	background-color: #f7f7f7;
	padding-bottom: 20px;
	margin-bottom: 40px;
	margin-top: 20px;
}
.bunch.projects h2{
	padding: 30px 0 15px;
}
.bunch.projects .items{
	width: 672px;
	margin: auto;
	text-align: center;
}
.bunch.projects .items > div{
	width: 208px;
	height: 208px;
    display: inline-block;
    margin-right: 24px;
    margin-bottom: 40px;
    vertical-align: top;
}
.bunch.projects .items > div .pic{
	width: 208px;
	height: 208px;
    background: url("../images/trans.gif") no-repeat scroll center center transparent;
    background-size: cover;
}
.bunch.projects .items > div:nth-child(3n){
    margin-right: 0;
}
.bunch.projects .items > div:last-child{
    margin-right: 0;
}
.bunch.projects .items > div > div.about{
    width: 100%;
	height: 20px;
	padding-top: 10px;
	font-size: 13px;
	color: #111111;
	text-align: center;
}
.bunch.projects .items > div > div a{
	text-decoration: underline;
}


.bunch.palette{
	margin-bottom:0;
}
.bunch.palette .items{
	text-align: center;
}
.bunch.palette .items > div{
	width: 92px;
	height: auto;
    display: inline-block;
    margin-right: 24px;
    margin-bottom: 40px;
    vertical-align: top;
}
.bunch.palette .items > div .pic{
	width: 92px;
	height: 92px;
	background: url("../images/trans.gif") no-repeat scroll center top transparent;
    background-size: cover;
}
.bunch.palette .items > div:nth-child(8n){
    margin-right: 0;
}
.bunch.palette .items > div:last-child{
    margin-right: 0;
}
body.phone .bunch.palette .items > div:nth-child(8n),
body.phone .bunch.palette .items > div:last-child{
    margin-right: 24px;
}

.bunch.palette .items > div > div.about{
    width: 100%;
	height: auto;
	padding-top: 10px;
	font-size: 13px;
	color: #777777;
	text-align: center;
}


blockquote{
	width: 672px;
	font-family: UniversLTCYR-45Light;
	font-size: 14px;
	color: #9f6847;
	text-align: center;
	margin: 10px auto 30px;
	letter-spacing: 0.1429em;
}
blockquote footer{
	padding: 10px 90px 10px 250px;
	color: #b3866f;
	text-align: right;
	letter-spacing: 0;
}

img.portrait{
	display: block;
	width: 285px;
	height: 285px;
	margin: 10px auto 30px;
}


.mainblock ul{
	width: 672px;
	margin: auto;
	line-height: 21px;
}
.mainblock ul > li{
/*	padding: 0 0 0 15px;*/
}

div.indented30{
	margin: auto;
	padding: 20px 0 0 30px;
	width: 642px;	
}

h2 + p.upper {
	padding-top: 15px;
}
.inlinePic + h2{
	padding-top: 20px;
}
p + hr{
	margin-top: 23px;
}
.mainblock hr + h2{
	padding-top: 5px;
}
.mainblock h2 + .inlinePic{
	margin-top: 30px;
}
.mainblock h2 + .gallery{
	margin-top: 30px;
}
p + .gallery{
	margin-top: 23px;
}
p + .inlinePic{
	padding-top: 20px;
}


.twocolumns{
	width: 904px;
	margin: auto;
    -webkit-column-width: 50%;
    -moz-column-width: 50%;
    column-width: 50%;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
}
.twocolumns p,
.twocolumns ul,
.twocolumns h3{
	width: auto;
}

.map{
	width: 904px;
	margin: auto;
}
p + .map{
	padding-top: 20px;
}

p:not(.upper):first-child{
/*	margin-top: -20px;*/
}
.bunch.palette + .twocols,
.bunch.palette + .twocolumns{
	margin-top:30px;
}

.buterbrod{
	width:904px;
	margin: auto;
	position: relative;
}
.buterbrod img{
	width: 100%;
}
.buterbrod img:last-child{
	position: absolute;
	left: 0;
	top: 0;
}
.buterbrod .caption{
	width: 100%;
	font-family: UniversLTCYR-45Light;
	font-size: 13px;
	color: #777777;
	text-align: center;
	line-height: 18px;
	padding: 14px 0;
}


body.phone .inlinePic{
	width: 100%;
	margin: auto;
}
body.phone .inlinePic >div.img{
	height: 250px;
}
body.phone p{
	width: 100%;
	padding-bottom: 20px;
}
body.phone p:first-child{
	padding-top: 16px;
	margin: 0;
}
body.phone hr{
	width: 100%;
	margin: 10px 0;
}

body.phone div.table{
	margin: 10px 0 10px -12px ;
	padding-bottom: 20px;
}
body.phone div.table table{
	width: 90%;
}

body.phone .gallery{
	width: 100%;
}

body.phone  blockquote {
    width: 100%;
    text-align: left;
    margin: 10px auto 20px;
    letter-spacing: 0.1429em;
}
body.phone blockquote footer {
    width: auto;
    padding:20px 0 0 40%;
}

body.phone .bunch{
	padding-left: 12px;
	padding-right: 12px;
	padding-bottom: 30px;
	margin-left: -12px;

	margin-bottom: 20px;
    margin-top: 0px;
}
body.phone .bunch.projects .items > div{
	margin-right:12px;
}
body.phone .bunch.projects .items > div:last-child {
	margin-right:0;
}



body.phone .map{
	width: 100%;
}
body.phone .map ymaps{
}


body.phone .twocols,
body.phone .twocolumns{
	width: 100%;
	margin: auto;
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
}
body.phone .twocols > div:first-child ,
body.phone .twocols > div:last-child {
    float: none;
    width: auto%;
}


body.phone .page h3, body.phone p.upper {
    color: #9f6847;
    font-size: 14px;
    line-height: 24px;
    padding-bottom: 20px;
    text-transform: uppercase;
}
body.phone .page h3{
	width: 100%;
	padding-bottom: 10px;
	padding-top: 30px;
}
body.phone .page h3:first-child {
    padding-top: 0;
}

body.phone .gallery .scrollable > div > div {
    overflow: hidden;
}

body.phone .bunch.palette {
    margin-bottom: 0;
}
.bunch.palette .items > div {
    margin-bottom: 0;
}


body.phone .gallery + .bunch.palette{
	padding-top: 20px;
}
body.phone p + hr{
	margin-top: 0px;
}
body.phone hr + h2{
	padding-top: 10px;
}
body.phone h2 + blockquote{
	margin-top: 0px;
}
body.phone img.portrait {
    margin: 0 auto 20px;
}
body.phone .bunch + .twocols,
body.phone .bunch + .twocolumns{
	margin-top: -20px;
}

body.phone div.indented30{
	margin: auto;
	padding: 20px 0 0 30px;
	width: auto;	
}
body.phone .bunch.palette .items > div{
	padding-bottom: 20px;
}

body.phone .buterbrod{
	width:100%;
}