/*
Theme Name:     Monster
Description:    Monster Theme
Author:         Monster
Version:        1.1
*/


/* Responsive images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

/* Make sure videos and embeds fit their containers */
embed,
iframe,
object,
video {
	max-width: 100%;
}
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* Images */
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry-content img,
.comment-content img,
.widget img,
img.header-image,
.author-avatar img,
img.wp-post-image {
	/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
	border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-style: italic;
	font-size: 12px;
	line-height: 2;
	color: #757575;
}
img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.entry-content dl.gallery-item {
	margin: 0;
}
.gallery-item a,
.gallery-caption {
	width: 90%;
}
.gallery-item a {
	display: block;
}
.gallery-caption a {
	display: inline;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5%;
}
.gallery-columns-1 .gallery-icon img {
	padding: 3%;
}


/* Author profiles */
.author .archive-header {
	margin-bottom: 24px;
}
.author-info {
	border-top: 1px solid #ededed;
	margin: 24px 0;
	padding-top: 24px;
	overflow: hidden;
}
.author-description p {
	color: #757575;
	font-size: 13px;
	line-height: 1.846153846;
}
.author.archive .author-info {
	border-top: 0;
	margin: 0 0 48px;
}
.author.archive .author-avatar {
	margin-top: 0;
}

/*
******************************************************************************************************************

MONSTER STYLES


******************************************************************************************************************
*/

/* =Basic structure
--------------------------------------------------------------
Body margin looks better at 0.  0 top margin is needed to prevent sticky menu from sliding up on scroll (Google default margin = 8).
*/

/* Body, links, basics */
html {
	font-size: 100%;
}

/* Black font, default is gray */
body, .page, .post, .entry-content table, .comment-content-table {
	font-size: 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	margin: 0;
	text-rendering: optimizeLegibility;
}

a {
	outline: none;
	color: #21759b;
}
a:hover {
	color: #0f3647;
}


h1 {
	font-size: 36px;
}

/* Make adminbar scrollable */
#wpadminbar {
	position: absolute !important;
}

/* Set main body section to a minimum height, otherwise some pages look very short (e.g. 404 pages) */
#main {
	min-height: 500px;
}

.site-content {
	padding: 40px;
}

.entry-meta {
	clear: both;
}
.entry-header {
	margin-bottom: 24px;
}
.entry-header img.wp-post-image {
	margin-bottom: 24px;
}
.entry-header .entry-title {
	font-size: 36px;
	line-height: 1.2;
	font-weight: normal;
}
.entry-header .entry-title a {
	text-decoration: none;
}
.entry-header .entry-format {
	margin-top: 24px;
	font-weight: normal;
}

li {
	line-height: 1.5;
/*	margin-bottom: 10px;*/
}

/* Border around images, Gutenberg doesn't apply one */
figure img {
	border: 1px solid lightgray;
}


/*
	---------------------------------------------------------------------------------------------------
	Header
	---------------------------------------------------------------------------------------------------
*/

/* Sticky header isn't  used because it interferes with documentation links */
.site-header {
	align-items: center;
	background-color: white;
	border-bottom: 1px solid lightgray;
	display: flex;
	justify-content: space-between;
	padding: 0px 40px;
	z-index: 10;
}

.mp-logo {
	height: 48px;
}


/*
	---------------------------------------------------------------------------------------------------
	Plugin styling
	---------------------------------------------------------------------------------------------------
*/

/* Messages */
.mp-message {
	border: 1px solid rgb(230, 219, 85);
	background-color: rgb(255, 255, 224);
	padding: 8px !important;
}

/* Errors */
.mp-error {
	border: 1px solid pink !important;
	margin: 0 !important;
	padding: 8px !important;
	background-color: #ffebe8 !important;
}


/*
	---------------------------------------------------------------------------------------------------
	General styles
	---------------------------------------------------------------------------------------------------
*/


/* For some reason 2012 applies a border radius to all images, remove it */
.entry-content img,
.comment-content img,
.widget img,
img.header-image,
.author-avatar img,
img.wp-post-image {
	border-radius: 0px;
	box-shadow: none;
}

