﻿body {
    font-family: OpenSans;
    font-size: 14px;
}

/*для IE*/
@font-face {
    font-family: OpenSans; /* имя шрифта для CSS правил */
    src: url(../fonts/OpenSans-Regular.eot); /* если шрифт не установлен, тогда загружаем его по указанному пути */
}
/*для других браузеров*/
@font-face {
    font-family: OpenSans; /* имя шрифта для CSS правил */
    src: url(../fonts/OpenSans-Regular.ttf); /* если шрифт не установлен, тогда загружаем его по указанному пути */
}

@font-face {
    font-family: KaushanScript;
    src: url(../fonts/KaushanScript-Regular.ttf);
}


/* Set padding to keep content from hitting the edges */
/*.body-content {
    padding-left: 15px;
    padding-right: 15px;
}*/

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.navbar {
    display: none;
}

/* ОБЩИЕ */
h1, h2 {
    text-align: center;   
}

h1 {
    font-size: 24px;
    margin: 20px 0 20px 0;
}

h2 {
    font-size: 18px;
}

.main {
    width: 1140px;
    margin: 0 auto;
}

hr {
    margin: 10px 0 10px 0;
    border-top: 1px solid #e1e0e0;
}

a {
    text-decoration: none;
    color: #428bca;
}

.grid-container {
    display: grid;
    grid-template-columns: 16.66666% 16.66666% 16.66666% 16.66666% 16.66666% 16.66666%;
}

h1 sub {
    font-size: 16px;
}

/* HEADER */
body > header {
    background: black;
}

body > header span {
    color: white;
}

.wrapper {
    flex: 1;
    width: 1140px;
    margin: 0 auto;
    padding: 0 20px 0 20px;
}

.header-grid-container {
    display: grid;
    grid-template-columns: 100px auto 225px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 5px 0px 0 5px;
    grid-template-areas: "logo subwrapper contacts";
}



menu {
    margin: 0;
    padding: 0;
}

.logo {
    grid-area: logo;
    text-align: right;
    margin: 5px 30px 0px 0;
}

.logo img {
    width: 70px;
    vertical-align: top;
}

.main-menu {
    margin-bottom: 5px;
}

.main-menu a {
    font-size: 16px;
    margin-right: 7px;
    color: white;
}

.main-menu a:hover {
    color: #9bff00;
}

.main-menu li {
    display: inline;
}

.footer-menu {
    text-align: center;
    margin-bottom: 10px;
}

.footer-menu a {
    margin-right: 7px;
    color: white;
}

.footer-menu li {
    display: inline;
}

.footer-menu a:hover {
    text-decoration: none;
}

.contacts {
    grid-area: contacts;
}

.contacts a, .contacts p {
    color: white;
    margin: 0;
    text-decoration: none;
}

.contacts a:hover {
    text-decoration: none;
}

.contacts-mobile {
    display: none;
}

.contacts .icon, .contacts-mobile .icon {
    display: inline-block;
    margin-right: 5px;
    width: 20px;
}

.submenu li {
    display: inline;
    color: white;
}

.submenu a {
    color: white;
}

.submenu a:hover {
    text-decoration: none;
}

.pi_text_more {
    display: inline-block;
    border-bottom: 1px dotted #428bca;
}

.pi_text_more:hover {
    text-decoration: none;
}

.home-icon {
    display: block;
    margin: 0 auto;
    height: 150px;
    margin-top: 20px;
    margin-bottom: 20px;
}


/* FOOTER */
footer {
    background: black;
    padding: 10px 0 10px 0;
    font-size: 16px;
}

footer p {
    text-align: center;
    color: #7c7c7c;
    margin: 0;
}



/* ГЛАВНАЯ */








/* СОБЫТИЯ И МЕРОПРИЯТИЯ */
.all-events, .tomorrow-events, .sunday-events {
    margin-right: 20px;
}

/* обязательно должен быть перед show-more, show-scroll, логика по сворачиванию/разворачиванию поста работать не будет */
.post {
    height: 400px;
    overflow-y: hidden;
    padding: 10px;
    overflow-x: hidden;
    box-shadow: 0 8px 32px rgb(0 0 0 / 8%);
    margin: 10px;
    border-radius: 10px;
}

.show-more {
    position: absolute;
    margin: 277px 0 0 0;
    padding: 5px;
    width: 25px;
    height: 25px;
    background: white;
    border: 1px solid #adacac;
}

.show-more:hover {
    cursor: pointer;
}

.show-scroll {
    overflow-y: auto;
}

