@media screen and (max-width: 1224px){
	.header .logo{
		margin-right: 20px;
	}
	.header .nav ul li a{
		padding: 0 5px;
	}

	.about .txt{
		margin-top: 0;
	}

	.subscribe .subscribe-txt p{
		font-size: 17px;
		margin-top: 5px;
	}

	.team .team-slider{
		padding: 0 100px;
	}

	.gallery .gallery-items img:nth-child(4){
		left: 170px;
	}
}

@media screen and (max-width: 1199px){
	.header .nav ul li a{
		font-size: 11px;
	}
	.gallery .gallery-items img:nth-child(1){
		top: 73px;
		left: 66px;
		opacity: 1;
	}
	.gallery .gallery-items img:nth-child(2){
		top: 48px;
		left: 542px;
	}
	.gallery .gallery-items img:nth-child(3){
		display: none;
	}
	.gallery .gallery-items img:nth-child(4){
		bottom: -33px;
		left: 172px;
	}
	.gallery .gallery-items img:nth-child(5){
		display: none;
	}

}

@media screen and (max-width: 991px){
	.header .nav{
		float: none;
		position: relative;
	}
	.header .nav ul{
		display: none;
		position: absolute;
		width: 100%;
		background: rgba(0, 0, 0, 0.8);
		
		animation-name: fadeInUp;
    	animation-duration: 0.2s;
    	animation-fill-mode: both;
    	top: 70px;
	}
	.header .nav ul.active{
		display: block;
	}
	.header .nav ul li{
		display: block;
		text-align: center;
		border-bottom: 1px solid #fff;
		margin: 0;
	}
	.header .nav ul li a{
		/*line-height: 45px;*/
		line-height: 10vh;
		border: none;
		display: block;
	}
	.header .nav ul li a:hover,
	.header .nav ul li a:focus{
		border: none;
	}
	.header .nav .mobile-menu{
		display: block;
	}

	.header .nav ul li .sub-menu{
		position: relative;
		padding: 0;
		top: 0;
		max-height: 0;
		opacity: 0;
		z-index: -1;
		padding: 0;

		border: none;
		max-width: 100%;
		width: 100%;
		left: 0;

		transition: all 0.3s ease 0s;

		-webkit-animation-duration: 0s;
		animation-duration: 0s;
	}

	.header .nav ul li .sub-menu li{
		display: none;
		border-bottom: none;
		margin: 0;
		-webkit-animation-duration: .25s;
		animation-duration: .25s;
		-webkit-animation-fill-mode: both;
		animation-fill-mode: both;
		-webkit-animation-name: fadeIn;
		animation-name: fadeIn;
	}
	.header .nav ul li .sub-menu.act{
		max-height: 500px;
		opacity: 1;
		z-index: 400;
		padding: 10px 0;
	}
	.header .nav ul li .sub-menu.act li{
		display: block;
	}
	.header .nav ul li.menu-item-has-children:after{
		display: none;
	}
	.header .nav ul li.menu-item-has-children .plus{
		display: block;
		position: absolute;
		top: 6px;
		right: 20px;
		font-size: 20px;
		color: #fff;

		transition: all 0.3s ease 0s;
	}
	.header .nav ul li .sub-menu li a{
		line-height: 30px;
	}
	.header .nav ul li.menu-item-has-children .plus.act{
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	.main-slider .main-slider-carousel .main-slider-item{
		height: auto;
		padding-top: 5vh;
	}

	.about{
		text-align: center;
	}
	.about .img{
		margin-top: 50px;
		display: inline-block;
	}
	.about .img:after{
		right: -15px;
	}
	
	.services .title p.h2{
		font-size: 38px;
	}
	.services .secvices-cont .secvices-cont-item{
		width: 33.3333333%;
	}

	.subscribe .subscribe-txt{
		float: none;
		width: 100%;
	}
	.subscribe .subscribe-txt p{
		text-align: center;
	}
	.subscribe .subscribe-form{
		float: none;
		width: 100%;
		text-align: center;
		margin-top: 20px;
	}
	
	.gallery{
		padding: 40px 0 0;
	}
	.gallery .gallery-items{
		text-align: center;
		height: auto;
	}
	.gallery .gallery-items img{
		position: relative;
		margin: 20px;
		display: inline-block !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		max-width: 42%;
	}
	.gallery .gallery-items img:nth-child(1){
		margin-top: 105px;
	}
	.gallery .gallery-items img:nth-child(3){
		margin-top: -45px;
	}

	.team p.h2{
		font-size: 37px;
	}
	.team .team-slider{
		padding: 0;
	}
	.team .team-slider .team-slider-item .team-slider-item-info .title{
		margin: 0 0 15px 0;
	}

	.instagram .instagram-pics li{
		width: 33.33333%;
	}
	.instagram .instagram-pics li:last-of-type{
		display: none;
	}

	.footer .footer-form{
		margin-bottom: 40px;
	}
	
	.page-list-ext.bloglist  .page-list-ext-item {
	max-width: 45%;}

}

@media screen and (max-width: 766px){
	.main-slider .main-slider-carousel .main-slider-item{
		background-position: 78% 50%;
		min-height: 520px;
	}
	.main-slider .main-slider-content{
		top: 100px;
	}
	.main-slider .main-slider-content p.h1{
		font-size: 45px;
		line-height: 50px;
	}
	.main-slider .main-slider-content p{
		font-size: 24px;
	}

	.about{
		padding: 50px 0;
	}
	.about .txt p.h2{
		font-size: 35px;
	}
	.about .txt .txt2 p{
		font-size: 20px;
		line-height: 30px;
	}

	.services .title p.h2{
		font-size: 34px;
	}
	.services .secvices-cont .secvices-cont-item{
		width: 50%;
	}
	
	.reviews{
		padding: 50px 0;
	}
	.reviews p.h2{
		font-size: 38px;
		line-height: 48px;
	}

	.gallery p.h2{
		font-size: 32px;
	}
	
	.team p.h2{
		font-size: 32px;
	}
	.team .team-slider .team-slider-item .team-slider-item-img img{
		-webkit-filter: grayscale(0%);
	    filter: grayscale(0%);
	    transform: scale(1);
	    transition: all ease 0.4s;
	}
	.team .team-slider .team-slider-item .team-slider-item-txt{
		display: block;
	}

	.team .team-slider .team-slider-item{
		width: 230px;
		display: block;
		margin: 0 auto;
	}
		.team .team-slider .team-slider-item:hover .team-slider-item-info{
		display: block;
	}

}

@media screen and (max-width: 665px){
	.main-slider .main-slider-carousel .main-slider-item{
		background-position: 76% 50%;
	}

	.instagram{
		padding: 25px 0;
	}
}

@media screen and (max-width: 580px){
	.main-slider .main-slider-carousel .main-slider-item{
		background-position: 74% 50%;
	}
	.main-slider .main-slider-content .switch-address .switch-phones{
		display: block;
		margin-top: 15px;
	}
	.main-slider .main-slider-content .switch-address select{
		background-color: #000;
		border: 1px solid #fff;
	}

	.main-slider .main-slider-carousel .main-slider-item p{
		width: 100%;
	}

	.about .txt .txt2 p {
    	/*font-size: 17px;
    	line-height: 25px;*/
	}
	
	.home-carousel .owl-prev,
	.home-carousel .owl-next{
		position: relative;
		display: inline-block;
		top: auto;
		left: auto;
		right: auto;
	}
	.reviews .reviews-slider .reviews-slider-item{
		padding: 0;
	}

	.gallery .gallery-items img{
		position: relative;
		margin: 20px;
		display: inline-block !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		max-width: 92%;
	}
	.gallery .gallery-items img:nth-child(1){
		margin-top: 20px;
	}
	.gallery .gallery-items img:nth-child(3){
		margin-top: 20px;
	}

	.team{
		padding: 50px 0;
	}

	.instagram .instagram-pics li{
		width: 50%;
	}
	.instagram .instagram-pics li:last-of-type{
		display: inline-block;
	}

	.footer .footer-form .col{
		width: 100%;
		float: none !important;
	}

	.scrollup-bttn{
		width: 50px;
		height: 50px;
		bottom: 15px;
    	right: 15px;
	}
	.scrollup-bttn i{
		line-height: 45px;
		font-size: 30px;
	}

}

@media (max-width: 480px){
	.main-slider .main-slider-carousel .main-slider-item{
		background-position: 72% 50%;
	}
	.main-slider .main-slider-content p.h1{
		font-size: 42px;
	}
	.main-slider .main-slider-content p{
		font-size: 20px;
	}

	.services .title p.h2{
		font-size: 30px;
	}
	.services .title p.h2 br{
		display: none;
	}
	.services .secvices-cont .secvices-cont-item{
		width: 100%;
	}
	.subscribe{
		padding: 30px 0;
	}
	.subscribe .subscribe-form p label{
		display: block;
		width: 100%;
		margin-left: 0;
	}
	.subscribe .subscribe-form p input[type='submit']{
		margin: 0;
		width: 100%;
	}
	.subscribe .subscribe-form p label input{
		margin-bottom: 10px;
	}
	.subscribe .success-7{
		margin: 0;
	}

	.reviews span.h2>p{
		font-size: 30px;
		line-height: 40px;
	}
	.reviews span.h2>p br{
		display: none;
	}

	.gallery p.h2{
		font-size: 28px;
	}
	.gallery p.h2 br{
		display: none;
	}

	.team p.h2{
		font-size: 28px;
	}

	.footer .footer-form input[type='submit']{
		display: block;
		margin: 0 auto;
	}
	
	.page-list-ext.bloglist  .page-list-ext-item {
	max-width: 90%;
	margin: 0 auto;
	display: block;
	}
}
@media (max-width: 440px){
	.editor{
		font-size: 10px;
	}
	
	.tablepress thead th {
		padding: 5px;
	}
	.tablepress tbody td {
		padding: 5px;
	}
}

@media (max-width: 380px){
	.main-slider .main-slider-carousel .main-slider-item{
		background-position: 70% 50%;
	}
	.main-slider{
		padding-top: 5vh;
	}
	.main-slider .main-slider-carousel .main-slider-item{
		/*height: 95vh;*/
	}

	.header .logo img{
		height: 40px;
	}
	.header .icons i{
		line-height: 40px;
	}
	.header .nav ul li a{
		line-height: 40px;
	}
	.header .nav .mobile-menu{
		top: 8px;
	}
	.header .nav .mobile-menu.active{
		top: 18px;
	}
	.header .nav ul{
		top: 55px;
	}
	.main-slider .main-slider-content p.h1{
		font-size: 36px;
	}

	.about .txt p.h2{
		font-size: 30px;
	}
	.about .txt .txt2 p {
    	font-size: 16px;
    	line-height: 22px;
	}
	
	.gallery .gallery-items img{
		margin: 20px 0;
	}

	.team p.h2 br{
		display: none;
	}
}
@media (max-width: 345px){
	#tablepress-44 {
		font-size: 9px;
	}
}
@media (max-width: 320px){
	.main-slider .main-slider-carousel .main-slider-item{
		background-position: 68% 50%;
	}
}