html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, sub, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
/*background: #fff url('/images/cms/data/tetrisweb/pat.png') center top;*/
background: #fff url('/images/cms/data/tetrisweb/background1.jpg') no-repeat;

}
a img, :link img, :visited img {
border: 0;
}
#header {
text-align: center;
}
#container {
width: 90%;
margin: 0 auto;
color: #434342;
padding: 0 10px;
/*background: #fff;*/
display: flex;
flex-direction: column;
min-height: 100vh;
}

#menu_default {
background: #fff;
width: 80%;
margin: 0 auto;
}
#menu_default ul  li{
list-style: none;
display: inline;
text-align: center;
}
#menu_default img{
width: 23%; 
height: auto; 
margin: 15px;
-webkit-filter: grayscale(100%);
-webkit-transition: 0.5s ease;
}
#menu_default img:hover {
-webkit-filter: grayscale(0%);  
}
#menu_line {
width: 100%;
/*background: url(/images/cms/data/tetrisweb/line_bold.gif) repeat-x 100% 100%;*/
border-bottom: solid #fecc00 1.5px;
}
#menu_line ul  li{
list-style: none;
display: inline;
}
#menu_line img {
height: auto;
width: 7.4%;
margin: 0.2%;
-webkit-filter: grayscale(100%);
-webkit-transition: 0.5s ease;
}
#menu_line img:hover {
-webkit-filter: grayscale(0%);  
}
#active img {
-webkit-filter: grayscale(0%);  
}
#content {
font-family: Arial, sans-serif;
line-height: 1.4;
background: #fff;
padding: 10px;
flex-grow: 1;
}
h1, h2  {
font-size: 120%;
font-weight: bold;
margin: 0.7%;
/*background: url(/images/cms/data/tetrisweb/line_lite.gif) repeat-x 100% 100%;*/
display: inline-block;
background: #fed93d;
position: relative;
left: -20px;
padding: 12px 50px;
-webkit-border-radius: 0 12px 12px 0;
-moz-border-radius: 0 12px 12px 0;
-ms-border-radius: 0 12px 12px 0;
-o-border-radius: 0 12px 12px 0;
border-radius: 0 12px 12px 0;
max-width: 800px;
/*text-align: left !important;*/
}
h2 {
font-size: 100%;
left: -45px;
padding: 11px 33px;
margin-bottom: 20px;
/*background: url(/images/cms/data/tetrisweb/line_lite.gif) repeat-x 100% 100%;*/
}
#portfolio {
border: solid 1px #fecc00;
height: auto;
margin: 5px;
-webkit-filter: saturate(1.1);
width: 31%;
}
#site img:hover, #cards img:hover, #menus img:hover, #logo img:hover, #calenders img:hover {
-webkit-filter: saturate(1.8);
-webkit-transform: scale(1.05);
-ms-transform: scale(1.05);
transform: scale(1.05);
transition: all 1.5s ease;
will-change: transform;
}
#content #text div {
margin: 15px 25px;	
}
#text table p {
margin: 0;
}
#text table{
width: 100%;
}
#text p {
margin: 15px 0;
}
#text ul li {
list-style: none;
background: url(/images/cms/data/tetrisweb/bullet.png) no-repeat left center;
padding: 0 0 1px 13px;
margin: 0 0 0 10px;
}
#text table {
text-align: left;
border-collapse:collapse;
font-size: 90%;
color: #434342;
}
#calctab {
width: 40% !important;
}
#text thead {
font-weight: bold;
background-color:#FFB800;
}
#text td, th {
padding:10px;
border-top: 1px solid #fecc00;
border-bottom: 1px solid #fecc00;
vertical-align: middle;
}
#text th {
text-align: center;
font-size: 16px;
background: #e2e2e27a;
}
#text tr:hover {
background: #e2e2e27a;	
}
.button {
font-size: small;
color: rgb(140, 140, 140);
}
#footer {
padding: 10px 40px;
/*background: url(/images/cms/data/tetrisweb/line_bold.gif) repeat-x top;*/
background: #fff;
border-top: solid #fecc00 1px;
flex-shrink: 0;
}
#footer p {
padding: 10px;
font-family: Arial, sans-serif;
font-size: 80%;
color: #a4a4a2;
}
#logo_footer {
width: 80px;
height: 40px;
float: left;
margin: 5px;		
}
/* map */

.mapw {
  height: 520px;
  margin: 10px 20px;
  position: relative;
  padding: 10px;
  background: #fff;
}

.map {
  width: 100%;
  height: 520px;
}

