/* Add your CSS @import rules after this line */

/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

/* Document
   ========================================================================== */

html {
  font-family: sans-serif; /* 1 */
  line-height: 1.15; /* 2 */
  -ms-text-size-adjust: 100%; /* 3 */
  -webkit-text-size-adjust: 100%; /* 3 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

body {
  margin: 0;
}

/**
 * Add the correct display in IE 9-.
 */

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */

figcaption,
figure,
main { /* 1 */
  display: block;
}

/**
 * Add the correct margin in IE 8.
 */

figure {
  margin: 1em 40px;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */

a {
  background-color: transparent; /* 1 */
  -webkit-text-decoration-skip: objects; /* 2 */
}

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */

a:active,
a:hover {
  outline-width: 0;
}

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */

b,
strong {
  font-weight: inherit;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font style in Android 4.3-.
 */

dfn {
  font-style: italic;
}

/**
 * Add the correct background and color in IE 9-.
 */

mark {
  background-color: #ff0;
  color: #000;
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images inside links in IE 10-.
 */

img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */

button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* 2 */
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Remove the default vertical scrollbar in IE.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */

details, /* 1 */
menu {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Scripting
   ========================================================================== */

/**
 * Add the correct display in IE 9-.
 */

canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */

template {
  display: none;
}

/* Hidden
   ========================================================================== */

/**
 * Add the correct display in IE 10-.
 */

[hidden] {
  display: none;
}html {
  overflow-y: scroll;
  font-family: "Times New Roman", "Arial", "Helvetica", "Sans-serif";
}
body {
  background-color: #7d6da2;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
.wrapper {
  width: 990px;
  margin-left: auto;
  margin-right: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.header {
  background: url("../images/header.jpg") no-repeat 0 0;
  height: 333px;
  padding-left: 42px;
  padding-right: 42px;
  position: relative;
}
.logo {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  top: 54px;
}
.logo a {
  display: block;
}
.logo img {
  width: 272px;
  height: 162px;
  -webkit-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.logo a:hover img {
  -webkit-filter: brightness(1.25);
  filter: brightness(1.25);
  -webkit-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.contentlayout {
  background: url("../images/middle.jpg") repeat-y 0 0;
  padding-left: 42px;
  padding-right: 42px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin-top: -1px;
}
.leftcolumn {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 220px;
  flex: 0 0 220px;
  margin-right: 10px;
}
.centercolumn {
  -webkit-box-flex: 1;
  -ms-flex: 1 0;
  flex: 1 0;
  margin-left: 20px;
}
.mymenu {
  background: url("../images/menu-bg.png") no-repeat 0 0;
  height: 418px;
  margin: 0;
  list-style: none;
  padding-left: 54px;
  padding-right: 15px;
  padding-top: 60px;
}
.mymenu a {
  color: #e0d2fa;
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
  text-decoration: none;
}
.mymenu a:hover {
  text-decoration: underline;
}
.mymenu .item-138 a {
  font-size: 28px;
  line-height: 36px;
  color: #eabe68;
  text-transform: uppercase;
}
.mymenu .item-145 a {
  color: #eabe68;
  line-height: 36px;
  font-weight: normal;
  -webkit-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.mymenu .item-145:hover a {
  text-decoration: none;
  color: #ffda78;
  -webkit-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.mymenu .item-145 {
  margin-left: 34px;
}
.mymenu .item-145 a:before {
  content: '';
  display: block;
  position: absolute;
  left: -34px;
  top: 5px;
  width: 26px;
  height: 26px;
  background: url("../images/menu-inst.png") no-repeat 0 0;
  -webkit-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.mymenu .item-145:hover a:before {
  -webkit-filter: brightness(1.15);
  filter: brightness(1.15);
  -webkit-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.mymenu li {
  position: relative;
}
.mymenu li.active:before {
  content: '';
  display: block;
  position: absolute;
  left: -34px;
  top: 2px;
  width: 27px;
  height: 23px;
  background: url("../images/menu-item.png") no-repeat 0 0;
}
.footer {
  background: url("../images/footer.jpg") no-repeat 0 0;
  height: 175px;
  padding-top: 70px;
  padding-right: 38px;
  margin-top: -1px;
  box-sizing: border-box;
}
.social {
  display: inline-block;
  vertical-align: top;
  margin-right: 24px;
  margin-top: 5px;
  padding-left: 326px;
}
.mycontacts {
  display: inline-block;
  vertical-align: top;
  font-size: 18px;
  font-weight: bold;
  color: #441877;
}
.mycontacts a {
  color: #441877;
  text-decoration: none;
}
.mycontacts a:hover {
  text-decoration: underline;
}
.mycontacts .phone {
  font-size: 28px;
}
.social ul {
  padding: 0;
  margin: 0;
}
.social li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}
.social a {
  display: block;
  font-size: 0;
  width: 45px;
  height: 46px;
  -webkit-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.social a:hover {
  -webkit-filter: brightness(1.2);
  filter: brightness(1.2);
  -webkit-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.social .icon-vk {
  background: url("../images/icon-vk.png") no-repeat 0 0;
}
.social .icon-fb {
  background: url("../images/icon-fb.png") no-repeat 0 0;
}
.social .icon-ok {
  background: url("../images/icon-ok.png") no-repeat 0 0;
}
.social .icon-inst {
  background: url("../images/icon-inst.png") no-repeat 0 0;
}
.copyright {
  font-size: 12px;
  color: #fff;
  margin-top: 10px;
  text-align: right;
}
.copyright a {
  font-size: 15px;
  font-weight: bold;
  color: #eabe68;
}
.copyright a:hover {
  color: #eeca83;
}
.centercolumn a {
  color: #441877;
}
.centercolumn a:hover {
  color: #6825b7;
}
.centercolumn {
  font-size: 18px;
  text-align: justify;
  color: #000;
  margin-right: 8px;
}
.centercolumn h1,
.centercolumn h2,
.centercolumn h3,
.centercolumn h4 {
  color: #441877;
  font-weight: bold;
  font-style: italic;
  text-align: left;
}
.centercolumn h1 {
  font-size: 24px;
}
img.mainpage {
  border: 8px solid white;
  outline: 1px solid #9386a2;
}
.centercolumn  .mycats h2,
.centercolumn  .mykittens h2 {
  font-size: 30px;
  margin-left: 42px;
  position: relative;
  margin-bottom: 10px;
}
.centercolumn  .mycats h2:before,
.centercolumn  .mykittens h2:before {
  content: "";
  display: block;
  position: absolute;
  background: url("../images/crown.png") no-repeat 0 0;
  width: 34px;
  height: 29px;
  left: -42px;
}
.centercolumn .mycats table strong {
  color: #441877;
}
.centercolumn .mycats table img {
  border: 3px solid white;
  border-radius: 3px;
}
.centercolumn .mycats table ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.centercolumn .mycats table li {
  display: inline-block;
  vertical-align: middle;
  width: 192px;
  height: 46px;
  line-height: 44px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #e1b669;
  background: url("../images/btn.png") no-repeat 0 0;
  margin-right: 40px;
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.centercolumn .mycats table li a {
  display: inline-block;
  width: 192px;
  height: 46px;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  font-weight: bold;
  color: #e1b669;
  text-decoration: none;
}
.centercolumn .mycats table li:hover {
  -webkit-filter: brightness(1.2);
  filter: brightness(1.2);
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.centercolumn .blog [class^="leading-"] {
  margin-bottom: 60px;
}
.centercolumn .mycats [class^="leading-"] {
  margin-bottom: 60px;
}
.icon-photo {
  display: inline-block;
  font-size: 0;
  width: 48px;
  height: 48px;
  -webkit-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
  background: url("../images/icon-photo.png") no-repeat 0 0;
  vertical-align: top;
  margin-left: 5px;
  margin-top: -12px;
}
.icon-photo:hover {
  -webkit-filter: brightness(1.15);
  filter: brightness(1.15);
  -webkit-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.centercolumn .mykittens strong {
  color: #441877;
}
.tableparents {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}
.tableparents td:nth-child(2n+1) img {
  border: 2px solid #fdfdfd;
  border-radius: 3px;
}
.tablekittens {
  width: 100%;
  text-align: left;
}
.tablekittens td:first-child img {
  border: 2px solid #fdfdfd;
  border-radius: 3px;
  max-width: 350px;
  height: auto;
}
.tablekittens td:first-child {
  width: 374px;
}
.tablekittens h3 {
  display: inline-block;
  margin-top: 0;
  margin-right: 6px;
}
.tablekittens p {
  margin-top: 7px;
  margin-bottom: 7px;
}
.tablekittens tr {
  background: url("../images/divider.png") no-repeat 0 100%;
}
.tablekittens tr:last-child {
  background: none;
}
.tablekittens td {
  padding-bottom: 45px;
  padding-top: 15px;
}
.jg_element_gal,
.jg_element_gal_r {
  width: 49% !important;
  float: left !important;
  text-align: center !important;
}
.contacts td img {
  margin-top: 6px;
  margin-right: 10px;
}
@media only screen and (orientation: portrait) {
  .wrapper {
    min-height: calc(250vh);
  }
}
/**
 * @copyright	(C) 2010 Open Source Matters, Inc. <https://www.joomla.org>
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

/* System Messages */
#system-message {
	margin-bottom: 10px;
	padding: 0;
}

#system-message > dt {
	font-weight: bold;
	display: none;
}

#system-message > dd {
	margin: 0;
	font-weight: bold;
	text-indent: 30px;
}

#system-message > dd > ul {
	color: #0055BB;
	background-position: 4px top;
	background-repeat: no-repeat;
	margin-bottom: 10px;
	list-style: none;
	padding: 10px;
	border-top: 3px solid #84A7DB;
	border-bottom: 3px solid #84A7DB;
}

#system-message > dd > ul > li {
	line-height: 1.5em;
}

/* System Standard Messages */
#system-message > .message > ul {
	background-color: #C3D2E5;
	background-image: url(../images/notice-info.png);
}

/* System Error Messages */
#system-message > .error > ul,
#system-message > .warning > ul,
#system-message > .notice > ul {
	color: #c00;
}

#system-message > .error > ul {
	background-color: #E6C0C0;
	background-image: url(../images/notice-alert.png);
	border-color: #DE7A7B;
}

/* System Warning Messages */
#system-message > .warning > ul {
	background-color: #E6C8A6;
	background-image: url(../images/notice-note.png);
	border-color: #FFBB00;
}

/* System Notice Messages */
#system-message > .notice > ul {
	background-color: #EFE7B8;
	background-image: url(../images/notice-note.png);
	border-color: #F0DC7E;
}
/**
 * @copyright	(C) 2007 Open Source Matters, Inc. <https://www.joomla.org>
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

/* Import project-level system CSS */
@import url(../../../media/system/css/system.css);

/* Unpublished */
.system-unpublished, tr.system-unpublished {
	background: #e8edf1;
	border-top: 4px solid #c4d3df;
	border-bottom: 4px solid #c4d3df;
}

span.highlight {
	background-color:#FFFFCC;
	font-weight:bold;
	padding:1px 0;
}

.img-fulltext-float-right {
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
}

.img-fulltext-float-left {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

.img-fulltext-float-none {
}

.img-intro-float-right {
	float: right;
	margin-left: 5px;
	margin-bottom: 5px;
}

.img-intro-float-left {
	float: left;
	margin-right: 5px;
	margin-bottom: 5px;
}

.img-intro-float-none {
}/**
 * @copyright	(C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

/* Form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }

/* Buttons */
#editor-xtd-buttons {
	padding: 5px;
}

.button2-left,
.button2-right,
.button2-left div,
.button2-right div {
	float: left;
}

.button2-left a,
.button2-right a,
.button2-left span,
.button2-right span {
	display: block;
	height: 22px;
	float: left;
	line-height: 22px;
	font-size: 11px;
	color: #666;
	cursor: pointer;
}

.button2-left span,
.button2-right span {
	cursor: default;
	color: #999;
}

.button2-left .page a,
.button2-right .page a,
.button2-left .page span,
.button2-right .page span {
	padding: 0 6px;
}

.page span {
	color: #000;
	font-weight: bold;
}

.button2-left a:hover,
.button2-right a:hover {
	text-decoration: none;
	color: #0B55C4;
}

.button2-left a,
.button2-left span {
	padding: 0 24px 0 6px;
}

.button2-right a,
.button2-right span {
	padding: 0 6px 0 24px;
}

.button2-left {
	background: url(../images/j_button2_left.png) no-repeat;
	float: left;
	margin-left: 5px;
}

.button2-right {
	background: url(../images/j_button2_right.png) 100% 0 no-repeat;
	float: left;
	margin-left: 5px;
}

.button2-left .image {
	background: url(../images/j_button2_image.png) 100% 0 no-repeat;
}

.button2-left .readmore,
.button2-left .article {
	background: url(../images/j_button2_readmore.png) 100% 0 no-repeat;
}

.button2-left .pagebreak {
	background: url(../images/j_button2_pagebreak.png) 100% 0 no-repeat;
}

.button2-left .blank {
	background: url(../images/j_button2_blank.png) 100% 0 no-repeat;
}

/* Tooltips */
div.tooltip {
	float: left;
	background: #ffc;
	border: 1px solid #D4D5AA;
	padding: 5px;
	max-width: 200px;
	z-index:13000;
}

div.tooltip h4 {
	padding: 0;
	margin: 0;
	font-size: 95%;
	font-weight: bold;
	margin-top: -15px;
	padding-top: 15px;
	padding-bottom: 5px;
	background: url(../images/selector-arrow.png) no-repeat;
}

div.tooltip p {
	font-size: 90%;
	margin: 0;
}

/* Caption fixes */
/* Caption fixes */
.img_caption .left {
        float: left;
        margin-right: 1em;
}

.img_caption .right {
        float: right;
        margin-left: 1em;
}

.img_caption .left p {
        clear: left;
        text-align: center;
}

.img_caption .right p {
        clear: right;
        text-align: center;
}

.img_caption  {
	text-align: center!important;
}

.img_caption.none {
	margin-left:auto;
	margin-right:auto;
}


/* Calendar */
a img.calendar {
	width: 16px;
	height: 16px;
	margin-left: 3px;
	background: url(../images/calendar.png) no-repeat;
	cursor: pointer;
	vertical-align: middle;
}
