/*****
 * Imported from PW main.css
*****/
* {
	box-sizing: border-box;
}

body {
	max-width: 1600px;
	margin: 0 auto;
}

body, td, input[type=text], textarea {
	font-family: 'Droid Sans', sans-serif;
	font-size: 105%;
	line-height: 1.8em;
}

img {
	max-width: 100%;
}

h2 {
	font-weight: normal;
}

h3 {
	/* border-top: 1px solid #eee; */
	/* padding-top: 1em; */
	/*color: #777;*/
	margin-top: 0.25em;
	margin-bottom: 0.25em;
}

a {
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #ccc;
}
	a.nolinkborder { /* added */
		border-bottom: 0;
	}

	a:hover,
	.nav a:hover {
		color: #000;
		border-color: #aaa;
	}
  /*********************************************************************
   * 5. Media queries for responsive layout
   *
   */

  @media only screen and (max-width: 767px) {
  	/* mobile layout */

  	body, td, textarea {
  		font-size: 100%;
  	}
  	body.has-sidebar #content,
  	body.has-sidebar #sidebar {
  		float: none;
  		width: 100%;
  		padding: 0;
  	}
  	form.search {
  		float: none;
  		width: 100%;
  	}
  	#content {
  		width: 100%;
  	}
  	#sidebar {
  		border-top: 1px solid #eee;
  		padding-top: 1em;
  	}
  	.align_left, .align_right, .align_center {
  		display: block;
  		float: none;
  		margin: 1em auto;
  		max-width: 100%;
  	}

  }

  @media only screen and (min-width: 1200px) {
  	/* extra-wide desktop layout */

  	body, td, textarea {
  		font-size: 115%;
  	}
  }


/*****
 * Unsorted CSS - This should be better organized later
*****/
.top-banner {
  margin-bottom: -10px;
	padding-bottom: 0;
}
.site-banner {
	margin-bottom: -10px;
	padding-bottom: 0;
}

.shadow {
	box-shadow: 2px 2px 4px 0 #777;
}

#gallery img {
	padding: 2px;
}

/*****
 * Breadcrumb CSS
*****/
.breadcrumbs {
  padding-left: 0.5em;
  background-color: #ccc;
  font-size: 0.9em;
}
.breadcrumbs span:after {
  content: ">";
  color: #999;
  padding-left: 0.5em;
  padding-right: 0.25em;
}

/*****
  * GAMEINFO CSS
*****/
.gameinfo {
	text-align: center;
}
.gameinfo img {
	filter: grayscale(100%);
}
.gameinfo div {
	font-family: 'Arimo', sans-serif;
	text-align: center;
	padding-top: 0;
	border-top: 0;
	margin-top: -15px;
	font-size: 75%;
}


/*****
 * Product Page CSS
*****/
#credits {
	font-size: .8em;
	line-height: 1.2em;
}
#credits p {
	-webkit-margin-after: 0.5em;
}

#statbox {
	font-size: .8em;
	line-height: 1.2em;
}
#statbox p {
	-webkit-margin-before: 0.5em;
}

#buy_button .button-large {
	width: 100%;
	border: 1px solid #777;
	padding: .5em;
}
#small_buy_button .button-large {
	width: 100%;
	border: 1px solid #777;
	padding: .5em;
}

