* {
	margin: 0pt;
	padding: 0pt;
}

body {
	font-family: tahoma,verdana,arial,sans-serif,Lucida Sans;
	background-color: rgb(255, 253, 249);
}

a {
	color: rgb(53, 48, 40);
}

ul {
	margin-left: 20px;
}

a img {
	border: 0pt none ;
}

#pagewidth {
	margin: 0pt auto;
	width: 991px;
}

#shapka {
	background: transparent url(images/shinshapka.jpg) repeat scroll 0% 0%;
	-moz-background-clip: border;
	-moz-background-origin: padding;
	-moz-background-inline-policy: continuous;
	height: 130px;
	width: 991px;
}

#header {
	background: transparent url(images/chinbar.gif) repeat scroll 0% 0%;
	-moz-background-clip: border;
	-moz-background-origin: padding;
	-moz-background-inline-policy: continuous;
	height: 45px;
	position: relative;
}

#header h1 {
	width: 220px;
	position: absolute;
	left: 0pt;
	top: 0pt;
}

#header h1 a {
	text-indent: -9999px;
	height: 42px;
	display: block;
}

#header div#links {
	margin-left: 230px;
	padding-top: 10px;
}

#links p {
	border-left: 1px solid white;
	display: inline;
	position: relative;
}

#links a, #links a:hover, #links a:visited {
	padding: 0pt 10px 0pt 13px;
	color: white;
	text-decoration: none;
	text-transform: lowercase;
}

#footer {
	height: 20px;
	background-color: rgb(204, 204, 204);
}

#sidebar {
	padding: 15px 0pt 0pt;
	width: 160px;
	height: 300px;
	float: left;
	position: relative;
}

ul.menu {
	list-style-type: none;
	list-style-image: none;
	list-style-position: outside;
	font-size: 14px;
	margin-left: 5px;
}

ul.menu li {
	margin-bottom: 2px;
}

ul.menu a {
	padding: 3px 2px;
	text-decoration: none;
	display: block;
	width: 140px;
}

ul.menu a:hover {
	border-top: 1px solid rgb(204, 204, 204);
	border-bottom: 1px solid rgb(204, 204, 204);
	padding: 2px;
	background-color: rgb(213, 235, 245);
	color: black;
}

ul.menu .profile {
	padding: 2px 0pt;
}

ul.menu .profile a {
	display: inline;
}

ul.menu small {
	margin-left: 5px;
}

ul.menu small a {
	color: rgb(153, 153, 153);
	font-size: 12px;
}

span.admin {
	color: rgb(238, 85, 85);
}

ul.menu .admin a {
	color: rgb(238, 85, 85);
}

ul.menu .admin a:hover {
	background-color: rgb(255, 238, 238);
}

#statusbar {
	border: 1px solid rgb(204, 204, 204);
	background: transparent url(images/header_yellow.gif) repeat scroll 0% 0%;
	float: left;
	position: relative;
	-moz-background-clip: border;
	-moz-background-origin: padding;
	-moz-background-inline-policy: continuous;
	padding-left: 10px;
	padding-top: 3px;
	height: 17px;
	font-weight: bold;
	color: black;
	font-size: 12px;
	width: 805px;
}

#statusbar a {
	text-decoration: none;
	color: rgb(89, 86, 0);
	font-size: 12px;
}

#content {
	border-left: 1px solid rgb(204, 204, 204);
	padding: 20px;
	min-height: 200px;
	float: left;
	position: relative;
	width: 790px;
}

#content div.left {
	width: 170px;
	position: relative;
	float: left;
}

#content div.right {
	position: relative;
	float: left;
	width: 620px;
}

td.label {
	font-size: 14px;
	color: rgb(102, 102, 102);
	vertical-align: top;
	width: 200px;
}

td.data {
	font-size: 14px;
	color: rgb(17, 17, 17);
}

div.photo {
	margin: 5px;
	float: left;
	position: relative;
}

div.photo div.nav {
	width: 112px;
	font-size: 12px;
	text-align: center;
}

div.photo a.pic {
	border: 1px solid rgb(170, 170, 170);
	padding: 5px;
	display: block;
	text-align: center;
	width: 100px;
	height: 100px;
	line-height: 100px;
}

div.photo img {
	vertical-align: middle;
}

div#cropform {
	padding-top: 20px;
}

div#cropform label {
	width: 20px;
}

div#cropform input {
	margin: 0pt 10px 0pt 5px;
	width: 30px;
	position: relative;
	float: left;
}

div#cropform br {
	clear: none;
	float: left;
	display: block;
	width: 0px;
	height: 0px;
	position: relative;
}

