/* RESET */
* {
	margin: 0;
	padding: 0;
	border: 0;
}
/* BASIC */
body {
	text-align: center;
	overflow-x: hidden;
}

p {
	margin: 20px 0;
}
a:link, a:visited, a:hover, a:active {
	text-decoration: none;
}
input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-border-radius:0; 
    -moz-border-radius: none;
    border-radius:0;
}
select{
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-border-radius:0; 
    -moz-border-radius: none;
    border-radius:0;
}

select{
    padding-left: 5px;
}

.svg-position{
	position: relative;
    left: -19px;
}

/* LAYOUT */
#pgbk{  
	position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#pgbk img{
	width: 100%;
	height:100%;
}

.t-content {
	padding-top: 30px;
	width: 100%;
	overflow-y: auto;
	overflow-x: hidden;
}

.wrapper {

	position: fixed;
	top: 75px;
	left: 0px;
	width: 100%;
}
.fixed-title-bar {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 75px;
}

.fixed-nav-bar {
	left: 0;
	right: 0;
	z-index: 9999;
	width: 100%;
}

/* Example responsive navigation menu  */
.fixed-nav-bar li, .fixed-nav-bar a {
	height: 45px;
	line-height: 45px;
}
.menu {
	width: 90%;
	max-width: 960px;
	margin: 0 auto;
}

.menu-items, .magazine-items {
	display: inline-block;
	margin-bottom: 0px;
}
.magazine-items {
	margin-left: 60px;
	margin-right: 60px;
	margin-bottom: 30px;
}

.sitename {
	text-align: center;
	position: static;
	margin-top: 25px;
}

.menu-items li, .magazine-items li {
	cursor: pointer;
	display: inline-table;
	padding-left: 10px;
	padding-right: 10px;
}

.menu-items a {
	text-decoration: none;
}
.show, .hide {
	display: none;
	padding-left: 15px;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center left;
	color: #dde1e2;
}

.search {
	top: 15px;
	right: 10px;
	width: 50px;
	height: 50px;
	position: fixed;
	cursor: pointer;
	z-index: 10;
}
.search-holder {

}
.search-panel {
	top: 0px;
	height: 75px;
	position: fixed;
	right: 0;
	padding-left: 10px;
	z-index: 20;
}
.search-panel li {
	float: left;
	padding-right: 15px;
	display: inline;
}
.search-list {
	padding-top: 20px;
}

.search-panel select{
	height: 32px;
	padding-right: 20px;
}
.search-panel input {
	padding-left: 10px;
	padding-right: 5px;
	height: 32px;
	width: 130px;
}
.search-btn {
	width: 32px;
	height: 32px;
	cursor: pointer;
/*	background-color: #ffffff;*/
}

.search-input {
	float: left;
}
.search-submit-btn {
	float: left;
	width: 32px;
	height: 32px;
	cursor: pointer;
}

.moveIn.ng-enter {
	right: -100%;
	-webkit-transition-duration: 0.5s; /* Safari */
	transition-duration: 0.5s;
}

/* The finishing CSS styles for the enter animation */
.moveIn.ng-enter.ng-enter-active {
	height: 75px;
	position: absolute;
	right: 0;
	z-index: 20;
}

.archive-wrapper {
	text-align: center;
}
.archive-wrapper p {
	margin: 15px 0px 40px 5px;
}
.archive-wrapper-inside {
	width: 100%;
	height: 100%;
	position: relative;
}
.archive-thumb {
	cursor: pointer;
	max-height: 200px;
	max-width: 200px;
	min-height: 100px;
	min-width: 100px;
	box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.1);
}
.archive-title {
	text-align: center;
	max-width: 250px; 
}

.popup-wrapper {
	top: 75px;
	width: 100%;
	position: fixed;
	z-index: 20;
}
.popup-holder {
	min-width: 400px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.results-holder {
    position: fixed;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 800px;
    top: 125px;
}
.results-item {
	min-width: 100%;
	display: inline-block;
	text-align: left;
}
.results-item td {
	padding-left: 10px;
}
.result-head {
	display: inline-block;
	white-space: nowrap;
}

.results-total-holder{
	width: 800px;
    position: absolute;
    top: 0px;
    height: 50px;
    text-align: center;
}
.results-more-holder{
	width: 800px;
    position: absolute;
    bottom: 0px;
    height: 50px;
    text-align: center;
}
.results-total{
    float: left;
    padding: 16px;
    position: absolute;
}
.result-thumb{
	padding-top: 5px;
}
	
.results-item a {
  	  display: -webkit-inline-box;
  	  display: inline-block;
   }
   
.more-btn{
	top: 12px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
}
.popup-exit-btn{
	right: 0px;
    position: absolute;
    height: 50px;
    cursor: pointer;
}
@media only screen and (max-width: 800px) {
	.popup-wrapper{
		z-index: 101;
	}
	.menu {
		text-align: left;
		position: relative;
		width: 100%;
		height: 50px;
		z-index: 100;
	}
	.menu-wrapper active{
		display: none;
		
	}
	.menu-wrapper {
		overflow: scroll;
    	overflow-x: hidden;
    	position: relative;
    	top: 50px;
	}

	.sitename {
		top: 0px;
		left: 0px;
		left: 15px;
		margin-left: 0px;
	}
	.menu-items {
		display: none;
		width: 100%;
		/*margin-top: 50px;*/
	}
	.menu-items li {
		display: block;
		text-align: center;
	}
	.show, .hide {
		position: absolute;
		top: 0;
	}

	.show {
		display: inline-block;
	}
	.hide {
		display: none;
	}
	.results-holder {
	padding-left: 5px;
	padding-right: 5px;
	}
	.results-more-holder{
	width:100%;
	}
	.results-total-holder{
	width: 100%;
	}
	.results-holder {
	    width: 100%;
	}

	#menu:target .show {
		display: none;
	}
	#menu:target .hide, #menu:target .menu-items {
		display: inline-block;
	}
}

@media only screen and (max-width: 700px) {

	.results-item td {
	    padding-left: 5px;
	}
	.result-thumb{
		padding-left: 5px;
	    padding-bottom: 5px;
	}
	.result-table{
		padding-top: 5px;
	}
	.search-submit-btn {
		display: none;
	}
	#searchStepper, #svgStepper{
		display: none;
	}
	.results-total{
		font-size: 12px;
	}
	.result-small tr{
		display: block;
	}
	.results-holder{
		padding: 0px;
	}
	.search-btn{
	    padding-left: 20px;
	}
	.small-font{
		font-size: 12px;
	}
}

@media only screen and (max-width: 400px) {
	.sitename {
	    text-align: left;
    	padding-left: 20px;
	}
}
@media only screen and (max-width: 360px) {

	.search-panel li {
    	padding-right: 10px;
	}
}
@media only screen and (max-width: 345px) {
	.search-panel {
    	padding-left: 2px; 
	}
	.search-panel input {
    	width: 120px;
    	padding-left: 0px;
   	 	padding-right: 0px;
	}
	.search-panel li {
	    padding-right: 2px;
	}
	.search-panel select {

  	  padding-right: 15px;
	}
}
@media only screen and (max-width: 310px) {
	.search-btn {
   		padding-left: 5px; 
	}
	.search-panel input {
    	width: 100px;
	}
}

