/*
 Theme Name:   castandspear.com - GeneratePress Child
 Theme URI:    http://castandspear.com
 Description:  GeneratePress Child Theme
 Author:       
 Author URI:   http://castandspear.com
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         castandspear.com
 Text Domain:  generatepress
*/


/* Article Feedback */
#af-popup-1,
#af-popup-2,
#af-popup-3,
#af-popup-4
{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-index: 3000;
	background: rgba(0,0,0,0.6);
	display:none;
}

#af-popup-1 > div,
#af-popup-2 > div,
#af-popup-3 > div,
#af-popup-4 > div
{
	position: absolute;
	top: 50%;
	left: 0px;
	width: 100%;
	transform: translateY(-50%);
}

#af-popup-1 > div > div,
#af-popup-2 > div > div,
#af-popup-3 > div > div,
#af-popup-4 > div > div
{
	/*width: 100%;*/
	max-width: 600px;
	margin: auto;
	padding: 40px;
	border-radius: 5px;
	outline: none;
}

#af-was {
	text-align: center;
	margin: 40px auto;
	padding: 30px 40px;
	box-shadow: 0px 3px 20px 0px rgba(0,64,128,0.1);
	max-width: 350px;
	border-radius: 0px;
	background: #fffcf5;
}

#af-was.inactive {
	box-shadow: none;
	opacity: 0.5;
}
@media (min-width: 400px) {
	.af-row
	{
		display: flex;
		margin: 15px -15px;
	}

	.af-column
	{
		padding: 0px 15px;
		flex: 50%;
	}
}

#af-yes
{
	background: #8ccc6a;
	margin-right: 10px;
}

#af-no
{
	background: #e05a61;
}

#af-feedback-form input[type="submit"] {
	font-size: 20px;
	margin-top: 15px;
	padding: 15px 30px;
}

#af-yes,#af-no
{
	width: 100px;
	text-decoration: none;
	padding: 8px 24px;
	display: inline-block;
	padding: 10px 0;
	border: 0px;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.19);
	text-transform: uppercase;
	font-weight: 700;
	color: #fff;
	border-radius: 3px;
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition:    all 0.1s ease-in-out;
	-ms-transition:     all 0.1s ease-in-out;
	-o-transition:      all 0.1s ease-in-out;
	transition:         all 0.1s ease-in-out;
}

#af-yes:hover,#af-no:hover
{
	opacity: 0.8;
}

#af-yes.inactive
{
	cursor: default;
	background: #c9cecc;

}

#af-no.inactive {
	background: #cec8c8;
	cursor: default;
}

#af-yes.inactive:hover, #af-no.inactive:hover 
{
	opacity: 1;
}

.af-popup-content
{
	background: #fff;
}

.af-popup-content a
{
	text-decoration: none;
	border: 2px solid transparent;
	box-shadow: none;
}
.af-header /* use this instead of h3 because of TOC+ plugin */
{
	display: block;
	font-size: 20px;
	margin-bottom: 20px;
	line-height: 1.2em;
	font-weight: bold;
	text-transform: none;
}
.af-header2 /* use this instead of h4 because of TOC+ plugin */
{
	display: block;
	margin-block-start: 1.33em;
	margin-block-end: 1.33em;
	margin-inline-start: 0px;
	margin-inline-end: 0px;
	font-weight: bold;
}
.af-popup-content h3,.af-popup-content .af-header
{
	margin-top: 0px!important;
	padding-top: 0px!important;
	font-weight: bold;
}

.af-response-select
{
	padding: 10px;
	display: block;
	color: #2584db;
	border-radius: 5px;
}

.af-popup-content
{
	position:relative;
}

.af-popup-1-content p
{
	margin-bottom: 3px;
}

.af-close-popup {
	position: absolute;
	top: 0;
	right: 0;
	padding: 15px;
	font-size: 36px;
	line-height: 0.5;
	color: #696969;
}

.af-response-select:hover
{
	border: 2px solid #e0e5e6;
}

.fa-share-button
{
	display: inline-block;
	padding: 7px 30px;
	border-radius: 30px;
	color: #fff;
	color: #fff!important;
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 5px;
}

.fa-share-button:hover
{
	color: #fff!important;
}

.fa-share-facebook
{
	background: #3a5896;
}

.fa-share-youtube
{
	background: #ff0000;
}
/*
.fa-share-button span {
	vertical-align: middle;
	font-size: 25px;
	margin-right: 10px;
	line-height: 0;
}
*/
.fa-share-button img {
	vertical-align: middle;
	margin-right: 10px;
	line-height: 0;
	height: 30px;
}
.af-poopup-content-3
{
	text-align: center;
}
/* Article Feedback */

