@charset "utf-8";
* {
	margin: 0;
        outline: 0;
	text-transform: none;
	color: #666;
	text-decoration: none;
	line-height: 20px;
}
/***************************************************************
* Общие настройки для текста
* В принципе, здесь можно менять всё
***************************************************************/

p, ul, ol {
	margin-bottom: 10px;
}

a {color: #d78a12; text-decoration:none;}
a:hover {border-bottom: 1px dotted #d78a12;}
strong {font-weight: bold;}
a img:hover {text-decoration:none; border-bottom: none;
}

h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	font-family: "Helvetica", Times, serif;
	text-decoration: none; color:#1d6f51;
}

h1, h1 a {
	font-size: 28px;
	line-height: 30px;
	margin-bottom: 20px;
}
h2, h2 a {
	font-size: 26px;
	line-height: 32px;
	margin-bottom: 20px;
        color:#d78a12;
}
h3, h3 a {
	font-size: 20px;
	line-height: 30px;
	margin-bottom: 20px;
        color:#d78a12;
	       
}
h4, h4 a {
	font-size: 18px;
	line-height: 30px;
	margin-bottom: 10px;
        color:#ffcc00;
}
h5, h5 a {
	font-size: 16px;
	line-height: 30px;
	margin-bottom: 10px;
}
h6, h6 a {
	font-size: 16px;
	line-height: 20px;
	margin-bottom: 10px;
}
hr {
	border: 1px dotted #399473;
	height: 1px;
	color: #e4e4e4;
	margin: 10px 0;
}
ul, ol {
	list-style-position: inside;
}
/***************************************************************
* Чтобы футер всегда был прижат к самому низу. 
* Править только высоту футера и отступ снизу у Wrapper
***************************************************************/
html, 
body {height: 100%;}
body {	font: normal 14px/20px "Trebuchet MS", Verdana, Helvetica, Tahoma, Arial, Serif;
	background: #e1e1e1 url(/sites/griffons/i/bg.jpg) repeat-y center top;
                       
}
#Wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto;
        margin: 0 auto -106px auto;
                       
}
#Pusher,
#Footer { height: 106px; clear:both;}

#Main {
	margin: 0 auto;
        width: 974px;
        background:url(/sites/griffons/i/bg.jpg) repeat-y center top;        
}


/**********************************************************
* Header
**********************************************************/
#Header {
               background: transparent url(/sites/griffons/i/bgh2.jpg) repeat-x center top;
               height: 236px;
               margin: 0;
}
#Shapka {
               background: transparent url(/sites/griffons/i/shapka3.jpg) no-repeat center top;
               height: 236px;
               width: 974px;
               margin: 0 auto;
}


#Footer { 
          background: transparent url(/sites/griffons/i/bgf.jpg) repeat-x center top;
          margin: 0;
          padding-top:0px;
          
}
#Foot {   height: 106px;
          width: 974px;
          background: transparent url(/sites/griffons/i/foot.jpg) no-repeat center top;
          margin: 0 auto;
          padding-top:0px;
          
}
#Footer table {
            height: 60px;
	    margin: -4px auto;
}
#Footer td {padding: 10px;}
#Footer td,
#Footer td * {
	font-size: 10px;
        line-height: 16px;
       }

.feedback td {
	padding: 6px;
}
.feedback .button {
	color: #d78a12;
}
.form * {
	color: #;
	margin-right: 10px;
}
/**********************************************************
* Header-Menu
**********************************************************/
#Header-Menu {
        display:block;
        width: 960px;
	margin: 0 auto;
        text-align: center;
	padding-top: 186px;
        	}

ul.menu-19 {
	list-style: none;
	margin-bottom: 10px;
}
ul.menu-19 li {display: inline;}

.menu-19 a {
text-decoration:none;
border:0;
background:transparent url(/sites/griffons/i/kn1.png) no-repeat center left;
font-size:14px;
color:#419878;
display: inline;
margin-left:px;
padding:0px 8px 0px 12px;
white-space:nowrap;
}

