@media only screen and (max-width : 1500px) {}

@media only screen and (max-width : 1500px) {}

@media only screen and (max-width : 1400px) {
    .main-menu {
        font-size: 18px;
    }

    .submenu-list ul {
        font-size: 16px;
    }

    div.menu div.menu-item {
        margin-right: 2rem;
    }

    .banner-title {
        color: #fff;
        font-weight: 700;
        font-size: 45px;
    }

    .banner-number {
        color: #fff;
        font-weight: 700;
        font-size: 61px;
        margin-bottom: 0;
        line-height: 70px;
        margin-top: 1.5rem;
    }

    .banner-text {
        color: #fff;
        font-size: 22px;
    }

    .nav-pills .nav-link {
        font-size: 20px;
    }

    .prices-table {
        font-size: 22px;
        line-height: 26px;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1300px) {}

/* Medium Devices, Desktops */
@media only screen and (max-width : 1200px) {
    .main-menu {
        font-size: 16px;
    }

    div.menu div.menu-item {
        margin-right: 1.5rem;
    }

    .logo {
        max-width: 100%;
    }

    .submenu-list {
        top: 3.8rem;
    }

    .banner-title {
        color: #fff;
        font-weight: 700;
        font-size: 35px;
    }

    .banner-number {
        color: #fff;
        font-weight: 700;
        font-size: 51px;
        margin-bottom: 0;
        line-height: 70px;
        margin-top: 1.5rem;
    }

    .banner-text {
        color: #fff;
        font-size: 18px;
    }

    .nav-pills .nav-link {
        font-size: 16px;
    }

    .prices-table {
        font-size: 18px;
        line-height: 22px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    header {
        position: relative;
    }
    .banner_button_block{
        padding-right: 0;
    }
    .main-menu {
        margin-top: 0;
        display: none;
    }
    .banner-title {
        font-size: 35px;
        line-height: 35px;
        margin-top: 2rem;
    }

    .banner-number {
        font-size: 51px;
        margin-bottom: 0;
        line-height: 70px;
        margin-top: 0rem;
    }
    .menu-block {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .top-menu {
        font-size: 14px;
        position: relative;
        padding-right: 3rem;
    }
    div.menu div.menu-item.submenu a:hover~.submenu-list{
        display: block;
    }
    .menu {
        flex-direction: column;
        text-align: center;
    }

    div.menu div.menu-item {
        margin: 0.2rem 0;
    }

    .submenu-list {
        left: 0;
        right: 0;
        min-width: 100%;
        padding: 1.5rem 0rem 0.5rem 0rem;
        top: 2rem;
    }

    .search-item {
        position: absolute;
        right: 5px;
        top: 5px;
    }

    .search-icon {
        max-width: 20px;
    }

    .first-block .big-title {
        font-size: 52px;
    }

    .btn-primary {
        font-size: 16px;
    }

    .banner-number {
        margin-top: 0rem;
    }

    footer {
        padding: 3rem 0px;
        font-size: 16px;
    }

    .main-contacts {
        font-size: 20px;
    }

    .contacts-title {
        font-size: 28px;
    }

    .first-block .middle-title {
        font-size: 32px;
    }

    .map-contacts-data {
        font-size: 18px;
    }

    .map-contacts-data .title {
        font-size: 20px;

    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    .first-block .big-title {
        font-size: 42px;
    }

    .prices-table {
        font-size: 14px;
        line-height: 18px;
    }

    .content-card {
        padding: 2.5rem;
    }

    .text-content {
        font-size: 18px;
    }

    .main-contacts {
        font-size: 16px;
    }

    .contacts-title {
        font-size: 22px;
    }

    .first-block .middle-title {
        font-size: 22px;
    }

    .map-contacts-data {
        font-size: 16px;
        padding: 2rem 1rem;
        left: 1rem;
    }

    .map-contacts-data .title {
        font-size: 18px;

    }
}


/* Extra Small Devices, Phones */
@media only screen and (max-width : 520px) {
    .first-block .big-title {
        font-size: 32px;
    }
}

/* bacustom, iPhone Retina */
@media only screen and (max-width : 320px) {}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {}