/*

Theme Name: After 8 Books
Author: After 8 Books / Marco Caroti
Version: 1.0

*/


/* - - - - Browser Reset - - - - */

html, body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

* {
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
}


/* - - - - Basic Styles - - - - */

body {
	font-family: "_SuisseBPInternationalRegular", Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	letter-spacing: 0px;
	margin: 0;
}

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

	body {
		font-size: 17px;
	}

}

strong, b, .bold {
	font-family: "_SuisseBPInternationalAntique", Helvetica, Arial, sans-serif;
	font-weight: bold;
}

i, em {
	font-family: "_SuisseBPInternationalRegularItalic", Helvetica, Arial, sans-serif;
	font-style: italic;
}

a {
	color: rgb(0,0,0);
	border-bottom: 1px dotted;
	-webkit-transition: color 0.2s linear;
	-moz-transition: color 0.2s linear;
	transition: color 0.2s linear;
}

a:hover,
a:focus {
	color: rgb(255,135,195);
}

a.invert-link {
	color: rgb(255,255,255);
	border-bottom: 0px dotted;
	-webkit-transition: color 0.2s linear;
	-moz-transition: color 0.2s linear;
	transition: color 0.2s linear;
}

a.invert-link:hover,
a.invert-link:focus {
	color: rgb(0,0,0);
}

a.invert-link-active {
	color: rgb(0,0,0);
	border-bottom: 0px dotted;
	-webkit-transition: color 0.2s linear;
	-moz-transition: color 0.2s linear;
	transition: color 0.2s linear;
}

a.invert-link-active:hover,
a.invert-link-active:focus {
	color: rgb(255,255,255);
}

a.pink-link {
	color: rgb(255,135,195);
	border-bottom: 1px dotted;
	-webkit-transition: color 0.2s linear;
	-moz-transition: color 0.2s linear;
	transition: color 0.2s linear;
}

a.pink-link:hover,
a.pink-link:focus {
	color: rgb(0,0,0);
}

#nav a, #nav-compact a, #events-home a, #menu a {
	border-bottom: 0px;
}

#nav a:hover,
#nav a:focus  {
	color: rgb(255,135,195);
	border-bottom: 0px;
}

#footer a, #contact a {
	color: rgb(255,135,195);
	border-bottom: 1px dotted;
	border-color: rgb(255,135,195);
	-webkit-transition: border-color 0.2s linear;
	-moz-transition: border-color 0.2s linear;
	transition: border-color 0.2s linear;
}

.item-block > div:first-child a {
	border-color: transparent;
}

.item-block > div:first-child a:hover,
.item-block > div:first-child a:focus  {
	border-color: transparent;
}

#footer a:hover, #footer a:focus, #contact a:hover, #contact a:focus {
	border-color: rgb(255,255,255);
}

#menu-compact a {
	color: rgb(255,255,255)
}

#menu-compact a:hover, #menu-compact a:focus  {
	color: rgb(0,0,0);
	border-bottom: 0px;
}

p:first-child {
}

p {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 15px;
  margin-left: 0;
  padding: 0;
}

::selection { /* Highlight Text Selection */
  color: rgb(255,255,255);
	background-color: rgb(255,135,195);
}

::-moz-selection { /* Highlight Text Selection for Firefox */
  color: rgb(255,255,255);
  background-color: rgb(255,135,195);
}

.highlight { /* Highlight Text Selection Class */
	color: rgb(255,255,255);
	background-color: rgb(255,135,195);
}

.block {
	display: block;
}

.inline {
	display: inline-block;
}

.hide {
	display: none;
}

.line-through {
	text-decoration: line-through;
}

@media only screen and (max-width: 640px) {

	a:hover,
	a:focus {
		color: rgb(0,0,0);
	}

	a.invert-link:hover,
	a.invert-link:focus {
		color: rgb(255,255,255);
	}

	a.invert-link-active:hover,
	a.invert-link-active:focus {
		color: rgb(255,255,255);
	}

	#nav a:hover,
	#nav a:focus  {
		color: rgb(0,0,0);
	}

	#footer a:hover, #footer a:focus, #contact a:hover, #contact a:focus {
		color: rgb(255,135,195);
		border-color: rgb(255,135,195);
	}

}


