html { font-size: 90%; }

figure.img {  /* изображение уменьшается пропорционально экрану браузера */
  max-width: 100%;
  height: 60px;;
  margin: 0;
  text-align: center;
}
figure.img figcaption {  /* стиль описания */
  padding: 0 1%;
  font: italic 90% Georgia,serif;
}

body {
	background: #e8e8e8 url("https://otrada.biz/image_css/FON/bg-light-4812.png");  /* изображение, цвет фона подложки 333 */
	font-family: "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	line-height: 1.5em;
	color: #4c4c4c;   /* 333  цвет основного текста */
	text-align: center;
	margin: 0;
	padding: 0;
	}

	figure.hover {
  position: relative;
}
figure.hover figcaption {
  position: absolute;
  left: 0;
  top: calc(100% + 5px);
  width: available; /* 100% минус горизонтальные margin, border и padding; нужен -moz- и -webkit- */
  visibility: hidden;
  background: #fff;
  box-shadow: 0 0 0 5px #fff, -5px 0 4px, 5px 0 4px, 0 5px 4px;
}
figure.hover:hover figcaption {
  visibility: visible;
}

element.style {
border-left: #003263 4px solid;
background-color: #ebebeb;
margin: 10px 0px 10px 10px;
width: 35%;
float: right;
color: #000000;
padding: 10px;
}

#suba { position: fixed;
  /*position: right;*/
  display: inline-block;
  right:0%;    /*позиция кнопки по горизонтале*/
  top:5%;
  /*float:left;*/
  z-index:2000; }

/* headers */
h2, h3, h4, h5, h6 {
	color: #099;   /* 099 Цвет заголовков по тексту */
	margin: 0;
	font-weight: normal;
	font-family: "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif; letter-spacing: -1px;
	}