/* Set width to auto */
body.template-front-page .site-content,
body.single-attachment .site-content,
body.full-width .site-content {
	float: none;
	width: auto;
}

.mp-wide-block {
	margin: 0 -40px 0 -40px;
	width: auto;
}

/* Remove default margin for HR */
hr {
	margin-left: 0px;
}


/* Links that looks like buttons (used in menu, features page */
a.mp-link-button {
		background-color: #40b4dc;
		border-radius: 5px;
		color: white;
		padding: 10px 13px;
	}

a.mp-link-button {
	background-color: #2094bc;
}


/*
	---------------------------------------------------------------------------------------------------
	Front page template
	---------------------------------------------------------------------------------------------------
*/

.page-template-front-page {
	padding-top: 0;
}

.page-template-front-page .site-content {
	padding: 0;
}

.page-template-front-page .entry-header {
	display: none;
}

.page-template-front-page .wp-block-media-text {
	margin-left: 8%;
	margin-right: 8%;
}

.page-template-front-page .wp-block-media-text__content {
	padding: 0 20px;
}

.page-template-front-page .is-stacked-on-mobile .wp-block-media-text__content {
	padding: 0;
}

.page-template-front-page .wp-block-media-text img {
	width: 64px;
}

.page-template-front-page h1 {
	font-size: 40px;
	font-weight: bold;
}

/* Front 'mappress pro' or 'free version' buttons */
.mp-get-pro {
	background-color: #40b4dc !important;
}

.mp-get-pro, .mp-get-free {
  transition: all 0.2s ease;
  transform: scale(1);
 }

.mp-get-pro:hover, .mp-get-free:hover {
	transform: scale(1.1) perspective(1px);
}

/* Front demo map */
.page-template-front-page .mapp-layout {
	color: black;
	margin-top: 40px;
	margin-bottom: 60px;
}

.page-template-front-page .entry-content {
	margin: 0 40px;
}


.page-template-front-page  .mp-feature-block .wp-block-media-text {
	display: flex;
	flex-direction: column;
	margin-left: 10px;
	margin-right: 10px;
	text-align: center;
}

/* Make the features block into 4 columns if screen is wide enough */
@media screen and (min-width: 900px) {
	.page-template-front-page .mp-feature-block .wp-block-group__inner-container {
		display: flex;
		padding: 40px;
	}

	.page-template-front-page  .mp-feature-block .wp-block-media-text {
		flex-basis: 0;
		flex-grow: 1;
	}

}

/*
	---------------------------------------------------------------------------------------------------
	Mobile nav menu
	---------------------------------------------------------------------------------------------------
*/

.mp-menu {
	display: none;
}

.mp-menu-toggle span.fas {
	font-size: 40px;
}

.mp-mobile-menu {
	display: none;
	text-align: center;
}

.mp-mobile-menu ul {
	list-style-type: none;
	padding: 0;
}

.mp-mobile-menu.mp-toggled-on {
	display: block;
}

.mp-mobile-menu > ul > li {
	border-bottom: 1px solid lightgray;
	padding: 15px;
}

/* Sub items */
.mp-mobile-menu > ul > li > ul > li {
	padding: 10px;
}

.mp-mobile-menu a {
	color: #5e5e5e;
	text-decoration: none;
}
.mp-mobile-menu a:hover {
	color: #21759b;
}

