@font-face {
    font-family: 'Myriad Pro Regular';
    src: url('../fonts/MyriadPro-Regular.eot');
    src: url('../fonts/MyriadPro-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/MyriadPro-Regular.woff') format('woff'),
    url('../fonts/MyriadPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans Semibold Italic';
    src: url('../fonts/OpenSans-SemiBoldItalic.eot');
    src: url('../fonts/OpenSans-SemiBoldItalic.eot?#iefix') format('embedded-opentype'),
    url('../fonts/OpenSans-SemiBoldItalic.woff') format('woff'),
    url('../fonts/OpenSans-SemiBoldItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background: url(../img/header-p-bg.jpg) top no-repeat;
    background-position: top center;
}

header {
    height: 140px;
}

/* Блок "Сайдбар" */
#sidebar.col-lg-4 {
    padding: 7px 0 0 30px;
    min-height: 700px;
}

#sidebar ul {
    padding: 0;
    list-style: none;
}

#sidebar img {
    max-width: 100%;
}

#sidebar .widget {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}

#sidebar .widget.center {
    justify-content: center;
}

#sidebar .name,
#sidebar .menu {
    width: 320px;
}

#sidebar .name {
    position: absolute;
    display: block;
    height: 70px;
    top: 7px;
    right: 0;
    background: #f7f5f4;
    border-radius: 10px 10px 0 0;
    padding: 25px 40px 20px 40px;
    font-family: 'Open Sans Bold';
    font-size: 18px;
}

#sidebar .menu {
    background: #fff;
    border-radius: 0 0 10px 10px;
    padding: 20px 40px;
    margin-top: 68px;
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.06); 
}

#sidebar .menu li {
    margin: 0 0 13px 0;
    position: relative;
}

#sidebar .sub-menu {
    margin: 13px 0 0 0;
    display: none;
}

#sidebar .menu a {
    font-size: 14px;
    color: #3a3846;
    cursor: pointer;
}

#sidebar .menu li ul a {
    color: #A6878B;
}

#sidebar .menu a::selection {
    background: none;
}

#sidebar .menu a:hover,
#sidebar .menu-open {
    text-decoration: none;
    font-family: 'Open Sans Bold';
}

#sidebar .menu a:hover .fa-angle-left,
#sidebar .menu-open .fa-angle-left {
    font-weight: bold;
}

#sidebar a .fa-angle-left {
    width: auto;
    height: auto;
    padding: 0;
    margin-right: 10px;
    -webkit-transition: transform .5s ease;
    -o-transition: transform .5s ease;
    transition: transform .5s ease;
    position: absolute;
    right: 0;
    top: 5px;
}

#sidebar a.menu-open .fa-angle-left {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.current-menu-item,
#sidebar .telephone,
#sidebar .email,
#sidebar span.text,
#sidebar .interesting-articles .block-name
 {
    font-family: 'Open Sans Bold';
}

#sidebar .contact-block {
    width: 320px;
    padding: 35px 30px;
    color: #c6a7ab;
    background: #fff;
    border: 1px solid #c6a7ab;
    border-radius: 10px;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 5px; 
}

#sidebar .block-name {
    font-family: 'Open Sans Semibold Italic';
    font-size: 18px;
    line-height: 15px;
    margin: 0 0 40px 0;
}

#sidebar .block-name span {
    display: block;
    text-align: center;
}

#sidebar .block-name span:last-child {
    font-size: 24px;
    line-height: 18px;
    margin: 10px 0 0 0;
}

#sidebar .telephone,
#sidebar .email {
    text-align: center;
    color: #3a3846;
}

#sidebar .telephone a {
    color: inherit;
    text-decoration: none;
}

#sidebar .telephone {
    font-size: 24px;
    line-height: 18px;
    margin: 0 0 11px 0;
}

#sidebar .email {
    font-size: 16px;
    line-height: 15px;
    margin: 0 0 35px 0;
}