.menu-19 a:hover {
	background:transparent url(/sites/griffons/i/kn2.png) no-repeat center left;
        color:#d78a12;
	
}
.menu-19 a.active {
	 background:transparent url(/sites/griffons/i/kn1.png) no-repeat center left;
        
                     }


/**********************************************************
* SideBar
**********************************************************/
#SideBar {
	width: 60px;
	display: inline;
        position:relative;
	float: left;
	margin-left: 5px;
	margin-right: 0px;
	margin-top: -19px;
        padding-bottom: 10px;
               
}

ul, ol {
list-style-position:inside;
}

.vote ul {
list-style-image:none;
list-style-position:outside;
list-style-type:none;
}

#pod{
background:transparent url(/sites/griffons/i/kn.gif) no-repeat 5px 5px;
font-size:11px; 
font-family: Arial, sans-serif;
Line-Height:10px;
padding:5px 5px 5px 25px;
margin-bottom: 16px;
	}
#pod a {
color: #3E1409;
font-size:11px; 
font-family: Arial, sans-serif;
Line-Height:10px;
text-decoration:underline;
	}
/**********************************************************
* Content
**********************************************************/
#Content {
display: inline;
float: right;
margin-left: 0;
margin-right: 20px;
margin-top: 0px;
padding-top: 20;
margin-bottom: 40px;
width: 930px;
}
#Content p,
#Content ul,
#Content ol {
	margin-bottom: 10px;
}
#Content .photo .container {
width: 100%;
}
.Way, .Way a {
	font-size: 12px;
	margin-bottom: 15px;
}
.message {
	padding-top: 20px;
	clear: both;
}


/***************************************************************
* Кое-что общее для всего
***************************************************************/
.thumb {
	display:inline;
	float: left;
}

.thumb a img,
.photo .gallery a img{
	display: block;
	border: 3px solid #399473; /* рамка картинки когда не наведён курсор */
        padding:1px;
        margin:4px;
}

.thumb a:hover img,
.photo .gallery a:hover img{
	border: 3px solid #d78a12; /* рамка активной картинки */
}
.w150 {
	width: 150px; /* учитываем в ширине рамку картинки */
}
.catalogue .text,
.news .text,
.sale .text,
.albom .text {
        margin-left: 180px;
	min-height: 190px; /* минимальная высота блока, чтобы картинка не налезала на линию снизу */
        padding-left:5px;
}

.litter {
	zoom: 1;
	overflow: auto;
}
.block {
	width: 100%;
	overflow: auto;
}

.block,
.litter,
.news,
.animal {
	color: #b9bcc1;
	margin: 10px 0;
       	border-bottom: 1px dotted #399473; /* линия снизу для повторяющихся блоков */
}

.gallery {
	zoom: 1;
	overflow: auto;
}

.photo .gallery,
.catalogue .gallery {
	zoom: 1;
	overflow-x: scroll;
	overflow-y: hidden;
	padding: 5px;
}
.caption, .caption a { /* текст под фотографиями */
	font-size: 12px;
	margin-bottom: 20px;
        margin:11px;
}
.w300, .w150 {
border: 1px dotted #d78a12;
margin: 5px 5px 5px 5px;
}
.bord, .showbord{
border: 3px solid #399473;
margin: 5px 5px 5px 5px;
}
#pid {
background:transparent url(/sites/griffons/i/bgtable.jpg) repeat center;
margin: 0;
border: 1px solid #ececec;
padding:10px;
}
img.bord1 {
border: 2px solid #97b555;
margin: 5px 10px 5px 11px;
}

