/*! 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
   ========================================================================== */

.clear {
    clear: both;
}

html, body {
    margin:0;
    padding:0;
    width:100%;
    height:100%;
}

.wrapper {
    font-family: "Open Sans", sans-serif;
    position:relative; 
    min-height:100%;
    height:auto !important;
    height:100%;
    width: 100%;
    min-width: 1000px;
    line-height: 15px;
}

.empty {
    height: 300px;
}

footer {
    position:relative; 
    margin-top:-300px;
    height:300px;
    width:100%;
    min-width: 1000px;
    background-color: #4d5d71;
}

.wrap {
    position: relative;
    width: 1000px;
    margin: 0 auto;
}

/* ==========================================================================
   Header
   ========================================================================== */

header {
    float: left;
    width: 100%;
    padding: 31px 0 0;
}

.logo {
    float: left;
    width: 311px;
    margin: 0 47px 0 0;
}

.hkont {
    float: left;
    width: 300px;
    font-size: 13px;
    line-height: 1.9;
    color: #5b5b5b;
}

.hkont p {
    margin: 0 0 10px;
}

.hkont a {
    color: inherit;
    text-decoration: none;
}

.hkont a:hover {
    text-decoration: underline;
}

.hkont span {
    font-size: 16px;
}

.hbut {
    float: right;
    width: 300px;
    text-align: ;
}

.hbut ul {
    float: right;
    margin: 0px;
    padding: 0px;
}

.hbut ul li {
    list-style: none;
    margin: 0 0 6px;
}

.hbut ul li a {
    display: block;
    width: 200px;
    padding: 0;
    height: 54px;
    line-height: 54px;
    background-color: #b31f21;
    background-repeat: no-repeat;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    text-decoration: none;
}

.hkont .phone {
    font-size: 28px;
    line-height: 1;
}

.menu {
    float: left;
    width: 100%;
    border-top: 4px solid #791A10;
    background-color: #4d5d71;
    margin: 28px 0 0;
}

.menu ul {
    display: table;
    margin: 0 auto;
    padding: 0;
}

.menu ul li {
    position: relative;
    display: table-cell;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}

.menu ul li a {
    display: block;
    padding: 25px 20px;
    color: inherit;
    text-decoration: none;
}

.menu ul li:hover,
.menu ul li.active {
    background-color: #791A10;
}

.menu ul li:hover ul {
    display: block;
}

.menu ul ul {
    display: none;
    position: absolute;
    width: 229px;
    background-color: #009877;
    z-index: 100;
}

.menu ul li ul li {
    display: block;
    text-transform: none;
}

.menu ul li ul li a {
    padding: 13px 17px;
}

.menu ul li ul li a:hover {
    background-color: #008a6b;
}

/*Slider
================================================================================*/

.slider {
    position: relative;
    float: left;
    width: 100%;
    height: 405px;
    margin: 28px 0 48px 0;
}

.shslider {
    position: absolute;
    left: 0;
    width: 100%;
    height: 76px;
    bottom: -76px;
    background: url('../img/shslider.png') center 0 no-repeat;
}

.content {
    float: left;
    width: 100%;
    margin: 28px 0 0;
    color: #7e8287;
}

h2.wbg {
    font-weight: bold;
    font-size: 30px;
    color: #718194;
    background: url('../img/wbg.png') center bottom no-repeat;
    text-align: center;
    padding: 0 0 15px;
    text-transform: uppercase;
    margin: 0 0 35px;
}

.about {
    float: left;
    width: 100%;
    color: #7e8287;
    text-align: center;
}

.about p {
    margin: 0 0 16px;
    line-height: 30px;
}

.prog {
    float: left;
    width: 100%;
    margin: 60px 0 0;
}

.pbl {
    float: left;
    width: 212.333333px;
    padding: 0 60px;
    text-align: center;
    margin: 0 0 70px;
    border-right: 1px solid #d9dbdb;
}

.pbl.third {
    border: none;
    width: 213.333333px;
}

.pblico {
    float: left;
    height: 85px;
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
}

.pbltit {
    font-weight: 700;
    margin: 0 0 30px;
}

