/*--------------------------------------------------------------
# Print Styles
--------------------------------------------------------------*/

body {
	background-color: #fff;
	font-family: 'Arial', 'sans-serif';
}

* {
	background-color: transparent !important;
	color: #000 !important;
}

.screen-reader-text,
.menu-main-menu-container,
nav,
.desktop-search,
#header-video,
.video-controls,
.page-home .masthead .inner,
.live-rates,
.geo-40deg,
.geo-10deg,
.geo-50deg,
.geo-35deg,
.geo-55deg,
.geo-neg10deg,
.button_read,
.form-signup,
.cards .inner img,
.video-section,
.main-footer,
svg,
.link-list,
.cases > div:not(:first-of-type)::before,
.closed.custom-background,
.button,
.search-form,
.grid-address .direct a[href*="tel:"]:before,
.grid-address .direct a[href*="mailto:"]:before,
.filters,
.masthead img,
.listing-slider,
.ipf_people-template-default .media,
.ipf_people-template-default .listings,
.blog-hero_single::before,
.broker .author img,
.top-header .menu {
	display: none !important;
}

.top-header h1,
.top-header span.visually-hidden {
    font-size: 50px;
    font-weight: bold;
}

.top-header .logo {
    display: none !important;
}

.hero-block .inner,
.blog-hero .inner {
	margin: 0;
}

.grid-address .direct a[href*="tel:"],
.grid-address .direct a[href*="mailto:"] {
	visibility: visible !important;
	overflow: visible !important;
}

.grid {
	display: block;
}

.grid.listings > div {
	display: block;
	margin-bottom: 20px;
}

img {
	max-width: 100% !important;
	height: auto !important;
}

.top-header .logo img {
	max-width: 25% !important;
}

.blog-hero {
	min-height: 0 !important;
}

