	html, body {
	width:100%;
	height:100%;/* для ие6, т.к. не понимает min-height */
	font-size:14px;
	font-family:Tahoma, Geneva, Helvetica Neue, Helvetica, "HelveticaNeue-Light", "HelveticaNeue-Bold", "Helvetica Neue Light", "Helvetica Neue Bold", "Helvetica Neue", Segoe, sans-serif;
	color:#514e53;
	position:absolute;
    left: 0;
    top: 0;
	text-rendering:optimizeLegibility;
	-webkit-text-size-adjust:100%;
	text-size-adjust:100%;
}
body {
	padding:0px;
	margin:0px;
	overflow-y:scroll;
	background-color:#bee2ee;
}

div#textblock0 {
	overflow: visible !important;
}

h3 {
	font-weight:normal;
	font-size:22px;
}
p {
	font-size:14px;
}
#textblock0 p {
    width:100%;
	margin-top:0px;
	margin-bottom:20px;
}
/*p.simplebox_img {
    margin-left: 0px;
}*/
a {
	font-family:Tahoma, Geneva, Helvetica Neue, Helvetica, "HelveticaNeue-Light", "HelveticaNeue-Bold", "Helvetica Neue Light", "Helvetica Neue Bold", "Helvetica Neue", Segoe, sans-serif;
	color:#514e53;
}
a:hover {
	color:#514e53;
    text-decoration: none; /* Убираем подчеркивание */
    border-bottom: 0px;
}
a.dotted_line:hover {
	color:#514e53;
	/*text-decoration: underline;*/
	text-decoration: none; /* Убираем подчеркивание */
    border-bottom: 1px dashed #5c595d;
}

a.dotted {
	color:#514e53;
	text-decoration: none; /* Убираем подчеркивание */
    border-bottom: 1px dashed #5c595d;
}
a.dotted:hover {
	color:#514e53;
    text-decoration: none; /* Убираем подчеркивание */
    border-bottom: 0px;
}
a.dotted:link {
	color:#514e53;
	text-decoration: none; /* Убираем подчеркивание */
    border-bottom: 1px dashed #5c595d;
}
a.dotted:visited {
	color:#514e53;
	text-decoration: none; /* Убираем подчеркивание */
    border-bottom: 1px dashed #5c595d;
}


#shapka{
	width:100%;
	max-height:100px;
	margin:auto;
	float:left;
	text-align:left;
}
#shapka1 {
	padding:0px 20px;
}
#shapka2 {
	margin:0px auto;
	padding:0px 20px;
}
#colls {
	width:100%;
	min-height:100px;
	padding:0px;
	float:left;
	background-repeat:repeat-y;
}
#colls1 {
	max-width:768px;
	margin:0px auto;
	overflow:hidden;
}



#fon {
	width:100%;
	height:100%;
	position:relative;
	margin: auto auto -100px auto;
	z-index: -11;
}
#parallax {
	width:100%;
	height:100%;
	position:fixed;
	background:url('../img/img2.jpg') no-repeat;
	background-position: 50% 50%;
	background-attachment:local;
	margin: auto auto -100px auto;
	text-align:center;
	z-index: -10;
  }
  .lights1 {
	position: absolute;
	width: 123px;
	height: 124px;
	background:url('../img/lights/light1.png') no-repeat;
	z-index:-5;
  }
  .lights2 {
	position: absolute;
	width: 121px;
	height: 121px;
	background:url('../img/lights/light3.png') no-repeat;
	z-index:-4;
  }
  .lights3 {
	position: absolute;
	width: 131px;
	height: 130px;
	background:url('../img/lights/light2.png') no-repeat;
	z-index:-4;
  }
  .lights4 {
	position: absolute;
	width: 157px;
	height: 157px;
	background:url('../img/lights/light4.png') no-repeat;
	z-index:-3;
  }
  .lights5 {
	position: absolute;
	width: 237px;
	height: 237px;
	background:url('../img/lights/light5.png') no-repeat;
	z-index:-2;
}
#overall {
	width:100%;
	height:100%;
	position:fixed;
	background:url('../img/img2.jpg') no-repeat;
	background-position: 50% 50%;
	margin: auto auto -100px auto;
	z-index: -1;
}


@media screen and (min-width: 1600px) { /*Full HD*/
/*p.simplebox_img {
    margin-left: 0px;
}*/
div#textblock0 {
	overflow: visible !important;
}
#textblock0 {
	margin-top: 20px;
}
#textblock0 p {
	width:330%;
  }
#textblock4 {
	margin-top: 20px;
}
#shapka{
	padding:11.5% 0px 0px 0px;
  }	
#shapka1 {
	margin:-9% auto auto auto;
}
#colls {
	margin-top:9%;
  }
#parallax {
	background:url('../img/img3.jpg') no-repeat;
	background-position: 25% 25%;
	display:block;
  }
#overall {
	display:none;
  }
#up_up {
	display:none;
  }
}
@media screen and (min-width: 1200px) and (max-width: 1600px) { /*HD*/
/*p.simplebox_img {
    margin-left: 0px;
}*/
div#textblock0 {
	overflow: visible !important;
}
#textblock0 {
	margin-top: 20px;
}
#textblock0 p {
	width:330%;
  }
