/*
	Theme Name: Base Theme
	Theme URI: http://pushcrankpress.com
	Description: PushCrankPress Base Theme
	Version: 1.0
	Author: PushCrankPress (webmaster@pushcrankpress.com)
	Author URI: http://pushcrankpress.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/



/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	box-sizing: border-box;
	max-width: 100%;
	padding: 0;
	overflow-x: hidden;
}
body {
	font:300 1rem/1.4;
	color:#444;
	margin: 0;
	height: 100%;
	border: 0px;
	overflow-x: hidden;
	position: relative;
/*	padding-bottom: 10rem;*/
	max-width: 100%;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	text-decoration:none;
}
a:hover {

}
a:focus {
	outline: 0;
}
a:hover,
a:active {
	outline: 0;
}
input:focus {
	outline: 0;
	border: 1px solid #04A4CC;
}
#wpadminbar {
	position: fixed;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width: 95%;
	margin: 0 auto;
	position:relative;
}
.container-fluid {
	padding: 0;
}
/* header */
.header {
	position: relative;
}
.navbar-brand {
	min-height: 60px;
	display: flex;
	align-items: center;
}

/* sidebar */
.sidebar {

}
/* footer */
.footer {
	position: relative;
	right: 0;
	bottom: 0;
	left: 0;
	margin-top: 50px;
	padding: 0;
	text-align: center;
}
.widget-row {
	display: block;
}
.footer-widget {
	display: inline-block;
	float: left;
	padding: 25px 0;
}
.copyright {
	display: block;
	clear: both;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

.blog-index {
	width: 80%;
	margin: 0 auto;
	display: block;
}
.blog-entry {
	display: block;
	margin:  100px 0;
}
.blog-entry:after {
	content: '';
	display: block;
	height: 1px;
	width: 15%;
	position: relative;
	margin: 50px auto;
	background-color: #ff0101;
}
.blog-entry h1 {
	line-height: 1;
}
.blog-entry p {

}
.blog-entry a {
	text-decoration: none;
}
.blog-entry-link a {
	background-color: #ff0101;
	color: #fff;
	font-family: 'Nunito', sans-serif;
	font-size: 18px;
	padding: 5px 15px;
	text-decoration: none;
}

/*------------------------------------*\
    STANDARD MODAL WINDOW
\*------------------------------------*/
.modalDialog {
	position: fixed;
	font-family: inherit;
	font-size: 1em;
	color: inherit;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.9);
	z-index: 9000000;
	opacity:0;
	visibility: hidden;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}
.modalDialog:target {
	opacity:1;
	visibility: visible;
	pointer-events: auto;
}

.modalDialog > div {
	width: 90%;
	max-width: 767px;
	max-height: 80vh;
	overflow: hidden;
	position: relative;
	margin: 5% auto;
	/*padding: 15px 35px 25px 35px;*/
	/*background-color: #fff;*/
}
.modalDialog > div h2 {
	font-family: inherit;
	color: inherit;
}
.modalDialog > div p {
	font-size: 1.2em;
	line-height: 1.4;
}
.modalDialog > div ol li {
	font-size: 1em;
	font-family: inherit;
	margin-bottom: 15px;
}
.close {
	color: inherit;
	line-height: 25px;
	position: absolute;
	right: 10px;
	text-align: center;
	top: 5px;
	width: 25px;
	text-decoration: none;
	font-weight: 300;
	font-size: 50px;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}

.close:hover {
	color: inherit;
	text-shadow: none;
}



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

/*@font-face {
    font-family: 'PCP';
    src: url('pcp.woff2') format('woff2'),
        url('pcp.woff') format('woff');
    font-weight: 100;
    font-style: normal;
}*/

.footer p {
	margin: 30px 0;
}
.privacy-policy-link:before {
	content: '\f023';
	font-family: FontAwesome;
	color: #000000;
	font-size: 24px;
	display: inline-block;
	margin-right: 10px;
	position: relative;
	top: 2px;
}
.relative-parent {
	position: relative;
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/


@media only screen and (max-width:768px) {
	.container {
		width: 95%;
	}
	.header .container {
		width: 80%;
	}
	.footer-widget {
		padding: 25px 0 0;
	}
	.footer-widget:last-child {
		padding: 25px 0;
	}
	.blog-index {
		width: 80%;
	}
	.blog-entry {
		margin: 50px 0;
	}
	.blog-entry h1 {
		font-size: 36px;
		line-height: 1.2;
	}
	.modalDialog > div {
		width: 90vw !important;
	}
}
@media only screen and (max-width:1024px) {

}
@media only screen and (max-width:1140px) {

}
@media only screen and (max-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (max-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
