html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
}
.wrap {
    flex: 1 0 auto;
}

.pointer-label {
    cursor: pointer;
}

.category-text {
    max-width: 1080px;
    margin: 0 auto;
    border: 1px solid #ccc;
    padding: 25px;
    font-size: 16px;
}

.online-store {
    text-align: right;
}

.online-store a {
    color: #dedede;
    font-size: 14px;
    text-decoration: none;
    margin-right: 55px;
}

@media (max-width: 500px) {
    .online-store {
        text-align: center;
    }
        .online-store a {
            margin-right: 0;
        }
}

/*
Layouts
 */
body {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    margin: 0;
    background: url(../img/bg.png) repeat;
}

h1 {
    text-align: center;
    text-transform: uppercase;
    font-size: 46px;
    margin-top: 5px;
    margin-bottom: 20px;
}

h1.mural-h1 {
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    outline:none;
}

.container-content {
    display: flex;
    flex-flow: row wrap;
    padding-bottom: 30px;
}

.container-footer {
    background: #222425;
    padding: 30px;
    color: #dedede;
}
#result1 {
    font-size: 28px;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
    color: #ff4118;
}
#result2 {
    font-size: 18px;
    display: block;
    margin-bottom: 15px;
    text-decoration: line-through;
}

main {
    padding: 0 1%;
    width: 98%
}
.pagination-center {
    text-align: center;
}

.mural_id_table {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.mural_id_table-left {
    width: 48%;
    padding: 0 1%;
}
.mural_id_table-right {
    width: 48%;
    padding: 0 1%;
}

header {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 2% 0;
    min-height: 100px;
}

.site-search {
    width: 50%;
}

.phone {
    font-size: 42px;
}

@media (max-width: 1282px) {
    .logo {
        order: 1;
        text-align:center;
        margin: 20px;
    }
    .phone-block {
        order: 2;
        text-align: center;
        margin: 20px;
    }
    .site-search {
        width: 100%;
        order: 3;
        text-align: center;
        margin: 0 0 20px 0;
    }
}

@media (max-width: 664px) {
    header {
        flex-flow: column wrap;
    }
    .phone-block {
        margin: 0 20px 20px 20px;
    }
}

@media (max-width: 374px) {
    .phone {
        font-size: 36px;
    }
}


.site-search-bottom {
    width: 94%;
    margin: 0 auto;
}

/*
Masonry
 */

.grid-item img {
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
}

@media screen and (min-width: 1500px) {
    .grid-sizer { width: 19%; }
    .grid-item {
        width: 19%;
        margin-bottom: 1%;
    }
    .gutter-sizer { width: 1%; }
}

@media screen and (min-width: 1150px) and (max-width: 1499px) {
    .grid-sizer { width: 23%; }
    .grid-item {
        width: 23%;
        margin-bottom: 2%;
    }
    .gutter-sizer { width: 2%; }
}

@media screen and (min-width: 685px) and (max-width: 1149px) {
    .grid-sizer { width: 32%; }
    .grid-item {
        width: 32%;
        margin-bottom: 2%;
    }
    .gutter-sizer { width: 2%; }
}

@media screen and (min-width: 595px) and (max-width: 684px) {
    .grid-sizer { width: 48%; }
    .grid-item {
        width: 48%;
        margin-bottom: 3%;
    }
    .gutter-sizer { width: 2%; }
}

@media screen and (min-width: 450px) and (max-width: 594px) {
    .grid-sizer { width: 48%; }
    .grid-item {
        width: 48%;
        margin-bottom: 2%;
    }
    .gutter-sizer { width: 2%; }
}

@media screen and (max-width: 499px) {
    .grid-sizer { width: 100%; }
    .grid-item {
        width: 100%;
        margin-bottom: 3%;
    }
    .gutter-sizer { width: 0; }
}

/*
Fancybox
 */

button {
    outline: none;
}

.button-circle {
    background-color: rgba(255, 255, 255, 0.30);
    border: 1px solid #ccc;
    color: rgb(0, 0, 0);
    padding: 5px 32px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-bottom: 10px;
    cursor: pointer;
}

.w3-button {
    background-color: #333333;
    border: none;
    color: white;
    padding: 5px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-bottom: 10px;
    cursor: pointer;
}

.to-order {
    background: linear-gradient(to bottom,#e85b54 0,#b22520 100%);
    border-color: #b22520;
    box-shadow: inset 0 1px 0 rgba(242,164,162,.6), 0 1px 2px rgba(0,0,0,.05);
    width: 50%;
    font-size: 22px;
    font-family: 'Roboto Condensed', sans-serif;
    color: white;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
    cursor: pointer;
}
    .to-order:hover {
        background: linear-gradient(to bottom,#e35342 0,#e35342 100%);
    }

/*
Pagination
 */

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    font-size: 20px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
}
.pagination > li {
    display: inline;
}
    .pagination > li > a,
    .pagination > li > span {
        position: relative;
        float: left;
        padding: 6px 12px;
        line-height: 1.42857143;
        text-decoration: none;
        color: #333;
        background-color: rgba(255, 255, 255, 0.6);
        border: 1px solid #dddddd;
        margin-left: -1px;
    }
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eeeeee;
    border-color: #dddddd;
}
    .pagination > .active > a,
    .pagination > .active > span,
    .pagination > .active > a:hover,
    .pagination > .active > span:hover,
    .pagination > .active > a:focus,
    .pagination > .active > span:focus {
        z-index: 3;
        color: #ffffff;
        background-color: rgba(51, 51, 51, 0.8);
        border-color: rgba(51, 51, 51, 0.8);
        cursor: default;
    }
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
    color: #777777;
    background-color: #ffffff;
    border-color: #dddddd;
    cursor: not-allowed;
}