/* - - - - End Basic Styles - - - - */


/* - - - - Main Typography Elements - - - - */

.small {
	font-size: 16px;
}

.regular {
	font-size: 16px;
}

.medium {
	font-size: 19px;
	line-height: 1.3;
}

.big {
	font-size: 23px;
	line-height: 1.3;
}

.extra-big {
	font-size: 36px;
}

.l-s {
	letter-spacing: 1px;
}

.serif {
	font-family: "SuisseWorksRegular", Times, serif;
}

.active {
	color: rgb(255,135,195);
}

.indent {
	text-indent: 15px;
}

.ornament {
	margin-top: 10px;
	margin-bottom: -5px;
}

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

	.medium {
		font-size: 22px;
	}

}


/* - - - - End Main Typography Elements - - - - */


/* - - - - Colors - - - - */

.white {
	color: rgb(255,255,255);
}

.black {
	color: rgb(0,0,0);
}

.pink {
	color: rgb(255,135,195);
}

.red {
	color: rgb(255,0,0);
}

.bg-white {
	background-color: rgb(255,255,255);
}

.bg-black {
	background-color: rgba(0,0,0,1);
}

.bg-pink {
	background-color: rgba(255,135,195,0.975);
}

/* - - - - End Colors - - - - */


/* - - - - Alignments - - - - */

.txt-align-left, .left {
	text-align: left;
}

.txt-align-center, .center {
	text-align: center;
}

.txt-align-right, .right {
	text-align: right;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

/* - - - - End Text Alignments - - - - */


/* - - - - Background - - - - */

.background {
  position: fixed;
  height: 100%;
  width: 100%;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  z-index: -1;
}


/* - - - - End Background - - - - */


/* - - - - Effects - - - - */

.blink {
	-webkit-animation: blink 1.5s linear infinite;
	-moz-animation: blink 1.5s linear infinite;
	-ms-animation: blink 1.5s linear infinite;
	-o-animation: blink 1.5s linear infinite;
	 animation: blink 1.5s linear infinite;
	 color: rgb(255,135,195) !important;
}

@-webkit-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@-moz-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@-ms-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@-o-keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}
@keyframes blink {
	0% { opacity: 1; }
	50% { opacity: 1; }
	50.01% { opacity: 0; }
	100% { opacity: 0; }
}

.colorcolor {
	color: rgb(green);
	-webkit-animation: change-color 3s linear 0s infinite alternate ;
  animation: change-color 3s linear 0s infinite alternate ;
}

@-webkit-keyframes change-color {
  0%{
	color:green;
  }
  100%{
	color:rgb(255,135,195);
  }
}

@keyframes change-color {
  0%{
	color:green;
  }
  100%{
	color:rgb(255,135,195);
  }
}

/* - - - - End Effects - - - - */


/* - - - - Buttons - - - - */

a.button {
	display: inline-block;
  border: 1px solid;
  text-align: center;
  padding: 10px 13px 8px 14px;
  border-radius: 0;
  margin-bottom: 10px;
	line-height: 1.4;
	-webkit-transition: border-color 0.2s linear;
	-moz-transition: border-color 0.2s linear;
	transition: border-color 0.2s linear;
	-webkit-transition: color 0.2s linear;
	-moz-transition: color 0.2s linear;
	transition: color 0.2s linear;
}

a.button:hover {
	color: rgb(255,135,195);
}

.button-with-border {
	color: rgb(0, 0, 0);
  border: 1px solid;
  text-align: center;
  padding: 10px 13px 8px 14px;
  text-decoration: none;
  background-color: transparent;
	background-image: none;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	cursor: pointer;
	border-radius: 0;
	line-height: 1.4;
	-webkit-transition: border-color 0.2s linear;
	-moz-transition: border-color 0.2s linear;
	transition: border-color 0.2s linear;
	-webkit-transition: color 0.2s linear;
	-moz-transition: color 0.2s linear;
	transition: color 0.2s linear;
}

.button-with-border:hover {
	color: rgb(255,135,195);
}

.button-with-border-invert {
	color: rgb(255,135,195);
}