/***************************************************************
* Каталог
***************************************************************/
/***************************************************************
* Фильтр
***************************************************************/
.filter {
	margin: 20px 0; /* отступ сверху и снизу */
	padding: 10px 10px; /* внутренний отступ */
	background:transparent url(/sites/griffons/i/bgf.jpg) repeat center; /* фон для фильтра */
height:65px
}
.filter label,
.filter select,
.filter input {
	font-size: 12px; /* размер текста */
}
.filter li {
	list-style: none;
	display: inline;
}
.filter select,
.filter input.button {
	margin: 0 10px; /* раcстояние по горизонтали для полей и кнопок */
}
/***************************************************************
* Ссылки
***************************************************************/
.links-nm {
	margin-top: 20px;
}
/***************************************************************
* Родословные
***************************************************************/
.pedigree table{
	border-bottom: 5px solid #ececec; /* линия снизу блока */
	margin-bottom: 10px; /* отступ снизу блока */
}
.pedigree td {
	width: 25%; 
	padding: 5px; /* отступ внутри ячейки */
        border: 1px solid #ececec;
}
.pedigree td h3,
.pedigree td h3 a {
	font-size: 18px; /*размеры для заголовка в табоице поменьше */
	line-height: 20px;
	margin-bottom: 10px;
}
.pedigree td h3 {
	padding-top: 20px; /* отступ сверху заголовка, чтобы поместить номер */
	background-repeat: no-repeat;
	background-position: left top;
}
/* номера ячеек */
.offspring  h3{background-image: url(/sites/griffons/templates/2/p1.gif);}
.parent-1   h3{background-image: url(/sites/griffons/templates/2/p2.gif);}
.parent-2   h3{background-image: url(/sites/griffons/templates/2/p3.gif);}
.parent-3   h3{background-image: url(/sites/griffons/templates/2/p4.gif);}
.parent-4   h3{background-image: url(/sites/griffons/templates/2/p5.gif);}
.parent-5   h3{background-image: url(/sites/griffons/templates/2/p6.gif);}
.parent-6   h3{background-image: url(/sites/griffons/templates/2/p7.gif);}
.parent-7   h3{background-image: url(/sites/griffons/templates/2/p8.gif);}
.parent-8   h3{background-image: url(/sites/griffons/templates/2/p9.gif);}
.parent-9   h3{background-image: url(/sites/griffons/templates/2/p10.gif);}
.parent-10  h3{background-image: url(/sites/griffons/templates/2/p11.gif);}
.parent-11  h3{background-image: url(/sites/griffons/templates/2/p12.gif);}
.parent-12  h3{background-image: url(/sites/griffons/templates/2/p13.gif);}
.parent-13  h3{background-image: url(/sites/griffons/templates/2/p14.gif);}
.parent-14  h3{background-image: url(/sites/griffons/templates/2/p15.gif);}


/***************************************************************
* Фото
* Кое-что надо будет потом в вёрстке поправить, чтобы унифицировать
***************************************************************/
.photo .gallery ul {list-style: none; width: auto; margin: 0 !important;}
.photo .gallery li {display: inline; float: left; margin: 0 !important;}
.photo .container {
	zoom: 1;
	overflow: auto;
}
.photo .albom {
	display: inline;
	float: left;
	width: 50%;
}
.photo .w150 {
	display: inline;
	float: left;
	width: 160px;
}
.photo .text {margin-left: 10px; display: inline; float: left;}
.photo .text ul {list-style: none;}

.photo.full .gallery ul {list-style: none; width: auto; margin: 0;}
.photo.full .gallery li {display: inline; float: left;}
.photo.full #Photo {text-align: center;}

/**********************************************************
* Rating
**********************************************************/
.rating ul{
	list-style:none;
	margin: 0px;
	padding:0px;
	width: 150px;
	height: 30px;
	position: relative;
	overflow:hidden;
	background: url(/sites/griffons/templates/2/star.gif) top left repeat-x;
border: 2px dotted #ececec;		
}
.rating li{
	padding:0px;
	margin:0px;
	width:30px;
	height:30px;
	/**/
	float: left;
	/* */

}
.rating li a{
	display:block;
	width:30px;
	height: 30px;
	line-height:30px;		
	text-decoration: none;
	text-indent: -9000px;
	z-index: 20;
	position: absolute;
	padding: 0px;
	overflow:hidden;
}
.rating li a:hover{
	background: url(/sites/griffons/templates/2/star.gif) left bottom;
	z-index: 2;
	left: 0px;
	border:none;
}
.rating a.one-star{
	left: 0px;
}
.rating a.one-star:hover{
	width:30px;
}
.rating a.two-stars{
	left:30px;
}
.rating a.two-stars:hover{
	width: 60px;
}
.rating a.three-stars{
	left: 60px;
}
.rating a.three-stars:hover{
	width: 90px;
}
.rating a.four-stars{
	left: 90px;
}	
.rating a.four-stars:hover{
	width: 120px;
}
.rating a.five-stars{
	left: 120px;
}
.rating a.five-stars:hover{
	width: 150px;
}
.rating li.current-rating{
	background: url(/sites/griffons/templates/2/star.gif) left center;
	position: absolute;
	height: 30px;
	display: block;
	text-indent: -9000px;
	z-index: 1;
}

