/** ШРИФТЫ **/

@import url(//fonts.googleapis.com/css?family=PT+Serif+Caption&subset=latin,cyrillic-ext,latin-ext,cyrillic);
@import url(//fonts.googleapis.com/css?family=PT+Serif&subset=latin,cyrillic-ext,cyrillic,latin-ext);
@import url(//fonts.googleapis.com/css?family=Lato:400,700,900&subset=latin,latin-ext);

@font-face{
    font-family:'Tass-Caucasus';
    src: url('../fonts/tass-caucasus/tass-caucasus-webfont.eot');
    src: url('../fonts/tass-caucasus/tass-caucasus-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/tass-caucasus/tass-caucasus-webfont.woff') format('woff'),
         url('../fonts/tass-caucasus/tass-caucasus-webfont.ttf') format('truetype'),
         url('../fonts/tass-caucasus/tass-caucasus-webfont.svg#Tass-Caucasus') format('svg');
    font-weight: normal;
    font-style: normal;
}

/** ЭЛЕМЕНТЫ **/

body, p, ul, li, h1, h2, h3 {
    margin: 0;
    padding: 0
}

html, body {
    height: 100%;
    margin: 0;
    font-family: "Lato", sans-serif;
}

h1 {
    font-family: "Lato", sans-serif;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 2px;
}

h2 {
    font-family: "Lato", sans-serif;
    font-size: 30px;
    letter-spacing: 2px;
}

h3 {
    font-family: "Lato", sans-serif;
    font-size: 30px;
    letter-spacing: 2px;
}

/** БЛОКИ **/

.b-page-index .b-content {
    position: relative;
    height: 100vh;
    min-height: 650px;
}

.b-page-index .b-bg{
    position: absolute;
    height: 100%;
    width: 100%;
    background-position: center center;
    background-size: cover;
    transition: opacity 1s;
    opacity: 0;
}


.b-page-index .b-bg:after{
    content: ' ';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(44,44,44, 0.3);
}

.b-content__shadow {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.1) 30%);
}

.b-page-index .b-bg_current {
    opacity: 1;
}

.b-photo-copyright {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 10px;
    color: #ffffff;
    opacity: 0.4;
}

.b-top__tass {
    display: block;
    position: absolute;
    top: 0;
    left: 40px;
    width: 60px;
    height: 60px;
    z-index: 1;
    background: url(../img/logo-tass.png) no-repeat;
}

.b-top__title {
    position: relative;
    top: 40px;
    width: 146px;
    height: 99px;
    z-index: 12;
    margin: 0 auto;
    background: url(../img/etokavkaz-logo-white.svg) center no-repeat;
    background-size: contain;
    cursor: pointer;
}

.b-top__menu {
    position: absolute;
    top: 28px;
    right: 28px;
    z-index: 1;
    font-family: "Tass-Caucasus";
    font-size: 18px;
    color: #ffffff;
    cursor: pointer;
}

.b-top__menu:hover {
    color: #d12f2a
}

.b-middle {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}

.b-middle-menu {
    display: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.95));
    z-index: 100;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}

.b_middle-menu__button-close {
    position: absolute;
    top: 28px;
    right: 28px;
    background: url(../img/close.png);
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 100;
}

.b-page-index .b-middle-menu__map {
    position: relative;
    display: inline-block;
    height: 100%;
    width: 50%;
    vertical-align: middle;
}

.b-middle-menu__list {
    position: absolute;
    top: 0;
    right: 5%;
    display: table;
    text-align: left;
    vertical-align: middle;
    height: 100%;
}

.b-middle-menu__list ul {
    list-style-type: decimal-leading-zero;
}

.b-about-caucasus {
    display: inline-block;
    width: 25%;
    z-index: 1;
    margin-right: 20px;
    vertical-align: middle;
    text-align: left;
    font-family: "PT Serif", serif;
    font-size: 15px;
    color: #ffffff;
}

.b-about-caucasus p {
    line-height: 25px;
}

.b-about-caucasus hr {
    width: 15%;
    height: 2px;
    margin: 20px 0;
    text-align: left;
    border: none;
    background-color: #ffffff;
}

