/*
[Table of contents]

	1. Mobile Portrait to Tablet Portrait
	2. Standard Screen
	3. Tablet Portrait
	4. Mobile
*/


/* ----------------------------------------------
 	1. Mobile Portrait to Tablet Portrait
---------------------------------------------- */

@media only screen and (max-width: 979px) {
	.swm-hide-tablet {
		display: none;
	}
	.swm-row .swm-column3,
	.swm-row .swm-column4,
	.swm-row .swm-column5,
	.swm-row .swm-column6 {
		width: 50%;
	}
	.swm-two-third,
	.swm-three-fourth,
	.swm-four-fifth,
	.swm-five-sixth,
	.swm-one-third,
	.swm-one-fourth,
	.swm-one-fifth,
	.swm-one-sixth {
		width: 48.71794871794872%;
	}
	.swm-one-full,
	.swm-custom-two-third,
	#sidebar {
		width: 100%;
		float: none;
		clear: both;
		margin-left: 0;
		margin-bottom: 30px;
	}
	.gallery-columns-5 dl.gallery-item,
	.gallery-columns-6 dl.gallery-item,
	.gallery-columns-7 dl.gallery-item,
	.gallery-columns-8 dl.gallery-item,
	.gallery-columns-9 dl.gallery-item,
	.wp-block-gallery.columns-5 .blocks-gallery-item,
	.wp-block-gallery.columns-6 .blocks-gallery-item,
	.wp-block-gallery.columns-7 .blocks-gallery-item,
	.wp-block-gallery.columns-8 .blocks-gallery-item,
	.gallery-columns-9 .blocks-gallery-item {
		width: 33.29%;
		padding: 0;
	}

	.swm-topbar-content {
		text-align: center;
	}
	.swm-topbar ul,
	.swm-topbar-content ul.swm-topbar-socials {
		float: none;
		margin: 0;
		display: inline-block;
	}
	.swm-topbar-content ul.swm-topbar-socials li {
		float: none;
	}
	.swm-topbar .swm-container:before,
	.swm-topbar-content .left:after {
		display: none;
	}
	.swm-topbar-content .left:before {
		transform: skew(0deg);
	}
	.swm-topbar-content .left {
		width: 100%;
	}
	.swm-topbar-content ul li {
		margin: 0;
		padding: 0 12px;
	}
	.swm-topbar-content .right {
		float: none;
	}
	ul.swm_tb_right {
		padding-right: 13px;
	}
	.swm-topbar-content .left,
	.swm-topbar-content .right {
		padding: 0;
	}
	.swm-topbar-content .left:before,
	.swm-topbar-content .left:after {
		left: -100%;
		width: 1000%;
	}
	.header_2s .swm_header_contact_info ul li:before {
		display: none;
	}
	.header_2s .swm_header_contact_info ul.swm_header_contact_info_list li {
		padding: 0 12px;
		text-align: left;
		margin: 0;
	}
	.header_2s .swm_header_contact_info ul,
	ul.swm-header-socials {
		display: inline-block;
		margin: 20px 0 0 0;
	}
	.header_2s .swm-header-logo-section {
		float: none;
		text-align: center;
		width: 100%;
	}
	.header_2s .swm-header-logo-section .swm-logo {
		width: 100%;
	}
	.header_2s .swm-header-logo-section .swm-logo .swm-logo-img {
		display: block;
		line-height: 0;
		font-size: 0;
	}
	.header_2s .swm-header-logo-section .swm-logo .swm-logo-img a {
		display: inline-block;
	}
	.header_2s .swm_header_contact_info {
		float: none;
		text-align: center;
	}
	.header_2s ul.swm-header-socials li {
		margin: 0 5px;
	}
	.header_2s .swm-infostack-header {
		padding: 30px 0;
	}
	.header_2s .swm_header_contact_info {
		display: block;
	}
}


/* ----------------------------------------------
 	2. Standard Screen
---------------------------------------------- */

@media only screen and (min-width: 980px) and (max-width:1050px) {
	.swm-class-info-icons i {
		width: 14px;
	}
	.swm-class-general-info ul li {
		padding: 11px 12px;
	}
	.swm-class-general-info ul li.swm-class-price-info {
		padding: 18px 12px;
	}
}


/* ----------------------------------------------
 	3. Tablet Portrait
---------------------------------------------- */

@media only screen and (min-width: 768px) and (max-width: 979px) {
	.swm-column3.swm-universal-3col-grid {
		width: 50%;
	}
}


/* ----------------------------------------------
 	4. Mobile
---------------------------------------------- */

