﻿@charset "utf-8";
/* Стиль сайта института "ТатНИПИнефть" - Мустафин Э.М. */

* {
	margin: 0 auto; /* Выравнивание по центру */
	padding: 0;
}
#all_bg {
/* background: url(image/bg.jpg) no-repeat center top; */ 
}
#all {
	width: 960px;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size:14px;
	position:relative;
}
/* поисковая строка */
			#top {
	height: 71px;
	background: url(image/top_v3.gif) no-repeat left top;
	position: relative;
	overflow: hidden;
}
#top #usability {
	float: left;
	margin-top: 28px;
	height: 35px;
}
#top #usability a {
	display: block;
	width: 13px;
	height: 14px;
	float: left;
	margin-top: 10px;
	overflow: hidden;
}
#top #usability a#ru {
	width: 26px;
	background-image: url(image/ru_n.gif);
	margin-left: 200px;
}
#top #usability a#en {
	width: 24px;
	background-image: url(image/en_n.gif);
}
#top #usability a#homePage {
	margin-left: 25px;
	background-image: url(image/home_n.gif);
}
#top #usability a#mailus {
	margin-left: 15px;
	background-image: url(image/mailus_n.gif);
}
#top #usability a#sitemap {
	margin-left: 15px;
	background-image: url(image/sitemap_n.gif);
}
#top #usability a#favorite {
	margin-left: 15px;
	background-image: url(image/favorite_n.gif);
	width: 11px;
	height: 14px;
}
/* search form */
			#top #search {
	position: absolute;
	margin: 30px 0px 0px 50px;
	right: 343px;
	top: 5px;
}
#top #search form #query {
	padding: 2px 3px;
	font-size: 12px;
	color: gray;
	width: 170px;
	border: solid 1px #b4b4b4;
}
#top #search form #submit {
	width: 16px;
	height: 18px;
	background: url(image/submit.gif) no-repeat left top;
	cursor: pointer;
	margin-left: 2px;
	border: 0px;
}
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	zoom: 1;
	display: block;
}
/* end of search */

#header {
	clear:both;
	display: block;
	height: 100px;
	background: url(image/top2_v3.gif) no-repeat left top;
}
#header_logo {
	width: 280px; /* Ширина левой колонки, где Лого */
	float: left;
	border: 0px; /* Параметры границы */
}
#header_info {
	width: 250px; /* Ширина правой колонки, где адрес, телефоны */
	float: right;
	font-size: 11px;
	text-align: right;
	padding-top: 5px;
	padding-right: 10px;
	border: 0px; /* Параметры границы*/
}
#header_center {
	margin: 0 260px 0 280px;
	border: 0px; /* Параметры границы*/
}
#header_center h1 {
	font-size: 18px;
}
.horizontal_line {
	clear: both;
	height: 19px;
	width: 960px;
	background-image: url(image/bg_und_nav.gif);
	background-repeat: repeat-x;
	background-position: left top;
}
.horizontal_line2 {
	clear: both;
	height: 19px;
	width: 960px;
	background-image: url(image/bg_und_nav2.gif);
	background-repeat: repeat-x;
	background-position: left top;
}
#content {
	clear: both;
	margin-bottom: 5px;
}
#content_left {
	width: 190px; /* Ширина левой колонки */
	float: left;
}
#content_right {
	width: 170px; /* Ширина правой колонки */
	float: right;
	text-align:left;/* padding-top: 10px; */
	padding: 10px 5px 15px 5px;
	font-size: 12px;
	background-color: #EEE;
	border: 1px solid gray;  /* Параметры границы */
	border-radius: 0px 0px 10px 10px; /* скругление углов */
	-khtml-border-radius: 0px 0px 10px 10px;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright: 0px;
	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-top-left-radius: 0px;
	-webkit-border-top-right-radius: 0px;
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* отбрасываем тень */
	-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
#content_right h4 {
	display:block;
	border: 1px solid #999;
	border-radius: 0px 0px 10px 10px; /* скругление углов */
	-khtml-border-radius: 0px 0px 10px 10px;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright: 0px;
	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-top-left-radius: 0px;
	-webkit-border-top-right-radius: 0px;
	font-size: 14px;
	color: #333;
	text-shadow: 0.1em 0.1em 0.2em #FFF;
	padding: 5px 0px 5px 5px;
	background-image: url(image/tab_bg4.gif);
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* отбрасываем тень */
	-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
#content_right p {
	padding: 10px 0px 10px 0px;
}
#content_right #yandex_bar {
	display:block;
	width: 160px;
	text-align:center;
	}