#sidebar .telephone span,
#sidebar .email span {
    font-size: 12px;
    line-height: 12px;
    display: block;
    text-align: center;
    color: #c6a7ab;
    margin: 6px 0 0 0;
}

#sidebar span.text {
    font-size: 14px;
    line-height: 32px;
}

#sidebar .messengers-block {
    height: 32px;
    margin-bottom: 20px;
}

#sidebar .messengers {
    right: 0;
    margin: 0;
}

#sidebar .messengers li {
    margin: 0 16px 0 0;
}

#sidebar .messengers li a {
    width: 32px;
    height: 32px;
}

#sidebar .messengers li:hover {
    opacity: 0.8;
}

#sidebar .whatsapp {
    background: url(../img/whatsapp_2.jpg) no-repeat;
}

#sidebar .viber {
    background: url(../img/viber_2.jpg) no-repeat;
}

#sidebar .telegram {
    background: url(../img/telegram_2.jpg) no-repeat;
}

#sidebar .contact-block .common-btn {
    width: auto;
    padding: 0 28px;
    position: absolute;
    bottom: -21px;
}

#sidebar .interesting-articles {
    width: 320px;
    font-family: 'Open Sans Regular';
    font-size: 14px;
    padding: 20px;
}

#sidebar .interesting-articles .block-name {
    margin: 0 0 24px 0;
    font-size: 14px;
}

#sidebar .interesting-articles ul li {
    margin: 0 0 10px 0;
}

#sidebar .interesting-articles a {
    color: #a49a9b;
    text-decoration: none;
}

#sidebar .interesting-articles a:hover {
    color: #c6a7ab;
}

#sidebar .photo {
    z-index: 10;
    position: relative;
    border-radius: 5px
}

#sidebar .photo img {
    position: relative;
    z-index: 1;
    border-radius: 5px
}

#sidebar .photo:after {
    position: absolute;
    display: block;
    content: "";
    bottom: 5%;
    right: 0;
    width: 100%;
    height: 50%;
    z-index: 0;
    box-shadow: 0px 20px 91px 10px rgba(0,0,0,0.1);
}

/* Теги в теле статей */
#content h1 {
    font-family: 'Open Sans ExtraBold';
    font-size: 30px;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

#content h2 {
    font-size: 24px;
    margin: 25px 0 15px 0;
}

#content h3 {
    font-size: 22px;
    margin: 25px 0 15px 0;
}

#content h4 {
    font-size: 20px;
    margin: 25px 0 15px 0;
}

#content h5 {
    font-size: 18px;
    margin: 20px 0 15px 0;
}

#content h6 {
    font-size: 16px;
    margin: 20px 0 15px 0;
}

#content ul,
#content ol {
    color: #222;
    list-style: none;
    padding: 0;
}

#content ul li,
#content ol li {
    margin: 0 0 7px 0;
}

#content ul li:before {
    display: inline-block;
    content: "";
    width: 12px;
    height: 11px;
    margin-right: 32px;
    background: url(../img/ellipse.jpg) no-repeat;
}

#content ol {
    list-style: none;
    counter-reset: my-counter;
}

#content ol li {
    counter-increment: my-counter;
}

#content ol li::before {
    content: counter(my-counter) ". ";
    color: #c6a7ab;
    font-family: 'Open Sans ExtraBold';
    margin-right: 27px;
}

#content .wp-polls {
    margin: 15px 0 20px 0;
}

#content ul.wp-polls-ul {
    color: #888;
}

#content ul.wp-polls-ul li {
    margin: 0;
}

#content .wp-polls-ul li:before {
    display: none;
}

#content a {
    font-family: 'Open Sans Bold';
    border-bottom: 1px solid #6c6b73d6;
    color: #3a3846;
}

#content a:hover {
    text-decoration: none;
    border-bottom: none;
}

#content a.border-none {
    border-bottom: none;
}