@media only screen and (max-width: 767px) {
	.swm-hide-mobile {
		display: none;
	}
	.swm-two-third,
	.swm-three-fourth,
	.swm-four-fifth,
	.swm-five-sixth,
	.one-half,
	.swm-one-half,
	.swm-row .swm-column2,
	.one-third,
	.swm-one-third,
	.swm-row .swm-column3,
	.one-fourth,
	.swm-one-fourth,
	.swm-row .swm-column4,
	.one-fifth,
	.swm-one-fifth,
	.swm-row .swm-column5,
	.one-sixth,
	.swm-one-sixth,
	.swm-row .swm-column6,
	.swm-layout-sidebar-left .swm-row .swm-column2,
	.swm-layout-sidebar-left .swm-row .swm-column3,
	.swm-layout-sidebar-left .swm-row .swm-column4,
	.swm-layout-sidebar-right .swm-row .swm-column2,
	.swm-layout-sidebar-right .swm-row .swm-column3,
	.swm-layout-sidebar-right .swm-row .swm-column4 {
		width: 100%;
		float: none;
		clear: both;
		margin-left: 0;
		margin-bottom: 30px;
	}
	.swm-topbar ul,
	.swm-topbar-content ul.swm-topbar-socials {
		display: block;
	}
	.swm-topbar ul li {
		margin: 0 17px;
	}
	.swm-topbar ul:not(.swm-topbar-socials) li:first-child {
		margin-left: 17px;
	}
	.swm-topbar-content ul.swm-topbar-socials li {
		padding: 0 10px;
	}
	.swm-sub-header-title span::after,
	.swm-sub-header-title span::before {
		display: none;
	}
	.swm-small-footer {
		padding: 30px 0;
	}
	.single .swm-post-content-block {
		padding: 30px 30px 10px;
	}
	.swm-post-date-line {
		display: none;
	}
	.swm-post-meta ul li.swm-post-date {
		letter-spacing: 0;
		margin-right: 25px;
	}
	.swm-post-meta ul li.swm-post-date i {
		display: inline-block;
	}
	.swm-pp-next {
		padding-left: 15px;
	}
	.swm-pp-prev {
		padding-right: 15px;
	}
	.single .swm-about-author {
		padding: 30px 35px;
	}
	.swm-about-author img {
		float: none;
		margin: 0 0 30px;
	}
	.swm-about-author-left-wrap,
	.swm-about-author-biotext {
		display: block;
		margin: 0 auto;
		text-align: center;
	}
	ul.swm-post-author-icon li {
		float: none;
	}
	#swm-item-entries .swm-post-title h2,
	#swm-item-entries .swm-post-title h2 a,
	#swm-item-entries .swm-post-title h1 {
		font-size: 24px;
		line-height: normal;
		margin-bottom: 10px;
	}
	#commentform p.comment-form-author input[type="text"],
	#commentform p.comment-form-email input[type="text"] {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
	}
	.swm-related-posts ul li {
		display: block;
		float: none;
		width: 100%;
		margin: 0 0 40px;
	}
	#comment-wrap ol.commentlist li ul.children {
		padding-left: 0;
	}
	#comment-wrap ol.commentlist li ul {
		margin-left: 0;
	}
	#commentform p.comment-form-author,
	#commentform p.comment-form-email,
	#commentform p.comment-form-url {
		width: 100%;
	}
	.comment-form-author:before {
		right: 23px;
	}
	#commentform .comment-form-author input[type=text] {
		padding-right: 60px;
	}
	form.swm-search-form input[type="text"] {
		width: 80%;
	}
	.gallery-columns-2 dl.gallery-item,
	.gallery-columns-3 dl.gallery-item,
	.gallery-columns-4 dl.gallery-item,
	.gallery-columns-5 dl.gallery-item,
	.gallery-columns-6 dl.gallery-item,
	.gallery-columns-7 dl.gallery-item,
	.gallery-columns-8 dl.gallery-item,
	.gallery-columns-9 dl.gallery-item {
		width: 50%;
		padding: 1.5%;
	}
	.wp-block-gallery.columns-2 .blocks-gallery-item,
	.wp-block-gallery.columns-3 .blocks-gallery-item,
	.wp-block-gallery.columns-4 .blocks-gallery-item,
	.wp-block-gallery.columns-5 .blocks-gallery-item,
	.wp-block-gallery.columns-6 .blocks-gallery-item,
	.wp-block-gallery.columns-7 .blocks-gallery-item,
	.wp-block-gallery.columns-8 .blocks-gallery-item,
	.wp-block-gallery.columns-9 .blocks-gallery-item {
		width: 50%;
		padding: 0;
	}
	.widget_media_gallery .gallery-columns-2 dl.gallery-item {
		width: 50%;
		padding: 1.5%;
	}
	.widget_media_gallery .gallery-columns-3 dl.gallery-item {
		width: 33.29%;
		padding: 1.2%;
	}
	.widget_media_gallery .gallery-columns-4 dl.gallery-item {
		width: 24.95%;
    	padding: 1.7%;
	}
	.swm-row .swm-no-gap-row {
		margin: 0;
	}
	.swm-search-featured-img {
		display: none;
	}
	.swm-search-page-no-result-text form {
		display: block;
	}
	.swm-search-page-no-result-text form input[type="text"].swm-search-form-input {
		width: 100%;
	}
	.swm_overlay_search_box {
		padding: 6px 25px;
	}
	.swm_overlay_search_box input.swm-search-form-input {
		font-size: 110%;
	}
	#swm-sub-header .swm-sub-header-title,
	#swm-sub-header h1.swm-sub-header-title {
		font-size: 33px;
	}
	.swm-error-page-content {
		display: block;
		text-align: center;
		margin: 0 0 30px;
	}
	.swm-error-page-number {
		font-size: 5em;
		display: block;
		line-height: 1;
	}
	.swm-error-page-title {
		display: block;
		margin: 20px 0 10px;
		font-size: 1.2em;
	}
	.swm-error-page-button {
		margin-top: 30px;
	}
	.swm-error-page-button i {
		margin-right: 10px;
	}
	.swm_contact_footer .swm-row .swm-column3 {
		margin: 0;
	}
	.header_2s .swm_header_contact_info ul,
	.header_2s .swm_header_contact_info ul.swm_header_contact_info_list li {
		display: inline-block;
	}
	.header_2s .swm_header_contact_info ul.swm_header_contact_info_list li {
		margin-bottom: 15px;
	}
	.header_2s .swm_header_contact_info:not(.swm-hide-tablet, .swm-hide-mobile) {
		float: none;
		display: block;
	}
	.header_2s .swm-header-logo-section {
		float: none;
	}

	.swm-large-footer .swm-f-widget, .swm-large-footer .swm-f-widget:not(:last-child) { margin-bottom:5px; }
	.swm-large-footer { padding-top:60px; }
	.swm-footer-widget h3 { margin-bottom:20px; }
	.swm-small-footer ul.footer_menu { display:block; }
}

