/*
Theme Name: Writerspace
Description: Custom WordPress theme for Writerspace
Author: Writerspace
Version: 2.6
*/

:root {
  --yellow: #fcfae1;
  --orange:#da4a27;
  --green:#038060;
  --aqua:#00a2ad;
  --purple:#580152;
  --dark-green:#005840;
  --header-bg: #77cfe3;
}

/*
	Global styles
*/
html {	
	background:#ffffff;
	width:100%;
	font-size:100%;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body{
	background:var(--menu-bg, #005840);
	font-size:1em;
	color:#333333;
	line-height:1.5em;
	min-width:300px;
	font-family:arial, helvetica, sans-serif;
}

/*---------------------------
 type styles ---------------------------*/
h1, h2, h3, h4 ,h5, h6{
	margin:0;
	padding: 0 0 25px 0;
	color:#4d4d4d;
	line-height:normal;
	font-family: 'El Messiri', sans-serif;
}
h1{
	font-size:36px;
	
}

h2{
	font-size:30px;
}
h3{
	font-size:24px;
}
h4{
	font-size:24px;
}
h5{
	font-size:21px;
}
h6{
	font-size:18px;
}

p{
	margin:0 0 20px 0;
}

a {
	text-decoration:none;
	color:#609396;
}
a:hover{
	text-decoration:underline;
	color:#604a79;
}
a.read-more,a.moretag{
	background: var(--orange); /* Old browsers */
	border:none;
	padding:10px 15px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-o-border-radius:3px;
	border-radius:3px;
	color:#ffffff;
	font-weight:normal;
	font-size:18px;
	cursor:pointer;
	display:inline-block;
}
a.read-more:hover,a.moretag:hover{
	background: var(--orange); /* Old browsers */
	color:#ffffff;
	text-decoration:none;
}
.no-link > a{
	cursor:default;
}
b,strong{
	font-weight:bold;
}
em{
	font-style:italic;
}
hr{
   

    margin: 0 auto;
    text-align: center;
    display: block;
    border: none;
    color: white;
    height: 1px;
    background: black;
    background: -moz-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 50%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 50%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#00000000',GradientType=1 );
    max-width: 700px;
    width:80%;
}
/* list styles
-------------------------------------*/
ul{
	list-style:disc;
	margin:0 0 20px 0;
	padding:0 0 0 20px;
}
ol{
	list-style:decimal;
	margin:0 0 20px 0;
	padding:0 0 0 20px;
}
ol li,ul li{
	padding: 0;
}
ul.no-list,ol.no-list,ul.no-list > li, ol.no-list > li{
	margin:0;
	padding:0;
	list-style:none;
}

/* form fields
-------------------------------------*/
input[type=text], 
input[type=url], 
input[type=email],
input[type=tel],
input[type=number],
input[type=password], 
textarea,select {
	padding: 10px ;
	border:1px solid #999999;
	width:100%;
}

input[type="submit"]{
	background: var(--orange); /* Old browsers */
	border:none;
	padding:10px 15px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-o-border-radius:3px;
	border-radius:3px;
	color:#ffffff;
	font-weight:normal;
	font-size:18px;
	cursor:pointer;
}

input[type="submit"]:hover{
background: var(--orange); /* Old browsers */
color:#ffffff;
}

.gform_wrapper ul li.gfield {
    clear: none;
    padding-bottom:0px;
}

.gform_wrapper input[type=text], .gform_wrapper input[type=url], .gform_wrapper input[type=email], .gform_wrapper input[type=tel], .gform_wrapper input[type=number], .gform_wrapper input[type=password],textarea,select {
outline-style: none;
font-size: 16px;
font-family: inherit;
padding: 10px !important;
letter-spacing: normal;
	border:1px solid #999999;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-o-border-radius:5px;
	border-radius:5px;
}

.gform_wrapper select {
outline-style: none;
font-size: 16px;
font-family: inherit;
padding: 10px 2px;
letter-spacing: normal;
	border:1px solid #999999;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-o-border-radius:5px;
	border-radius:5px;
}
.gform_wrapper textarea {
outline-style: none;
font-size: 16px;
font-family: inherit;

letter-spacing: normal;
	border:1px solid #999999;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-o-border-radius:5px;
	border-radius:5px;
}
.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning,.error {
background-color: #FFDFE0;
margin-bottom: 6px !important;
padding: 6px 6px 4px 6px !important;
border-top: none;
border-bottom: none;
}
.gform_wrapper .gform_footer {
padding: 15px 0 0 0 !important;
margin: 0 !important;
}
.gform_wrapper span.ginput_product_price {
  color: #369a68;
  font-size:1.5em;
}
/*---------------------------
 image styles---------------------------*/
 img{
 	max-width:100%;
 	height:auto;
}
.alignleft{
	float:left;
	margin:5px 15px 10px 0;
}
.alignright{
	float:right;
	margin:10px 0 15px 10px;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption-text{
	font-size:10px;
	text-align:center;
	padding:0;
}

.wp-caption{
	font-size:10px;
	text-align:center;
	margin:0 0 3px 10px;
	max-width:100%;
}
/*---------------------------
 clear fix---------------------------*/
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/* bootstrap
----------------------------------------*/
.row-no-padding > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.container:before,
.container:after,
.row:before,
.row:after {
   content: normal; // IE doesn't support `initial`
}

/*---------------------------
 structure ---------------------------*/
 
.site-container{
	position:relative;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto; /* the bottom margin is the negative value of the footer's height */
	background:#fff;
	
}

body:not(.home) .main {
	background:url(images/interior-bg.jpg) repeat-y center top;
}

.main{
	padding:25px 0 50px;
	z-index:1;
	position:relative;
	background-color:#fff;
}

.home .main{
	padding:0;
	z-index:1;
	position:relative;
}

.main-content {
	padding: 10px 15px;
  margin:0 0 25px;
}

.main-content.book {
	margin:0 0 25px 0;
}

h1.page-title{
	color:#333333;
}

h1.page-title.blog{
	padding:0;
}

.content-container{
	margin:0;
	
}

/*sidebar*/
.sidebar-news-signup{
	text-align:center;
}

.sidebar-news-signup form{
	max-width:300px;
	margin:0 auto;
	display:block;
}

.sidebar-news-signup form + p{
	display:none;
}

.sidebar-news-signup form p{
	margin:0;
	padding:0;
}

.sidebar-news-signup input[type="submit"]{
	width:100%;
	display:block;
}

.sidebar-news-signup input[type="text"],.sidebar-news-signup input[type="email"]{
	width:100%;
	margin-bottom:10px;
}

#sidebar-contest img{
	width:150px;
	height:auto;
}


/*---------------------------
 header ---------------------------*/
.header{
	position:relative;
	z-index:9;
	#77cfe3;
	background:var(--header-bg, #77cfe3);
}

.header .logo {
	text-align:center;
}
	
.header .logo img.logo-desktop{
	max-width:100%;
	height:auto;
	padding:0;
	display:inline-block;
	margin:0 auto;
}

.header .logo img.logo-mobile{
	display:none;
}

.header .row{
	align-items:center;
	position:relative;
}

/*---------------------------
footer------------------------------*/
.footer{
	position:relative;
	text-align:center;
	background:var(--footer-bg, #005840);
	color:#fff;
	font-size:14px;
	z-index:2;
	padding:5px 0;
	line-height:40px;
}

.footer-title{
	font-size:18px;
	text-transform:uppercase;
	padding:5px 0 5px;
	font-weight:700;
}
 .footer li.left-col input{
 	max-width:200px;
}
p.copyright{
	font-size:12px;
	text-align:left;
	padding:0;
	margin:0;
}
p.wslink{
	width:100%;
	text-align:right;
	padding:0;
	margin:0;
}

p.wslink a,p.return-home a{
	color:#fff;
}
 .footer li.left-col form p{
 	padding:0 0 10px 0;
}
.footer li.left-col input::placeholder{
 	color:#999999;
}

.bottom-books-slider{
	padding:25px 0 0;
	background: #333;

}

.bottom-books-slider .tns-item img{
	height:300px;
	width:188px;
}

/*2 column*/
.two-column,.three-column,.four-column{
	list-style:none;
}

.two-column li,.three-column li,.four-column li{
	padding:0;
	margin:0;
}
.two-column .left-col{
	float:left;
	width:48%;
}
.two-column .right-col{
	float:right;
	width:48%;
}

/*3 column*/
.three-column li{
	float:left;
	width:31.33%;
	margin:0 1% !important;
}

/*4 column*/
.four-column .col1,.four-column .col2,.four-column .col3,.four-column .col4{
	float:left;
	width:25%;
}
.col4inner{
	padding:0 15px 0 0;
}

.box{
	position:relative;
}

/* navigation
-------------------------------------*/

.main-menu{
	position:relative;
	display:flex;
	height:auto;
	z-index:9999;
	text-align:center;
	background:var(--menu-bg, #005840);
	justify-content:center;
	align-items:center;
}

.menu-toggle{
	display:none;
}
.main-navigation {
	margin-top: 0px;
	
}

.main-navigation .nav-menu > ul {
	border-bottom: none;
	border-top: none;
	display: inline-block;
	
	width: 100%;
}
.main-navigation ul {
	margin: 0;
	text-indent: 0;
	list-style:none;
	padding:0;
	text-align:center;
}
	
.main-navigation li {
display:inline-block;
	margin: 0;
	position: relative;
	font-size:100%;
	padding:0 8px;
	color:#fff;
}

.main-navigation li i{
	display:none;
}
.main-navigation li li{
	float:none;
	margin: 0;
	position: relative;
	padding:0;
}

.main-navigation li a {
	border-bottom: 0;
	color: #ffffff;
	text-transform: uppercase;
	white-space: nowrap;
	display: inline-block;
	line-height:50px;
	font-size:16px;
}

.main-navigation li a:hover {
	color: #eeeeee;
	text-decoration:none;
}

.main-navigation li ul {
	display: none;
	margin: 0;
	padding:0;
	position: absolute;
	top: 100%;
	left:0;
	z-index: 1;
	
}
.main-navigation li ul ul {
	top: 0;
	left: 100%;
}
.main-navigation ul li:hover > ul {
	border-left: 0;
	display: block;
}
.main-navigation li ul li a {
	background:var(--green);
	
	display: block;
	line-height: normal;
	padding: 10px 10px;
	width: 200px;
	white-space: normal;
	font-size:14px;
	text-align:center;
}
.main-navigation li ul li a:hover {
	background: var(--dark-green);
}
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_item > a,
.main-navigation .current_page_ancestor > a {
	color: #eeeeee;
}

.header-search{
	padding:0 0 0 25px;
}

.header-search input[type="text"]{
	padding:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-o-border-radius:5px;
	border-radius:5px;
	
}

/* blog
-------------------------------------*/
h1.entry-title{
	padding:0 0 10px;
	margin:0 0 10px 0;
	border-bottom:1px solid #eeeeee;
}
h1.entry-title a{
	text-decoration:none;
}
.on-by{
	padding:0 0 15px;
	font-size:14px;
}
.on-by span{
	font-weight:700;
}

.widget{
	margin:0 0 30px;
	padding:0 10px 10px;
	background-size:cover;
	background:#fafafa;
	position:relative;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	-o-border-radius:10px;
	border-radius:10px;
}

article{
	padding: 0 0 25px;
}

h3.widget-title{
	padding:10px;
	margin:0 -10px 15px;
	text-align:center;
	text-transform:uppercase;
	font-size:24px;
	background:var(--orange);
	color:#fff;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	-o-border-radius:10px;
	border-radius:10px;
	
}

h3.widget-title a{
	color:#fff;
	text-decoration:none;
}

h3.widget-title a:hover{
	color:#ccc;
}

h3.widget-title.other-books{
	padding:0 0 10px;
	margin:0 0 15px;
	text-align:center;
	text-transform:uppercase;
	font-size:21px;
	color:#333333;
}

.sidebar-genre{
	text-align:center;
}

.sidebar-genre p{
	margin:0 0 5px;
}

.sidebar-print-list a{
	font-family: 'El Messiri', sans-serif;
}

.comments-area{
	background:#eeeeee;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	-o-border-radius:10px;
	border-radius:10px;
	padding:25px;
}
.commentmetadata{
	padding:0 0 10px;
}
.comment-respond{
	background:#fbfbfb;
	padding:10px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	-o-border-radius:10px;
	border-radius:10px;
}
/* pagination
----------------------------------------*/
.pagination{
	padding:0 0 25px 0;
	text-align:center;
}
.pagination a, .pagination span {
    text-decoration: none;
    border: 0;
    background:#A53C0E;
    padding: 5px 10px;
    margin: 0 2px;
    color:#fff;
    display:inline-block;
}
.pagination a:hover, .pagination span.current {
    background:#333333;
    color:#ffffff;
}

.social-icons{
	float:right;
	width:150px;
}
.social-icons .ssba div{
	text-align:right !important;
}
.social-icons .ssba div img{
	padding:0 0 0 5px;
}
.ssba div img{
	padding:0 5px 0 0;
}

.main .cnss-social-icon a{
	background:var(--green);
	display:inline-block;
	margin:5px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-o-border-radius:3px;
	border-radius:3px;
	
}

.main .cnss-social-icon a:hover{
	background:var(--orange);
}

.excerpt-img{
	float:left;
	padding:0 20px 10px 0;
	max-width:260px;
}
.single .excerpt-img{
	float:left;
	padding:0 20px 10px 0;
}

.excerpt-img img{
	max-width:100%;
	height:auto;
}
.post-img img{
	width:100%;
	height:auto;
	max-width:624px;
	margin:0 0 25px 0;
}

/* pages

home page
-------------------------------------*/

#home-hero-news-box{
	position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
}

#home-hero-newsletter .ws-newsletter-form form{
	display:flex;
	justify-content:center;
	align-items:center;
	flex-wrap:wrap;
}

#home-hero-newsletter .ws-newsletter-form input[type='submit']{
	background:transparent;
	font-size:48px;
	color:#fff;
	text-shadow: 1px 1px 1px #000;
	font-family: mostra-nuova, sans-serif;
	padding:0 0 0 20px;
	margin:0;
	line-height:1em;
}

#home-hero-newsletter .ws-newsletter-form .wsnl-email{
	width:100%;
	text-align:center;
}

#home-hero-newsletter .ws-newsletter-form .wsnl-email input{
	width:100%;
	border-radius:25px;
}



