/* Projekts: MBA programma Inovācijas un Uzņēmējdarbība
 * Developer: SIA X IT, GRENO
 * Coding: Kristaps Pilveris (kristaps.pilveris@greno.lv)
 *
 * Location: system/application/views/css
 * Stylesheet: Lapas izkārtojuma stili
 * Saistītie faili: print_layout.css
 * 					
 * Versija: 0.5
 * Datums: 20.01.2009.
 *
 *
 *
 * Fails definē lapas pamatizkārtojuma blokus un galvenos vizuālos stilus
 *
 */
  

/* Pamatkrāsu palete */

/*
 * Fons:				#FFFFFF
 *
 * Rāmja krāsa:			#8B8B8B
 * 
 * Sarkanais:			#DF0030
 * Zilais:				#004379
 * 
 *
 * Pamatteksts:			#000
 * Mazsvarīgs teksts:	#004177
 *
 * Saite:				#004177
 * Hover efekts:		#99B4CA
 * Apmeklēta saite:		#004177
 *
 * Ievadlauks:			#FFFFFF
 * Ievadlauka rāmis:	#8B8B8B
 * Fokusēts ievadlauks:	#EDEDE8
 * Fokusēta lauka rāmis:#777
 *
 *
 *
 */

/* ================================================================================ */
/* 1 - vispārīgie elementu stili */
body {
    margin: 0;
    padding: 0;
    color: #000;
	background: #d2d2d2 url(../img/page_gradient2.png) repeat-x fixed 0 100%;
    font: normal 62.7% / 1.2em Arial, sans-serif;
}

a {
    color: #004379;
}

/* hovered links */
a:hover, a:active {
    color: #DF0030;
}

div.clearer {
    clear: both;
}

table {
	border-collapse: collapse;;
}

table td {
	vertical-align: middle;
	padding: 0.2em 0.4em;
}

fieldset {
	border: none;
	padding: 0;
	margin: 0;
}


/* Paziņojumu noformējums */
.message {
	padding: 0.8em 1.2em;
	margin: 0.4em 0 0.8em 0;
	color: #004379;
	background-color: #eee;
	border: 2px solid #004379;
	text-align: center;
	font: normal 12px sans-serif;
}

/* Paziņojumu noformējums */
.error {
	padding: 0.5em 1.2em;
	margin: 0.4em 0 0.8em 0;
	color: #000;
	background-color: #FFD2CA;
	border: 2px solid #F4391F;
	text-align: center;
	font: bold 12px sans-serif;
}


a img {
	border: none;
}



/* ================================================================================ */
/* 2 - Lapas bloku izkārtojums */
/* lapas ārējais konteiners --------------------------------------------- */
#cont {
	width: 980px;
	background: #fff url(../img/bg_page.png) repeat-y;
	margin: 0 auto;
	border-left: 1px solid #bbb;
	border-right: 1px solid #bbb;
}

/* augšējā josla ------------------------------------------------------- */
#top {
	height: 100px;
	position: relative;
	background: url(../img/rtu_logo.png) repeat-y;
	border: 0px dotted green;
	position: relative;
}

#tagline {
	position: absolute;
	top: 82px;
	left: 167px;
	width: 800px;
	height: 17px;
	font: normal 11px/11px sans-serif;
	color: #666;
	border: 0px solid red;
}


#logo, #logo-lv, #logo-en {
	display: block;
	position: absolute;
	top: 23px;
	left: 165px;
	width: 177px;
	height: 56px;
	background-image: url(../img/mba_logo.jpg);
}

#logo-en {
	background-image: url(../img/mba_logo-en.jpg);
}

#topbanner {
	display: none;
	position: absolute;
	top: 37px;
	left: 420px;;
	width: 485px;
	height: 52px;
	border: 1px solid #8B8B8B;
	background: url(../img/bg_banner_top.png) repeat-x;
	padding: 0 10px;
	line-height: 32px;
	font-size: 1.3em;
}

#topbanner a {
	display: block;
	float: left;
	font: normal 1.4em/55px Arial;
	color: #000;
	text-decoration: none;
}

#topbanner a:hover {
	color: #E41938;
	text-decoration: underline;
}

/* valodu pārslēdzējs ---------------------------------------------------- */
#topmenu {
	position: absolute;
	margin: 0;
	padding: 0;
	top: 8px;
	left: 750px;
	border: 0px dotted green;
}

#topmenu li {
	padding: 0;
	margin: 0;
	float: left;
	list-style: none;
	padding: 1px 5px 2px 5px;
	color: #aaa;
	border-left: 1px solid #ccc;
}


#topmenu a.current, #topmenu a:hover {
	color: #00447C;
}