.hide-scroll {
    overflow-y: hidden;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: lightgrey;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.image {
    float: left;
    width: 60px;
}

.post .title {
    display: block;
    text-align: right;
    font-size: 20px;
}

.post .title:hover {
    text-decoration: none;
}

.post .date {
    text-align: right;
}

.post .place {
    width: 170px;
    color: black;
}

.post .place:hover {
    color: #6a6c6a;
    text-decoration: none;
}

.active {
    color: white;
}



/* РАБОТА */

/*.flex-container {
    display: flex;
    justify-content: center;
}*/

.jobs-grid-container {
    display: grid;
    grid-template-columns: 50% 50%;
}

.salary {
    flex-grow: 5;
    font-weight: bold;
    text-align: right;
    margin: 0;
}

.no-salary {
    font-weight: normal;
    color: #80808091;
}

.date {
    flex-grow: 5;
    color: grey;
}

.profession {
    display: inline-block;
    margin: 0 10px 2px 0;
    font-weight: bold;
}

.submenu {
    color: white;
    background: #585858;
    text-align: center;
    padding: 5px 0 2px 0;
    text-transform: uppercase;
}

.checkbox-wrapper {
    display: inline-block;
}

/* Чекбоксы */
.jobs-radio, .jobs-checkbox {
    width: 20px;
    height: 20px;
    margin: 0 !important;
    margin-bottom: 10px !important;
}

.jobs-checkbox {
    position: absolute;
    margin-top: 7px !important;
    top: auto !important;
    left: auto !important;
}

.jobs-checkbox + label {
    margin-left: 25px;
}

/* Радио кнопки */
.radio {
    position: absolute;
    z-index: -1;
    opacity: 0;
    margin: 10px 0 0 7px;
}

label {
    font-weight: normal;
    margin: 5px 10px 8px 0;
}

.radio + label {
    position: relative;
    padding: 0 0 0 25px;
    cursor: pointer;
}

.radio + label:before {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #CDD1DA;
    border-radius: 50%;
    background: #FFF;
}

.radio + label:after {
    content: '';
    position: absolute;
    top: 4px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #9FD468;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.5);
    opacity: 0;
    transition: .2s;
}

.radio:checked + label:after {
    opacity: 1;
}

/* Поиск */
form > .textbox {
    height: 30px;
    width: 150px;
    padding: 0 10px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #212121;
    border: none;
    border-radius: 4px 0 0 4px;
    -webkit-border-radius: 4px 0 0 4px;
}

form > .textbox:focus {
    background-color: #FFF;
}

form > .button {
    outline: 0;
    height: 30px;
    width: 60px;
    border: none;
    color: #FFF;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    transition: background-color .4s ease;
    border-radius: 0 4px 4px 0;
    -webkit-border-radius: 0 4px 4px 0;
    background: url(http://city-move.ru/images/search-icon.png) center center no-repeat;
    background-size: 20px 20px;
    background-color: rgba(0, 150, 136, 0.8);
}

form > .button:hover {
    background-color: rgba(38, 50, 56, 0.8);
}



/* МЕСТА */
.places-grid-container {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
}

.place-grid-container {
    display: grid;
    grid-template-columns: 33% 33% 33%;
}

.place-grid-container h2 {
    margin: 0;
    margin-bottom: 5px;
    text-align: left;
}

.description-image-grid-container {
    display: grid;
    grid-template-columns: 50% 50%;
    margin: 20px 0 20px 0;
}

.description-image-grid-container .description {
    margin-right: 20px;
}

.bx-viewport {
    margin: 0 auto;
    height: 450px !important;
    width: 101%;
}

.bx-pager {
    display: none;
}

.transparent-arrow {
    position: absolute;
    top: 50%;
    left: 0;
}

.place-url {
    display: inline-block;
    margin-bottom: 10px;
}

/* Меню */
.menu-grid-container {
    display: grid;
    grid-template-columns: 100%;
}

.menu-grid-container .item span:first-child, .d {
    margin-right: 10px;
}

.item-grid-ctr span:last-child {
    text-align: right;
}

.d {
    font-size: 12px;
}

.main-d {
    margin-bottom: 20px;
}

.menu-grid-container .item-grid-ctr {
    display: grid;
    grid-template-columns: auto auto;
    margin: 0;
    padding: 0;
}

.menu-grid-container .item {
    margin-bottom: 10px;
    padding: 0 1px 0 1px;
}

.food-title {
    margin: 0;
    padding: 0;
    //margin-bottom: 10px;
}

.food-title + .item {
    margin-top: 5px;
}

.light-food:last-child {
    margin-bottom: 10px;
}

.light-food, .wines, .whiskey, .hard-alco, .no-alco, .another-alco {
    display: none;
}

.vertical-space {
    margin-bottom: 10px;
}

.root-0 .food-title {
    background: #e4e3e3;
}

.root-0 h2:active {
    background: #d6d4d4;
}

.root-0, .items-container {
    margin-bottom: 10px;
}

.root-1 h2:active, .items-container h2:active {
    background: #e4e3e3;
}

.root-1-first {
    margin-top: -10px;
}

.root-1-last {
    margin-bottom: 10px;
}

.root-1 .food-title {
    //border-top: 0px; 
    margin-top: -1px;
}

.food-title {
    border: 1px solid #a0a0a0;
    border-radius: 3px;
    padding: 5px;
}

.food-title span {
    display: inline-block;
    width: 97%;
    text-align: left;
}

#map {
    height: 500px;
    margin-bottom: 10px;
}



/* АКЦИИ И СКИДКИ */
.discount {
    background: orange;
    color: white;
    margin: 0 2px 0 2px;
    padding: 3px;
    border-radius: 3px;
}


/* АДАПТИВ */
@media (max-width: 1500px) {
    .grid-container {
        display: grid;
        grid-template-columns: 25% 25% 25% 25%;
    }
}

@media (max-width: 950px) {

    .search-text {
        margin-top: 10px;
    }

    menu {
        line-height: 25px;
    }
}

@media (max-width: 900px) {
    .grid-container, .places-grid-container {
        display: grid;
        grid-template-columns: 33.33333% 33.33333% 33.33333%;
    }
    
    .description-image-grid-container {
        display: grid;
        grid-template-columns: 100%;
        
    }
    .bx-wrapper {
        margin: 0 auto;
        width: 100%;
    }
    #map {
        height: 300px;
    }
}