/*
jQuery UI
 */

canvas {
    max-width: 100%;
}
#canvas2 {
    max-width: 100%;
}
#canvas3 {
    max-width: 100%;
}
.form-control {
    margin-bottom: 20px;
}

.ui-progressbar {
    position: relative;
}
.progress-label {
    position: absolute;
    left: 10%;
    top: 4px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
}

/*
Main Navigation
 */

/* Add a black background color to the top navigation */
.topnav {
    background-color: #333;
    overflow: hidden;
    margin-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
}

/* Style the links inside the navigation bar */
    .topnav a {
        float: left;
        display: block;
        color: #f2f2f2;
        text-align: center;
        padding: 8px 10px;
        text-decoration: none;
        font-size: 17px;
    }

/* Change the color of links on hover */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon-top {
    display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 622px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon-top {
        float: right;
        display: block;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 622px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon-top {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

/*
Form
 */

input[type=text], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=number], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=email], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=password], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.search-group {
    display: flex;
    width: 100%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
}

.search-block {
    flex: 1;
}

.search-button {
    font-size: 24px;
    color: #fff;
    padding-left: 40px;
    padding-right: 40px;
    cursor: pointer;
    border: none;
    background: linear-gradient(to bottom,#ce2c1e 0,#ea3220 100%);
    border-radius: 0 4px 4px 0;
}

    .search-button:hover {
        background: linear-gradient(to bottom,#e35342 0,#e35342 100%);
    }

input.search-input {
    width: 100%;
    height: 72px;
    border: 1px solid #fff;
    border-radius: 0;
    font-size: 18px;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 12px 10px 12px 18px;
    outline: none;
}

input.search-input-bottom {
    width: 100%;
    height: 72px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 18px;
    background-color: #ffffff;
    padding: 12px 10px 12px 18px;
    outline: none;
}

.docs-buttons {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}
table {
    width: 100%;
}
tr:nth-child(even) {background-color: #f2f2f2}
th, td {
    padding: 15px;
    text-align: left;
}
.review-flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}
.review-img {
    flex:  1 1 40%;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    padding: 0 1%;
}
.review-content {
    flex:  1 1 56%;
    padding: 0 1%
}
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.article-flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}
.maps-box {
    width: 48%;
    padding-right: 1%;
    padding-left: 1%;
}
.contacts-box {
    width: 48%;
    padding-right: 1%;
    padding-left: 1%;
}
@media (max-width: 1000px) {
    .maps-box {
        width: 98%;
        padding-right: 1%;
        padding-left: 1%;
    }
    .contacts-box {
        width: 98%;
        padding-right: 1%;
        padding-left: 1%;
    }
}
.article-box {
    max-width: 773px;
}
.material-200-flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}
.material-scroll-box {
    border: 1px solid #ccc;
    padding: 3px;
    background-color: white;
}

.similarBox {
    border: 1px solid #ccc;
    padding: 3px;
    margin-bottom: 40px;
    margin-top: 35px;
}

