/************************* CSS MEDIA QUERIES *************************/

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

@media only screen and (max-width: 1200px) {
    .slider-link {
        right: -40px;
    }
    
    .slider-schedule {
        left: -65px;
    }

    .master-name,
    .master-text {
        margin-bottom: 15px;
    }
    .slick-dots {
        bottom: 15px;
    }
    .header__content-nav li {
        margin: 0 10px;
    }
}

@media only screen and (max-width: 992px) {
    .master-name {
        font-size: 20px;
    }
    .nav-fixed {
        margin-bottom: 59px;
    }

    .control-nav {
        display: block;
    }
    .header {
        padding: 10px 0;
    }

    .header__content-nav {
        position: absolute;
        display: block;
        text-align: left;
        visibility: hidden;
        top: 136px;
        left: 0;
        width: 100%;
        padding: 5px 15px;
        background: #000;
        z-index: 999;
    }

    .header-nav {
        display: block;
    }

    .header__content-nav li {
        width: 100%;
        padding: 10px 0;
        margin: 0;
        border-bottom: 1px solid #999;
    }

    .header__content-nav .insta-icon {
        border-bottom: none;
        text-align: center;
    }

    .control-nav--fixed {
        position: fixed;
    }

    .header__content-nav--fixed {
        position: fixed;
        top: 59px;
    }

    .master-gallery .gallery_item {
        width: 25%;
    }

    .master-gallery .gallery_item img {
        height: 150px;
    }

    .active-tab {
        justify-content: center;
    }
}

@media only screen and (max-width: 768px) {
    .fixed-btn {
        width: 100px;
        height: 100px;
        right: 20px;
        bottom: 20px;
    }
    .fancybox-caption {
        font-size: 20px;
    }
    .slider-order img {
        width: 130px;
    }
	.quote-body {
		padding: 15px;
		background: #000000b8;
	}
    .quote-body:before {
        position: static;
        display: block;
        margin: 20px auto;
    }
	.master-name {
		width: 100%;
		text-align: center;
	}
	#instagram h2 {
		font-size: 30px;
	}
	#quote .slick-dots {
	    transform: rotate(0);
	    left: 0;
	    top: 100%;
	    width: 100%;
	    height: initial;
	}
	#quote,
	#instagram {
		padding: 100px 0;
	}
    .gallery-tabs__nav ul {
        justify-content: space-around;
    }
    .page-header {
        padding: 50px 0;
    }
    .section {
        padding: 40px 0;
    }
    .small-title {
        text-align: center;
    }
    h1 {
        font-size: 40px;
    }
    .main-slider-nav--wrapp {
        text-align: center;
    }

    .main-slider-nav {
        margin: 20px 5px 0 5px;
    }

    .master-photo {
        text-align: center;
        margin-bottom: 20px;
    }

    #about-master .insta-icon {
    	width: 100%;
        text-align: center;
    }
    .footer_contacts {
        float: none;
        width: 100%;
    }

    footer .container {
        width: 100%;
    }

     .master-gallery .gallery_item {
        width: 33.333%;
    }
    
    #about-master .master_line:nth-child(even),  #about-master .master_line:nth-child(even) .master-name, .master_link {
        text-align: center;
    }

}

@media only screen and (max-width: 576px) {
    .fixed-btn {
        width: 80px;
        height: 80px;
        right: 10px;
        bottom: 10px;
    }
	#instagram h2 {
		font-size: 24px;
	}
    .header__content {
        padding: 0 15px;
    }

    .master-gallery .gallery_item {
        width: 50%;
    }

     .master-gallery .gallery_item img{
        height: 200px;
    }
}

@media only screen and (max-width: 500px) {
	h1 {
        font-size: 30px;
        padding: 0 20px;
    }

    #instagram,
	#quote {
		padding: 50px 0;
	}
    .page-header {
        padding: 20px 0;
    }
    .header__content-nav--fixed {
        top: 59px !important;
    }
    .header__content {
        flex-wrap: wrap;
    }
    .header__content-nav {
        top: 218px;
    }
    .header__content-logo,
    .header__content__contacts {
        width: 100%;
        text-align: center;
    }

    .header__content__contacts {
        margin: 15px 0;
    }

    .price-item {
        flex-wrap: wrap;
    }

    .price-text,
    .price {
        width: 100%;
        text-align: center;
    }

    .price-line {
        bottom: 0;
        margin: 10px 30px;
    }

   
}


@media only screen and (max-width: 450px) {
    .master-gallery .gallery_item {
        width: 100%;
    }

     .master-gallery .gallery_item img{
        height: auto;
    }
}

@media only screen and (max-width: 320px) {}