/*
Author: Bootstrapthemes
Author URI: http://www.xpeedstudio.com
*/

/* Portrait tablets and medium desktops */

@media (min-width: 991px) and (max-width: 1199px) {
	body {
		font-size: 1rem;
	}

}
/* Portrait tablets and small desktops */

@media (max-width: 991px) {

	.sm-text-center {
		text-align: center !important;
	}
	.sm-pull-none {
		float: none !important;
	}
	.sm-m-top-10 {
		margin-top: 10px;
	}
	.sm-m-top-20 {
		margin-top: 20px;
	}
	.sm-m-top-30 {
		margin-top: 30px;
	}
	.sm-m-top-50 {
		margin-top: 50px;
	}
	.navbar {
		padding: 1.4rem 1rem 1.4rem;
	}

}

/* Landscape phones and portrait tablets */

@media (max-width: 768px) {
	.navbar .navbar-header{
		width: auto;
	}
	.main_footer{
        padding-top: 32px;
        padding-bottom: 34px;
	}
    .main_footer h2{
        padding-left: 30px;
        margin-bottom: 16px;
    }
	.main_footer .link_box{
		text-align: left;
		padding: 0 0 0 15px;
	}
    .main_footer .footer_box{
        text-align: left !important;
    }
    .main_footer .footer_box a:after{
        content: none;
    }
    .main_footer .footer_box .address:after{
        content: none;
    }
    .main_footer .footer_box .num{
        margin-bottom: 10px !important;
    }
    .main_footer .footer_box .copy{
        display: block;
    }
    .main_footer .footer_box .address{
        display: block;
        margin-bottom: 10px !important;
    }
	.roomy-100{
		padding: 60px 0 !important;
	}
	.roomy-120{
		padding: 60px 0 !important;
	}
	.pricing .head_title{
		padding-bottom: 0;
	}
	.about .head_title{
		padding-bottom: 0;
	}
	.separator_auto{
		margin: 30px auto;
	}
	/*nav.navbar.bootsnav.navbar-fixed{*/
		/*height: 60px;*/
		/*line-height: 60px;*/
		/*padding: 1rem 18px !important;*/
	/*}*/
	h2 {
		font-size: 2rem;
	}
	p {
		font-size: 90%;
		line-height: 1.5rem;
	}
	.sm-m-top-30{
		margin-top: 0;
	}
	#video_section{
		display: none;
	}
	.main_service .head_title{
		padding-bottom: 0;
	}
	.xs-pull-none {
		float: none !important;
	}
	.xs-text-center {
		text-align: center !important;
	}
	.xs-m-top-10 {
		margin-top: 10px;
	}
	.xs-m-bottom-10 {
		margin-bottom: 10px;
	}
	.xs-m-bottom-20 {
		margin-bottom: 20px;
	}
	.main_testimonial .testimonial_slid .slick-arrow.nextprevright {
		top: -150px;
	}
	.home{
		width: 100%;
		height: 480px;
	}
	.home .container{
		position: initial;
		height: 0;
	}
	.main_home{
		width: 100%;
		position: absolute;
		top: 50%;
		left: 50%;
		margin-top: 40px;
		transform: translate(-50%, -50%);
		text-align: center;
	}
	.main_home .home_text h1{
		margin-bottom: 16px;
		font-size: 46px;
	}
	.main_home .home_btns{
		margin-top: 50px;
	}
	.service_item {
		text-align: center;
		padding-left: 25px;
		padding-right: 25px;
		padding-bottom: 60px;
	}
	.service_item h6{
		margin-top: 20px;
		font-size: 26px;
	}
	/*.subscribe_btns button.btn,*/
	/*.home_btns a,*/
	/*.impress_btns a,*/
	/*.portfolio_hover_icon a {*/
		/*margin-left: 30px;*/
	/*}*/
	.home_text .main_sub_text{
		font-size: 23px;
	}
	.separator_small{
		margin: 20px auto;
	}
	.separator_left{
		margin: 20px auto;
	}
	.skill.roomy-50{
		padding: 0!important;
	}
	.skill .main_skill {
		padding: 60px 0;
		text-align: center;
	}
	.skill .main_skill .thumb{
		display: inline-block;
		margin-top: 50px;
	}
	.skill_content .thumb01{
		width: 90%;
	}
	.skill_content .thumb02{
		width: 100%;
	}
	.skill_content .thumb03{
		width: 100%;
	}
	.main_skill .skill_content h2{
		font-size: 32px;
	}
	.main_skill .skill_content .sub_text{
		font-size: 16px;
	}
	.main_skill .skill_content .desc{
		font-size: 16px;
		line-height: 24px;
	}
	.main_contact .rage_widget{
		text-align: center;
	}
	.head_title h2{
		font-size: 28px;
		font-weight: 400;
	}
	.head_title p{
		margin-top: 12px;
		margin-bottom: 0;
		font-size: 18px;
		line-height: 26px;
	}

	.pricing_item{
		margin-bottom: 30px;
	}
	.pricing_price_border .pricing_price h3{
		font-size: 21px;
	}
	.pricing_body{
		min-height: 550px;
	}
	.pricing_body .pricing_btn a{
		font-size: 14px;
	}
	.subscribe{
		background: url(../images/background/subscribe_mobile.png) no-repeat center center;
		background-size: cover;
	}
	.main_subscribe h2 {
		font-size: 33px;
		font-weight: 500;
	}
	.main_subscribe p{
		font-size: 19px;
	}
	.main_subscribe .subscribe_btns .form-control #inputEmail2{
		font-size: 13px;
	}
    .main_subscribe .main_subscribe_box{
        flex: 0 0 100%;
         max-width: 100%;
        margin: 0 !important;
    }
    .main_subscribe .subscribe_btns .form-control{
        width: 100%;
    }
    .main_subscribe .subscribe_btns button.btn{
        display: block;
        margin: 0 auto;
    }
	.main_contact .rage_widget h3{
		font-size: 33px;
		font-weight: 500;
	}
	.main_contact .rage_widget p{
		font-size: 19px;
	}
	.main_contact .form-group .form-control{
		font-size: 13px;
	}
	#main_video{
		display: none;
	}
	.fadeImg{
		display: block;
		height: 480px;
	}
	.fadeImg .fade00{
		display: block;
		height: 480px;
	}
	.faq_main_content h6 a{
		height: 60px;
		font-size: 16px;
	}
	.faq_main_content h6 a i{
		width: 60px;
		height: 60px;
		line-height: 60px;
	}
	.faq_main_content h6.open a i{
		width: 60px;
		height: 60px;
		line-height: 60px;
	}
    .main_video.roomy-100{
        padding: 44px 0 !important;
    }
    .main_video .video_text .video-link img{
        width: 262px;
    }
}


/* Landscape phones and smaller */

@media (max-width: 479px) {
	html {
		font-size: 85%;
	}
	h2{
		font-size: 1.7rem;
	}
	.testimonial_slid .slick-arrow {
		display: none;
	}

	.footer_box {
		display: none;
	}

	.m_footer_box {
		display: block;
	}

	.m_footer_box div {
		float: none !important;
		margin-top: 0 !important;
		margin-left: 7px;
		padding: 0 !important;
		width: 100% !important;
	}

	.m_footer_box div > a {
		line-height: 1.4 !important;
	}

	.main_footer .m_footer_box p {
		position: unset;
	}

}

@media (max-width: 400px) {}

@media (max-width: 320px) {
	html {
		font-size: 60.5%;
	}
	.btn.btnxs {
		padding: 2.01rem 1.5rem;
	}

}