#home-hero-newsletter .ws-newsletter-form .wsnl-privacy-link{
	width:100%;
	text-align:center;
}

#home-hero-newsletter .ws-newsletter-form .wsnl-privacy-link a{
	color:#fff;
}

.home-featured-books.is-multi{
	display:flex;
}

.home-featured-books.is-multi .home-featured-book{
	flex-basis:50%;
	padding:0 10px;
}

.home-featured-book{
	text-align:Center;
}

.home-featured-book img{
	//max-width:225px;
	max-height:350px;
}

/* newsletter
----------------------------------------*/
.newsletter-signup{
	max-width:500px;
	margin:0 auto;
}

/* tiny slider
----------------------------------------*/

.tns-controls{
	text-align:center;
}

.tns-controls button{
	font-size:36px;
	background:0;
	padding:10px;
	margin:10px;
	border:0;
}

.tns-controls button:hover{
	background:rgba(255,255,255,.5);
}

.bottom-books-slider .tns-controls button{
	color:#fff;
}

.tns-item{
	text-align:center;
}

.bottom-books-slider .tns-item{
	//height:100% !important;
}

.bottom-books-slider .tns-item img{
	height:230px !important;
	width:160px;
}


/* videos and podcats
----------------------------------------*/
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* calendar
----------------------------------------*/
.cal-mobile{
	display:none;
}
.fullcalendar{
	width:100%;
}
.days-names td{
	width:14%;
	background:#c0bed6 !important;
	color:#fff;
	padding:10px 0;
	border:solid 1px #c0bed6 !important;
	height:auto !important;
}