.button-with-border-invert:hover {
	color: rgb(0,0,0);
}

.button-invert {
	font-family: "_SuisseBPInternationalRegular", Helvetica, Arial, sans-serif;
  color: rgb(255,255,255);
}

.button-invert:hover {
	color: rgb(0,0,0);
}

.button-no-style {
	color: rgb(0, 0, 0);
  text-align: center;
  text-decoration: none;
  background-color: transparent;
	background-image: none;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	margin: 0;
	cursor: pointer;
	-webkit-transition: border-color 0.2s linear;
	-moz-transition: border-color 0.2s linear;
	transition: border-color 0.2s linear;
	-webkit-transition: color 0.2s linear;
	-moz-transition: color 0.2s linear;
	transition: color 0.2s linear;
}

.button-no-style:hover {
	color: rgb(255,135,195);
}

.button-no-style {
	text-align: left;
}

@media only screen and (max-width: 640px) {

	a.button:hover {
		color: rgb(0,0,0);
	}

	.button-with-border:hover {
		color: rgb(0,0,0);
	}

	.button-with-border-invert:hover {
		color: rgb(255,255,255);
	}

	.button-invert:hover {
		color: rgb(255,255,255);
	}

	.button-no-style:hover {
		color: rgb(0,0,0);
	}

}

/* - - - - End Buttons - - - - */


/* - - - - Div Properties - - - - */

.margin {
	margin: 0 15px;
}

.padding {
	margin: 0 15px;
}

.center-div {
	margin:auto ;
}

.clearfix {
	clear: both;
}

/* - - - - End Div Properties - - - - */


/* - - - - Generic Layout Elements - - - - */

hr { /* Line Separator */
	display: block;
	border: none;
	border-bottom: 1px solid rgb(0,0,0);
	margin: 0px 10px;
}

@media only screen and (max-width: 640px) {

	hr {
		margin: 0px 5px;
	}

}


/* - - - - End Generic Layout Elements - - - - */


/* - - - - Main Layout Elements - - - - */

#container {
	margin-top: 80px;
	padding: 10px;
}

.wrap {
	padding: 10px;
	margin: 0 auto;
	overflow: hidden;
}

.neg {
	padding: 10px 5px;
}

#contact-rotate {
  -ms-transform: rotate(270deg); /* IE 9 */
  -webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
  transform: rotate(270deg);
  transform-origin: 0% 100%;
  width: 100%;
  bottom: 50px;
  left: 57px;
}

#contact {
	overflow: hidden;
}

#footer {
	overflow: hidden;
	margin-top: 0px;
}

#footer p {
	margin: 0;
	padding: 0;
}

#menu {
	display: block;
	margin: 30px 10px 5px 10px;
	overflow: hidden;
	text-align: center;
}

#menu span {
	display: inline;
}

#menu-compact {
	display: none;
}

.separator {
	display: block;
	border-bottom: 1px solid rgb(0,0,0);
	margin: 0px 10px;
}

#news {
	display: none;
	position: fixed;
	top: 0px;
	right: 0px;
	bottom: 0px;
	background-color: rgb(255,135,195);
	width: 30%;
}

.nav-right-close {
	float: right;
	margin-top: 12px;
	margin-right: 20px;
}

.scroll {
	height:100%;
	overflow:auto;
}

@media only screen and (max-width: 640px) {

	#container {
		margin: 60px 0 0 0;
	}

	#news {
		display: none;
	}

	#menu-compact {
		display: block;
		overflow: hidden;
	}

	#menu-compact span {
		float: left;
	}

}

@media only screen and (max-width: 480px) {

	#menu {
		margin: 30px -5px 5px -5px;
	}

	#menu span {
		display: block;
	}

}


/* - - - - End Main Layout Elements - - - - */


/* - - - - Search - - - - */

.search {
	position: fixed;
	display: table;
	width: 100%;
	height: 100vh;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10000;
}

.search-close-button {
	position: absolute;
	top: 15px;
	right: 20px;
}

#search-area {
	display: table-cell;
	vertical-align: middle;
}


#books.search-no-results #error-message {
	display: block;
	border-top: 1px solid rgb(0,0,0);
  padding-top: 10px;
  margin-bottom: 80px;
}