/*****
 * Product Block CSS
*****/

 #product_listing {
    padding: 1em .5em;
 }
 .product-item-block {
    line-height: 0;
    margin: .5em .8em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    color: black;
 }
 .product-item-block img {
    border-bottom: 1px solid #ccc;
    border-radius: 1em 1em 0 0;
    background-color: white;
 }
 .product-item-block a {
    border-bottom: none;
    text-decoration: none;
 }
 .product-item-block .overlay {
    overflow: hidden;
    border-color: #ccc;
    background: #ccc;
    border-radius: 0 0 1em 1em;
    color: black;
    line-height: .9em;
    padding: .3em .3em .3em .3em;
    border-top: none;
    text-align: center;
      -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
      -webkit-box-align: stretch;
        -ms-flex-align: stretch;
           align-items: stretch;
 }

 .product-item-block .overlay .title {
    font-size: .8em;
    -webkit-box-flex: 2;
      -ms-flex: 2 1 auto;
          flex: 2 1 auto;
 }
 .product-item-block .overlay .title>a {
    color: black;
 }

 .product-item-block .overlay .blurb {
    font-size: .65em;
    text-align: left;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
 }
 .product-item-block .overlay .tags {
 	font-size: .6em;
 	-webkit-box-flex: 1;
 	    -ms-flex: 1 0 auto;
 	        flex: 1 0 auto;
 }

/*****
 * News Block CSS
*****/

#news_listing {
    padding: 1em .5em;
}
.news-item-block {
    line-height: 0;
    margin: .5em .8em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    color: black;
}
.news-item-block img {
    border-bottom: 1px solid #ccc;
    border-radius: 1em 1em 0 0;
    background-color: white;
}
.news-item-block a {
    border-bottom: none;
    text-decoration: none;
}
.news-item-block .overlay {
    overflow: hidden;
    border-color: #ccc;
    background: #ccc;
    border-radius: 0 0 1em 1em;
    color: black;
    line-height: .9em;
    padding: .3em .3em .3em .3em;
    border-top: none;
    text-align: left;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
                -ms-grid-row-align: stretch;
            align-items: stretch;
}
.news-item-block .overlay .headline {
    font-size: .9em;
}
.news-item-block .overlay .headline>a {
    color: black;
}
.news-item-block .overlay .dateline {
    font-size: .6em;
    padding-top: 0;
}
.news-item-block .overlay .byline {
    font-size: .6em;
    -webkit-box-flex: 3;
        -ms-flex: 3 1 auto;
            flex: 3 1 auto;
}
.news-item-block .overlay .tags {
    font-size: .6em;
    -webkit-box-flex: 1;
        -ms-flex: 1 0 auto;
            flex: 1 0 auto;
}

#news-sidebar {
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    letter-spacing: normal;
}
.news-sidebar-header {
	padding: 0 2%;
}
.news-sidebar-header h2 {
	margin-bottom: 0.25em;
}

/*****
 * News Rows CSS
*****/
.news-item-row {
	border: solid 1px black;
	border-radius: 5px;
	background-color: #efefef;
	margin: 0.5em 1.5em;
	padding: 0.75%;
	width: 100%;
	display: flex;
}
.news-item-row a {
	border-bottom-style: none;
}
.news-item-row-prod {
	border: solid 1px black;
	border-radius: 5px;
	background-color: #efefef;
	margin: 0.5em 0.8em;
	padding: 0.75%;
	width: 100%;
}
.news-item-row-prod a {
	border-bottom-style: none;
}
	.datebox-row {
		font-weight: bold;
		align-items: baseline;
		text-align: center;
		padding: .5em .5em .5em .25em;
		line-height: 1.2;
		font-size: 120%;
	}
	.overlay-row {
		padding: .5em;
	}
		.headline-row {
			font-size: 120%;
			font-weight: bold;
			line-height: 1.0;
			padding-bottom: .3em;
		}
		.headline-row-prod {
			font-size: 120%;
			font-weight: bold;
			line-height: 1.0;
			padding-bottom: .3em;
		}
		.byline-row {
			font-size: 85%;
			line-height: 0.8;
		}
		.newsbody-row {
			line-height: 1.25;
		}
		.newsbody-row-prod {
			line-height: 1.25;
			font-size: 75%;
		}
		.full-link {
			border-bottom-style: solid;
			font-size: 80%;
			font-weight: normal;
			color: blue;
		}
		.tags-row {
			line-height: 1.25em;
		}


/*****
 * Feature block CSS
*****/

#features_listing {
	background-color: #555555;
	padding: 1em .5em;
}