table.fullcalendar td {
    text-align: left;
    border: 1px solid #fff;
    background:#f5f5fd;
    height:150px;
}
table.fullcalendar thead td {
    text-align: center;
    border: 1px solid #333366;
    background:#333366;
    color:#fff;
    padding:15px 0px;
    height:auto;
}
table.fullcalendar thead td a{
    color:#fff;
}

table.em-calendar td.eventful a, table.em-calendar td.eventful-today a {
    color: #A61715;
}
td.eventful ul{
	list-style:none;
	padding:0;
	margin:0;
}
td.eventful ul li{
	padding:0 0 10px;
}
table.em-calendar td.eventless-today, table.em-calendar td.eventful-today {
    background-color: #e4e4fb;
}
.events-table{
	padding:0;
	margin:0 0 30px;
	list-style:none;
}
.events-table h4{
	padding:0;
	margin:0;
}

.events-table tr{
	border-bottom:solid 1px #dddddd;
	background: #efefef;
}

.events-table tr:nth-child(2n+0) {
    background: #fff;
}
.events-table td{
	padding:10px !important;
}

.events-table td p{
	padding:0 !important;
	margin:0 !important;
}
/* photos
----------------------------------------*/
.pf-content{
	padding:0 0 50px 0 !important;
}
.slideshow-window{
	background-color: #efefef !important;
	border: 0 !important;
	overflow:visible !important;
}
.slideshow-slide-caption {
    background:#000;
    background:rgb(0,0,0);
    background:rgba(0,0,0,.8);
    bottom:0 !important;
    height:auto !important;
}
.slideshow-controls{
	bottom:-50px !important;
}
/* search box
----------------------------------------*/
.search-form{
	position:relative;
}
.search-img{
	position:absolute;
	top:50%;
	right:5px;
	transform:translateY(-50%);
}

