/*------------------------------------*\
    $CONTENTS
\*------------------------------------*/
/**
 * CONTENTS............You’re reading it!
 * RESET...............See bootstrap.min.css
 * FONT-FACE...........Font family declarations
 * ELEMENTS............Extensions of bootstrap styles on basic tags
 * LAYOUT..............Template layout/structure
 * HOMEPAGE............Styles for homepage layout
 * CONTENT.............Styles for shared & inside content
 * RESPONSIVE..........Responsive styles, mobile first
 * PRINT...............Print styles
 * CMS.................CMS detection styles
 */
 
/*------------------------------------*\
    $FONT-FACE   
\*------------------------------------*/
@font-face {
  font-family: 'fontello';
  src: url('../fonts/fontello.eot?72851960');
  src: url('../fonts/fontello.eot?72851960#iefix') format('embedded-opentype'),
       url('../fonts/fontello.woff2?72851960') format('woff2'),
       url('../fonts/fontello.woff?72851960') format('woff'),
       url('../fonts/fontello.ttf?72851960') format('truetype'),
       url('../fonts/fontello.svg?72851960#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?72851960#fontello') format('svg');
  }
}
*/
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: never;

  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-twitter:before { content: '\f099'; } /* '' */
.icon-facebook:before { content: '\f09a'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */


@font-face {
    font-family: 'ChunkFiveRegular';
    src: url('../fonts/Chunkfive-webfont.eot');
    src: url('../fonts/Chunkfive-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Chunkfive-webfont.woff') format('woff'),
         url('../fonts/Chunkfive-webfont.ttf') format('truetype'),
         url('../fonts/Chunkfive-webfont.svg#ChunkFiveRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}




/*------------------------------------*\
    $ELEMENTS
\*------------------------------------*/
body { background: url(../img/body.jpg) 0 0 repeat #ffffff; }
.btn-lg {
	font-size: 14px;
	font-weight: 700;
}
.breadcrumb {
	padding: 0;
	background: none;
	font-size: 12px;
}
.iframe { position: relative; width: 100%; height: 0; padding-bottom: 56.25%; }
.iframe iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: none; }

/* css for timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 45%; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
.ui-timepicker-rtl dl dt{ float: right; clear: right; }
.ui-timepicker-rtl dl dd { margin: 0 45% 10px 10px; }

img.pull-left { margin: 0 15px 15px 0; }
img.pull-right { margin: 0 0 15px 15px; }

/* duplicate img-responsive & img-thumbnail without the need for class names
   on all images in #mainContent */
#mainContent img {
	padding: 4px;
  	line-height: 1.428571429;
  	background-color: #ffffff;
  	border: 1px solid #dddddd;
  	border-radius: 4px;
  	-webkit-transition: all 0.2s ease-in-out;
  	transition: all 0.2s ease-in-out;
  	display: inline-block;
  	max-width: 100%;
  	height: auto;
}
	#mainContent img.no-border, #mainContent .thumbnail img {
		padding: 0;
		background: none;
		border: none;
		border-radius: 0;
	}




/*------------------------------------*\
    $LAYOUT
\*------------------------------------*/
.header { position: relative; }
.utility {
	height: 83px;
	background-color: #9643bf;
}
	.social { padding-top: 23px; }
	.social a {
		display: block;
		float: left;
		width: 35px;
		height: 35px;
		margin-right: 15px;
		padding-top: 2px;
		font-size: 150%;
		text-align: center;
		color: #ffffff;
	}
		.fb { background-color: #537bbd; }
		.tw { background-color: #78cdf0; }
		.social .in { background-color: #e95950; }
	
	.search { display: none; }
	.search-button { background-color: #dadada; }
	
	.cart-button {
		background-color: #78369a;
		color: #ffffff;
		font-size: 16px;
		line-height: 83px;
		font-weight: 700;
		text-align: center;
		text-transform: uppercase;
	}

.nav-row { padding: 0 !important; }
.navbar-default {
	min-height: 0;
	margin: 0;
	background: none;
	border: none;
}
	.navbar-default .navbar-collapse {
		border: none;
		box-shadow: none;
		max-height: none;
	}
	.navbar-default .navbar-nav > li > a {
		font-size: 16px;
		color: #78369a;
		text-transform: uppercase;
		text-align: center;
	}
	.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li.active > a, .navbar-default .navbar-nav > li.active > a:hover {
		background-color: #78369a;
		color: #ffffff;
	}
	.open > .dropdown-menu > li { text-align: center; }
.navbar-toggle {
	margin-top: 0;
	border-color: #dddddd;
}
.navbar-toggle .icon-bar { background-color: #cccccc; }
	
.footer {
	margin: 30px 0 15px;
	background-color: #78369a;
	font-size: 12px;
	color: #ffffff;
}
	.footer-info {
		padding: 10px 0 4px;
		background-color: #9643bf;
	}
	.footer a {
		color: #ffffff;
		text-decoration: underline;
	}
		.footer a:hover { text-decoration: none; }
	
	.mega-footer {
		display: flex;
		flex-wrap: wrap;
		padding: 30px 15px;
	}
		.mega-footer div { flex: 0 0 50%; }
@media screen and (min-width: 768px) {
	.mega-footer div { flex-basis: 33.333%; }
}
@media screen and (min-width: 1024px) {
	.mega-footer div { flex-basis: 25%; }
}
@media screen and (min-width: 1280px) {
	.mega-footer div { flex-basis: 20%; }
}
		.mega-footer .img-thumbnail { margin-bottom: 15px; }
		
	.mega-footer h4, .mega-footer li { line-height: 20px; }
	.mega-footer h4 {
		margin: 0;
		font-size: 14px;
	}
	.mega-footer a { text-decoration: none; }
	.mega-footer a:hover { text-decoration: underline; }
	




/*------------------------------------*\
    $HOMEPAGE
\*------------------------------------*/
.billboard {
	background: url(../img/billboard.jpg) 0 0 no-repeat;
	background-size: auto 200px;
}
	.billboard div {
		margin-top: 200px;
		padding: 15px 20px;
		background-color: rgba(255,255,255,0.8);
	}
	.billboard h1 {
		margin-bottom: 30px;	
		font-size: 24px;	
	}
	.billboard p {
		font-size: 14px;
		line-height: 30px;
	}

.features { margin-bottom: 30px; }
.features h2, .events h4 {
	background-color: #cc8214;
	font-size: 18px;
	line-height: 60px;
	text-align: center;
	color: #ffffff;
}
	.features h2 i, .events h4 i { font-size: 16px; }
	
.features .event a, .events .event a { font-weight: 700; }

.extra-feature h2 { margin: 0; }
.extra-feature div {
	padding: 15px;
	background-color: #dca452;
}
.extra-feature p { font-size: 16px; }

.purple-box {
	background-color: #9643bf;
	color: #ffffff;
	margin: 20px 0 10px;
	padding: 10px;
}



/*------------------------------------*\
    $CONTENT
\*------------------------------------*/
.sidebar h4 {
	background-color: #cc8214;
	font-size: 18px;
	line-height: 40px;
	text-align: center;
	color: #ffffff;
}
	.sidebar h4 i { font-size: 14px; }
.sidebar ul { margin: 15px 0 0 15px; }
	.sidebar li ul {
		display: none;
		margin: 5px 0 5px 15px;
	}
	.sidebar li.active ul { display: block; }
.sidebar .active > a { font-weight: 700; }

.events {
	padding-bottom: 15px;
	background-color: #dca452;
}
.events > .row { padding: 15px; }

/* collectible books page */
.author-list li {
	display: block;
	float: left;
	min-height: 53px;
	width: 100%;
	padding: 6px 12px;
	border-top: 1px solid #dddddd;
}
	.author-list li:hover { background-color: #efefef; }
	.author-list a { display: block; }

/* book of the month club signup form */
.confirmation-list dd { margin-bottom: 15px; }
.confirmation-list a {
	font-weight: bold;
	text-transform: uppercase;
}

/* create event form */
#event-form #description { min-height: 150px; }
#event-form .alert {
	opacity: 0;
	-moz-transition: opacity ease-out .3s;
	-webkit-transition: opacity ease-out .3s;
	transition: opacity ease-out .3s;
}
	#event-form .alert.in { opacity: 100; }

/* image float styles */
.img-float-right {
	float: right;
	margin: 0 0 15px 15px;
}
.img-float-left {
	float: left;
	margin: 0 15px 15px 0;
}

#eventList li { margin-top: 10px; }
	
	
	
	
/*------------------------------------*\
    $STYLE GUIDE
\*------------------------------------*/
.show-columns [class*="col-"] {
	margin-top: 15px;
	padding: 15px;
	border: 1px dashed #bababa;
	border-radius: 6px;
}




/*------------------------------------*\
    $RESPONSIVE
\*------------------------------------*/  
@media only screen and (min-width: 480px) {

}
@media only screen and (min-width: 600px) {

.billboard {
	height: 400px;
	padding: 15px;
	background-size: auto;
}
	.billboard div {
		margin-top: 0;
		height: 370px;
	}
	.billboard h1 { font-size: 36px; }
	
	.author-list li { width: 50%; }
	.author-list li:nth-child(2n+1) { clear: left; }
	
}
@media only screen and (min-width: 768px) {
	
.logo {
	position: absolute;
	left: 7px;
	top: 5px;
	z-index: 100;
}
	.search { display: table; }
	.search form { width: auto; }
	.navbar-default { min-height: 82px; }
	.navbar-default .navbar-nav > li { max-width: 107px; }
	.navbar-default .navbar-nav > li > a {
		height: 112px;
		padding: 51px 12px;
	}
		.navbar-default .navbar-nav > li.single-line  > a { padding-top: 60px; }
	.navbar-right .dropdown-menu {
    	left: 0;
    	right: auto;
	}
	.open > .dropdown-menu > li { text-align: left; }
	
	.features h2, .events h4 { font-size: 24px; }
	
	.author-list li { width: 33.3%; }
	.author-list li:nth-child(2n+1) { clear: none; }
	.author-list li:nth-child(3n+1) { clear: left; }
}
@media only screen and (min-width: 980px) {	
	.navbar-right .dropdown-menu {
    	left: auto;
    	right: 0;
	}
	.navbar-default .navbar-nav > li > a {
		height: 82px;
		padding: 21px 14px;
	}
		.navbar-default .navbar-nav > li.single-line  > a { padding-top: 30px; }
}
@media only screen and (min-width: 1200px) {
	.navbar-default .navbar-nav > li { max-width: none; }
	.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li.single-line > a {
		padding: 10px 20px;
		line-height: 62px;
	}
	.billboard h1 { font-size: 44px; }
	.billboard p { font-size: 16px; }
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
  /* 2x =================================================== */
}





/*------------------------------------*\
    $PRINT
\*------------------------------------*/ 
@media print {
	.social,
 	.header form,
 	.header button,
	.events,
 	.mega-footer { display: none; }
	
	.collapse {
		display: block !important;
		height: auto !important;
}
	
/*------------------------------------*\
    $CMS
\*------------------------------------*/ 
	.is-cms .calendar-div {
		padding: 1rem;
		border-radius: 8px;
		border: 3px solid red;
		cursor: not-allowed;
	}