@import url(../css/typography.css);

@font-face {
    font-family: "Yarin";
    src: local("Yarin Bold"), local("Yarin-Bold"), url("../fonts/yarin/Yarinbold.woff2") format("woff2"), url("../fonts/yarin/Yarinbold.woff") format("woff"), url("../fonts/yarin/Yarinbold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "RobotoLight";
    src: url("../fonts/RobotoLight/RobotoLight.eot");
    src: url("../fonts/RobotoLight/RobotoLight.eot?#iefix")format("embedded-opentype"),
    url("../fonts/RobotoLight/RobotoLight.woff") format("woff"),
    url("../fonts/RobotoLight/RobotoLight.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

/* font-family: "RobotoRegular"; */
@font-face {
    font-family: "RobotoRegular";
    src: url("../fonts/RobotoRegular/RobotoRegular.eot");
    src: url("../fonts/RobotoRegular/RobotoRegular.eot?#iefix")format("embedded-opentype"),
    url("../fonts/RobotoRegular/RobotoRegular.woff") format("woff"),
    url("../fonts/RobotoRegular/RobotoRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "MyriadProRegular";
    src: url("../fonts/MyriadProRegular/MyriadProRegular.eot");
    src: url("../fonts/MyriadProRegular/MyriadProRegular.eot?#iefix")format("embedded-opentype"),
    url("../fonts/MyriadProRegular/MyriadProRegular.woff") format("woff"),
    url("../fonts/MyriadProRegular/MyriadProRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

body {
    background-color: #ffffff;
    margin: auto;
    width: 100%;
    min-height: 1000px;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 15px;
}

.wrapper {
    margin: 0 auto;
    min-height: 100%;
    width: 100%;
}

.top {
    margin: 18px auto 0 auto;
    height: 135px;
    min-width: 910px;
    max-width: 1050px;
}


.logo {
    width: 550px;
    height: 105px;
    font-size: 18px;
    position: absolute;
}

.logo a.logotip {
    display: block;
    float: left;
    width: 75px;
    height: 105px;
    background: url(../img/logo.png) 0 0 no-repeat;
}

.logo h1 {
    display: block;
    float: left;
    width: 315px;
    margin: 20px 0 0 10px;
}

.logo h2 {
    display: block;
    float: left;
    margin: 0 0 0 10px;
}

.links {
    float: right;
    width: 150px;
    margin: 50px 0px;
}

.links a {
    margin-left: 15px;
    width: 10px;
    color: #000000;
}

.links a i {
    font-size: 20px;
}

.hmenu {
    background: url(../img/hmenu_bg.png) repeat-x;
    height: 43px;
}

#menu {
    margin: 0 auto;
    width: 1024px;
    font-family: "RobotoRegular", Arial, sans-serif;
    font-size: 16px;

    }
#menu li {
    list-style: none;
    float: left;
    height: 25px;
    padding: 8px 25px;
    margin: 0;

    text-align: center;
    position: relative;
    padding-top: 10px;
    border-left: 1px solid #cccccc;
}

#menu li:last-child {
    border-right: 1px solid #cccccc;
}
#menu li ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    position: absolute;
    left: 0;
    top: 43px;
    }
#menu li ul li {
    float: none;
    height: 25px;
    width: 390px;
    margin: 0;
    text-align: center;
    background: url("../img/hmenu_bg.png") repeat-x;
    border-left: 1px solid #cecece;
    border-right: 1px solid #cecece;
    z-index: 2;
    }
#menu li a {
    display: block;
    height: 33px;
    color: #5c5a5a;
    text-decoration: none;
    }


/*#menu li a:hover {
    color: #ffffff;
    }*/

#menu li:hover> a {
    color: white;
}

#menu li:hover ul, #menu li.jshover ul {
    display: block;
    }
#menu li:hover, #menu li.jshover {
    background: url(../img/hmenu_a_bg.png) repeat-x;
    }

.slider {
    margin: 30px auto;
    z-index: 1;
}

.content {
    height: auto;
    margin: 95px auto;
    min-width: 940px;
    max-width: 1000px;
}

