/*
Theme Name: Мультиссылка. Гостевой центр-отель «Мышк Инн»
Theme URI:
Description: https://myshkinn.ru site theme.
Version: 1.0
*/

@font-face{
    font-family: 'LeksaProBold';
    src: url('fonts/leksapro-bold/LeksaPro-Bold.eot');
    src: url('fonts/leksapro-bold/LeksaPro-Bold.eot?iefix') format('eot'),
    url('fonts/leksapro-bold/LeksaPro-Bold.woff') format('woff'),
    url('fonts/leksapro-bold/LeksaPro-Bold.ttf') format('truetype'),
    url('fonts/leksapro-bold/LeksaPro-Bold.svg#webfont') format('svg');
    font-weight: normal;
    font-style: normal;
}

:root {
    --text: #000;
    --light-gray: #d7d5d3;
    --gray: #868686;
    --dark-gray: #6e6e6e;
    --color-text: #416620;
    --color-text-light: #50703e;
    --contrast: #21628f;
    --light-contrast: #efdcbf;
    --white: #fff;
    --black: #040404;
    --red: #ad2f3e;
    --background: #f7f7f6;
    --box-shadow: 1rem 1rem 1.5rem #64baca09;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

h1, h2, h3 {
    font-family: 'LeksaProBold', Serif;
}

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

li {
    margin: 0.5rem 0;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-size: 18px;
    height: 100%;
    line-height: 1.4;
    font-family: 'Ubuntu Condensed', sans-serif;
    color: var(--text);
}

a {
    color: var(--contrast);
}

a:hover {
    text-decoration: none;
}

body {
    border-top: 5px solid var(--red);
}

.body-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
    max-width: 500px;
    min-width: 320px;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-shadow: 0 0.5rem 1.2rem #5489ab80;
    box-shadow: 0 0.5rem 1.2rem #5489ab80;
}

.container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container.wide-type {
    max-width: 100%;
}

/*ul {
    list-style: none;
}

ul li:before {
    content: "";
    background: url(img/divider-point.svg) no-repeat center;
    margin-right: 0.5rem;
    background-size: contain;
    width: 9px;
    height: 9px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -2px;
}*/

.btn {
    display: inline-block;
    padding: 8px 15px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none!important;
    color: #fff;
    background: var(--contrast);
    font-family: 'Ubuntu Condensed', sans-serif;
    margin: 1rem auto;
    border: 2px solid var(--contrast);
    -webkit-transition: color .2s;
    -o-transition: color .2s;
    transition: color .2s;
}

.btn:hover {
    color: var(--contrast);
    background: transparent;;
}

.post-image {
    margin: 1.5rem 0;
}


.scroll-table {
    overflow: auto;
}

.base-table {
    border-collapse: collapse;
    border: 1px solid #dbd8b1;
    margin-bottom: 1em;
}

.base-table td {
    border: 1px solid var(--red);
    padding: 10px;
}

/*.base-table:not(.nosmall) td:nth-of-type(2) {
    font-size: 80%;
}*/

.base-table thead td {
    color: #b8b266;
    font-size: inherit!important;
}

.base-table .colspan {
    font-size: inherit!important;
    font-weight: bold;
}

ul.small-list {
    font-size: 80%;
    padding-left: 2em;
}

ul.small-list li {
    padding-left: 5px;
    margin: 4px 0;
}

.base-table .category-room {
    text-transform: uppercase;
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 1.2em;
    text-align: center;
    display: block;
}

.note-cell {
    color: #b8b266;
    font-size: 0.75rem;
    line-height: 1.2;
    display: inline-block;
    margin-top: 0.4rem;
}

.header {
    padding: 0.8rem 0;
    text-align: center;
}

.logo {
    width: 11rem;
    margin-left: auto;
    margin-right: auto;
}

.social {
    background: url(img/bg-social-blue.jpg) repeat-x center top;
    background-size: auto 115%;
    position: relative;
    padding: 0.75rem 0;
}

/*section.social:before {
    content: "";
    display: block;
    position: absolute;
    background: url(img/px-blue-2.png);
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}*/

.inner-content h1 {
    color: white;
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 0 5px #000;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    z-index: 20
}

.tel-link {
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.second-color {
    color: var(--contrast);
}

.social-links .tel {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-family: 'LeksaProBold', Serif;
}

.social-links .tel a {
    text-decoration: none;
}

.social-icons {
    justify-content: center!important;
}

.social-icon {
    margin: 0 0.25rem;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--contrast);
    color: #fff;
    border-radius: 50%;
    border: 1px solid var(--contrast);
    transition: background-color .3s, color .3s;
}

.social-icon .icon-tg {
    font-size: 93%;
    transform: translate(-1px, 1px);
}

.social-icon .icon-tg {
    font-size: 93%;
    transform: translate(-1px, 1px);
}

.social-icon .icon-vk {
    font-size: 123%;
}

.social-icon .icon-ok {
    font-size: 109%;
}

.social-icon .icon-email {
    font-size: 89%;
}

.social-icon .icon-web {
    font-size: 123%;
    transform: translate(1px, 0);
}

.social-icon:hover {
    background: var(--white);
    color: var(--contrast);
}

.tiles .container {
    max-width: none;
}

.flex-container-tiles {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
/*    margin: 0 auto;*/

    margin: 0 -1.9% -1.9% 0;

/*    max-width: 400px;*/
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-bottom: 0.2rem;
}