@media only screen and (max-width: 480px) {
	.swm-postmeta-sticky-icon {
		margin-left: -10px;
	}
	.comment-avatar {
		padding: 0;
		background: none;
	}
	.comment-avatar img {
		float: none;
		display: block;
	}
	.comment-postinfo {
		margin-left: 0;
		padding-top: 0;
	}
	.comment-content {
		text-align: center;
		float: none;
	}
	.comment-avatar {
		float: none;
		display: inline-block;
		text-align: center;
	}
	.swm-comment-reply {
		margin: 0 0 20px 0;
		display: block;
		float: none;
	}
	.comment-author {
		display: block;
		margin: 0 0 10px 0;
	}
	#swm-item-entries .swm-post-title h2,
	#swm-item-entries .swm-post-title h2 a,
	#swm-item-entries .swm-post-title h1 {
		font-size: 24px;
	}
	.swm-team-general-info {
		padding: 10px 20px;
		border-radius: 0;
	}
	.swm-team-title-position,
	.swm-team-title-position,
	.swm-team-social-icons {
		padding: 0;
	}
	.gallery-columns-2 dl.gallery-item,
	.gallery-columns-3 dl.gallery-item,
	.gallery-columns-4 dl.gallery-item,
	.gallery-columns-5 dl.gallery-item,
	.gallery-columns-6 dl.gallery-item,
	.gallery-columns-7 dl.gallery-item,
	.gallery-columns-8 dl.gallery-item,
	.gallery-columns-9 dl.gallery-item {
		width: 100%;
		padding: 1.5%;
		margin-bottom: 2%;
	}
	.wp-block-gallery.columns-2 .blocks-gallery-item,
	.wp-block-gallery.columns-3 .blocks-gallery-item,
	.wp-block-gallery.columns-4 .blocks-gallery-item,
	.wp-block-gallery.columns-5 .blocks-gallery-item,
	.wp-block-gallery.columns-6 .blocks-gallery-item,
	.wp-block-gallery.columns-7 .blocks-gallery-item,
	.wp-block-gallery.columns-8 .blocks-gallery-item,
	.wp-block-gallery.columns-9 .blocks-gallery-item {
		width: 100%;
		padding: 0;
		margin-bottom: 2%;
	}
	.widget_media_gallery .gallery-columns-2 dl.gallery-item {
		width: 50%;
		padding: 1.5%;
	}
	.widget_media_gallery .gallery-columns-3 dl.gallery-item {
		width: 33.29%;
		padding: 1.2%;
	}
	.widget_media_gallery .gallery-columns-4 dl.gallery-item {
		width: 24.95%;
    	padding: 1.7%;
	}
	.swm-pp-link-title span.swm-heading-text {
		font-size: 95%;
	}
	.swm-site-content blockquote {
		padding: 20px 25px 0 25px;
		font-size: 105%;
	}
	.swm-site-content blockquote:before,
	.swm-site-content blockquote:after {
		display: none;
	}
	.swm-cf-column {
		padding: 20px;
	}
	.swm-cf-title {
		font-size: 105%;
	}
	.header_2s ul.swm-header-socials li a {
		width: 36px;
		height: 36px;
		line-height: 37px;
		font-size: 13px;
	}

	.swm-small-footer {
		padding: 10px 0;
	}
}

@media (min-width:300px) {
	.swm-container {
		max-width: 500px;
	}
}

@media (min-width:576px) {
	.swm-container {
		max-width: 540px;
	}
}

@media (min-width:768px) {
	.swm-container {
		max-width: 720px;
	}
}

@media (min-width:992px) {
	.swm-container {
		max-width: 960px;
	}
}


@media only screen and (max-width: 778px) {
	body.transparentHeader .swm-all-header-wrapper {
		position: relative;
		float: none;
	}
}