h2 { font-size: 1.8em; margin: 25px 0 15px; padding-bottom: 15px; border-bottom: 1px solid #ccc; }  /* ccc Цвет горизонтальной линии */
h3 { font-size: 1.6em; margin: 25px 0 15px; }
h4 { font-size: 1.4em; margin: 20px 0 10px; }
h5 { font-size: 1.2em; margin: 20px 0 5px; }
h6 { font-size: 1em; margin: 20px 0 0; }

/* text */
p { margin: 15px 0; }
acronym { cursor: help; }
pre, code, blockquote {
	margin: 15px 0;
	border: 1px dashed #ff0000;  /* ddd Цвет */
	padding: 15px;
	display: block;
	background: #ff0000 url("https://otrada.biz/image_cssR/grey_grad_.jpg") repeat-x 0 -130px;  /* fff Цвет */
	color: #ff0000;/* 666 Цвет */
	}
blockquote {
	font-family: "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif; border: 1px solid #ff0000;  /* ddd Цвет  */
	padding: 0 15px 0 15px;
	background-color: #ff0000; /* eee Цвет */
	min-height: 60px;
	}
* html blockquote { height: 60px; }

/* links */
a { text-decoration: underline; color: #099; outline: none; } /* 099 Цвет ссылок*/
a:hover { text-decoration: none; }

/* images */
img { border: 10px solid #ddd; padding: 1px; background-color: #fff; } /* ddd- наружная, широкая обводка картинок.  fff - внутренняя обводка контура картинок Цвет */
a img { border:none; padding: 0px; margin-top: 5px; }
a:hover img { border-color: #ff0000; }   /* eee Цвет  */
img.right { margin: 0 0 20px 20px; }
img.left { margin: 0 30px 20px 0; }

/* lists */
ul, ol, dl { margin: 15px 0 15px 20px; padding: 0; }
ul { list-style-type: disc; }
ul ul, ol ol { margin-top: 0; margin-bottom: 0; }
ol { margin-left: 25px; }
dl { margin-left: 0; }
dl dt { font-weight: bold; margin-top: 15px; }
dl dd { margin: 0; }
dl dt, li { color: #099; }
li span { color: #333; }

/* tables */
table { margin: 5px 0; border: 1px solid #ddd; border-collapse: collapse; }
table th,
table td { padding: 1px 5px; text-align: left; }
table thead th {
	font-family: "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif;
	background-color: #099;
	color: #fff;
	font-weight: normal;
	font-size: 1.1em;
	border: 1px solid #099;
	}
table tbody th { background-color: #ddd; }
table tbody th,
table tbody td { border-top: 1px solid #ddd; }


/* forms */
form { background: url("https://otrada.biz/image_cssR/grey_grad_.jpg") repeat-x; border: 1px solid #ff0000; padding: 0; margin: 25px 0; } /* ddd Цвет  */
form fieldset { border: 0; padding: 10px 25px 15px; margin: 0; }
form fieldset legend { display: none; }
form p { height: 1%; }
form p:after { content: "."; display: block; clear: both; height: 0; visibility: hidden; }
form p label {
	font-size: 1em;
	color: #ff0000;   /* 333 Цвет */
	float: left;
	display: block;
	width: 30%;
	margin-right: 20px;
	font-family: "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif; }
form p input,
form p select,
form p textarea {
	font-size: 1em;
	color: #333;
	border: 1px solid #ff0000;  /* ddd Цве */
	padding: 8px;
	background-color: #ff0000; /* eee */
	width: 55%;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	}
form p select { width: 57.5%; }
form ul.fieldlist { margin: -30px 0 10px 33%; padding: 0; list-style-type: none; }
form ul.fieldlist li { color: #333; padding: 0 30px 5px 0; white-space: nowrap; } /* 333 */
form input.btn,
a.btn {
	width: auto;
	overflow: visible;
	border: 0;
	background: #099 url("https://otrada.biz/image_css/image_R.jpg") repeat-x 0 -30px;  /* 099 Цвет */
	padding: 8px 10px;
	cursor: pointer;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	}
a.btn:hover { background-color: #ccc; color: #333; }  /* ccc   333 */

/* horizontal rule */
hr { border: 0; height: 1px; background-color: #ddd; color: #ddd; margin: 30px 0 0; }     /* ddd   ddd */

/* classes */
.left { float: left; }
.right {float: right; }
.hide { display: none; }

/* list of links */
ul.links { list-style-type: none; margin-left: 0; }
ul.links li { margin: 5px 0; }

/* list of images */
ul.images {  margin-left: -45px; margin-bottom: 0; padding: 15px 0 0; list-style-type: none; height: 1%; width: 111%; }
* html ul.images { width: 100%; }
ul.images:after {  content: "."; clear: both; display: block; visibility: hidden; height: 0; }
ul.images li {  float: left; margin: 0; padding: 0 0 15px 15px; }
ul.images li img {  vertical-align: middle; }
li img {border: 10px solid #ddd; padding: 1px; background-color: #fff;}  /* ddd   fff */

/*------------------------------------------------------------*
**  Container
**------------------------------------------------------------*/
container {
	margin: 0 auto;
	width: 960px;
	position: relative;
    z-index: 999;
    }
#container  {	margin: 0 auto;
	width: 960px;

    }
/*------------------------------------------------------------*
**  Header
**------------------------------------------------------------*/
header{
    position: relative;
    z-index: 999;
    } /* { background: url("https://otrada.biz/image_css/header_.png") no-repeat; }
 Затемнение над главным заголовком*/

/* Logo */
#header h1 {
	font-family: "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 2.3em;
	font-weight: normal;
	color: #099;  /* #099 цвет  */
	margin: 0;
	padding: 5px 0;   /* расстояние от верха */
	letter-spacing: -1px;
	}
#header h1 a { text-decoration: none; color: #ff0000; }  /* #099 цвет текста заголовка над кнопками, первая часть */
#header h1 a:hover { text-decoration: none; }
#header h1 span { color: #ffff11; } /* #fff цвет текста заголовка над кнопками, вторая последующая часть*/

/* if you would like to replace the logo with
an image, comment out the above logo code and
uncomment the following */
/*
#header h1 {
	background: url(../img/logo.gif) no-repeat;
	width: [your-logo-width-here]px;
	height: [your-logo-height-here]px;
	margin: 0;
	float: left;
	}
#header h1 a {
	display: block;
	height: 100%;
	text-indent: -9999px;
	outline: none;
	}
*/

/*------------------------------------------------------------*
**  Body
**------------------------------------------------------------*/

 #body { padding: 10px 15px; background: #D7D5D5   /*url("https://otrada.biz/image_css/13_2.jpg")*/ repeat-x; }   /* #222 цвет боковы линий и верхнего блока
    position: relative;
    z-index: 999;
 "кнопок"  картинка по ссылке вставляет верхний блок под кнопками*/


/*------------------------------------------------------------*
**  Navigation
**------------------------------------------------------------*/
ul#nav {
	margin: 18px 0 20px;   /* расстояние от и до кнопок */
	padding:1px 1 1px;
	font-size: 1.2em;     /* размер шрифта кнопок  меню */
	list-style-type: none;
	border-top: 1px solid #535457;     /* #535457; верхняя горизонтальная черта над кнопками */
	border-bottom: 1px solid #050A10;  /* #050A10; нижняя горизонтальная черта под кнопками*/
	height: 1%;
	position: fixed; top: 0; left: 0; z-index: 9999; width: 69%; height: 50px;
	}

ul#nav:after {
	content: ".";
	clear: both;
	display: block;
	visibility: hidden;
	height: 0;
	}
ul#nav li {
	/* this width needs changing
	depending on the amount of links.
	Divide 100% by the amount of links
	and set the value here.
	e.g. 5 links: 100/5 = 20% */
	width: 20%;
	float: left;
	margin: 0;
	font-size: 2.1em;
	background: #3c3c3c url("https://otrada.biz/image_css/nav_over_.png") no-repeat 50% 100%;  /* #3C3C3C подсветка кнопки при наведении */
	}
ul#nav li a {
	display: block;
	background: #3c3c3c url("https://otrada.biz/image_css/nav_.png") repeat-x 50% 100%;   /* #3C3C3C подсветка кнопки при потери фокуса */
	padding: 11px 0 24px;
	color: #fff;   /* #fff цвет надписей кнопок */
	text-decoration: none;
	border-right: 1px solid #535457;  /* #535457; цвет вертикальных линий на кнопках справа */
	border-left: 1px solid #050A10;  /* #050A10;  цвет вертикальных линий на кнопках слева*/
	position: relative;
	}
ul#nav li.first a {	border-left-color: #535457; }  /* #535457;  */
ul#nav li a:hover { background-color: transparent; background-image: none; }
ul#nav li.on a,
ul#nav li.on a:hover { background-image: url("https://otrada.biz/image_css/nav_on_.png"); }

/*------------------------------------------------------------*
**  Content
**------------------------------------------------------------*/
#content { background-color: #fff; padding: 2px; text-align: left; } /* #fff фон под контентом */
#content div { background: url("https://otrada.biz/image_css/content_.png") repeat-x; padding: 1px 20px 15px; min-height: 195px; }
* html #content div { height: 195px; }
#content div:after { content: "."; display: block; clear: both; height: 0; visibility: hidden; }
#content div div
	{
	background-image: none;
	padding: 0;
	min-height: 0;
	}

*html #content div div
	{
	height: 1%;
	}

#content #sub
	{
	padding: 0 0 0 20px;
	}

#content #main
	{
	padding: 0 20px 0 0;
	}

#content #main
	{
	width: 466px;
	float: left;
	background: url("https://otrada.biz/image_css/main_.png") no-repeat 100% 0%;
	}

#content #sub
	{
	width: 164px;
	float: right;
	}

#home #content #sub
	{
	padding: 0 20px 0 0;
	width: 340px;
	float: left;
	background: url("https://otrada.biz/image_css/sub_.png") no-repeat 100% 0%;
	margin-top: 25px;
	}

#home #content #main
	{
	padding: 0 0 0 20px;
	float: right;
	width: 400px;
	background-image: none;
	}

#content #sub h2
	{
	font-size: 1.6em;
	padding-bottom: 10px;
	margin-bottom: 10px;
	}
/*------------------------------------------------------------*
**  Footer
**------------------------------------------------------------*/
#footer
	{
	font-family: "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.3em;
	font-weight: normal;
	padding: 0 80px;
	background-color: #CECDC8; /* 222 нижняя  полоса */
	height: 5%;
	font-size: 1.2em;
	color: #099;   /* #ccc цвет текста  на полосе*/
	margin-top: -40px;
	}

#footer:after
	{
	font-family: "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.3em;
	font-weight: normal;
	content: ".";
	clear: both;
	visibility: hidden;
	display: block;
	height: 0;
	}

#right
	{
    border:2px solid red;
    width: 100px;
    height:56px;
    right:10px;
    border-radius:15px;
    position:fixed;
    top:34%;
    z-index:2000;
    background: #fff;
	}

div.suba
	{
	position: fixed;    /*position: right;*/
  	display: inline-block;
  	right:0%;    /*позиция кнопки по горизонтале*/
  	top:5%;    /*float:left;*/
 	z-index:2000;
 	}

.horizontal-nav
	{
    background: #efefef;
    border-radius: 6px;
  	}

.horizontal-nav ul
	{
    background: #128F9A;
    float: left;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #0e7079;
  	}

.horizontal-nav ul li
	{
    float: left;
    border-left: 1px solid #0e7079;
  	}

.horizontal-nav ul li:first-child
	{
    border-left: 0 none;
  	}

.horizontal-nav ul li a
	{
    display: block;
    padding: 10px 20px;
    color: #fff;
    border-top: 1px solid rgba(255,255,255, 0.25);
    border-left: 1px solid rgba(255,255,255, 0.25);
  	}
.horizontal-nav ul li:first-child a
	{	border-left: 0 none;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
  	}

.horizontal-nav ul li a:hover
	{
    background: #12808a;
  	}

.horizontal-nav ul li:last-child a {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
  	}