@import url('https://fonts.googleapis.com/css?family=Lato');

body
{
	margin:0px;
	font-family: 'Lato', sans-serif;
	background-color: #333;
}
h2
{
	margin-top:0px;
	margin-bottom: 15px;
	font-size:0.9em;
	text-align:center;
	color: #cc071e;
}

h3
{
	margin: 0px;
	color: #646464;
}

#topbar
{
	height:30px;
	background-color: #c00;
	 -webkit-transition: 2s;
	transition: 2s;

}
#topbarWrapper
{
	max-width: 960px;
	margin: 0 auto 0 auto;
}
#topbarLeft
{
	height:25px;
	width:50%;
	float:left;
	padding-top: 5px;
	color:#fff;
}
#takaisin {
 padding-top: 5px;
}

#topbarRight
{
	height:25px;
	width:49%;
	padding-right: 1%;
	float:left;
	text-align:right;
	padding-top: 5px;
	color:#fff;
}
#topbarLeft img,#takaisin img
{
	position:relative;
	left:5px;
}
#breadcrump
{
	margin-left:20px;
}
#bc1,#bc2,#bc3
{
	cursor:pointer;
}
#wrapper
{
	position:relative;
	width:90%;
	max-width:960px;
	margin: 0px auto 0px auto;
}
#poiminnat
{
  padding-top:20px;
  background-color: #fff;
}
.cover
{
	text-align:center;
	font-size: 0.8em;
	float:left;
	width:150px;
	height:240px;
	margin: 0px 0 10px 10px;
	cursor:pointer;
}
.cover:hover
{
    -ms-transform: scale(1.05); /* IE 9 */
    -webkit-transform: scale(1.05); /* Safari */
    transform: scale(1.05);
}

.coverimg
{
	width:150px;
	height:205px;
	position: relative;
}
.cover img
{
	-webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
margin-bottom:5px;
max-width:100%;
}
.coverimg img
{
	position: absolute;
	left:0px;
	bottom:0px;
}

#viimoset
{
  padding:20px;
  background-color: #fff;
  width:90%;
  max-width:460px;
  margin: 0px auto 0px auto;
  overflow: hidden;
}

.cover2
{
	Float:left;
	width:75px;
	height:100px;
	margin: 0px 0 10px 10px;
	cursor:pointer;
}
.cover2 img
{
	max-width:75px;
	max-height:100px;
}
.cover2:hover
{
    -ms-transform: scale(1.05); /* IE 9 */
    -webkit-transform: scale(1.05); /* Safari */
    transform: scale(1.05);
}

.cover3
{
	position:relative;
	text-align:center;
	font-size: 0.8em;
	float:left;
	width:120px;
	height:180px;
	margin: 0px 0 10px 10px;
}
.cover3 a
{
	text-decoration: none;
	color: #646464;
	font-size: 0.8em;
}
.cover3:hover
{
    -ms-transform: scale(1.05); /* IE 9 */
    -webkit-transform: scale(1.05); /* Safari */
    transform: scale(1.05);
}

.cover3 img
{
	-webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
margin-bottom:5px;
}

#laturi
{
	padding-top:90px;
	text-align:center;
}
#loadBar
{
  width: 10px;
  height: 10px;
  background-color: #999;
  margin: 0 auto 0 auto;
  -webkit-transition: width 2s; /* Safari */
transition: width 2s;
}
#readerFrame
{
height:97%;
width:100%;
border: none;
margin:0px;

}
#iframe
{
height:100%;
width:100%;
position:absolute;
left:100%;
top:0px;
-webkit-transition: left 1s; /* Safari */
 transition: left 1s;
}

#readerSpacer
{
height:3%;
min-height:20px;
}

#publications
{
position: absolute;
	z-index: 9999;
    top: 30px;
    right: 10%;
    height: 80%;
    overflow: auto;
    background-color: #b00;
    padding: 10px 2px 10px 2px;
    color: #fff;
	display: none;
}

#searchField
{
	width:60px;
	height: 20px;
	border: none;
	border-radius:4px;
	padding-left:5px;
	color:#999;
	-webkit-transition: width 1s; /* Safari */
   transition: width 1s;
}
.pubMenuItem
{
	margin-top:1px;
	background-color: #900;
	padding: 0 0 0 8px;
}
.pubMenuItem:hover
{
	background-color: #d00;
}
#takaisin
{
	display:none;
	color: #fff;
	padding: 5px 0 0 20px;
	font-size:0.7em;
	font-weight:bold;
	cursor:pointer;
}

