@media (min-width: 992px) {
    .tourInfoContentMain.open {
        height: calc(100vh - 188px);
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .tourInfoText {
        /* ne kužim čemu ovo ??? Lovro? */
        /* min-height: calc(100vh - 550px); */
        /* max-height: calc(100vh - 550px); */
    }
}
@media (max-width: 1199px) {
    .dd-trigger-wrapper {
        position: relative;
    }
    header .region-title {
        padding-left: 20px;
        font-size: 19px;
    }
    .dd-trigger-wrapper.active .projects-list {
        left: 17px!important;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .map-menu {
        max-width: 85%;
    }
    .mobile-header {
        display: block;
        height: 85px;
    }
    .desktop-header {
        display: none;
    }
    .tourInfo {
        top: 85px;
    }
    .tourInfo.open {
        height: calc(100vh - 85px);
    }
    .mob-nav-bars {
        padding: 26px 40px 27px 40px;
    }
    .dd-trigger-wrapper.active .projects-list {
        display: block;
        left: 0;
        top: 30px;
        width: 177px;
    }
    .projects-list li a {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .dd-trigger-wrapper.active .projects-list {
        display: block;
        width: 177px;
    }
    .mobile-header {
        height: 85px;
    }
    .desktop-header {
        display: none;
    }
    .potpis{
        display: none;
    }
    .potpis.opened{
        display: block;
    }
    .logo-img {
        display: block;
        width: 300px;
        margin: 0;
    }
    header {
        z-index: 2;
    }
    header .dropdown-toggle::after {
        font-size: 17px;
        top: 55%;
    }
    header .dropdown .dropdown-item {
        font-size: 13px;
    }
    header .main-menu-region .dropdown .btn {
        padding: 0rem .75rem 0rem 1.3rem;
    }
    .dropdown ul {
        min-width: 90px;
    }
    .dropdown .btn {
        padding: 0 7px;
    }
    .img-360 {
        margin-top: 70px;
    }
    .at-share-btn-elements {
        transform: scale(1.2);
    }
    /* ------- tourInfo start !!! ------------ */
    .tourInfo {
        top: auto;
        bottom: -500px;
        width: 100%;
        height: auto;
        transition: all 0.3s ease-in-out;
    }
    .tourInfo.open {
        bottom: 0;
        height: auto;
    }
    .tourTopMenu h2 {
        font-size: 16px;
        padding: 10px 0;
        flex-grow: 1;
    }
    .tourInfoContentMain {
        display: block !important;
        position: relative;
        height: 500px;
        overflow: hidden;
    }
    .tourInfo .top-container{
        position: absolute;
        width: 100%;
        height: 100%;
    }
    .tourInfoText {
        position: absolute;
        height: 100%;
        top: 500px;
        z-index: 0;
        transition: top 0.2s ease-in-out;
    }
    .tourInfoText.open {
        top: 0;
        z-index: 1;
    }
    .tourShare {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 500px;
        z-index: 0;
        transition: top 0.2s ease-in-out;
    }
    .tourShare.open {
        top: -15px;
        z-index: 1;
    }
    .tourMap {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 500px;
        z-index: 0;
        transition: top 0.2s ease-in-out;
    }
    .tourMap.open {
        top: 0;
        z-index: 1;
    }
    .tourTopMenuMobileButtons button {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #fff;
        font-size: 11px;
        text-transform: uppercase;
        font-weight: 400;
        text-align: center;
        padding: 0 16px 0 16px;
        outline: none !important;
        border: none;
        pointer-events: auto;
        background: none;
    }
    .tourTopMenuMobileButtons img  {
        height: 25px;
        margin-bottom: 3px;
    }
    /* ------- tourInfo end !!! ------------ */

    .map-menu {
        max-width: 80%;
        padding: 25px 0;
    }
    .map-menu ul li {
        font-size: 1.5rem;
    }
    .map-menu ul li a {
        padding: 0 10px;
    }
    .map-menu ul li:first-child a {
        padding-left: 20px;
    }
    .map-menu ul li:last-child a {
        padding-right: 20px;
    }

    .share-buttons {
        transform: scale(2);
    }

    .buttons {
        margin-top: 15px;
    }

    div#infoWindow {
        left: 50%!important;
        width: 90%;
        top: 50%!important;
        transform: translate(-50%, -50%);
    }
    div#infoWindow .leftSide {
        max-width: 100%;
        min-width: 100%;
    }
    .tourInfoText .style-text {
        padding-bottom: 35px;
    }
    .tourInfoContentMain.open {
        padding: 15px 0;
    }
    .tourInfoText::-webkit-scrollbar-track {
        margin-bottom: 30px;
        margin-top: 0;
    }
}

/* ovaj rule pokriva iphone11 landscape, provjeriti ostale uređaje */
@media (max-width: 991px)
and (orientation:landscape) {
    .tourInfo{
        display: none !important;
        max-height: inherit;
    }
    header.mobile-header .container{
        max-width: 98%;
    }
    header.mobile-header {
        padding: 0;
    }
    .logo-img {
        width: 200px;
    }
    .mob-nav-bars {
        position: relative;
        padding: 0 15px 0 0;
    }
    .mob-nav-bars img {
        transform: scale(0.7);
    }
    .mobile-header {
        display: none!important;
    }
}

/* ovaj se preklapa sa gornjim, radi samo od 992-1024 i pokazuje desktop tourInfo što je ok za tablete ali ne mobitele */
@media screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation:landscape) {
   .desktop-header {
       display: none;
   }
   .logo-img {
       margin-bottom: 0;
   }
   .tourInfo  {
       top: 85px;
       height: auto;
   }
   .tourInfo.open  {
       height: calc(100vh - 85px);
   }
   /* .tourInfoText {
        min-height: calc(100vh - 550px);
        max-height: calc(100vh - 550px);
   } */
   .tourInfoContentMain.open {
        flex-grow: 1;
        /* height: calc(100vh - 89px); */
   }
}

