h1, h2, h3, h4, h5, h6 {
margin-bottom:2px;
margin-top:2px;
}

td, th, div, p {
color: #333333;
font-size: 12px;
font-weight: normal;
font-family: Arial, Helvetica, sans-serif;
}

a, a:link, a:active, a:visited {
color: #0066FF;
//font-size: 12px;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
}

a:hover {
color: #0033FF;
//font-size: 12px;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
}

.title{
color: #0000ff;
font-size: 13px;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
}

.sub_title{
color: #0000ff;
font-size: 11px;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
}

.box_title{
color: #BBBBBB;
font-size: 12px;
font-weight: bold;
text-shadow:#000000 1px 1px 1px;
letter-spacing: 2px;
padding-lef:20px;
font-family: Arial, Helvetica, sans-serif;
}

BODY {
scrollbar-arrow-color: #0000ff;
scrollbar-track-color: #ffffff;
scrollbar-face-color: #ffffff;
scrollbar-shadow-color: #0000ff;
scrollbar-highlight-color: #0000ff;
scrollbar-darkshadow-color: #ffffff;
scrollbar-3dlight-color: #ffffff;
background-color: #ffffff;}


hr {
border: none; /* Убираем границу для браузера Firefox */
color: #C0C0C0; /* Цвет линии для остальных браузеров */
background-color: #C0C0C0; /* Цвет линии для браузера Firefox и Opera */
height: 1px; /* Толщина линии */
}

///// рамка вокруг картинок
img{max-width:100%;width:auto\9;height:auto;vertical-align:middle;border:0;-ms-interpolation-mode:bicubic;}
.img-polaroid{padding:4px;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.2);-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);-moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);}
}

///// разбиение на страницы
.pagination {
	text-align: center;
	margin: 20px 0px;
}
.pagination ul{
	display: inline-block;
	box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
	padding: 0px;
	margin: 0px 0px 10px 25px;
}
.pagination ul > li {
    display: inline;
	line-height: 20px;
}
.pagination ul > li:first-child > a {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    border-left-width: 1px;
}
.pagination ul > li:last-child > a {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}
.pagination ul > li > a {
	padding: 2px 10px;
	float: left;
	line-height: 20px;
	text-decoration: none;
	background-color: rgb(255, 255, 255);
	border-width: 1px 1px 1px 0px;
	border-style: solid;
	border-color: rgb(221, 221, 221);
	-moz-border-top-colors: none;
	-moz-border-right-colors: none;
	-moz-border-bottom-colors: none;
	-moz-border-left-colors: none;
	border-image: none;
}
pagination ul > .active > a {
    color: rgb(153, 153, 153);
}
.pagination ul > li > a:hover, .pagination ul > li > a:focus, .pagination ul > .active > a {
    background-color: rgb(245, 245, 245);
}

///// формы

input,button,select,textarea {
  font-size: 12px;
}

select,textarea,input {
  display: inline-block;
  /*height: 20px;*/
  padding: 4px 6px;
  margin-bottom: 9px;
  line-height: 20px;
  color: #555555;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}

textarea {
  height: auto;
}

textarea,input {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
     -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
       -o-transition: border linear 0.2s, box-shadow linear 0.2s;
          transition: border linear 0.2s, box-shadow linear 0.2s;
}

textarea:focus,
input:focus {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}


select,
input[type="file"] {
  height: 30px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
  *margin-top: 4px;  /* For IE7, add top margin to align select with labels */
  line-height: 30px;
  background-color: #ffffff;
  border: 1px solid #cccccc;
}

select:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

//// кнопки

button:focus,input[type="button"]:focus,input[type="reset"]:focus,input[type="submit"]:focus {
cursor: pointer;
}

button,input[type="button"],input[type="reset"],input[type="submit"]{
cursor: pointer;
border-color: #c5c5c5;
display: inline-block;
font-size: 12px;
color: #333333;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
background-color: #f5f5f5;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
background-repeat: repeat-x;
border: 1px solid #bbbbbb;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
border-bottom-color: #a2a2a2;
-webkit-border-radius: 4px;
 -moz-border-radius: 4px;
  border-radius: 4px;
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
filter: progid:dximagetransform.microsoft.gradient(enabled=false);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
 -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

button:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover {
color: #333333;
text-decoration: none;
background-color: #e6e6e6;
background-position: 0 -15px;
-webkit-transition: background-position 0.1s linear;
 -moz-transition: background-position 0.1s linear;
  -o-transition: background-position 0.1s linear;
   transition: background-position 0.1s linear;
}