@media only screen and (max-width:1600px) {
	.single-photo .main-blog-content {
		padding: 100px 0 90px;
	}
}

@media only screen and (max-width:1199px) {

	.photo-slider .photo-review,
	.photo-review .owl-carousel .owl-item img {
		height: 525px;
	}
}

@media only screen and (max-width: 1024px) {

	.home .site-main>section,
	.author-quote,
	.main-blog-content .site-content,
	.edit-profile h1 {
		margin-bottom: 90px;
	}

	.padding-main {
		padding: 130px 0 90px;
	}

	.home .site-main>.blog-first {
		margin-bottom: 60px;
	}

	.main-blog-content {
		padding: 130px 0 60px;
	}

	.upload-main {
		padding: 90px 0;
	}

	.upload-bottom {
		margin-top: 90px;
	}

	.edit-profile .site-main {
		padding-top: 130px;
	}
}

@media only screen and (max-width: 991px) {
	body {
		overflow-x: hidden;
	}

	.container-fluid {
		padding-left: 20px;
		padding-right: 20px;
	}

	.menu-button {
		width: 30px;
		height: 21px;
		display: block;
		position: relative;
		border-top: 1px solid #00b7f5;
		border-bottom: 1px solid #00b7f5;
	}

	.menu-button:after {
		border-bottom: 1px solid #00b7f5;
		top: 50%;
		left: 0;
		right: 0;
		display: block;
		content: "";
		position: absolute;
		margin-top: -1px;
	}

	.right-header {
		position: fixed;
		top: 0;
		right: -240px;
		bottom: 0;
		width: 240px;
		background: #000;
		padding: 15px;
		z-index: 9999;
		transition: all 0.3s ease-in-out 0s;
		-moz-transition: all 0.3s ease-in-out 0s;
		-ms-transition: all 0.3s ease-in-out 0s;
		-webkit-transition: all 0.3s ease-in-out 0s;
		-o-transition: all 0.3s ease-in-out 0s;
	}

	body.menu-open .right-header {
		right: 0;
	}

	.main-menu {
		display: block;
	}

	.main-menu ul li {
		display: block;
		margin: 0;
	}

	.p-member-menu .p-member-menu__inner > li {
		display: block !important;

	}

	.main-menu ul li a {
		color: #333;
    	border-bottom: 1px solid #EFEFEF;
		display: block;
		padding: 15px 0;
		position: relative;
		line-height: inherit;
		height: auto;
	}

	.main-menu ul li a:before {
		display: none;
	}

	.login-group-btn ul li,
	.login-group-btn ul li a {
		color: #fff;
	}

	.main-menu ul li a:hover,
	.main-menu .current-menu-item a {
		color: #00b7f5;
		padding-left: 0px;
	}

	.main-menu ul li a:after {
		position: absolute;
		content: "";
		width: 0;
		height: 0px;
		top: 50%;
		transform: translateY(-50%);
		left: 0;
		background-color: #00b7f5;
		transition: all 0.3s ease-in-out 0s;
		-moz-transition: all 0.3s ease-in-out 0s;
		-o-transition: all 0.3s ease-in-out 0s;
		-webkit-transition: all 0.3s ease-in-out 0s;
		-ms-transition: all 0.3s ease-in-out 0s;
	}

	.main-menu .current-menu-item a:after,
	.main-menu ul li a:hover:after {
		width: 8px;
		height: 8px;
		border-radius: 50%;
		display: inline-block;
		vertical-align: middle;
		margin-right: 7px;
		content: "";
	}

	.menu-mobile-close {
		display: block;
		position: absolute;
		top: 30px;
		right: calc(100% + 1px);
		width: 36px;
		height: 36px;
		line-height: 36px;
		background: #000;
		text-align: center;
		color: #FFF;
		font-size: 22px;
		opacity: 0;
		visibility: hidden;
	}

	.menu-mask {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9990;
		background: rgba(0, 0, 0, 0.6);
		transition: all 0.3s ease-in-out 0s;
		-moz-transition: all 0.3s ease-in-out 0s;
		-ms-transition: all 0.3s ease-in-out 0s;
		-webkit-transition: all 0.3s ease-in-out 0s;
		-o-transition: all 0.3s ease-in-out 0s;
		opacity: 0;
		visibility: hidden;
	}

	body.menu-open .menu-mask,
	body.menu-open .menu-mobile-close {
		opacity: 1;
		visibility: visible;
	}

	/* css main */
	.padding-main {
		padding: 115px 0 80px;
	}

	.main-blog-content {
		padding: 115px 0 60px;
	}

	.home .site-main>section,
	.author-quote,
	.main-blog-content .site-content {
		margin-bottom: 50px;
	}

	h1 {
		font-size: 29px;
	}

	.header-meta-post .entry-meta {
		padding: 50px 15px;
	}

	.meta-post {
		margin: 20px 0 30px;
	}

	.excerpt-post {
		font-size: 14px;
	}

	.post_info {
		padding-top: 50px;
		margin-bottom: 50px;
	}

	.post_info .entry-content img,
	.post_info .entry-content p {
		margin-bottom: 20px;
	}

	.post-tags {
		margin: 30px 0 60px;
	}

	.photo-slider .photo-review,
	.photo-review .owl-carousel .owl-item img {
		height: 405px;
	}

	.photo-control .item img {
		height: 70px;
	}

	.edit-profile .site-main {
		padding-top: 115px;
	}

	.p-blog-archive {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}

	.p-blog-archive__item {
		background: #fff;
		-webkit-flex: 0 0 33.3333%;
		flex: 0 0 33.3333%;
		flex-basis: calc((100% - 60px) / 3);
		margin: 0 30px 30px 0;
		position: relative;
	}

	.p-blog-archive__item:nth-child(3n) {
		margin-right: 0;
	}

	.p-blog-archive__item:last-child {
		margin-bottom: 30px;
	}

	.p-author__lists__inner #js-author__list {
		padding-top: 15px;
	}

	.p-author__lists__inner #js-author__list .p-blog-archive__item-title {
		padding-top: 15px;
	}

	.p-author__lists__inner #js-author__list .p-article__edit-buttons {
		position: static;
		padding: 0 15px 15px;
	}

	.p-blog-archive__item-thumbnail {
		float: none;
		width: auto;
	}

	.p-blog-archive__item-counts {
		padding: 0;
		pointer-events: none;
		text-align: center;
		position: absolute;
		top: 10px;
		right: 10px;
		left: auto;
		z-index: 3;
	}

	.p-blog-archive__item-title {
		font-size: 15px !important;
		line-height: 1.6 !important;
		margin: 0 0 0px 0 !important;
	    min-height: auto;
	}

	.p-blog-archive__item-author {
		position: static;
	}

	.p-pagetop {
		right: 30px;
	}

	.p-header__bar {
		padding-right: 0;
	}

	.p-header-member-menu li a {
		vertical-align: middle;
	}

	.p-header-member-menu li:nth-child(2):before {
		display: none;
	}

	.p-footer-widget-area .p-footer-widget-area__inner {
		padding: 0 15px;
		width: 100%;
	}

	.p-footer-widget-area .site_info_widget {
		flex-basis: 50%;
		-webkit-flex: 0 0 50%;
	}

	.p-footer-widget-area .p-widget.widget_nav_menu,
	.p-footer-widget-area .widget_categories,
	.p-footer-widget-area .widget_recent_entries,
	.p-footer-widget-area .widget_pages,
	.p-footer-widget-area .widget_meta {
		-webkit-flex: 0 0 25%;
		flex: 0 0 25%;
		padding-right: 0;
	}

	.p-siteinfo {
		text-align: left;
	}

	a.p-siteinfo__button.p-button {
		margin-left: inherit;
		margin-right: inherit;
	}

	.l-inner {
		width: 100%;
		padding: 0 15px;
		text-align: left;
	}

	.p-footer-widget-area .p-widget.p-footer-widget__border-top::before {
		display: none;
	}

	.p-header-member-menu li:nth-child(2):before {
		margin: 0 12px;
		content: "/";
		color: #333333;
		display: none !important;
	}

	body .p-header-member-menu li:nth-child(2):before {
		margin-top: 11px;
	}


	.p-header-member-menu li:first-child {
		text-align: right;
	}

	.p-blog-slider .owl-dots {
		margin-top: 0;
	}

	.single-button {
		right: 15px;
	}

}