#content .common-btn a {
    font-family: 'Open Sans ExtraBold';
    border-bottom: none;
    color: #fff;
}

#content blockquote {
    font-family: 'Open Sans Italic';
    background: #f6f6f6;
    padding: 25px 40px 25px 40px;
    border-radius: 5px;
}

#content table {
    width: 100%;
    margin: 10px 0 15px 0;
}

#content table th {
    color: #a49a9b;
    line-height: 17px;
}

#content table tr:first-child th:first-child {
    padding: 15px 15px 15px 0;
}

#content #transfer table tbody {
    box-shadow: 0 0 0 1px #d3c9c4;
    border-radius: 4px;
}

#content #transfer table tbody tr {
    border-bottom: 1px solid #d3c9c4;
}

#content #transfer table tbody tr:hover {
    background: #e4d0d3;
    font-family: 'Open Sans Bold';
    transition: all 0.2s ease-in-out;
    box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.1);
}

#content table tbody tr:hover td:after {
    background: #fff;
}

#content table tbody td {
    padding: 10px;
    position: relative;
}

#content table tbody td:after {
    display: block;
    content: "";
    width: 1px;
    height: 50%;
    background: #d3c9c4;
    position: absolute;
    top: 25%;
    right: 0;
}

#content table tbody tr td:first-child {
    padding: 20px 40px;
}

#content table tbody tr td:last-child:after {
    display: none;
}

#content .new {
    position: relative;
}

figure img, .wp-caption, .wp-caption img, .alignnone, .alignnone img, p img {
    width: 100% !important;
    height: auto;
}

img.alignright {
    width: auto !important;
    float: right;
    margin: 10px 0 10px 20px;
}

img.alignleft {
    width: auto !important;
    float: right;
    margin: 10px 20px 10px 0;
}

.wp-caption-text, .wp-block-image figcaption {
    font-family: 'Open Sans Italic';
    text-align: center;
    color: #777;
    margin-top: 10px;
    font-size: 15px;
}

#content .breadcrumbs {
    margin: 0 0 38px 0;
    opacity: 0.8;
}

#content .breadcrumbs, 
#content .breadcrumbs a {
    font-family: 'Open Sans Regular';
    font-size: 14px;
    color: #fff;
    border: none;
}

#content .breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 2px;
}

.share_img {
    position: absolute;
    width: 30px;
    height: 170px;
    padding: 5px;
    background: #ffffffa1;
    top: 15px;
    right: 15px;
    border-radius: 5px;
    box-sizing: unset;
    display: none;
}

.share_img ul {
    list-style: none;
}

#content .share_img li {
    margin: 5px 0;
    padding: 0 2px;
}

#content .share_img li:before,
#content .contacts li:before,
#content .share li:before {
    display: none;
}

#content a.ya-share2__link,
#content .contacts a {
    border: none;
}

#content .text-pink {
    color: #a49a9b;
}

#content .contacts {
    font-size: 16px;
    margin: 0 0 15px 0;
}

#content .contacts ul {
    margin: 0 0 20px 0;
}

#content .contacts .type {
    display: block;
    font-size: 13px;
    color: #a49a9b;
}

#content .contacts ul a {
    width: 25px;
    height: 25px;
}

#content .contacts ul li {
    width: 25px;
    margin: 0 6px 0 0;
}

#content .contacts .instagram {
    background: url(../img/instagram_min.jpg) no-repeat;
}

#content .contacts .vk {
    background: url(../img/vk_min.jpg) no-repeat;
}

input[type="text"], input[type="email"], textarea {
    width: 360px;
    padding: 9px 23px 7px 23px;
    outline: none;
    border: 1px solid #bbb;
    border-radius: 5px;
    font-family: 'Open Sans Italic';
    font-size: 14px;
    color: #616161;
    margin: 0 0 20px 0;
}

