/*##################################################################*/
/* Tablet - portrait ###############################################*/
/*##################################################################*/


body,td,div,span,a,li,p,b,h1,h2,h3,h4,h5,h6,#navigation a   {   font-family: 'Oswald', sans-serif !important;}

#about-bg .row h3	{ line-height:34px; margin:20px 0px;}

	
@media (min-width:480px) and (max-width: 767px) {
	
	#about-bg	
	{
		background:url(../images/about-768.png) no-repeat center;
		min-height:600px;
		padding:0px 14%;
		background-position:center 25px;
	}
	
	#about-bg .row1 h3 { margin-right:-5%; text-align:right;}
	#about-bg .row2 { margin:40px 0px;}
	#about-bg .row3 { margin-top:195px; }
	#about-bg .row3 h3 { text-align:left; }
	
	
    .tlt {
        letter-spacing: 2px;
        font-size: 48px;
        line-height:50px;
    }
    blockquote p {
        font-size: 19px;
        line-height:29px;
    }
	
	.col-sm-4	{	width:68%; float:none; margin:0px auto;}
	
  
}

@media (min-width:768px) and (max-width: 992px) {

    #about-bg	
	{
		background:url(../images/about-768.png) no-repeat center;
		min-height:600px;
		padding:0px 14%;
		background-position:center 25px;
	}
	
	#about-bg .row1 h3 { margin-right:-5%; text-align:right;}
	#about-bg .row2 { margin:40px 0px;}
	#about-bg .row3 { margin-top:195px; }
	#about-bg .row3 h3 { text-align:left; }
	
    .service_box p {
        width:220px;
        margin: 0 auto;    
    }
    
    #service_boxes ul {
        width:220px;

    }
    
    .animbox {
        width: 220px;
    }
	
	.col-sm-4	{	width:80%; float:none; margin:0px auto;}
    
}


/*##################################################################*/
/* Smartphone - portrait ###########################################*/
/*##################################################################*/

@media (max-width: 479px) 
{
	
	#about-bg	
	{
		background:url(../images/about-480.png) no-repeat center;
		min-height:600px;
		padding:0px 14%;
		background-position:center 25px;
	}
	
	#about-bg .row1 h3 { margin-right:-5%; text-align:right;}
	#about-bg .row2 { margin:40px 0px;}
	#about-bg .row3 { margin-top:195px; }
	#about-bg .row3 h3 { text-align:left; }
    .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;
    }
    
    #home {
        height:500px;
        background-color: #FFCC00;
        background-image: url(../images/home-bg_mobile.jpg);
        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;
    }
	.col-sm-4	{	width:80%; float:none; margin:0px auto;}
}



/*##################################################################*/
/* 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: url(../images/home-bg@2x.jpg);
        background-size: 2500px 574px;
        background-position:center;
        background-repeat:no-repeat;
    }
    
    #clients {
        background: url(../images/clients_bg@2x.jpg);
        background-size: 1000px 500px;
        background-position:top;
        background-repeat:no-repeat;
    }
    

      
}

/*##################################################################*/
/* 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: url(../images/home-bg@2x.jpg);
        background-size: 3440px 1440px;
        background-position:center;
        background-repeat:no-repeat;
    }
    
    #clients {
        background: url(../images/clients_bg@2x.jpg);
        background-size: 1000px 500px;
        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: url(../images/home-bg_mobile@2x.jpg);
    background-size: 480px 400px;
    background-position:center;
  }
}

@media (min-width: 993px) 
{
	#about-bg	
	{
		background:url(../images/about-992.png) no-repeat center;
		min-height:625px;
		padding:0px 15%;
		background-position:center top;
	}
	#about-bg .row1 h3 { margin-right:-6%; margin-left:5%; text-align:right;}
	#about-bg .row2 { margin:40px 5% 0px -5%; }
	#about-bg .row3 { margin-top:195px; }
	#about-bg .row2 h3 { text-align:left; }
}


@media (max-width: 993px) {

	
	.about			{	text-align:center;}
	#about h2		{ text-align:center;}
	#about_columns	{	margin-top:40px;}
	
	#about .a-bottom{	width:100%; margin-bottom:20px;}

	.about-left		{  float:none; margin:0px auto 0px auto; padding:0px; width:360px; padding-top:100px; height:300px;  text-align:center; background:none; }
	.about-right	{  float:none;  margin:0px auto 0px auto; padding:0px; width:416px; height:416px; background:url(../../images/about-sema.png) center no-repeat; text-align:center;}
	.about-left	h3	{ font-size:20px; text-transform:none; line-height:26px; text-align:right; text-align:center;}
	.about-left	p	{ font-size:14px; text-transform:none; line-height:20px; text-align:right; text-align:center;}
	
  
}