@media only screen and (max-width: 768px) {

	.site-brand {
		text-align: center;
	}

	.left-thumb .post-thumb {
		float: none;
		width: auto;
		max-width: 400px;
		margin-right: 0;
	}

	.site-footer .socials {
		padding: 10px 0;
		text-align: center;
	}

	/* edit-profile */
	.edit-profile h1 {
		margin-bottom: 40px;
	}

	.edit-profile .site-main {
		padding-top: 115px;
	}

	/* End edit-profile */
	/* single-contact */
	.top-content h1 {
		margin-bottom: 15px;
	}

	.single-contact .top-content {
		margin-bottom: 45px;
	}

	.single-post h1 {
		font-size: 26px;
	}

	.information-content .post_rows .post_cols {
		padding: 0 10px;
	}

	section.blog.video {
		padding-bottom: 60px;
	}

	/* end single-contact */
	.site-bottom {
		display: block;
	}

	.footer-item {
		width: 100%;
		margin-bottom: 30px;
	}

	.site-bottom .widget-title {
		margin-bottom: 20px;
	}

	.site-bottom .blue-btn {
		margin-top: 20px;
	}

	.copyright {
		padding: 30px 0;
		text-align: center;
	}

	/*.site-footer {
		padding: 45px 0 10px;
	}*/

	section.blog.video {
		padding-bottom: 70px;
	}

	.p-pagetop {
		right: 10px;
	}

	.comment-form-group {
		flex-direction: column;
	}

	.comment-form-group .c-comment__input:first-child {
		padding-right: 0;
		margin-bottom: 20px;
	}

	.comment-form-group .c-comment__input:last-child {
		padding-left: 0;
	}

	.comment-form-group .c-comment__input {
		flex: 0 0 100%;
		margin-bottom: 0;
	}

	/*.p-blog-archive__item:nth-child(3n) {
	    margin-right: 30px;
	}*/
	.p-footer-widget-area .p-footer-widget-area__inner {
		display: block;
	}

	.p-footer-widget-area .site_info_widget {
		flex-basis: 100%;
		-webkit-flex: 0 0 100%;
	}

	.p-footer-widget-area .p-widget.widget_nav_menu,
	.p-footer-widget-area .widget_categories,
	.p-footer-widget-area .widget_recent_entries,
	.p-footer-widget-area .widget_pages,
	.p-footer-widget-area .widget_meta {
		-webkit-flex: 0 0 100%;
		flex: 0 0 100%
	}

	.meta-button>* {
		margin-bottom: 15px;
	}

	.top-banner {
		margin-bottom: 60px;
	}

	.top-banner .banner-content .bottom-img img {
		width: 100%;
		height: auto;
	}

	.membership-edit_profile .l-main,
	.l-main.has-bg--pc.single-contact .padding-main {
		padding-top: 30px;
	}

	.top-banner.padding-main {
		padding-top: 115px;
	}

	.information-content .post_rows {
		flex-wrap: wrap;
	}

	.information-content .post_rows .post_cols {
		margin-bottom: 30px;
	}

	.p-blog-archive__item.has-counts.aos-init.aos-animate {
		margin-right: 0px;
	}
}