.loader {
  background:url('/images/cms/data/tetrisweb/loader.gif') no-repeat center #fff;
}

.bubble .close {
  display:block;
  text-indent:-9999px;
  position:absolute;
  top:-8px;
  right:-8px;
  width:20px;
  height:20px;
  outline:none;
  background:url('/images/cms/data/tetrisweb/close.png') no-repeat;
  cursor:pointer;
}

.mapNav {
  width:78px;
  height:52px;
}

.navBtn {
  position:absolute;
  background-repeat:no-repeat;
  border: solid 1px #999;
  width:23px;
  height:23px;
  text-indent:-9999px;
  display:block;
  z-index:7px;
}

.navBtn0 {
  top:0;
  left:26px;
  background: #fff url('/images/cms/data/tetrisweb/navtop.png') -1px -1px;
}

.navBtn1 {
  top:26px;
  left:52px;
  background: #fff url('/images/cms/data/tetrisweb/navright.png') -1px -1px;
}

.navBtn2 {
  top:52px;
  left:26px;
  background: #fff url('/images/cms/data/tetrisweb/navbottom.png') -1px -1px;
}

.navBtn3 {
  top:26px;
  left:0;
  background: #fff url('/images/cms/data/tetrisweb/navleft.png') -1px -1px;
}

.navBtn:hover {
  background-color: #fc0;
  border-color:#000;
}

.point {
  display: block;
  text-indent: -9999px;
  width: 64px;
  height: 36px;
  outline: none;
  background: url('/images/cms/data/tetrisweb/marker.png') no-repeat;
  cursor: pointer;
}

.bubble {
  padding: 20px;
  background: #fff;
  color: #000;
  width: 240px;
  font-size: 11px;
  border: solid 2px #000;
  margin-top: 6px;
  text-indent: 0;
}

.bubble p {
  text-indent: 0 !important;
  margin: 0;
  padding: 0;
}

.bubble h3 {
  margin: 10px 0 5px 0 !important;
  text-indent: 0 !important;
  padding: 0 !important;
}

.map_buttons, .map_buttons li {
  list-style-type: none;
  list-style-image: none;
  position: absolute;
  overflow: visible;
  padding-left: 25px;
  padding-top: 5px;
}

.map_buttons a {
  position: absolute;
  display: block;
  width:25px;
  height:25px;
  outline:none;
  text-indent:-9999px;
  display:block;
  z-index:99;
  top: -479px;
  left: 21px;
  background: url('/images/cms/data/tetrisweb/navpoint.png') no-repeat;
}

/* /map */
/* form */

.order{
  width: 580px;
  margin: 20px auto;
  padding-right: 155px;
  text-indent: 0;
}

#content form.wait {
  background-color: #ccc;
}

#content label {
	float: left;
	text-align: right;
	margin-right: 15px;
	width: 153px;
	padding-top: 5px;
	color: #666;
	clear: both;
}

#content label.req {
	color: #333;
}

#content img.captcha {
	float: left;
	padding: 0;
	margin: 0 5px 0 0;
}

#content input.captcha {
	width: 200px;
}

#content input, #content textarea, #content select {
	padding: 5px;
	/*width: 400px;*/
	margin: 0 0 4px 0;
	border: 1px solid #ccc;
	clear: both;
}
.order input, .order textarea {
	width: 400px;
}

#content input.required, #content select.required {
	background: #fff url('/images/cms/data/tetrisweb/ast.png') no-repeat center right;
}

#content input.required:hover, #content select.required:hover {
	background: #fff url('/images/cms/data/tetrisweb/ast2.png') no-repeat center right;
}

#content input.required:focus, #content select.required:focus {
	background: #fff url('/images/cms/data/tetrisweb/ast3.png') no-repeat center right;
}

#content textarea.required {
	background: #fff url('/images/cms/data/tetrisweb/ast.png') no-repeat top right;
}

#content textarea.required:hover {
	background: #fff url('/images/cms/data/tetrisweb/st2.png') no-repeat top right;
}

#content textarea.required:focus {
	background: #fff url('/images/cms/data/tetrisweb/ast3.png') no-repeat top right;
}


#content input.date, #content input.int {
	width: 200px;
	margin-right: 200px;
}

#content input.check {
  margin-left: 178px;
  width: auto;
  float: left;
  padding: 10px;
  border: inherit;
  margin-top: 10px;
}

#content label.check {
  float: left;
  text-align: left;
  margin: 0;
  clear: none;
  width: 400px;
  padding: 0 10px;
  margin-top: 10px;
}

#content textarea {
	height: 8em;
}