.b-page-index .b-statistics {
    display: inline-block;
    width: 25%;
    z-index: 1;
    margin-left: 20px;
    vertical-align: middle;
    text-align: left;
    color: #ffffff;
}

.b-statistics__wrapper {
    width: 80%;
}

.b-page-index .b-statistics p {
    font-family: "PT Serif", serif;
    font-size: 13px;
    padding-bottom: 30px;
    line-height: 1.5;
}

.b-map {
    position: relative;
    display: inline-block;
    height: 100%;
    width: 25%;
    vertical-align: middle;
}

.b-map__img {
    width: 100%;
    height: 100%;
}

.b-button-start-wrapper {
    position: absolute;
    bottom: 17%;
    width: 100%;
}

.b-button-start {
    display: inline-block;
    margin: 0 auto;
    padding: 15px 50px;
    background-color: #ffffff;
    color: #000000;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 1px 1px 3px 0 #000000;
    cursor: pointer;
    text-decoration: none;
}

.b-button-start:hover {
    background-color: #d12f2a;
    color: #ffffff;
    box-shadow: none;
}

.b-page-index .b-footer {
    position: relative;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    background-color: #8899ab;
    color: #ffffff;
    font-size: 12px;
    line-height: 18px;
}

.b-page-index .b-footer__tass {
    margin: 10px;
}

.b-page-index .b-footer__text {
    max-width: 960px;
    margin: 0 auto;
}

.b-page-index .b-footer__remark {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #cccccc;
}

.b-page-index .b-footer__map {
    height: 100px;
    margin: 10px auto;
}

.b-menu {
    position: absolute;
    display: block;
    bottom: 34px;
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-size: 0;
}

.b-menu__item {
    position: relative;
    display: inline-block;
    text-align: center;
    font-size: 10px;
    cursor: pointer;
    height: 50px;
    padding: 0 10px;
    vertical-align: top;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    color: #ffffff;
}

.b-menu__item a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.b-menu__item:last-child {
    border: none;
}

.b-menu__icon {
    display: block;
    margin: 10px auto;
    text-transform: none;
    font-family: "Tass-Caucasus";
    font-size: 25px;
}

.b-menu__item:hover,
.b-menu__item:hover a{
    color: #d12f2a;
}

.b-menu-list {
    position: absolute;
    display: table;
    right: 34px;
    top: 0;
    height: 100%;
    font-family: "Lato";
}

.b-menu-list ul {
    list-style-type: none;
    font-family: "Lato";
    font-size: 12px;
}

.b-menu-list__item {
    margin: 15px 0;
    color: #ffffff;
    white-space: nowrap;
    cursor: pointer;
    vertical-align: middle;
}

.b-menu-list__item a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
}

.b-menu-list__icon {
    display: none;
    margin: 10px auto;
    text-transform: none;
    font-family: "Tass-Caucasus";
    font-size: 25px;
}

.b-menu-list__item_hover,
.b-menu-list__item:hover,
.b-menu-list__item_hover a,
.b-menu-list__item:hover a{
    color: #d12f2a;
}

.b-menu-list__wrapper {
    display: table-cell;
    vertical-align: middle;
}

.b-page-index .b-sharing {
    position: absolute;
    left: 34px;
    bottom: 34px;
    z-index: 2;
    font-family: "Tass-Caucasus";
    cursor: default;
}