@media only screen and (max-width: 767px) {

	.header-meta-post .entry-meta {
		padding: 35px 10px;
	}

	.meta-post {
		margin: 15px 0 20px;
	}

	.excerpt-post {
		margin-bottom: 30px;
	}

	.item-blog .thumbnail img {
		width: 100%;
	}

	.upload-bottom {
		margin-top: 70px;
	}

	.edit-profile .site-main {
		padding-bottom: 90px;
	}

	.p-blog-archive__item {
		background: #fff;
		-webkit-flex: 0 0 50%;
		flex: 0 0 50%;
		flex-basis: calc((100% - 30px) / 2);
		margin: 0 30px 30px 0;
		position: relative;
	}

	.p-blog-archive__item:nth-child(3n) {
		margin-right: 0px; /* margin-right: 30px; */
	}

	.p-blog-archive__item:nth-child(2n) {
		margin-right: 0;
	}

	.wp-block-image img {
		height: auto !important;
	}
}

@media only screen and (max-width: 640px) {
    .reg-package .container {
        display: block;
    }
    .package-item {
    	border: 1px solid #ededed;
    }
    .package-item:last-child {
    	margin-top: -1px;
    }
}

@media only screen and (max-width: 540px) {

	/* single-contact */
	.single-contact .contact-content {
		background-image: none;
	}

	.edit-profile h2 {
		margin-bottom: 30px;
	}

	.upload-main>span {
		margin: 25px 0 15px;
	}

	.upload-main {
		padding: 80px 0;
	}

	.note-upload {
		font-size: 14px;
	}

	.top-content h1 {
		font-size: 26px;
	}

	.main-title .title {
		font-size: 25px;
	}

	.information-content .post_rows {
		display: block;
	}

	.information-content .post_rows .post_cols {
		margin-bottom: 30px;
		padding: 0;
	}

	.single-button {
		text-align: left;
	}

	.information-content .post_row {
		margin-bottom: 40px;
	}

	.meta-button>* {
		margin-bottom: 15px;
		min-width: 224px;
		padding: 0;
		margin-right: 0;
	}

	.meta-button>*:last-child {
		margin-bottom: 0;
	}

	.top-content-title.t-has-btn.t-btn-home {
		display: block;
	}

	.top-content-title.t-has-btn.t-btn-home .title-left {
		margin-bottom: 15px;
	}

	.photo-slider .photo-review,
	.photo-review .owl-carousel .owl-item img {
		height: 285px;
	}

	.photo-control .photo-content .item {
		margin-right: 10px;
	}

	.photo-control .item img {
		height: 60px;
	}

	.photo-review .owl-carousel .owl-nav>button {
		width: 36px;
		height: 36px;
		line-height: 36px;
		left: 15px;
	}

	.photo-review .owl-carousel .owl-nav>button i {
		line-height: 36px;
	}

	.photo-review .owl-carousel .owl-nav>button.owl-next {
		left: auto;
		right: 15px;
	}

	.single-button {
		top: 0;
	}

	/* .p-blog-archive__item-thumbnail {
		width: auto !important;
	} */
	.p-blog-archive__item-thumbnail-list {
		width: 44% !important; 
	}

	.p-blog-archive__item-counts {
		left: auto !important;
	}

	.p-edit-profile .p-membership-form__button .p-submit-button {
		max-width: 100%;
		width: 100%;
	}

	.single-contact .contact-content {
		padding-bottom: 0;
	}
}