.flex-container-tiles .item {
/*    -webkit-box-flex: 1;
    -ms-flex: 1 0 45%;
    flex: 1 0 45%;
    margin: 0.8%;*/

    -webkit-box-flex: 1;
    -ms-flex: 1 0 29%;
    flex: 1 0 29%;
    margin: 0 1.9% 1.9% 0;

    position: relative;
    color: black;
}

.flex-container-tiles .item:before {
    content: "";
    width: 100%;
    display: block;
    padding-top: 100%;
}

.flex-container-tiles .item > .row {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
/*    padding: 0.875rem;*/
}

.flex-container-tiles .item > .row > .icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    margin-bottom: 1rem;
    font-size: 3rem;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    padding: 0.875rem 0.875rem 0;
    color: var(--red);
}

.flex-container-tiles .item > .row > div {
    -webkit-box-flex: 2;
    -ms-flex: 2;
    flex: 2;
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.row.vertical {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.shadow-block {
    background: #fff;
    -webkit-box-shadow: 0.3rem 0.3rem 1.2rem #5489ab60;
    box-shadow: 0.3rem 0.3rem 1.2rem #5489ab60;
}

.title-small {
    font-size: 1rem;
    text-align: center;
    line-height: 1;
    flex: 1 0 2em!important;
    padding: 0 0.25rem 0.25rem;
}

.title {
    font-size: 1rem;
}

.main {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
    scroll-behavior: smooth;
    z-index: 0;
}

section.content {
    flex: 1;
}

.main .inner-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    height: 100%;
}

.main .inner-content .title {
    margin: 1rem 0;
}

.main .inner-content h2 {
    color: var(--contrast);
    font-size: 1.9rem;
    text-align: center;
    line-height: 1.2;
    margin: 0;
}

.main .inner-content .tiles {
/*    background: url(img/romb-3.png) repeat-x;
    background-size: auto 100%;*/
/*    margin: 0 0 1.5rem;*/
    padding: 0 0 1rem;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

footer {
    background: var(--contrast);
    padding: 0.75rem 0;
}

.footer-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    color: #fff;
}

.footer-content a {
    color: #fff;
}

.footer-content .left-element {
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
    font-size: 1rem;
}

.footer-content .left-element a:hover {
    text-decoration: none;
}

.footer-content .right-element {
    margin-left: 1rem;
    max-width: 3rem;
}

.icon-map {
    width: 100%;
    height: auto;
}

.back {
    padding: 1.25rem 0;
}

.back-link a {
    color: var(--red);
    cursor: pointer;
}

.back-link span {
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
    display: inline-block;
}

.page .title {
    text-align: center;
}

.page .title h1 {
    margin-top: 0;
    text-transform: uppercase;
}

.page .title h1:before {
    content: "{";
    display: inline;
    color: var(--red);
    padding-right: 0.3rem;
}

.page .title h1:after {
    content: "}";
    display: inline;
    color: var(--red);
    padding-left: 0.3rem;
}

.content h3 {
    font-size: 1.3rem;
    color: var(--black);
}

.content ul {
    padding-left: 1em;
}

.custom-list:not(:last-of-type) {
    margin-bottom: 1rem;
}

.custom-list .icon {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 2.5rem;
    flex: 0 0 2.5rem;
    margin-right: 1.5rem;
}

.custom-list .desc {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

@media screen and (max-width: 420px) {
    .flex-container-tiles .item > .row > .icon {
        margin-bottom: 0.5rem;
    }
}

@media screen and (max-width: 389px) {
    .container {
        padding: 0 0.8rem;
    }

    .logo {
        width: 9rem;
    }

    .header {
        padding: 0.5rem 0;
    }

    .inner-content h1 {
        font-size: 1.75rem;
    }

    .inner-content h2 {
        font-size: 1.6rem;
    }

    .flex-container-tiles .item > .row {
        padding: 0.6rem;
    }

    .flex-container-tiles .item > .row > .icon {
        font-size: 2.25rem;
    }

    .social-links .tel {
        font-size: 1.5rem;
    }

    footer {
        padding: 0.5rem 0;
    }

    .footer-content .left-element {
        font-size: 0.8rem;
    }
}

@media screen and (min-width: 481px) {
    .border {
        border: 4px outset;
        width: 100%;
        max-width: 398px;
        margin: 0 auto;
        -webkit-box-shadow: 1.4rem 1.4rem 0.2rem #8cbabda6;
        box-shadow: 1.4rem 1.4rem 0.2rem #8cbabda6;
        margin-bottom: 1.4rem;
    }
}

@media screen and (max-width: 375px) and (max-height: 740px) {

    .inner-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

/*    .tiles .container {
        max-width: 320px;
    }*/

    .social-icon {
        width: 2rem;
        height: 2rem;
        font-size: 85%;
    }

    .main .inner-content h2 {
        font-size: 1.4rem;
    }

    .main .inner-content .title {
        margin: 0.5rem 0;
    }

}

@media screen and (max-height: 740px) {

    .header {
        padding: 0.75rem 0;
    }

    .main .inner-content .title {
        margin: 0.75rem 0;
    }

    .main .inner-content .tiles {
        padding: 0 0 0.75rem;
    }

/*    .tiles .container {
        max-width: 300px;
    }*/

    .inner-content h1 {
        font-size: 1.9rem;
        line-height: 1.2;
    }

    .flex-container-tiles .item > .row > .icon {
        font-size: 2.5rem;
        padding: 0.5rem 0.5rem 0;
    }

}

/*404*/

.title-404 {
    font-size: 8rem;
    margin: 3rem 0;
    text-align: center;
    color: #9c1608;
}

.desc-404 {
    text-align: center;
    font-size: 1.25rem;
}