@charset "utf-8";
/* CSS Document */
body, html{
	margin: 0;
}

a{
	text-decoration:none;
	color:#000;
}

body{
	font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
	line-height: 1.4em;   /* within paragraph */
}

table{
	border-collapse:collapse;
}

a:hover{
	color:#FFF;
}

#sitemapping a:hover{
	text-decoration: underline;
	color: black;
}

.article{
	color:#00F;
}

.article:hover{
	color:#00F;
	text-decoration:underline;
}

#share-buttons img {
width: 35px;
padding: 5px;
border: 0;
box-shadow: 0;
display: inline;
}

#message, #bookimage{
	padding: 10px;
}

/*Style the form element with a border around it*/
.container{
	padding: 10px;
}

/*Style the input elements and the submit button*/
input[type=text], input[type=email], input[type=submit]{
	width: 100%;
	padding: 12px;
	margin: 8px 0;
	display: inline-block;
	border: 1px solid #ccc;
	box-sizing: border-box;
}

/*Style the submit button*/
input[type=submit]{
	background-color: blue;
	color: black;
	border: none;
}

input[type=submit]:hover{
	opacity: 0.8;
}

#book-image{
	text-align: center;
	vertical-align: middle;
}

/*MODAL*/
button{
	cursor: pointer;
	background: transparent;
	border: none;
	outline: none;
	font-size: inherit;
}

.open-modal{
	font-weight: bold;
	background: steelblue;
	color: #fff;
	padding: .75rem 1.75 rem;
	margin-bottom: 1rem;
	border-radius: 5px;
}

.modal{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	background-color: rgba(0, 0, 0, .7);
	cursor: pointer;
	visibility: hidden;
	opacity: 0;
	transition: all 0.35 ease-in;
	z-index: 10;
}

.modal.is-visible{
	visibility: visible;
	opacity: 1;
}

.modal-dialog{
	position: relative;
	max-width: 80%;
	max-height: 80vh;
	border-radius: 5px;
	background:#fff;
	overflow: auto;
	cursor: default;
}

.modal-dialog > *{
	padding: 1rem;
}

.modal-header, 
.modal-footer{
	background:#fff;
}

.modal-header{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.modal-header .close-modal{
	font-size: 1.5rem;
}

.modal p + p{
	margin-top: 1rem;
}

#advertisementspot1{
	float:left;
	width:10%;
	padding:25px;
}

#advertisementspot2{
	float:left;
	width:10%;
	padding:25px;
}

@keyframes ads-blink{
	from{content:url(ads-1.png);}
	to{content: url(ads-2.png);}
}

.in-article-ads{
	display: block;
	margin-left: auto;
	margin-right: auto;
	animation: ads-blink 3s infinite;
}

.side-ads{
	animation: ads-blink 3s infinite;
}

/*aaa*/
@media screen and (max-width: 800px){
#content{
	float: left;
	width:80%;
	padding:25px;
}

#advertisementspot{
	display: none;
}

.responsive{
	width: 320px;
	height:50px;
}

#message{
	width: 90%;
}

#book-image{
	padding-top: 30px;
	width: 50%;
	display: block; 
	margin-left: auto; 
	margin-right: auto; 
}

#book-image img{
	width: 175px;
}

.in-article-ads{
	width: 95%;
}
}

@media(min-width: 800px){
#content{
	float:left;
	width:55%;
	padding:25px;
}

#advertisementspot{
	float:left;
	width:20%;
	padding:25px;
}

#message{
	flex-grow: 0;
	width: 60%;
	display: table-cell;
}

#book-image{
	flex-grow: 0;
	width: 35%;
	display: table-cell;
}

#book-image img{
	width: 225px;
}

.in-article-ads{
	width: 40%;
}
}

#advertisementspot1,#content,#advertisementspot2{
	box-sizing:border-box;
}