div#cropform input.button {
	margin: 15px 0pt 0pt;
	clear: both;
	width: 150px;
}

.genes input.check {
	clear: both;
	margin-left: 150px;
}

.calc {
    float:left;
    width: 350px;
}

.calc select {
    width:150px;
}

button#reset {
    margin-left:10px;
}

.genes {
}

table.weight {
	text-align: left;
}

table.weight th {
	border: 1px solid rgb(204, 204, 204);
	background-color: rgb(238, 238, 238);
}

table.weight td {
	vertical-align: middle;
}

.searchform {
	border: 1px solid rgb(204, 204, 204);
	padding: 10px 20px 20px;
	position: relative;
	width: 150px;
	float: right;
	background-color: rgb(238, 238, 238);
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	-moz-border-radius-bottomright: 6px;
	-moz-border-radius-bottomleft: 6px;
}

.searchform div.colors {
    margin:30px 0;
    padding-bottom:10px;
    border-top:1px #999 solid;
    border-bottom:1px #999 solid;
}

.searchform label {
	margin: 0pt;
	padding: 0pt;
	display: block;
	float: none;
	width: auto;
}

.searchform input, .searchform select {
	margin: 0pt;
	padding: 2px 0pt;
	display: block;
	float: none;
	width: 100%;
}

.searchform #submit {
	margin-top: 20px;
}

.searchform br {
	display: none;
}

.results {
	width: 590px;
}

.results td {
	padding-right: 30px;
}

span.filtered {
	border: 1px solid rgb(204, 204, 204);
	margin: 0pt 4px 5px 0pt;
	padding: 0pt 4px;
	width: 192px;
	display: block;
	float: left;
}

#mother_id_admin, #father_id_admin {
	width: 50px;
}

.for_1, .for_2, .for_3, .for_4, .for_5, .for_6, .for_7, .for_8, .for_9, .for_10, .for_11, .for_12, .for_13, .for_14, .for_15, .for_16, .for_17, .for_18, .for_19, .for_20 {
	display: none;
}

.accountInfo {
	border-bottom: 1px solid rgb(218, 225, 232);
	margin: 0pt 0pt 5px;
	padding: 0pt 0pt 5px;
}

.accountName {
	font-size: 14px;
	padding-bottom: 0pt;
	font-weight: bold;
	display: inline;
	color: rgb(99, 81, 44);
}

.accountID {
	font-size: 14px;
	float: right;
	display: inline;
	font-weight: bold;
}

.accountStatus {
	font-size: 12px;
	color: rgb(170, 170, 170);
	font-weight: bold;
}

.accountStatusValue {
	width: 530px;
	display: block;
}

.accountStatusLink a {
	float: right;
	text-decoration: none;
	color: rgb(205, 196, 169);
}

.sections div.header {
	border-top: 1px solid rgb(214, 214, 177);
	margin: 10px 0pt 0pt;
	padding: 0px 8px 3px 5px;
	background: rgb(249, 251, 228) none repeat scroll 0pt 0pt;
	display: block;
	-moz-background-clip: border;
	-moz-background-origin: padding;
	-moz-background-inline-policy: continuous;
}

div.header h3 {
	font-size: 14px;
	font-weight: bold;
	color: rgb(89, 75, 42);
	display: inline;
}

div.header div {
	float: right;
}

div.header a {
	font-size: 14px;
	font-weight: bold;
	color: rgb(205, 204, 169);
	text-decoration: none;
}

.userlist {
	padding: 7px;
	width: 133px;
	height: 138px;
	float: left;
	text-align: center;
	font-size: 12px;
}

.userlist_sale {
    padding: 7px;
    width: 133px;
    height: 158px;
    float: left;
    text-align: center;
    font-size: 12px;
}

.userlist_grand {
    padding: 7px;
    width: 133px;
    height: 178px;
    float: left;
    text-align: center;
    font-size: 12px;
}


.userlist div {
	border: 1px solid rgb(170, 170, 170);
	margin: 0px 16px;
	overflow: hidden;
	width: 100px;
	height: 100px;
}

.userlist img {
	width: 100px;
}

.delimiter {
	border-bottom: 1px solid rgb(204, 204, 204);
	margin-right: 15px;
	font-size: 4px;
}

table.genealogy {
	width: 100%;
}

table.genealogy td {
	text-align: center;
}

table.genealogy div.userlist {
	margin: 0pt auto;
	float: none;
}

.links {
	text-align: center;
	font-size: 14px;
}

.header select {
	height: 23px;
	position: relative;
	top: -2px;
	left: 8px;
}

button.ui-button {
	height: auto;
}

