.feed-event-container .container{
	border-bottom: 1px solid #333;
}
table#rutetabell, table.xmlrutetabell {
    font-size: 1.1em;
    width: 100%;
	border-collapse: collapse;
}

.viewareacontent table#rutetabell{
	margin: 0;
}

.viewareacontent table#rutetabell2, table.xmlrutetabell {
	margin: 2em 0 0 0;
}
table#rutetabell thead, table.xmlrutetabell thead{
	border-bottom: 1px solid #333;
	background-color: #ececec;
}

table#rutetabell thead td, table.xmlrutetabell thead th{
	border: none;
}
table#rutetabell thead tr, table.xmlrutetabell thead tr{
	background-color: #ececec;
}
table#rutetabell thead th, table.xmlrutetabell thead th{
	background: transparent;
	text-align: center;
	padding: 1em 0 .5em .5em;
}

table#rutetabell thead th:empty, table.xmlrutetabell thead th:empty {
  display:none;
}

table#rutetabell thead th:first-child, table.xmlrutetabell thead th:first-child{
	padding-left: 1em;
	text-align: left;
}
table#rutetabell td, table.xmlrutetabell td{
	padding: .5em 0;
}

table#rutetabell tr:nth-child(even), table.xmlrutetabell tr:nth-child(even){
	background-color: #f9f9f9;
}
table#rutetabell tr:empty, table.xmlrutetabell tr:empty{
	display: none;
}

table#rutetabell tr.firstrow, table.xmlrutetabell tr.firstrow{
	border-top: 1px solid #333;
}
td.period-exception-ref{
	text-align: center;
}

td.period-exception-ref span{
	border-radius: 50%;
	background-color: #000;
	color: #fff;
	padding: 0em .5em;
	font-weight: bold;
}
.exceptioncontainer .exception span.number-ref, #footerstart .exception span.number-ref{
	border-radius: 50%;
	background-color: #000;
	color: #fff;
	padding: .2em .5em;
	margin-right: .5em;
	font-weight: bold;
}

td.period-exception-ref span:empty{
	border: none;
	background-color: inherit;
}

td.stoptime{
	min-width: 50px;
	width: auto;
	text-align: center;
	border-left: 2px solid #fff;
	border-right: 2px solid #fff;
}
td.stoptime.pink{
	background-color: pink;
}
td.stoptime.lightgrey{
	background-color: #ececec;
}

td.stoptime.empty{
	letter-spacing: 4px;
}

tr.line{
	border-bottom: 1px solid #777;
}
table#rutetabell td.stationname, table.xmlrutetabell td.stationname{
	min-width: 160px;
	width: auto;
	padding-left: 1em;
}

table#rutetabell td.stationname.bold, table.xmlrutetabell td.stationname.bold{
	font-weight: 600;
}

p.notrips{
	padding: 1.5em 0em;
}
/*BUS icon */
span.transporttype.bus .logo, span.transporttype.BUS, span.transporttype.SBU, span.transporttype.shuttlebus .logo, span.transporttype.expressbus .logo{
	background: url(https://img1.custompublish.com/getfile.php/3460215.2311.scwrxrfpfv/24px-grey-bus.png) no-repeat;
}

/*Train icon*/
span.transporttype.train .logo, span.transporttype.TRA{
	background: url(https://img1.custompublish.com/getfile.php/3460218.2311.xsbuubdweq/24px-grey-train.png)no-repeat;
}
/*Airplane icon*/
span.transporttype.airplane .logo, span.transporttype.AIR{
	background: url(https://img1.custompublish.com/getfile.php/3460215.2311.scwrxrfpfv/24px-grey-bus.png)no-repeat;
}

/*Boat icon*/
span.transporttype.expressboat .logo, span.transporttype.ship .logo, span.transporttype.ferry .logo, span.transporttype.EBO, span.transporttype.SHI, span.transporttype.FER{
	background: url(https://img1.custompublish.com/getfile.php/3460214.2311.rbsevxxsbc/24px-grey-boat.png)no-repeat;
}

span.transporttype .logo {
	padding-left: 30px;
	background-repeat: no-repeat!important;
	background-size: 24px;
	width: 24px;
	height: 24px;
}

div.tableheading h3.headline{
	margin: 0;
}
/*Fix for returntables som skrives ut i bunnen av tabell*/
a.returntable{
	display: none;
}
div.returntable a.returntable{
	display: inline;
}
div.returntable{
	padding-top: 1.5em;
}

.periodtabs{
	display: block;
	border-bottom: 1px solid #003a69;
	padding: 3em 0em .75em 1em;
}
.pagination .periodtabs{
	padding-top: 1em;
}
.periodtabs a{
	z-index: 10;
}

.periodtabs a:nth-child(n+7){
	display: inline-block;
	margin-top: 1em;
	margin-bottom: -.9em;
}

/*	Showall periods for testweb*/

#pagin {
	display: none;
    float: left;
}
.pagination #pagin{
	display: block;
}

.pagination #pagin li.third,
.pagination #pagin li.fourth,
.pagination #pagin li.fifth
{
	display: none;
}

.pagination2 #pagin li.third{
	display: block;
}
.pagination3 #pagin li.fourth{
	display: block;
}
.pagination4 #pagin li.fifth{
	display: block;
}