#books.search-with-results #error-message {
	display: none;
}

#books.search-no-results #shop-table {
	display: none;
}

#books.search-with-results #shop-table {
	display: table;
}

@keyframes animateBorder {
  to {
    outline-color: rgb(255,135,195);
    box-shadow: 0 0 0 4px white;
  }
}

#search-field-full {
	text-align: center;
	font-size: 23px;
	min-width: 400px;
	width: 60%;
	margin-top: 0px;
	padding: 0 5px;
	margin: 0px;
	border: 0px;
	border-radius: 0px;
	outline: none;
	background-color: transparent;
	border-bottom: 1px solid white;
}

#search-field-full:focus {
	color: rgb(255,255,255);
}

#search-field {
	margin-top: 0px;
	text-align: right;
	width: 100%;
	padding: 0px;
	margin: 0px;
	border: 0px;
	border-radius: 0px;
	outline: none;
	border-bottom: 0px;
	background-color: transparent;
}

#search-field:focus {
	color: rgb(255,135,195);
	border-bottom: 0px;
}

::-webkit-input-placeholder {
	color: rgb(255,255,255);
	opacity: 1;
}

:-moz-placeholder { /* Firefox 18- */
	color: rgb(255,255,255);
	opacity: 1;
}

::-moz-placeholder {  /* Firefox 19+ */
	color: rgb(255,255,255);
	opacity: 1;
}

:-ms-input-placeholder {
	color: rgb(255,255,255);
	opacity: 1;
}

.search-results {
	font-size: 15px;
	margin: 0 15px 30px 30px;
}

#search-area-compact {
	font-size: 15px;
}

#search-field-compact {
	text-align: left;
	width: 100%;
	margin-top: 0px;
	padding: 0px;
	margin: 0px;
	border: 0px;
	border-radius: 0px;
	outline: none;
	background-color: transparent;
	border-bottom: 1px solid white;
}

#search-field-compact:focus {
	color: rgb(255,255,255);
}

@media only screen and (max-width: 1200px) {

	.search-close-button {
		right: 40px;
	}

}

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

	#search-field {
		margin-top: -1px;
	}

}

@media only screen and (max-width: 960px) {

	#search-field-full {
		width: 80%;
	}

}

@media only screen and (max-width: 960px) {

	.search-close-button {
		top: 15px;
		right: 20px;
	}

}

@media only screen and (max-width: 480px) {

	#search-field-full {
		min-width: 250px;
	}

}

/* - - - - End Search - - - - */


/* - - - - Newsletter - - - - */

#newsletter {
	padding: 0;
}

#newsletter span {
	display: block;
}

#newsletter-about span {
	display: block;
}

#newsletter input, #newsletter-about input {
	font-family: "SuisseBPInternationalRegular", Helvetica, Arial, sans-serif;
	color: rgb(255,135,195);
}

#newsletter input[type=email], #newsletter input[type=text], #newsletter-about input[type=email], #newsletter-about input[type=text] {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	width: 100%;
	border: 0;
	border-bottom: 1px solid rgb(255,135,195);
  padding: 7px 0 3px 0;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	border-radius: 0;
}

#newsletter input[type=email]:focus, #newsletter input[type=text]:focus, #newsletter-about input[type=email]:focus, #newsletter-about input[type=text]:focus {
	border: 0;
	border-bottom: 1px solid rgb(255,135,195);
}

#newsletter input::-webkit-input-placeholder, #newsletter-about input::-webkit-input-placeholder {
   color: rgba(255,135,195,0.6);
}

#newsletter input:-moz-placeholder, #newsletter-about input:-moz-placeholder { /* Firefox 18- */
   color: rgba(255,135,195,0.6);
}

#newsletter input::-moz-placeholder, #newsletter-about input::-moz-placeholder  {  /* Firefox 19+ */
   color: rgba(255,135,195,0.6);
}

#newsletter input:-ms-input-placeholder, #newsletter-about input:-ms-input-placeholder {
   color: rgba(255,135,195,0.6);
}

.mc-field-group {
   margin-bottom: 5px;
   max-width: 220px;
}

#mc-embedded-subscribe {
   margin-top: 7px;
}


