﻿html { 
  height: 100%;}

* { 
  margin: 0; 
  padding: 0;}

/* Сообщаем браузеру, что работаем с блоками HTML 5 */
article, aside, figure, footer, header, hgroup, nav, section { 
  display:block;}

/* Общие параметры сайта: шрифт, размеры заголовков,  */
body { 
  font: normal .80em Verdana, arial, sans-serif;}

p { 
  padding: 0 0 25px 0;      /* отступы параграфов текста между <p>...</p> */
  line-height: 1.4em;}      /* отступы между строками */

img { 
  border: 0;}

h1, h2, h3, h4, h5, h6 { 
  font: normal 350% arial, sans-serif;
  margin: 0 0 5px 0;
  padding: 0;}

h2 { 
  font: normal 170% arial, sans-serif;
  margin: 0;
  padding: 0 0 8px 0;}

h3 { 
  font: normal 150% arial, sans-serif;}

h4, h5, h6 { 
  margin: 0;
  padding: 0 0 5px 0;
  font: normal 110% arial, sans-serif;
  line-height: 1.5em;}

h5, h6 { 
  font: italic 95% arial, sans-serif;
  padding-bottom: 15px;}

a, a:hover { 
  outline: none;
  text-decoration: none;}

a:hover { 
  text-decoration: none;}

ul { 
  margin: 2px 0 22px 17px;}

ul li { 
  list-style-type: circle;
  margin: 0 0 0 0; 
  padding: 0 0 4px 5px;}

ol { 
  margin: 8px 0 22px 20px;}

ol li { 
  margin: 0 0 11px 0;}

#main, #header, #logo, #menubar, #site_content, #footer { 
  margin-left: auto; 
  margin-right: auto;}

/* Ширина отступы всего сайта */
#main { 
  width: 950px;
  margin: 20px auto;}

/* Ширина отступы заголовка */
header { 
  width: 950px;
  height: 105px;}

/* Параметры логотипа */
#logo { 
  width: 950px;
  float: left;
  height: 150px;
  background: transparent;
  padding: 0;}

#logo h1 { 
  font: normal 500% Mistral, arial, sans-serif;  /* Величина шрифта логотипа в процентах */
  padding: 10px 0 0 30px;
   color: #9A4267;  }  /* Отступы логотипа */
  
#logo h2 { 
  font: normal 300% Mistral, arial, sans-serif;  /* Величина шрифта логотипа в процентах */
  padding: 10px 0 0 30px;
    color: #a41; }  /* Отступы логотипа */
 
  

#logo h1 a:hover { 
  text-decoration: none;}

/* Контент Главной страницы */
#content_gl
{ width: 900px;
  margin: 0 0 20px 20px;
  float: left;}

.content_item_gl
{ width: 900px;
  margin-bottom: 20px;}
 
.content_imagetext_gl
{ width: 890px;
  padding: 5px;
  margin: 20px 0 0 0;
  float: left;}
 
.content_image_gl
{ float: left; 
  width: 500px;
  height: 350px;
  margin: 0 20px 10px 0;
  padding: 10px;
  -moz-box-shadow:    inset 0 0 20px #ADADAD;
  -webkit-box-shadow: inset 0 0 20px #ADADAD;
  box-shadow:         inset 0 0 20px #ADADAD;}
  
.content_container_gl
{ width: 275px;
  padding: 5px;
  margin: 10px 10px 20px 0;
  float: left;}

 .button_small_gl
{ font: normal 110% Arial, Helvetica, sans-serif;
  width: 80px;
  padding: 5px 2px 7px 2px;
  background: #CCC;
  background: -moz-linear-gradient(#FFF, #BBB);
  background: -o-linear-gradient(#FFF, #BBB);
  background: -webkit-linear-gradient(#FFF, #BBB); 
  border-radius: 7px 7px 7px 7px;
  -moz-border-radius: 7px 7px 7px 7px;
  -webkit-border: 7px 7px 7px 7px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;}
  
.button_small_gl a
{ color: #000;
  text-shadow: 1px 1px #FFF;
  padding-left: 5px;}
  
.button_small_gl  a:hover {
text-decoration: none;
  color: #000;
  text-shadow: 0px 1px #CCC;

}

/* Контент сайта */
#site_content { 
  width: 950px;
  overflow: hidden;
  margin: 4px auto 0 auto;
  padding: 0;}

#left_content { 
  float: left;
  width: 444px;
  padding: 20px 0 5px 25px;
  margin: 0;}

#left_content ul { 
  margin: 2px 0 22px 0px;}

#left_content ul li { 
  list-style-type: none;
  margin: 0 0 0 0; 
  padding: 2px 0 2px 28px;
  line-height: 1.5em;}