article.search{
	margin:0 0 25px;
}
article.search .search-result{
	margin:0 0 25px;
}

/* 404 page
----------------------------------------*/

.error404 form{
	display:flex;
	flex-wrap:nowrap;
	flex-direction: row;
	align-items:center;
}
.error404 form .search-field{

}
.error404 form .search-img{
	position:relative;
	top:auto;
	right:auto;
	padding:0 0 0 10px;
	margin:0;
}


/* survey
----------------------------------------*/
.survey-pop{
	display:none;
}
#surveypop{
	text-align:center;
}
/*---------------------------
responsive styles  ---------------------------*/

@media (min-width: 960px) {
	
	

	.main-navigation li.edge ul {
		left:auto;
		right: 0;
	}

	.main-navigation li ul li.edge ul {
		top: 0;
		left:auto;
		right: 100%;
	}
	
	/* tiny slider
	----------------------------------------*/
	.tns-controls button{
		font-size:36px;
	}

	.tns-controls [data-controls="prev"] {
		position:absolute;
		left:-50px;
		top:50%;
		transform: translateY(-50%);
	}

	.tns-controls [data-controls="next"] {
		position:absolute;
		right:-50px;
		top:50%;
		transform: translateY(-50%);
	}
}


/*960 media query*/
@media(min-width:960px) and (max-width:1279px){
	html,body{
		min-width:960px;
	}
}