/* - - - - End Newsletter - - - - */


/* - - - - Navigation Desktop - - - - */

#nav {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	padding: 15px 20px 0px 20px;
	/*background: -webkit-gradient(linear, center top, center bottom, from(white 90%), to(transparent 100%));
	background: -webkit-linear-gradient(to bottom, white 90%, transparent 100%);
	background: -moz-linear-gradient(to bottom, white 90%, transparent 100%);
	background: -o-linear-gradient(to bottom, white 90%, transparent 100%);
	background: -ms-linear-gradient(to bottom, white 90%, transparent 100%);
	background: linear-gradient(to bottom, white 90%, transparent 100%);*/

	background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSI5MCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMC4wIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmFkKSIgLz48L3N2Zz4g');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(90%, #ffffff), color-stop(100%, rgba(255, 255, 255, 0)));
  background-image: -moz-linear-gradient(top, #ffffff 90%, rgba(255, 255, 255, 0) 100%);
  background-image: -webkit-linear-gradient(top, #ffffff 90%, rgba(255, 255, 255, 0) 100%);
  background-image: linear-gradient(to bottom, #ffffff 90%, rgba(255, 255, 255, 0) 100%);

	overflow: hidden;
}

#nav span {
	float: left;
}

#nav span#s7-cart-count {
	float: none;
}

.spacer {
	padding: 0px 7px;
}

@media only screen and (max-width: 640px) {

	#nav {
		display: none;
	}

	#shop-nav {
		display: none;
	}

}

.hide {
	display: none;
}

.first {
	padding: 0px 0px 0px 5px;
} /* Nav Li Spacer */

.last {
	padding: 0px 0px 0px 0px;
} /* Nav Li Spacer */


/* - - - - End Navigation Desktop - - - - */


/* - - - - Navigation Mobile - - - - */

#nav-compact {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	padding: 15px;
	background-color: white;
	overflow: hidden;
}

#nav-compact {
	display: none;
}

#shop-menu-compact {
	display: none;
}

@media only screen and (max-width: 640px) {

	#nav-compact {
		display: block;
	}

	#nav-compact-menu-left {
		float: left;
	}

	#nav-compact-menu-right {
		float: right;
		text-align: right
	}

	#full-screen-nav {
		position: fixed;
		width: 100%;
		height: 100vh;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 10000;
	}

	.full-screen-nav-close-button {
		position: absolute;
		top: 15px;
		right: 20px;
	}

	.full-screen-nav-content {
		text-align: left;
    	padding: 15px 20px;
	}

	.full-screen-nav-content div {
		margin-bottom: 5px;
	}

	.hide {
		display: none;
	}

	.show {
		display: table;
	}

 }

/* - - - - End Navigation Mobile - - - - */


/* - - - - Homepage Layout - - - - */

#events-list {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;

	-webkit-box-pack: flex-start;
	-ms-flex-pack: flex-start;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-box-align: flex-start;
	-ms-flex-align: flex-start;
	-webkit-align-items: flex-start;
	align-items: flex-start;

	-webkit-flex-flow: row wrap;

	width: 100%;
}

#items {
	width: 100%;
	margin-top: 15px;
}

.item-block-box {
	display: inline-block;
	vertical-align: top;
	margin-right: -4px;
	margin-bottom: 30px;
}

.item-block {
	margin: 0 10px;
}

.event {
	margin: 4px 4px 9px 4px;
}

.item-content-bg {
	background-color: yellow;
}

.last-result {
	display: none;
}

.img {
	max-width: 100%;
	margin-top: 6px;
}

.img-books-home {
	max-width: 100%;
}

.img-books-shop {
	max-width: 60%;
	margin-bottom: 5px;
	margin-left: 45px;
}

.img-shop-list {
	max-width: 75%;
	margin-bottom: 5px;
}

.img-info-news {
	max-width: 60%;
}

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

	.item-block-box {
		width: 16.666%;
	}

}

@media only screen and (max-width: 1700px) {

	.item-block-box {
		width: 20%;
	}

}

@media only screen and (max-width: 1260px) {

	.item-block-box {
		width: 25%;
	}

}

