@font-face{
	font-family: PressStart;
	src:url(fonts/RubikMonoOne-Regular.ttf);
}
@font-face{
	font-family: Quantico;
	src:url(fonts/Quantico-Regular.ttf);
}
body{
  	/*font-family: 'DM Mono', monospace;*/
  	font-family: Quantico, monospace;
  	font-size:12px;
	background:#bfa8f8;
	color:black;
}

a {
	color: black;
	text-decoration: none;
	cursor: pointer;
}

a:visited {
	color: black;
}

.social a:hover,
aside#secondary a:hover,
a:hover{
	color:#eaaaff;
}
a:focus,
a:active {
	color: black;
}

a:focus {
	outline: 0;
}

a:hover,
a:active {
	outline: 0;
}

.site-branding a {
  color: #0b1a3e;
  text-decoration: none;
}

.site-branding a:visited {
  color: #0b1a3e;
}

.site-branding a:hover,
.site-branding a:focus,
.site-branding a:active {
  color: #0b1a3e;
}


#page{
	position: absolute;
	width:100%;
	height:100%;
	background: url("img/gridpiece1.svg"), rgb(29,29,27);
	background: url("img/gridpiece1.svg"), -moz-linear-gradient(0deg, #f2effc 0%, #bfa8f8 100%);
	background: url("img/gridpiece1.svg"), -webkit-linear-gradient(0deg, #f2effc 0%, #bfa8f8 100%);
	background: url("img/gridpiece1.svg"), linear-gradient(0deg, #f2effc 0%, #bfa8f8 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f2effc",endColorstr="#bfa8f8",GradientType=1);
	/*background-image: url("img/gridpiece1.svg");*/
	background-repeat: repeat, no-repeat;
	background-size: 130px, auto;
}

footer{
	display: none;
}

.site-info{
	margin:10% 0 3% 0;
	text-align: center;
}
.site-info > div:not(.social){
	height:0;
	display: inline-block;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: center;
	margin:0 1%;
}

.social {
	margin:40px 0 20px 0;
}

.social span{
	background-color: #0b1a3e;
	padding:5px;
}
.social a{
	font-size: 14px;
	padding:0 14px;
	color:#f2effc;
}

#arbyte-logo{
	width:20%;
	padding-top: 5%;
	background-image: url("img/black_arebyte.png");
}
#artscouncil-logo{
	width: 21%;
    padding-top: 7%;
	background-image: url("img/image-768x243_black.png");
}





header#masthead{
	position: fixed;
	top: 20px;
    left: 15px;
	font-size: 12px; /*this sets the base font-size for all em font size values later */
	/*right: 350px;*/
    /*top: 20px;*/
	width: 120px;
	height: 120px;
	/*margin:1em;*/
	z-index: 100000000;
}

nav#site-navigation{
	display: none;
}

aside#secondary {
	position: absolute;
	height: calc(100% - 2rem);
    margin: 1rem;
	right: 0;
	bottom: 0;
	width:300px;
	padding: 1rem;
	/*background-color: #bfa8f8;*/
	/*background-color:#bfa8f891;*/
    background-color: #f2effc8a;
  	border-radius: .5em;
}

aside#secondary #sidebar-events{
	height:calc( 40% - 65px );
	/*margin-bottom: 3px;*/
	overflow: scroll;
	border-bottom: dotted;
    border-width: 2px;
    border-color: #0b1a3e;
    font-style: italic;
    overflow-x: hidden;
}
aside#secondary #sidebar-events:after{
	/*content:" ";*/
	/*position: absolute;*/
	/*height:100%;*/
	/*width:100%;*/
/*	background-image: url("img/gridpiece.svg");
	background-repeat: repeat;*/
}

aside#secondary[events="0"]{
	height: calc(75% - 2rem);
}


aside#secondary[events="0"] #sidebar-events {
	display: none;
}

aside#secondary[events="0"] #chat-box {

	height:calc( 95% - 85px );

}

aside#secondary .sidebar-event-item{
	/*font-size:16px;*/
	padding:0.5rem 0;
	/*border-bottom: solid 1px;*/
}
aside#secondary .sidebar-event-item a{
	font-size:14px;
}
#sidebar-past-events,
#sidebar-upcoming-events{
	font-size: 14px;
    font-style: italic;
    padding: 0.2em 0;
	border-bottom: dotted;
    border-width: 2px;
    border-color:  #0b1a3e;
}