.blog {
    height: auto;
    margin: 30px auto;
    width: 1000px;
}

.bimg {
    width: 260px;
    margin-right: 15px;
    float: left;
}

.image_frame {
    display: inline-block;
    position: relative;
    padding: 2px;
    margin: 10px;
    border: 1px solid #cccccc;
}

.blog_text {
    padding-top: 10px;
}

.cleaner2 {
    clear: both;
    padding-top: 45px;
    background: url(../img/devider3.png) bottom no-repeat;
}
.blog_text > p {
    width: 100%;
    text-align: justify;
    /*word-break: break-all;*/
    padding-top: 10px;
}

.blog_text h4 {
    width: 100%;
    word-break: break-all;

}

.sob {
    float: left;
    height: auto;
}

.parag1 {
    width: 618px;
    height: 43px;
    border: 1px solid #cecece;
    /*box-shadow: 0 0 1px rgba(0,0,0,0.5); */
    background-image: url(../img/fon_p.png);
    font-family: "RobotoRegular", Arial, sans-serif;
    font-size: 17px;
}

.parag1 p {
    margin-top: 8px;
    padding-left: 20px;
}

.post {
    width: 618px;
    position: relative;
    margin: 30px auto;
    padding-bottom: 60px;
    text-align: justify;
    background: url(../img/devider.png) bottom no-repeat;
}

.mark {
    color: #3399cc;
}
.post h4 {
    text-align: left;
}

.data {
    font-family: "MyriadProRegular", Arial, sans-serif;
    font-size: 13px;
    color: #676464;
    margin-top: 5px;
}

.postimg {
    width: 618px;
    height: 298px;
    margin-top: 15px;
    border: 1px solid #cecece;
   /* box-shadow: 0 0 1px rgba(0,0,0,0.5);*/
    background-image: url(../img/fon_p_i.png)
}

.postimg img {
    margin: 15px 16px;
}

.more > a {
    float: right;
    font-family: "MyriadProRegular", Arial, sans-serif;
    font-size: 15px;
    color: #000000;
    text-decoration: none;
    padding-top: 10px;
}

.more > a img {
    padding-bottom: 3px;
}

.more a:hover {
    color: #3399cc;
}

.archiv a {
    font-size: 16px;
    text-decoration: none;
    color: #000000;
}

.archiv a:hover {
    color: #3399cc;
}

.anons {
    float: right;
    height: auto;
    margin-bottom: 60px;
}

.parag2 {
    width: 276px;
    height: 43px;
    border: 1px solid #cecece;
    /*box-shadow: 0 0 1px rgba(0,0,0,0.5); */
    background-image: url(../img/fon_p.png);
    font-family: "RobotoRegular", Arial, sans-serif;
    font-size: 17px;
}

.parag2 p {
    margin-top: 8px;
    padding-left: 20px;
}

.events {
    width: 276px;
    height: auto;
    border: 1px solid #cecece;
   /* box-shadow: 0 0 1px rgba(0,0,0,0.5); */
    font-family: "RobotoRegular", Arial, sans-serif;
    font-size: 17px;
}

.event {
    width: auto;
    height: auto;
    margin: 14px;
    padding-bottom: 20px;
    background: url(../img/devider2.png) bottom no-repeat;
}

.border {
    width: 245px;
    height: auto;
    border: 1px solid #cecece;
}

.border img {
    border: 1px solid #cccccc;
    margin: 2px 2px;

}

.event a {
    text-decoration: none;
    color: #333333;
    font-size: 16px;
}

.event a:hover {
    color: #3399cc;
}

.cleaner {
    clear: both;
    padding-top: 45px;
}

/* Carusel */

