/*
Theme Name: Writerspace
Description: Custom WordPress theme for Writerspace
Author: Writerspace
Version: 2.6
*/

/*
	Global styles
*/
html {	
	background:#333333;
	height:100%;
	width:100%;
	font-size:100%;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body{
	background:#333333;
	font-size:13px;
	color:#000000;
	line-height:1.5em;
	height:100%;
	min-width:300px;
	font-family:'Open Sans', arial, helvetica, sans-serif;
}

/*---------------------------
 type styles ---------------------------*/
h1, h2, h3, h4 ,h5, h6{
	margin:0;
	padding: 0 0 15px 0;
	color:#000000;
	line-height:normal;
}
h1{
	font-size:28px;
}

h2{
	font-size:24px;
}

h3{
	font-size:24px;
	color:#000000;
}

h4{
	font-size:21px;
}

h5{
	font-size:21px;
	color:#000000;
}

h6{
	font-size:18px;
}

a {
	text-decoration:none;
	color:#ad2b2b;
}
a:hover{
	text-decoration:underline;
	color:#333333;
}
a.read-more,a.moretag{
	background: #000000; /* 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:14px;
	cursor:pointer;
	display:inline-block;
}
a.read-more:hover,a.moretag:hover{
	background: #ad2b2b; /* 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 0 20px 0;
}
ul.no-list,ol.no-list,ul.no-list > li, ol.no-list > li{
	margin:0;
	padding:0;
	list-style:none;
}

/* form fields
-------------------------------------*/
.gform_wrapper ul li.gfield {
    clear: none;
}
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: #000000; /* 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:14px;
	cursor:pointer;
}
input[type="submit"]:hover{
background: #ad2b2b; /* Old browsers */
color:#ffffff;
}
.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: 14px;
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: 14px;
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: 14px;
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;
}
/*---------------------------
 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;
	
	margin: 0 auto; /* the bottom margin is the negative value of the footer's height */
	background:transparent;
	
}

.main{
	padding:0 0 50px;
	z-index:1;
	position:relative;
	background:#909090;
}

.main .container{
	background:#ffffff;
}

.main-content{
	padding: 40px 35px 40px 15px;
}

h1.page-title{
	color:#000000;
}

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;
	background:#000000;
}

.header .logo {
	text-align:left;
}
	
.header .logo img{
	max-width:100%;
	height:auto;
	padding: 0;
	display:inline-block;
	margin:0 auto;
}

.header .row{
	align-items:center;
	position:relative;
}

/*---------------------------
footer------------------------------*/
.footer{
	position:relative;
	text-align:center;
	background:#333333;
	color:#fff;
	line-height:1.5em;
	font-size:14px;
	z-index:2;
	padding:25px 0 40px 0;
}

.footer-title{
	font-size:72px;
	text-align:center;
	margin:0;
	padding:0 0 10px;
	line-height:1.5em;
}
.footer .footer-nav-menu ul{
	list-style:none;
	padding:0;
	margin:0;
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
}

.footer .footer-nav-menu ul li{
	padding:3px 10px;
}

.footer a{
	color:#999999;
}

.footer .footer-nav-menu a{
	font-weight:bold;
}


p.copyright{
	
	padding:0;
	margin:0;
}
p.wslink{
	
	padding:0;
	margin:0;
}

.footer-social-icons{
	padding:0 0 15px 0;
}
/*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{
	background:#fff;
	position:relative;
}

/* navigation
-------------------------------------*/