aside#secondary[events="0"] #sidebar-upcoming-events{
	display: none;
}
aside#secondary a{
	display: block;
	color: black;
}

main#primary.site-main{
	width: 100%;
    padding: 1rem 320px 1rem 1rem;
	height: 100%;
	position: absolute;
	overflow: scroll;
	overflow-x: hidden;
}

h1.entry-title{
	/*font-family: 'DM Mono';*/
	/*font-family: 'Orbitron', sans-serif;*/
	font-family: 'PressStart', sans-serif;
	color: #0b1a3e;
	font-size: 36px;
    text-align: center;
    font-weight: 100;
}

#page .site-main h3{
  	font-family: Quantico, monospace;
	/*font-family: 'DM Mono';*/
	font-size: 18px;
	color: #f2effc;
	background-color: #0b1a3e;
	margin:0em 0em 1em 0em;
    /*text-align: center;*/
    display: inline-block;
    padding: 0em 0.5em;
    font-weight: 100;
}

#page .site-main .entry-content p{
	color: black;
	text-align: center;
	/*font-family: 'DM Mono';*/
  	font-family: Quantico, monospace;
  	font-size: 16px;
}

#page .site-main article{
	margin: 1rem;
    padding: 1rem;
    /*background-color: #bfa8f8;*/
    background-color: #f2effc8a;
    border-radius: .5em;
    text-align: center;
}


#chat-box{
  /*border: solid 1px;*/
  height: calc(59% - 60px);
  width: calc(100% - 2rem);
  bottom: 0;
  margin: 0 0 60px 0;
  position: absolute;
  /*font-family: Courier;*/
  /*font-size: 12px;*/
}

.chat {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: scroll;
  overflow-x: hidden;
}

.actions {
    position: absolute;
    bottom: -40px;
    display: block;
    width: 100%;
}

.actions input{
  height: 30px;
  display: block;
  width: 100%;
  outline: 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}

.messages {
  display: flex;
  min-height: 100%;
  flex-direction: column-reverse;
}

.messages div {
  max-width: 80%;
  display: block;
  margin: 5px 0;
  padding: .5em 0.7em;
  border-radius: .5em;
  align-self: flex-end;
}

.messages div a{
  color: black!important;
  text-decoration: underline;
}

.messages .bot {
  /*font-family: 'Orbitron', sans-serif;*/
	font-family: 'PressStart', sans-serif;
  font-size: 11px;
  text-align: left;
  padding:1em;
  margin-right: auto;
  background: #f2dafa;
  color:black;
}

.messages .self {
  /*font-family: 'DM Mono', monospace;*/
  font-family: Quantico, monospace;
  font-style: italic;
  font-size: 14px;
  text-align: right;
  margin-left: auto;
  background:#0b1a3e;
  color:#f2effc;
}


.button-group{
	position: fixed;
	font-size: 12px;
	font-style: italic;
	font-weight: light;
	top: 50px;
	right: 320px;
	font-size: 12px;
	max-width: calc( 85% - 320px );
	text-align: right;
	/*background-color: black;*/
	/*margin-right: 10%;*/
	/*width:200px;*/
	padding: 0.7em 1em;
	z-index:1000;
  	color:white;
  	cursor: pointer;
}

.button-group a{
	position: relative;
    display: inline-block;
    /* width: 100%; */
    color: black;
    text-align: center;
    padding: 0.5em 1em;
    margin: 0 1em;
    line-height: 3em;
    margin-left: 3em;
	/*background-color: black;*/
}


[selectedcat="categorylabor"] .category-label-labor,
[selectedcat="categoryalien"] .category-label-alien,
[selectedcat="categorylocale"] .category-label-locale,
[selectedcat="categoryplatforms"] .category-label-platforms,
[selectedcat="categorytext"] .category-label-text,
[selectedcat="categoryworld"] .category-label-world,
.button-group .active-button .category-label{
	/*display: none;*/
    background-color: #eaaaff;
}

.category-label-container{
	position: absolute;
	top:-10%;
	left:0;
	z-index: 20;
	width:100%;
}

.category-label{
	position: absolute;
    display: inline-block;
    top: 50%;
    margin-top: -1.5em;
    left: -2.5em;
    width: 3em;
    height: 3em;
    background-repeat: no-repeat;
    background-size: 100%;
    border-radius:50%;
    background-color: #0b1a3e;
}