@media only screen and (max-width: 1024px) {

	.item-block-box {
		width: 33.333333%;
	}

}

@media only screen and (max-width: 640px) {

	.item-block-box {
		width: 50%;
	}

}

@media only screen and (max-width: 480px) {

	.item-block-box {
		width: 100%;
	}

	.item-block {
		margin: 5px;
	}

}

/* - - - - End Homepage Layout - - - - */


/* - - - - Fundraising - - - - */

#img-books-home-fundrising {
	max-width: 60% !important;
}

@media only screen and (max-width: 960px) {

	#img-books-home-fundrising {
		max-width: 100% !important;
	}

}

/* - - - - End Fundraising - - - - */


/* Cart - Mini-Shop */

.sans {
	font-family: "SuisseBPInternationalRegular", Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.4;
	letter-spacing: 1px;
	margin: 0;
}

#shop-cart {
	padding: 10px;
}

#shop-form {
	width: 100%;
	padding: 10px 0 0 0;
}

input.cart-form, textarea.cart-form {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	width: 90%;
	border: 1px solid rgb(0,0,0);
    padding: 10px 15px;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	border-radius: 0;
}

input.cart-form:focus, textarea.cart-form:focus {
	border: 1px solid rgba(255,135,195,1);
}

input.cart-form::-webkit-input-placeholder {
   color: rgb(128,128,128);
}

input.cart-form:-moz-placeholder { /* Firefox 18- */
   color: rgb(128,128,128);
}

input.cart-form::-moz-placeholder {  /* Firefox 19+ */
   color: rgb(128,128,128);
}

input.cart-form:-ms-input-placeholder {
   color: rgb(128,128,128);
}

input[type=number] {
	width: 34px;
  padding: 0px;
	border: 0px;
	border-bottom: 1px solid rgb(0,0,0);
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	border-radius: 0;
}

input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  cursor:pointer;
  display:block;
  width: 8px;
  color: #333;
  text-align:center;
  position:relative;
  border-radius: 0;
}

input[type=radio] {
  border: 0px;
  margin: 0;
  padding: 0;
}

input.required {

}

input.error {
	background-color: rgba(255,135,195,0.2);
}

.cart-form-region {
	width: 90%;
	border: 1px solid rgb(0,0,0);
	padding: 10px 15px;
	margin-top:8px;
	border-radius: 0px;
	background: transparent;
	-webkit-appearance:none;
	box-shadow: 0;
	outline: none;
	cursor: pointer;
	margin-top: 0;
}

#mainImage {
	width:100%;
}

.order-fields {
	width: 100%;
}

.order-field-item {
	width: 33.333333%;
	float: left;
	margin-bottom: 20px;
}

.order-item {
	width: 33.333333%;
	float: left;
	margin-bottom: 20px;
}

#jGrowl {
	display: none;
}

@media only screen and (max-width: 960px) {

	.order-fields {
		width: 50%;
		float: left;
	}

	.order-field-item {
		width: 100%;
	}

	.order-item {
		width: 50%;
	}

}

@media only screen and (max-width: 640px) {

	.sans {
		font-size: 15px;
	}

	.order-fields {
		width: 100%;
	}

	.order-item {
		width: 100%;
		float: none;
	}

	input.cart-form, textarea.cart-form {
		width: 100%;
	}

	.cart-form-region {
		width: 100%;
	}

	input[type=number] {
		width: 28px;
	}

}

@media only screen and (max-width: 480px) {



}


/* - - - - Shop Layout - - - - */

#msOrder {
  margin: 0;
}

.ms2_form.disabled button { /* DISABLED ADD TO CART BUTTON */
  pointer-events: none;
  color: #c0c0c0;
}

.add-button-desktop {
  display: block;
}

.add-button-mobile {
  display: none;
}

#books {
	margin: 0px 10px;
	margin-bottom: 20px;
}

#more-waiting {
	position: fixed;
	top: 45%;
	right: 0;
	bottom: 0;
	left: 0;
	font-size: 40px;
	letter-spacing: 1px;
	line-height: 1;
	z-index: 1000;
	display: none;
}

