/* Media Queries
-------------------------------------------------------------- */
@media only screen and (max-width: 1366px) {
	
}

/* Smaller than standard 1200 */
@media only screen and (max-width: 1199px) {

	.wrap-header-content,.long_content .themesflat-top .content-left,.long_content .themesflat-top .content-right {
		float:none;
		margin: auto;
	}

	.long_content .themesflat-top {
		text-align: center;
	}

	.header-style3  .wrap-header-content {
		margin-right: 0;
	}

	.header-style3 .nav-wrap {
		order: 3;
		width: 100%;
		text-align: center;
	}

	.header.header-style4 .logo > a {
	    position: static;
	    transform: translate(0);
	}

	.header-style4 .wrap-header-content {
		float: left;
	}
	
	.nav.header-style4 {
	    display: flex;
	    flex-wrap: wrap;
	}

	.nav.header-style4 .themesflat-socials,.nav.header-style4 .show-search {
		margin-left: auto;
	}

	.nav.header-style4 .show-search {
		order: 3;
	}
}

/* Smaller than standard 992 */
@media only screen and (max-width: 991px) {
		
	[class*='mpl'] {
		padding-left:0 !important;
	}

	.btn-menu {
		display: block ;
	}	

	#mainnav,.header-sticky .wrap-header-content,
	.wrap-header-content  {
		display: none;
	}

	.page-template-front-page .header.widget-header.header-style3,
	.wrap-header-content {
		padding: 0 0;
	}

	.wrap-header-style3 .btn-menu {
		top: 10px;
	}

	.page-template-front-page .wrap-header-style3 {
		bottom: 0;
	}

	.page-template-front-page .flat_header_wrap.header-style4 {
		position: relative;
		top: 0;
	}

	.themesflat-top .content-left,.themesflat-top .content-right,
	.tb_needhelp1 .mpl-44 > * {
		display: inline-block;
		vertical-align: top;
	}

	.portfolio-filter,.themesflat-top .content-left,.themesflat-top .content-right,
	.themesflat-top,.themesflat-top .container-inside,
	.themesflat-top .info-top-right {
		text-align: center;
		vertical-align: top;
	}

	.themesflat-top .themesflat-socials, .themesflat-top .content-left,.themesflat-top .content-right,
	.themesflat-top .info-top-right {
		float: none;
	}


	.themesflat-top .col-md-6.text-right {		
		padding-top: 20px;
	}

	.imagebox,.themesflat_imagebox.style2 .imagebox-desc,
	.footer-widgets .widget {
		margin-bottom: 30px;
	}

	.custom-info div,
	.themesflat-list {
		margin-bottom: 15px !important;
	}

	.iconbox.iconbox-style1,
	.iconbox.iconbox-style2,
	.iconbox.style-3 {
		margin-bottom: 40px;
	}

	.iconbox.iconbox-style1 + .vc_empty_space,
	.iconbox.iconbox-style2 + .vc_empty_space,
	.iconbox.style-3 + .vc_empty_space  {
		height: 0 !important;
	}

	.imagebox img,
	.page-wrap.sidebar-right .content-area,
	.page-wrap.sidebar-right .widget-area,
	.page-wrap.sidebar-left .widget-area,
	.page-wrap.sidebar-left .content-area,
	.flexslider .slides img,
	.page-wrap.sidebar-left .single-page .widget-area, 
	.page-wrap.sidebar-right .single-page .widget-area,
	.page-wrap.sidebar-left .single-page .content-area, 
	.page-wrap.sidebar-right .single-page .content-area {
		width: 100%;
	}

	.header-style3 .nav-wrap {
		width: auto;
	}

	.testimonial_custom2 {
		margin-left: 0;
	}

	.call-back-form,
	.page-wrap.sidebar-left .content-area {
		padding-left: 0 !important;
	}

	.header-style2 .logo {
		padding-top: 0px;
	}

	.call-back-form,
	.page-wrap.sidebar-right .content-area,
	.page-wrap.sidebar-left .single-page .content-area, 
	.page-wrap.sidebar-right .single-page .content-area  {
		padding-right: 0 !important;
	}

	.themesflat-your-contact .contact-thumb {
		max-width: 100%;
	}

	.portfolio-filter li {
		padding: 0 10px;
	}

	.themesflat-portfolio .item,
	.themesflat-portfolio .one-four .item,
	.blog-grid.blog-four-columns article {
		width: 50%;
	}

	#wpcf7-f328-p498-o1,
	.show-search a,.nav.header-style2 .show-search a {
		margin-top: 30px;
	}

	.nav.header-style2 .themesflat-socials {
		margin-top: 36px;
	}

	.comments-area ul.children {
		margin-left: 50px;
	}

	/* Header style 2*/
	.header-style2 .logo a {
		position: static;
		margin: 30px 0;
		transform: translate(0);
		-moz-transform: translate(0);
		-webkit-transform: translate(0);
		-ms-transform: translate(0);

	}

	/* Home layout 02 */
	.themesflat-single-images {
		position: relative;
		left: 0;
		top: auto;
		bottom: -89px;
	}

	.themesflat_counter {
		text-align: center;
		margin-bottom: 40px;
	}

	.wrap-header-style3 {
		background-color: transparent !important;
	}

	.vc_custom_1488938620772 .vc_empty_space {
		height: 40px !important;
	}

	.blog-shortcode.blog-list article .featured-post {
		max-width: 100%;
		float: none;
		margin-right: 0;
		margin-bottom: 15px;
	}

	.themesflat-top .info-top-right,
	.nav.header-style4  {
		padding-left: 0;
	}

	.nav.header-style4 {
		padding-right: 15px;
	}

	.header.widget-header {
		padding: 0 0 0;
	}


	.themesflat-team.team-grid {
		margin-bottom: 30px;
	}

	.themesflat-team.team-grid {
		text-align: center;
	}

	.header-style4 .btn-menu,
	.nav.header-style2 .themesflat-socials,
	.nav.header-style4 .themesflat-socials,
	.header-style2 .btn-menu {
		margin-top: 20px ;
		margin-bottom: 20px ;
	}

	.font_normal_mobile {
		font-size: 30px!important;
		line-height: 40px!important;
	}

	.footer {
		padding-bottom: 30px!important;
	}
}