.show {
	display: block !important;
}
#banners {
	width: 160px;
	margin-top: 10px;
}
#banners a {
	display: block;
	width: 152px;
	height: 101px;
	margin-bottom: 10px;
}
#banners a img {
	border: 0px;
}
#banners2 {
	width: 160px;
	margin-top: 10px;
}
#banners2 a {
	display: block;
	width: 152px;
	height: 101px;
	margin-bottom: 10px;
}
#banners2 a img {
	border: 0px;
}
#pozdr {
	width: 158px;
	margin: 10px 0px 10px 0px;
	padding: 5px;
	border: 0px; /* Параметры границы */
	border-radius: 10px;
	-khtml-border-radius: 10px;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	background-position: right top; /* Положение фона */
	background-repeat: no-repeat; /* Отменяем повторение фона */
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* отбрасываем тень */
	-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	background-color: white;
}
#pozdr p {
	padding: 0px;
}
#pozdr .zagol {
	display:block;
	text-align:center;
	font-size:14px;
	color: #600;
}
#pozdr .podpis {
	display:block;
	padding-top: 5px;
	text-align:right;
	font-size:11px;
	font-style:oblique;
	color: #006;
}
/* Оформление основного содержимого страницы */
#content_center {
	margin: 0px 190px 0px 200px;
	padding: 10px;
	border: 1px solid gray; /* Параметры границы */
	border-radius: 10px 0px 10px 0px;
	-khtml-border-radius: 10px 0px 10px 0px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 0px;
	background-image:url(image/aluminium.png); /* Путь к фоновому рисунку */
	background-position: right top; /* Положение фона */
	background-repeat: no-repeat; /* Отменяем повторение фона */
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* отбрасываем тень */
	-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	background-color: white;
}
#content_center a:link {
    color: #060; /* Цвет ссылок */
   }
#content_center a:visited {
    color: #060; /* Цвет посещенных ссылок */
   }
#content_center a:active {
    color: #600; /* Цвет активной ссылки */ 
   } 
#content_center h1 {
	width: 540px;
	height: 33px;
	display: block;
	font-size: 20px;
	color: #009966;
	background-image:url(image/h1_bg.png); /* Путь к фоновому рисунку */
	background-position: right bottom; /* Положение фона */
	background-repeat: no-repeat; /* Отменяем повторение фона */
}
#content_center h1.bigger {
	height: 66px;
}

#content_center h1.threeline {
	height: 86px;
}

#content_center p {
	padding-top: 10px;
}
#content_center ul {
	padding-top: 5px;
	padding-left: 20px;
}
#content_center ol {
	padding-top: 5px;
	padding-left: 20px;
}


ul#catalog {
	line-height: 2;
}
/* Оформление основного содежимого если страница в две колонки */
#content_center_right {
	margin: 0px 0px 0px 200px;
	padding: 10px;
	border: 1px solid gray; /* Параметры границы */
	border-radius: 10px 0px 10px 0px;
	-khtml-border-radius: 10px 0px 10px 0px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 0px;
	background-image:url(image/aluminium.png); /* Путь к фоновому рисунку */
	background-position: right top; /* Положение фона */
	background-repeat: no-repeat; /* Отменяем повторение фона */
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* отбрасываем тень */
	-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	background-color: white;
}
#content_center_right h1 {
	width: 740px;
	height: 33px;
	display: block;
	font-size: 20px;
	color: #009966;
	background-image:url(image/h1_bg.png); /* Путь к фоновому рисунку */
	background-position: right bottom; /* Положение фона */
	background-repeat: no-repeat; /* Отменяем повторение фона */
}
#content_center_right p {
	padding-top: 10px;
}
#content_center_right ul {
	padding-top: 5px;
	padding-left: 20px;
}
/* конец описания стиля в две колонки (остальное так же как в трехколоночном стиле) */	
.podpisi {
	display: block;
	text-align: right;
	font-size:12px;
}
.podpisi a {
	color: #4d4d4d;
}
.bukvica {
	color: red; /* Красный цвет символов */
	font-size: 200%; /* Размер шрифта в процентах */
	font-family: serif; /* Шрифт с засечками */
	position: relative; /* Относительное позиционирование */
	top: 5px; /* Сдвиг сверху */
}
.banner1 {
	display: block;
	position:relative;
	border: 1px solid gray;
	border-radius: 10px 0px 10px 0px; /* скругление углов */
	-khtml-border-radius: 10px 0px 10px 10px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 0px;
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* отбрасываем тень */
	-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	top:1px;
	left: 1px;
}
.banner60let {
	display: block;
	position:relative;
	top:1px;
	left: 1px;
}
.photo_right {
	margin: 15px 10px 0px 2px;
	border: 1px solid gray;
	border-radius: 10px 0px 10px 0px; /* скругление углов */
	-khtml-border-radius: 10px 0px 10px 10px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 0px;
	-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* отбрасываем тень */
	-moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
	top:1px;
	left: 1px;
}
/* Конец оформления основного содержимого */