/*
	---------------------------------------------------------------------------------------------------
	Desktop nav menu
	---------------------------------------------------------------------------------------------------
*/
@media screen and (min-width: 800px) {
	.mp-mobile-menu {
		display: none !important;
	}

	.mp-menu-toggle {
		display: none;
	}

	.mp-menu {
		display: block;
		margin-left: 10px;
	}

	.mp-menu ul {
		list-style-type: none;
		padding: 0;
	}

	.mp-menu > ul {
		align-items: center;
		display: flex;
		justify-content: space-evenly;
		margin: 0;
		max-width: 600px;
		text-indent: 0;
	}

	.mp-menu > ul > li {
		display: inline-block;
		line-height: 105px;
		text-decoration: none;
		margin: 0 40px 0 0;
		position: relative;
	}

	.mp-menu li a {
		border-bottom: 0;
		color: #6a6a6a;
		text-decoration: none;
		text-transform: uppercase;
		white-space: nowrap;
	}
	.mp-menu li a:hover {
		color: #000;
	}

	/* Style last item assuming it's 'get started' or similar */
	.mp-menu > ul > li:last-of-type a {
		background-color: #40b4dc;
		border-radius: 5px;
		color: white;
		padding: 10px 13px;
	}

	.mp-menu > ul > li:last-of-type a:hover {
		background-color: #2094bc;
	}

	/* Submenu - under main menu and slightly left */
	.mp-menu .sub-menu {
		border: 1px solid lightgray;
		border-bottom: none;
		display: none;
		position: absolute;
		top: 100%; left: -30px;
		z-index: 3;		/* Note that features table header is zindex 2 */
	}

	.mp-menu li:hover .sub-menu {
		display: block;
	}

	.mp-menu .sub-menu li {
		line-height: normal;
	}

	.mp-menu .sub-menu li a {
		background: white;
		border-bottom: 1px solid lightgray;
		display: block;
		padding: 20px;
		width: 200px;
		white-space: normal;
	}
	.mp-menu .sub-menu li a:hover {
		background: #f6f6f6;
		color: #444;
	}
	.mp-menu .current-menu-item > a,
	.mp-menu .current-menu-ancestor > a,
	.mp-menu .current_page_item > a,
	.mp-menu .current_page_ancestor > a {
		color: #636363;
		font-weight: bold;
	}

	ul.mp-menu li a {
		text-decoration: none;
		text-transform: uppercase;
	}

	.mp-menu a, .mp-mobile-menu a {
		color: #5e5e5e;
	}
	.mp-menu a:hover, .mp-mobile-menu a:hover {
		color: #21759b;
	}
}

/*
	---------------------------------------------------------------------------------------------------
	Login screen
	---------------------------------------------------------------------------------------------------

#login h1 a {
	background-image: url('./images/login.png');
}

#login #site-title {
	display: none;
}
*/

/*
	---------------------------------------------------------------------------------------------------
	Footer widgets
	---------------------------------------------------------------------------------------------------
*/
.widget-area .widget h3 {
	font-weight: bold;
	color: black;
	font-size: 100%;
	margin: 0px;
}

#footer-widgets {
	text-align: center;
	padding: 52px 0;
	width: 100%;
}

#footer-widgets .widget {
	display: inline-block;
	font-size: 12px;
	width: 40%;
	line-height: 2;
	vertical-align: top;
	margin-left: 21px;
	margin-right: 21px;
}


/*
	---------------------------------------------------------------------------------------------------
	Documentation page template
	---------------------------------------------------------------------------------------------------
*/

/* Tips ('special') box */
.tip {
	padding: 6px 8px 6px 10px;
	/* grey border-left-color: rgb(153, 153, 153); */
	border-left-color: #36c;
	border-left-width: 6px;
	border-left-style: solid;
	background-color: rgb(239, 239, 239);
	margin-top: 5px;
	margin-bottom: 5px;
}


/* Details / summary tags - much of this is just un-screwing the inherited stuff from the theme */
details {
	background-color: #fafafa;
	border: 1px solid lightgray;
	margin-bottom: 15px;
	padding: 15px;
}

details[open] {
	background-color: white;
}

details p {
	line-height: 1.5 !important;
	margin: 0 !important;
}

details h2 {
	border-bottom: 1px solid lightgray;
	font-size: 14px !important;
	font-weight: normal;
	margin: 15px 0;
}

details li {
	line-height: 1.5 !important;
	margin-bottom: 20px;
}

summary {
	border: none;
	cursor: pointer;
	font-size: 16px;
	font-weight: bold;
	outline: none;
}

details[open] summary {
	margin-bottom: 15px;
}


/* Table of contents */
.mp-toc ol {
	list-style: none;
}

.mp-toc li {
	margin: 0 0 0 36px;
}

/* Settings tables */
.mp-docs-table table {
	border-collapse: collapse;
	table-layout: auto;
	width: auto;
}

.mp-docs-table thead {
	border-bottom: 2px solid black;
}

.mp-docs-table th {
	text-align: left;
}

