/*
 *-----------------------------------------------------------------------------------
 * === CSS DESIGN ===
 *-----------------------------------------------------------------------------------
 * author Victor Skakun 
 */
BODY
{
	background-color: #CFE9F2;
	background-attachment: fixed;
	background-size: cover;
	background-position: center center;
}
#nebo {
	background-image: url(../template/images/fon.jpg);
	background-repeat: repeat-y;
	/*+placement:margin-auto 0px -20px;*/
	margin-left: auto;
	margin-right: auto;
	position: relative;
	left: 0px;
	top: -20px;
	background-attachment: fixed;
	padding-top: 32px;
	padding-bottom: 8px;
}
#wrap {
	width: 100%;
	/*max-width: 960px;*/
	min-width: 620px;	
	max-width: 1008px;
	margin-left: auto;
	margin-right: auto;
}
#logo {
	background-color: #F1F3F3;
	padding: 22px;
	/*+box-shadow:inset 0px 0px 54px #8BC0F2;*/
	-moz-box-shadow: inset 0px 0px 54px #8BC0F2;
	-webkit-box-shadow: inset 0px 0px 54px #8BC0F2;
	-o-box-shadow: inset 0px 0px 54px #8BC0F2;
	box-shadow: inset 0px 0px 54px #8BC0F2;
	height: 152px;
}
#logo1  {
	float: left;
	width: 130px;
	height: 130px;
	border: 12px solid #F5F6F6;
	/*+border-radius:15px;*/
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	-khtml-border-radius: 15px;
	border-radius: 15px;
	/*+box-shadow:3px 3px 11px #45484B;*/
	-moz-box-shadow: 3px 3px 11px #45484B;
	-webkit-box-shadow: 3px 3px 11px #45484B;
	-o-box-shadow: 3px 3px 11px #45484B;
	box-shadow: 3px 3px 11px #45484B;
	background-image: url(../template/images/logo.jpg);
}
#logo2 {
	float: none;
	overflow:hidden;
	/*+border-radius:15px;*/
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	-khtml-border-radius: 15px;
	border-radius: 15px;
	/*+box-shadow:3px 3px 11px #45484B;*/
	-moz-box-shadow: 3px 3px 11px #45484B;
	-webkit-box-shadow: 3px 3px 11px #45484B;
	-o-box-shadow: 3px 3px 11px #45484B;
	box-shadow: 3px 3px 11px #45484B;
	border: 12px solid #F5F6F6;
	height: 130px;
	background-color: #8BC0F2;
	background-image: url(../template/images/fonsha.jpg);
	background-repeat: no-repeat;
}
#sitename {
	text-align: justify;
	float: left;
	margin: 18px 18px 18px 28px;
}
#sitename H1 {
	/*font-family: fantasy;*/
	font-size: 20.0pt;
	margin-top: 1px;
	text-align: left;
	line-height: 1.1;
	color: #3D0000;
	/*+text-shadow:2px 2px #DEE0E5;*/
	-moz-text-shadow: 2px 2px #DEE0E5;
	-webkit-text-shadow: 2px 2px #DEE0E5;
	-o-text-shadow: 2px 2px #DEE0E5;
	text-shadow: 2px 2px #DEE0E5;
}
#slogan {
	float: right;
	width: 194px;
	margin-top: 8px;
	margin-right: 20px;
}
#slogan H2 {
	font-size: 13pt;
	text-align: justify;
	font-style: italic;
	font-family: Candara;
    color: #000000;
}
.gap {
	float:left;
	width: 18px;
}
.gap1 {
	width: 0px;
	height: 7px;
}
#menu-sm  {
	float: none;
	overflow:hidden;
	margin: 0 auto;
	background-color: #F1F3F3;
	/*+box-shadow:inset 0px 0px 54px #8BC0F2;*/
	-moz-box-shadow: inset 0px 0px 54px #8BC0F2;
	-webkit-box-shadow: inset 0px 0px 54px #8BC0F2;
	-o-box-shadow: inset 0px 0px 54px #8BC0F2;
	box-shadow: inset 0px 0px 54px #8BC0F2;
	/*padding: 4px 28px 10px 2px;*/
	min-height: 258px;
}
#menu-sm UL {
	padding: 20px;
	margin: 0 auto;
}
#menu-sm LI  {
	list-style: none;
	margin-bottom: 14px;
	text-align: center;
}
#menu-sm LI A {
	text-decoration: none;
	/*width: 174px;*/
	padding: 5px 11px;
	background-color: #8BC0F2;
	/*+border-radius:14px;*/
	-moz-border-radius: 14px;
	-webkit-border-radius: 14px;
	-khtml-border-radius: 14px;
	border-radius: 14px;
	/*+box-shadow:1px 2px #080907;*/
	-moz-box-shadow: 1px 2px #080907;
	-webkit-box-shadow: 1px 2px #080907;
	-o-box-shadow: 1px 2px #080907;
	box-shadow: 1px 2px #080907;
	font-family: Arial;
	font-size: 12pt;
	color: #1A2D0A;
	display: block;
	/*+text-shadow:-1px -1px #EEF1EC;*/
	-moz-text-shadow: -1px -1px #EEF1EC;
	-webkit-text-shadow: -1px -1px #EEF1EC;
	-o-text-shadow: -1px -1px #EEF1EC;
	text-shadow: -1px -1px #EEF1EC;
	font-weight: bold;
}
#menu-sm LI A:active {
	/*+box-shadow:-1px -2px #080907;*/
	-moz-box-shadow: -1px -2px #080907;
	-webkit-box-shadow: -1px -2px #080907;
	-o-box-shadow: -1px -2px #080907;
	box-shadow: -1px -2px #080907;
	/*+text-shadow:1px 1px #EEF1EC;*/
	-moz-text-shadow: 1px 1px #EEF1EC;
	-webkit-text-shadow: 1px 1px #EEF1EC;
	-o-text-shadow: 1px 1px #EEF1EC;
	text-shadow: 1px 1px #EEF1EC;
}
.news-sm  {
	float: none;
	overflow:hidden;
	max-height: 442px;
	background-color: #F1F3F3;
	padding: 16px 10px;
	/*+box-shadow:inset 0px 0px 54px #8BC0F2;*/
	-moz-box-shadow: inset 0px 0px 54px #8BC0F2;
	-webkit-box-shadow: inset 0px 0px 54px #8BC0F2;
	-o-box-shadow: inset 0px 0px 54px #8BC0F2;
	box-shadow: inset 0px 0px 54px #8BC0F2;
}
/* добавим очистку потока для всех контейнеров, внутри которых задано обтекание дочерних элементов */
header:after, aside:after, .container:after, footer:after  {
	content: "";
	display: table;
	clear: both;
} 
/* стилевой класс, который управляет шириной контейнера сетки*/
.container {
	margin: 0 auto;
	width: 100%;
	padding: 6px 0px;
} 
.widget {
	/*display: table;
	clear: both;
	margin-bottom: 8px;
	/*box-shadow: 3px 3px 1px rgba(0,0,0,.05);*/
}
/* левый контейнер */
#cont-sm {
	background-color: #F1F3F3;
	padding: 7px;
	min-height: 784px;
	width: 74%;
	float: right;
	/*+box-shadow:inset 0px 0px 54px #8BC0F2;*/
	-moz-box-shadow: inset 0px 0px 54px #8BC0F2;
	-webkit-box-shadow: inset 0px 0px 54px #8BC0F2;
	-o-box-shadow: inset 0px 0px 54px #8BC0F2;
	box-shadow: inset 0px 0px 54px #8BC0F2;
}
/* правый контейнер */
aside {
	width: 24%;
	float: left;
}
footer {
	background-color: #F1F3F3;
	text-align: center;
	min-height: 41px;
	/*+box-shadow:inset 0px 0px 54px #8BC0F2;*/
	-moz-box-shadow: inset 0px 0px 54px #8BC0F2;
	-webkit-box-shadow: inset 0px 0px 54px #8BC0F2;
	-o-box-shadow: inset 0px 0px 54px #8BC0F2;
	box-shadow: inset 0px 0px 54px #8BC0F2;
	font-family: "Calibri";
	font-size: 13pt;
	color: #171D5E;
}
.footer_text {
	padding: 0px 12px;
}
.str {
	margin-top: 12px;
}
.colored {
	color: #141E8B;
}
#newsname {
	font-family: Arial;
	font-weight: bold;
	/*+text-shadow:-1px -1px #EEF1EC;*/
	-moz-text-shadow: -1px -1px #EEF1EC;
	-webkit-text-shadow: -1px -1px #EEF1EC;
	-o-text-shadow: -1px -1px #EEF1EC;
	text-shadow: -1px -1px #EEF1EC;
	color: #1A2D0A;
	font-size: 13pt;
	text-align: center;
}
#newssite {
	padding: 8px;
	font-size: 12pt;
	font-family: Constantia;
}
#zag {
	text-align: center;
	font-family: Calibri;
	font-size: 17.8pt;
	font-style: italic;
	color: #0B0603;
	/*+text-shadow:2px 1px #BA7777;*/
	-moz-text-shadow: 2px 1px #BA7777;
	-webkit-text-shadow: 2px 1px #BA7777;
	-o-text-shadow: 2px 1px #BA7777;
	text-shadow: 2px 1px #BA7777;
}
#lfont {
	font-size:5;
}
.contstr {
	padding: 0px 14px;
	font-family: "Andale Mono";
	font-size: 13pt;
	color: #251F1A;
}
.contstr A {
	font-style: italic;
	font-family: Georgia;
	font-size: 11.6pt;
	color: #231E8C;
	text-decoration: none;
	border-bottom: 1px dotted #231E8C;
}
.contstr A:hover {
	border-bottom: 1px dashed #231E8C;
	color: #07053D;
}
.hidden {
	visibility: hidden;
	font-size:50%;
	height: 0;
}
.pricing {
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #bbb;
 	width:100%;
 	bordercolor: #000000;
 	cellpadding: 5;
 	cellspacing: 0;    
}
.pricing thead {
    display: table-header-group;
    vertical-align: middle;
    border-color: inherit;
    background-color:   #d6eaf4;
}
.pricing td, .pricing th {
    border-top: 1px solid #ddd;
    padding: 4px 8px;
}
.pricing tbody tr:nth-child(even) td {
    background-color: #eee;
}
.imtable {
	border:0;
}
.imtable td p {
	margin-top: 0cm;
	margin-bottom: 0cm;
}
.imtable .imheader {
	padding-bottom: 0.2cm;
	padding-left: 14px;
	padding-right: 14px;
	font-size:112%;
}
.mywork td p {
	margin-top: 0.1cm;
}
.mywork .imheader {
	margin-top: 0.04cm;	
	padding-top: 0.2cm;	
	padding-bottom: 0.18cm;
	font-size:112%;
}
.button {
  display: inline-block;
  border-radius: 4px;
  background-color: #2f72eb;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 14px;
  padding: 6px;
  width: 160px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}
