* {
    transition: all .3s !important;
    *font-size: 17px;
    font-display: swap;
}
*:focus {
    outline: none !important;
}

body ul li,
body ol li,
body p {
    font-size: 17px;
}

a:link {
    color: #468ce6;
}
a:visited {
    color: #468ce6;
}
a:hover,
a:active {
    color: #e75a2a;
}

h1 {
    text-transform: uppercase;
    font-size: 44px;
}
h1, h2, .h2, h3, .h3, h4, .h4 {
    margin: 0 0 20px;
    font-weight: bold;
    font-family: 'PT Sans', sans-serif;
    color: #464E77;
}
h2, .h2 {
    font-size: 32px;
}
h3, .h3 {
    font-size: 28px;
}
h4, .h4 {
    font-size: 24px;
}

a:hover {
    text-decoration: none;
}

.mm-slideout {
    z-index: auto;
}

.divider {
    width: 100%;
    height: 10px;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 15px;
    background: rgb(241, 91, 32);
    background: -moz-linear-gradient(left, rgba(241, 91, 32, 1) 0%, rgba(96, 103, 145, 1) 100%);
    background: -webkit-linear-gradient(left, rgba(241, 91, 32, 1) 0%, rgba(96, 103, 145, 1) 100%);
    background: linear-gradient(to right, rgba(241, 91, 32, 1) 0%, rgba(96, 103, 145, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#f15b20', endColorstr='#606791', GradientType=1);
}

#brands img {
    margin: 10px auto;
}

#brands img {
    max-width: 200px;
}

#nav .fa {
    font-size: 11px;
    padding-right: 5px;
    color: #F15B20;
}

.nav {
    width: 180px;
    margin: 0 0 20px;
    font-size: 14px;
}

.nav > li > a:hover,
.nav > li > a:focus {
    text-decoration: none;
    background-color: #5F6891;
    background: url(../images/buttons.png) no-repeat;
    color: #ffffff;
}

.nav > li {
    margin: 0;
    border-radius: 10px;
}

.nav > li > a {
    position: relative;
    display: block;
    margin: 0;
    background-color: #eee;
    padding: 5px 10px;
    background: url(../images/buttons.png) no-repeat;
    background-position: 0 -32px;
}

.nav-pills > li > a {
    border-radius: 8px;
}

.nav-pills > li > a.active {
    background-color: #5F6891;
    background: url(../images/buttons.png) no-repeat;
    color: #fff;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    color: #fff;
    background-color: #F25B26;
    background: url(../images/buttons.png) no-repeat;
    background-position: 0 -63px;
}

.nav-pills > li.active > a span {
    display: none;
}

.nav-pills > li.active > a.active span {
    display: inline-block;
}

.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
    color: #5C6890;
    background-color: #fff;
}

.nav-pills > li.active02 > a {
    text-decoration: none;
    background-color: #5F6891;
    color: #ffffff;
}

#onlinecalculator {
    font-family: "PT Sans", sans-serif;
    margin-top: 20px;
    text-align: center;
    border: solid 1px #EEEEEE;
    background: #EEEEEE;
    padding: 10px;
    color: #464e77;
}

#onlinecalculator h3 {
    margin-top: 5px;
    font-weight: bold;
    font-size: 19px;
    text-transform: uppercase;
}

#onlinecalculator:hover h3 {
    color: #F25B26;
}

#onlinecalculator img {
    margin: 5px auto;
}

.phonenumber {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    padding: 2px 0 2px 35px;
}

.contacts .mts {
    background: url('../images/contacts/mts.png') 5px 5px no-repeat;
}

.contacts .velcom {
    background: url('../images/contacts/velcom.png') 0 5px no-repeat;
}

.contacts .gorod {
    background: url('../images/contacts/gorod.png') 5px 5px no-repeat;
}

.contacts .email {
    font-size: 18px;
}

#mainpage {}

#mainpage h2,
#mainpage .h2 {
    margin: 40px 0 30px;
    font-size: 36px;
}

.maintext {
    margin: 20px 0 0;
}

.maintext p {
    font-size: 16px;
}

.maintext ul {}

