html {
	font-family: 'Alegreya Sans SC', sans-serif;
	background: #222;
	height:100%;
	width:100%;
}

ul {margin: 0px; padding: 0px;}

h1, h2, h3, h4, h {
	font-family: 'Alegreya Sans SC', sans-serif;
}

#start-of-page { display: none;}

.mobile_menu {
	display: none;
	text-align: center;
	margin: auto;
}

body {
	font-family: 'Alegreya Sans SC', sans-serif;
	font-size: 16px;
	color: #aaa;
	text-align: center;
	position: relative;
	width: 80%;
	margin: auto;
	
	
	-webkit-transition: width 0.3s ease, font-size 0.3s ease;
	-moz-transition: width 0.3s ease, font-size 0.3s ease;
	-o-transition: width 0.3s ease, font-size 0.3s ease;
	-ms-transition: width 0.3s ease, font-size 0.3s ease;
	transition: width 0.3s ease, font-size 0.3s ease;
}

smallfontpage {
	font-size: 12px;
}

a {
	text-decoration: none;
	display: block;
	color: #aaa;
}

.paragraph a {
	display: inline;
}

table {
	width: auto;
	min-width: 300px;
	border: 2px solid grey;
	margin: 1em;
	margin-left: 0;
	
	text-align: center;
} /* float: left; */

table tr, td {
	height: 1.2em;
	border: 1px solid grey;
	padding: .3em;
}

.separator {
	display: block;
	width: 100%;
	padding: .4em;
	color: white;
	margin-top: 0.5em;
	background-color: #770011;
	font-size: 1.2em;
}

.thumb-right {
	float: right;
	width: 20%;
}

.thumb-right img {
	margin-bottom: 1em;
	width: 100%;
}

/* Scrolling site message*/
#sitemessagebox {
	position: relative;
	width: 100%;
	overflow: hidden;
}
.sitemessage {
  display: inline-block;
  font-size: 1em;
  color: white;
  text-shadow: 2px 2px #000000;
  white-space: nowrap;
  animation: floatText 30s infinite linear;
  padding-left: 100%; /*Initial offset*/
}
.sitemessage:hover {
  animation-play-state: paused;
}
@keyframes floatText {
  to {
    transform: translateX(-100%);
  }
}

#allmessages {
	position: absolute;
	background: black;
	right: 0;
	top: 0;
	bottom: 0;
	padding-left: 1em;
	padding-right: 1em;
	z-index: 5;
	font-weight: 700;
}

#messageshead {
	position: absolute;
	background: #2F2F2F;
	left: 0;
	top: 0;
	bottom: 0;
	padding-left: 1em;
	padding-right: 1em;
	z-index: -1;
	font-weight: 700;
}


/* - - - - - - - - - - - -  */

.paragraph {
	text-align: left;
	text-indent: 4em;
	line-height: 1.5em;
	font-family: 'Roboto', sans-serif;
	white-space: pre-line;
	padding: 1em;
	font-size:1.2em;
}

a:hover {
	color: white;
}

a, img {
    border:none;
    outline:none;
}

#nuiheader {
	display: block;
	margin-top: 10px;
	width: 100%;
}

#tz_main {
	margin-top: 0px;
	width: 100%;
}

#nuilogo {
	float: left;
	text-align: left;
	font-size: 1.5em;
	width: 85%;
}

#nuilogo img {
	margin-left: 15px;
	float: left;
	max-height: 90px;
	margin-right: 20px;
}

#nuilogo a .nui-text {
	padding-top: .6em;
	font-size: .8em;
	line-height: 1.2em;
}

#languageselect {
	float: right;
	top: 5px;
	right: 20px;
	
}

#index-nui-event {
	width: 100%;
	margin:0 auto;
}

/* This is actually some work on adaptive ration boxes with fixes on this and that */
/* Mainly using it for boxes on the top of the page with incoming events */
.cell {
    position: relative;
    width: 23%;
	margin: 1%;
    background: #000; 
	/* float: left; */
	display: inline-block;
	margin-left: -1px;
}

.alert {
	background: #005500;
}

.cell:before {
    content: "";
    display: block;
    padding-top: 40%;
}
.cell-content {
    position:  absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    /* color: white;
	padding: 5px; */
}
.cell:after {
  content: "";
  display: table;
  clear: both;
}

.indexer {
	position: relative;
	height: 100%;
	width: 1em;
		z-index: 5;
}

.indexer img { height: 100%; z-index: 6; float: left;}

.left-part {
	position: absolute;
	width: 30%;
	top: 0px;
	left: 0px;
	bottom: 0px;
	text-align: center;
	z-index: 3;
	background: rgba(0,0,0,0.6);
}

.right-part {
	position: absolute;
	width: 70%;
	top: 0px;
	right: 0px;
	bottom: 0px;
	overflow: hidden;
	text-align: center;
	z-index: 10;
}

.big-sign {
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	font-weight:900;
	font-size: 1.4em;
	color: #AAA;
	
}


