/* @import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,600&display=swap&subset=cyrillic,cyrillic-ext'); */

/* @import url('https://fonts.googleapis.com/css?family=Oswald:300,400,500,600&display=swap&subset=cyrillic,cyrillic-ext'); */

@import url('https://fonts.googleapis.com/css?family=Montserrat:500,600,700,900&display=swap&subset=cyrillic,cyrillic-ext');
* {
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Montserrat', sans-serif;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}

a {
    text-decoration: none;
}

.shadow {
    box-shadow: 0 0 0 1px rgba(89, 105, 128, .1), 0 1px 3px 0 rgba(89, 105, 128, .1), 0 1px 2px 0 rgba(0, 0, 0, .05);
    border-radius: 8px;
}

#content {
    max-width: 1100px;
    margin: auto;
}

.unactive {
    overflow: hidden;
    position: relative;
}

.unactive:before {
    content: "";
    background: black;
    opacity: 0.4;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
}

.button {
    background: #AE5DFA;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.05rem;
    padding: 12.5px 25px;
    cursor: pointer;
    transition: 0.2s ease-in;
}

.button:hover {
    background: rgb(147, 74, 214);
    box-shadow: 0 1px 3px 4px rgba(89, 105, 128, .1), 0 1px 2px 0 rgba(0, 0, 0, .05);
}

textarea {
    box-shadow: 0 0 0 1px rgba(89, 105, 128, .1), 0 1px 3px 0 rgba(89, 105, 128, .1), 0 1px 2px 0 rgba(0, 0, 0, .05);
    border-radius: 8px;
    border: none;
    display: block;
    width: calc(100% - 30px);
    padding: 15px;
    margin-bottom: 15px;
}

.hidden {
    display: none;
}

#map {
    width: 100vw;
    height: 50vh;
}

#places {
    width: 100vw;
    height: 50vh;
    position: relative;
    overflow: hidden;
}

.place {
    background: white;
    border: none;
    border-radius: 6px;
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 400;
    /* letter-spacing: 0.05rem; */
    padding: 11.5px 15px;
    cursor: pointer;
    position: relative;
    height: auto;
    transition: 0.2s ease-in;
    width: 400px;
    margin: 5px 10px;
    margin-left: 25px;
    overflow: hidden;
    display: flex;
    align-items: center;
    etween;
    align-items: flex-start;
    box-shadow: 0 1px 3px 3px rgba(89, 105, 128, .07), 0 1px 2px 0 rgba(0, 0, 0, .05);
}

.place-marker {
    font-family: 'Montserrat', sans-serif;
    border-radius: none !important;
    font-size: 1.05rem;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.05rem;
    padding: 11.5px 15px;
    margin: 0 !important;
    overflow: hidden;
    display: flex;
    box-shadow: none !important;
}