.obrabotka {
    text-align: center;
}

.obrabotka a {
    text-decoration: none;
}

.obrabotka .obrtype h3 {
    margin: 0;
    text-transform: uppercase;
    font-size: 18px;
}

.obrabotka .obrtype a h3 {
    text-decoration: underline !important;
}

.obrabotka .obrtype {
    display: inline-block;
    padding: 10px 10px 10px;
    margin: 0 10px 30px;
}

.obrabotka .image-block {
    position: relative;
    width: 350px;
    height: 270px;
    margin: 10px 0 0;
    text-align: left;
    overflow: hidden;
    padding: 0 !important;
}

.obrabotka .obrtype img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.obrabotka .obrtype:hover .image-block {
    box-shadow: 1px 3px 12px rgba(49, 49, 49, .5);
}

.materialsteklo {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.materialsteklo h2 {
    margin: 20px 0;
    width: 100%;
}

.materialsteklo .mattype {
    margin: 0;
    width: 40%;
    max-width: 350px;
    margin-bottom: 30px;
    overflow: hidden;
}

.materialsteklo .mattype h3 {
    margin: 0;
    text-transform: uppercase;
    font-size: 18px;
}

.materialsteklo .mattype img {
    margin: 10px 0 10px;
    width: 100%;
    height: 270px;
}

.materialsteklo .mattype .description {}

.doverie {
    text-align: center;
}

.director {
    display: inline-block;
}
.director img {
    margin-bottom: 30px;
}

.director span {
    display: block;
}

#map {
    width: 100%;
    height: 500px;
    margin: 10px 0 20px;
    background: #fff url("../images/gplaypattern.png") repeat scroll 0 0;
    border: 5px solid #dedede;
}

#links {
    text-align: center;
}

.size50 a {
    text-decoration: none;
    display: inline-block;
}

.size50 a:hover {
    -webkit-box-shadow: 0px 0px 12px 2px rgba(1, 50, 118, 0.84);
    -moz-box-shadow: 0px 0px 12px 2px rgba(1, 50, 118, 0.84);
    box-shadow: 0px 0px 12px 2px rgba(1, 50, 118, 0.84);
}

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

.size50 a {
    display: block;
    width: 419px;
    margin-bottom: 10px;
}

.size50 img {
    width: 100%;
    height: 260px;
    display: inline-block;
    object-fit: cover;
}

.size-catalog a {
    width: 153px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

.size-catalog img {
    display: inline-block;
}

.download-archive {
    background: url('../images/archive.png') no-repeat;
    padding: 18px 0 0 43px;
}

.catalog-buttons span {
    display: inline-block;
    margin: 15px 20px 0 0;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 20px;
    border: 1px solid #ADADAD;
}

.catalog-buttons .active-btn {
    background: #606791;
    color: #fff;
}

.pagelinks {
    margin: 20px 0;
}
.btn {
    border-radius: 4px;
    padding: 7px 10px;
}
.pagelinks a {
    display: inline-block;
    border: 1px solid #EEEEEE;
    padding: 5px;
    width: 30px;
    height: 30px;
    text-align: center;
    color: #878382;
}

.pagelinks a:hover {
    background: #EEEEEE;
    color: #1C1714;
    text-decoration: none;
}

.pagelinks .active {
    border: 1px solid #7C7877;
    color: #1C1714;
    background: #EEEEEE;
}

footer {
    background: #606791;
    color: #fff;
    padding: 1em 0;
}

footer .h2 {
    text-align: center;
    font-size: 28px;
    color: #fff;
    margin-bottom: 5px;
}

footer .slog {
    text-align: center;
    font-size: 11px;
}

footer .h2 span {
    color: #dedede;
}

footer .logo {
    margin: 30px auto 10px;
}

footer p {
    margin-bottom: 5px;
}

footer .h3 {
    border-bottom: 3px solid #f15b20;
    color: #dedede;
    font-size: 18px;
    padding: 10px 0;
}

footer ul {
    list-style: none;
    padding-left: 0;
}
.footer-menu a {
    color: #fff;
}
.contact-block a {
    color: #fff;
}

.footer-socials-list {
    display: flex;
    justify-content: flex-end;
}

.footer-socials-item {
    margin-right: 20px;
}

.footer-socials-item a {
    color: #fff;
    font-size: 30px;
} 


footer ul li a {
    color: #fff;
    font-size: 18px;
}

footer ul li a:hover,
footer .contact-block a:hover {
    color: #ffa37f;
}
#site_rating {
    text-align: center;
}

