@media screen and (min-width: 375px){ 
    .slider{
        background-position: -390px 0;
    }
    .dealInfo{
        margin: 40px 0 0;
    }
}

@media screen and (width: 768px) and (height: 1024px){
    .carousel-caption {
        top: 400px;
    }
}

@media screen and (width: 1024px) and (height: 1366px){
    .carousel-caption {
        top: 500px;
    }
}

@media screen and (min-width: 768px){
    .slider{
        background-position: -520px 0;
    }
    
    .dealInfo{
        margin: 80px 0 0;
    }
    
    .dealInfo p, .dealInfo a{
        font-size: 22px;
    }
    
    .navPhone{
        margin: 10px 0 0 80px;
    }
    
    .carousel-caption {
        top: 150px;
    }
    .about-text{
        margin-top: 0;
    }
    
    .showForm.btn-custom{
        margin: 0 0 0 calc(50% - 60px);
    }
    
    .popup{
        max-width: 600px;
        margin: 0 0 0 50%;
        transform: translate(-50%);
    }
    .popup img{
        width: 300px;
        float: left;
        margin: 0 10px 0 0;
    }
    .popup article{
        padding: 0;
    }
    /*stock*/
    .stock .showForm.btn-custom:hover{
        background: #ffffff;
        color: #544042;
    }
    .stock{
        -webkit-flex-flow: row;
        -moz-flex-flow: row;
        -ms-flex-flow: row;
        -o-flex-flow: row;
        flex-flow: row;
        padding: 20px 40px;
    }
    
    .stockText h3{
        color: #ffffff;
        text-shadow: 2px 2px #333;
    }
    
    .stockText p{
        font-size: 18px;
        color: #ffffff;
    }
    
    .stock img{
        width: 120px;
        margin: 0;
    }
    /*stock*/
    
    #testimonials{
        background-position: -300px 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) { 
 .featured-list #grid .thumb {
	  width: 50%;
	}
	
	.carousel-caption h1 {
	  font-size: 40px;
	  text-transform: uppercase;
	  line-height:auto !important;
	}
}
/* Mobile Layout: 320px. */
@media only screen and (max-width: 767px) { 
    .stock {
        margin-top: 20px;
    }
    .itemsBox .dad {
        margin: auto;
        padding: 0px 70px;
    }
    #feature-work .portfolio-item img {
        margin: 0 0 20px;
        width: 200px;
        margin: auto;
        display: block;
    }
	.featured-list #grid .thumb {
	  width: 50%;
	}
	.carousel-caption {
	  top: 250px;
	}
	
	.carousel-caption h1 {
	  font-size: 35px;
	  text-transform: uppercase;
	  line-height:auto !important;
	}
	
	.btn.btn-learn {
	  font-size: 16px;
	  font-weight: 500;
	  padding: 10px 20px;
	  text-align: center;
	  text-transform: uppercase;
	}
	
	.about-text{
		text-align:center;
	}
	
	.single-feature{
		text-align:center;
	}
	
	.feature-icon{
		margin-bottom:8px;
	}
	
	.feature-text h4{
		line-height:25px;
	}
	
}
/* Wide Mobile Layout: 480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) { 
	.featured-list #grid .thumb {
	  width: 50%;
	}
	
	.carousel-caption {
	  top: 5px;
	}
	
	.carousel-caption h1 {
	  font-size: 15px;
	  text-transform: uppercase;
	  line-height:auto !important;
	}
	
	.btn.btn-learn {
	  font-size: 10px;
	  font-weight: 500;
	  padding: 5px 7px;
	  text-align: center;
	  text-transform: uppercase;
	}
	
	.about-text{
		text-align:center;
	}	
}

@media screen and (width: 1024px) and (height: 768px){
    .slider, #installation, #testimonials{
        background-attachment: scroll;
    }
}

@media screen and (width: 1024px) and (height: 1366px){
    .slider, #installation, #testimonials{
        background-attachment: scroll;
    }
}

@media screen and (width: 1366px) and (height: 1024px){
    .slider, #installation, #testimonials{
        background-attachment: scroll;
    }
}

@media screen and (min-width: 1024px){
    .slider{
        background-position: 0 50px;
    }
    
    .dealInfo{
        margin: 20px 0;
    }
    
    .carousel-caption h1{
        font-size: 46px;

        line-height: 65px;
    }    
    .slider, #installation, #testimonials{
        background-attachment: fixed;
    }
    
    .navPhone{
        margin: 8px 0 0 60px;
    }
    
    .dealInfo{
        display: flex;
        flex-flow: row;
        justify-content: center;
    }
    .dealInfo p{
        margin: 0 30px 0 0;
    }
    
    #testimonials{
        background-position: 0 0;
    }
}

@media screen and (min-width: 1280px){
    
    .navPhone{
        margin: 10px 0 0 40px;
    }

    .navPhone a{
        font-size: 24px;
    }
    
}