@media only screen and (max-width: 415px) {

	.p-header__logo--mobile.p-header__logo--text > a {
		/* white-space: nowrap; */
    	word-break: break-all;
	}

	section.blog.video {
		padding-bottom: 30px;
	}

	/* single-post */
	.comment-form-group {
		flex-wrap: wrap;
	}

	.comment-form-group>p {
		flex: 0 0 100%;
	}

	.comment-form-author {
		padding-right: 0;
	}

	.comment-form-email {
		margin-top: 20px;
		padding-left: 0;
	}

	.author-quote {
		flex-wrap: wrap;
	}

	.a-quote-thumb {
		margin: 0 auto;
	}

	.quotes h2 {
		text-align: center;
		margin: 10px 0;
	}

	.quotes ul {
		justify-content: center;
	}

	/* End single-post */
	/* edit-profile */
	.edit-profile h1 {
		margin-bottom: 35px;
	}

	.edit-profile h2 {
		margin-bottom: 20px;
	}

	/* End edit-profile */
	/* single-contact */
	.contact-us-form form label {
		margin-bottom: 5px;
		font-size: 14px;
	}

	.contact-us-form form input {
		border: 1px solid #e7ecf1;
	}



	.top-content-desc {
		font-size: 14px;
	}

	.upload-main {
		padding: 50px 0;
	}

	.upload-main p {
		padding: 0 10px;
	}

	.upload-bottom {
		margin-top: 55px;
	}

	.upload-image i {
		font-size: 60px;
	}

	.upload-bottom .upload-image {
		width: 150px;
		height: 150px;
	}

	.upload-main>span {
		margin: 20px 0 15px;
	}

	.edit-profile .contact-us-form form textarea {
		height: 100px;
	}

	.upload-bottom .content,
	.upload-bottom {
		padding-bottom: 60px;
	}

	/* End single-contact */
	.group-button .white-btn:first-child {
		margin-right: 0;
		margin-bottom: 15px;
	}

	.photo-slider .photo-review,
	.photo-review .owl-carousel .owl-item img {
		height: 210px;
	}

	.photo-slider .photo-review {
		height: 210px;
		margin-bottom: 0px;
	}

	.photo-control {
		display: none;
	}

	.copyright {
		padding-top: 0;
		font-size: 13px;
	}

	.p-membership-form__image-upload__drop-inner {
		min-height: 265px !important;
	}

	.p-edit-profile__image-upload__header_image .p-membership-form__image-upload__drop-inner3 {
		padding: 90px 0 0 !important;
	}

	.p-membership-form__image-upload__drop-inner3:before {
		font-size: 60px !important;
	}

	.p-edit-profile__image-upload__profile_image .p-membership-form__image-upload__drop-inner {
		min-height: 130px !important;
	}

	.p-edit-profile__image-upload__profile_image .p-membership-form__image-upload__drop {
		width: 150px;
		height: 150px;
	}

	.site-header {
		padding: 0;
	}


	h2.p-siteinfo__title,
	.site-bottom .p-widget__title {
		margin-bottom: 25px;
	}

	.p-copyright__inner p {
		font-size: 13px;
	}

	.post-tags ul li {
		margin-right: 15px;
	}

	.meta-post>span:first-child {
		display: block;
		margin-bottom: 10px;
		line-height: 20px;
	}

	.meta-post .category a {
		display: inline-block;
	}

	#content .post-tags ul {
		display: flex;
		flex-wrap: wrap;
	}

	#content .post-tags-custom ul {
		display: block;
	}
	#content .post-tags-custom ul li:last-child {
		margin-right: 12px;
	}
}