.b-page-index .b-sharing__item {
    margin: 0 10px;
    color: #ffffff;
    font-size: 28px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.b-page-index .b-sharing__item .fa-odnoklassniki {
    font-size: 20px;
}

.b-page-index .b-sharing__item a:hover {
    color: #d12f2a;
}

.b-region {

}

.b-region_hover .b-region__fill,
.b-region:hover .b-region__fill{
    fill: #ffffff;
}
.b-region_hover .b-region__marker,
.b-region:hover .b-region__marker{
    display: block;
}

.b-region__contur {

}

.b-region__fill {
    fill: transparent;
}


.b-region__marker {
    display: none;
}

/** АДАПТАЦИЯ **/

@media all and (min-width: 1600px) {
    .b-menu-list {
        display: none;
    }

    .b-menu__item {
        width: 100%;
        max-width: 120px;
    }

    .b-footer__map {
        display: none;
    }
}

@media all and (min-width: 1280px) and  (max-width: 1599px) {
    .b-menu-list {
        display: none;
    }

    .b-menu__item {
        width: 100%;
        max-width: 100px;
    }

    .b-footer__map {
        display: none;
    }
}

@media all and (min-width: 1024px) and (max-width: 1279px) {
    .b-footer__remark {
        display: none;
    }

    .b-about-caucasus {
        display: table;
        height: 100%;
        width: 100%;
    }

    .b-about-caucasus p {
        font-family: "PT Serif Caption", serif;
    }

    .b-about-caucasus__wrapper {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }

    .b-about-caucasus__text {
        width: 30%;
        margin: 0 auto;
    }

    .b-about-caucasus hr {
        margin: 20px auto;
    }

    .b-page-index .b-statistics {
        display: none;
    }

    .b-menu {
        display: none;
    }

    .b-page-index .b-sharing {
        display: block;
        left: 0;
        width: 100%;
        text-align: center;
    }

    .b-map {
        position: absolute;
        top: 0;
        left: 40px;
        width: 20%;
    }

    .b-page-index .b-middle-menu__map {
        position: absolute;
        top: 0;
        left: 40px;
        width: 50%;
    }

    .b-footer__map {
        display: none;
    }
}

@media all and (min-width: 768px) and (max-width: 1023px) {
    .b-map {
        position: absolute;
        left: 40px;
        top: 0;
        width: 20%;
    }

    .b-page-index .b-middle-menu__map {
        position: absolute;
        top: 0;
        left: 40px;
        width: 50%;
    }

    .b-footer__remark {
        display: none;
    }

    .b-about-caucasus {
        display: table;
        height: 100%;
        width: 100%;
    }

    .b-about-caucasus p {
        font-family: "PT Serif Caption", serif;
    }

    .b-about-caucasus__wrapper {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }

    .b-about-caucasus__text {
        width: 40%;
        margin: 0 auto;
    }

    .b-about-caucasus hr {
        margin: 20px auto;
    }

    .b-page-index .b-statistics {
        display: none;
    }

    .b-page-index .b-sharing {
        display: block;
        width: 100%;
        text-align: center;
        left: 0;
    }

    .b-menu {
        display: none;
    }

    .b-menu-list ul {
        list-style-type: none;
    }

    .b-footer__map {
        display: none;
    }
}

@media all and (max-width: 767px) {
    h1 {
        font-size: 36px;
    }

    .b-page-index .b-statistics {
        display: none;
    }

    .b-top__title {
        display: none;
    }

    .b-menu {
        display: none;
    }

    .b-menu-list {
        display: none;
    }

    .b-map {
        display: none;
    }

    .b-page-index .b-middle-menu__map {
        display: none;
    }

    .b-map__img {
        position: absolute;
        bottom: 0;
        width: 90%;
        height: 50%;
        margin: 0 5%;
    }

    .b-middle-menu__list {
        left: 0;
        right: 0;
        width: 100%;
    }

    .b-middle-menu__list ul {
        list-style-type: none;
        font-size: 14px;
        margin: 0 auto;
        width: 250px;
    }

    .b-menu-list__item {
        margin: 20px 0;
    }

    .b-menu-list__icon {
        display: inline;
        margin: 0 20px;
    }

    .b-about-caucasus {
        display: table;
        height: 100%;
        width: 100%;
    }

    .b-about-caucasus p {
        font-family: "PT Serif Caption", serif;
        font-size: 16px;
    }

    .b-about-caucasus__wrapper {
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }

    .b-about-caucasus__text {
        width: 90%;
        margin: 0 auto;
    }

    .b-about-caucasus hr {
        margin: 20px auto;
    }

    .b-page-index .b-sharing {
        display: block;
        left: 0;
        width: 100%;
        text-align: center;
    }

    .b-photo-copyright {
        display: block;
        left: 0;
        width: 100%;
        text-align: center;
    }

    .b-footer__remark {
        display: none;
    }

    .b-footer__map {
        display: block;
    }
}

.b-footer__counters {
    margin-top: 15px;
}