.main-menu{
	height:auto;
	z-index:999;
	text-align:center;
	background:#333333;
	background: -moz-linear-gradient(top, #888888 0%, #444444 4%, #333333 100%);
	background: -webkit-linear-gradient(top, #888888 0%,#444444 4%,#333333 100%);
	background: linear-gradient(to bottom, #888888 0%,#444444 4%,#333333 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#888888', endColorstr='#333333',GradientType=0 );
	position:relative;
}

.main-menu .container{
	padding:0;
}
.main-menu .cnss-social-icon {
	position:absolute;
	top:5px;
	right:5%;
}

.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 {
	float:left;
	margin: 0;
	position: relative;
	font-size:100%;
	padding:0;
	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:46px;
	padding:0 25px;
	font-weight:bold;
}

.main-navigation li a:hover {
	color: #ed1c24;
	text-decoration:none;
}

.main-navigation li ul {
	display: none;
	margin: 0;
	padding: 5px 0 0 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:#000000;
	
	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: #535353;
}
.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: #ed1c24;
	background:#222222;
	border-top:solid 3px #ed1c24;
	line-height:41px;
}
/* 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:10px;
	background-size:cover;
	background:#fff;
	position:relative;
}

.blog article{
	margin:0 0 25px;
}
h3.widget-title{
	padding:5px;
	text-align:left;
	font-size:14px;
	background:#333333;
	text-align:center;
	color:#fff;
	margin:0 0 10px 0;
	text-transform:uppercase;
}

h3.widget-title.other-books{
	padding:0 0 10px;
	margin:0 0 15px;
	text-align:center;
	font-size:14px;
	color:#000000;
}

.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:#000000;
    padding: 5px 10px;
    margin: 0 2px;
    color:#fff;
    display:inline-block;
}
.pagination a:hover, .pagination span.current {
    background:#000000;
    color:#ffffff;
}

.social-icons{
	float:right;
}
.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;
}
.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-blurb{
	flex-basis:100%;
}

.home-blurb h3{
	font-size:200%;
	background:#000;
	color:#dadada;
	text-align:center;
	padding:30px;
	line-height:120%;
}

.home-blurb h3 .home-blurb-sig{
	font-size:75%;
	font-weight:normal;
}

.home-buy-links{
	padding:30px;
	text-align:Center;
	width:100%;
	font-size:22px;
}

.home-buy-links a{
	font-size:22px;
	font-weight:600;
}

.home-bottom-blurb{
	padding:50px 0 0;
	margin:0 20%;
}

.home-bottom-blurb h3{
	font-size:22px;
	margin:0;
	padding:0;
}

.home-bottom-blurb h3 .home-bottom-blurb-sig{
	font-size:13px;
	font-weight:normal;
}

.home-featured-books{
	padding-top:50px;
}


.home-featured-books h2{
	font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 10px;
  margin-bottom: 20px;
  text-align:center;
}

.home-featured-books-content{
	display:flex;
}
.home-featured-book{
	flex-basis:20%;
	padding:0 20px;
	text-align:center;
}

.home-featured-book img{
	width:152px;
	height:248px;
	padding:0 0 10px 0;
}

.home-gray-boxes{
	padding:30px 0;
	background:#eaeaea;
	border: 1px solid #e5e5e5;
}

.home-gray-boxes{
	width:100%;
	display:flex
}

.home-gray-box{
	flex-basis:33.33%;
	border-right: 1px solid #dadada;
	padding:0 20px;
}

.home-gray-box:last-child{
	border-right: 0px;
}

.home-gray-box-title{
	flex-basis:33.33%;
	font-size:20px;
	font-weight:700;
	padding-bottom:10px;
	border-bottom:1px solid #dddddd;
	margin:20px 0;
}

/* newsletter
----------------------------------------*/
.newsletter-signup{
	max-width:500px;
	margin:0 auto;
}

/**
 * bxSlider v4.2.5
 * Copyright 2013-2015 Steven Wanderski
 * Written while drinking Belgian ales and listening to jazz

 * Licensed under MIT (http://opensource.org/licenses/MIT)
 */

/** VARIABLES 
===================================*/
/** RESET AND LAYOUT
===================================*/
.bx-wrapper {
  position: relative;
  margin: 0 auto;
  padding: 0;
  *zoom: 1;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}
.top-shelf .bx-wrapper {
  margin: 0 auto 50px;
}
.bx-wrapper img {
  max-width: 100%;
  display: block;
}
.bxslider {
  margin: 0;
  padding: 0;
}
ul.bxslider {
  list-style: none;
}
.bx-viewport {
  /*fix other elements on the page moving (on Chrome)*/
  -webkit-transform: translatez(0);
}
/** THEME
===================================*/

/* LOADER */
.bx-wrapper .bx-loading {
  min-height: 50px;
  background: url('images/bx_loader.gif') center center no-repeat transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}
/* PAGER */
.bx-wrapper .bx-pager {
  text-align: center;
  font-size: .85em;
  font-family: Arial;
  font-weight: bold;
  color: #666;
  padding-top: 20px;
}
.bx-wrapper .bx-pager.bx-default-pager a {
  background: #666;
  text-indent: -9999px;
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  outline: 0;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:focus {
  background: #000;
}

.bx-wrapper .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  *zoom: 1;
  *display: inline;
}
.bx-wrapper .bx-pager-item {
  font-size: 0;
  line-height: 0;
}
/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
  left: 25px;
  background: url('images/controls.png') no-repeat 0 -32px;
}

.bottom-books-slider .bx-wrapper .bx-prev {
  left: -50px;
  background: url('images/controls.png') no-repeat 0 -32px;
}

.bx-wrapper .bx-prev:hover,
.bx-wrapper .bx-prev:focus {
  background-position: 0 0;
}
.bottom-books-slider  .bx-wrapper .bx-next {
  right: -50px;
  background: url('images/controls.png') no-repeat -43px -32px;
}
.bx-wrapper .bx-next {
  right: 25px;
  background: url('images/controls.png') no-repeat -43px -32px;
}
.bx-wrapper .bx-next:hover,
.bx-wrapper .bx-next:focus {
  background-position: -43px 0;
}
.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 65%;
  margin-top: -14px;
  outline: 0;
  width: 32px;
  height: 32px;
  text-indent: -9999px;
  z-index: 9999;
}
.bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}
/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {
  text-align: center;
}
.bx-wrapper .bx-controls-auto .bx-start {
  display: block;
  text-indent: -9999px;
  width: 10px;
  height: 11px;
  outline: 0;
  background: url('images/controls.png') -86px -11px no-repeat;
  margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active,
.bx-wrapper .bx-controls-auto .bx-start:focus {
  background-position: -86px 0;
}
.bx-wrapper .bx-controls-auto .bx-stop {
  display: block;
  text-indent: -9999px;
  width: 9px;
  height: 11px;
  outline: 0;
  background: url('images/controls.png') -86px -44px no-repeat;
  margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active,
.bx-wrapper .bx-controls-auto .bx-stop:focus {
  background-position: -86px -33px;
}
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
  text-align: left;
  width: 80%;
}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  right: 0;
  width: 35px;
}
/* IMAGE CAPTIONS */
.bx-wrapper .bx-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #666;
  background: rgba(80, 80, 80, 0.75);
  width: 100%;
}
.bx-wrapper .bx-caption span {
  color: #fff;
  font-family: Arial;
  display: block;
  font-size: .85em;
  padding: 10px;
}