#right_content { 
  float: right;
  width: 450px;
  padding: 0;
  min-height: 450px;}

#right_content img { 
  float: left;}


/* Подвал */
foot { 
  height: 100%;
  width: 930px;
  float: left;
  margin: 10px auto 10px auto;
  font: 100% Verdana, arial, sans-serif;
  text-align: left;}

foot p { 
  margin: 10px auto 0px auto;}

footer a, footer a:hover {
  text-decoration: none;}

footer { 
  height: 54px;
  width: 930px;
  float: left;
  margin: 10px auto 10px auto;
  padding: 0px 10px 0 0;
  border-radius: 7px 7px 7px 7px;
  -moz-border-radius: 7px 7px 7px 7px;
  -webkit-border: 7px 7px 7px 7px;
  font: 100% Verdana, arial, sans-serif;
  text-align: right;}

footer p { 
  margin: 20px auto 10px auto;}

footer a, footer a:hover {
  text-decoration: none;}
  
footlink { 
  height: 54px;
  width: 930px;
  float: left;
  margin: 30px 0px 0px 160px;
  padding: 0px 10px 0 0;
  font: 100% Verdana, arial, sans-serif;
  text-align: left;}

/* Стиль слайдера на главной странице */
ul.slideshow {
  width: 950px;
  height: 450px;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;}
  
ul.slideshow li {
  position: absolute;
  margin: 0;
  padding: 0;
  left: 0;
  right: 0;
  list-style: none;}
 
ul.slideshow li.show {
  z-index: 500;}
 
ul img {
  border: none;}
 
#slideshow-caption {
  width: 950px;
  height: 90px;
  position: absolute;
  bottom: 0;
  left: 0; 
  z-index: 500;}
 
#slideshow-caption .slideshow-caption-container {
  padding: 20px 25px 0 25px;   
  z-index: 1000;}
 
#slideshow-caption p {
  padding: 0;
  font: normal 130% arial, sans-serif;}

/* Стиль форм обратной связи */
.form_settings { 
  margin: 0;}

.form_settings p { 
  padding: 0 0 10px 0;}

.form_settings span { 
  padding: 5px 0; 
  float: left; 
  width: 170px; 
  text-align: left;}
  
.form_settings input, .form_settings textarea { 
  padding: 4px; 
  width: 252px; 
  font: 100% arial, sans-serif;
  border: 0;
  border-bottom: 1px solid; 
  background: transparent;}
  
.form_settings .submit { 
  font: 220% arial, sans-serif; 
  border: 0; 
  width: 100px; 
  margin: 0 0 0 162px; 
  height: 33px;
  padding: 2px 0 3px 0;
  cursor: pointer; 
  border-radius: 6px 6px 6px 6px;
  -webkit-border-radius: 6px 6px 6px 6px;
  -moz-border-radius: 6px 6px 6px 6px;}

.form_settings textarea, .form_settings select { 
  font: 100% arial, sans-serif; 
  border: 1px solid; 
  border-radius: 6px 6px 6px 6px;
  -webkit-border-radius: 6px 6px 6px 6px;
  -moz-border-radius: 6px 6px 6px 6px;
  width: 250px;
  overflow: auto;}

.form_settings select { 
  width: 304px;}

.form_settings .checkbox { 
  margin: 4px 0; 
  padding: 0; 
  width: 14px;
  border: 0;
  background: none;}

/* Страница blog.html */
#blog_container h4 {
  font: normal 300% arial, sans-serif;
  margin: 0 5 15px 0;
  padding: 5px 0;}

#blog_container h4.select {
  width: 475px;}