.date {
	line-height: 0.65em;
	
	font-weight:900;
	font-size: 6em;
	color: #BB0000;
	z-index: 1;
}

.month {
	margin-top: 2px;
	font-weight:500;
	color: yellow;
	z-index: 2;
}

.hour {
	color: white;
}

.date-hour {
	color: #DFDF00;
	font-size: 0.8em;
	margin-top: 2px;
}

.event {
	margin-top: 6px;
	font-weight: 700;
	font-size: 1.3em;
	color: white;
}

.more {
	color: white;
	position: absolute;
	bottom: 2px;
	right: 2px;
}

.place {
	font-size: 0.8em;
	position: absolute;
	right: 15px;
	bottom: 5px;
	z-index: 6;
}

.image{
	position: absolute;
	z-index: 0;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	text-align: center;
	background-color: darkred;
	overflow: hidden;
}

.image img {
	width: 100%;
	z-index: 0;
	position: absolute;
	left: 50%;
	top: 50%;
	transform:translate(-50%, -50%);
	-webkit-transform:translate(-50%, -50%);
}


 /* OLD MONTH DATE HOUR STYLE
.date {
	font-weight:900;
	font-size: 6em;
	position: absolute;
	color: #DD0000;
	top: -15px;
	left: 0px;
	right: 0px;
}

.month {
	font-weight:500;
	position: absolute;
	color: yellow;
	bottom: 15px;
	left: 0px;
	right: 0px;
}

.hour {
	color: white;
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: 0px;
}
 */

.columnparagraph {
	width: 100%;
}

.columnparagraph .column33 {
	display: inline-block;
	width: 33.3%;
	padding: 1em;
	float: left;
}

.column33 .grey {
	color: darkred;
}
.columnparagraph:after {
	display: none;
	content: "";
	clear: both;
}

#sidenav li a:hover {
  color: white;
  border-right: solid 15px gray;
}

#sidepanel {
	float: left;
	width: 25%;
	padding: 5px;
	text-align: left;
	font-size: 1.2em;
}

#news, #rightpane {
	float: left;
	width: 100%;
	padding: 5px;
	text-align: left;
}

#sidepanel:after, #news:after, .group:after, #nuiheader:after {
  content: "";
  display: table;
  clear: both;
}

#sidenav {
	margin-top: 0.5em;
	padding: 0px;
	border-top: 1px solid #770011;
}

#sidenav li {
	list-style-type: none;
	border-bottom: 1px solid #770011;
	padding-top: 0.4em;
	padding-bottom: 0.4em;
}

/* #aa1122 */

#sidenav:last-child {
	list-style-type: none;
	border-bottom: 0px solid black;
}

#nuiprofiles {
	margin-bottom: 8px;
	font-weight: 700;
	font-size: 1.2em;
	color: #565656;
	letter-spacing: 2em;
	text-shadow: 2px 2px 4px #000000;
}

#nuisections {

	width: 100%;
	border: 3px solid #383838;
	background: #282828;
	padding-bottom: 0.5em;
	
}

.section {
	vertical-align: top;
	display: inline-block;
	width: 16.3%;
}

.section img {
	border: 1px solid #770011;
	width: 90%;
	padding: 4px;
}

.section span {
}

.squareout {
	position: relative; 
	float:left;
	height: 0; 
	width:49%;
	padding-bottom:25%;
	border: 1px solid gray;
	float: left;
	margin-left: 0.3%;
	margin-top: 2px;
	overflow: hidden;
}


.squarein {
	width:66%;
	height: 96%; 
	position: absolute; 
	top:2%; 
	left: 1%;
	background-image: url("img/tz.png"); 
	background-size: cover;
}

.squaretext {
	position: absolute; 
	width: 30%;
	right: 1%;
	top: 2%;
	height: 96%;
}


.squareout:after, .squarein:after {
  content: "";
  display: table;
  clear: both;
}

#nav {
	position: absolute;
	top: 22px;
	right: 20px;
	text-align: justify;
	width: 700px;
    max-width: 45%;
	float: right;
	font-size: 1.4em;
}

.switcher {
	display: none;
}

.toggle-label {
	display: inline-block;
	/* here float:right; was */
	cursor: pointer;
	font-size: 11px;
	border-radius: 5px;
	padding: 5px;
}

.thumb-view, .line-view {
  color: #999;
  /* fixed width to stop the icon from wiggling */
  width: 10px;
  display: inline-block;
}


.switcher ~ label .line-view {
  display: none;
}

.switcher:checked ~ div .squareout {
  display: inline;
  width: 99%;
  padding-bottom: 0px;
  height: 8em; 
  border: 0px solid gray;
  border-bottom: 1px solid gray;
  margin-left: 1%;
	margin-top: 2px;
	overflow: auto;
}

.switcher:checked ~ div .squaretext {
	width: 95%;
	margin-left: 1%;
}

.switcher:checked ~ div div a .squarein {
  display: none;
}
.switcher:checked ~ label .line-view {
  display: inline-block;
}
.switcher:checked ~ label .thumb-view {
  display: none;
}