#site_rating a {
    font-size: 12px;
    color: #00aeff;
}

#site_rating a:hover {
    color: #ffa200;
}

.rating {
    background-image: url("/images/svg/star-inactive.svg");
    background-position: 0 0;
    font-size: 0;
    width: 65px;
}

.rating,
.rating::before {
    background-size: 13px 13px;
    display: inline-block;
    height: 13px;
}

.rating::before {
    background-image: url("/images/svg/star-active.svg");
    content: "";
    width: 0;
}

.rating_ {
    font-size: 13px;
}

.rating_,
.rating_::before {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    height: auto;
    width: auto;
}

.rating_::before {
    color: #999;
    content: "нет оценок";
}

.rating_5::before {
    width: 7px;
}

.rating_10::before {
    width: 13px;
}

.rating_15::before {
    width: 20px;
}

.rating_20::before {
    width: 26px;
}

.rating_25::before {
    width: 33px;
}

.rating_30::before {
    width: 40px;
}

.rating_35::before {
    width: 46px;
}

.rating_40::before {
    width: 53px;
}

.rating_45::before {
    width: 59px;
}

.rating_50::before {
    width: 65px;
}

.rating_middle {
    background-image: url("/images/svg/star-inactive.svg"), url("/images/svg/star-inactive.svg"), url("/images/svg/star-inactive.svg"), url("/images/svg/star-inactive.svg"), url("/images/svg/star-inactive.svg");
    width: 96px;
}

.rating_middle,
.rating_middle::before {
    background-position: 0 0px, 20px 0px, 40px 0px, 60px 0px, 80px 0;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    height: 16px;
}

.rating_middle::before {
    background-image: url("/images/svg/star-active.svg"), url("/images/svg/star-active.svg"), url("/images/svg/star-active.svg"), url("/images/svg/star-active.svg"), url("/images/svg/star-active.svg");
    position: relative;
    left: -4px;

}

.rating_middle.rating_ {
    font-size: 16px;
}

.rating_middle.rating_5::before {
    width: 8px;
}

.rating_middle.rating_10::before {
    width: 16px;
}

.rating_middle.rating_15::before {
    width: 28px;
}

.rating_middle.rating_20::before {
    width: 36px;
}

.rating_middle.rating_25::before {
    width: 48px;
}

.rating_middle.rating_30::before {
    width: 56px;
}

.rating_middle.rating_35::before {
    width: 68px;
}

.rating_middle.rating_40::before {
    width: 76px;
}

.rating_middle.rating_45::before {
    width: 88px;
}

.rating_middle.rating_50::before {
    width: 96px;
}

.rating_big {
    width: 100px;
}

.rating_big,
.rating_big::before {
    background-size: 20px 20px;
    height: 20px;
}

.rating_big.rating_ {
    font-size: 20px;
}

.rating_big.rating_5::before {
    width: 10px;
}

.rating_big.rating_10::before {
    width: 20px;
}

.rating_big.rating_15::before {
    width: 30px;
}

.rating_big.rating_20::before {
    width: 40px;
}

.rating_big.rating_25::before {
    width: 50px;
}

.rating_big.rating_30::before {
    width: 60px;
}

.rating_big.rating_35::before,
.rating_big.rating_40::before {
    width: 80px;
}

.rating_big.rating_45::before {
    width: 90px;
}

.rating_big.rating_50::before {
    width: 100px;
}

.copyright {
    font-size: 11px;
    padding: 5px 15px;
}

.copyright a {
    color: #ffa37f;
}

.copyright a:hover {
    text-decoration: underline;
}

.contact-block .phones {
    font-size: 16px;
    font-weight: bold;
}

.contact-block .phones span {
    font-size: 20px;
    margin-bottom: 5px;
}