/* Popular Posts */
.eg-popular-posts {

}
.eg-popular-posts .eg-pop-post {
	
}
.eg-popular-posts .eg-pop-post img {
	width: 100%;
	border-radius: 4px;
}
.eg-popular-posts .eg-pop-post .eg-pop-title {
	color: black;
	font-weight: bold;
	font-size: 14px;
	display: block;
	margin-bottom: 20px;
}
/* Popular Posts */


/* Related Posts */
.eg-related-posts {
	display: flex;
	flex-wrap: wrap;
}
.eg-related-posts .eg-related-post {
	flex-grow: 1;
	flex: 40%;
	margin: 10px;
}
.eg-related-posts .eg-related-post img {
	width: 100%;
	border-radius: 4px;
}
.eg-related-posts .eg-related-post .eg-related-title {
	color: black;
	font-weight: bold;
	font-size: 14px;
	display: block;
	margin-bottom: 20px;
}
/* Related Posts */


/* Authors and Contributors */
.contributors {
	text-align: center;
}
.contributors hr {
	margin-top: 20px;
	margin-bottom: 20px;
}
/* We're copying <h3> style here to a <span> because h3 gets pulled into the table of contents */
.contributors > .title {
	display: block;
	font-size: 20px;
	margin-bottom: 20px;
	line-height: 1.2em;
	font-weight: 400;
	text-transform: none;
	font-weight: bold;
	margin-bottom: 10px;
}
.contributors .author {
	width: 115px;
	display: inline-block;
	margin: 10px;
	font-size: 14px;
}
.contributors .author .name {
	font-weight: bold;
}
.contributors .author .title {
	/* ... */
}

.contributors .author img {
	width: 75px;
	max-width: 100%;
	border-radius: 100%;
	
}
/* Authors and Contributors */