.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}
.img-icon {
	display: inline-block;
	margin-left: 4px;
	margin-right: 4px;
	vertical-align: middle;
}
#message
{
	display: block;
	display: none;
	z-index: 999;
	opacity: .6;
	position: fixed;
	top: 100%;
	margin-top: -50px; /* = height + preferred bottom margin */
	left: 80%;
	margin-left: -80px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	width: 160px;
	line-height: 24px;
	height: 24px;
	padding: 10px;
	background: #b1b1b1;
	font-size: 18px;
	text-align: center;
	text-decoration: none;
}
#message a { color: #F9F9FF; }

.guest_table {
	font-size: 12pt;
    font-family: Constantia;
}

@media (max-width: 768px) {
	#logo {
		padding: 8px;
		height: 154px;
	}
	#nebo {
		left: -6px;	
		padding-left: 2px;	
		padding-right: 2px;	
		padding-top: 16px;
		padding-bottom: 0px;
	}
	#wrap {
		width: 100%;
		margin-left: 0px;
		margin-right: 0px;
	}
	#sitename {
		width: 52%;
		margin: 8px;
	}	
	#sitename H1 {
		/*font-family: fantasy;*/
		font-size: 17pt;
	}
	#slogan {
		float: right;
		width: 42%;
		margin-right: 8px;
		margin-top: 0px;
	}
	#slogan H2 {
		font-size: 12pt;
		/*margin-top: -20px;*/
	}
	
	/* отменяем обтекание левой и правой колонок, устанавливаем им ширину 100%*/
	aside {
		width: 100%;
		float: none;
	}
	#cont-sm {
		float: none;
		display: table-cell;
		padding: 7px;
		min-height: 784px;
		width: 100%;
		background-color: #F1F3F3;		
		/*+box-shadow:inset 0px 0px 54px #8BC0F2;*/
		-moz-box-shadow: inset 0px 0px 54px #8BC0F2;
		-webkit-box-shadow: inset 0px 0px 54px #8BC0F2;
		-o-box-shadow: inset 0px 0px 54px #8BC0F2;
		box-shadow: inset 0px 0px 54px #8BC0F2;
	}
	#menu-sm  {
		float: left;
		margin: 0 auto;
		background-color: #F1F3F3;
		/*+box-shadow:inset 0px 0px 54px #8BC0F2;*/
		-moz-box-shadow: inset 0px 0px 54px #8BC0F2;
		-webkit-box-shadow: inset 0px 0px 54px #8BC0F2;
		-o-box-shadow: inset 0px 0px 54px #8BC0F2;
		box-shadow: inset 0px 0px 54px #8BC0F2;
		/*padding: 4px 28px 10px 2px;*/
		/*min-height: 258px;*/
	}
	#menu-sm UL {
		padding: 10px;
		margin-top: 0;
		margin-bottom: -4px;
	}
	#menu-sm LI  {
		margin-bottom: 12px;
	}
	.gap {
		width: 8px;
	}
	.gap1 {
		float:left;
		width: 5px;
		height: 1px;
	}
	.news-sm  {
		float: none;
		overflow:hidden;
		max-height: 288px;
		background-color: #F1F3F3;
		padding: 8px 10px;
		/*+box-shadow:inset 0px 0px 54px #8BC0F2;*/
		-moz-box-shadow: inset 0px 0px 54px #8BC0F2;
		-webkit-box-shadow: inset 0px 0px 54px #8BC0F2;
		-o-box-shadow: inset 0px 0px 54px #8BC0F2;
		box-shadow: inset 0px 0px 54px #8BC0F2;
	}
	.contstr {
		padding: 0px 10px;
	}
	.pricing table {
		overflow-x: auto;
		display: block;
	}
	.footer_text {
		padding: 0px 8px;
		float:left;
	}

}