input[type="text"]::placeholder, input[type="email"]::placeholder, textarea::placeholder {
    font-family: 'Myriad Pro Regular';
    font-size: 14px;
    color: #aaa;
}

#content input.common-btn {
    bottom: -10px;
    right: 200px;
    border: none;
    background: #ccc;
    color: #fff;
}

#content .contact-form input.common-btn {
    position: unset;
    float: right;
}

#content .contact-form textarea {
    height: 60px;
}

#content input.common-btn:hover {
    background: #B8B8B8;
}

#content .tour-price {
    margin-bottom: 35px;
    font-family: 'Open Sans Bold';
    font-size: 14px;
    line-height: 12px;
}

#content .time, #content .price {
    background: #fff;
    padding: 18px 30px 16px;
    float: left;
    margin: 0 30px 0 0;
    border-radius: 5px;
    box-shadow: 0px 16px 20px 0px rgba(0, 0, 0, 0.06); 
}

#content .time span, #content .price span {
    font-size: 18px;
    color: #c6a7ab;
}

#content .time {
    width: auto;
}

.remark {
    padding: 34px 38px;
    margin: 20px 0 30px;
    font-family: 'Open Sans Regular';
    background: #c6a7ab;
    font-size: 14px;
    color: #fff;
    border-radius: 10px;
}

.remark p {
    margin-bottom: 20px;
}

.remark p:last-child {
    margin-bottom: 0;
}

.remark .common-btn {
    border: 1px solid #fff;
    align-self: center;
}

#content .share {
    font-family: 'Myriad Pro Regular';
}

#content .ya-share2 {
    margin-top: 6px;
}

#content .share li {
    margin: 0 5px 0 0;
}

#content .share li:last-child {
    margin: 0;
}

#content a.prev,
#content a.next {
    border-bottom: none;
}

.gallery-columns-3 .gallery-item {
    width: 32% !important;
    margin-right: 10px;
}

.gallery-columns-3 .gallery-item img,
.gallery-columns-3 .my-gallery-item img {
    border: none !important;
    max-width: 100%;
    height: auto;
}

.gallery dl {
    margin-top: 0;
    margin-bottom: 0;
}

.gallery .wp-caption-text,
.article-gallery .wp-caption-text {
    font-size: 13px;
    margin-top: 5px;
    margin-bottom: 0;
    height: 19px;
    overflow: hidden;
}

.article-gallery {
    margin: 15px 0;
}

.article-gallery.gallery-columns-3 .gallery-item {
    width: 33% !important;
}

.nav-gallery {
    position: relative;
    font-size: 14px;
    color: #a49a9b;
    height: 40px;
    border: 1px solid #d3c9c4;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    border-radius: 5px;
    margin: 15px 0 0 0;
    z-index: 100;
    background: #fff;
}

.nav-gallery > div {
    border-right: 1px solid #d3c9c4;
    box-sizing: border-box;
}

.nav-gallery > div:last-child {
    border-right: none;
}

.button-prev,
.button-next {
    text-align: center;
    cursor: pointer;
    outline: none;
    line-height: 40px;
    -webkit-transition: transform .5s ease;
    -o-transition: transform .5s ease;
    transition: transform .5s ease;    
}

.button-prev:hover,
.button-next:hover {
    background: #c6a7ab1c;
}

.nav-gallery .swiper-pagination-fraction {
    position: unset;
    line-height: 40px;
}

.tour-order.margin {
    margin: 10px auto 30px auto;
}

.post-meta {
    margin: 25px 0 0 0;
}

.rating-head {
    margin: 0 0 7px 0;
}

.rating-head .two {
    color: #a49a9b;
}

.post-ratings img {
    margin-right: 10px;
}

#content .ngg-gallery-thumbnail-box {
    width: 33%;
}

#content .ngg-gallery-thumbnail,
#content .ngg-gallery-thumbnail-box a {
    border: none;
}