/* mobile and tablet menu */
@media(max-width:959px){
	.logo{
		z-index:9999;
	}
	
	.bottom-books-slider{
		background: transparent !important;
		padding:25px 0 50px;
	}
	
	/*---------------------------
	 navigation ---------------------------*/
	 
  .main-menu{
		height:auto;
		z-index:999;
		text-align:center;
		position:relative;
		width:100%;
		padding:5px 15px ;
		justify-content:space-between;
	}
	.menu-toggle {
		cursor: pointer;
		display: inline-block;
		 margin:0;
		padding: 0;
		line-height:normal;
		color:#fff;
		width:auto;
		font-size:18px;
		font-weight:400;
		
		z-index:99999;
	}
	.menu-toggle:hover,.menu-toggle.toggled-on {
	color:#ffffff;
	}
	
	.main-navigation  ul.nav-menu,.main-navigation  .nav-menu ul {
		margin:0;
		display: none;
		background:#fff;
		text-align:left;
		width:100%;
		
		
	}
	.main-navigation  ul.nav-menu.toggled-on,.main-navigation  .nav-menu ul.toggled-on{
		margin:0;
		display: inline-block;
		background:#fff;
		width:100%;
		position:absolute;
		top:100%;
		left:0;
	}
	.main-navigation li {
		display: block;
		margin: 0;
		position: relative;
		font-size: 100%;
		padding:0;
	}
	.main-navigation li a{
		display:block;
		width:auto;
		padding:0 10px;
		color:#fff;
		#77cfe3;
	background:var(--header-bg, #77cfe3);
	}
	.main-navigation li a:hover{
		color:#fff;
		background:var(--green);
	}
	.main-navigation .current-menu-item > a,
	.main-navigation .current-menu-ancestor > a,
	.main-navigation .current_page_item > a,
	.main-navigation .current_page_ancestor > a {
		color: #fff;
		background:var(--green);
	}
	
	
	.main-navigation li ul ul {
		top: 0;
		left: 0;
	}
	.main-navigation li ul li ul li a{
		padding-left:60px;
	}
	.main-navigation ul ul li{
		display:block;
		width:100%;
	}
	.main-navigation li ul li a,.main-navigation li ul li a:hover {
		
		background:var(--green);
		display: block;
		line-height: normal;
		padding: 8px 10px;
		width: auto;
		white-space: normal;
		display:block;
		text-align:left;
	}
	.main-navigation li.two-column li {
    float: none;
    margin: 0;
	}
	
	.main-navigation li.menu-item-has-children > a i.menu-plus{
		display:inline-block;
		padding:10px;
		margin:0 0 0 5px;
	}
	
	.main-navigation li.menu-item-has-children > a.show i.menu-plus{
		display:none;
	}
	.main-navigation li.menu-item-has-children > a.show i.menu-minus{
		display:inline-block;
		display:inline-block;
		padding:10px;
		margin:0 0 0 5px;
	}

	/* sub menus
	----------------------------------------*/
	.main-navigation ul.nav-menu ul {
		display:none;
		width:100%;
		position:relative;
		top:auto;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow:none;
		padding:0;
	}
	
	.main-navigation ul.nav-menu ul.show {
		display:block;
		
	}
	.main-navigation ul li:hover > ul {
		border-left: 0;
		display: none;
	}
	
	.main-navigation .current-menu-item > a ul,
	.main-navigation .current-menu-ancestor > a ul,
	.main-navigation .current_page_item > a ul,
	.main-navigation .current_page_ancestor > a ul{
		display:block
	}

	/*---------------------------
	columns---------------------------*/
	 .main .left-col{
		float:none;
		width:100%;
	}
	.main .right-col{
		float:none;
		width:100%;
	}
	/*2 column*/
	.two-column .left-col{
		float:none;
		width:100%;
	}
	.two-column .right-col{
		float:none;
		width:100%;
	}
	/*3 column*/
	.three-column li {
    float: none;
    width: auto;
    margin: 1% !important;
}
	/*4 column*/
	.four-column .col1,.four-column .col2,.four-column .col3,.four-column .col4{
		float:none;
		width:100%;
	}
	.col4inner{
		padding:0 15px 0 0;
	}
	
	
	.main-navigation li.two-column ul.sub-menu {
    width: 100%;
	}
	
	.bx-wrapper{
		padding:0 0 50px;
	}
	
	
	#home-hero-newsletter .ws-newsletter-form form {
    display: block;
		text-align:center;
	}
	#home-hero-newsletter .ws-newsletter-form .wsnl-email {
   margin:0 auto 10px;
	}

	#home-hero-newsletter .ws-newsletter-form input[type='submit']{
		font-size:48px;
		padding:0;
	}
}

/*tablet media query*/
@media(min-width:768px) and (max-width:959px){
	html,body{
		min-width:750px;
	}
	
	.container{
		overflow:visible;
		margin: 0 auto;
		min-height:1px;
	}

}

/*-- mobile styles--*/
@media(max-width:767px){
	html, body{
		background:#fff;
	}
	
	.site-container{
		overflow:visible;
		margin: 0 auto;
		min-height:1px;
	}
	
	.main {
    margin: 0 0 0;
    padding: 0;
	}
	
	.header .logo {
		padding-top:10px;
		padding-bottom:10px;
	}
	
	.header .logo img.logo-desktop{
		display:none;
	}

	.header .logo img.logo-mobile{
		
		max-width:100%;
		height:auto;
		padding:0;
		display:inline-block;
		margin:0 auto;
	}
	
	.footer{
		height:auto;
		line-height:normal;
	}
	
	p.copyright,p.wslink,p.return-home{
		
		text-align:center;
		line-height:normal;
		padding:5px 0;
	}
	
	h1, h2, h3, h4, h5, h6 {
   line-height:normal;
	}
	
	
	#home-mobile-news .ws-newsletter-form form{
		display:flex;
		justify-content:center;
		align-items:center;
		flex-wrap:wrap;
	}

	#home-mobile-news .ws-newsletter-form input[type='submit']{
		background:transparent;
		font-size:24px;
		color:#fff;
		font-family: mostra-nuova, sans-serif;
		padding:0 0 0 20px;
		margin:0;
		line-height:1em;
		
	}

	#home-mobile-news .ws-newsletter-form .wsnl-email{
		width:100%;
	}

	#home-mobile-news .ws-newsletter-form .wsnl-privacy-link{
		width:100%;
		text-align:center;
	}

	#home-mobile-news .ws-newsletter-form .wsnl-privacy-link a{
		color:#fff;
	}
	
	.home-featured-books.is-multi{
		display:block;
	}

	.home-featured-books.is-multi .home-featured-book{
		padding:0 0 25px;
	}

}