/* ovaj se preklapa sa gornjim, radi samo od 992-1024 i pokazuje desktop tourInfo što je ok za tablete ali ne mobitele */
/* @media screen
and (min-device-width: 320px)
and (max-device-width: 767px)
and (orientation:landscape) {
    .landscape-mode {
        display: block;
    }
    .mobile-header {
        display: none;
    }
} */


/* ovaj se preklama sa 991 gore, ja sam povadio iz njega u 991 (+767) što sam stigao i možda i ovaj ostatak treba prebaciti i ukinuti ga ??  */
@media (min-width: 768px) and (max-width: 991px) {
    .dd-trigger .icon-arrow-drop-down {
        margin: 0 0 0 3px;
    }
    .mobile-header {
        display: block;
    }
    .infoWindow-inside, .infoWindow-inside.has-image {
        width: 100%;
    }
    div#infoWindow {
        width: 46%;
    }
    div#infoWindow .image {
        margin: 0;
        width: 100%;
        height: 225px;
        background-repeat: no-repeat;
        background-size: cover;
    }
    div#infoWindow .text {
        margin-bottom: 10px;
    }
    .icon-arrow {
        height: 35px;
        margin-left: 15px;
    }
    .projects-list {
        top: 30px;
        width: 100%;
        left: 0;
    }
    .projects-list li a {
        font-size: 17px;
        padding: 6px 0;
    }
    .dd-trigger {
        padding: 5px 0;
        cursor: pointer;
    }
    .search-container-mobile {
        position: absolute;
        right: 12%;
    }
    .mob-nav-bars {
        padding: 28px 40px 25px 40px;
    }
    .search-container-mobile .searchFieldMobile {
        width: 100%;
    }
    .search-container-mobile .searchResultsMobile {
        right: 0;
        z-index: 1;
    }
}


