/*
 Theme Name:   Theme from Denis
 Description:  Wordpress Theme From Denis
 Author:       Denis R
 Version: 1.1
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "Lato";
    font-weight: 400;
    font-size: 14px;
    color: #222;
    line-height: normal;
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    position: relative;
    overflow-y: hidden;
}

a {
    text-decoration: none !important;
}

a:hover {
}

img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
}

h1, h2, h3, h4, h6 {
}

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.container.container--full {
    max-width: 100%;
}

.flexed {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.flexed--between {
    justify-content: space-between;
}

.flexed--around {
    justify-content: space-around;
}

.flexed--top {
    align-items: flex-start;
}

.flexed--bottom {
    align-items: flex-end;
}

.flexed--center {
    justify-content: center;
}

.rel {
    position: relative;
}

header .menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

header .menu li {
    display: block;
}

.otgs-development-site-front-end {
    display: none;
}

.gmap {
    height: 660px;
}

.acf-map {
    height: 100%;
}

.logo {
    max-width: 200px;
}

header {
    height: 60px;
    background: #000;
    color: #fff;
    margin-bottom: 68px;
}

.header-title {
    font-size: 20px;
    padding: 18px 0;
    flex: 1;
    text-align: center;
}

ul.languages {
    display: flex;
    align-items: center;
    height: 60px;
    gap: 5px;
    justify-content: flex-end;
}

ul.languages li {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
}

ul.languages li:not(:last-child):after {
    content: ' / ';
    padding-left: 5px;
}

ul.languages li a {
    color: #fff;
}

.header-left {
    flex: 1;
}

.lang-switch {
    flex: 1;
}

.place-main h1 {
    text-align: center;
    padding-top: 15px;
}

.place-meta-info {
    max-width: 535px;
    margin: 20px auto 45px;
}

.place-short-info {
    text-align: center;
    font-size: 17px;
    line-height: 20px;
}

.place-short-address {
    font-size: 20px;
    text-decoration: underline;
    line-height: 24px;
    /*padding-left: 35px;
    background: url('ic/location/directions.svg') 0 50% no-repeat;*/
}