/* Tablet Landscape */
 @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

}

/* Tablet Portrait Size */
@media only screen and (min-width: 768px) and (max-width: 991px) {
	
}

/* All Mobile Sizes */
@media only screen and (max-width: 767px) {	
	.content-area.blog-list-small .featured-post {
		float: none;
		margin-right: 0;
	}
	.themesflat-top .col-md-6.text-right{
		padding-top: 5px;
	
	}  

	.info-top-right a.appoinment {
		margin: 0 5px;
	}

	.themesflat-one-half,.comment-respond p.comment-form-author,
	.comment-respond p.comment-form-email, .comment-respond p.comment-form-url,
	.themesflat-portfolio-single-slider li img,
	.blog-grid.blog-two-columns article,
	.blog-grid.blog-three-columns article {
		width: 100%;
	}

	.footer-widgets .widget.widget_nav_menu,.portfolio-single .content-portfolio-detail,
	.contactform3_container {
		padding-left: 0!important;
	}

	#menu-bottom li a {
		padding-left: 0;
		padding-right: 20px;
	}
	
	.author-post .info {
		padding: 15px;
	}

	.themesflat-portfolio-single-slider {
		margin-top: 30px;
	}

	article .wrap-entry-title,
	.comments-area ol.comment-list article .comment_content .comment_text {
		overflow: visible;
	}

	.comments-area ul.children {
		margin-left: 30px;
	}

	.wrap-widget-header {
		display: none;
	}

	.themesflat-portfolio .one-five .item {
		width: 33.3333%;
	}

	.comment-respond {
		padding: 30px;
	}

}