#dialog-confirm {
	margin: 5px;
	overflow: visible;
	display: none;
}

.print_page {
	padding: 10px;
	width: 1000px;
	text-align: center;
}

.print_tables {
	border: 2px solid black;
	padding: 10px;
}

.print_page td {
	text-align: left;
}

.print_main {
	font-size: 26px;
	width: 100%;
}

.print_detail {
	font-size: 22px;
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

.print_detail td {
	border: 1px solid black;
	padding: 3px;
}

.print_genealogy {
	width: 100%;
}

.print_div {
	border: 1px solid black;
	padding: 5px;
	text-align: left;
	font-size: 12px;
}

td.big div.print_div {
	font-size: 16px;
}

.print_awards {
	border: 1px solid black;
	font-size: 20px;
}

.pet_stats {
	text-align: right;
	padding-right: 20px;
}

.male {
	background: transparent url(images/male.png) no-repeat scroll 99% 7%;
	-moz-background-clip: border;
	-moz-background-origin: padding;
	-moz-background-inline-policy: continuous;
}

.female {
	background: transparent url(images/female.png) no-repeat scroll 99% 7%;
	-moz-background-clip: border;
	-moz-background-origin: padding;
	-moz-background-inline-policy: continuous;
}

.prv0 a {
    color: #8F4949;
}

.prv1 a {
    color: #629162;
}

.userlist .color-text {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.userlist {
    padding: 7px;
    width: 133px;
    height: auto;
    min-height: 138px;
    float: left;
    text-align: center;
    font-size: 12px;
    overflow: hidden;
}

/* ========== Галерея Lightbox3 ========== */
body.lb-disable-scrolling {
    overflow: hidden;
}
.lightboxOverlay {
    background-color: rgba(0,0,0,0.85);
}
.lightbox {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 9999;
    text-align: center;
    line-height: 0;
    font-weight: normal;
    outline: none;
}
.lb-outerContainer {
    position: relative;
    background-color: transparent;
    margin: 0 auto;
    border-radius: 0;
}
.lightbox .lb-image {
    display: block;
    height: auto;
    max-width: inherit;
    max-height: none;
    border: none;
    border-radius: 0;
}
.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 0.7;
    transition: opacity 0.3s;
    background: none;
    width: 40%;
    height: 100%;
    top: 0;
    filter: none;
}
.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    opacity: 1;
}
.lb-nav a.lb-prev {
    left: 0;
}
.lb-nav a.lb-next {
    right: 0;
}
.lb-nav a.lb-prev::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    width: 28px;
    height: 28px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}
.lb-nav a.lb-next::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 28px;
    height: 28px;
    border-right: 3px solid #fff;
    border-top: 3px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}
.lb-dataContainer {
    background: #fff;
    padding: 10px 15px;
    font-family: tahoma,verdana,arial,sans-serif;
    font-size: 11px;
    line-height: 1.4em;
    color: #666;
    overflow: hidden;
    border-radius: 0;
}
.lb-data .lb-details {
    width: 85%;
    float: left;
    text-align: left;
    line-height: 1.4em;
}
.lb-data .lb-caption {
    font-weight: bold;
    font-size: 12px;
    color: #444;
    display: block;
}
.lb-data .lb-number {
    display: block;
    clear: left;
    font-size: 10px;
    color: #888;
}
.lb-data .lb-close {
    display: block;
    float: right;
    width: 30px;
    height: 30px;
    background: none;
    text-align: right;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    outline: none;
    position: relative;
    top: auto;
    right: auto;
    opacity: 1;
}
.lb-data .lb-close:hover {
    color: #333;
    text-decoration: underline;
}
.lb-data .lb-close::before {
    display: none;
}
.lb-data .lb-close::after {
    content: 'закрыть';
}

/* ========== Мобильные и планшеты ========== */
@media (max-width: 768px) {
    .lb-nav a.lb-prev,
    .lb-nav a.lb-next {
        display: none;
    }
    .lb-dataContainer {
        padding: 10px 12px;
    }
    .lb-data .lb-details {
        width: 75%;
    }
    .lb-data .lb-close {
        width: auto;
        height: auto;
        font-size: 14px;
        padding: 5px 0;
    }
    .lightbox .lb-image {
        max-width: 100%;
        height: auto;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .lb-nav a.lb-prev::after,
    .lb-nav a.lb-next::after {
        width: 36px;
        height: 36px;
    }
    .lb-data .lb-close {
        font-size: 13px;
    }
}

input, select, textarea, button {
	font-size: 16px !important;
	transform: scale(0.75);
	transform-origin: left top;
	margin-bottom: -4px;
}