.questions .h2 {
    color: #fff;
    font-size: 28px;
    margin: 20px auto;
}
.questions .h4 {
    color: #fff;
}

.questions .form-control {
    margin-bottom: 5px;
}

.form-control {
    font-size: 17px;
}

.scroll-top-wrapper {
    position: fixed;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    text-align: center;
    z-index: 2;
    background-color: rgba(119, 119, 119, 0.7);
    color: #eeeeee;
    width: 80px;
    line-height: 15px;
    right: 20px;
    bottom: 20px;
    padding: 5px;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.scroll-top-wrapper:hover {
    background-color: #888888;
}

.scroll-top-wrapper.show {
    visibility: visible;
    cursor: pointer;
    opacity: 1.0;
}

.scroll-top-wrapper i.fa {
    line-height: inherit;
}

.m-0-a {
    margin: 0 auto;
}

.m-t-5 {
    margin-top: 5px;
}

.m-t-10 {
    margin-top: 10px;
}

.p-r-5 {
    padding-right: 5px;
}

#navPanel,
#navToggle {
    display: none;
}

@media screen and (max-width:992px) {
    .contacts {
        text-align: center;
        margin: 20px 0 10px;
    }
    .page-header {
        margin-top: 70px;
    }
    #page-wrapper {
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -ms-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 0.5s ease;
        -webkit-transition: -webkit-transform 0.5s ease;
        -ms-transition: -ms-transform 0.5s ease;
        transition: transform 0.5s ease;
        padding-bottom: 1px;
    }
    #navToggle {
        backface-visibility: hidden;
        background: rgb(241, 91, 32);
        background: -moz-linear-gradient(left, rgba(241, 91, 32, 1) 0%, rgba(96, 103, 145, 1) 100%);
        background: -webkit-linear-gradient(left, rgba(241, 91, 32, 1) 0%, rgba(96, 103, 145, 1) 100%);
        background: linear-gradient(to right, rgba(241, 91, 32, 1) 0%, rgba(96, 103, 145, 1) 100%);
        filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#f15b20', endColorstr='#606791', GradientType=1);
        display: block;
        height: 60px;
        left: 0;
        position: fixed;
        top: 0;
        transition: transform 0.5s ease 0s;
        width: 100%;
        z-index: 1035;
    }
    #navToggle .toggle,
    #navToggle .togglephone {
        height: 50px;
    }
    #navToggle .toggle::before,
    #navToggle .togglephone {
        color: #fff;
        content: "";
        display: inline-block;
        font-family: FontAwesome;
        font-size: 28px;
        font-style: normal;
        font-weight: normal;
        height: 60px;
        line-height: 60px;
        max-width: 60px;
        padding: 0 18px;
        position: absolute;
        text-decoration: none;
        top: 0;
        border-right: 1px solid #fff;
    }
    #navToggle .toggle::before {
        left: 0;
    }
    #navToggle .togglephone {
        left: 60px;
    }
    #navToggle .toggle:hover::before,
    #navToggle .togglephone:hover {
        background: #606791 none repeat scroll 0 0;
    }
    #navToggle .toggle:active {
        opacity: 0.75;
    }
    #navToggle .toggle-phone {
        color: #fff;
        display: inline-block;
        font-size: 21px;
        font-weight: bold;
        height: 50px;
        padding: 15px;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 1036;
    }
    #navToggle .toggle-phone:hover {
        text-decoration: none;
    }
    #navPanel {
        backface-visibility: hidden;
        background: #fff none repeat scroll 0 0;
        box-shadow: -3px 0 0 0 #dfdfdf inset;
        display: block;
        height: 100%;
        left: 0;
        overflow-y: auto;
        position: fixed;
        top: 0;
        transform: translateX(-275px);
        transition: transform 0.5s ease 0s;
        width: 275px;
        z-index: 10002;
    }
    #navPanel .link {
        padding: 0 23px 0 20px;
        border-top: 1px solid #e8e8e8;
        color: #696969;
        display: block;
        height: 54px;
        line-height: 54px;
        text-decoration: none;
    }
    #navPanel .link:hover {
        background: #606791;
        color: #fff;
    }
    #navPanel .link:first-child {
        border-top: 0 none;
    }
    #navPanel .indent-1 {
        display: inline-block;
        width: 1em;
    }
    #navPanel .indent-2 {
        display: inline-block;
        width: 2em;
    }
    #navPanel .indent-3 {
        display: inline-block;
        width: 3em;
    }
    #navPanel .indent-4 {
        display: inline-block;
        width: 4em;
    }
    #navPanel .indent-5 {
        display: inline-block;
        width: 5em;
    }
    #navPanel .depth-0 {
        color: #444;
        font-size: 18px;
        font-weight: 700;
    }
    body.navPanel-visible #page-wrapper {
        -moz-transform: translateX(275px);
        -webkit-transform: translateX(275px);
        -ms-transform: translateX(275px);
        transform: translateX(275px);
    }
    body.navPanel-visible #navToggle {
        -moz-transform: translateX(275px);
        -webkit-transform: translateX(275px);
        -ms-transform: translateX(275px);
        transform: translateX(275px);
    }
    body.navPanel-visible #navPanel {
        -moz-transform: translateX(0);
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

