/*
Theme Name: Wortex Lite
Theme URI: https://www.iceablethemes.com/shop/wortex-lite
Description: A clean, professional looking, responsive WordPress Theme.
Author: Iceable Themes
Author URI: https://www.iceablethemes.com
License: GNU General Public License v2 (GPLv2)
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1.2.21
Tested up to: 5.8
Requires PHP: 5.6
Tags: one-column, two-columns, right-sidebar, grid-layout, custom-header, custom-menu, footer-widgets, editor-style, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, blog, entertainment, news
Text Domain: wortex-lite

Wortex Lite. A clean, professional looking, responsive WordPress Theme by Iceable Themes.
Upgrade to Wortex Pro now on https://www.iceablethemes.com !
*/

/*
Copyright © 2014-2020 Iceable Themes - https://www.iceablethemes.com

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/* Custom CSS - Reduce spacing between bullet points */
.wp-block-list li {
	margin-bottom: 6px;
}

/* Reduce spacing for nested block lists */
.wp-block-list .wp-block-list li {
	margin-bottom: 4px;
}

/* Fix background to cover full width */
html {
	min-width: 100%;
	width: 100%;
}

/* Ensure #main-wrap doesn't exceed viewport width and is properly centered */
#main-wrap.boxed {
	max-width: 100%;
	box-sizing: border-box;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Ensure container doesn't exceed viewport width */
.container {
	max-width: 100%;
	box-sizing: border-box;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Scale boxed layout for desktop screens (above tablet breakpoint) */
@media only screen and (min-width: 960px) {
	#main-wrap.boxed {
		min-width: 1000px !important;
		max-width: 1500px !important;
		width: 100% !important;
	}

	/* Scale container width when inside boxed layout */
	#main-wrap.boxed .container {
		min-width: 1000px !important;
		max-width: 1500px !important;
		width: 100% !important;
	}

	/* Ensure header image scales with container */
	#main-wrap.boxed #header-image img {
		max-width: 100%;
		height: auto;
	}

	/* Scale page-container to match parent container in boxed layout */
	#main-wrap.boxed #page-container {
		width: 100% !important;
	}

	/* Adjust page-container width when sidebar is present in boxed layout */
	#main-wrap.boxed #page-container.with-sidebar {
		width: calc(100% - 340px) !important;
	}
}

/* Override any error-page styles that might affect layout */
body#error-page {
	background: transparent !important;
	border: none !important;
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	box-shadow: none !important;
}
