/*##################################################################*/
/* Tablet - portrait ###############################################*/
/*##################################################################*/


@media (max-width:480px){
 
	#home .home_banner p{ font-size:20px;
	margin-top:50px;
}
	#home .home_banner h2 { font-size:40px;
}
#folio-banner h4 {
    font-size: 32px;
}

.about-info {
	background-position: 50% 90%;
    padding: 30px 30px 240px;
}
	
	
	}
@media (min-width:480px) and (max-width: 767px) {
    .tlt {
        letter-spacing: 2px;
        font-size: 48px;
        line-height:50px;
    }
    blockquote p {
        font-size: 19px;
        line-height:29px;
    }
	
	#services .d-iconbox{ float:left;}
	
  
}

@media (max-width: 767px) {
	
	#service_boxes {
    margin-top: 40px;
}
	.service_box{ clear:both; margin-bottom: 40px;}
	.service_box .d-iconbox{ float:left; width:60PX; height:60PX;}
	.service_box .d-iconbox:before{  width:60PX; height:60PX; background-size:100%;}
	.service_box h3,
	.service_box p{text-align:left; margin:0; margin-left:80px;}
	
	
	
	
  
}



@media (min-width:768px) and (max-width: 992px) {
	
    .service_box p {
        width:220px;
        margin: 0 auto;    
    }
    
    #service_boxes ul {
        width:220px;

    }
	
	.cooperation_text{
        width:220px;
		margin-left:-110px;

    }
    
    .animbox {
        width: 220px;
    }
    
}
@media (max-width: 992px) {
	
	#home .home_banner,
	#home .home_banner p,
	#home .home_banner h2{ text-align:center;}
	#home .home_banner ul li {
		text-align:center;
    width: 100%;
}

	

	}
@media (min-width: 992px) {
	

#advantage_boxes  { height:380px;}

#advantage_boxes .adv-0{ background:url(images/bg-adv1.png) no-repeat center center; height:304px; width:304px; position:absolute; left:50%; top:50%;margin-left:-152px;  margin-top:-152px; padding:0;}
#advantage_boxes .adv-0 h4{ background:url(images/adv-logo.png) no-repeat center top; padding-top:120px; width:140px; position:absolute; left:50%; top:50%; margin-left:-70px; margin-top:-80px; color:#fff; font-weight:400; font-size:24px;}

#advantage_boxes .adv-1{ position:absolute; left:0; top:40px;}
#advantage_boxes .adv-2{ position:absolute; right:0; top:40px;}


#advantage_boxes .adv-3{ position:absolute; left:0; bottom:40px;}
#advantage_boxes .adv-4{ position:absolute; right:0; bottom:40px;}

#advantage_boxes .adv-1 .d-iconbox,
#advantage_boxes .adv-3 .d-iconbox{ margin-right:50px;}
#advantage_boxes .adv-2 .d-iconbox,
#advantage_boxes .adv-4 .d-iconbox{ margin-left:50px;}


#advantage_boxes .adv-1 *,
#advantage_boxes .adv-3 *{ text-align:right;}
#advantage_boxes .adv-2  *,
#advantage_boxes .adv-4  *{ text-align:left;}


#advantage_boxes .adv-1 .d-iconbox,
#advantage_boxes .adv-3 .d-iconbox{ float:right;margin-left:20px;}
}

@media (min-width: 992px) and (max-width: 1200px) {

#home .home_banner h2 {
    font-size: 80px;
}
}

/*##################################################################*/
/* Smartphone - portrait ###########################################*/
/*##################################################################*/

@media (max-width: 479px) {
	.subtitle{ width:100%;}
    .tlt {
        letter-spacing: 0px;
        font-size: 25px;
        line-height:30px;
    }
    
    h2 {
        font-size: 35px;
        line-height:52px;
    }
    
    h3 {
        font-size: 25px;
        line-height:37px;
    }
    
    blockquote p {
        font-size: 17px;
        line-height:29px;
    }
	#about blockquote p {
	font-size:26px;
		line-height:1;

	}
    
    #home {
        height:400px;
        background-position:center;
        background-repeat:no-repeat;
        background-size:  480px 400px;         
    }
    
    #home blockquote {
        margin-top:115px;
    }
    
    #clients {
        height:450  px;
    }
    
    #clients .client_logo {
        border-width:2px;
    }
    .md-content {
    padding-top:10px;     
    }    
    .md-content h3, .md-content p{
    margin-bottom:10px;
    margin-top:10px;
    width:90%;    
    }
    
    .flex-direction-nav li .next {right: 20px}
    .flex-direction-nav li .prev {left: 20px}
    
    .contact_details p{
    margin-top:20px;
    margin-bottom: 50px;
    }
    .social_icons {
    margin-top:25px;
    }
}



/*##################################################################*/
/* Retina - desktop + tablet #######################################*/
/*##################################################################*/

@media all and (-webkit-min-device-pixel-ratio: 2), all and (-moz-min-device-pixel-ratio: 1.5), all and (min-device-pixel-ratio: 2), all and (-o-min-device-pixel-ratio: 2/1) {
    #home {    
        background-position:center;
        background-repeat:no-repeat;
    }
    
    #clients {
        background-position:top;
        background-repeat:no-repeat;
    }
    

      
}


/*##################################################################*/
/* Retina - smartphone #############################################*/
/*##################################################################*/

@media (max-width: 479px) and (-webkit-min-device-pixel-ratio: 2), all and (-moz-min-device-pixel-ratio: 1.5), all and (min-device-pixel-ratio: 2), all and (-o-min-device-pixel-ratio: 2/1) {
  #home {    
    background-position:center;
  }
}