#topmenu a {
	float: left;
	margin: 0 3px;
	color: #aaa;
	text-decoration: none;
	font-size: 1.2em;
}


/* Izvēlnes josla ------------------------------------------------------ */
#menu {
	position: relative;
	margin: 0 0 0 0;
	height: 24px;
	background: #F7F7F7 url(../img/bg_menu1.png) repeat-x;
    clear: both;
	border-top: 1px solid #8B8B8B;
	border-bottom: 1px solid #8B8B8B;
}

#menulines {
	position: absolute;
	top: -1px;
	left: 0;
	width: 170px;
	height: 26px;
	background: url(../img/bg_page.png) repeat-y;
}

#menu ul {
	margin: 0 0 0 177px;
	padding: 0;
	list-style: none;
	border: 0px dotted blue;
}

#menu li {
	float: left;
	margin: 0 1em 0 0;
}


#menu a {
	display:  block;
	float: left;
	padding: 0 1.2em;
	height: 24px;
	color: #333;
	text-decoration: none;
	font: bold 11px/24px Arial, sans-serif;
	text-transform: uppercase;
	border-left: 1px solid #8B8B8B;
	border-right: 1px solid #8B8B8B;
}

#menu a:hover, #menu li.current a {
	color: #fff;
	background: #DC2120 url(../img/bg_menu-a.png) repeat-x;
}

#menu li.current {
	
}

#menu ul ul {
	display: none;
}

#menu li span {
	display: none;
}

/* --------------------------------------------------------------------- */
/* Otrā līmeņa izvēlne ------------------------ */
#submenu {
	margin: 0 0 0 0;
	/*overflow: hidden; */
	height: 21px;
    clear: both;
	border: 0px solid green;
}


#submenu ul {
	margin: 0 0 0 186px;
	padding: 0;
	height: 21px;
	list-style: none;
	background: #fff;
	position:relative;
	z-index:100;
}

#submenu li {
	list-style: none;
	float: left;
	margin: 0 1em 0 0;
	position: relative;
}


#submenu a {
	display:  block;
	padding: 4px 4px 3px 4px;
	color: #00447C;
	text-decoration: none;
	font: normal 12px/1em Arial, sans-serif;
}

#submenu a:hover, #submenu li.current a {
	color: #111;
	background: #F7F7F7 url(../img/bg_menu.png) repeat-x;
}

#submenu li.current {
	
}


/* Izpeldošā trešā līmeņa izvēlne */
#submenu ul ul {
	visibility:hidden;
	position:absolute;
	height: 0;
	top:19px;
	left:0;
	z-index:100;
	margin: 0;
	padding: 0;
	border: 1px solid #ccc;
	width: 14em;
}

#submenu ul ul li {
	margin: 0;
	padding: 0;
	float: none;
}

/* Izpeldošās izvēlnes saites */
#submenu ul ul a, #submenu ul .current ul a {
	background: #fff;
	color: #00447C;
}

#submenu ul ul a:hover, #submenu ul ul :hover > a, #submenu ul .current ul a:hover {
 visibility:visible;
 height: auto;
 background: #e6e6e6;
 color: #111;
}

/* make the second level visible when hover on first level list OR link */
#submenu ul li:hover ul,
#submenu ul a:hover ul { visibility:visible; height: auto;}



/* ------------------------------------------------------------------------ */
/* trešā līmeņa menu */
#menuu {
	clear: both;
	padding: 0 0 1em 0;
}

#menuu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}


#menuu li {
	line-height: 2em;
}

#menuu a {
	text-decoration: none;
}

#menuu a:hover {
	text-decoration: underline;
}

/* lapas kolonnu karkass -----------------------------------------------------------
 * 
 * 
 */

#pagecont {
	margin: 0 0 0 0;
    padding: 0 0 3em 160px;
    border: 0px solid #DA4514;
	min-height: 320px;
	background: url(../img/lidosta.jpg) no-repeat;
}

#content_wrapper {
	float: left;
	margin: 25px 0 0 0;
	
	position: relative;
	font: normal 1.3em/1.2em Arial, sans-serif;
	border-right: 1px solid #B3B3B3;
}


/* Satura kolonna ------------------------------------------------------------------------ */
#content {
	width: 480px;
	margin: 0 45px 20px 25px;
}

div#sidebar {
	float: left;
	width: 230px;
	margin: 20px 0 0 20px;
	font: normal 1.2em/140% Arial, sans-serif;
	border: 0px dotted red;
}

/* Absolventa attēls ----------------------------------------------------- */
div#person {
	float: left;
	width: 310px;
	border: 0px dotted red;
}



/* Foto / video galerijas ----------------------------------------------- */
div.gallery {
	margin: 0 0 0 20px;
	padding: 0;
	border: 0px solid green;
}

