/*############################## MOBILE ##################################*/

/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {}

/* 
  ##Device = Tablets, Ipads (landscape)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
    body {
        min-width: 100%;
    }

    #header {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        position: relative;
        z-index: 30;
        left: 0;
        margin-left: 0;
        top: 0;
        padding: 25px 0 0;
        text-align: center;
        background: #fff;
    }

    #header-logo {
        height: auto;
        width: 230px !important;
        /* margin-inline-start: -20%; */
        margin-bottom: 20px;
		display: block;
		margin: 0 auto;
    }

	#tell>a {
		font-size: 20px !important;
	}

    #questions {
        display: block;
        vertical-align: top;
        margin: 10px auto;
    }

    .zamershik {
        display: block;
        vertical-align: top;
        margin: 10px auto !important;
    }

    #tell {
        display: block;
        width: 100%;
        margin: 23px 0px;
        /* margin-top: 5px; */
        line-height: 30px;
        font-family: arial;
        font-weight: bold;
        font-style: normal;
        font-size: 40px;
        color: #4c7ec9;
        text-shadow: 0px 1px 1.1px #000;
        text-align: center;
    }

    .burder-mobile-menu {
        display: block;
        height: 40px;
        width: 45px;
        background: #4c7ec9;
        position: absolute;
        top: 25px;
        right: 0;
        /* margin-block-end: -10px; */
        text-align: start;
        border: 1px solid transparent;
        transition: all 0.5s linear;
    }

    .burder-mobile-menu-active {
        right: 80%;
    }

    .burder-mobile-menu:focus,
    .burder-mobile-menu:active {
        filter: brightness(0.5);
        /* right: 80% !important; */
    }

    #top_menu {
        max-width: 100%;
        flex-wrap: wrap;
        margin: 10px 0;
        padding: 0;
        width: 100%;
        height: auto;
        background: none;
        flex-direction: column;
    }

    #top_menu_wrap {
        /* display: none; */
        position: fixed;
        width: 80%;
        top: 15px;
        right: -80%;
        transition: all 0.5s linear;
    }

    .top-menu-visible {
       right: 0 !important;
    }

    #top_menu>li:first-child {
        border-left: solid 1px #4c7dc9;
    }

    #top_menu li {
        max-width: 100%;
        min-width: 0;
        padding: 5px 9px;
        line-height: 35px;
        border-right: solid 1px #ffffff;
        text-align: center;
        position: relative;
        -webkit-box-flex: 2;
        -webkit-flex-grow: 2;
        -moz-box-flex: 2;
        -ms-flex-positive: 2;
        flex-grow: 2;
        white-space: nowrap;
        background: #4c7dc9;
        border-bottom: 1px solid #fff;
    }

    #top_menu li a {
        color: #ffffff;
    }

    #top_menu a.active,
    #top_menu a:hover {
        background: none;
        filter: brightness(0.5);
    }

    #path {
        width: 100%;
        max-width: 100%;
        margin: auto;
        margin-top: 40px;
        padding: 0px 0px 0px 5px;
    }

    #path+#main {
        margin-top: 10px !important;
    }

    #main.alt {
        width: 100%;
        max-width: 100%;
        margin: 0px auto;
        padding: 15px 20px;
        border-radius: 0px !important;
        -webkit-box-shadow: 0px 0px 6px #777;
        box-shadow: none;
    }

    .slava-news-list .news-item {
        margin: 20px 0;
    }

    .news-item {
        float: none;
        width: 100%;
        padding-left: 0;

    }

    .extbox,
    .inbox,
    .bluebox,
    .foot-extbox,
    .foot-inbox {
        border-radius: 0;
    }

    .foot-extbox p.ex {
        font-size: 14px;
        line-height: 164%;
    }

    #aside1 img {
        max-width: 20px;
    }

    #popup-callback {
        width: 100% !important;
    }

    #popup-callback {
        width: 100% !important;
    }

    #popup-phone,
    #popup-callback {
        position: fixed;
        z-index: 20000;
        left: 0;
        top: 5%;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 25px;
        background: #f2f2f2;
        display: none;
        border: solid 2px #9f9d9d;
        -webkit-border-radius: 2px !important;
        border-radius: 2px !important;
        -webkit-box-shadow: 0px 0px 8px #222;
        box-shadow: 0px 0px 8px #222;
    }

    #popup-phone form input,
    #popup-callback form input {
        float: none;
        width: 100%;
    }

    #popup-phone form textarea,
    #popup-callback form textarea {
        width: 100%;
    }

    .formblock {
        margin: 20px !important;
    }

    .textboxes {
        width: 100% !important;
    }

    .buttform2 {
        margin-left: 0 !important;
        display: block !important;
    }

    #search_block {
        width: 100%;
        max-width: 100%;
        padding: 0px 10px;
    }

    .if_error {
        float: none;
        width: 100%;
    }

    .site_map {
        width: 100%;
        float: none;
    }

    .site-map__item {
        float: left;
        width: 50% !important;
    }

    #copyrights {
        float: none;
        padding: 0px 10px;
    }

    #contacts {
        float: none;
        padding: 0px 10px;
    }

    .main-form__right {
        float: none;
        width: 100%;
        font-size: 14px;
        margin-left: 50px;
        position: relative !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }

    .main-form {
        height: auto !important;
    }

    .item_rotate {
        display: block;
        width: 100%;
        min-width: 170px;
        margin-bottom: 3em;
        margin-left: 0;
    }

    #main {
        width: 100%;
        max-width: 100%;
        margin: 0px auto;
        padding: 0px 10px;
        margin-top: 40px !important;
    }

    .icon {
        display: inline-block;
        vertical-align: top;
        min-width: 80px;
        width: 49% !important;
        text-align: center;
        margin-left: 0px;
    }

    .form-field {
        width: 100%;
        display: block;
        vertical-align: middle;
        margin-right: 0;
        padding: 0 10px;
    }

    .items_block {
        width: 100%;
        max-width: 100%;
    }

    .okno-price td {
        /* display: inline-block; */
        /* width: 50%; */
        font-size: 10px;
    }

    .okno-price td img {
        max-width: 60px !important;
    }

    .work ul {
        max-width: 100%;
        margin-left: 0;
        text-align: center;
        padding-left: 0;
    }

    ul,
    ol {
        padding-left: 10px;
    }

    #comp_2dd08963be05c5ed389856b7d1dfcde3 form {
        width: 100% !important;
    }

    .gal {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .gal1 {
        width: 50%;
    }

    span.gal-price {
        display: block;
    }

    span.gal-but {
        display: block;
    }

    .gal img {
        width: 100%;
        margin: 0;
    }

    #page_aweb.catalog .left_img {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .left_img {
        display: block;
        vertical-align: top;
    }

    .right_txt {
        display: block;
        vertical-align: top;
        margin: 0;
        text-align: center;
    }

    .top1 {
        display: block;
    }

    .t_row>div {
        color: #565656;
        display: block;
    }

    .t_row {
        display: block;
    }

    .block_1 {
        display: block;
        margin: 0;
        text-align: center;
    }

    .items_block20 {
        width: 100%;
        margin: 0;
    }

    .items_block20 .item {
        float: none;
        /* width: 50%; */
        text-align: center;
        margin-top: 20px;
        padding: 0 !important;
        text-align: center;
    }

    .work {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .work ul li {
        list-style-type: none;
        display: inline-block;
        width: 49%;
        padding: 0 !important;
    }

    .preimushestvo td {
        width: 100% !important;
        display: block;
    }

    .windows_classification {
        margin-left: 0px;
    }

    .windows_classification.float {
        float: none;
        margin-right: 0;
        margin-left: 39px !important;
    }

    .gallery img {
        display: inline-block;
        height: 120px !important;
        margin: 2px 0px;
        /* width: 135px; */
        width: 49%;
        -o-object-fit: cover;
        object-fit: cover;
    }

    .tabs {
        margin: 0px auto 30px auto;
        width: 100%;
    }

    .mobwidth {
        width: 100% !important;
    }

    .tabs>label {
        padding: 15px;
        width: 32%;
        font-size: 12px;
    }

    .osteklenie-form table td {
        width: 100% !important;
        display: block;
    }

    .s_price_lodzh .btr_tab {
        margin-bottom: 30px;
        width: 100% !important;
        float: none;
        overflow: hidden;
    }

    .mobtable td {
        width: 100% !important;
        display: block;
    }

    .tableStyle1 {
        border-collapse: collapse;
        display: block;
        position: relative;
        width: 100%;
        overflow-x: scroll;
    }

    .mobtable2 {
        font-size: 10px !important;
        width: 100% !important;
    }

    .mobtable2 td {
        font-size: 10px !important;
        width: 100% !important;
    }

    #wr-tabs {
        width: 100% !important;
        margin-left: 0 !important;
    }

    #wr-tabs .tabs .tab {
        float: none;
        width: 48%;
        font-size: 18px;
    }

    #wr-tabs .tabs .tab {
        width: 48% !important;
    }

    #popup {
        position: fixed;
        z-index: 20000;
        left: 0;
        top: 5%;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 25px;
        background: #f2f2f2;
        display: none;
        border: solid 2px #9f9d9d;
        -webkit-border-radius: 2px !important;
        border-radius: 2px !important;
        -webkit-box-shadow: 0px 0px 8px #222;
        box-shadow: 0px 0px 8px #222;
    }

    #popup form .cpt {
        float: none;
        width: 100%;
    }

    #popup form input {
        width: 100%;
    }

    .okn-form {
        width: 100%;
    }

    .social-network-footer {
        justify-content: center !important;
        margin-block-end: 3rem !important;
    }

    #copyrights,
    #contacts {
        text-align: center;
    }

}

@media (min-width: 370px) and (max-width: 481px) {
    #questions {
        float: left;
        position: relative;
        left: 2.5%;
    }

    .zamershik {
        position: relative;
        clear: both;
    }
}

@media (min-width: 481px) {
    .burder-mobile-menu {
        display: none;
    }

    .top_menu_wrap {
        display: block;
    }
}

#zamer_verh {
    background: none !important;
    height: auto;
    margin-block-end: 3rem;
}

.tabs-zamer-pages {
    display: block;
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: 10px;
    box-shadow: 0 1px 4px 0 rgb(0 0 0 / 10%);
}

.tabs-zamer-pages p {
    font-weight: bold;
    font-size: large;
    text-align: center !important;
}

.social-network-footer {
    display: flex;
    flex-wrap: nowrap;
    margin-block: 5rem;
    justify-content: flex-end;
    align-items: center;
}

.link-soc-net {
    display: block;
}

.link-soc-net img {
    width: 50px;
    height: 50px;
    object-fit: fill;
}