/* * * Pocket * * */
.b-pocket {
    position: relative;
}

.b-pocket_footer {
    position: relative;
    margin-top: 16px;
    font: 300 14px 'Roboto', sans-serif;
    -webkit-transition: all 250ms;
    -o-transition: all 250ms;
    transition: all 250ms;
}

.b-pocket_footer_toggle {
    position: relative;
    color: #1fa6a3;
    -webkit-transition: all 250ms;
    -o-transition: all 250ms;
    transition: all 250ms;
    cursor: pointer;
}

.b-pocket.opened .b-pocket_footer {
    margin-top: 24px;
}

.b-pocket.excess .js-pocket-box:before {
    opacity: 0;
    visibility: hidden;
}

.b-pocket.excess .b-pocket_footer {
    display: none;
}

/* * * Tags * * */
.b-tags {
    margin: 52px -6px -10px 0;
}

.b-tags_caption {
    margin-bottom: 12px;
    font: 500 18px 'Roboto', sans-serif;
    color: #000;
}

.b-tags_item {
    margin: 0 6px 10px 0;
    padding: 6px 15px;
    font: 400 12px 'Roboto', sans-serif;
    color: #5d5d5d;
    background: #f8f8f8;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

.b-tags_item:hover {
    color: #fff;
    background: #1fa6a3;
}

@media (max-width: 1263px) {

    .b-tags {
        margin-top: 32px;
    }

}

/* * * Drop down * * */
.b-dropDown {
    display: block;
    position: relative;
}

.b-dropDown_toggle {
    display: block;
    position: relative;
    padding: 10px 36px 10px 18px;
    font: 400 14px 'Roboto', sans-serif;
    color: #000;
    background: #f8f8f8;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    cursor: pointer;
}

.b-dropDown_toggle span {
    display: block;
    position: relative;
    text-overflow: ellipsis;
    overflow: hidden;
}

.b-dropDown_toggle:before {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    font: normal 7px/38px 'VetaptekaIcons', sans-serif;
    text-align: center;
    color: #000;
    content: '\e806';
    -webkit-transition: all 250ms;
    -o-transition: all 250ms;
    transition: all 250ms;
}

.b-dropDown.opened .b-dropDown_toggle:before {
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
    transform: rotate(-180deg);
}

.b-dropDown_box {
    position: absolute;
    z-index: 110;
    left: 0;
    top: 100%;
    right: 0;
    margin-top: 2px;
    max-height: 184px;
    background: #fff;
    -webkit-box-shadow: 1px 5px 9px rgba(0, 0, 0, .2);
    box-shadow: 1px 5px 9px rgba(0, 0, 0, .2);
    -webkit-border-radius: 9px;
    border-radius: 9px;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(6px);
    -ms-transform: translateY(6px);
    -o-transform: translateY(6px);
    transform: translateY(6px);
    -webkit-transition: all 400ms;
    -o-transition: all 400ms;
    transition: all 400ms;
}

.b-dropDown.opened .b-dropDown_box {
    opacity: 1;
    visibility: visible;
    -webkit-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

.b-dropDown_menu {
    position: relative;
    padding: 14px 6px;
    font: 300 14px 'Roboto', sans-serif;
    color: #000;
}

.b-dropDown_menu a {
    display: block;
    position: relative;
    padding: 8px 16px;
    text-decoration: none;
    color: inherit;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

.b-dropDown_menu a:hover,
.b-dropDown_menu a.current {
    background: #f8f8f8;
}

/* * * Auto complete * * */
.b-autoComplete {
    position: absolute;
    z-index: 400;
    left: 0;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: #fff;
    -webkit-border-radius: 9px;
    border-radius: 9px;
    -webkit-box-shadow: 1px 5px 9px rgba(0, 0, 0, .21);
    box-shadow: 1px 5px 9px rgba(0, 0, 0, .21);
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(7px);
    -ms-transform: translateY(7px);
    -o-transform: translateY(7px);
    transform: translateY(7px);
    -webkit-transition: opacity 250ms, visibility 250ms, -webkit-transform 250ms;
    -o-transition: opacity 250ms, visibility 250ms, -o-transform 250ms;
    transition: opacity 250ms, visibility 250ms, transform 250ms;
    overflow-y: auto;
}

.b-autoComplete.opened {
    opacity: 1;
    visibility: visible;
    -webkit-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

.b-autoComplete_list {
    list-style: none;
    padding: 12px 0;
    font: 300 14px 'Roboto', sans-serif;
    color: #000;
}

.b-autoComplete_list > li > a {
    display: block;
    position: relative;
    padding: 6px 20px;
    text-decoration: none;
    color: #000;
}

.b-autoComplete_list > li > a:hover {
    color: #1fa6a3;
}

.b-autoComplete_list > li > span {
    display: block;
    position: relative;
    padding: 6px 20px;
    text-decoration: none;
    color: #000;
    -webkit-transition: all 250ms;
    -o-transition: all 250ms;
    transition: all 250ms;
    cursor: pointer;
}

.b-autoComplete_list > li > span:hover {
    color: #1fa6a3;
}

@media (max-width: 767px) {

    .b-autoComplete {
        max-height: -webkit-calc(100vh - 127px);
        max-height: calc(100vh - 127px);
        overflow-y: auto;
    }

}


/* * * Maps * * */
.b-map_marker {
    height: 0;
    width: 0;
}

.b-map_marker svg {
    position: absolute;
    z-index: 6;
    left: -13px;
    bottom: -4px;
    width: 34px;
    height: 51px;
}

.b-map_marker[title]:before {
    position: absolute;
    z-index: 5;
    left: 4px;
    top: -42px; /*max-width: 200px; */
    padding: 0 12px 0 17px;
    height: 28px;
    font: 400 13px/28px 'Roboto', sans-serif;
    color: #303030;
    background: hsla(0, 0%, 100%, .8);
    -webkit-border-radius: 14px;
    border-radius: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    content: attr(title);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.b-map__grayscale [class*="ymaps-2"][class*="-ground-pane"] {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    -webkit-filter: grayscale(100%);
    filter: gray;
}

.b-map__noCopy [class*="ymaps-2"][class*="-copyright"] {
    opacity: 0;
}

.b-map__noCopy [class*="ymaps-2"] iframe {
    opacity: 0;
}


/* * * Schedule string * * */
.e-schedule {
    position: relative;
    padding-left: 35px;
}

.e-schedule:before {
    position: absolute;
    left: 0;
    top: 0;
}

/* * * Attention * * */
.e-attention {
    font-weight: 900;
    color: #fe6913;
}

/* * * SEO block * * */
.b-seo {
    position: relative;
    margin-top: 24px;
}

@media (min-width: 768px) {

    .b-seo {
        margin-top: 14px;
    }

}

@media (min-width: 1264px) {

    .b-seo {
        margin-top: 34px;
    }

}

/* * * Attached * * */
.b-attached {
    margin-top: 40px;
}

.b-attached_caption {
    margin-bottom: 16px;
    font: 500 24px 'Roboto', sans-serif;
    color: #000;
}

.b-attached_list {
    list-style: none;
    font: 400 16px 'Roboto', sans-serif;
}

.b-attached_list li ~ li {
    margin-top: 18px;
}

.b-attached_list a {
    text-decoration: none;
    color: #1fa6a3;
}

.b-attached_list a:hover {
    color: inherit;
}

@media (max-width: 767px) {

    .b-attached {
        margin-top: 18px;
        margin-bottom: 20px;
    }

}

@media (min-width: 768px) and (max-width: 1263px) {

    .b-attached {
        margin-bottom: 20px;
    }

}