#more-waiting > div {
	margin: 0 auto;
	-webkit-transform: translateY(-45%);
	-ms-transform: translateY(-45%);
	transform: translateY(-45%);
}

.loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url("..assets/theme/images/page-loader.gif") 50% 50% no-repeat rgb(249,249,249);
}

.shop-list {
	margin: 0 10px;
	padding-top: 10px;
	-webkit-column-count: 4;
	-moz-column-count: 4;
	column-count: 4;
}

@media only screen and (max-width: 960px) {

	.shop-list {
		-webkit-column-count: 3;
		-moz-column-count: 3;
		column-count: 3;
	}

}

@media only screen and (max-width: 640px) {

	#msOrder {
	   margin: 0;
	}

    #books {
      margin: 0px 5px;
    }

	.shop-list {
	   margin: 0 5px;
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
	}

}

@media only screen and (max-width: 480px) {

	.add-button-desktop {
	   display: none;
	}

	.add-button-mobile {
	   display: block;
	}

}


/* Table List */

table#shop-table {
	width: 100%;
}

table#shop-table, tr#shop-table, table#shop-cart, tr#shop-cart {
  text-align: left;
}

table#shop-table, table#shop-cart {
  border-collapse: collapse;
}

table#shop-table th, table#shop-cart th, table#shop-table td, table#shop-cart td  {
  padding: 10px 12px;
  border-top: 1px solid rgb(0,0,0);
  border-bottom: 1px solid rgb(0,0,0);
}

table#shop-table th:hover {
    cursor: pointer;
}

table#shop-table thead tr .headerSortDown, table#shop-table thead tr .headerSortUp {
	background-color: rgba(255,135,195,0.2);
}

table#shop-table tbody tr:hover {
    background-color: rgba(255,135,195,0.2);
}

table#shop-table tbody tr.tr-no-hover:hover {
    background-color: rgba(255,255,255,1);
}

.data-mobile {
	display: none;
}

@media only screen and (max-width: 960px) {

	table#shop-table th {
	    width: auto;
	}

	table#shop-table th:nth-child(5) {
	    display: none;
	}

	table#shop-table td:nth-child(5) {
	    display: none;
	}

	table#shop-cart th {
	    width: auto;
	}

}

@media only screen and (max-width: 640px) {

	table#shop-table th:nth-child(3) {
	    display: none;
	}

	table#shop-table td:nth-child(3) {
	    display: none;
	}

	table#shop-table th:nth-child(4) {
	    display: none;
	}

	table#shop-table td:nth-child(4) {
	    display: none;
	}

	table#shop-table th:nth-child(5) {
	    display: none;
	}

	table#shop-table td:nth-child(5) {
	    display: none;
	}

}

@media only screen and (max-width: 480px) {

	.data-mobile {
		display: block;
	}

	table#shop-table th, table#shop-cart th, table#shop-table td, table#shop-cart td  {
	    padding: 10px 0px 10px 5px;
	    border-top: 1px solid rgb(0,0,0);
	    border-bottom: 1px solid rgb(0,0,0);
	}

	table#shop-table th:nth-child(1) {
	    display: none;
	}

	table#shop-table td:nth-child(1) {
	    display: none;
	}

	table#shop-table th:nth-child(3) {
	    display: none;
	}

	table#shop-table td:nth-child(3) {
	    display: none;
	}

	table#shop-table th:nth-child(4) {
	    display: none;
	}

	table#shop-table td:nth-child(4) {
	    display: none;
	}

	table#shop-table th:nth-child(5) {
	    display: none;
	}

	table#shop-table td:nth-child(5) {
	    display: none;
	}

	table#shop-table th:nth-child(6) {
	    display: none;
	}

	table#shop-table td:nth-child(6) {
	    display: none;
	}

	table#shop-cart th:nth-child(4) {
	    display: none;
	}

	table#shop-cart td:nth-child(4) {
	    display: none;
	}

}

.arrow-up {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid black;
  margin-bottom: 2px;
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid black;
}

/* - - - - End Table List - - - - */


/* Stocklist Private Table List */

table#stocklist-private-table {
	width: 100%;
}

table#stocklist-private-table, tr#stocklist-private-table, table#stocklist-private-table, tr#stocklist-private-table {
    text-align: left;
}