/* COLUMNS
.articlefooter {
	border-top: 2px gray solid;
	font-size: 0.7em;
	padding: 0px;
	margin: 0px;
	margin-top: 10px;
	padding-top: 10px;
  -webkit-columns: 6 120px;
     -moz-columns: 6 120px;
          columns: 6 120px;
  -webkit-column-rule: 1px solid black;
     -moz-column-rule: 1px solid black;
          column-rule: 1px solid black;

}
*/

.articlefooter {
	font-size: 0.9em;
	padding: 0px;
	margin: 0px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 2px gray solid;
	width: 100%;
	background-color: #333;
}

.articlecolumn {
	width: 33.3%;
	min-width: 130px;
	float: left;
	
}

.articlefooter:after, .adress:after {
	content: "";
	display: table;
	clear: both;
}

.articlefooter h3 {
	font-size: .9em;
	font-weight: 500;
	padding: 0px;
	margin: 0px;
	margin-bottom: .2em;
	letter-spacing: .3em;
}

.adress {
	font-size: 1.2em;
}
/* COLUMNS	
	-webkit-column-break-after: avoid;
	page-break-after: avoid;
	break-after: avoid;
	break-after: avoid-column;
}

.footer p {
			-webkit-column-break-inside: avoid;
          page-break-inside: avoid;
               break-inside: avoid;
			   break-inside: avoid-column;
}

.sitemapfooter {
	padding:0px;
		-webkit-column-break-inside: avoid;
          page-break-inside: avoid;
               break-inside: avoid;
			   break-inside: avoid-column;
}
*/

.sitemapfooter {
	display: inline-block;
	width: 50%;
	min-width: 120px;
	float: left;
	padding:0px;
	margin: 0px;
	line-height: 1.25em;
}

.sitemapfooter img {
	width: 60%;
}

.sitemapfooter li {
		list-style-type: none;
}
/*				-webkit-column-break-inside: avoid;
          page-break-inside: avoid;
               break-inside: avoid;
			   	-webkit-column-break-before: avoid;
	page-break-before: avoid;
	break-before: avoid;
	break-before: avoid-column;
} */

.separator1 {
	color: #888888;
	font-size: 0.9em;
	padding-left: 1em;
}

.up-name {
	font-size: 1.2em;
	font-weight: 700;
	color: white;
}

.down-name {
	color: #777777 ; /*  #770011;  */
}

.profile_images {
	float: right;
	max-width: 25%;
	min-width: 200px;
}

.profile_images img{
	width:100%;
	min-width: 180px;
	padding-top: 5%;
}

.icon {
	float: left;
	width: 2em;
	margin-top: -0.5em;
	margin-right: 1em;
}

.smallicon {
	float: left;
	height: 1em;
	margin-top: 0.25em;
	margin-right: 0.5em;
}

.linkstags {
	width: 31%;
	margin-left: 1%;
	display: inline-block;
	text-align: center;
	margin-top: 2em;
	vertical-align: top;
}

.linkstags img {
	max-width: 100%;
}

@media screen and (max-width: 1600px) { 
.event {font-size: 1.2em;}
.date {font-size: 5em;}
}
@media screen and (max-width: 1280px) { 
.date {font-size: 4.5em;}
.event {font-size: 1.1em;}
}
@media screen and (max-width: 1124px) { 
.date {font-size: 4em;}
.place { display: none; }
}
@media screen and (max-width: 960px) {
	.month, .hour, .place { font-size: .8em}
	body { width: 90%; font-size: 15px; } 
	.squareout { padding-bottom: 35%; }
	.date {font-size: 3.5em;}
}
@media screen and (max-width: 768px) { 
	.event {font-size:1em;}
	body { font-size: 13px; }
	#news, #rightpane { width: 100%; float: none; }
	#nuilogo img { width:50px; margin-bottom: 5px;} 
	#nuisections { border: 3px solid #282828;}
	.section { width: 33%; margin-bottom: 1.2em;}
	.mobile_menu { 		display:block;
		width: 500%;
		margin-left: -400%;
		text-align: center;
		border-top: 1px black solid;
		font-size: 1.5em;}
	.icon {
	float: left;
	width: 1.2em;
	margin-top: 0em;
	margin-right: 1em;
	}
	.sitemapfooter {
		line-height: 0.9em;
	}
}
@media screen and (max-width: 640px) { 
	body { width: 100%; font-size: 11px; } 
	.squareout { width: 99%; font-size: 13px; padding-bottom: 25%; }
	.cell { width: 48%; }
	.event {font-size:2em;}
	.date {font-size: 6em;}
	.month, .hour, .place { font-size: 1.2em}
}
@media screen and (max-width: 480px) { 
	body { font-size: 9px; }
	#nuilogo img { width:40px; margin-bottom: 5px;} 
	.squareout { font-size: 11px; padding-bottom: 35%; }
	#nuiprofiles { letter-spacing: 1em; font-size: 8px; }
}
@media screen and (max-width: 320px) { 
	body{font-size: 8px;} 
	#nuiprofiles { font-size: 7px; }
}


