/*!
Theme Name: NM Insurance
Theme URI: https://www.codexdigital.com.au
Author: Codex Digital
Author URI: https://www.codexdigital.com.au
Description: Custom Theme for NM Insurance designed by Codex Digital
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: nminsurance
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

NM Insurance is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


#sso-form-ie
{
	display: block;
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
	padding: 20px;
	z-index: 1000;
}

#sso-form-ie .inner
{
	max-width: 500px;
	margin: 0 auto;
	padding: 30px;
	background-color: white;
}

#closePopUp
{
	position: absolute;
	top: 0em;
	right: 0em;

	
	color: #dddddd;
	border-radius: 50%;
	width: 1em;
	height: 1em;

	text-align: center;

	font-size: 6rem;
	font-family: monospace;
	line-height: 1;
	cursor: pointer;
}

#closePopUp:hover
{
	
	color: #fff;
	cursor: pointer;
}


body.blog h2
{
	font-size: 26px;
	margin-bottom:0.6em;
	line-height:1.3em;
}

body.blog h2 a
{
	color: inherit;
}

body.blog .site-main
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content:center;
	justify-content:center;
}

body.blog .site-main article
{
	flex-basis: 100%;
	padding: 50px;
	background-color:#fafafa;
	margin:1%;
}

@media (min-width:768px)
{
	body.blog .site-main article
	{
		flex-basis: 40%;
	}
}

body.blog .more-link
{
	display: block;
	background-color: #009cce;
	color: white;
	padding: 10px 20px;
	margin: 20px 0;
	width: 200px;
	text-align: center;
}

body.blog .post-thumbnail img
{
	height:300px;
	width:auto;
	margin:0 auto;
	display: block;
	max-width: 1000px;
	position: absolute;
	top:0;
	left:0;
	right: 0;
}

body.blog .post-thumbnail 
{
	background: #efefef;
	display: block;
	overflow:hidden;
	position:relative;
	height:300px;
}


.site-main article .entry-meta
{
	border-top:1px solid #ccc;
	padding:10px 0;
	font-size: 16px;
}

.site-main article footer .edit-link
{
	display: block;
}
.site-main article footer,
article .byline
{
	display: none;
}

/* ----- */

body.single-post .site-main article
{
	padding:100px 30px;
	max-width:1024px;
	margin:0 auto;
}


body.single-post .post-thumbnail img
{
	height:auto;
	width:100%;
	margin:0 auto;
	display: block;
	
}

body.single-post .post-thumbnail 
{
	background: #efefef;
	display: block;
}

body.single-post .post-navigation
{
	text-align: center;
	font-size: 16px;
	margin-bottom:40px;
}

.nav-previous,
.nav-next
{
	padding: 0 20px;
	display:inline-block;
}

.nav-previous + .nav-next
{
	border-left:1px solid #ccc;
}

.nav-previous:before,
.nav-next:after
{
	font-family: 'Font Awesome 5 Pro';
}

.nav-previous:before
{
	content: "\f053";
	margin-right: 10px
}

.nav-next:after
{
	content: "\f054";
	margin-left: 10px
}


@media (min-width: 1200px) {
	.basic-content-cards-container.two-columns .basic-content-cards .card {
		-ms-flex-preferred-size:40%;
		flex-basis: 40%;
		margin-right: 40px
	}

	.basic-content-cards-container.two-columns .basic-content-cards .card:nth-child(3n) {
		margin-right: 40px
	}
	
	
	.basic-content-cards-container.two-columns .basic-content-cards .card:nth-child(2n) {
		margin-right: 0
	}
}

.contact-icons div.icon {
	height: auto !important;
}
