/*
Theme Name:     Power Theme
Description:    Custom WP Theme for Samantha Power
Author:         David Cosgrove
Author URI: http://davidcosgrove.com
Template:       twentynineteen
Version: 1.2.1
*/



/*
Sample : remove the comment and start adding your own custom CSS rules.

body {
	background-color:#fff;
}

*/

body, html {
 	width: 100%;
	min-width: 100%;
	max-width: 100%;
    overflow-x: hidden;
}
body p {
	font-size: 18px;
}
body, body *:not(i) {
	font-family: 'Greycliff' !important;
}
@media (max-width: 600px) {
	body h1 {
		font-size: 30px;
	}
}



h1.entry-title {
    font-size: 2.8125em;
    color: #4e3b64;
}

body h1:before,
body h2:before,
body h3:before{
	display: none !important;
}
.hidden {
	display: none !important;
}

body:not(.home) section#primary {
    padding: 10px 0 0 0;
}

@media all and (max-width: 768px) {
	section#primary {
		padding: 10px !important;
	}
}
body .entry .entry-header {
    margin-top: 10px;
}


.featherlight-content .hidden {
	display: block !important;
}
/*EVENTS*/

/*Event Grid*/
.mk-col-3-12 {
    width: 25%;
}

.mk-col-4-12 {
    width: 33.33%;
}
.mk-col-2-12 {
    width: 16.667%;
}

.mk-col-2-12 {
    width: 16.667%;
}

[class*=mk-col-] {
    float: left;
    padding-right: 25px;
    min-height: 1px;
}

[class*=mk-col-]:last-of-type {
    padding-right: 0;
}

@media handheld, only screen and (max-width: 768px) {
	[class*=mk-col-] {
		width: auto;
		float: none;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 20px;
		padding-left: 20px;
		padding-right: 20px;
	}
}
/*Event Contents*/

#events {
    max-width: 1000px;
    margin: auto;

}

#events .item.archive p {
    color: gray;
}

#events .item {
    padding: 20px 0;
	border-bottom: 1px solid #998888;
	clear:both;
	overflow: hidden;
	margin: 10px 0;
}

#events .item:last-of-type {
	border-bottom: none;
	margin-bottom: 50px;
}



#events p{
    text-transform: uppercase;
    font-size: 22px;
    line-height: 28px;
    font-weight: 800;
	margin: 0;
}

#events .tickets {
	text-align: right;
}
#events a {
	color: white;
	padding: 10px 20px;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	border-radius: 5px;
	background-color: #4e3b64;
}

#events a.void {
	background: #998888; !important
}
#events a:hover {
	background-color: #4e3b64;
	opacity: 0.8;

}


#events .venue p {
    color: #6c91a0;
}

@media all and (max-width: 880px) and (min-width: 768px) {
    #events .tickets {
        font-size: 12px;
	}
	
	#events .tickets a {
		padding-left: 10px;
		padding-right: 10px;
    }
}




/*BOOK TEMPLATE*/
 @media all and (min-width: 767px) {
	#book {
		display: flex;
		max-width: 1300px;
		margin: auto;
	}
	.left {
		width: 25%;
	}
	.right {
		width: 75%;
		padding-left: 60px;
	}


}

.edition, .details {
	display: none;
}


.book_nav {
	display: block;
	clear: both;
	position: relative;
	min-height: 50px;
	padding: 2px;
	margin-bottom: 20px;
}

.left img.cover {
	display: block;
	-webkit-box-shadow: 0 5px 25px rgba(0,0,0,.3), 0 0 10px rgba(0,0,0,.1) inset;
	box-shadow: 0 5px 25px rgba(0,0,0,.3), inset 0 0 10px rgba(0,0,0,.1);
	margin: 0 auto 40px; 
	float: none;
}

a.buy {
	padding: 4px 13px;
	color: white;
	background: #4e3b64;
	margin: 0;
	display: inline-block;
	position: relative;
	text-decoration: none;
}

select#editions {
	display: inline-block;
	padding: 5px 13px 5px 6px;
	font-size: 15px;
	top: 1px;
	position: relative;                
}

.edition {
    margin-bottom: 10px;
}

.edition a {
	border: 1px solid #adb5bd;
	margin: 2px;
	min-width: 80px;
	padding: 8px;
	text-align: center;
	display: inline-block;
	line-height: 1em;
}

.edition a img {
	filter: grayscale(100%);
	height: auto;
	height: 28px;
	width: auto;
	transition: 0.2s filter;
	position: relative;
	top: 0;
	bottom: 0;
	margin: 0 auto;
}

.edition a:hover img {
	filter: none;
}


.share {
	margin: 25px 0;
}


.share a {
	-webkit-background-clip: padding-box;
    -webkit-box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
    border-radius: 2px;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.2);
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 0.7em;
    margin-right: 2px;
    margin-top: 2px;
    padding: 2px 8px 4px!important;
    text-decoration: none;
}

.share a.twitter {
	background: #00aced;
}

.share a.twitter:hover {
	background: #0084b4;
}

.share a.facebook {
	background: #3b5997;
}

.share a.facebook:hover {
	background: #2d4372;
}

.share a.linkedin {
	background: #0074a1;
}

.share a.linkedin:hover {
	background: #006288;
}


/*reading guide*/
.guide {
	display: inline-block;
	height: auto;
	overflow: hidden;
	padding: 0;
	width: 100%;
	text-align: center
}

.guide .button {
	padding: 010px;
	margin: 0 auto;
	position: relative;
	display: inline-block;
	background: #6c91a0;
	color: white !important;
	font-size: 15px;
}

/*BOOKS PAGE */
#books {
    -webkit-box-pack: center!important;
    -ms-flex-pack: center!important;
    justify-content: center!important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
	max-width: 1140px;
	margin: auto;
}
@media (min-width: 768px) {
	#books .item {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 25%;
		flex: 0 0 25%;
		max-width: 25%;
	}
}

#books .item {
	margin: 0 auto;
	text-align: center;
	display: block;
	padding: 20px;
}

#books .item .cover {
	position: relative;
	display: block;
	box-shadow: 0 5px 25px rgba(0,0,0,.3), inset 0 0 10px rgba(0,0,0,.1);
	margin-bottom: 20px;
}

@media all and (max-width: 768px) {
	#books .item .cover {
		width: 100%;
		height: auto;
	}
}
#books .item img {
	display: block;
	width: auto;
}

.item a.title {
    color: black;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1em;
    line-height: 1.25;
    display: inline-block;
}

/*Quick Look*/

#books .item .quicklook {
	display: none;
	position: absolute;
	background: #4e3b64;
	color: white;
	top: auto;
	bottom: 15px;
	width: 75%;
	margin: auto;
	text-transform: uppercase;
	
}

#books .item:hover .quicklook {
	display: inline-block;
}

.quickcontent {
	display: none;
}
@media all and (min-width:769px) {
	.quick .wrap {
		display: flex;
	}

	.quick .left {
		width: auto;
		max-width: 25%;
	}


	.quick .right {
		width: auto;
		max-width: 75%;
	}
	.quick .wrap {
		margin: auto;
		text-align: left;
	}
}
	
.quick {
    max-width: 1000px;
    text-align: center;
}

.quick .edition {
    margin-top: 25px;
}

.buy.readmore {
	background: #f8f9fa;
	color: black;
}

.quick .left img.cover {
    margin-bottom: 10px;
}

.quick .left {
    text-align: center;
    color: black;
    font-size: 17px;
    font-weight: bold;
}