#publicationView h2
{
	color: #666;
	font-size: 2em;
	padding-top:20px;
}
#publicationView p
{
	color: #666;
	text-align:center;
	max-width: 960px;
	width: 95%;
	margin: 0px auto 0px auto;
}
#newestIssue
{
	background-color: #ececec;
	color: #646464;
	padding: 10px 0 10px 0;
	margin-bottom: 10px;
	margin-top:10px;
}
#newestWrapper
{
	margin: 0px auto 0px auto;
	max-width: 960px;
}
#newestWrapper img
{
	max-width:160px;
	max-height:200px;
	-webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);

}
#newestWrapper img:hover
{
	 -ms-transform: scale(1.05); /* IE 9 */
    -webkit-transform: scale(1.05); /* Safari */
    transform: scale(1.05);
}
#oldIssues
{
	max-width: 960px;
	margin: 0px auto 0px auto;
}
img.coverOld
{
	width: 100px;
}
#publicationView table
{
	color: #646464;
	max-width: 480px;
	margin: 0 0 0 5px;
}
#publicationView td
{
	vertical-align: top;
}
#searchResults
{
	max-width: 960px;
	margin: 0px auto 0px auto;
}
#searchResults img
{
	width: 100px;
}
.lock
{
	position: relative;
	top: -100px;
	left: 50px;
	background-color: #900;
	width:50px;
	height:50px;
}

.lock img
{
	width:100%;
	height:100%;
}
.lock2
{
	position: relative;
	top: -100px;
	left: 35px;
	background-color: #900;
	width:50px;
	height:50px;
}

.lock2 img
{
	width:100%;
	height:100%;
}
#footer1
{
	background-color: #ececec;
	padding: 20px 0 20px 0;
}
#footer2
{

}

#footerWrapper
{
	margin: 0px auto 0px auto;
	max-width: 960px;
}
#footerWrapper2
{
	margin: 0px auto 0px auto;
	max-width: 960px;
	text-align: right;
	color: #c0c0c0;
}
#footerWrapper2 a {
	color: #ececec;
	text-decoration:none;
}
#footerWrapper2 p {
margin-top:5px;
}
#footerWrapper2 span {
margin-left:25px;
}

#f1Left
{
	float:left;
	width:24%;
	text-align:left;
	padding-top:20px;
	padding-left:1%;
}
#f1Mid
{
	float:left;
	width:50%;
	text-align:center;
}
#f1Right
{
	float:left;
	width:25%;
	text-align:right;
	padding-top:20px;
}
#f1Mid h2
{
	color: #646464;
	margin-top: 10px;
}
#f1Mid p
{
	color: #646464;
	margin: 0 0 5px 0;
}

#categories
{
	padding-top:20px;
	padding-bottom:20px;
	text-align:center;
}
#categoryView h2
{
	color: #666;
	font-size: 2em;
}

.catItem
{
	color: #646464;
	cursor:pointer;

}
.publicationRow
{
	margin: 0px auto 0px auto;
	max-width: 960px;
	clear:both;
	border-bottom: 1px solid;
}
.pubCover
{
	float:left;
	padding:20px;
}
.pubCover img
{
	width:100px;
	height: 100px;
	cursor:pointer;
}
.pubInfo
{
	float:left;
	padding:20px;
	width:400px;
}
.catLatestIssues
{
	float:left;
	width: 300px;
	text-align: right;
	padding:20px;
}

.catLatestIssues img
{

	height: 98px;
	border: 1px solid;
	margin: 0 5px 0 5px;
}


div#loginScreen {
	display:none;
    width: 100%;
    position: absolute;
    top: 0px;
    background-color: rgba(0,0,0,0.5);
    height: 100%;
}
div#loginModal {
    margin: 40px auto 0 auto;
    background-color: #c00;
    width: 90%;
    max-width: 480px;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    color: #fff;
}
div#loginModal h2{

    color: #fff;
}
div#loginModal input{

  font-size: 1.6em;
	max-width:90%;
	border-radius: 4px;
	border:none;
	padding: 0 0 0 15px;
}

div#loginModal button {
background-color: Transparent;
    background-repeat:no-repeat;
    border: 1px solid #fff;
	border-radius: 4px;
    cursor:pointer;
    overflow: hidden;
    outline:none;
	font-size: 2em;
	color: #fff;
}
#loginLaturi
{
	padding-top:90px;
	text-align:center;
}
#loginLoadBar
{
  width: 10px;
  height: 10px;
  background-color: #fff;
  margin: 0 auto 0 auto;

}
#loginCancel2,#loginCancel,#pubButton,#logInButton
{
	cursor:pointer;
}