.pbltxt {
    font-size: 11px;
    line-height: 21px;
    min-height: 78px;
    max-height: 78px;
}

.pblbut {
    display: inline-block;
    width: 119px;
    height: 42px;
    line-height: 42px;
    border: 1px solid #b3b5b5;
    text-decoration: none;
    color: #804f9c;
}

.pblbut:hover {
    background-color: #804f9c;
    border-color: #804f9c;
    color: #fff;
}

.obuch {
    float: left;
    width: 100%;
    
}

.obuch .obuchw {
    float: left;
    width: 100%;
    background-color: #f5f5f0;
}

.obl {
    position: relative;
    float: left;
    width: 333px;
    height: 240px;
}

.oblimg {
    position: absolute;
    width: 100%;
    height: 240px;
    left: 0;
    top: 0;
    opacity: .55;
}

.oblact {
    position: absolute;
    width: 100%;
    height: 240px;
    z-index: 1;
}

.obllt,
.obltit {
    display: none;
}

.obllink {
    position: absolute;
    bottom: 24px;
    left: 35px;
    line-height: 53px;
    font-weight: 700;
    color: #fff;
    font-size: 16px;
    text-align: center;
    width: 266px;
    height: 53px;
    text-decoration: none;
    background-color: #804f9c;
}

.na {
    float: left;
    width: 100%;
    margin: 100px 0 0;
}

.na h2 {
    text-align: left;
    background-position: left bottom;
}

.mnews {
    float: left;
    width: 485px;
}

.marticle {
    float: right;
    width: 400px;
    margin: 0 55px 0 0;
}

.nbl {
    padding: 0 0 30px;
    margin: 0 0 30px;
    border-bottom: 1px solid #d9dbdb;
}

.nbl.last {
    border: none;
}

.nbltxt {
    font-size: 13px;
    line-height: 28px;
    color: #3a3c3f;
}

.nbltxt a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.nbltxt a:hover {
    text-decoration: underline;
}

.nbldate {
    font-size: 24px;
    line-height: 1;
    font-weight: bold;
    color: #804f9c;
    margin: 0 0 10px;
}

.nbldate sup {
    font-size: 16px;
}

.marticle ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.marticle ul li {
    color: #7e8287;
    font-size: 16px;
    line-height: 30px;
}

.marticle ul li a {
    color: inherit;
}

.marticle ul li a:hover {
    text-decoration: none;
    color: #804f9c;
}

.fmenu {
    float: left;
    width: 100%;
    background-color: #718194;
    margin: 0 0 55px;
}

.fmenu ul {
    display: table;
    margin: 0 auto;
    padding: 0;
}

.fmenu ul li {
    position: relative;
    display: table-cell;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}

.fmenu ul li a {
    display: block;
    padding: 25px 20px;
    color: inherit;
    text-decoration: none;
}

.fmenu ul li:hover {
    background-color: #4d5d71;
}

.fbut {
    float: left;
    width: 322px;
    margin: 0 63px 0 0;
}

.fbut ul {
    margin: 0px;
    padding: 0px;
}

.fbut ul li {
    list-style: none;
}

.fbut ul li a {
    display: block;
    width: 200px;
    padding: 0;
    height: 54px;
    line-height: 54px;
    background-color: #804f9c;
    background-repeat: no-repeat;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    text-decoration: none;
}

.ftest {
    margin: 0 0 55px;
}

.fkont {
    float: left;
    width: 330px;
    color: #fff;
    font-size: 14px;
    line-height: 30px;
}

.fkont p {
    margin: 0 0 20px;
}

.fkont span.tel {
    font-size: 18px;
    font-weight: bold;
}

.fkont a {
    text-decoration: none;
    color: inherit;
}

.fkont a:hover {
    text-decoration: underline;
}

.pred {
    float: right;
    width: 270px;
    color: #fff;
}