.table_header {
	width: 180px;
	border: 1px solid gray; /* Параметры границы */
	border-bottom: 0px;
	border-radius: 7px 0px 0px 0px;
	-khtml-border-radius: 7px 0px 0px 0px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-bottomright: 0px;
	-moz-border-radius-topleft: 7px;
	-moz-border-radius-topright: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-webkit-border-bottom-right-radius: 0px;
	-webkit-border-top-left-radius: 7px;
	-webkit-border-top-right-radius: 0px;
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2); /* отбрасываем тень - , inset 0 0 50px rgba(0, 0, 0, 0.1)*/
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2); /* , inset 0 0 50px rgba(0, 0, 0, 0.1) */
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* , inset 0 0 50px rgba(0, 0, 0, 0.1) */
	background-image: url(image/tab_bg4.gif);
	background-repeat:no-repeat;
	background-position:top left;
	/* background: #EEE;  Цвет фона */
	padding: 5px; /* Поля вокруг текста */
	text-shadow: 0.1em 0.1em 0.2em #FFF;
}
.table_header h4 {
	font-size: 14px;
	color: #333;
	text-shadow: 0.1em 0.1em 0.2em #FFF;
}

.table_header a:link {
    color: #000; /* Цвет ссылок */
   }
.table_header a:visited {
    color: #000; /* Цвет посещенных ссылок */
   }
.table_header a:active {
    color: #600; /* Цвет активной ссылки */ 
   } 

.table_content {
	overflow: visible;
	width: 180px;
	border: 1px solid gray; /* Параметры границы */
	border-radius: 0px 0px 7px 0px;
	-khtml-border-radius: 0px 0px 7px 0px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-bottomright: 7px;
	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-webkit-border-bottom-right-radius: 7px;
	-webkit-border-top-left-radius: 0px;
	-webkit-border-top-right-radius: 0px;
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1); /* тень */
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
	background:#FFF;/* Цвет фона */
	background-image:url(image/bg_bottom.gif);
	background-repeat:no-repeat;
	background-position:bottom left;
	padding: 5px 5px 20px; /* Поля вокруг текста */
}
/* Боковой навигатор */
.leftnav li {
	display: block;
	cursor: pointer;
}
.leftnav li a {
	display: block;
	padding: 5px;
	color: black;
	text-decoration: none;
}
.leftnav li a:hover, .leftnav a:focus {
	padding: 4px;
	color: black;
	background-color: white;
	background-image:url(image/tab_bg2.gif);
	border: 1px solid #999;
	border-radius: 7px 0px 7px 0px;
	-khtml-border-radius: 7px 0px 7px 0px;
	-moz-border-radius-bottomleft: 0px;
	-moz-border-radius-bottomright: 7px;
	-moz-border-radius-topleft: 7px;
	-moz-border-radius-topright: 0px;
	-webkit-border-bottom-left-radius: 0px;
	-webkit-border-bottom-right-radius: 7px;
	-webkit-border-top-left-radius: 7px;
	-webkit-border-top-right-radius: 0px;
	text-shadow: 2px 2px 4px white, 0 0 4px #FFF;/* Параметры тени */
}
#footer {
	/*	clear:both; */
	border-top:1px solid #CCC;
	font-size: 14px;
	display: block;
	height: 30px;
	/*	cursor: pointer; */
	background: url(image/bottom2.gif) no-repeat right bottom;
	padding: 0em 0.5em;
	color: #333;
	text-decoration: none;
}
#footer_left {
	float: left;
	padding: 0.4em 0.5em;
}
#footer_right {
	padding: 6px 5px 0px;
	flat: right;
	text-align: right;
}
#footer_right img {
	border: 0px;
}
#bottom {
	height: 71px;
	background: url(image/bottom.gif) no-repeat left top;
	position: relative;
	overflow: hidden;
}
#bottom_text {
	width: 610px;
	height: 30px;
	float:left;
	margin: 10px;
	padding: 0em 0.3em;
	font-size:12px;
	text-decoration: none;/*	position: relative; *//*	overflow: hidden; */
}
#bottom_text a {
	color: #4d4d4d;
}
/* стиль новостей */
dl#news {
}
dl#news dt {
	float: left;
	margin-left: 5px;
	font-weight: 500;
	font-size: 14px;
}
dl#news dd {
	padding-left: 70px;
	font-size: 13px;
	margin-left: 20px;
	margin-bottom: 20px;
}
dl#news span.zag {
	font-size: 16px;/*	font:bold; */
}
dl#news dd a {
	color: #4d4d4d;/*	text-decoration: none; */
}
dl#news dd a:hover {
/*	text-decoration: none; */
}
dl.chrono {
}
dl.chrono dt {
	float: left;
	margin-left: 5px;
	font-size: 15px;
}
dl.chrono dd {
	background-color:#FFC;
	padding-left: 5px;
	font-size: 15px;
	margin-left: 120px;
	margin-bottom: 20px;
}
b.chrono {
	font-size: 18px;
}