.blog {
  background: url(../images/calendar.png) no-repeat;
  width: 64px;
  height: 46px;
  float: left;
  margin: 0 15px 0 0;}

.blog h2 {
  font: bold 90% arial, sans-serif;
  text-shadow: none;
  text-align: center;
  margin: 0;
  padding: 4px 0 0 0;}
  
.blog h3 {
  font: 140% arial, sans-serif;
  text-shadow: none;
  margin: 0;
  text-align: center;
  padding: -10px 0 0 0;}
  
#blog_text {
  padding: 20px;
  overflow: auto;
  height: 100%;}

#blog_text h1 {
  font: normal 300% arial, sans-serif;;
  margin: 0 0 15px 0;
  padding: 5px 0;}

/* Стиль меню */
html body ul.sf-menu ul,html body ul.sf-menu ul li { 
  width: 180px;}

html body ul.sf-menu ul ul { 
  margin: 0 0 0 180px;}

ul.sf-menu,ul.sf-menu * { 
  margin: 0;
  padding: 0;}

ul.sf-menu { 
  display: block;
  position: relative;}
  
ul.sf-menu li { 
  display: block;
  list-style: none;
  float: left;
  position: relative;}
  
ul.sf-menu li:hover { 
  visibility: inherit; /* для Internet Explorer 7 */ }

ul.sf-menu a { 
  display: block;
  position: relative;}
  
ul.sf-menu ul { 
  position: absolute;
  left: 0;
  width: 150px; 
  top: auto;
  left: -999999px;}
  
ul.sf-menu ul a { 
  zoom: 1; /* фиксация для Internet Explorer 6 и 7 */ }

ul.sf-menu ul li { 
  float: left; /* для Internet Explorer 6 и 7 */
  width: 150px;}
  
ul.sf-menu ul ul { 
  top: 0;
  margin: 0 0 0 150px;}

ul.sf-menu li:hover ul,ul.sf-menu li:focus ul,ul.sf-menu li.sf-hover ul, 
ul.sf-menu ul li:hover ul,ul.sf-menu ul li:focus ul,ul.sf-menu ul li.sf-hover ul,
ul.sf-menu ul ul li:hover ul,ul.sf-menu ul ul li:focus ul,ul.sf-menu ul ul li.sf-hover ul,
ul.sf-menu ul ul ul li:hover ul,ul.sf-menu ul ul ul li:focus ul,ul.sf-menu ul ul ul li.sf-hover ul { 
  left: auto;}
  
ul.sf-menu li:hover ul ul,ul.sf-menu li:focus ul ul,ul.sf-menu li.sf-hover ul ul,
ul.sf-menu ul li:hover ul ul,ul.sf-menu ul li:focus ul ul,ul.sf-menu ul li.sf-hover ul ul,
ul.sf-menu ul ul li:hover ul ul,ul.sf-menu ul ul li:focus ul ul,ul.sf-menu ul ul li.sf-hover ul ul,
ul.sf-menu ul ul ul li:hover ul ul,ul.sf-menu ul ul ul li:focus ul ul,ul.sf-menu ul ul ul li.sf-hover ul ul { 
  left: -999999px;}

/* стрелки */
span.sf-arrow { 
  width: 7px;
  height: 7px;
  position: absolute;
  top: 20px;
  right: 5px;
  display: block;
  overflow: hidden; /* для Internet Explorer 6 */
  font-size: 1px;
}

ul ul span.sf-arrow { 
  right: 5px;
  top: 20px;
  background-position: 0 100%;
}

/* Параметры блока меню */
nav { 
  height: 44px;
  width: 950px;
  float: right;
  margin: 0px auto 20px auto;     /* Промежуток между заголовком -0- меню -20- слайдером*/
  border-radius: 7px 7px 7px 7px;
  -moz-border-radius: 7px 7px 7px 7px;
  -webkit-border: 7px 7px 7px 7px;} 

ul#nav { 
  float: left;
}

ul#nav ul { 
  padding-bottom: 15px;
}

ul#nav li a { 
  padding: 3px 25px 6px 25px;
  font:   130% 'Segoe Print',  arial, sans-serif;
  text-decoration: none;
  margin-right: 2px;
}