#textblock4 {
	margin-top: 20px;
}
#shapka{
	padding:8.5% 0px 0px 0px;
  }	
#shapka1 {
	margin:-12% auto auto auto;
}
#colls {
	margin-top:11%;
  }
#parallax {
	display:block;
  }
#overall {
	display:none;
  }
#up_up {
	display:visible;
  }
}
@media screen and (min-width: 800px) and (max-width: 1200px) and (-webkit-max-device-pixel-ratio: 1) { /*ПК*/
/*p.simplebox_img {
    margin-left: 0px;
}*/
div#textblock0 {
	overflow: visible !important;
}
#textblock0 {
	margin-top: 20px;
}
#textblock0 p {
	width:330%;
  }
#textblock4 {
	margin-top: 20px;
}
#shapka{
	padding:4.5% 0px 0px 0px;
  }
#shapka1 {
	margin-top:-13%;
}  
#colls {
	margin-top:11.5%;
  }
#parallax {
	display:block;
  }
#overall {
	display:none;
  }
#up_up {
	display:visible;
  }
}
@media screen and (min-width: 800px) and (max-width: 1200px) and (-webkit-min-device-pixel-ratio: 1.1) { /*планшет*/
/*p.simplebox_img {
    margin-left: 0px;
}*/
div#textblock0 {
	overflow: visible !important;
}
#textblock0 {
	margin-top: 20px;
}
#textblock0 p {
	width:330%;
  }
#textblock4 {
	margin-top: 20px;
}
#shapka{
	margin-top:auto;
	margin-bottom:auto;
	padding:2.5% 0px 0px 0px;
  }
#shapka1 {
	margin-top:-15%;
}  
#colls {
	margin-top:7%;
  }
#parallax {
	display:none;
  }
#overall {
	display:block;
  }
#up_up {
	display:none;
  }
}
@media screen and (max-width: 800px) and (-webkit-min-device-pixel-ratio: 0) { /*мобильный*/
/*p.simplebox_img {
    margin-left: -15px;
}*/
#shapka{
	margin-top:auto;
	margin-bottom:auto;
	padding:5.5% 0px 0px 0px;
  }
#shapka1 {
	margin-top:-13%;
}  
#colls {
	margin-top:12.5%;
  }  
#textblock0 p {
	width:100%;
  }
#parallax {
	display:none;
  }
#overall {
	display:block;
  }
#up_up {
	display:none;
  }
}


@media only screen and (device-aspect-ratio: 4/3) { /* соотношение 4/3 */
#shapka{
	margin-top:2%;
  }
#colls {
	margin-top:13.5%;
  }  
#textblock0 p {
	width:330%;
  }
#up_up {
	display:none;
  }
}
@media only screen and (device-aspect-ratio: 5/4) { /* соотношение 5/4 */
#shapka{
	margin-top:5%;
  } 
#colls {
	margin-top:15%;
  }
#textblock0 p {
	width:330%;
  } 
#up_up {
	display:none;
  }
}


#textblock1 {
	margin-top:20px;
}
#textblock1 p, #textblock11 p {
	font-size:16px;
}
#textblock1 a, #textblock11 a {
	font-size:16px;
}

.left, .central, .right {
	text-align:left;
	margin:15px 0px;
}


#textblock11 {
	  text-align:left;
}
  
@media screen and (min-width: 800px) and (-webkit-max-device-pixel-ratio: 2) { /*ПК*/
/*p.simplebox_img {
    margin-left: 0px;
}*/
div#textblock0 {
	overflow: visible !important;
}
  #textblock2 {
	  margin-bottom:20px;
  }
  #textblock3 {
	  margin-top:15px;
	  margin-bottom:20px;
	  float:left;
	  text-align:center;
  } 
  #textblock11 {
	  margin-top:-20px;
  }
}

@media screen and (max-width: 800px) and (-webkit-min-device-pixel-ratio: 2) { /*мобильный*/
/*p.simplebox_img {
    margin-left: -15px;
}*/
  #textblock2 {
	  margin-top:-15px;
	  margin-bottom:20px;
  }
  #textblock3 {
	  margin-bottom:0px;
  }
  #textblock11, #dot2 {
	  margin-top:-15px;
  }
  a:link { 
	text-decoration: none; 
  }
  a:visited { 
	text-decoration: none; 
  }
}


#colls2 {
	max-width:768px;
	margin:0px auto auto auto;
}

.footer {
	height:100px;
}
@media screen and (min-width: 800px) { /*ПК*/
.footer {
	width:800px;
	margin:0px auto;
	padding:0px;
	clear:both;
	border-top:#5c595d;
	border-top-style:dashed;
	border-width:1px;
	}
}
@media screen and (max-width: 800px) { /*мобильный*/
.footer {
	width:95%;
	margin:0px 5% 0px 0px;
	padding:0px;
	float:left;
	clear:both;
	border-top:#5c595d;
	border-top-style:dashed;
	border-width:1px;
	}
}