/* 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:10px;
	right:5px;
}

article.search{
	margin:0 0 25px;
}
article.search .search-result{
	margin:0 0 25px;
}

/* 404 page
----------------------------------------*/
.error404 form{
	max-width:600px;
}
.error404 form .search-field{
	width:91%;
}
.error404 form .search-img{
	padding:5px;
	float:right;
}

/* hero image
----------------------------------------*/

.hero-img{
	width:960px;
	margin:0 auto;
}

/* home page
----------------------------------------*/

/*---------------------------
responsive styles  ---------------------------*/

@media (min-width: 1200px){
	.container {
    max-width: 960px;
	}
}
/*960 media query*/

@media(min-width:960px) and (max-width:1279px){
	html,body{
		min-width:960px;
	}
	
	
	
}

/* mobile and tablet menu */
@media(max-width:959px){
	.header .logo{
		z-index:99;
		max-width:80%;
		margin:0 auto;
	}
	
	.header .logo img{
		padding:10px 0 0 0;
	}
	
	/*---------------------------
	 navigation ---------------------------*/
	 
  .main-menu{
		height:auto;
		z-index:999;
		width:100%;
		padding-left:0px;
		padding-right:0px;
		align-items:center;
		padding:10px;
	}
	
	.menu-toggle {
		cursor: pointer;
		display: inline-block;
		padding: 1px 7px;
		line-height:normal;
		color:#ffffff;
		width:auto;
		font-size:21px;
		z-index:99999;
		background:#ad2b2b;
		border-radius:3px;
		margin:0;
	}
	
	
	.menu-toggle.toggled-on {
	color:#ffffff;
	background:#000000;
	}
	
	.main-menu .cnss-social-icon {
    position: relative;
    top: auto;
    right: auto;
    margin:0 0 0 auto;
}
	
	.main-navigation  ul.nav-menu,.main-navigation  .nav-menu ul {
		margin:0;
		display: none;
		background:#fff;
		text-align:left;
		width:100%;
		position:absolute;
		left:0;
		top:100%;
		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%;
	}
	.main-navigation li {
		display: block;
		margin: 0;
		position: relative;
		font-size: 100%;
		padding:0;
		float:none;
	}
	.main-navigation li a{
		display:block;
		width:auto;
		padding:0 10px;
		color:#fff;
		background:#333333;
	}
	.main-navigation li a:hover{
		color:#fff;
		background:#000000;
	}
	.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:#000000;
	}
	
	
	.main-navigation li ul ul {
		top: 0;
		left: 0;
	}
	.main-navigation li ul li a{
		padding-left:30px!important;
	}
	.main-navigation li ul li ul li a{
		padding-left:60px!important;
	}
	.main-navigation ul ul li{
		display:block;
		width:100%;
	}
	.main-navigation li ul li a,.main-navigation li ul li a:hover {
		
		background:#000000;
		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;
	}
	
	.bx-wrapper .bx-controls-direction a {
    top: auto;
    bottom:12px;
	}
	
	.bx-wrapper .bx-prev, .bottom-books-slider .bx-wrapper .bx-prev  {
    left: 50%;
    margin:0 0 0 -50px;
	}
	
	.bx-wrapper .bx-next, .bottom-books-slider .bx-wrapper .bx-next {
    right: 50%;
    margin:0 -50px 0 0;
	}
	
	.main-content {
    padding: 15px 0;
	}
	
	.hero-img {
    width: 100%;
    margin: 0 auto;
}
	
}