#content .ngg-gallery-thumbnail img {
    width: 100%;
}

#content .b-head_type_search-simple {
    display: none;
}

#content #ya-site-results {
    background: none;
}

@media screen and (max-width: 1199px) {
    #sidebar .name {
        width: 300px;
    }

    .gallery-columns-3 .gallery-item {
        margin-right: 5px;
    }
}

@media (max-width:1199px) and (min-width:992px) {
    #sidebar .messengers li {
        margin: 0 10px 0 0;
    }

    #sidebar .messengers li:last-child {
        margin-right: 0;
    }
}

@media screen and (max-width: 991px) {
    .contacts-block {
        margin: 40px 0 0 0;
    }

    #content .pop-excursion a.name {
        width: auto !important;
    }

    .col-md-0 {
        display: none;
    }

    #sidebar {
        margin-top: 50px;
    }

    #sidebar .widget {
        width: 50%;
        float: left;
        justify-content: flex-start;
    }

    #sidebar.col-lg-4 {
        padding: 7px 0 0 10px;
    }

    #sidebar .name {
        left: 10px;
    }
}

@media screen and (max-width: 767px) {
    .remark {
        padding: 25px;
    }

    .remark p {
        margin-bottom: 10px;
    }

    .remark .common-btn {
        margin: 20px auto 0 auto;
    }
}

@media (max-width:767px) and (min-width:555px) {
    #sidebar .messengers-block {
        margin: -20px 0 40px 0;
    }

    #sidebar .messengers-block .text {
        display: block;
        text-align: center;
    }

    #sidebar .messengers li:last-child {
        margin-right: 0;
    }

    #sidebar .messengers {
        position: relative;
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 689px) {
    #content h1 {
        font-size: 23px;
    }

    input[type="text"], input[type="email"], textarea {
        width: 290px;
    }

    #content input.common-btn {
        bottom: 0;
        right: 130px;
    }

    #sidebar .name {
        width: 285px;
    }

    #content .details .col-4 .tour-time {
        width: 100%;
    }

    #content .pop-excursion.long-price a {
        bottom: 60px;
    }

    #content .pop-excursion.long-price .details .col-4 {
        -ms-flex: 0 0 49%;
        flex: 0 0 49%;
        max-width: 49%;
    }

    #content .pop-excursion.long-price .details .col-2 {
        display: none;
    }

    #content iframe {
        height: 300px;
    }
}

@media (max-width:689px) and (min-width:555px) {
    #sidebar .contact-block {
        width: 260px;
        padding: 25px 10px;
        margin: 0 0 5px 20px;
    }

    #sidebar .contact-block .common-btn {
        padding: 0 15px;
    }
}

@media screen and (max-width: 580px) {
    input[type="text"], input[type="email"], textarea {
        width: 260px;
    }

    #content input.common-btn {
        bottom: 0;
        right: 100px;
    }

    #content .tour-price {
        font-size: 13px;
    }

    #content .time, #content .price {
        padding: 18px 15px 16px;
    }

    #content .time {
        width: 240px;
    }

    #content table tbody tr td:first-child {
        padding: 10px 20px;
    }

    #sidebar .name {
        width: 265px;
    }

    .post-meta {
        margin: 10px 0 0 0;
    }

    .post-meta .col-sm-8 {
        order: 1;
    }

    .post-meta .col-sm-4 {
        order: 0;
    }

    .post-meta .col-sm-8,
    .post-meta .col-sm-4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .text-right.share {
        text-align: center !important;
        margin: 0 0 10px 0;
    }
}

@media (max-width:580px) and (min-width:555px) {
    #sidebar .contact-block .common-btn {
        padding: 0 10px;
        left: 17px;
    }

    #sidebar .common-btn a {
        font-size: 11px;
    }
}

@media (max-width: 580px) and (min-width: 555px) {
    #sidebar .contact-block .common-btn {
        left: 22px;
    }
}