table#stocklist-private-table, table#stocklist-private-table {
    border-collapse: collapse;
}

table#stocklist-private-table th, table#stocklist-private-table th, table#stocklist-private-table td, table#stocklist-private-table td  {
    padding: 10px 12px;
    border-top: 1px solid rgb(0,0,0);
    border-bottom: 1px solid rgb(0,0,0);
}

table#stocklist-private-table th:hover {
    cursor: pointer;
}

table#stocklist-private-table thead tr .headerSortDown, table#stocklist-private-table thead tr .headerSortUp {
	background-color: rgba(255,135,195,0.2);
}

table#stocklist-private-table tbody tr:hover {
    background-color: rgba(255,135,195,0.2);
}

table#stocklist-private-table tbody tr.tr-no-hover:hover {
    background-color: rgba(255,255,255,1);
}

/* - - - - End Stocklist Private Table List - - - - */


/* - - - - Item Layout - - - - */

#item {
	margin: 15px 10px;
	overflow: hidden;
}

#item-description {
	width: 48%;
	float:left;
}

#item-images {
	width: 48%;
	float:right;
	text-align: center;
}

#item-images > div {
	text-align: right;
}

@media only screen and (max-width: 640px) {

	#item {
		margin: 15px 5px;
	}

	#item-description {
		width: 100%;
		float:none;
	}

	#item-images {
		width: 100%;
		float:none;
		margin-top: 35px;
		text-align: left;
	}

	#item-images > div {
		max-width: 700px;
		margin: auto;
		text-align: center;
	}

}

/* - - - - End Item Layout - - - - */


/* - - - - About Layout - - - - */

#about {
	margin: 15px 10px 0 10px;
	overflow: hidden;
}

#about-text {
	width: 45%;
	float:left;
}

@media only screen and (max-width: 640px) {

	#about {
	   margin: 15px 5px 0 5px;
		overflow: hidden;
	}

	#about-text {
		width: 100%;
		float:none;
	}

}

#contacts-social-icons div:first-child {
	float:left;
	width:150px;
	margin-right:20px;
}

#contacts-social-icons div:last-child {
	float:left;
	width:120px;
}

@media only screen and (max-width: 960px) {

	#contacts-social-icons div:first-child {
		float:left;
		width:120px;
		margin-right:20px;
	}

	#contacts-social-icons div:last-child {
		float:left;
		width:100px;
	}

}


/* - - - - End About Layout - - - - */


/* Text Rotation */

.rotate {
    -webkit-animation-name: rotate;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: rotate;
    -moz-animation-duration: 2s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    animation-name: rotate;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@-webkit-keyframes rotate {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(360deg);}
}

@-moz-keyframes rotate {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(360deg);}
}

@keyframes rotate {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}

.turn {
	transform-origin: center top;
	transform: translateX(-50%) rotate(-90deg);
}

/* End Text Rotation */


/* Scrollbar */

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

	::-webkit-scrollbar {
	      width: 15px;
	} /* this targets the default scrollbar (compulsory) */

	::-webkit-scrollbar-track {
	      background-color: rgba(0, 0, 0, 0);
	} /* the new scrollbar will have a flat appearance with the set background color */

	::-webkit-scrollbar-thumb {
	      background-color: rgb(255,135,195);
	} /* this will style the thumb, ignoring the track */

	::-webkit-scrollbar-button {
	      background-color: rgba(0, 0, 0, 0.2);
	} /* optionally, you can style the top and the bottom buttons (left and right for horizontal bars) */

	::-webkit-scrollbar-corner {
	      background-color: rgba(0, 0, 0, 0.2);
	} /* if both the vertical and the horizontal bars appear, then perhaps the right bottom corner also needs to be styled */

}

/* Hide nav on on scroll down */

#nav.hidden {
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
}

.nav-up {
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
}

/* Sliding Text */

#sliding-text {
    font-family: "Times", serif;
    font-style: italic;
    font-size: 21px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

#sliding-text p {
	margin-bottom: 6px;
	padding: 0;
	display: inline-block;
    padding-left: 100%;
    animation: sliding-text 20s linear infinite;
}

@keyframes sliding-text {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}
