/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*
font-family: 'PT Sans Caption', sans-serif;
font-family: 'PT Sans', sans-serif;
font-family: 'PT Sans Narrow', sans-serif;
font-family: 'PT Serif', serif;
*/

html, body {
    font-size: 14px;
    line-height: 16px;
	font-family: Arial, Helvetica, sans-serif;
	background-color: #fff;
	color: #3e3e3e;
}

dl, menu, ol, ul, p {
    margin: 0;
	font-family: 'PT Serif', serif;
}

/* language-choice */

menu.language-choice {
	padding: 0 0 0 0;
	list-style: none outside none;
	color: #353535;
	font-size: 14px;
	line-height: 30px;
}
menu.language-choice li {
	display: inline;
	text-transform: lowercase;
	font-variant: small-caps;
	margin: 0 9px;
}
menu.language-choice li a {
	color: #c90000;
}

/* logo and search */

.logo-line {
	height: 42px;
}

.search-input form {
	background: #fff;
	width: 220px;
	display: block;
	height: 24px;
	margin-top: 9px;
}
.search-input form input {
	background: transparent;
	width: 190px;
	display: block;
	float: left;
	border: 0 none;
	padding: 0 0 0 5px;
	height: 24px;
}
.search-input form button {
	background: url(../img/search-input.png) no-repeat center center transparent;
	width: 25px;
	display: block;
	float: left;
	border: 0 none;
	padding: 0 0 0 0;
	height: 24px;
	text-indent: -9999em;
}

.header-logo {
	position: absolute;
	top: -30px;
	left: 0;
	z-index: 99;
}

/* main menu */

.main-menu > ul {
	padding: 0 0 0 0;
	margin: 0 0 0 0;
}
.main-menu > ul > li {
	text-align: right;
	position: relative;
}
.main-menu > ul > li > a {
	display: block;
	color: #404041;
	font-family: 'PT Sans Narrow', sans-serif;
	font-size: 16px;
	line-height: 22px;
	border-bottom: 3px solid #9f9f9f;
	text-decoration: none;
	padding: 30px 3px 0;
}
.main-menu > ul > li:hover > a {
	color: #9f9f9f;
	background: #fff;
	border-bottom: 3px solid #c90000;
}
.main-menu > ul > li.active > a {
	color: #9f9f9f;
	background: #fff;
	border-bottom: 3px solid #51b705;
}
.main-menu > ul > li > ul {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	position: absolute;
	top: 55px;
	left: 0;
	z-index: 99;
	background: #fff;
	text-align: left;
	background: #f8f8f8;
	padding: 10px 0;
	display: none;
	border-bottom: 3px solid #9f9f9f;
}
.main-menu > ul > li:hover > ul {
	display: block;
}
.main-menu > ul > li > ul > li {
	/*float: left;*/
	
}
.main-menu > ul > li > ul > li:hover {
	background: #dadada;
}
.main-menu > ul > li > ul > li > a {
	display: block;
	color: #404041;
	font-family: 'PT Sans Caption', sans-serif;
	font-size: 15px;
	line-height: 20px;
	text-decoration: none;
	white-space: nowrap;
	padding: 3px 10px;
}
.main-menu > ul > li > ul > li > a:hover {
	color: #6d6d6d;
}

/* breadcrumbs */

.breadcrumbs {
	color: #adadad;
	font-family: 'PT Sans', sans-serif;
	font-size: 17px;
	line-height: 20px;
	text-decoration: none;
}
.breadcrumbs > * {
	float: left;
}
.breadcrumbs > a {
	display: block;
	color: #fff;
	font-family: 'PT Sans Caption', sans-serif;
	font-size: 15px;
	line-height: 20px;
	text-decoration: none;
	margin-right: 10px;
}
.breadcrumbs > a:hover {
	color: #adadad;
}
.breadcrumbs > span.sprt {
	display: block;
	width: 20px;
	height: 20px;
	text-indent: -9999em;
	margin-right: 10px;
	background: url(../img/sprt.png) no-repeat center center transparent;
}

/* footer */

.private-rights {
	padding: 0 0 0 0;
	list-style: none;
	color: #7a7a7a;
	font-family: arial, sans-serif;
	font-size: 10px;
	line-height: 26px;
}
.private-rights > li, .private-rights > span {
	float: left;
	display: block;
}
.private-rights a {
	color: #7a7a7a;
	text-decoration: none;
}
.private-rights span {
	margin: 0 6px;
}
.cprt {
	color: #949494;
	font-family: arial, sans-serif;
	font-size: 10px;
	line-height: 14px;
}
.foot-menu {
	color: #646464;
	font-family: arial, sans-serif;
	font-size: 11px;
	line-height: 45px;
}
.foot-menu > a {
	color: #646464;
	text-decoration: none;
	margin: 0 6px;
}

/* sitemap */

