.wraper {
    width: 100%;
}

.tms_an {
    display: block
}

.shops_an {
    display: block
}

.tms_col_body_img img {
    text-align: center;
    background-color: #fff;
    display: inline-block;
    max-width: 100%;
    height: 220px;
}



@media (max-width:992px) {
    #header {
        margin-top: 60px;
        min-height: 50px;
    }

    #tms_home .tms_sp_item_10,
    #tms_home .tms_sp_item_9 {
        display: none
    }

    .tms_sp_item_img {
        height: 160px;
    }

    .tms_hotline {
        top: 0px;
        left: 0px;
    }

    .tms_book {
        right: 20px;
        top: 0;
    }

    .shops_an {
        display: none
    }

    .tms_colum {
        width: 25%;
        float: left;
    }

    .body-bg,
    .container {
        width: 100%;
    }

    .column-margin-left {
        margin-left: 0 !important
    }
}

@media (max-width:767px) {
    #header {
        margin-top: 60px;
        min-height: 40px;
    }

    #tms_home .tms_sp_item_10 {
        display: none
    }

    #tms_home .tms_sp_item_9 {
        display: block
    }

    .tms_sp_item_img {
        height: 160px;
    }

    .box_about_text {
        margin-top: 10px;
        min-height: 10px;
        width: 100%;
    }

    .tms_home_info {
        text-transform: uppercase;
        margin-top: 20px;
        padding: 8px 8px 5px 8px;
        color: #3ab54a;
        font-size: 18px;
        letter-spacing: 2px;
        font-weight: 600;
        text-align: center;
    }

    .tms_sp_item_title a {
        font-size: 14px;
        color: #fbae3c;
        text-align: center;
        font-weight: 500;
    }

    .catname {
        margin-bottom: 0;
    }

    .catname li {
        width: 48%;
        margin-bottom: 15px;
    }

    .tms_book {
        right: 40px;
        top: 0;
        max-width: 100%;
    }

    .box18 img {
        height: 160px;
        width: auto;
        max-width: 100%;
        -webkit-transition: all .35s ease;
        transition: all .35s ease
    }

    .tms_colum {
        width: 25%;
        float: left;
    }

    .tms_service .item {
        margin-bottom: 30px;
        height: 220px;
    }

    .tms_hotline {
        display: none;
    }

    .tms_an {
        display: none
    }

    .about_content {
        padding: 10px;
    }

    img.tms_cat_img {
        width: 100%;
        height: auto;
    }

    .footerNav2 .theme-change {
        float: center;
        text-align: center;
    }

    .body-bg,
    .container {
        width: 100%;
    }

    .box-shadow {
        box-shadow: none;
        -webkit-box-shadow: none;
    }

    .contactDefault {
        position: relative
    }

    .social-icons,
    .contactDefault,
    .personalArea {
        float: right;
        margin-right: 10px;
        margin-left: 0;
    }

    .social-icons .content,
    .contactDefault .content {
        display: none;
    }

    .contactList li {
        display: block;
    }

    .contactList li .fa,
    .contactList li [class^="icon-"],
    .contactList li [class*=" icon-"] {
        width: 20px !important
    }

    .breadcrumbs-wrap {
        display: none
    }

    .hidden-ss-block,
    .hidden-ss-inline,
    .hidden-ss-inline-block {
        display: none !important;
    }

    .second-nav {
        position: absolute;
        left: -20px;
        top: 10px;
    }

    .second-nav .bg {
        -webkit-border-top-left-radius: 0;
        -webkit-border-top-right-radius: 0;
        -webkit-border-bottom-right-radius: 5px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 10px;
    }

    .third-nav .bg {
        padding: 10px 5px;
    }

    .third-nav .current-time {
        display: none
    }

    .viewgrid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:499px) {
    #header {
        min-height: 60px;
        background: #fff;
    }

    .viewgrid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }


    .tms_sp_item_img {
        height: 180px;
    }

    #tms_home .tms_sp_item_10 {
        display: block
    }



    .box_about_text {
        margin-top: 10px;
        min-height: 10px;
        width: 100%;
    }

    .catname li {
        width: 98%;
        margin-bottom: 15px;
    }

    .tms_home_info {
        text-transform: uppercase;
        margin-top: 20px;
        padding: 8px 8px 5px 8px;
        color: #3ab54a;
        font-size: 16px;
        letter-spacing: 2px;
        font-weight: 600;
        text-align: center;
    }

    .nv-infodie {
        width: 100%;
    }

    #header .logo {
        text-align: center;
    }

    #header .logo img {
        text-align: center;
        max-height: 80px;
        width: auto;
    }

    .tms25,
    .tms_top_50 {
        width: 100%;
    }

    .tms_margin_top_50 {
        margin-top: 0px
    }

    .tms50 {
        float: left;
        width: 100%;
        text-align: left !important;
    }

    .visible-ss-block {
        display: block !important;
    }

    .visible-ss-inline {
        display: inline !important;
    }

    .visible-ss-inline-block {
        display: inline-block !important;
    }

    .hidden-ss-block,
    .hidden-ss-inline,
    .hidden-ss-inline-block {
        display: none !important;
    }

    #tip,
    #footer-tip {
        max-width: 100%;
        margin-right: 0 !important;
    }

    .guestBlock {
        width: 100%
    }
}

@media (min-width:500px) and (max-width:991px) {
    #footer .menu li {
        width: 32%;
    }

    #footer .menu li:nth-child(3n+2) {
        padding-right: 8px;
        padding-left: 7px;
    }

    #footer .menu li:nth-child(3n),
    #footer .menu li:nth-child(3n+1) {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width:500px) {
    .nv-infodie {
        width: 500px;
        left: 50%;
        margin-left: -250px;
    }
}

@media (min-height:500px) {

    .body-bg,
    .container {
        width: 100%;
    }

    .nv-infodie {
        height: 500px;
        top: 50%;
        margin-top: -250px;
    }
}

@media (min-width:768px) {
    .wraper {
        width: 100%;
    }

    .hidden-ss-block {
        display: block !important;
    }

    .hidden-ss-inline {
        display: inline !important;
    }

    .hidden-ss-inline-block {
        display: inline-block !important;
    }


}

@media (min-width:992px) {

    .body-bg,
    .container {
        width: 100%;
    }

    .wraper {
        width: 100%;
        max-width: 1200px;
    }

    nav>.container>.row {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width:1200px) {
    .wraper {
        width: 1200px;
    }

    nav>.container>.row {
        margin-left: -5px;
        margin-right: -5px;
    }
}