.predtit {
    font-size: 14px;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.pred ul {
    float: left;
    width: 50%;
    margin: 0;
    padding: 0;
}

.pred ul li {
    font-size: 13px;
    line-height: 24px;
    font-style: italic;
    list-style: none;
}

.pred ul li a {
    color: inherit;
    text-decoration: none;
}

.pred ul li a:hover {
    text-decoration: underline;
}

.copy  {
    position: absolute;
    top: 100px;
    left: 0;
    font-size: 12px;
    color: #fff;
    margin: 20px 0 0;
}

.hss {
    float: right;
    margin: 0 0 30px;
}

.hss img {
    margin: 0 0 0 5px;
}

.cont {
    float: right;
    width: 635px;
    margin: 0 0 50px;
}

.cont p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 22px;
}

.cont a {
    color: #4d5d71;
}

.sidebar {
    float: left;
    width: 335px;
    margin: 0 0 50px;
}

.cont h1 {
    font-weight: bold;
    font-size: 30px;
    line-height: 1.1;
    color: #718194;
    text-transform: uppercase;
    margin: 0 0 35px;
}

.snews {
    float: left;
    width: 100%;
}

.sh {
    float: left;
    width: 100%;
    font-size: 18px;
    color: #718194;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.nbl {
    float: left;
    width: 100%;
}

.nbldate {
    font-size: 24px;
    line-height: 1;
    font-weight: bold;
    color: #4d5d71;
    margin: 0 0 10px;
}

.nbldate sup {
    font-size: 16px;
}

.nbltxt {
    font-size: 13px;
    line-height: 28px;
    color: #3a3c3f;
}

.nbl.last {
    border: none;
}

.sart {
    float: left;
    margin: 0 0 60px;
}

.sart ul {
    margin: 0;
    padding: 0;
}

.sart ul li {
    font-size: 14px;
    line-height: 36px;
    color: #7e8287;
    list-style: none;
}

.sart ul li a {
    color: inherit;
}

.nbl {
    float: left;
    width: 100%;
}

.nblimg {
    float: left;
    width: 131px;
    margin: 0 40px 0 0;
}

.nblo {
    float: left;
    width: 458px;
}

.oth {
    font-size: 16px;
    font-style: italic;
    font-weight: 600;
    color: #4d5d71;
    margin: 0 0 20px;
}

.nblo .nbltxt {
    color: #3a3c3f;
}

.nbltxt {
    font-size: 13px;
    line-height: 28px;
    color: #3a3c3f;
}

.pagination {
    float: left;
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: 300;
}

.ditto_page,
.ditto_currentpage {
    padding: 3px 7px;
    text-decoration: none;
}

.ditto_currentpage {
    font-weight: bold;
    background-color: #f2f2f2;
    color: #804f9c;
}

.ditto_previous_off,
.ditto_previous_link {
    display: inline-block;
    width: 45px;
    height: 14px;
    background-image: url('../img/rparr.png');
    background-repeat: no-repeat;
    background-position: 0px 0px;
    text-indent: -9999px;
}

.ditto_next_off,
.ditto_next_link {
    display: inline-block;
    width: 45px;
    height: 14px;
    background-image: url('../img/lparr.png');
    background-repeat: no-repeat;
    background-position: 0px 0px;
    text-indent: -9999px;
}

.ditto_off {
    background-position: 0 -14px;
}

.fot {
    margin: 25px 0 0;
}

.ftest {
    float: left;
    width: 565px;
    padding: 30px 35px;
    background-color: #f2f2f2;
}

.ftest input {
    width: 320px;
    height: 40px;
    border: none;
    padding: 0 10px;
}

.ftest select {
    width: 340px;
    height: 40px;
    border: none;
    padding: 0 10px;
}

.ftest .flabel {
    float: left;
    width: 100px;
    padding: 13px 0 0;
}

.ftest .frow {
    float: left;
    width: 100%;
    margin: 0 0 20px;
}

.ftest .subform {
    background-color: #804f9c;
    width: auto;
    color: #fff;
    padding: 0 20px;
    font-size: 14px;
    text-transform: uppercase;
    margin: 20px 0 0;
}

.fh {
    font-weight: bold;
    font-size: 24px;
    line-height: 1.1;
    color: #718194;
    text-transform: uppercase;
    margin: 0 0 35px;
}

.fot textarea {
    padding: 5px 10px;
    height: 150px;
}

.fot input, .fot textarea {
    color: #a1a3a6;
    border: none;
    width: 336px;
}















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

/*
 * 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;
    }
}