.sitemap-block {
	margin-top: 12px;
	margin-bottom: 12px;
}
.sitemap-block > ul {
	padding: 0 0 0 0;
}
.sitemap-block > ul > li > a {
	color: #212121;
	font-family: 'PT Sans Caption', sans-serif;
	font-size: 18px;
	line-height: 38px;
	text-decoration: none;
	display: block;
	border-bottom: 1px dotted #51b705;
	padding-left: 60px;
	background: url(../img/sitemap-arrw.png) no-repeat 13px center transparent;
}
.sitemap-block > ul > li > a:hover {
	color: #6d6d6d;
	border-bottom: 1px dotted #c90000;
}
.sitemap-block > ul > li > ul {
	padding: 0 0 0 60px;
}
.sitemap-block > ul > li > ul > li {
	padding: 4px 0;
}
.sitemap-block > ul > li > ul > li > a {
	color: #212121;
	font-family: 'PT Sans', sans-serif;
	font-size: 14px;
	line-height: 16px;
	text-decoration: underline;
	display: block;
}
.sitemap-block > ul > li > ul > li > a:hover {
	color: #6d6d6d;
	text-decoration: none;
}

/* pagination */

.page-pagination > ul {
	display: block;
	float: right;
	padding: 0;
	margin: 0;
	list-style: none;
	background: #ba0000;
}
.page-pagination > ul > li {
	display: inline-block;
}
.page-pagination > ul > li > a {
	display: inline-block;
	color: #fff;
	width: 12px;
	height: 26px;
	line-height: 26px;
	text-align: center;
	font-size: 13px;
	font-family: 'PT Sans', sans-serif;
	font-style: italic;
	font-weight: bold;
	text-decoration: none;
}
.page-pagination > ul > li > a:hover {
	background-color: #dadada;
    color: #6d6d6d;
}
.page-pagination > ul > li > a.pp-forward, .page-pagination > ul > li > a.pp-backward {
	width: 52px;
	font-weight: normal;
	text-decoration: none;
	background: #3e3e3e;
}
.page-pagination > ul > li > a.pp-forward {
	padding-left: 26px;
	background: url(../img/pp-f-arrw.png) no-repeat left center #3e3e3e;
}
.page-pagination > ul > li > a.pp-backward {
	padding-right: 26px;
	background: url(../img/pp-b-arrw.png) no-repeat right center #3e3e3e;
}
.page-pagination > ul > li > a.pp-forward:hover, .page-pagination > ul > li > a.pp-backward:hover {
    background-color: #dadada;
    color: #6d6d6d;
}

/* contacts page */
.contact-adress-block {
	margin: 10px 0;
}
.contact-adress-block span {
	display: block;
}
.contact-adress-block .cab-h {
	margin-bottom: 5px;
	font-size: 16px;
	font-family: 'PT Sans Narrow', sans-serif;
	font-weight: bold;
}
.contact-adress-block .cab-adress {
	font-size: 14px;
	font-family: 'PT Serif', sans-serif;
	font-style: italic;
}
.contact-adress-block .cab-email {
	font-size: 14px;
	font-family: 'PT Sans', sans-serif;
	font-weight: bold;
}


article .contact-form{
	/*margin: 15px 0;*/
}
article .contact-form .txt-input {
	width: 200px;
	height: 35px;
	display: block;
	float: left;
	background: #f8f8f8;
	color: #5a5a5a;
	font-family: 'PT Sans', sans-serif;
	font-size: 13px;
	border: 0 none;
	padding: 0 10px;
	margin: 10px 0;
}
article .contact-form .txt-input + .txt-input {
	margin-left: 20px;
}
article .contact-form .txtarea {
	width: 680px;
	height: 120px;
	display: block;
	background: #f8f8f8;
	color: #5a5a5a;
	font-family: 'PT Sans', sans-serif;
	font-size: 13px;
	border: 0 none;
	padding: 10px;
	margin: 10px 0;
}
article .contact-form .but-submit {
	background: #ba0000;
	color: #fff;
	font-family: 'PT Sans', sans-serif;
	font-style: italic;
	font-weight: bold;
	font-size: 13px;
	text-decoration: none;
	padding: 0 7px;
	border: 0 none;
	display: block;
	line-height: 26px;
	float: left;
}
article .contact-form .but-submit:hover {
	background: #dadada;
	color: #6d6d6d;
}


/* wmap page */
.ya-wmap {
	width: 940px; 
	height: 450px; 
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.details-link-std {
	display: inline-block;
	color: #fff;
	font-family: 'PT Sans', sans-serif;
	font-style: italic;
	font-size: 13px;
	text-decoration: none;
	line-height: 25px;
	height: 25px;
	padding: 0 34px 0 8px;
	background: url(../img/sitemap-arrw.png) no-repeat right center #3e3e3e;
}
.details-link-std:hover {
	color: #6d6d6d;
	background-color: #dadada;
}

.details-link-sm {
	display: inline-block;
	color: #fff;
	font-family: 'PT Sans', sans-serif;
	font-style: italic;
	font-size: 11px;
	text-decoration: none;
	line-height: 18px;
	height: 18px;
	padding: 0 22px 0 5px;
	background: url(../img/sitemap-arrw-sm.png) no-repeat right center #3e3e3e;
}
.details-link-sm:hover {
	color: #6d6d6d;
	background-color: #dadada;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}