#pagin{
	margin-left: 1em;
	padding-left: .5em;
}
#pagin li {
    float:left;
    margin-right:10px;
	list-style-type: none;
}
#pagin li a {
    display:block;
    color:#717171;
    font:bold 11px;
    text-shadow:0px 1px white;
    padding: .5em 1em;
    background:#f9f9f9;
    background:-webkit-linear-gradient(top,#f9f9f9 0%,#e8e8e8 100%);
    background:-moz-linear-gradient(top,#f9f9f9 0%,#e8e8e8 100%);
    background:-o-linear-gradient(top,#f9f9f9 0%,#e8e8e8 100%);
    background:-ms-linear-gradient(top,#f9f9f9 0%,#e8e8e8 100%);
    background:linear-gradient(top,#f9f9f9 0%,#e8e8e8 100%);
    filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9',endColorstr='#e8e8e8',GradientType=0 );
}
#pagin li a.current {
    color:white;
    text-shadow:0px 1px #3f789f;
    background:#003a69;

}
#pagin li a:hover {
    -webkit-box-shadow:0px 1px 3px 0px rgba(0,0,0,0.55);
    -moz-box-shadow:0px 1px 3px 0px rgba(0,0,0,0.55);
    box-shadow:0px 1px 3px 0px rgba(0,0,0,0.55);
    background:#003a69;

}
#pagin li a:active,#pagin li a.current:active {
    -webkit-box-shadow:inset 0px 1px 3px 0px rgba(0,0,0,0.5),0px 1px 1px 0px rgba(255,255,255,1) !important;
    -moz-box-shadow:inset 0px 1px 3px 0px rgba(0,0,0,0.5),0px 1px 1px 0px rgba(255,255,255,1) !important;
    box-shadow:inset 0px 1px 3px 0px rgba(0,0,0,0.5),0px 1px 1px 0px rgba(255,255,255,1) !important;
}
#pagin li a.current:hover {
    -webkit-box-shadow:0px 1px 2px 0px rgba(0,0,0,0.9);
    -moz-box-shadow:0px 1px 2px 0px rgba(0,0,0,0.9);
    box-shadow:0px 1px 2px 0px rgba(0,0,0,0.9);
    background:#114b69;
}

a.returntable, a.button{
	background: #003a69;
    border: 1px solid #003a69;
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    font-size: 1em;
    font-weight: 100;
    padding: 0.5em 0.75em;
    text-transform: uppercase;
    vertical-align: middle;
	text-decoration: none;
	margin-right: 1em;
}
a.periodtab{
    border: 1px solid #003a69;
    border-radius: 0;
    cursor: pointer;
    font-size: .95em;
    font-weight: 100;
    padding: 0.8em 1em;
    text-transform: uppercase;
    vertical-align: middle;
	text-decoration: none;
	margin-right: .25em;
	color: #fff;
	background: #003a69;
	display: inline-block;
}

a.thisperiod{
	color: #000;
	/* font-weight: bold; */
	background: #ececec;
	border-bottom: 1px solid #ececec;
}

@media (max-width: 900px) {
	a.periodtab {
		margin-bottom: 0.3rem;
		border-radius: 4px;
	}
	a.thisperiod {
		border-bottom: 1px solid #003a69;
	}
}

a.otherperiod{
	color: #fff;
	background: #003a69;
}

a.periodtab:hover{
	color: #000;
	background: #ececec;
	border-bottom: 1px solid #ececec;
}

a.periodtab:nth-child(n+7):hover{
	z-index: 11;
}
a.returntable:hover, a.button:hover{
	color: #003a69;
	background: #fff;
}


a.xmldebug{
	display: none;
}

.loggedin a.xmldebug{
	display: block;
}
/*Pagebar for large tables*/
.pagebar.hidden{
	display: none;
}

div.pagebar{
	padding: .5em 0;
	margin-bottom: 1em;
}
a.pagebar{
	color: #003a69;
	background: #fff;
    border: 1px solid #003a69;
    border-radius: 0;
    cursor: pointer;
    font-size: 1em;
    font-weight: 100;
    padding: 0.5em 0.75em;
    text-transform: uppercase;
    vertical-align: middle;
	text-decoration: none;
}
a.pagebar.next{
	margin-left: .5em;
}
a.pagebar.prev{
	margin-right: .5em;
}