/* Mobile Landscape Size */
@media only screen and (min-width: 600px) and (max-width: 767px) {
	
}

/* Mobile Portrait Size */
@media only screen and (max-width: 599px) {

	.font_normal_mobile {
		font-size: 30px!important;
		line-height: 40px!important;
	}
	
	.themesflat-portfolio .one-four .item,
	.themesflat-portfolio .one-half .item,
	.imagebox.style2 .box-image,
	.themesflat-team .team-image img,
	.blog-grid.blog-four-columns article,
	.themesflat-portfolio .item,.themesflat-portfolio .grid-no-padding .item,
	.portfolio-detail.full_content .magic50, 
	.grid.one-half .item,
	.blog-shortcode.blog-list article {
		width: 100%;
		max-width: 100%;
	}

	.portfolio-filter li a {
		line-height: 45px;
	}

	article .entry-title {
		font-size: 18px;
	}

	.author-post .info {
		overflow: visible;
	}

	.author-post .author-avatar {
		margin-right: 10px;
		max-width: auto;
	}

	.comments-area ul.children {
		margin-left: 15px;
	}

	.themesflat-top .custom-info ul li:after,
	.nav-widget ,
	.themesflat-top .info-top-right:before {
		display: none;
	}

	.imagebox .box-header .box-title,
	.page-template-tpl .vc_toggle_title > h4 {
		font-size: 13px;
	}

	.imagebox .box-header,.themesflat_counter .themesflat_counter-prefix,.themesflat_counter .themesflat_counter-surfix {
		left: 0;
		bottom: 0;
		right: 0;
	}

	blockquote {
		padding: 0 0;
	}

	#text-5 {
		margin-bottom: 0;
	}

	article .entry-meta ul li {	   
	    margin-right: 9px;
	}

	.tp-caption.content-slide {
		color: rgba(34,34,34,1.00)!important;
	}

	#slide-24-layer-2 {
		color: #fff !important;
	}

	.themesflat-team.team-grid {
		margin-bottom: 30px;
	}

	.imagebox.style2 .box-image,
	.themesflat-before-footer .custom-info > div,
	.wrap-header-content ul li {
		margin-right: 0;
	}

	.page-template-front-page .wrap-header-style3 {
		padding: 0 15px;
	}

	.portfolio-detail.full_content .magic50:nth-of-type(even),
	.vc_separator.history_title,.header #logo {
		padding-left: 0!important;
	}

	.portfolio-detail.full_content li.magic50:nth-of-type(even),
	.header.header-style3 .wrap-header-content {
		padding-left: 15px;
	}

	.portfolio-detail.full_content li.magic50:nth-of-type(even):before {
		left: 0;
	}

	.themesflat-team .team-image,
	.blog-list-small .featured-post, 
	.themesflat-team.list .team-image,
	.testimonial-slider.style-2 .testimonial-image,
	.themesflat_imagebox.style2 .imagebox-image,
	.themesflat-contact-form3 .wpcf7-form-control-wrap {
		float: none;
		width: 100%!important;
		max-width: 100%;
		margin-right: 0;
		margin-bottom: 15px;
	}

	.testimonial-slide.style-2 {
		padding: 0 15px 0 15px !important;
	}

	.themesflat_counter .themesflat_counter-content-left {
		text-align: center;
	}

	.contactform_style4,.wpcf7-form .custom_form {
		padding: 20px;
	}

	.themesflat_header_wrap.header-style5 {
		position: relative;
	}

	.themesflat_header_wrap .header.header-style5:not(.header-sticky) .nav.header-style5 {
		background: transparent;
		top: 50%;
		right: 0;
		transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		-moz-transform: translateY(-50%);
		position: absolute;
	}


}

@media (max-width: 360px) {	
	.home8_custom1 .vc_col-sm-6 {
		width: 100%;
	}

	.home8_btn1 .themesflat-button {
		font-size: 13px;
	}
	
}