/*
Theme Name:     ArcStone Theme
Theme URI:      n/a
Template:       kadence
Author:         ArcStone, Inc.
Author URI:     n/a
Description:    Kadence Child Theme for NEMA
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

#menu-item-3551 {
	display: none;
}

#main-header .header-button2,
.kb-button {
	text-shadow: none;
}

.logged-in #menu-item-3551 {
	display: block;
}

.wp-block-kadence-advancedgallery .kb-gallery-ul {
	align-items: center;
	justify-content: center;
}

.wp-block-image .alignright,
.wp-block-image .alignleft,
.wp-block-image .aligncenter {
	@media (max-width: 567px) {
		float: none;
		margin-left: 0;
		margin-right: 0;
	}
}

.entry-header.dlp_document-title h1 {
	font-size: 32px;
	text-transform: none;
}

.dlp-single-wrap .dlp-download-button:before,
.dlp-single-wrap .dlp-preview-button:before {
	line-height: 1;
}

/* .dlp-single-wrap .dlp-download-button:before {
	content: 'DOWNLOAD';
}*/

.dlp-single-wrap .dlp-preview-button:after {
	content: 'PREVIEW';
	display: block;
	margin-left: 10px;
}

@media (max-width: 767px) {
	.entry-header.dlp_document-title h1 {
		font-size: 24px;
	}
}

/* Header/Nav Kadence overrides */

@media (min-width: 1024px) and (max-width: 1099px) {
	.site-branding a.brand img {
		max-width: 225px;
	}
}

@media (min-width: 1100px) and (max-width: 1199px) {
	.site-branding a.brand img {
		max-width: 300px;
	}
}

@media (min-width: 1024px) and (max-width: 1260px) {
	.main-navigation .primary-menu-container > ul li.menu-item > a {
		padding: 0 8px;
	}
}

@media (min-width: 1024px) and (max-width: 1299px) {
	.main-navigation .primary-menu-container > ul li.menu-item > a {
		font-size: 16px;
	}
}

@media (min-width: 1261px) {
	.main-navigation .primary-menu-container > ul li.menu-item > a {
		padding: 0 10px;
	}
}

/* Back to Kadence Default */
@media (min-width: 1360px) {
	.main-navigation .primary-menu-container > ul li.menu-item > a {
		padding-left: calc(1.6em / 2);
    	padding-right: calc(1.6em / 2);
	}
}

/* Pages used for AMO */
.page-id-5427 .search-toggle-open-container,
.page-id-5427 [data-section="kadence_customizer_header_search"] {
	display: none;
}

/* Tablepress customizations */
.tablepress {
	--head-text-color: #fff;
	--head-bg-color: #70A571;
	--head-active-text-color: #fff;
	--head-active-bg-color: #70A571;
	text-transform: uppercase;
	text-align: center;
	font-size: 16px;
	line-height: 1.2;
}

.tablepress,
.tablepress tr,
.tablepress tbody td,
.tablepress thead th,
.tablepress tfoot th {
	border: 8px solid white;
}

@media (min-width: 800px) {
	.dataTables_wrapper .dataTables_scrollHeadInner {
		width: calc(100% - 8px) !important;
	}
}

.tablepress tbody td {
	background-color: #EDEDED;
	color: #000;
	text-align: center;
	height: 48px;
	vertical-align: middle;
}

.tablepress img {
	margin: 0 auto;
}

.dataTables_wrapper {
    width: calc(100% + 16px);
    margin-left: -8px;
}

.tablepress tbody td:not(.column-1) {
	color: #C66531;
}

.tablepress thead th,
.tablepress tfoot th {
	text-align: center;
	vertical-align: middle;
}

/* AMO Fixes */
#mc-sub .nav.nav-pills.nav-stacked img {
	display: inline;
}