@media screen and (max-width:767px) {
    #mainlogo,
    #mainlogo div {
        text-align: center;
        margin: 0;
        float: none;
    }
    #mainlogo img {
        float: none;
        margin: 5px auto 10px;
    }
}

@media screen and (max-width:480px) {
    #mainlogo .companyname {
        font-size: 28px;
        line-height: 20px;
        margin: 5px;
    }
    #mainlogo .companydescr {
        font-size: 10px;
    }
    .obrabotka .obrtype {
        display: inline-block;
        padding: 10px 0 10px;
        margin: 0 0 30px;
    }
    #navToggle .toggle-phone {
        font-size: 17px;
        padding: 19px 15px;
    }
    .materialsteklo .mattype {
        padding: 10px 0;
        margin: 0 0 30px;
    }
}

.category-wrap {}

.category-wrap h3 {
    font-size: 16px;
    color: rgba(0, 0, 0, .6);
    margin: 0 0 10px;
    padding: 0 5px;
    position: relative;
}

.category-wrap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-wrap ul li ul li a {
    padding-left: 14px;
    font-size: 16px;
}

.category-wrap a {
    text-decoration: none;
    display: block;
    font-size: 15px;
    color: rgba(0, 0, 0, .6);
    padding: 6px 14px;
    /* position: relative; */
    transition: .3s linear;
}

.sub-menu a:after {
    content: "\f18e";
    font-family: FontAwesome;
    position: absolute;
    right: 20px;
    color: white;
    transition: .2s linear;
}
.mm-panel_opened .sub-menu a:after {
    content: "";
    color: #f3f3f3;
}

.category-wrap a:hover {
    background: #606791;
    color: white;
}

.text-bold {
    font-weight: bold;
}

.f11 {
    font-size: 11px;
}

.f24 {
    font-size: 24px;
}

.no-margin {
    margin: 0;
}

.m-t-10 {
    margin-top: 10px;
}

.questions {
    margin-top: 20px;
    color: #fff;
    padding: 1em 1em 2em;
    background: rgb(241, 91, 32);
}

.online {
    border: 5px solid #f15b20;
    margin-bottom: 20px;
}
.online #calcbtn {
    margin-right: 20px;
}
.product {
    max-width: 400px;
    margin: 20px auto;
    background: #3c446e;
}
.product img {
    width: 100%;
}

.product-body {
    padding: 20px 10px;
    text-align: center;
}

.product-body a {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}


/* Variables  */

:root {
    --purple: #464e77;
    --orange: #f15b20;
}



/* Custom styles */
.size-auto {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start
}
.size-auto a {
    display: inline-block;
}

.size-auto img {
    height: auto;
    display: inline-block;
}

.sub-menu a {
    color: var(--purple);
}
.sub-menu>li>a>i {
    color: var(--purple) !important;
}

.category-wrap ul li ul li a:hover i.fa-square-o {
    color: #fff !important;
}
#menu a {
    position: relative;
    border-radius: 14px;
    margin-bottom: 2px;
}

