@media (max-width: 480px) {
    .main-image {
        width: 100%;
        margin-bottom: 10px;
        object-fit: cover;
    }
    .article:first-child{
        flex-basis: 100%;
    }
    .last-news .article:first-child {
        flex-basis: 48%;
    }
    .main-title {
        padding-right: 0;
    }
    #add-number-form form {
        min-width: auto !important;
        width: 100%;
    }
}
/* Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
    .page-container {
        display: block !important;
    }
    .user-block {
        right: 30px;
    }
    .main-title {
        font-size: 18px;
    }
    .main-header .row {
        margin: 0;
    }
    .logo-img {
        width: 30px;
    }
    #search-field {
        width: 54vw;
    }
    .tab-content header a {
        width: 100%;
    }
    .tab-content header a:first-child{
        margin-bottom:10px;
    }
    .main-header {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 200;
        background: var(--main-color);
    }
    .content-wrapper {
        padding-top: 90px;
    }
    .last-news {
        padding-top: 0px;
    }
    .footer{
        width: 100%;
        height:280px;
        margin-top: 20px;
    }
    .product-img-left.offset-image.lazy {
        width: 100%;
    }
    .copyright-block .container{
        height:auto !important;
    }
    .copyright-block{
        background: #353535;
    }
    .article {
        flex-basis: 48%;
        height: auto;
        margin-bottom: 15px;
    }
    .article-img {
        height: auto;
    }
    .article-title {
        font-size: 15px;
        line-height: 18px;
    }
    .article-img img {
        width: 100%;
        height: 165px;
    }
    .article-page {
        min-height: 500px;
        padding-top:70px;
    }
    .page-content {
        min-height: auto !important;
    }
    #nav-icon3 {
        margin: 0;
    }
    .menu-open {
        left: 82vw !important;
    }
    #nav-icon3 span:nth-child(4) {
        top: 16px;
    }
    #nav-icon3 span:nth-child(2), #nav-icon3 span:nth-child(3) {
        top: 8px;
    }
    .menu {
        top: 5px;
    }
    .user-menu.nav-fill .nav-item {
        flex: 1 1 100%;
        margin-bottom: 10px;
    }
    .footer {
        height: auto;
    }
    .footer img.white-logo {
        margin: 15px 0;
    }
    .home-notices-container {
        grid-template-columns: 1fr !important;
        gap: 2px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    #payment-form-buttons {
        flex-wrap: wrap;
    }
    #payment-form-buttons > button,
    #payment-form-buttons > a {
        flex-basis: 100%;
    }
}

@media (max-width: 767.98px) {
    #article-text iframe {
        max-width: 100%;
    }
    .page-content {
        padding-top: 55px;
        min-height: calc(100% - 252px) !important;
    }
    .notice {
        flex-basis: 47%;
        height: auto;
        margin: 1.2%
    }
    .notice-form .form-row {
        width: 95%;
    }
    .menu {
        z-index: 10000;
        left: 10px;
        position:fixed;
    }
    #nav-icon3 span {
        height: 2px;
        background: #fff;
    }
    #nav-icon3.open span {
        height: 2px;
    }
    .menu-copyright {
        position: absolute;
        bottom: 20px;
        left: 24px;
        width: 210px;
    }
    .menu-open .menu-side {
        width: 250px;
    }
    .menu-side ul {
        padding-top: 10px;
    }
    .menu-open .new-hover:hover {
        background: transparent;
    }
    .order-placed-container {
        width: 90%;
    }
    .notice-form .form-row .form-group {
        margin-bottom: 10px;
    }
    .main-header {
        height: auto;
    }
    .labeled-row .phone {
        flex-direction: column;
        align-items: stretch;
    }
    .labeled-row .phone .description {
        padding: 5px 0 0 40px;
    }
}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767.98px) {
    .user-block {
        right: 30px;
        top:15px;
    }
    .main-header {
        position: fixed;
        width: 100%;
        top: 0;
        background: var(--main-color);
        z-index: 200;
    }
    #nav-icon3 {
        margin: 5px;
    }
    .menu-open {
        left: 87vw !important;
    }
    .mobile-menu-icon {
        top: 10px;
    }
    .logo-img {
        width: 40px;
    }
    .content-wrapper {
        padding-top: 110px;
    }
    .last-news {
        padding-top: 0;
    }
    .footer .container {
        height: inherit;
    }
    .copyright-block .container{
        height:auto !important;
    }
    .copyright-block{
        background: #353535;
    }
    .footer{
        margin-top: 20px;
    }
    #app{
        width: 100%;
    }
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {
    .content-wrapper {
        padding-top: 30px;
        min-height: 500px;
    }
    .article-page {
        min-height: 500px;
    }
    .footer{
        height:265px;
        margin-top: 20px;
    }
    .article {
        flex-basis: 32%;
        height: auto;
    }
    .article-img img, .article-img {
        height: 220px;
    }
    .menu-side {
        width: 0px;
    }
    .last-news {
        padding-top: 10px;
        min-height: auto;
        padding-bottom: 10px;
    }
    .notice {
        flex-basis: 31%;
    }
    #app{
        width: calc(100% - 230px);
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {
    .content-wrapper {
        padding-top: 50px;
        min-height: 600px;
    }
    .article-page {
        min-height: 600px;
    }
    .footer{
        height:265px;
        margin-top: 20px;
    }
    .last-news {
        padding-top: 10px;
        min-height: auto;
        padding-bottom: 10px;
    }
    .page-content {
        min-height: calc(100vh - 460px);
    }
    #app{
        width: calc(100% - 230px);
    }
    .notice {
        flex-basis: 22.5%;
    }
    #payment-form-buttons {
        flex-wrap: wrap;
    }
    #payment-form-buttons button {
        flex-basis: 100%;
    }
}

@media (max-width: 1250px){
    .menu-side {
        width: 0;
    }
    .page-content {
        min-height: calc(100vh - 346px);
    }
}

@media (max-width: 1023.98px) {
    .footer-left-col {
        position: relative;
        text-align: center;
        top: 10px;
    }
    .footer ul {
        padding-top: 0;
    }
    .home-notices-container {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .labeled-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .labeled-row label {
        width: auto;
        border: 0;
    }
    .labeled-row .cards,
    .labeled-row .phones {
        flex-wrap: wrap;
    }
    #add-number-form form {
        flex-direction: column;
        min-width: 375px;
        padding: 20px;
        gap: 10px;
    }
    #add-number-form form > div {
        align-self: stretch;
    }
    #add-number-form form > div select,
    #add-number-form form > div input {
        width: 100%;
    }
    #add-number-form form > button {
        margin: 0 auto;
    }
}

@media (max-width: 1440px) {
    .home-notices-container {
        padding: 20px;
    }
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    .content-wrapper {
        padding-top: 50px;
        min-height: 600px;
    }
    .article-page {
        min-height: 600px;
    }
    .footer{
        height:215px;
        width: 100%;
    }
    .page-content {
        min-height: calc(100% - 276px);
    }
    .copyright-block {
        width: 100%;
    }
    .last-news {
        padding-top: 10px;
        min-height: auto;
        padding-bottom: 10px;
    }
    #app{
        width: calc(100% - 230px);
    }

}

@media (max-width: 1660px) {
    #price-holder {
        height: auto !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100% !important;
        z-index: 2;
        border-top: 1px solid #fff;
        margin-left :0;
        border-radius: 0;
    }
    #price-holder .inner {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-content: stretch;
        align-items: flex-start;
        padding: 5px 0;
    }
    #price-holder .inner h4 {
        border-bottom: 0;
        border-right: 1px solid #fff;
        flex: 0 1 auto;
        align-self: auto;
        margin: 0;
        padding: 5px 0;
        width: 50%;
    }
    #price-holder .inner p {
        flex: 0 1 auto;
        align-self: auto;
        width: 50%;
        margin: 0;
        padding: 5px 0;
    }
    #price-holder .inner p small {
        padding-top: 3px;
    }
    #price-holder .inner p span {
        margin: 0;
    }
}