.category-label-container .category-label{
	position: relative;
    margin: 0em 2%;
    top: 0;
    left: 0;
    width: 15%;
    height: 0;
    padding-top: 15%;
}

.category-label-labor{
	background-image: url("img/digitallabor.svg");
}

.category-label-alien{
	background-image: url("img/alien.svg");
}

.category-label-locale{
	background-image: url("img/locale.svg");
}

.category-label-platforms{
	background-image: url("img/corp.svg");
}

.category-label-text{
	background-image: url("img/nlp.svg");
}

.category-label-world{
	background-image: url("img/world2.svg");
}

.button-group .category-label:hover{
    -webkit-box-shadow: 0px 0px 40px 7px #eaaaff;
    -moz-box-shadow: 0px 0px 40px 7px #eaaaff;
    box-shadow: 0px 0px 40px 7px #eaaaff;
}

.grid{
	margin-top: 100px;
	width:100%;
}

.grid-sizer{
	width: 10%; 

}

.grid-item{
	width:22%;
	margin:5px;
	margin-top: 20px;
}
.grid-item.featured { 
	width: 50%; 
	top:100px;
	left: 45%;
	margin-top:0!important;
    margin: 0!important;
}
.grid-item.featured.live-stream{
	width: 90%; 
	left: 5%;
}

.grid-item.featured.live-stream .post{
	background: #0b1a3e!important;

}

.grid-item.featured iframe{ 
    top: 0;
    position: absolute;
	height: 94%;
}

.grid-item:hover{
-webkit-box-shadow: 0px 0px 70px 7px #eaaaff;
-moz-box-shadow: 0px 0px 70px 7px #eaaaff;
box-shadow: 0px 0px 70px 7px #eaaaff;
}
/* 2 columns */
.grid-item--width2 { 
	width: 37%!important; 
	margin-left:0!important;
	margin-right:0!important;
}


[categorylabor="a"]{
	margin-top: 50px;
	width: 26%; 
	margin-left:3%;
}
[categoryalien="a"]{
	margin-top: 60px;
	margin-left: 7%;
	width: 23%; 

}
[categorylocale="a"]{
	margin-top: 70px;
	margin-bottom: 10px;
	width: 29%; 
	margin-left: 1%;
}
[categoryplatforms="a"]{
	margin-top: 80px;
	margin-bottom: 30px;
	width: 27%; 
	margin-left:4%;
}
[categorytext="a"]{
	margin-top: 80px;
	margin-bottom: 40px;
	width: 28%; 
}
[categoryworld="a"]{
	margin-top: 100px;
	margin-bottom: 30px;
	width: 25%; 
}
.grid .tribe_events,
.grid .page,
.grid .post {
	position: relative;
	/*background-color: grey;*/
	background: rgb(29,29,27);
	background: -moz-linear-gradient(0deg, #bfa8f8  0%, #f2effc 100%);
	background: -webkit-linear-gradient(0deg,  #bfa8f8  0%, #f2effc 100%);
	background: linear-gradient(0deg,  #bfa8f8  0%, #f2effc 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#bfa8f8",endColorstr="#f2effc",GradientType=1);
	/*background-image: url("img/gridpiece1.svg");*/

	min-width: 30%;
	/*width:50%;*/
	/*height:0px;*/
	/*padding-bottom: 30%;*/
	margin:0!important;
	overflow: hidden;

	height: 0;
    padding-bottom: calc( 100% / 3 * 1.9);
}

.grid .tribe_events a,
.grid .page a,
.grid .post a{
    width: 100%;
    height: 100%;
    display: inline-block;
}

.grid .tribe_events img,
.grid .page img,
.grid .post img {
	position: absolute;
    height: 100%;
    width: auto;
    top: 0;
    left: 0;
    object-fit: cover;
    left: 50%;
    transform: translate(-50%,0);
}

.grid .tribe_events h2,
.grid .page h2,
.grid .post h2{
	/*font-family: 'DM Mono', monospace;*/
  	font-family: Quantico, monospace;
	font-style: italic;
	font-size: 14px;
	position: absolute;
	width:100%;
	background-color:#0b1a3e;
  	color:#f2effc;
	bottom:0;
	left:0;
	z-index:10;
	margin:0;
	padding: 0 0.3em;
	text-transform: lowercase;
}



/*@media only screen and (min-width: 1250px) {
	.grid{
		margin: 0;
	}

}*/
@media only screen and (max-width: 950px) {
	#arbyte-logo{
	    width: 24%;
	    padding-top: 8%;
	}
	#artscouncil-logo{
	    width: 25%;
	    padding-top: 9%;
	}


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

	.grid-item{
		width:40%;
	}
	.grid-sizer{
		width: 50%; 

	}


	#arbyte-logo{
		width:38%;
		padding-top: 23%;
	}
	#artscouncil-logo{
		width: 39%;
	    padding-top: 25%;
	}

	.grid-item.featured { 
		width: 90%; 
		top:150px;
		left: 5%;
		margin:0;
		margin-bottom: 20px!important;

	}

	.grid-item.featured iframe{ 
		height: 80%;
	}

	/* 2 columns */

	.grid-item,
	[categorylabor="a"],
	[categoryalien="a"],
	[categorylocale="a"],
	[categoryplatforms="a"],
	[categorytext="a"],
	[categoryworld="a"],
	.grid-item--width2 { 
		width: 90%!important; 
		margin-left:5%!important;
		margin-right:0!important;
		margin-top: 20px!important;
		margin-bottom: 20px!important;
	}



}