/* ==========================================================================
   HOMEPAGE NATIVE LAYOUT (DAUGHTER OF MONTAGUE)
   No Elementor Dependency - Fully Theme & WP Admin Configurable
   ========================================================================== */

/* 1. Master Layout & Base Styles */
.homepage-native-layout {
	width: 100%;
	position: relative;
	overflow: hidden;
}

/* 2. Hero Section */
.home-hero-section {
	position: relative;
	background-color: #8ed0e0;
	background-size: cover;
	background-position: center bottom;
	background-repeat: no-repeat;
	min-height: 480px;
	padding: 30px 0 0 0;
	overflow: hidden;
}

.home-hero-container {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
}

.home-hero-row {
	display: flex;
	align-items: flex-end;
	min-height: 460px;
}

.home-hero-content-col {
	padding-bottom: 55px;
	padding-top: 20px;
	z-index: 2;
}

.home-hero-news-box {
	max-width: 520px;
	margin: 0 auto;
	text-align: center;
}

.home-hero-title {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 38px;
	font-weight: 700;
	color: #ffffff;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.85), 0 0 10px rgba(0, 0, 0, 0.6);
	line-height: 1.22;
	margin: 0 auto 18px auto;
	padding: 0;
	max-width: 500px;
	text-align: center;
	letter-spacing: -0.3px;
}

.home-hero-newsletter-wrap {
	max-width: 440px;
	margin: 0 auto;
}

/* Native Newsletter Form */
.wsnl-native-form {
	display: block;
	margin: 0 auto;
	text-align: center;
}

.wsnl-input-group {
	margin-bottom: 12px;
}

.wsnl-email-input {
	display: block;
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	padding: 12px 24px;
	border-radius: 30px;
	border: 1px solid #ffffff;
	background: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	color: #333333;
	text-align: left;
	outline: none;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
	transition: all 0.25s ease;
}

.wsnl-email-input:focus {
	border-color: #77cfe3;
	box-shadow: 0 3px 14px rgba(119, 207, 227, 0.45);
}

.wsnl-email-input::placeholder {
	color: #777777;
}

.wsnl-button-group {
	text-align: center;
	margin-top: 6px;
}

.wsnl-submit-button {
	display: inline-block;
	background: transparent;
	border: none;
	color: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 42px;
	font-weight: 400;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.85), 0 0 8px rgba(0, 0, 0, 0.6);
	cursor: pointer;
	padding: 0 20px;
	line-height: 1.2;
	transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.wsnl-submit-button:hover {
	transform: scale(1.04);
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.95), 0 0 14px rgba(0, 0, 0, 0.8);
	color: #ffffff;
}

.wsnl-privacy-wrap {
	margin-top: 6px;
	text-align: center;
}

.wsnl-privacy-wrap a {
	color: #ffffff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.wsnl-privacy-wrap a:hover {
	text-decoration: underline;
	opacity: 0.9;
}

/* Author Photo (Christina in Yellow Jacket) */
.home-hero-author-col {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	z-index: 1;
}

.home-hero-author-wrap {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	width: 100%;
	line-height: 0;
}

.home-hero-author-img {
	display: block;
	max-height: 480px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.2));
	vertical-align: bottom;
	margin-bottom: 0;
}
/* 3. Featured Books Section */
.home-books-section {
	position: relative;
	background-color: #f4fafb;
	background-image: url('images/3d-book-bg.jpg');
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 40px 15px 50px;
	overflow: hidden;
}

.home-books-accent {
	display: none;
}

.home-books-container {
	max-width: 1350px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.home-books-flex-row {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-end;
	gap: 32px;
	flex-wrap: nowrap;
	max-width: 1240px;
	margin: 0 auto;
	padding: 20px 15px 0;
}

.home-book-col {
	flex: 0 0 220px;
	width: 220px;
	max-width: 230px;
	text-align: center;
	position: relative;
	transition: transform 0.28s ease, z-index 0.28s ease;
}

/* Staggered Heights: wave pattern matching the live site (Low, High, Low, High) */
.home-book-slot-1 {
	z-index: 3;
	transform: translateY(18px);
}

.home-book-slot-2 {
	z-index: 4;
	transform: translateY(-16px);
}

.home-book-slot-3 {
	z-index: 3;
	transform: translateY(18px);
}

.home-book-slot-4 {
	z-index: 4;
	transform: translateY(-16px);
}

.home-book-slot-5 {
	z-index: 3;
	transform: translateY(18px);
}

.home-book-col:hover {
	z-index: 10;
}

.home-book-slot-1:hover,
.home-book-slot-3:hover,
.home-book-slot-5:hover {
	transform: translateY(6px) scale(1.03);
}

.home-book-slot-2:hover,
.home-book-slot-4:hover {
	transform: translateY(-26px) scale(1.03);
}

.home-book-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
}