.place-short-distance-left > div {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.place-short-distance-info {
    padding: 30px 0 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid #000;
}

.place-short-prev-dist {
    padding: 10px 0 0 0px;
    font-size: 12px;
    /*background: url('ic/location/pin.svg') 0 50% no-repeat;*/
    margin-top: 5px;
}

.route-info1 .place-short-prev-dist {
    /*background: url('ic/location/pin-red.svg') 0 50% no-repeat;*/
}

.place-short-time {
    font-size: 12px;
    padding-top: 35px;
}

.place-short-distance-time {
    gap: 30px;
}

.place-icon-service {
    width: 55px;
    height: 55px;
    background-color: #D9D9D9;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    border-radius: 30px;
    text-indent: -99999px;
}

.place-icons > div {
    gap: 10px;
    display: flex;
}

.back-to-route a {
    padding: 18px 50px 18px 20px;
    background: url('ic/arrow/up-right-l.svg') calc(100% - 18px) 50% no-repeat #B83541;
    display: inline-block;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    border-radius: 50px;
}

.back-to-route {
    text-align: center;
    margin-top: 45px;
}

.place-gallery-item {
    width: calc(50% - 20px);
}

.place-gallery-item img {
    aspect-ratio: 2 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.place-gallery-inner {
    margin-bottom: 30px;
    gap: 20px;
}

.container.container--sm {
    max-width: 820px;
}

.place-text {
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 100px;
}

.place-text p {
    margin-bottom: 20px;
}

.place-text-add {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid currentColor;
}

.footer-message {
    text-align: center;
    padding: 10px 0;
}

.place-icon-service.place-icon-service-park {
    background-image: url('ic/parking.svg');
}

.place-icon-service.place-icon-service-food {
    background-image: url('ic/restaurant.svg');
}

.place-icon-service.place-icon-service-wc {
    background-image: url('ic/toilet.svg');
}

.place-icon-service.place-icon-service-car {
    background-image: url('ic/electric_car.svg');
}

.place-icon-service.place-icon-service-weel {
    background-image: url('ic/accessibility/wheelchair.svg');
}

.place-icon-service.place-icon-service-eyes {
    background-image: url('ic/accessibility/blind.svg');
}

.place-icon-service.place-icon-service-ears {
    background-image: url('ic/accessibility/hearing.svg')
}

.place-short-time.place-time-car {
    background: url('ic/transport/car.svg') 50% 0 no-repeat;
}

.place-short-time.place-time-bus {
    background: url('ic/transport/bus.svg') 50% 0 no-repeat;
}

.place-short-time.place-time-foot {
    background: url('ic/transport/walk.svg') 50% 0 no-repeat;
}

.back-btn button {
    background: url(ic/arrow/left-l.svg) 50% 50% no-repeat;
    border: none;
    height: 60px;
    text-indent: -9999px;
    width: 60px;
}

.gmap.gmap-superfull {
    height: calc(100vh - 60px);
    flex: 1;
}

.header-left {
    position: relative;
    z-index: 2;
}

.admin-bar .gmap.gmap-superfull {
    height: calc(100vh - 92px);
    flex: 1;
}

.route-info {
    width: 620px;
    padding: 35px 80px 10px 50px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.25);
    position: relative;
}

.rounte-inner {
    display: flex;
    justify-content: space-between;
    margin-top: -68px;
}

.route-time {
    color: #666666;
}

.route-text {
    margin: 30px 0;
    font-size: 20px;
    line-height: 26px;
}

.route-incos .place-icons-accessability {
    display: flex;
    gap: 20px;
}

.route-incos {
    gap: 50px;
    margin-top: 30px;
}

.route-label {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.route-pin {
    /*background: url('ic/map/pin.svg') 50% 100% no-repeat;*/
    color: #fff;
    padding: 2px 15px 19px;
    font-size: 14px;
    background-size: contain;
}

.route-places-count {
/*    background: url('ic/location/building-red.svg') 0% 50% no-repeat;
    padding-left: 35px;*/
}

.route-info1 .place-short-address {
    /*background-image: url('ic/location/directions-red.svg');*/
    margin: 10px 0;
}

.route-info1 > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.route-place-inner {
    position: relative;
    padding: 20px 0 30px;
    border-bottom: 1px solid #CCCCCC;
    gap: 30px;
    margin-bottom: 10px;
    cursor: pointer;
}

.route-place:last-child .route-place-inner {
    margin-bottom: 0;
}

.route-place-index {
    position: absolute;
    background: #B83541;
    color: #fff;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
    top: 25px;
    left: 0;
    transform: translate(-50%, -50%);
}

.route-place-img {
    max-width: 180px;
    height: 180px;
    width: 100%;
}

.route-place-info {
    flex: 1;
}

.route-place-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.route-place-text {
    margin: 15px 0;
}

.route-start button, .route-continue button {
    background: url('ic/arrow/up-right-l.svg') 92% 50% no-repeat #B83541;
    color: #fff;
    margin-top: 28px;
    padding: 18px 50px 18px 20px;
    font-size: 20px;
    border-radius: 50px;
    border: none;
}

.route-places-list {
    overflow: auto;
    padding-left: 20px;
    margin-left: -20px;
    padding-right: 20px;
    margin-top: 20px;
}

.route-title h1 {
    flex: 1;
}

.route-places-main-title a, .route-places-label a, .route-label a, .route-title a {
    color: currentColor;
}

.route-info-detailed .route-title {
    gap: 10px;
}

.route-info-gallery-inner {
    flex-wrap: nowrap;
    overflow: auto;
    gap: 30px;
    width: 100%;
}

.route-info-gallery .place-gallery-item {
    width: 485px;
    flex-shrink: 0;
}

.route-info-gallery {
    width: calc(100% + 80px);
    margin-top: 40px;
}

.map-route-img {
    max-width: 80px;
    width: 100%;
}

.map-route-img img {
    width: 100%;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.map-route-item {
    position: relative;
    cursor: pointer;
}

.map-route-index {
    position: absolute;
    top: 0;
    left: 0;
    background: #B83541;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #fff;
    border-radius: 20px;
    transform: translate(-50%, -50%);
}

.map-route-info-inner > div {
    flex: 1;
}

.map-route {
    flex: 1;
}

.map-route-info-wrap {
    padding: 20px 45px;
}

.map-route-text {
    flex: 1;
}

.map-route-main {
    gap: 20px;
}

.map-route-title {
    font-size: 16px;
    font-weight: 600;
}

.map-route-address {
    font-size: 12px;
    margin-top: 5px;
}

.route-places-center {
    text-align: center;
    border-left: 1px solid currentColor;
    border-right: 1px solid currentColor;
    flex: auto !important;
    max-width: 240px;
    padding: 0 20px;
}

.map-route-info-inner {
    gap: 50px;
}

.route-places-main-title {
    font-size: 20px;
    font-weight: 600;
}

.route-incos .place-icons-services {
    gap: 10px;
}

.route-incos .place-icons-accessability {
    gap: 10px;
}

.route-info-detail .place-text {
    margin-bottom: 10px;
    margin-top: 40px;
}

.route-info-detail .place-text.place-text-add {
    margin-top: 20px;
    padding-top: 20px;
}

.map-route.active > .gmap.gmap-full {
    height: calc(100vh - 223px);
}

.route-info-inner {
    max-width: 100%;
}

.route-pin {
    position: relative;
}

.route-pin span {
    position: absolute;
    z-index: 3;
    color: #fff;
    top: 27%;
    transform: translate(-50%, -50%);
    left: 50%;
    font-size: 18px;
}

.single-place .map-route-next .map-route-item {
    margin-left: auto;
    max-width: 303px;
}

.single-place .map-route-main {
    position: relative;
}

.single-place .map-route-main > a {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    text-indent: -99999px;
}

.single-place .map-route-index {
    z-index: 3;
}

.single-place .route-pin svg {
    max-width: 30px;
}

.single-place .route-pin {
    height: 55px;
}

.single-place .route-pin span {
    top: 26px;
    font-size: 14px;
}

.homemap {
    position: relative;
    top: -68px;
    margin-bottom: -68px;
}

.homemap-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
}

.homemap-link a {
    background: url('ic/arrow/up-right-l.svg') 90% 52% no-repeat #71ADBF;
    color: #fff;
    padding: 18px 50px 18px 20px;
    font-size: 20px;
    line-height: 24px;
    border-radius: 50px;
}

.main-route-item {
    width: calc(50% - 25px);
}

.main-routes-list {
    gap: 50px;
    margin-bottom: 75px;
}

.route-img {
    height: 200px;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 30px;
}

.route-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.home-main h1 {
    font-size: 44px;
    text-align: center;
    margin: 55px 0;
}

.home-main h2 {
    font-size: 40px;
}

.home-main .route-start a {
    background: url(ic/arrow/up-right-l.svg) 90% 52% no-repeat #71ADBF;
    color: #fff;
    padding: 18px 50px 18px 20px;
    font-size: 20px;
    line-height: 24px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 30px;
}

div#gmap3 {
    height: 50vh;
}

.routemap-route-img {
    position: relative;
    max-width: 180px;
    height: 180px;
    padding-top: 20px;
    box-sizing: content-box;
    width: 100%;
}

.routemap-route-img a {
    display: block;
    height: 100%;
    width: 100%;
}

.routemap-route-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.routemap-route-info {
    flex: 1;
    padding-top: 25px;
}

.routemap-route {
    gap: 30px;
}

.routemap-route-title a {
    font-size: 28px;
    line-height: 30px;
    color: #000;
}

.routemap-route-text {
    margin: 15px 0;
}

.routemap-route-address {
    /*padding-left: 36px;*/
    font-size: 18px;
    text-decoration: underline;
    /*background: url('ic/location/directions-red.svg') 0 0 no-repeat;*/
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.routemap-route-address > svg {
    width: 24px;
}

.routemap-route-address span {
    flex: 1;
}

.page-template-routes-tpl .route-info {
     height: calc(100vh - 60px);
     overflow: auto;
}

.admin-bar.page-template-routes-tpl .route-info {
    height: calc(100vh - 92px);
}

.routemap h1 {
    font-size: 44px;
    margin-bottom: 50px;
}
.routemap-route:not(:last-child) {
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 30px;
    margin-bottom: 15px;
}

.vis-nav {
    margin-left: auto;
    padding-right: 20px;
    background: url('ic/arrow/right.svg') 100% 50% no-repeat;
    margin-top: 5px;
    background-size: 15px;
}

.vis-nav.vis-nav-prev {
    padding-right: 0;
    padding-left: 20px;
    margin-left: 0;
    margin-right: auto;
    background-image: url('ic/arrow/left.svg');
    background-position: 0 50%;
}

.map-route-sm .map-route-index {
    width: 25px;
    height: 25px;
    font-size: 14px;
}

.vis-nav.vis-nav-no {
    background: none;
    text-align: center;
}

.route-img a img {
    transition: 0.4s;
    transform: scale(1.2);
}

.route-img a:hover img {
    transform: scale(1);
}

.route-continue button, 
.back-to-route a, 
.route-start button, 
.route-start a, 
.homemap-link a {
    transition: 0.3s;
}

.route-continue button:hover,
.route-start button:hover,
.back-to-route a:hover, 
.route-start a:hover, 
.homemap-link a:hover {
    filter: brightness(0.75);
}

.place-info-link a {
    color: currentColor;
    margin-top: 28px;
    padding: 18px 20px;
    font-size: 20px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid #eee;
    background: #d9d9d9;
    text-align: center;
}

.route-btns {
    gap: 10px;
}

.routemap-scroll-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    background: #fff;
    padding: 15px 0;
    gap: 10px;
}

.routemap-scroll-info svg {
    transform: rotate(90deg);
}

.routemap-scroll-info.active {
    opacity: 0;
    visibility: hidden;
}