/* remove halo effect in firefox   */
a:active{
	outline: none;
}
/**********************************************************
* News
**********************************************************/

.message odd { width:690px; display: inline-block; overflow: auto;
	padding-bottom: 20px;} 
.news.full {
	overflow: auto;
	padding-bottom: 20px;
	}
.news .w150 {
	width:160px;
	display: inline;
	float: left;
}
.news .w300 {
	width: 300px;
	float: left;
}
/***************************************************************
* Правка глюков
***************************************************************/
table.form {display: block;}

/**********************************************************
* Additional classes
**********************************************************/
.date {
	display: -moz-inline-box;
	display: inline-block;
	height: 20px;
	padding-left: 20px;
	margin-right: 20px;
	background: url(/sites/griffons/templates/2/calendar.png) no-repeat left center;
}
.time {
	display: -moz-inline-box;
	display: inline-block;
	height: 20px;
	padding-left: 20px;
	margin-right: 20px;
	background: url(/sites/griffons/templates/2/clock.png) no-repeat left center;
}
.bottom {
	clear: both;
	background: url() no-repeat center top;
	padding-top: 20px;
	padding-bottom: 20px;
}
.title, .breed, .born, .titles {font-weight: bold;}
/**********************************************************
* Chart
**********************************************************/
.vote,
.chart {
	margin-bottom: 20px;
}
.vote ul {list-style: none;}
.bar {
	height: 20px;
	background: url(/sites/griffons/templates/2/chart.gif) repeat-x 0 0;
}
/**********************************************************
* ADVERTISING
**********************************************************/
.zoo-adv {
	padding: 5px 0;
	border: 1px solid #bce6d7;
	margin-bottom: 20px;
        margin-top: 20px;
}
.zoo-adv.horizontal .adv-text {
	width: 33.33%;
	display: inline;
	float: left;
}
.zoo-adv.vertical .adv-text {
}
.adv-text h4,
.adv-text p { padding: 0 5px 10px 5px; }
.adv-text h4 a {
	background-color: #399473;
        border: 1px solid #bce6d7;
	color: #fff;
	font-size: 14px;
	line-height: 30px;
	display: block;
	padding: 0 5px;
}
.adv-text h4 a:hover { background-color: #d78a12; border: 1px solid #399473;}
.adv-text p { font-size: 12px; }
.zoo-adv .ad-link {
	clear: both;
	text-align: right;
	padding-right: 5px;
}
.zoo-adv .ad-link a {
	color: #;
	text-decoration: none;
        font-size: 11px;
}
/**********************************************************
* Feedback
**********************************************************/
.feedback .fsubmit input {
border: 1px solid #bce6d7;
color: #648d0c;
background-color: #fff;
	}
textarea {
border: 1px solid #bce6d7;
color: #648d0c;
background-color: #fff;
	}
.input, .button, .select{
	margin: 5px;
        border: 1px solid #bce6d7;
        color: #000;
        background-color: #fff;
}
.tbl {
      color: #bce6d7;
      font-size:10px;
      margin:0 auto;
}
.radio, .photo1, .photo2, .photo3 {
      color: #ada591;
     }
#secimg {
margin: 5px;
border: 1px solid #bce6d7;
background-color: #bce6d7;
}