.home-book-link {
	display: block;
	text-decoration: none;
	transition: transform 0.25s ease, filter 0.25s ease;
}

.home-book-link:hover {
	transform: translateY(-8px) scale(1.02);
	filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.25));
}

.home-book-img {
	display: block;
	max-height: 330px;
	width: auto;
	max-width: 100%;
	margin: 0 auto;
	object-fit: contain;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
}

.home-book-slot-2 .home-book-img {
	max-height: 345px;
	filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.home-book-slot-5 .home-book-img {
	max-height: 350px;
	filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.home-book-caption {
	margin-top: 14px;
	font-family: 'El Messiri', sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	color: #333333;
	text-align: center;
}

.home-book-caption a {
	color: #333333;
	text-decoration: none;
	transition: color 0.2s ease;
}

.home-book-caption a:hover {
	color: var(--menu-bg, #005840);
}

/* Novella Rotating Carousel (Slot 4) */
.novella-carousel-wrapper {
	position: relative;
	width: 100%;
	max-width: 240px;
	margin: 0 auto;
}

.novella-carousel-slider {
	width: 100%;
}

.novella-slide-item {
	outline: none;
	text-align: center;
}

.ereader-device-frame {
	background: #181818;
	border-radius: 14px;
	padding: 10px 8px 16px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	display: inline-block;
	max-width: 210px;
	margin: 0 auto;
	box-sizing: border-box;
}

.ereader-screen {
	border-radius: 6px;
	overflow: hidden;
	background: #000000;
}

.ereader-book-cover {
	display: block;
	width: 100%;
	height: auto;
}

.novella-carousel-controls {
	position: absolute;
	top: 42%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	z-index: 10;
}

.novella-arrow-prev,
.novella-arrow-next {
	pointer-events: auto;
	background: rgba(30, 30, 30, 0.65);
	color: #ffffff;
	border: none;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	font-size: 18px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	outline: none;
}

.novella-arrow-prev {
	margin-left: -12px;
}

.novella-arrow-next {
	margin-right: -12px;
}

.novella-arrow-prev:hover,
.novella-arrow-next:hover {
	background: var(--menu-bg, #005840);
	color: #ffffff;
	transform: scale(1.1);
}

/* Audiobook Mockup (Slot 5) */
.audiobook-phone-img {
	max-height: 345px;
	width: auto;
	max-width: 100%;
}

.audio-phone-frame {
	background: #1b1b1b;
	border: 3px solid #2d2d2d;
	border-radius: 28px;
	padding: 12px 10px 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
	max-width: 200px;
	margin: 0 auto;
}

.audio-phone-speaker {
	width: 40px;
	height: 4px;
	background: #444444;
	border-radius: 2px;
	margin: 0 auto 10px;
}

.audio-phone-screen {
	border-radius: 18px;
	overflow: hidden;
	background: #0d1e2e;
	padding: 10px;
	color: #ffffff;
}

.audio-phone-cover {
	width: 100%;
	border-radius: 8px;
	display: block;
	margin-bottom: 10px;
}

.audio-phone-ui {
	text-align: center;
}

.audio-ui-top {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	color: #888888;
	margin-bottom: 6px;
}

.audio-ui-bar {
	height: 3px;
	background: #3a3a3a;
	border-radius: 2px;
	overflow: hidden;
	margin-bottom: 4px;
}

.audio-ui-fill {
	width: 35%;
	height: 100%;
	background: #e07a5f;
}

.audio-ui-time {
	display: flex;
	justify-content: space-between;
	font-size: 9px;
	color: #aaaaaa;
	margin-bottom: 6px;
}

.audio-ui-buttons {
	display: flex;
	justify-content: space-around;
	align-items: center;
	font-size: 12px;
	color: #cccccc;
}

.audio-ui-buttons .play-icon {
	font-size: 22px;
	color: #ffffff;
}

/* 4. Dear Reader & News Section */
.home-news-section {
	position: relative;
	background-color: var(--news-bg, #005840);
	padding: 55px 20px 65px;
}

.home-news-container {
	max-width: 1140px;
	margin: 0 auto;
}

.home-news-col {
	margin-bottom: 30px;
}

.home-news-card {
	background: #ffffff;
	border-radius: 8px;
	padding: 28px 32px 32px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.home-card-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin-bottom: 18px;
}

.home-card-header .header-line {
	flex: 1;
	height: 2px;
	background: #da4a27;
}

.home-card-header .header-title {
	margin: 0;
	padding: 0;
	font-family: 'El Messiri', serif;
	font-size: 21px;
	font-weight: 700;
	color: #da4a27;
	white-space: nowrap;
}

.card-post-title {
	font-family: 'El Messiri', serif;
	font-size: 19px;
	line-height: 1.35;
	margin: 0 0 15px 0;
	padding: 0;
}

.card-post-title a {
	color: #009688;
	text-decoration: none;
	transition: color 0.2s ease;
}

.card-post-title a:hover {
	color: #00695c;
	text-decoration: underline;
}

.card-post-content {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	flex: 1;
}

.card-thumb-wrap {
	flex: 0 0 95px;
	max-width: 95px;
}

.card-thumb-wrap img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.card-text-wrap {
	flex: 1;
	font-size: 13.5px;
	line-height: 1.55;
	color: #555555;
}

.card-read-more {
	display: inline-block;
	margin-top: 10px;
	color: var(--accent-coral, #c83833);
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease;
}

.card-read-more:hover {
	color: var(--menu-bg, #005840);
	text-decoration: underline;
}

.home-more-news-wrap {
	text-align: center;
	margin-top: 25px;
}

.btn-more-news {
	display: inline-block;
	background: var(--accent-coral, #c83833);
	color: #ffffff;
	font-family: 'El Messiri', serif;
	font-size: 16px;
	font-weight: 700;
	padding: 10px 34px;
	border-radius: 6px;
	text-decoration: none;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
	transition: all 0.2s ease;
}

.btn-more-news:hover {
	background: var(--menu-bg, #005840);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
}

/* 5. Where Next Section */
.home-next-section {
	background-color: var(--next-bg, #eef8fa);
	padding: 45px 20px 55px;
	text-align: center;
}

.home-next-container {
	max-width: 1200px;
	margin: 0 auto;
}

.home-next-title {
	font-family: 'El Messiri', serif;
	font-size: 28px;
	font-weight: 700;
	color: #4d4d4d;
	margin-bottom: 30px;
	padding: 0;
}

.home-next-buttons-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.btn-next-action {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	border: 1px solid #d5d0b8;
	border-radius: 8px;
	padding: 12px 24px;
	min-width: 175px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
	text-decoration: none;
	transition: all 0.25s ease;
}

.btn-next-action:hover {
	border-color: #b8b296;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
	transform: translateY(-3px);
}

.btn-next-action .green-text {
	display: block;
	font-family: 'El Messiri', serif;
	font-size: 14px;
	font-weight: 600;
	color: #005840;
	line-height: 1.25;
}

.btn-next-action .purple-text {
	display: block;
	font-family: 'El Messiri', serif;
	font-size: 15px;
	font-weight: 700;
	color: var(--menu-bg, #005840);
	line-height: 1.25;
	text-transform: uppercase;
}

/* 6. Footer Social Fallback */
.footer-social-icons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 5px 0;
}

.footer-social-icons a {
	color: #ffffff;
	font-size: 18px;
	line-height: 1;
	transition: opacity 0.2s ease, transform 0.2s ease;
	display: inline-block;
}

.footer-social-icons a:hover {
	opacity: 0.8;
	color: #ffffff;
	transform: scale(1.15);
}

.footer-social-icons .icon-bb {
	font-family: sans-serif;
	font-weight: 800;
	font-size: 13px;
	border: 1.5px solid #ffffff;
	border-radius: 3px;
	padding: 1px 3px;
	line-height: 1;
	display: inline-block;
}

/* 7. Responsive Breakpoints */
@media (max-width: 1200px) and (min-width: 992px) {
	.home-books-flex-row {
		padding: 0;
		gap: 20px;
	}
	.home-book-col {
		flex: 0 0 195px;
		width: 195px;
		max-width: 195px;
	}
}

@media (max-width: 991px) {
	.home-hero-section {
		padding: 30px 0 0 0;
	}
	.home-hero-author-img {
		max-height: 380px;
	}
	.home-books-flex-row {
		flex-wrap: wrap;
		justify-content: center;
		gap: 35px 25px;
	}
	.home-book-col {
		flex: 0 0 44%;
		max-width: 48%;
		transform: none !important;
	}
	.home-books-accent {
		display: none;
	}
}

@media (max-width: 767px) {
	.home-hero-content-col {
		padding-bottom: 25px;
	}
	.home-hero-title {
		font-size: 28px;
	}
	.wsnl-submit-button {
		font-size: 30px;
	}
	.home-hero-author-img {
		max-height: 320px;
	}
	.home-book-col {
		flex: 0 0 46%;
		max-width: 48%;
		transform: none !important;
	}
	.home-next-buttons-wrap {
		gap: 12px;
	}
	.btn-next-action {
		min-width: 140px;
		padding: 10px 16px;
	}
}

@media (max-width: 480px) {
	.home-hero-title {
		font-size: 24px;
	}
	.wsnl-email-input {
		font-size: 16px;
		padding: 10px 18px;
	}
	.home-book-col {
		flex: 0 0 100%;
		max-width: 240px;
		margin: 0 auto 20px;
	}
	.btn-next-action {
		width: 100%;
		max-width: 280px;
	}
}