table.gallery {
	margin: 0 0 40px 0;	
}



/* Content ilustration images */
img.ilustration, img.portrait {
	float: left;
	margin: 0 15px 10px 0;
}

img.profile {
	float: right;
	margin: 0 0 5px 10px;
}

img.centered {
	display: block;
	margin: 0 auto;
}




/* Apakšējā josla ------------------------------------------------------------------------- */
div#lines {
	height: 50px;

}


#apaksa {
	background: #A6A6A6 url(../img/bg_page.png) repeat-y;
	color: #fff;
    padding: 0 0 0 0;
	font: normal 1.2em/1.2em sans-serif;
    clear: both;
	position: fixed;
	bottom: 0;
	width: 980px;
}


#apaksa p {
	margin: 0 10% 0 0;
	padding: 1em 0 1em 190px;
}


#apaksa a {
	color: #fff;
	text-decoration: underline;
	padding: 0 1em 0 0;	
}

#buskerud {
	position: absolute;
	width: 111px;
	height: 89px;
	top: -90px;
	left: 20px;
	background: url(../img/buskerud_logo.png) no-repeat;
	border: 0px dotted gray;
}

a#xit {
	position:absolute;
	bottom: 0;
	right: 0;
	width: 39px;
	height: 14px;
	padding: 0;
	overflow: hidden;
}


/* ================================================================================ */
/* 3 - Typography */


h1 {
    margin: 0.5em 0 0.5em 0;
	padding: 0 0 8px 0;
    font: normal 1.1em/1em Arial, sans-serif;
	color: #DF0030;
	text-transform: uppercase;
	text-align: justify;
}



/* Apakšvisraksti */
h2 {
    margin: 2.4em 0 0.4em 0;
	padding: 0;
    font: normal 1.2em/1em Arial, sans-serif;
	color: #004379;
	text-align: justify;
}


/* Izcēlumi */
h3 {
	margin: 1.3em 0 0 0;
    font: normal 1em/1em Arial, sans-serif;
    color: #004379;
}


/* Virsrakstu saites */
h1 a, h2 a, h3 a {
	text-decoration: none;
    
}

h1 a:hover, h2 a:hover, h3 a:hover {
	text-decoration: underline;
	color: #DF0030;;
}



#content p {
	margin: 0 0 1em 0;
	text-align: justify;
	line-height: 140%;
}

#content li {
	margin-bottom: 0.4em;
}



.right {
	text-align: right;
}


/* ================================================================================ */
/* 3 - Forms */

form {
    font: normal 1em/1em sans-serif;
    color: #333;
    padding: 0 0;
}

/* */

form fieldset {
    margin: 0;
    padding: 0 0 1em 1em;
}

/* Forms in sidebar */
#sub form {
    padding: 0.3em 0;
}

/* generic input elements */
form input, form input.title, form textarea {
	background-color: #FFF;
	color: #555;
	border: 1px solid #c3c0b3;
	width: 19em;
    font-size: 14px;
    padding: 1px 2px;
}

form input:focus, form input.title:focus, form textarea:focus {
	border: 1px solid #D88A69;
}


/* Input button without explicit formatting */
input.noformat, input.noformat:focus {
    border: none;
	background-color: transparent;
	width: auto;
}

/* Short input fields */

input.set2 {
	width: 12em;
}

input.set3 {
	width: 6em;
}

input.set4 {
	width: 4em;
}


/* form submit buttons */
input.poga {
	width: auto;
	padding: 0.1em 1em;
	background-color: #e6e6e6;
	color: #333;
	font-weight: normal;
	border: 1px outset #e6e6e6;
	margin: 0.4em 1.5em 0.4em 0;
}

form table label {
	text-align: right;
}

form label {
	font-size: 12px;
	color: #888;
}

#content form p {
	margin: 0.6em 0 0 0;
}



/* ================================================================================ */
/* 5 - Page controls */

/* meklēšana */
div#searchbox {
	background: #e4e4e4;
	border: 1px solid #ccc;
	padding: 0;
}

#searchbox fieldset {
	padding: 10px 5px 10px 10px;
}

#searchbox input {
	width: 160px;
	vertical-align: middle;
	margin-bottom: 5px;
}




/* Lappušu navigācija */
div.pager {
	margin: 0 0 20px 0;
	clear: both;
	font: normal 12px/1em verdana, sans-serif;
}

div.pager a {
	display: block;
	float: left;
	padding: 0.3em 0.45em;
	text-decoration: none;
}


div.pager a:hover {
	/* color: ; */
	text-decoration: underline;
}


div.pager a.selected {
	background-image: url(../img/pager.gif);
	background-position: 60% 50%;
	color: #000;
}