@media (max-width: 767px) {
    .dd-trigger-wrapper.active .projects-list {
        left: 8px!important;
    }
    .tourTopMenuMobileButtons button {
        padding: 0 10px;
    }
    .projects-list {
        top: 25px;
        left: 0;
    }
    .search-container-mobile {
        position: absolute;
        top: 45px;
        left: 0;
        width: 100%;
        margin: 0;
    }
    .mobile-header {
        display: block;
    }
    .search-container-mobile .searchFieldMobile {
        width: 100%;
        margin-right: 0;
        border-radius: 0;
        height: 31px;
        border-top: 1px solid #ccc;
    }
    .search-container-mobile .searchResultsMobile {
        border-radius: 0;
        top: 32px;
    }
    #infoWindow .close {
        top: 7px;
    }
    .btn-circle .icon-close {
        font-size: 1.5rem;
        margin: -2px 0 0 0;
    }
    .tourTopMenu {
        padding: 13px 15px;
    }
    .tourTopMenu-btn .icon-custom {
        display: none!important;
    }
    .tourTopMenuMap-btn i, .tourTopMenuShare-btn i {
        display: block;
    }
    .dd-trigger .icon-arrow-drop-down {
        font-size: 1.2rem;
        margin: 0px;
    }
    .dd-trigger span {
        padding-left: 8px;
    }
    .map-menu, .map-menu .dropdown-menu {
        background: #0d2e55;
    }
    .map-menu .dropdown button, .map-menu ul li a {
        color: #fff;
    }
    .container {
        max-width: 100%;
    }
    .map-menu {
        bottom: 25px;
        box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.10)!important;
        padding: 17px 15px;
        border-radius: 0;
    }
    .btn-back  {
        display: none!important;
    }
    .map-menu .dropdown-menu {
        border-radius: 0!important;
    }
    .map-menu ul li {
        border-right: none;
    }
    .btn-circle.btn-x {
        top: 9px;
    }
    header.mobile-header {
        padding: 0;
        height: 45px;
    }
    .mob-nav-bars {
        padding: 7px 15px 7px 15px;
    }
    .mob-nav-bars img {
        height: 25px;
        margin-top: 3px;
    }
    .logo-img {
        width: 140px;
    }
    .globe-svg {
        height: 12px;
        margin-bottom: 3px;
    }
    header .region-title {
        font-size: 13px;
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden !important;
        text-overflow: ellipsis;
    }
    header .dropdown button, header .dropdown span {
        font-size: 10px;
    }
    .mob-menu ul li {
        font-size: 32px;
    }
    .btn-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        line-height: 1.2;
        top: 70px;
        left: 11px;
    }
    .btn-x {
        font-size: 1.2rem;
        line-height: 1;
        text-indent: -1px;
        left: auto;
        right: 11px;
    }
    .map-menu {
        width: 77.5%;
        overflow: visible;
        left: 5%;
        transform: none;
    }
    .map-menu ul {
        display: none;
    }
    .map-menu .dropdown button {
        /* font-family: 'FuturaMediumCondensed'; */
        font-size: 1.25rem;
        width: 100%;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .map-menu .dropdown-toggle::after {
        display: none;
    }
    .map-menu .dropdown button img {
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
        height: 20px;
        margin-top: 12px;
    }
    .map-menu .dropdown-toggle.show img {
        transform: rotate(180deg)!important;
    }
    .map-menu .dropdown-menu {
        left: -15px!important;
        width: 100%;
        border-radius: 12px;
        padding: 0.2rem 0;
        border: none;
        border-bottom-left-radius: 0px;
        /* transform: translate(0, calc(-100% - 15px)); */
    }
    .map-menu ul li {
        font-size: 1rem;
    }
    .map-menu ul li a {
        padding: 6px 23px;
    }

    /* ------- tourInfo start !!! ------------ */
    .tourInfo {
        bottom: -250px;
    }
    .tourInfoContentMain {
        height: 250px;
    }
    .tourInfoText {
        top: 250px;
        padding-top: 0;
    }
    .tourShare {
        top: 250px;
    }
    .tourMap {
        top: 250px;
    }
    .tourTopMenuMobileButtons img  {
        height: 20px;
    }

    /* ------- tourInfo end !!! ------------ */

    .gm-style-iw {
        max-width: 320px!important;
    }
    div#infoWindow .text {
        margin-bottom: 0px;
    }
    div#infoWindow .image {
        width: 100%;
        margin: 15px 0 10px 0;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
    div#infoWindow .text h1, .infoWindow h1 {
        font-size: 18px;
    }
    .buttons {
        margin-top: 10px;
    }
    .short-text {
        font-size: 19px;
        line-height: 24px;
    }
    .infoWindowScroll {
        overflow: unset;
        height: auto;
    }
    div#infoWindow {
        top: 52.5%!important;
    }
    .infoWindow-inside {
        height: 65vh;
        overflow-y: scroll;
    }
    .infoWindow-inside::-webkit-scrollbar {
        width: 10px;
        border-radius: .55rem;
    }
    .infoWindow-inside::-webkit-scrollbar-track {
        border-radius: .55rem;
        border: none;
        background-color: #051E3D;
        margin-top: 30px;
    }
    .infoWindow-inside::-webkit-scrollbar-thumb {
        background-color: #fff;
        border-radius: .55rem;
    }
    .rightSide {
        padding-right: 20px;
    }
    .close {
        position: absolute;
        top: 0;
        right: 5px;
        height: 36px;
        width: 32px;
        overflow: hidden;

    }
    div#infoWindow .close::before {
        color: #fff;
        left: auto;
        transform: unset;
        width: 32px;
        border-radius: 9px;
        text-align: center;
        height: 50px;
        padding: 7px;
    }
    .infoWindow-inside {
        width: auto;
    }
    .infoWindow-inside.has-image {
        width: auto;
    }
    .info-circle-svg {
        height: 20px;
    }
    .map-container img {
        height: 21px;
    }
    .map-container .button img {
        height: 11px;
    }
    .share-buttons {
        transform: scale(1.5);
    }
}

@media (max-width: 340px) {
    .infoWindow-inside {
        height: 65vh;
    }
}