.place a {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.place h3 {
    line-height: 1.5;
    font-size: 1.4rem;
    color: #FF5733 !important;
}

.coffeebox {
    background: #FF5733;
    padding: 10px 15px;
    color: white !important;
    border-radius: 50px;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.directAd {
    padding: 5px;
    height: 90px;
}


.directAd > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* .place p{
  
    font-size: 1.2rem !important;

} */

.adress {
    opacity: 0.7;
    margin-top: 10px;
    font-size: 1rem !important;
}

.place-marker .thumb {
    height: 75px;
    width: 75px;
    transform: scale(1.20);
    object-fit: cover;
    margin-right: 25px;
    margin-left: -5px;
}

.thumb {
    min-height: 125px;
    width: 125px;
    height: inherit;
    transform: scale(1.20);
    object-fit: cover;
    margin-right: 25px;
    margin-left: -5px;
}

.places {
    display: flex;
    flex-wrap: wrap;
    height: calc(100%);
    overflow: scroll;
    justify-content: space-between;
}

.class-label {
    width: 50px;
    height: 20px;
    border: 1px solid #eb3a44;
    border-radius: 5px;
    background: #fee1d7;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    font-size: 14px;
    color: #eb3a44;
}

nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 50px;
    background: white;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FF5733;
    box-shadow: 0 1px 3px 3px rgba(89, 105, 128, .07), 0 1px 2px 0 rgba(0, 0, 0, .05);
}

nav h1>* {
    display: inline-block
    /* width: 40%; */
}

nav .links {
    display: flex;
    align-items: center;
}

nav .links a {
    color: #39A9DF;
    text-decoration: underline;
    display: flex;
    align-items: center;
    margin-right: 25px;
}

.inst_menu {
    color: #d30b25;
}

.telegram_logo {
    height: 20px;
    width: 20px;
    margin-right: 10px;
}

nav h1 span>* {
    display: inline-block;
    color: slategrey;
    margin-left: 5px;
    font-weight: 300;
    font-size: 1rem;
}

.inst {
    height: 20px;
    width: 20px;
    object-fit: contain;
    margin-left: 10px;
    vertical-align: middle;
    display: inline-block;
}

.burger {
    height: 16px;
    width: 20px;
    justify-content: space-between;
    align-items: center;
    display: flex;
    flex-flow: column;
    cursor: pointer;
}

.burger>span {
    height: 2px;
    width: 25px;
    background: #FF5733;
}

nav>* {
    margin: 0 25px;
}

#ad {
    position: fixed;
    bottom: 5px;
    height: 90px;
    text-align: right;
    margin-left: 25px;
    width: calc(300px);
    border-radius: 7px;
    left: calc(100% - 315px);
    z-index: 10;
    /* background: rebeccapurple; */
}

#ad > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}

menu {
    position: fixed;
    width: 350px;
    right: 0;
    top: 50px;
    z-index: 99;
    /* filter: blur(1px); */
    background: #ffffff;
    height: calc(100vh - 50px);
    transform: translate(350px);
    box-shadow: 0 1px 3px 3px rgba(89, 105, 128, .07), 0 1px 2px 0 rgba(0, 0, 0, .05);
    transition: 0.3s cubic-bezier(0.31, 0.06, 0.32, 0.45);
}

menu>div {
    padding: 40px 25px;
}

menu p {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

menu p a {
    color: #FF5733;
}

.menu-open menu {
    transform: translate(0);
}

.close {
    height: 16px;
    width: 20px;
    justify-content: space-between;
    align-items: center;
    display: flex;
    flex-flow: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close>span {
    height: 2px;
    width: 20px;
    position: absolute;
    top: 10px;
    background: #FF5733;
    transform: rotate(45deg);
}

.close>span:last-child {
    transform: rotate(-45deg);
}

#awards_link {
    background: white;
    position: fixed;
    top: 60px;
    /* opacity: 0; */
    /* visibility: hidden; */
    width: 200px;
    /* height: 10vh; */
    z-index: 9999;
    right: 10px;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    justify-content: center;
    transition: 0.3s ease-in;
    box-shadow: 0 1px 3px 3px rgba(89, 105, 128, .07), 0 1px 2px 0 rgba(0, 0, 0, .05);
}

#awards_link.open {
    opacity: 1;
    visibility: visible;
}

#awards_link>* {
    position: relative;
}

#awards_link h3 {
    color: #FF5733;
    text-align: center;
    font-weight: 900;
}

#awards_link p {
    padding: 0px;
    /*     font-size: 2rem; */
    margin: 10px 0;
    /*     max-width: 400px; */
    text-align: center;
    position: relative;
}

#awards_link a {
    background: #FF5733 !important;
    color: white;
    padding: 8px 20px;
    margin: auto;
    width: calc(100% - 40px);
    border-radius: 5px;
    display: inline-block !important;
}