.mp-docs-table td, .mp-docs-table th {
	border-bottom: 1px solid lightgray;
	white-space: pre-wrap;
	word-break: normal;
	padding: 8px;
}

.mp-docs-table th, .mp-docs-table td:first-of-type {
	background-color: #f1f3f4;
}

/*
	---------------------------------------------------------------------------------------------------
	Code & preformatted
	---------------------------------------------------------------------------------------------------
*/
.entry-content code,
.comment-content code {
	font-family: Consolas, Monaco, Lucida Console, monospace;
	font-size: 16px;
	line-height: 2;
}
.entry-content pre,
.comment-content pre {
	border: 1px solid #ededed;
	color: #666;
	font-family: Consolas, Monaco, Lucida Console, monospace;
	font-size: 16px;
	line-height: 1.714285714;
	margin: 24px 0;
	overflow: auto;
	padding: 24px;
}
.entry-content pre code,
.comment-content pre code {
	display: block;
}


/**
	---------------------------------------------------------------------------------------------------
	Purchase (and renewal) page template
	---------------------------------------------------------------------------------------------------
*/

.page-template-page-purchase .site-content {
	padding: 0 40px;
}

.page-template-page-purchase .entry-header {
	text-align: center;
}


/*
	---------------------------------------------------------------------------------------------------
	BBPress
	---------------------------------------------------------------------------------------------------
*/


/* Fix default font size 12px, too small - font is defined all over the place */
#bbpress-forums,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-replies,
#bbpress-forums .bbp-forums-list li,
#bbpress-forums div.bbp-reply-author .bbp-author-role,
span.bbp-author-ip,
div.bbp-breadcrumb,
div.bbp-topic-tags,
span.bbp-admin-links a,
.bbp-topic-action #favorite-toggle a,
.bbp-topic-action #subscription-toggle a,
#bbpress-forums p.bbp-topic-meta,
.bbp-topic-pagination a,
body.reply-edit .bbp-reply-form code,
#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content,
#bbpress-forums div.bbp-the-content-wrapper input,
#bbpress-forums #bbp-your-profile fieldset span.description,
div.bbp-template-notice p,
.bbp-forum-content ul.sticky,
#bbpress-forums .bbp-reply-revision-log,
.bbp-logged-in h4,
#bbpress-forums div.row-actions {
	font-size: 14px;

}

/**
* These don't seem to be used when bbp is in theme compatibility mode, but updated just in case
*/
#bbpress-forums #bbp-user-wrapper h2.entry-title {
	font-size: 1.4em;
}

/* Unchanged, seems to be unused in bbp - just listed here because it also sets font size */
#bbpress-forums h1 {
	font-size: 1.8em;
}

/* BBP defines style for ul, but not for ol */
#bbpress-forums .bbp-topic-content ol,
#bbpress-forums .bbp-reply-content ol {
	list-style: decimal;
	padding-left: 15px;
}

/* For some reason BBP defines list-style for li */
#bbpress-forums li {
	list-style: inherit;
}

/* Styling for Cloud key page */
.mp-slug-how-to-get-a-google-maps-api-key h1 {
	text-align: center;
}

.mp-slug-how-to-get-a-google-maps-api-key .wp-block-column {
	align-items: center;
	border: 1px solid lightgray;
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	padding: 20px;
}

.mp-slug-how-to-get-a-google-maps-api-key .wp-block-column p {
	text-align: center;
}

.mp-slug-how-to-get-a-google-maps-api-key .wpforms-field {
	align-items: center;
	display: flex;
	flex-direction: column;
}


.mp-slug-how-to-get-a-google-maps-api-key  .wpforms-field-description {
	text-align: center;
	word-break: break-word !important;
}

.mp-slug-how-to-get-a-google-maps-api-key .wpforms-submit-container {
	text-align: center;
}

.mp-slug-how-to-get-a-google-maps-api-key .wpforms-submit-container button {
	background-color: #40b4dc !important;
	border-radius: 5px !important;
	color: white !important;
	padding: 10px 13px !important;
}

.mp-slug-how-to-get-a-google-maps-api-key .wpforms-submit-container button:hover {
	background-color: #2094bc !important;
}