a.pagebar:hover{
	background: #003a69;
	color: #fff;
}

.pagenum{
	color: #003a69;
	background: #fff;
    border: 1px solid #003a69;
    border-radius: 0;
    cursor: pointer;
    font-size: 1em;
    font-weight: 100;
    padding: 0.5em 0.75em;
    text-transform: uppercase;
    vertical-align: middle;
	text-decoration: none;
	margin-right: 0em;
}
span.currpage{
	background: #003a69;
	color: #fff;
}

span.pageseperator{ display: none;}
.viewareacontent.xml{
	padding-bottom: 2em;
}
.viewareacontent.xml .innerbody,.feed-event-container.footer{
	margin-top: 1em;
	padding-top: 1em;
}


 .handicap{
	background: url(https://img1.custompublish.com/getfile.php/3470612.2311.xutpsfbdwd/handicap.jpg) no-repeat !important;
	background-size: 33px 32px;
	float: right;
	position: relative;
	right: 2%;
	top: 2%;
	padding: 2.5em;
}
.handicap.vis{ display: block;}
.handicap.skjul{ display: none;}


p.pinkcomment, p.greycomment{ padding: .5em 1em;}
p.pinkcomment span{	padding: .2em 1em; margin-right: .5em; background-color: pink; }
p.greycomment span{	padding: .2em 1em; margin-right: .5em; background-color: #ececec; }

div.exception{
	padding-left: 1em;
	margin-bottom: .5em;
}

.exception span.number-ref{
	padding-right: .2em;
}
.exception > span.not, .exception > span.only, .exception > span.footnote{
	padding-left: .2em;
}

.exception > span.end-date:nth-child(n+2):after {
    content: ",";
}
.exception > span.end-date:last-child:after {
    content: ".";
}

p.hideexception{
	display: none;
}

/* XML Footer*/
.correspondence{
	padding: .5em 2em;
	font-size: 1.1em;
}
.correspondence h4{
	margin-left: 0;
	padding-left: 0;
}

.correspondence span.transporttype{
	padding-left: 30px;
	padding-bottom: 10px;
	margin-left: 20px;
	background-repeat: no-repeat!important;
	background-size: 24px;
	width: 24px;
	height: 24px;
	display: inline;

}
.corresondensestop{
	font-weight: bold;
}
.corresondensestop:after{
	content: " .............";
	letter-spacing: 3px;
}

.correspondence span.number{
	padding-right: 0.2em;
}

span.footnote{
	padding-left: 0em;
}

.footernotes .row .column:first-child, .footernotes .row .columns:first-child, .footernotes .column.first, .footernotes .columns.first{
	padding: 0 0.5em;
}

.footer p{
	margin-bottom: 0em;
}

.staticinfo{
	margin-top: 2em;
}

.page383963 center{
	display: none;
}
/***********************************************************
	XML Routelisting
***********************************************************/
.viewarea span.routenr{
	padding-right: 0.5em;
	font-weight: bold;
	color: #666;
}
.listingarea span.routenr, .listingarea span.routenumber{
	padding-right: 0.5em;
}

.viewarea span.routename{
	font-weight: bold;
	color: #666;
}

 .listingarea p.tablerow.multiple{
	display: none;
}


.listingarea p.tablerow.multiple.show{
	display: block!important;
}

span.krisemelding{
	padding-left: 2em;
}

/***********************************************************
	Print styles
***********************************************************/
@media print {

	body{
		font-family: "Open Sans",Arial,"Liberation Sans","Helvetica Neue",Helvetica,"Nimbus Sans L",Sans,sans-serif;
	}

	.hideonprint{
		display: none!important;
	}

	table#rutetabell td.stationname.bold{
		font-weight: bold;
	}

	.feed-event-container .container{
		border-bottom: 1px solid #333;
	}
	table#rutetabell, table.xmlrutetabell {
		font-size: 1.1em;
		width: 100%;
		border-collapse: collapse;
	}

	table#rutetabell{
		margin: 0;
	}

	table#rutetabell2, table.xmlrutetabell {
		margin: 2em 0 0 0;
	}
	table#rutetabell thead, table.xmlrutetabell thead{
		border-bottom: 1px solid #333;
		background-color: #ececec;
	}

	table#rutetabell thead td, table.xmlrutetabell thead th{
		border: none;
	}
	table#rutetabell thead tr, table.xmlrutetabell thead tr{
		background-color: #ececec;
	}
	table#rutetabell thead th, table.xmlrutetabell thead th{
		background: transparent;
		text-align: center;
		padding: 1em 0 .5em .5em;
	}

	table#rutetabell thead th:empty, table.xmlrutetabell thead th:empty {
	  display:none;
	}

	table#rutetabell thead th:first-child, table.xmlrutetabell thead th:first-child{
		padding-left: 1em;
		text-align: left;
	}
	table#rutetabell td, table.xmlrutetabell td{
		padding: .5em 0;
	}

	table#rutetabell tr:nth-child(even), table.xmlrutetabell tr:nth-child(even){
		background-color: #f9f9f9;
	}
	table#rutetabell tr:empty, table.xmlrutetabell tr:empty{
		display: none;
	}

	table#rutetabell tr.firstrow, table.xmlrutetabell tr.firstrow{
		border-top: 1px solid #333;
	}
	td.period-exception-ref{
		text-align: center;
	}
		td.period-exception-ref span{
			border-radius: 50%;
			background-color: #000;
			color: #fff;
			padding: 0em .5em;
			font-weight: bold;
		}

		td.period-exception-ref span:empty{
			border: none;
			background-color: inherit;
		}
	.exception span.number-ref{
		font-weight: bold;
	}
	td.stoptime{
		min-width: 50px;
		width: auto;
		text-align: center;
		border-left: 2px solid #fff;
		border-right: 2px solid #fff;
	}
		td.stoptime.pink{
			background-color: pink!important;
		}
		td.stoptime.lightgrey{
			background-color: #ececec!important;
		}
		td.stoptime.empty{
			letter-spacing: 4px!important;
		}


	tr.line{
		border-bottom: 1px solid #777;
	}
	table#rutetabell td.stationname, table.xmlrutetabell td.stationname{
		min-width: 160px;
		width: auto;
		padding-left: 1em;
	}

	table#rutetabell td.stationname.bold, table.xmlrutetabell td.stationname.bold{
		font-weight: 600;
	}

	/*BUS icon */
	span.transporttype.bus .logo, span.transporttype.BUS, span.transporttype.SBU, span.transporttype.shuttlebus .logo, span.transporttype.expressbus .logo{
		background: url(https://img1.custompublish.com/getfile.php/3460215.2311.scwrxrfpfv/24px-grey-bus.png)no-repeat;
	}
	/*Train icon*/
	span.transporttype.train .logo, span.transporttype.TRA{
		background: url(https://img1.custompublish.com/getfile.php/3460218.2311.xsbuubdweq/24px-grey-train.png)no-repeat;
	}
	/*Airplane icon*/
	span.transporttype.airplane .logo, span.transporttype.AIR{
		background: url(https://img1.custompublish.com/getfile.php/3460215.2311.scwrxrfpfv/24px-grey-bus.png)no-repeat;
	}
	/*Boat icon*/
	span.transporttype.expressboat .logo, span.transporttype.ship .logo, span.transporttype.ferry .logo, span.transporttype.EBO, span.transporttype.SHI, span.transporttype.FER{
		background: url(https://img1.custompublish.com/getfile.php/3460214.2311.rbsevxxsbc/24px-grey-boat.png)no-repeat;
	}

	span.transporttype .logo {
		padding-left: 30px;
		background-repeat: no-repeat!important;
		background-size: 24px;
		width: 24px;
		height: 24px;
	}

	div.tableheading h3.headline{
		margin: 0;
	}

	span.routenr{
		padding-right: 0.5em;
		font-weight: bold;
		color: #666;
	}
	span.routenr{
		padding-right: 0.5em!important;
	}

	span.routename{
		font-weight: bold;
		color: #666;
	}

	.handicap{
		background: url(https://img1.custompublish.com/getfile.php/3470612.2311.xutpsfbdwd/handicap.jpg) no-repeat !important;
		background-size: 33px 32px;
		float: right;
		position: relative;
		right: 2%;
		top: 2%;
		padding: 2.5em;
	}

	.handicap.vis{ display: block;}
	.handicap.skjul{ display: none;}
	p.pinkcomment span{	padding: .2em 1em; margin-right: .5em; background-color: pink; }
	p.greycomment span{	padding: .2em 1em; margin-right: .5em; background-color: #ececec; }

	p.hideexception{
		display: none;
	}

	.exception p{
		padding: 0;
		margin: 0;
	}

	/* XML Footer*/
	.correspondence{
		padding: .5em 2em;
		font-size: 1.1em;
	}
	.correspondence h4{
		margin-left: 0;
		padding-left: 0;
	}

	.correspondence span.transporttype{
		padding-left: 30px;
		padding-bottom: 10px;
		margin-left: 20px;
		background-repeat: no-repeat!important;
		background-size: 24px;
		width: 24px;
		height: 24px;
		display: inline;

	}
	.corresondensestop{
		font-weight: bold;
	}
	.corresondensestop:after{
		content: " .............";
		letter-spacing: 3px;
	}

	.correspondence span.number{
		padding-right: 0.2em;
	}

}

.emergency{
	padding-top: 1em;
	margin: 1em 1em 1em 1em;
	border-style: solid;
	border-color: #EC7063;
	font-weight: bold;
	text-align: center;
}