@media only screen and (max-width: 600px) {
	.p-blog-archive__item {
		-webkit-flex: 0 0 100%;
		flex: 0 0 100%;
		flex-basis: calc(100%);
	}

	.p-blog-archive__item-title {
		min-height: initial;
		margin-bottom: 15px !important;
	}
}

@media only screen and (max-width: 375px) {
	.blog .blog-content .inner-blog .col-xs-6 {
		width: 100%;
	}

	.single-post h1 {
		font-size: 22px;
	}

	.photo-slider .photo-review,
	.photo-review .owl-carousel .owl-item img {
		height: 195px;
	}

	.copyright {
		font-size: 12px;
	}

	.top-content-title.t-has-btn {
	    padding-bottom: 0;
	    margin-bottom: 25px;
	}

	.single-button {
		top: 115px;
		right: auto;
	}

	.photo-posts .top-content-title.t-has-btn {
		padding-bottom: 0;
		margin-bottom: 20px;
	}

	.p-header__logo--mobile {
		/* padding: 0 10px; */
		/* max-width: 130px; */
		height: 50px;
	}

	/* .p-header__bar {
		padding-left: 50px;
	} */

	.top-content h1 {
		font-size: 24px;
	}

	#cb_5 .single-button {
		top: 85px;
	}

	#cb_5 .top-content-title.t-has-btn {
		padding-bottom: 30px;
	}
}

@media only screen and (max-width: 360px) {
	.p-header-member-menu li:nth-child(2):before {
		margin: 0 3px;
	}
}

@media only screen and (max-width: 359px) {
	.p-header-member-menu li a {
		font-size: 12px;
	}

	.p-header-member-menu li:nth-child(2):before {
		display: none !important;
	}

	.padding-main {
		padding: 115px 0 60px;
	}

	/* single-contact */
	.top-content h1 {
		font-size: 20px;
	}

	.contact-us-form form input,
	.contact-us-form form textarea,
	.contact-us-form form label,
	.top-content-desc {
		font-size: 13px;
	}

	.contact-us-form p:nth-of-type(4) {
		margin-bottom: 35px;
	}

	.contact-us-form p {
		margin-bottom: 15px;
	}

	.meta-post>span:after {
		margin: 0 10px 0 12px;
	}

	.single-post h1 {
		font-size: 19px;
	}

	.top-content-title.t-has-btn {
		display: block;
	}

	.top-content-title.t-has-btn .title-left {
		margin-bottom: 15px;
	}

	.copyright {
		font-size: 10px;
	}

	.footer-item {
		margin-bottom: 20px;
	}

	.p-header__logo--mobile {
		padding: 0 10px;
	}

	.content-desc {
		font-size: 14px;
	}

	/* End single-contact */
}

@media only screen and (max-width: 991px) {

	/*.p-footer-widget-area .site_info_widget {
		flex-basis: 100%;
		-webkit-flex: 0 0 100%;
	}*/
	/*a.p-siteinfo__button.p-button{
		margin-left: auto;
	    margin-right: auto;
	}*/
	.p-copyright {
		text-align: center;
	}
}