@media (max-width: 500px) {
    .wrapper { width: 100%; }

    .grid-container, .menu-grid-container {
        display: grid;
        grid-template-columns: 100%;
    }

    .header-grid-container {
        grid-template-columns: 80px auto 50px;
    }

    .contacts {
        display: none;
    }

    .contacts-mobile {
        display: block;
        margin-bottom: 10px;
    }

    .food-title-grid-ctr {
        display: grid;
        grid-template-columns: auto 25px;
    }

    /*.expand-food-items {
        padding: 5px;
        width: 25px;
        height: 25px;
    }*/
    .bx-wrapper {
        height: 255px;
    }

    .section-description {
        height: 100%;
    }

    #map {
        height: 200px;
    }

    .show-more {
        width: 35px;
        height: 35px;
        margin: 245px 0 0 0;
    }

    .places-grid-container, .place-grid-container {
        display: grid;
        grid-template-columns: 100%;
    }
}

/* МАГАЗИН */

/* VISO */
.round {
    /* Safari 3-4, iOS 1-3.2, Android 1.6- */
    -webkit-border-radius: 5px;
    /* Firefox 1-3.6 */
    -moz-border-radius: 5px;
    /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
    border-radius: 5px;
}

.round-10px {
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

.round-20 {
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
}

.round-top {
    border-radius: 10px 10px 0 0;
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
}

.round-bottom-10px {
    border-radius: 0 0 10px 10px;
    -webkit-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
}

.shadow-no-shift {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0 12px;
}

.grey-border { border: 1px solid var(--bs-gray-200); }
.bg-grey-100 { background: var(--bs-gray-100); }

.border-grey-100 { border: 1px solid var(--bs-gray-100); }
.border-grey-200 { border: 1px solid var(--bs-gray-200); }

.margin-vertical-10 { margin: 10px 0 10px 0; }
.margin-vertical-30 { margin: 30px 0 30px 0; }

.center-x {
    display: block;
    margin: 0 auto;
}

.center-content-x {
    text-align: center;
}

.right-x {
    display: block;
    margin-left: auto;
    margin-right: 0;
}

.vertical-space { padding: 30px 0 30px 0; }
.outer-space-y-10 { margin: 0 10px 0 10px; }
.outer-space-x-10 { margin: 10px 0px 10px 0; }
.inner-space-10 { padding: 10px; }
.out-r-y-5 { margin-right: 5px !important; }
.divider-space-x-50 { height: 50px; border: 0; }
.divider-space-x-100 { height: 100px; border: 0; }
.center-short-content {
    display: block;
    margin: 0 auto;
    width: fit-content;
    text-align: center;
}
/* END VISO */

/*.submenu-item {
    display: inline-block;
    padding: 10px;
    margin-right: 10px;
}

.submenu-item-active {
    background: #00abff17;
}*/

/* Школа */
.school .container { 
    margin: 0;
    padding: 0;
    margin-top: 10px; 
}

.school .btn { --bs-btn-font-size: none; }

.school .bg-light {
    background: #0087ff1c !important;
    color: #0087ff;
}

/* Аутсорс */
.release, .team {
    margin-bottom: 20px;
}

.release, .team {
    font-size: 18px;
    padding: 20px;
    width: 299px;
    text-align: left;
    background: var(--bs-gray-100);
}

.release, .team, .case .description, .to-site-link {
    font-size: 18px;
}

.release span, .team span {
    font-weight: bold;
}

.team i {
    color: #bababa;
}

.wrapper.case { width: fit-content; }

.case .smartphone-prompt { display: none; }

@media (max-width: 1140px) { 
    .wrapper.case, .wrapper.case img, .wrapper { width: 100%; }
    .wrapper.case { padding: 0 10px 0px 10px; }
    .case .smartphone-prompt { display: block; }
}

.case .description {
    margin-top: 50px;
    margin-bottom: 30px;
    background: var(--bs-gray-100);
    padding: 20px;
}

.keyword h2 {
    width: fit-content;
    color: #0087ff;
    font-weight: bold;
    font-size: inherit;
    margin-bottom: 5px;
}

.keyword .container p {
    margin-bottom: 30px;
}

.fixed-submenu {
    position: fixed;
    width: 100%;
    bottom: 0;
    text-align: center;
    background: #272829;
    padding: 10px 0 10px 0;
}

.form-control {
    padding: 5px;
    font-size: inherit;
}

.form-select {
    background-position: right 0.3rem center;
}