/*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;
	}
	
	/* home page
	----------------------------------------*/
	
	
	.home-featured-book {
    flex-basis: 20%;
    padding: 0 5px;
    text-align: center;
}

	.home-featured-book img {
    width: 134px;
    height: 235px;
    padding: 0 0 10px 0;
}
	
}

/*-- mobile styles--*/
@media(max-width:767px){
	
	.site-container{
		overflow:visible;
		margin: 0 auto;
		min-height:1px;
	}
	
	.header .logo {
		max-width:
	}
	
	.main {
    padding: 0;
	}
	
	.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;
	}
	
	.book-content {
    float: none;
    height: 360px;
    width: 200px;
    margin: 0 auto 10px;
	}
	
	.book-content.all-books {
    float: none;
    display: block;
    height: auto;
     margin: 0 auto 10px;
    text-align: center;
	}
	
	.home-featured-books{
		width:100%;
	}
	
	.home-featured-books-content, .home-gray-boxes{
		display:block;
		width:100%;
		padding:10px;
	}
	.home-featured-book, .home-gray-box{
		width:100%;
		padding:0;
		border:0;
	}

}
@media (max-width:320px){
	#sidebar-contest img{
		display:block;
		float:none !important;
		margin:0 auto;
	}
}

@media print {
	*{
  	color: #000 !important;
    background:transparent none !important;
   }
  .header,.footer,.widget-area{
   	display:none;
  }
  
  .container > .row > .col-md-8{
  	max-width:100% !important;
  }
}