@media print {
    body,
    .entry-content > div p {
        width:100% !important;
        margin:0 !important;
        padding:0 !important;
        line-height: 1.45;
        color: #000;
        background: none;
        font-size: 12pt !important;
    }

    /* Headings */
    h1,h2,h3,h4,h5,h6 { page-break-after:avoid; }
    h1{
        font-size: 19pt !important;
        line-height: 24pt !important;
    }
    h2{
        font-size: 17pt !important;
        line-height: 20pt !important;
        padding-bottom: 10pt !important;
    }
	.solutions h2 {
		padding-bottom: 0 !important;
	}
    h3{
        font-size: 15pt !important;
        line-height: 18pt !important;
    }
    h4,h5,h6{
        font-size: 14pt !important;
        line-height: 16pt !important;
    }


    p, h2, h3 { orphans: 3; widows: 3; }

    code { font: 12pt Courier, monospace; }
    blockquote { margin: 1.2em; padding: 1em;  font-size: 12pt; }
    hr { background-color: #ccc; }

    /* Images */
    img { float: left; margin: 1em 1.5em 1.5em 0; max-width: 100% !important; }
    a img { border: none; }

    /* Links */
    a:link, a:visited { background: transparent; font-weight: 700; text-decoration: underline;color:#333; }
    a:link[href^="http://"]:after, a[href^="http://"]:visited:after { content: " (" attr(href) ") "; font-size: 90%; }

    abbr[title]:after { content: " (" attr(title) ")"; }

    /* Don't show linked images  */
    a[href^="http://"] {color:#000; }
    a[href$=".jpg"]:after, a[href$=".jpeg"]:after, a[href$=".gif"]:after, a[href$=".png"]:after { content: " (" attr(href) ") "; display:none; }

    /* Don't show links that are fragment identifiers, or use the `javascript:` pseudo protocol .. taken from html5boilerplate */
    a[href^="#"]:after, a[href^="javascript:"]:after {content: "";}

    /* Table */
    table { margin: 1px; text-align:left; }
    th { border-bottom: 1px solid #333;  font-weight: bold; }
    td { border-bottom: 1px solid #333; }
    th,td { padding: 4px 10px 4px 0; }
    tfoot { font-style: italic; }
    caption { background: #fff; margin-bottom:2em; text-align:left; }
    thead {display: table-header-group;}
    img,tr {page-break-inside: avoid;}


    header.top-header,
    .entry-content > div {
        padding: 0 1rem;
        width: 90%;
        margin: 0 auto;
        min-height: inherit !important;
    }

    .top-header span.visually-hidden {
        font-weight: bold;
        font-size: 50px;
    }

    /* .entry-content > div {
        margin-bottom: 20pt;
    } */

    .solutions .tabs {
        padding-right: 0;
        padding-left: 0;
    }

	.cases {
		page-break-before: always;
	}

    .cases>.cases__wrapper img,
    .cases>.cases__wrapper iframe,
    .cases>.cases__wrapper figure,
    .cases>.cases__wrapper:nth-child(odd) div.cases__item,
    .cases>.cases__wrapper:nth-child(even) div.cases__item {
        margin: 0 !important;
        width: 100%;
        max-width: 100%;
        height: auto;
		padding: 0;
    }


    .cases {
        flex-wrap: wrap;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        /* align-content: stretch; */
    }

    .cases header,
    .cases>.cases__wrapper div.cases__item {
        flex-basis: 100%;
        margin-bottom: 0;
    }

    .hero-block .content {
        width: 100%;
    }

    .cases.cases__outer {
        margin-bottom: 20pt;
        box-shadow: none;
        flex-wrap: wrap;
        width: 46%;
/*         background: lightcyan !important; */
        margin-left: 0;
        margin-right: 0;
        /* align-content: stretch; */
        /* align-items: stretch; */
    }

    .cases>.cases__wrapper div.cases__item {
        box-shadow: none;
        /* outline: 1px solid #333; */
        outline-offset: -1px;
    }

    div#all-cases .cases.cases__outer {
    flex-basis: 100%;
        width: 100%;
        margin-bottom: 0;
    }

    div#all-cases .cases.cases__outer .cases__wrapper {
        flex-basis: 46%;
        margin-bottom: 20pt;
        border-bottom: none;
    }

    .cases>.cases__wrapper div.cases__item.two-col {
        display: flex;
        flex-wrap: wrap;
    }

    .cases>.cases__wrapper div.cases__item.two-col div {
        flex-basis: 100%;
    }

    .cases>.cases__wrapper div.cases__item.two-col div li {
        font-size: 12pt;
    }

    .solutions div.tab-panel {
        flex-basis: 100%;
        padding: 0;
    }

    /* Display targets of links */
    a[href^="http"]:not([href*="meridian.dev02.inverseparadox.net"]):after,
    a[href^="http"]:not([href*="meridiancapital.com"]):after {
        content: " (" attr(href) ")";
    }

    /* Display expansions of abbreviations */
    abbr[title]:after {
        content: " (" attr(title) ")";
     }

    /* Don't display maps,...*/
    .map iframe {
        display: none;
    }

	.masthead.hero-block.map-block {
		display: none;
	}

    .grid-address .direct,
    .grid-address .direct p,
    .grid-address .direct a {
        font-size: 12pt !important;
    }

    .grid-address .direct, .grid-address .direct p, .grid-address .direct a {
        font-size: 12pt !important;
    }

    .grid-address {
        display: flex;
        flex-wrap: wrap;
        line-break: anywhere;
        justify-content: space-between;
		grid-gap: inherit;
    }

    .grid.grid-address > div {
        flex-basis: 100% !important;
		max-width: none !important;
		margin-bottom: 20pt;
		/* border: 1px solid #000; */
    }

    .grid-address>div:nth-of-type(3n+1):not(:nth-last-child(3))::before,
	.grid-address>div:not(:last-of-type)::before {
        display: none !important;
    }

	.grid-address .direct a[href*="tel:"], .grid-address .direct a[href*="mailto:"] {
		width: 100%;
		display: block;
		height: auto;
		margin: 0;
		left: 0;
		position: relative;
	}

	.wp-block-button,
	.button,
	.btn {
		display: block;
		width: 90%;
		margin: 0 auto;
	}

	.wp-block-button .wp-block-button__link {
		word-break: break-word;
		line-break: auto;
		overflow-wrap: break-word;
	}

	.wp-block-button a,
	.button a,
	.btn a {
		background-color: #000 !important;
		color: #fff !important;
		word-break: break-word;
		line-break: auto;
		overflow-wrap: break-word;
	}
}
