

/*-- Media query
---------------------------------------------*/

/*-- for devices up to 1200px wide --*/
@media(max-width: 1200px){
	#order h2{
		font-size: 40px;
	}
	#order h2 span{
		font-size: 20px;
	}
	#about .text p{
		margin-top: 0px;
	}
}


/*-- for devices up to 991px wide --*/
@media(max-width: 991px){
	.custom_nav .nav li{
		margin: 0 8px;
	}
	.custom_nav .nav li a{
		font-size: 13px;
		padding: 0 3px;
	}
	.custom_nav .nav li:not(:last-child)::after{
		top: 37px;
		right: -10px;
	}
	.custom_nav .nav li .btn-primary{
		width: 130px;
		padding: 5px 10px;
		margin-top: 20px;
	}
	#banner{
		height:450px;
	}
	#banner .banner_content{
		padding: 20px;
	}
	#banner h1{
		font-size: 40px;
		margin: 0 0 10px;
	}
	#banner h2{
		font-size: 16px;
		margin-bottom: 20px;
		padding: 0;
		letter-spacing: 5px;
	}
	#banner .btn{
		font-size: 12px;
		padding: 5px 20px;
	}
	#portfolio .content h4{
		font-size: 10px;
	}
	#portfolio .content h4 span{
		font-size: 13px;
	}
	#order h2{
		font-size: 36px;
	}
	#order h2 span{
		font-size: 18px;
	}
	#blog .grid-item{
		width: 100%;
	}
	#experts .col-sm-4{
		padding: 0 15px;
	}
	.info h4{
		font-size: 13px;
	}
	.info h3{
		font-size: 16px;
	}
	.contact_info h3{
		font-size: 16px;
	}
	.contact_info h4{
		font-size: 14px;
	}
}


/*-- for devices up to 767px wide --*/
@media(max-width:767px){
	.section_title{
		font-size: 30px;
	}
	.section_title span{
		font-size: 18px;
	}
	.custom_nav{
		background: #363636;
		padding: 0;
	}
	.custom_nav .nav li a{
		line-height: 40px; 
		color: #999999;
		opacity: 1!important;
		padding-left: 15px;
		-webkit-transition: all .3s;
		-moz-transition: all .3s;
		-ms-transition: all .3s;
		transition: all .3s;
	}
	.custom_nav .nav li:not(:last-child)::after{
		display: none;
	}
	.custom_nav ul li:not(:last-child) a::after{
		display: none;
	}
	.custom_nav .nav li:not(:last-child) a:hover{
		color: #cccccc;
		padding-left: 25px;
	}
	#navbar{
		background: #252525;
		border: none!important;
		box-shadow: none!important;
	}
	.custom_dropdown li a{
		color: #999999!important;
		border: none!important;
		padding-left: 30px!important;
	}
	.custom_dropdown li a:hover{
		color: #cccccc!important;
		background-color: transparent!important;
		padding-left: 35px!important;
	}
	.custom_nav .nav .btn-primary{
		margin: 10px auto 20px!important;
		border: none!important;
	}
	#navbar .navbar-nav .open .dropdown-menu  li  a{
		padding: 0;
		padding-left: 50px;
		line-height: 30px!important;
	}
	#navbar .navbar-nav .open .dropdown-menu  li  a:hover{
		padding-left: 60px;
	}
	.caret{
		float: right;
		margin-top: 18px;
	}
	#banner{
		height: 300px;
		margin-top: 80px;
		background-attachment: scroll;
		padding: 0!important;
	}
	#banner .banner_content{
		padding: 10px;
	}
	#banner .banner_content::before{
		width: calc(100% + 20px);
		height: calc(100% + 20px);
	}
	#banner h1{
		font-size: 26px;
		line-height: 1;
		margin: 5px 0;
	}
	#banner h2{
		font-size: 16px;
		letter-spacing: 2px;
		margin: 0 0 5px;
	}
	#banner .btn{
		font-size: 10px;
		padding: 0px 20px;
	}
	#banner .carousel-control{
		display: none;
	}
	#banner .carousel-indicators{
		bottom: 0;
	}
	.banner.video_bg video{
		padding-top: 80px;
	}
	.banner.video_bg h1{
		font-size: 16px;
		font-weight: 300;
		letter-spacing: 2px;
		padding-top: 50px;
	}
	.banner.video_bg h1 span{
		font-size: 36px;
		font-weight: 700;
		margin-bottom: 10px;
	}
	#web_design a{
		margin-left: 0;
	}
	#web_design img{
		margin: 0 0 20px;
		float: none;
		text-align: center;
		display: inline-block;
	}
	#web_design span{
		margin-left: 0!important;
	}
	#portfolio .button-group .button{
		margin: 0;
		padding: 8px 10px;
	}
	#portfolio .grid-item{
		width: 50%;
	}
	#portfolio .portfolio img,
	#blog .portfolio img{
		width: 100%;
		height: auto;
	}
	#portfolio .content h4{
		font-size: 14px;
	}
	#portfolio .content h4 span{
		font-size: 20px;
	}
	#experts .info{
		-webkit-transform: translateY(-60px);
		-moz-transform: translateY(-60px);
		-ms-transform: translateY(-60px);
		transform: translateY(-60px);
	}
	#experts h4{
		margin-bottom: 5px;
	}
	.office_info{
		top: 10px;
		right: 10px;
		padding: 15px;
	}
	.office_info h4{
		font-size: 12px;
		line-height: 20px;
	}
	.office_info p{
		font-size: 10px;
		line-height: 1;
		margin-bottom: 5px;
	}
	#order h2{
		font-size: 24px;
	}
	#order h2 span{
		font-size: 16px;
	}
	#about_us .content{
		float: none;
	}
	.footer_top{
		padding: 50px 0;
	}
	.footer_bottom{
		padding: 20px 0;
	}
	.footer_bottom .list-inline{
		margin: 10px 0;
	}
	.footer_bottom p,
	.footer_bottom ul{
		width: 100%;
		float: left;
		line-height: 30px;
	}

}


/*-- for devices up to 450px wide --*/
@media screen and (max-width: 450px) {
	#experts .col-sm-4,
	#portfolio .grid-item,
	#portfolio .grid-item-width2{
		width: 100%;
	}
}



/*--------------END OF MEDIA QUERY-----------------
-------------------------------------------------*/