.material-padding {
    padding: 3px;
}

@media (min-width: 1024px) and (max-width: 1301px) {
    .mural_id_table-left {
        width: 56%;
        padding: 0 1%;
    }
    .mural_id_table-right {
        width: 40%;
        padding: 0 1%;
    }
}
@media (max-width: 1023px) {
    .mural_id_table-left {
        width: 98%;
        padding: 0 1%;
    }
    .mural_id_table-right {
        width: 98%;
        padding: 0 1%;
    }
}

.video-style {
    width: 48%;
    margin: 1%;
}

@media (max-width: 960px) {
    .video-style {
        width: 98%;
        margin: 1%;
    }
}
.text-item-material {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(235, 235, 235, 0.70);
    overflow: hidden;
    padding: 3px 25px;
    text-decoration: none;
    color: #000000;
}
#map {
    width: 100%;
    height: 400px;
}
#map2 {
    width: 100%;
    height: 400px;
}
.social {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
}
.social img {
    opacity: 0.6;
}
.social img:hover {
    opacity: 1;
}
@media (max-width: 1010px) {
    .social {
        width: 100%;
        min-height: 80px;
    }
}
.social-ico {
    margin: 10px;
    font-size: 20px;
}
.ya-share2__container_size_m .ya-share2__icon {
    height: 50px !important;
    width: 50px !important;
    background-size: 50px 50px !important;
}
.request-call {
    cursor: pointer;
    position: relative;
}
.call-form {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    border: 2px solid #333;
    z-index: 999999999;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    top: 30px;
    right: 0;
}
.w3-button.disabled, .w3-button:disabled {
    opacity: 0.2;
}
.btn-default {
    width: 100%;
    padding: 10px;
    color: #ffffff;
    background-color: #333;
    border: none;
    margin-bottom: 10px;
    margin-top: 10px;
    cursor: pointer;
}

.none-radio {
    visibility: hidden;
    position: absolute;
}

    .none-radio + img {
        cursor: pointer;
        border: 2px solid transparent;
    }

    .none-radio:checked + img {
        border: 2px solid #e2301f;
    }

.flex-image-edit {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.roomItem {
    position: relative;
}

.roomTitle {
    position: absolute;
    top: 20px;
    left: 0;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.7);
}

    .roomTitle a {
        color: inherit;
        text-decoration: none;
        font-size: 24px;
        text-transform: uppercase;
    }

.roomList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 20px;
    justify-items: center;
}

.interiorList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    grid-gap: 20px;
    justify-items: center;
}

.roomTags {
    text-align: center;
    margin-bottom: 10px;
}

.interiorDetailsBox {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    grid-gap: 30px;
    justify-items: center;
}

.errorMessage {
    color: red;
    font-size: 22px;
}

.succssesMessage {
    color: green;
    font-size: 22px;
}

.succssesMessageUpload {
    color: green;
    font-size: 22px;
    margin-bottom: 25px;
}

.text-danger {
    color: red;
}

.form-group {
    margin-bottom: 20px;
}

.topFooter {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    margin: 20px 0 40px;
}

@media (max-width: 658px) {
    .topFooter {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        grid-gap: 20px;
    }

    .socialIco {
        margin-top: 20px;
        text-align: center;
    }
}

.bottomFooter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
    justify-items: center;
}

.bottomLogo {
    margin-bottom: 20px;
    font-size: 38px;
}

.copyright {
    margin: 20px 0;
}

    .copyright a {
        text-decoration: none;
        color: #dedede;
    }

.footerCity {
    margin-bottom: 20px;
}

.footerPhone {
    margin-bottom: 20px;
    font-size: 28px;
}

.footerMail a {
    color: inherit;
}

.bottomLeftMenu a, .bottomRightMenu a {
    color: inherit;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.catalogImgList {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    grid-gap: 20px;
    justify-items: center;
}

@media (max-width: 414px) {
    .catalogImgList {
        grid-template-columns: repeat(auto-fit,minmax(140px,1fr));
    }
}

.catalogImgItem {
    position: relative;
}

.catalogImgTitle {
    position: absolute;
    top: 20px;
    left: 0;
    padding: 10px;
    background-color: rgba(255,255,255,.7);
}

    .catalogImgTitle a {
        color: inherit;
        text-decoration: none;
        font-size: 24px;
        text-transform: uppercase;
    }