#content input:hover, #content textarea:hover {
	border-color: #999;
}

#content input:focus, #content textarea:focus {
	border-color: #000;
}

#content label.tip span {
  border-bottom: dotted 2px #666;
  cursor: help;
}

#content span.tip:hover {
  background-color: #000;
}

#content input.error {
  border-color: #b00 !important;
  background: #fff url('/images/cms/data/tetrisweb/ast4.png') no-repeat center right !important;
}

#content textarea.error {
  border-color: #b00 !important;
	background: #fff url('/images/cms/data/tetrisweb/ast4.png') no-repeat top right !important;
}

#content div.err {
  clear: both;
  margin: 10px 12px 10px 168px;
  padding: 10px 20px;
  color: #b00;
  text-align: center;
  background: #fff url('/images/cms/data/tetrisweb/err.png') no-repeat top right;
  border: solid 2px #b00;
}

#content div.err ul {
  list-style: none;
}

#content div.err img {
  vertical-align: middle;
  padding-right: 5px;
}

#content div.ok {
  width: 360px;
  padding: 10px 20px;
  margin: 0 auto;
  color: #080;
  text-align: center;
  background: #fff url('/images/cms/data/tetrisweb/ok.png') no-repeat top right;
  border: solid 2px #080;
}


#content div.tip {
  clear: both;
  margin: 0 12px 5px 168px;
  background: #fff url('/images/cms/data/tetrisweb/exc.png') no-repeat 2px 5px;
  padding: 10px 10px 10px 30px;
  color: #000;
  text-align: left;
  font-size: 12px;
  line-height: 14px;
}


#content p.info {
  text-align: center;
  color: #666;
  text-indent: 0;
  margin: 10px 0 0 168px;
}

/****/
/****/

#content div.cmd {
  overflow: visible;
  padding: 10px 20px;
  clear: both;
}

#content div.cmd div.a {
  width: auto;
  display: block;
  float: right;
  background-color: #fff;
  color: #000;
  border: solid 1px #000;
  cursor: pointer;
  text-decoration: underline;
  margin: 0;
  padding: 1px;
}

#content div.cmd a, #content div.cmd input {
  width: auto;
  display: block;
  padding: 5px 15px;
  float: right;
  background-color: #fff;
  cursor: pointer;
  margin: 0;
  border: none;
}

#content div.cmd a:hover, #content div.cmd input:hover {
  background-color: #fc0;
}

/****/


	.modalDialog {
		position: fixed;
		font-family: Arial, Helvetica, sans-serif;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(0,0,0,0.8);
		z-index: 99999;
		-webkit-transition: opacity 400ms ease-in;
		-moz-transition: opacity 400ms ease-in;
		transition: opacity 400ms ease-in;
		display: none;
		pointer-events: none;
	}

	.modalDialog:target {
		display: block;
		pointer-events: auto;
	}

	.modalDialog > div {
		max-width: 400px;
		position: relative;
		margin: 10% auto;
		padding: 5px 20px 13px 20px;
		border-radius: 10px;
		background: #fff;
		background: -moz-linear-gradient(#fff, #FAE907);
		background: -webkit-linear-gradient(#fff, #FAE907);
		background: -o-linear-gradient(#fff, #FAE907);
	}

	.close {
		background: #606061;
		color: #FFFFFF;
		line-height: 25px;
		position: absolute;
		right: -12px;
		text-align: center;
		top: -10px;
		width: 24px;
		text-decoration: none;
		font-weight: bold;
		-webkit-border-radius: 12px;
		-moz-border-radius: 12px;
		border-radius: 12px;
		-moz-box-shadow: 1px 1px 3px #000;
		-webkit-box-shadow: 1px 1px 3px #000;
		box-shadow: 1px 1px 3px #000;
	}

	.close:hover { background: #FAB303; }
	
/* адаптивное */
#mobile {
display: none;
}
@media screen and (max-width: 1050px) {
#menu_default img{
width: 24%; 
height: auto; 
margin: 10px;
}
}

@media screen and (max-width: 900px) {
#menu_default img{
width: 28%; 
height: auto; 
margin: 10px;
}
#menu {
display: none;
}
#mobile {
display: block;
}
#mobile img{
margin: 6px;
}
#menu_line img {
width: 25%; 
-webkit-filter: grayscale(0);
margin: 0 0 7px 5px;
}
#logo img {
width: 170px;
display: inline;
}
}

@media screen and (max-width: 800px) {
#menu_default img{
width: 40%; 
height: auto; 
margin: 10px;
}
}


/* конец адаптивного */
