/*==========  Desktop First Method  ==========*/
@media (max-width: 1500px) {
    .variable-slider {
        padding: 0 65px;
    }
}
@media (max-width: 1400px) {
    .header-mid__logo-wrapper {
        margin-right: 30px;
    }
	.header-mid__logo-text {
        font-size: 14px;
    }
    .header-mid__address {
        margin-right: 30px;
    }
    .header-mid__phone, a.header-mid__phone {
        font-size: 16px;
    }
    .header-mid__search {
        max-width: 220px;
    }
    .main-header::after {
        background: url(../img/main-book-girl-bg.png) right 0% bottom / 600px no-repeat;
    }
    .main-preim__title {
        font-size: 15px;
    }
    .main-preim__text {
        font-size: 15px;
    }
    .main-preim__item {
        padding: 45px 15px;
    }
    .page-title__title {
        font-size: 46px;
    }
    .catalog-full__item-name {
        font-size: 16px;
    }
    .catalog__item-wrap {
        width: 33.33%;
    }
    .header-top__menu>ul>li>a {
        margin-right: 20px;
        font-size: 14px;
    }
}

@media (max-width: 1200px) {
    .section {
        padding: 100px 0;
    }
    .section-short {
        padding: 50px 0;
    } 
    .main-title {
        font-size: 40px;
    }
	.header-mid__address {
        display: none;
    }
    .header-top__menu>ul>li>a {
        margin-right: 10px;
        font-size: 12px;
    }
    .header-bot__wrapper>ul>li>a {
        margin-right: 30px;
        font-size: 14px;
    }
    .page-title__title {
        font-size: 42px;
    }
    .catalog-full__item-wrap {
        width: 33.33%;
    }
    .catalog__item-wrap {
        width: 50%;
    }
    .about__img {
        max-width: 500px;
    }
    .seotags__tag {
        font-size: 14px;
    }
    .blog-inn__item-wrap {
        width: 25%;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }
    .section-short {
        padding: 50px 0;
    }
    .main-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
	.header-top__menu {
        display: none;
    }
    .header-mid__search {
        display: none;
    }
    .header-top__social {
        margin-left: 0;
    }
    .header-top__wrapper {
        justify-content: space-between;
    }
    .header-bot__wrapper>ul {
        display: none;
    }
    .toggle-menu {
        display: block;
    }
    .header-bot__wrapper {
        justify-content: flex-end;
        display: flex;
    }
    .main-preim__item {
        width: 50%;
        padding: 25px 15px;
    }
    .main-header__title {
        font-size: 24px;
        max-width: 500px;
    }
    .main-header__pretitle {
        font-size: 75px;
    }
    .main-header__pretitle span {
        font-size: 26px;
        top: -20px;
    }
    .main-header__text {
        font-size: 14px;
        max-width: 560px;
    }
    .main-header::after {
        background: url(../img/main-book-girl-bg.png) right 0% bottom / 475px no-repeat;
    }
    .footer-copy {
        display: block;
        text-align: center;
    }
    .crumbs__title {
        font-size: 24px;
    }
    .breadcrumb {
        font-size: 14px;
    }
    .page-title__title {
        font-size: 36px;
    }
    .tabs-small .nav {
        justify-content: center;
    }
    .more-form__title {
        font-size: 32px;
    }
    .page-title__description {
        font-size: 20px;
    }
    .catalog-full__item-wrap {
        width: 50%;
    }
    .sidebar {
        display: none;
    }
    .page-content {
        width: 100%;
    }
    .contacts-list__item-wrap {
        width: 100%;
    }
    .about__img {
        float: none;
        margin-left: 0;
        max-width: 100%;
    }
    .blog-inn__item-wrap {
        width: 33%;
    }
    .blog-popup {
        padding: 24px;
    }
    .blog-popup__wrapper {
        flex-wrap: wrap;
        width: 100%;
    }
    .blog-popup__video {
        width: 100%;
    }
    .blog-popup__text-wrapper {
        width: 100%;
        margin-top: 10px;
    }
    .blog-popup__text {
        position: relative;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        padding-left: 0;
        overflow-y: auto;
        scrollbar-color: var(--color-a) #ccc;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .section-short {
        padding: 40px 0;
    }
    .main-title {
        font-size: 32px;
    }
	.main-btn, a.main-btn, button.main-btn {
        font-size: 13px;
        padding: 16px 20px;
    }
    .header-mid__logo {
        height: 61px;
    }
    .header-mid__logo-text {
        font-size: 16px;
    }
    .main-header::after {
        display: none;
    }
    .main-header__content {
        padding: 75px 0 265px;
    }
    .tabs .nav {
        margin-left: -5px;
        margin-right: -5px;
    }
    .tabs .nav-link {
        font-size: 14px;
        padding: 20px;
        margin: 5px;
    }
    .tabs__items {
        margin-left: -5px;
        margin-right: -5px;
    }
    .tabs__item {
        margin: 5px;
        font-size: 13px;
    }
    .review-slide__name {
        font-size: 14px;
    }
    .review-slide__date {
        font-size: 14px;
    }
    .review-slide__text {
        font-size: 14px;
    }
    .footer-top {
        padding-top: 50px;
    }
    .footer__title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    .footer__phone {
        margin-bottom: 5px;
    }
    .page-title__title {
        font-size: 28px;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    h4 {
        font-size: 1.25rem;
    }
    h5 {
        font-size: 1rem;
    }
    h6 {
        font-size: 1rem;
    }
    .more-form__title {
        font-size: 26px;
        font-weight: 700;
    }
    .more-form__after {
        font-size: 14px;
        text-align: center;
    }
    .more-form .privacy {
        text-align: center;
    }
    .crumbs__title {
        font-size: 22px;
    }
    .tabs-small .nav-link {
        font-size: 14px;
    }
    .page-title__description {
        font-size: 16px;
        margin-top: 5px;
    }
    .catalog-full__item-name {
        font-size: 14px;
    }
    .seotags__tag {
        font-size: 12px;
    }
    .blog-inn {
        margin: 0 -5px;
    }
    .blog-inn__item-wrap {
        padding: 0 5px 10px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 15px;
    }
    .section {
        padding: 40px 0;
    }
    .section-short {
        padding: 25px 0;
    }
    .main-title {
        font-size: 26px;
        margin-bottom: 25px;
    }
    .main-btn, a.main-btn, button.main-btn {
        font-size: 11px;
        padding: 14px 20px;
    }
    .page-title {
        margin-bottom: 12px;
    }
	.header-mid__logo {
        height: 41px;
    }
    .header-mid__logo-text {
        font-size: 10px;
        margin-left: 10px;
    }
    .header-mid__phone, a.header-mid__phone {
        font-size: 16px;
        margin-left: 10px;
    }
    .header-mid__logo-wrapper {
        margin-right: 5px;
        padding: 6px 0;
    }
    .header-top__wrapper {
        padding: 6px 0;
    }
    .header-top__social a {
        width: 24px;
    }
    .main-preim__item {
        width: 100%;
    }
    .main-preim__wrapper {
        margin-top: 12px;
    }
    .main-header__title {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .main-header__pretitle {
        font-size: 50px;
        margin-bottom: 20px;
    }
    .main-header__pretitle span {
        font-size: 20px;
    }
    .main-header__text {
        margin-bottom: 30px;
    }
    .main-header__content {
        padding: 50px 0;
    }
    .main-preim__item {
        padding: 15px;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .main-preim__img {
        height: 50px;
        margin-bottom: 15px;
        flex-grow: 1;
        flex-shrink: 0;
        width: 60px;
        margin-right: 15px;
        justify-content: center;
    }
    .main-preim__title {
        font-size: 14px;
        margin-bottom: 10px;
        font-weight: 700;
    }
    .main-preim__text {
        font-size: 14px;
    }
    .variable-slider {
        padding: 0;
    }
    .slider-3-row.owl-carousel .owl-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }
    .slider-3-row.owl-carousel .owl-nav button.owl-next,
    .slider-3-row.owl-carousel .owl-nav button.owl-prev {
        position: relative;
        top: auto;
        transform: none;
        left: auto;
        right: auto;
        margin: 0 5px;
    }
    .tabs .nav {
        justify-content: center;
    }
    .tabs .nav-link {
        font-size: 12px;
    }
    .footer__phone-number, a.footer__phone-number {
        font-size: 16px;
    }
    .footer__address {
        font-size: 14px;
    }
    .footer__form input[type="text"] {
        height: 39px;
    }
    .footer-top {
        padding-bottom: 0;
    }
    .footer-copy {
        font-size: 13px;
    }
    .crumbs {
        padding: 15px 0;
    }
    .crumbs__title {
        font-size: 12px;
        margin-bottom: 5px;
        max-width: 300px;
    }
    .breadcrumb {
        font-size: 12px;
    }
    .page-title__title {
        font-size: 24px;
    }
    h1 {
        font-size: 1.75rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.25rem;
    }
    h4 {
        font-size: 1rem;
    }
    h5 {
        font-size: 1rem;
    }
    h6 {
        font-size: 1rem;
    }
    .tabs-small .nav-link {
        font-size: 12px;
        padding: 15px 20px;
    }
    .more-form__title {
        font-size: 22px;
        margin-bottom: 25px;
    }
    .more-form__after {
        font-size: 12px;
    }
    .page-title__description {
        font-size: 14px;
    }
    .accordion-button {
        font-size: 14px;
    }
    .accordion-body {
        font-size: 14px;
    }
    .catalog-full {
        margin: 0 -2px;
    }
    .catalog-full__item-wrap {
        padding: 2px;
    }
    .catalog-full__item-name {
        font-size: 12px;
    }
    .catalog__item-wrap {
        width: 100%;
    }
    .catalog__item-info {
        left: auto;
        right: 0;
    }
    .contacts-list__item-wrap {
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .contacts-list__item {
        padding: 15px;
    }
    .contacts-list__title {
        font-size: 16px;
    }
    .contacts-list__text {
        font-size: 14px;
    }
    .upload-form {
        padding: 0 10px 10px;
    }
    .upload-form__title {
        font-size: 16px;
    }
    .seotags {
        margin: 0 -2px;
    }
    .seotags__tag {
        padding: 4px 8px;
        margin: 2px;
    }
    .blog-inn__item-wrap {
        width: 50%;
    }
}

/*==========  Mobile First Method  ==========*/

@media (min-width: 576px) {
	
}

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

@media (min-width: 992px) {
	
}

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

@media (min-width: 1400px) {
	
}