.b-carousel  {
    width: 970px; /* ширина всего блока */
    margin: 0 auto;
    height: auto;
}
    .h-carousel-wrapper {
        width: 888px; /* ширина области карусели */
        position: relative;
        overflow: hidden; /* скрываем содержимое, выходящее за рамки основной области */
        margin: 0 auto; /* выравниваем по центру относительно родительского блока */
        padding-top: 10px;
    }
        .h-carousel-items {
            width: 10000px; /* устанавливаем большую ширину для набора элементов карусели, чтобы в неё всё поместилось */
            position: relative; /* позиционируем блок относительно основной области карусели */
        }
            .b-carousel-block {
                float: left; /* выстраиваем все элементы карусели в ряд */
                width: 210px; /* задаём ширину каждого элемента */
                padding: 5px 6px; /* делаем оступы, чтобы элементы не сливались */
            }
                .a-carousel-image-link { /* тут чисто оформление содержимого */
                    display: block;
                    width: 206px;
                    height: 150px;
                    overflow: hidden;
                    border: 2px solid #cccccc;
                }
    .b-carousel-button-left, .b-carousel-button-right {
        width: 41px; /* задаем ширину кнопок */
        height: 72px; /* задаем высоту кнопок */
        position: relative;
        top: 60px; /* позиционируем кнопки */
        cursor: pointer; /* делаем кнопкам курсор в виде "пальца" */
    }
    .b-carousel-button-left {
        float: left; /* выравниваем левую кнопку по левому краю */
        background: url(../img/carousel-left.png); /* картинка с левой кнопкой */
    }
    .b-carousel-button-right {
        float: right; /* выравниваем правую кнопку по правому краю */
        background: url(../img/carousel-right.png); /* картинка с правой кнопкой */
    }

/* End Carusel */

.footer {
    margin: 30px auto 10px auto;
    padding-top: 40px;
    height: 240px;
    width: 1024px;
    background: url(../img/fon_p.png);
    border: 1px solid #cccccc;
}

.fmenu {
    float: left;
    margin-left: 100px;
    font-family: "RobotoRegular", "Aarial", sans-serif;
    font-size: 16px;
}

.fmenu > ul {
    float: left;
    margin: 0px auto;

}

.fmenu > ul li {
    list-style: none;
    padding: 10px 30px;

}

.fmenu ul li a {
    color: #5c5a5a;
    text-decoration: none;

}

.fmenu > ul li:hover a {
    color: #3399cc;
}

.adress {
    float: right;
    width: 620px;
}

.finfo p {
    margin-left: 60px;
    font-family: "RobotoRegular", "Aarial", sans-serif;
    font-size: 15px;
    color: #5c5a5a;
    text-decoration: none;
    line-height: 2;
}

.finfo a {
    color: #0099cc;
    text-decoration: none;
}
.fcopyright {
    color: #5c5a5a;
    font-size: 13px;
    font-family: "RobotoRegular", "Aarial", sans-serif;
    padding-top: 20px;
    margin-left: 55px;

}

.tab {
    width: 100%;
    border: 1px solid #cccccc;
}

.tab td {
    text-align: center;
    padding: 10px 0;
    border: 1px dotted #cccccc;
}

.example-image {
    border-radius: 4px;
    border: 2px solid #999;
}

.link a {
    color: #3399cc;
    text-decoration: none;
    padding-top: 10px;
}

.link a:hover {
    color: blue;
}

.links > ul {
    margin: 0px auto;
}

.docs > ul li {
    list-style: none;
    padding: 10px 30px;
    position: relative;
}

.docs ul li a {
    color: #000000;
    text-decoration: none;
}

.docs ul li:hover a {
    color: #0099cc;
}

.bimg2 {
    width: 380px;
    margin-right: 15px;
    float: left;
}

.image_frame2 {
    display: inline-block;
    position: relative;
    padding: 5px;
    border: 1px solid #cccccc;
}

.map > ul li {
    list-style: none;
    padding: 10px 30px;
    position: relative;
}

.map a {
    color: #000000;
    text-decoration: none;
}

.map a:hover {
    color: #0099cc;
}

/* кнопка ВВЕРХ */
.topbutton {
width:100px;
border:2px solid #ccc;
background:#f7f7f7;
text-align:center;
padding:10px;
position:fixed;
bottom:50px;
right:50px;
cursor:pointer;
color:#333;
font-family:verdana;
font-size:12px;
border-radius: 5px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-khtml-border-radius: 5px;
}