@media screen and (max-width: 575px) {
    input[type="text"], input[type="email"], textarea {
        width: 100%;
    }

    #content input.common-btn {
        position: static;
        margin: 0 auto;
    }

    #content form {
        margin-top: 30px;
    }
}

@media (max-width:575px) and (min-width:555px) {
    #sidebar .contact-block {
        margin: 0 0 5px 10px;
    }
}

@media screen and (max-width: 554px) {
    #sidebar {
        padding: 0 !important;
    }

    #sidebar .widget {
        width: 100%;
        justify-content: center;
    }

    #sidebar .menu {
        position: relative;
    }

    #sidebar .name {
        width: 100%;
        margin: -75px 0 0 -10px;
    }

    .post-meta .share .text {
        display: block;
        text-align: center;
    }

    #content .ya-share2 {
        text-align: center;
    }

    #sidebar .contact-block .col-md-6 {
        width: 50%;
    }
}

@media screen and (max-width: 499px) {
    #content .time {
        margin: 0 15px 0 0;
    }

    #content .price {
        margin: 0;
    }

    .gallery-columns-3 .gallery-item {
        width: 47% !important;
        margin-right: 10px;
    }

    .gallery-columns-3 br,
    #content .ngg-galleryoverview br {
        display: none;
    }

    .gallery-columns-3 br:last-child {
        display: block;
    }

    #content iframe {
        height: 260px;
    }

    #content .ngg-gallery-thumbnail-box {
        width: 50%;
    }
}

@media screen and (max-width: 469px) {
    #content .price {
        margin: 15px 0 0 0;
    }

    #content .tour-price {
        margin-bottom: 20px;
    }

    #content iframe {
        height: 220px;
    }
}

@media screen and (max-width: 439px) {
    #content .pop-excursion a.name {
        bottom: 75px !important;
    }

    .excursions .details .col-8 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gallery-columns-3 .gallery-item {
        width: 47% !important;
    }

    #gallery-1 .gallery-caption {
        height: 19px;
        overflow: hidden;
    }
}

@media screen and (max-width: 419px) {
    #content h1 {
        font-size: 18px;
    }

    #content .breadcrumbs, #content .breadcrumbs a {
        font-size: 13px;
    }

    #content blockquote {
        padding: 15px 30px 15px 30px;
    }

    #content table {
        font-size: 14px;
    }
}

@media screen and (max-width: 399px) {
    #content iframe {
        height: 190px;
    }

    .article-gallery .button-prev span,
    .article-gallery .button-next span {
        display: none;
    }

    .article-gallery .button-prev:after {
        content: 'Пред.';
    }

    .article-gallery .button-next:after {
        content: 'След.';
    }
}

@media screen and (max-width: 369px) {
    #content table {
        font-size: 13px;
    }

    #content table tbody tr td:first-child {
        padding: 10px 10px;
    }

    #sidebar .menu {
        width: 300px;
        padding: 20px 30px;
    }

    #sidebar .contact-block {
        width: 300px;
        padding: 25px 20px;
    }

    .gallery-columns-3 .gallery-item {
        width: 46% !important;
    }

    .rating-head {
        font-size: 13px;
    }
}

@media screen and (max-width: 350px) {
    .rating-head {
        font-size: 14px;
    }

    .rating-head .two {
        display: block;
    }
}

@media screen and (max-width: 340px) {
    #sidebar .menu {
        width: 280px;
        padding: 20px 25px;
    }

    #sidebar .contact-block {
        width: 280px;
    }

    #sidebar .messengers li {
        margin: 0 10px 0 0;
    }

    #sidebar .messengers li:last-child {
        margin-right: 0;
    }

    #sidebar .messengers {
        position: relative;
        display: flex;
        justify-content: center;
    }

    #sidebar .contact-block .common-btn {
        padding: 0 18px;
    }

    .nav-gallery {
        margin: 10px 0 0 0;
    }
}