/* For Shortcode: Product Table */
.eg-table {
	border-spacing:0;
	width:100%;
	border-top:1px solid #dcdcdc;
	border-collapse:unset
}
.eg-table .col-image{
	text-align:center;
	margin:10px 0;
	border-left:1px solid #DCDCDC;
	border-bottom:1px solid #DCDCDC;
	width:15%;
	border-right:none;
	vertical-align:middle;
	padding:5px 0px;
	height:150px
}
.eg-table img {
	max-height:150px;
	margin:0px;
	height:auto;
	max-width:70%
}
.eg-table .col-cta{
	border-top:0px;
	border-right:1px solid #DCDCDC;
	border-bottom:1px solid #DCDCDC;
	width:30%;
	vertical-align:middle;
	padding:0 10px 0 5px;
	text-align:center;
	border-left:none
}
.eg-table .col-product {
	font-family:inherit,sans-serif;
	border-bottom:1px solid #DCDCDC;
	width:25%;
	padding:0 5px;
	border-right:none;
	border-left:none;
	vertical-align:middle
}
.eg-table .col-features{
	width:30%;
	border-bottom:1px solid #DCDCDC;
	text-align:center;
	border-right:none;
	padding:0 5px;
	vertical-align:middle
}
.eg-table__column-title{
	text-align:left;
	font-family:inherit,sans-serif;
	font-size:20px;
	font-weight:bold;
	margin:8px 0 8px 0;
	display:block;
	line-height:1.2;
	background:-webkit-linear-gradient(#424C5C,#424C5C);
	-webkit-background-clip:text;
	-webkit-text-fill-color:transparent
}
.eg-table__column-title span{
	text-align:center;
	text-transform:uppercase;
	text-decoration:none;
	width:100%;
	letter-spacing:.5px;
	font-weight:bold;
	font-size:20px;
	margin:auto 5px
}
.eg-table__button{
	display:block;
	background-color:#D22B33;
	line-height:16px;
	text-decoration:none;
	text-transform:uppercase;
	color:#fff;
	font-weight:bold;
	font-size:14px;
	letter-spacing:0.2px;
	border-radius:10px;
	padding:10px 14px;
	width:auto;
	max-width:200px;
	margin:auto auto;
	text-align:center;
	transition:.2s linear;
	-webkit-box-shadow:0 5px 0 0 #9C1E24;
	-moz-box-shadow:0 5px 0 0 #9C1E24;
	box-shadow:0 5px 0 0 #9C1E24
}
.eg-table__button:hover{
	background-color:#9C1E24;
	-webkit-box-shadow:0 5px 0 0 #661317;
	-moz-box-shadow:0 5px 0 0 #661317;
	box-shadow:0 5px 0 0 #661317
}
.eg-features-item-mobile-container{
	padding:0 0
}
.eg-table__features-item-mobile{
	line-height:20px;
	font-family:inherit,sans-serif;
	padding:0 0 0 25px;
	margin:0px;
	color:#EF567A;
	font-size:17px;
	text-align:left;
	list-style-type:disc;
	font-weight:bolder;
	text-align:center;
	text-transform:uppercase
}
.eg-table__features-item-mobile li{
	text-align:left;
	margin:4px 0 4px 0px;
	line-height:1;
	padding-left:0px
}
.eg-table__features-item-mobile li:empty{
	display:none
}
.eg-table__features-item-mobile span{
	color:#484848;
	font-size:15px;
	font-weight:400;
	line-height:1;
	text-align:center;
	text-transform:none
}
.eg-table__link{
	margin:auto auto;
	width:100%;
	display:block;
	text-decoration:none;
	line-height:1.5;
	list-style:none;
	padding:auto auto
}
.eg-table__link:active,.eg-table__link:visited{
	color:#000
}
.eg-table__link-label{
	color:#fff;
	margin:30px 0 8px;
	position:relative;
	text-transform:uppercase;
	background:#29B14C;
	border:2px solid #29B14C;
	padding:4px 4px;
	max-width:120px;
	clear:both
}
div.eg-table__link-label{
	color:#FFF;
	font-size:12px;
	margin-top:5px;
	margin-bottom:5px;
	word-break:keep-all;
	border-bottom-right-radius:0px;
	border-top-left-radius:0px;
	line-height:1
}
div.eg-table__link-label:empty{
	display:none
}
div.eg-table__link-label span{
	margin:auto
}
div.eg-table__link-label::before{
	display:none;
	width:10px;
	height:0px;
	position:absolute;
	bottom:-15px;
	left:-12px;
	content:"";
	border-bottom:13px solid transparent;
	border-right:9px solid #29803F
}
div.eg-table__link-label::after{
	content:"";
	position:absolute;
	display:none;
	border:12px solid;
	border-color:#29B14C transparent #29B14C transparent;
	right:-14px;
	top:-2px
}
@media screen and (max-width:750px){
	.eg-table__thead-image,.eg-table__thead-details,.eg-table__thead th:last-child{
		display:none
	}
	.eg-table__thead-product{
		width:100%;
		border-top-left-radius:0px;
		border-top-right-radius:0px;
		text-align:center;
		padding-left:0px
	}
	.eg-table > tbody {
		display:block;
		flex-direction:column
	}
	.eg-table > tbody > tr {
		display:flex;
		flex-wrap:wrap;
		border-left:1px solid #dcdcdc
	}
	.eg-table .col-product {
		width:100%;
		order:1;
		border-bottom:none;
		text-align:center;
		border-right:1px solid #DCDCDC;
		padding-top:20px;
		padding-bottom:5px;
		padding-left:0px;
		padding-right:0px
	}
	.eg-table .col-image{
		width:50%;
		order:2;
		margin:auto;
		box-sizing:border-box;
		border-left:none;
		border-bottom:none;
		display:flex;
		justify-content:center;
		align-items:center;
		border-top:none
	}
	.eg-table__column-features{
		order:3;
		width:50%;
		border-right:1px solid #DCDCDC;
		box-sizing:border-box;
		border-bottom:none;
		align-items:center;
		margin:0 0;
		display:flex;
		text-decoration:none;
		line-height:1.5;
		list-style:none;
		padding:5px 5px 5px 5px;
		text-align:center;
		border-top:none;
		border-left:none
	}
	.eg-table .col-cta{
		width:100%;
		order:4;
		display:flex;
		justify-content:center;
		align-items:center;
		padding-top:10px;
		padding-bottom:15px
	}
	.eg-table__button{
		font-size:15px
	}
	.eg-table__features-item-mobile li{
		margin-bottom:5px;
		font-size:17px
	}
	.eg-table__button{
		width:60%
	}
	.eg-table__column-title{
		font-size:20px;
		text-align:center;
		margin:0 10px;
		padding-left:0px
	}
	.eg-table__features-item-mobile{
		display:block
	}
	.eg-table img {
		margin:auto;
		max-width:90%
	}
	div.eg-table__link-label::before{
		display:block
	}
	div.eg-table__link-label{
		margin-left:-9px;
		margin-top:-10px;
		margin-bottom:10px
	}
	div.eg-table__link-label::after{
		display:block
	}
	.eg-table__link-label{
		max-width:max-content
	}
}