#nav>li>a {
    background-color: var(--purple);
    color: #fff;
}

ul#nav>li>a:hover {
    background-color: var(--orange);
    color: #fff;
}
ul.sub-menu>li>a:hover {
    background-color: var(--orange);
    color: #fff;
}

#nav li .fa-square-o {
    color: #fff;
}

#nav>li> a>i:last-child {
    color: #fff ;
    font-size: 16px;
    float: right;
    line-height: 1.3;
}
#nav>li> a:hover .menu-arrow {
    color: #fff !important;
} 
#mobile-menu a.mm-navbar__title:hover {
    background: transparent;
    color: rgba(0,0,0,.3);
}
.content-top {
    margin-top: 40px;
    margin-bottom: 40px;
}
.content-top img {
    margin-bottom: 20px;
}

.inner-form {
    box-shadow: 1px 6px 16px rgba(0,0,0,.4);
    padding: 20px 30px;
    background-color:var(--purple);
    max-width: 480px;
}
.inner-form p {
    color: #fff;
}

.contactform {
    position: relative;
}

.success-msg {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    background-color: #fff;
}
.success-msg p {
    color: #333;
    margin-bottom: 20px;
}
.one-more {
    margin: 10px auto;
    width: 240px;
    display: block;
}
/*Form validation*/


.err-msg {
    padding: 10px;
    color: #ff5858;
    text-align: center;
}

input.red {
    border: 1px solid red !important;
}

.informcircle {
    border-radius: 50%;
    border: 2px solid #bbb;
    color: #bbb;
    width: 21px;
    height: 21px;
    display: inline-block;
    padding: 0 5px;
    line-height: 1.1;
    font-weight: 900;
    cursor: help;
}

.btn-danger {
    background-color: #f9561f;
}
.btn-danger:hover {
    background-color: #dc4105;
}

#mainpage .maintext {
    margin: 0;
}
#mainpage h1 {
    margin: 40px 0 30px;
    font-size: 36px;
}


.fancybox-caption {
    text-align: center;
}
.copyright {
    text-align:  left;
}

#links {
    margin-top: 40px;
}
.video-wrapper {
    padding-top: 20px;
}

/*======= MODALS =======*/
.modal-dialog {
    width: 330px;
}
.modal-title {
    margin-bottom: 0;
}
.modal-header {
    padding: 20px 30px;
}




/* Mobile menu */
#mobile-menu #nav i {
    display: none !important;
}
#mobile-menu .sub-menu>li>a>i {
    display: none !important;
}
#menu li.link-main {
    display: none;
}


/* ====== MEDIA ===== */
@media only screen and (min-width: 1200px) {
    .size-auto img {
        width: 410px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .size-auto img {
        width: 335px;
    }
    .size50 a {
        display: block;
        width: 343px;
        margin-bottom: 10px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    #menu, #onlinecalculator {display: none;}
    .category-wrap a {
        position: auto;
    }
    .size50 a {
        display: block;
        width: 355px;
        margin-bottom: 10px;
    }

    .size-auto img {
        width: 345px;
    }
}

@media only screen and (max-width: 767px) {
    #menu, #onlinecalculator {display: none;}
    .category-wrap a {
        position: auto;
    }
    .page-header {
        display: none;
    }
    .divider {
        height: 0;
    }
    .slick-prev, .slick-next {
        display: none !important;
    }
    .slick-caption h3 {
        font-size: 26px;
    }
    footer .divider {
        height: 0;
    }
    .size-auto img {
        width: 100%;
    }
    .size50 a {
        display: none;
        width: 100%;
    }
    .size50 a:nth-child(-n+6) {
        display: inline-block;
    }
    .materialsteklo .mattype,
    .obrabotka .image-block,
    .obrabotka .obrtype {
        width: 100%;
    }
    #mainpage h2, #mainpage .h2 {
        margin: 30px 0 20px;
        font-size: 26px;
    }
    #mainpage h1 {
        margin: 40px 0 20px;
        font-size: 30px;
    }

}


@media only screen and (max-width: 480px) {
    .size-auto img {
        width: 250px;
    }
    .btn {
        width: 100%;
    }
}