/* зебра */
.zebra td, .zebra th {
    padding: 10px;
    border-bottom: 3px solid #009966;    
}

.zebra tbody tr:nth-child(even) {
    background: #f5f5f5;
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; 
    -moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset;  
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;        
}

.zebra th {
    text-align: left;
    text-shadow: 0 1px 0 rgba(255,255,255,.5); 
    border-bottom: 1px solid #ccc;
    background-color: #eee;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#eee));
    background-image: -webkit-linear-gradient(top, #f5f5f5, #eee);
    background-image:    -moz-linear-gradient(top, #f5f5f5, #eee);
    background-image:     -ms-linear-gradient(top, #f5f5f5, #eee);
    background-image:      -o-linear-gradient(top, #f5f5f5, #eee); 
    background-image:         linear-gradient(top, #f5f5f5, #eee);
}

.zebra th:first-child {
    -moz-border-radius: 6px 0 0 0;
    -webkit-border-radius: 6px 0 0 0;
    border-radius: 6px 0 0 0;  
}

.zebra th:last-child {
    -moz-border-radius: 0 6px 0 0;
    -webkit-border-radius: 0 6px 0 0;
    border-radius: 0 6px 0 0;
}

.zebra tfoot td {
    border-bottom: 0;
    border-top: 1px solid #fff;
    background-color: #f1f1f1;  
}

.zebra tfoot td:first-child {
    -moz-border-radius: 0 0 0 6px;
    -webkit-border-radius: 0 0 0 6px;
    border-radius: 0 0 0 6px;
}

.zebra tfoot td:last-child {
    -moz-border-radius: 0 0 6px 0;
    -webkit-border-radius: 0 0 6px 0;
    border-radius: 0 0 6px 0;
}  

/* зебра 2*/
.zebra2 td, .zebra2 th {
    padding: 10px;
    border-bottom: 1px solid #ccc;    
}

.zebra2 tbody tr:nth-child(even) {
    background: #f5f5f5;
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; 
    -moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset;  
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;        
}

.zebra2 th {
    text-align: center;
    text-shadow: 0 1px 0 rgba(255,255,255,.5); 
    border-bottom: 1px solid #ccc;
    background-color: #eee;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#eee));
    background-image: -webkit-linear-gradient(top, #f5f5f5, #eee);
    background-image:    -moz-linear-gradient(top, #f5f5f5, #eee);
    background-image:     -ms-linear-gradient(top, #f5f5f5, #eee);
    background-image:      -o-linear-gradient(top, #f5f5f5, #eee); 
    background-image:         linear-gradient(top, #f5f5f5, #eee);
}

.zebra2 th:first-child {
    -moz-border-radius: 6px 0 0 0;
    -webkit-border-radius: 6px 0 0 0;
    border-radius: 6px 0 0 0;  
}

.zebra2 th:last-child {
    -moz-border-radius: 0 6px 0 0;
    -webkit-border-radius: 0 6px 0 0;
    border-radius: 0 6px 0 0;
}

.zebra2 tfoot td {
    border-bottom: 0;
    border-top: 1px solid #fff;
    background-color: #f1f1f1;  
}

.zebra2 tfoot td:first-child {
    -moz-border-radius: 0 0 0 6px;
    -webkit-border-radius: 0 0 0 6px;
    border-radius: 0 0 0 6px;
}

.zebra2 tfoot td:last-child {
    -moz-border-radius: 0 0 6px 0;
    -webkit-border-radius: 0 0 6px 0;
    border-radius: 0 0 6px 0;
}  


/* Стиль сайта института "ТатНИПИнефть" - Мустафин Э.М. */