@media only screen and (max-width: 700px) {
	.page{
		margin: 0!important;
	}
	footer{
		display: block;
	}

	main .site-info{
		display: none;
	}

	.site-info > div:not(.social){
		display: inline-block;
	}


	.button-group{
		position: absolute;
	    top: 140px;
	    max-width: 100%;
	    right: 0;
	}
	.grid {
		margin-top: 160px;
		width:100%;
	}
	.grid-item.featured.live-stream h2{
		display: none;
	}

	.grid-item.featured iframe{ 
		height: 100%;
	}

	#page{
		height:auto;
		position: relative;
		padding-bottom: 20px;
	}
	main#primary.site-main{
		width:100%;
		position: relative;
		padding:1rem;
		overflow: hidden;
	}
	aside#secondary {
		position: relative;
		width: calc( 100% - 2rem );
		height: 600px!important;
		padding:1rem;
		background-color: #c1abf887
	}
	#page .site-main article{
		margin:0;
	}

}

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

	.button-group{
	    top: 100px;
	}
}

/*EVENTS*/

.tribe-events-cal-links{
    display: none!important;
}

.tribe-events-schedule h2{
    background-color: #0b1a3e;
	/*font-family: 'DM Mono', monospace;*/
  	font-family: Quantico, monospace;
	font-weight: 200;
	padding: 0em 0.5em;
	color:#f2effc;
}

.tribe-events-sub-nav{
    display: none!important;
}

#tribe-events-footer nav[aria-label="Events List Navigation"] .tribe-events-sub-nav{
	display: block!important;
}

.tribe-events-single-event-title{
	/*font-family: 'Orbitron', sans-serif;*/
	font-family: 'PressStart', sans-serif;
	font-weight: 100;
	font-size:3em;
}

p.tribe-events-content{
	/*font-family: 'Orbitron', sans-serif;*/
	font-family: 'PressStart', sans-serif;
	font-weight: 100;
	font-size:1em;
}

.tribe-events-meta-group-details{
	display: none!important;
}

.tribe-events-back{
	position:absolute;
	bottom:-20px;
	left:20px;
	/*font-family: 'DM Mono', monospace;*/
  	font-family: Quantico, monospace;
	font-weight: 200;
	font-size:3em;
}

.tribe-events-list-separator-month{
	display: none!important;
}

.tribe-bar-disabled{
	display: none!important;
}

.tribe-events-page-title{
	/*font-family: 'Orbitron', sans-serif;*/
	font-family: 'PressStart', sans-serif;
	font-weight: 100;
	font-size:3em;
}

.tribe-events-list-event-title{
	/*font-family: 'Orbitron', sans-serif!important;*/
	font-family: 'PressStart', sans-serif!important;
	font-weight: 100!important;
	font-size:2em!important;
	background-color: transparent!important;
}

.tribe-events-list-event-description{
	display: none!important;
}

.tribe-events-ical{
	display: none!important;
}

.tribe-events-event-image{
	padding-bottom:3em!important;
}

.tribe-events-notices{
	background: #f2dafa!important;
    border-radius: 4px;
    border: none!important;
    color: #1f0000!important;
    margin: 10px 0 18px;
    padding: 8px 35px 8px 14px;
    text-shadow: none!important;
}
.tribe-events-list .tribe-events-event-image{
	float:none!important;
}
