/* $Id: catalog.css,v 1.5 2014/03/16 19:56:22 olejakob Exp $ */
/*
--------------------------------------------------------------------------
	Stylesheet for Brustad Busstrafikk
--------------------------------------------------------------------------
-- Default text settings */
.bodycontent {
	margin: 0px;
}

/*
img.imgcache {
	margin: 10px;
}
*/
/* The arrows used to mark links to more information */
.arrow {
	font-weight: bold;
	color: #009900;
}

/* headline / subheadline */
a.headline, .headline, a.headline-list, .headline-list,
a.subheadline, .subheadline {
	font-size: small;
	line-height: 120%;
	letter-spacing: 1px;
	font-weight: bold;
	color: #D8013A;
	text-decoration: none;
}

a.headline-list, .headline-list {
	color: #333333;
	font-size: x-small;
}

a.subheadline, .subheadline {
	font-size: x-small;
}

/* ingress */
.summary {
	color: #000000;
}

a.header {
	font-weight: bold;
	text-decoration: none;
}

a.header:hover,a.footer:hover {
	color: #CC6600;
}

/* ############### INTERNETT ################## */

/* ###### Trip program ############## */
.cat-alarm {
	color: red;
	font-size: large;
	font-weight: bold;
	float: right;
}
.cat-block {
	padding: 5px;
	margin-right: 10px;
}
/* --- main program --- */
div.cat-triptype {
	border-radius: 10px;
	-moz-box-shadow: 5px 5px 5px #a0a0a0;
	-webkit-box-shadow: 5px 5px 5px #a0a0a0;
	box-shadow: 5px 5px 5px #a0a0a0;
	font-size: 20px;
	font-weight: bold;
	font-style: italic;
	font-variant: small-caps;
	padding: 5px;
	padding-left: 20px;
	padding-right: 20px;
	color: #ffffff;
	letter-spacing: 10px;
	margin-bottom: 5px;
}
.cat-title, .cat-titlesub {
	color: #000000;
	font-weight: bold;
}
.cat-title {
	font-size: 22px;
}
.cat-titlesub {
	font-size: 18px;
}
.cat-intro,
.cat-daydistance, .cat-daydistance-wing,
.cat-day, .cat-distanse, .cat-txt
{
	break-inside: avoid !important;
	line-height: 130%;
}
.cat-intro {
	font-size: 16px;
	color: #000000;
}
.cat-daydistance, .cat-daydistance-wimg {
	padding-top: 10px;
}
.cat-daydistance-wimg {
	clear: both;
}
.cat-day, .cat-distance {
	font-weight: bold;
	font-size: 16px;
}
.cat-day  { color: #000000; }
.cat-distance { color: #bb2222; }
.cat-txt  {
	color: #444444;
	font-size: 14px;
}

div.cat-daydistance table.bbhtml,
div.cat-daydistance table.bbhtml tr,
div.cat-daydistance table.bbhtml tr td.bbhtml {
	margin: 0px;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 5px;
	padding-right: 5px;
}

/* trip menu */
ul.tripmenu {
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	margin-bottom: 20px;
	padding-left: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
	border: 1px solid #e0e0e0;
   border-radius: 5px 10px;
	width: 100%;
}
ul.tripmenu:before { content: " "; }
ul.tripmenu:after  { content: " "; }
ul.tripmenu li {
	margin: 0px;
	padding: 0px;
	padding-left: 10px;
	padding-right: 10px;
	display: inline;
}
ul.tripmenu li+li:before { content: " "; }
ul.tripmenu a { font-size: 120%; }
li.tripmenu-active { font-weight: bold; }

/* --- box / info --- */
div.cat-box {
	-moz-border-radius: 10px;
	border-radius: 10px;
	-moz-box-shadow: 5px 5px 5px #a0a0a0;
	-webkit-box-shadow: 5px 5px 5px #a0a0a0;
	box-shadow: 5px 5px 5px #a0a0a0;
	background-color: #fff6dc;
	border: 1px solid #a0a0a0;
	margin: 10px;
	padding: 0px;
	width: 100%;
}
div.cat-box .head {
	border-radius: 10px 10px 10px 10px;
	padding: 5px;
	padding-left: 10px;
	margin: 0px;
	font-weight: bold;
}
div.cat-box .head a {
	font-weight: bold;
}
div.cat-box-inner {
	padding: 10px;
}

.cat-days, .cat-price {
	font-size: 21px;
	font-weight: bold;
	margin-bottom: 10px;
}
div.cat-days { float: left; }
div.cat-price { float: right; }

ul.cat-facts {
}
ul.cat-facts li {
	padding: 0px;
	margin: 0px;
	margin-left: 15px;
}

ul.box li,
div.cat-box-head {
	padding: 10px;
	font-weight: bold;
	color: #000000;
}
div.cat-box ul li {
	font-size: 12px;
	list-style-type: circle;
	margin-right: 0px;
	margin-left: -10px;
	padding: 0px;
}
div.cat-listothers {
	padding-left: 10px;
}
dl.cat-listothers {
	margin: 0px;
	padding: 0px;
}
dl.cat-listothers dt {
	font-weight: bold;
	margin-left: 5px;
}
dl.cat-listothers dd {
	margin-left: 10px;
}

ul.cat-triplist li {
	margin-top: 5px;
}

/* ###### Trip calendar ############## */
#catcalform {
	margin-bottom: 20px;
}
#catcalform #datedepf, #catcalform #datedept { width: 80px; }
#catcalform #daysf, #catcalform #dayst { width: 25px; }

/* --- admin - extra --- */
ul.cat-triplist {
	margin: 0px;
	padding: 0px;
}
ul.cat-triplist li {
	margin:0px;
	padding:0px;
	list-style-type: none;
}

/* ###### Pastiglistning ###################### */
table.pastig {
	margin-left: 50px;
	margin-right: 50px;
}

table.pastig tr td {
	padding: 3px;
}

tr.pastig-main,td.pastig-main {
	font-size: 14px;
	font-weight: bold;
	background-color: #eaeaea;
}

tr.pastig-sub,td.pastig-sub {
	font-size: 12px;
	margin-left: 10px;
}

.pastig-alert, .pastig-msg,
p.pastig-alert, p.pastig-msg {
	display: block;
	padding: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	border: 1px solid #fbeed5;
	border-radius: 4px;
}
.pastig-alert, span.pastig-alert, p.pastig-alert {
	color: red;
	background-color: #fcf8e3;
}

/* ###### Turkalender ################ */
/* --- mini list --- */
fieldset.catlist {
	margin: 0 10px 0 10px;
	padding-top: 0;
	padding-bottom: 20px;
	text-align: center;
}
fieldset.catlist legend {
	text-align: left;
}
div.catlist-list {
	clear:both;
	margin-top: 15px;
}
a.catlist-trip {
	text-decoration: none;
}
a.catlist-trip:hover {
	text-decoration: none;
	opacity: 0.9;
	filter: alpha(opacity=90); /* For IE8 */
}
div.catlist, div.catlist-trip, div.catlist-type {
	clear:both;
	padding-bottom: 5px;
}
div.catlist-type {
	padding-left: 10px;
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: 120%;
	font-weight: bold;
}
div.catlist-trip {
	padding-top: 5px;
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 30px;
	border-top: 1px solid gray;
	min-height: 130px;
}
div.catlist-trip div.catlist-tripname {
	padding: 10px;
	margin-bottom: 5px;
	font-size: 180%;
	font-weight: bold;
}
span.catlist-tripsubname {
	font-size: 100%;
	font-weight: normal;
}
div.catlist-trip div.catlist-tripname a {
	font-weight: bold;
}
div.catlist-trip div.catlist-desc {
	display: inline;
	color: #000000;
}
div.catlist-trip b, div.catlist-date {
	color: #000000;
	display: inline;
	font-weight: bold;
	font-size: 120%;
}
div.catlist-price, div.catlist-price a {
	display: inline;
	color: red;
	font-size: 120%;
	font-weight: bold;
	float: right;
	text-align: right;
}
img.catlist-thumb {
	margin-top: 5px;
	margin-bottom: 5px;
	width : 300px !important;
	height: 150px !important;
}

/* --- medium list - thumbs --- */
div.catthumb-list {
	clear:both;
	float:center;
	display:block;
	margin-top: 10px;
	text-align: center;
}
div.catthumb-list div.catthumb-content {
	margin-left: 1px;
	text-align: left;
}
div.catthumb-trip {
	display: block;
	position: relative;
	float: left;
	cursor: pointer;
	width: 275px;
	height: 237px;
	margin: 5px;
	border: 1px solid #ffffff;
}
div.catthumb-trip:hover {
	box-shadow: 5px 5px #e0e0e0;
	border: 1px solid #e0e0e0;
	background: rgba(0,0,0,0.04);
	opacity: 0.8;
	filter: alpha(opacity=80); /* For IE8 */
}
div.catthumb-trip img.catlist-thumb {
	margin: 0;
	padding: 0;
	width: 275px !important;
	height: 160px !important;
}
img.catlist-thumb:hover {
	opacity: 0.8;
	filter: alpha(opacity=80); /* For IE8 */
}
div.catthumb-tripno,
div.catthumb-flighticon,
div.catthumb-badge {
	display: inline-block;
	position: absolute;
	z-index: 2;
	top: 0;
	padding: 0 5px 0 5px;
	line-height: 20px;
	vertical-align: middle;
	text-transform: none;
}
div.catthumb-tripno {
	top: 144px;
	left: 0;
	height: 16px;
	color: #666666;
	/* background: rgba(250,250,250,0.4); */
}
div.catthumb-flighticon {
	top: 144px;
	right: 0;
	margin: 0;
	padding: 0;
	background: rgba(255,255,255,1);
}
div.catthumb-flighticon img {
	display: block-inline;
	margin: 0;
	padding: 0;
	height: 16px;
	width: 16px;
}
div.catthumb-badge {
	top: 10px;
	left: 0;
	color: #000000;
	background: rgba(250,250,250,0.9);
	font-weight: 300;
}
div.catthumb-tripinfo {
	display: inline-block;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: 265px;
	min-height: 70px;
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	background: rgba(250,250,250,0.5);
}
div.catthumb-tripinfobg {
	opacity: 0.5;
	filter: alpha(opacity=50);
	width: 100%;
	height: 100%;
}
div.catthumb-tripname {
	display: block;
	position: relative;
	color: #000000;
	font-size: 140%;
	font-weight: bold;
	padding-top: 5px;
}
span.catthumb-tripsubname {
	font-size: 70%;
	color: #333333;
	font-weight: normal;
}
div.catthumb-date {
	display: inline;
	color: #333333;
}
div.catthumb-price {
	display: inline-block;
	position: absolute;
	z-index: 2;
	bottom: 0;
	right: 0;
	padding-right: 5px;
	color: red;
	font-size: 120%;
	font-weight: bold;
}
div.catlist-prelist,
div.catlist-prelist div,
div.catthumb-prelist,
div.catthumb-prelist div.catthumb-tripname
{
	color: #999999 !important;
	font-style: italic !important;
}
@media (min-width: 1201px) /* max */ {
	/* cols:4 box:275x237  thumb:275x160 */
}
@media (max-width: 1200px) /* fixed */ {
	/* cols:3 box:293x237  thumb:293x160 */
	div.catthumb-trip,
	div.catthumb-tripinfo,
	div.catthumb-trip img.catlist-thumb {
		width: 293px !important;
	}
}
@media (max-width: 979px) /* fixed */ {
	/* cols:2 box:334x237  thumb:334x237 */
	div.catthumb-trip,
	div.catthumb-tripinfo,
	div.catthumb-trip img.catlist-thumb {
		width: 334px !important;
	}
}
@media (max-width: 767px) /* flex */ {
	/* cols:2 box: 50%x237  thumb: 50%x160 */
	div.catthumb-trip {
		width: 47% !important;
	}
	div.catthumb-tripinfo,
	div.catthumb-trip img.catlist-thumb {
		width: 100% !important;
	}
}
@media (max-width: 480px) /* mobile */ {
	/* cols:1 box: 100%x237  thumb: 100%x160 */
	div.catthumb-list div.catthumb-content { margin-left: 10px; }
	div.catthumb-trip {
		width: 95% !important;
	}
	div.catthumb-tripinfo,
	div.catthumb-trip img.catlist-thumb {
		width: 100% !important;
	}
}

/* --- complete calendar --- */
.catcal-page, .catcal-td, .catcal-title {
	border-bottom: solid 1px #aaaaaa;
	border-left: solid 1px #dddddd;
	text-decoration: none;
}
.catcal-page, .catcal-td {
	font-size: xx-small;
	text-align: center;
	width: 30px;
}
.catcal-title {
	padding-left: 3px;
}
.catcal-type {
	font-size: 120%;
	font-weight: bold;
}
td.catcal-price {
	font-size: x-small;
	text-align: right;
}

@media (min-width: 800px) {
	.catcal-months { }
	.catcal-dates { display: none; }
}
@media (max-width: 800px) {
	.catcal-months { display: none; }
	.catcal-dates { }
}

/* #### custom tables #### */
table.flights th {
	padding-top: 5px;
	text-align: left !important;
}
table.flights td {
	padding-right: 10px;
}

/* #### trip cat ##### */
tr.tripcat-1 td { font-size: 150%; font-weight: bold; }
tr.tripcat-2 td { font-size: 130%; }
tr.tripcat-3 td { font-size: 110%; }
tr.tripcat-4 td { font-size: 60%; }

span.tripcat-0 { line-height: 160%; font-size: 140%; font-weight: bold; }
span.tripcat-1 { line-height: 140%; font-size: 130%; }
span.tripcat-2 { line-height: 100%; font-size: 80%; }
span.tripcat-3 { font-size: 60%; }