.feature-block {
	line-height: 0;
	margin: .5em .8em;
	display: flex;
	flex-direction: column;
	color: black;
}

.feature-block img {
	border-bottom: none;
	border-radius: 1em 1em 0 0;
	background-color: white;
}
.feature-block a {
		border-bottom: none;
		text-decoration: none;
}
.feature-block .overlay {
		overflow: hidden;
		border-color: #ccc;
		background: #ccc;
		border-radius: 0 0 1em 1em;
		color: black;
		line-height: .9em;
		padding: .3em;
		border-top: none;
		text-align: center;
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		align-items: stretch;
}

.feature-block .overlay .title {
	font-size: 1em;
	flex: 2 1 auto;
}

/*****
 * Tag badges CSS
*****/

.tag-block .tag-badge {
    background-color: #ccc;
    font-size: .7em;
    line-height: 1.5em;
    margin: 0 .3em;
    padding: 0 .25em;
    -webkit-box-flex: 1;
        -ms-flex: 1 0 auto;
            flex: 1 0 auto;
    box-shadow: 2px 2px 4px 0 #777;
}

.tag-badge {
    background-color: white;
    color: black;
    border-style: solid;
    text-align: center;
    font-size: .80em;
    border-width: 1px;
    border-radius: 3px;
    border-color: rgba(95,95,95,1);
    display: inline-block;
    padding: 0 1%;
	}
.price-badge {
    background-color: white;
    color: black;
    border-style: solid;
    text-align: left;
    font-size: 1em;
    font-weight: bold;
    border-width: 1px;
    border-radius: 3px;
    border-color: rgba(95,95,95,1);
    display: inline-block;
    padding: 0 5%;
	}
.new-badge {
    background-color: rgb(253,172,0);
    color: black;
    border-style: solid;
    text-align: center;
    font-size: 1em;
    border-width: 1px;
    border-radius: 3px;
    border-color: rgba(95,95,95,1);
    display: inline-block;
    padding: 0 2%;
	}
.soon-badge {
    background-color: rgb(11,55,139);
    color: white;
    border-style: solid;
    text-align: center;
    font-size: 1em;
    border-width: 1px;
    border-radius: 3px;
    border-color: rgba(95,95,95,1);
    display: inline-block;
    padding: 0 2%;
	}
.preorder-badge {
    background-color: black;
    color: white;
    border-style: solid;
    text-align: center;
    font-size: 1em;
    border-width: 1px;
    border-radius: 3px;
    border-color: rgba(95,95,95,1);
    display: inline-block;
    padding: 0 2%;
	}

/*****
 * Footer CSS
*****/

.foot {
	background-color: #242424;
	padding: 2% 3% 0;
	color: #fff;
}
.foot a {
	color: #fff;
	border-bottom: none;
}
.foot legend {
	color: #fff;
	border-bottom: none;
}

.button-signup {
	background-color: yellow;
	border-radius: 10px;
	color: black;
}
.foot .button-large {
	background-color: #d9d9d9;
	color: black;
	border: 1px solid rgba(95,95,95,1);
	border-radius: 1em;
}

/*****
* Image Alignments for ckeditor
*****/
.align_left {
	float: left;
	margin: 0 1em 0.5em 0;
	position: relative;
	top: 0.5em;
	max-width: 50%;
}

.align_right {
	float: right;
	margin: 0 0 0.5em 1em;
	max-width: 50%;
}

.align_center {
	display: block;
	margin: 1em auto;
	position: relative;
	top: 0.5em;
}

/*****
 * Imported CSS from main.php - needs sorting
*****/

#gallery img {
	padding: 2px;
}

#sidebar {
	margin: 0 1em 0 0;
	padding-top: 1em;
}
#content-side {
	margin: 0 .3em;
}

#navbar {
    position: relative;
    z-index: 1000;
}

#slider_listing:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1;
    opacity: 0.05;
    background-image: url('<?php echo $homebg; ?>');
    background-color: #222;
}