@media (max-width: 600px) {
    .coffeebox {
        position: absolute;
        font-size: 3.5vw;
        right: 0vw;
        top: calc(100% + 2vw);
    }
    #awards_link {
        right: unset;
        left: 10px;
        width: 90vw;
        top: 57px;
    }
    #awards_link h3 {
        font-size: 5vw;
    }
    body {
        height: 100%;
        overflow: hidden;
    }
    nav h1>span {
        display: none;
    }
    nav h1 {
        margin-right: 15px;
        font-size: 4vw;
    }
    nav .links {
        margin-left: 15px;
    }
    nav .links a {
        margin-right: 15px;
    }
    a.inst_link {
        display: none !important;
    }
    #map {
        width: 100vw;
        height: 100vh;
    }
    #places {
        opacity: 0;
        display: none;
    }
    #selectedPlace {
        position: absolute;
        bottom: 12px;
        transform: translateY(250px);
        transition: 0.3s cubic-bezier(0.86, 0, 0.07, 1);
        display: inline-block;
        /*         background: linear-gradient(rgba(190, 11, 35, 0), rgba(190, 11, 35, 0.5)); */
    }
    #selectedPlace:after {
        content: "";
        height: 70%;
        width: 100vw;
        position: absolute;
        bottom: -13px;
        z-index: -1;
        background: linear-gradient(rgba(190, 11, 35, 0), rgba(190, 11, 35, 0.3));
    }
    #selectedPlace.open {
        transform: translateY(0)
    }
    #selectedPlace>.place {
        width: calc(100vw - 50px + 4vw);
        margin-left: 10px;
        padding: 2vw 2vw;
        position: relative;
    }
    .close {
        right: 2vw;
        top: 2vw;
    }
    .place h3 {
        font-size: 4vw;
        margin-right: 35px;
        color: #FF5733 !important;
    }
    .thumb {
        height: 150px;
        width: 115px;
        transform: scale(1.20);
        object-fit: cover;
        margin-right: 25px;
        margin-left: -5px;
    }
    #ad_mobile {
        display: block !important;
        position: fixed;
        bottom: 0px;
        left: 0;
        width: 100%;
        background: white;
        height: 70px;
    }
    #ad_mobile img {
        height: 100%;
        width: 100%;
        object-fit: contain;
         
    }
}

#ad_mobile {
    display: none;
}

@media (min-width: 600px) {
    #selectedPlace {
        display: none;
    }
    #map {
        width: 100vw;
        height: 100vh;
    }
    #places {
        width: 450px;
        height: calc(100vh - 50px);
        /* overflow: scroll; */
        position: absolute;
        left: 0;
        top: 50px;
    }
}

::-webkit-scrollbar {
    width: 5px;
    height: 0px;
    /* border-radius: 4px; */
}

/* Track */

::-webkit-scrollbar-track {
    /* background: rgba(0, 0, 0, 0.01); */
}

/* Handle */

::-webkit-scrollbar-thumb {
    background-color: #d30b25e0;
    border-radius: 4px;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background-color: #d30b25;
}

@media (max-width: 320px) {
    menu {
        position: fixed;
        width: 100vw;
        right: 0;
        top: 50px;
        z-index: 99;
        /* filter: blur(1px); */
        background: #ffffff;
        height: calc(100vh - 50px);
        transform: translate(100vw);
        box-shadow: 0 1px 3px 3px rgba(89, 105, 128, .07), 0 1px 2px 0 rgba(0, 0, 0, .05);
        transition: 0.3s cubic-bezier(0.31, 0.06, 0.32, 0.45);
    }
    .place {
        align-items: center;
    }
    .thumb {
        height: 25vw;
        width: 25vw;
        /*     transform: scale(1.25); */
        object-fit: cover;
        border-radius: 4px;
        margin: 0px 0px;
        margin-left: 3px;
        margin-right: 20px;
    }
    .place a {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }
    .place {
        /*     font-size: 3vw */
    }
    .place h3 {
        font-size: 4.3vw;
        color: #FF5733 !important;
    }
}

.marker {
    display: flex;
}

.marker span {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: #FF5733 !important;
    display: inline-block;
}

.marker p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
}