/* Tag styles */
html, body {
	margin:0;
	padding:0;
	/*height:100%;*/
	border:none;
}
table {
	border:0;
	border-spacing:0;
	border-collapse:collapse;
}
body, table, input, textarea, select {
	font-family:tahoma,arial,verdana,sans-serif;
	color:#000;
}
textarea {
	font-size:95%;
}
body {
	background:#fff;
	font-size:70%;
	margin:0 auto;
	max-width:1200px;
	min-width:970px;
}

a:link { color: #0081BE; text-decoration: none; }
a:visited { color: #0081BE; text-decoration: none; }
a:active { color: #0081BE; text-decoration: none; }
a:hover { color: #0081BE; text-decoration: underline; }

img { border:0; }
th { background-color: #A0A0A0; font-weight: bold; color: #FFFFFF; }
td { vertical-align: top; }
h2 { font-size:130%; }

form { margin:0; padding:0; }
input:focus, textarea:focus { background-color:#FCFAED; border:1px solid #9F9F9F; outline:0; }
input,textarea { border: 1px solid #CCC; -moz-border-radius:8px; -webkit-border-radius:8px; border-radius:8px; padding:2px 8px; }
input { background:transparent; }
select { border: 1px solid #CCC; }
/* Tag styles eof */

#container {
   min-height:100%;
   position:relative;
}

/* Main background color */
#header {
   position:relative;
	background:#fcfaed url('img/header_back.gif') 5px no-repeat;
   /*border: solid 1px #c0c0c0;*/
   min-height:60px;
   padding-bottom:2px;
   margin:0 auto;
	margin-top:5px;
}
#header_lang {
   float:left;
   width:25%;
   padding:30px 0 0 50px;
}
#header h1 {
   text-align:center;
   font-size:1.6em;
   font-weight:bold;
   color:#e1dfd2;
   margin:0;
   padding:0;
   letter-spacing:0.3em;
   text-shadow: 0.1em 0.1em 0.2em gray;
}
#header_sysmenu {
	position:absolute;
	bottom:0;
	left:25%;
   height:30px;
}

#header-middle {
	float:left;
}

#header_logout {
   position:absolute;
   bottom:5px;
	right:8px;
}
.logout {
	width:80px;
	float:right !important;
}

#session_expires {
   position:absolute;
   top:5px;
	right:8px;
   height:27px;
   color:#909090;
}
#header_logout p span {
   font-size:95%;
   color: black;   
}

table#main {
   width:100%;
   margin-bottom:15px;   /* Height of the footer */
}

#footer {
	position:absolute;
   bottom:0;
   height:15px;
   background-color:#fcfaed;
   margin:0 auto;
   padding:5px 0;
   width: 99%;
   text-align:center;
   font-size:80%;
   color:#CCCCCC;
}

.menu, .menu_button, .left { background-color: #fcfaed; }
#header_sysmenu .menu_button { min-width: 80px; white-space: nowrap; }

.small_font { font-size:90%; }
.dark_link, .dark_link:link, .dark_link:visited { color: #424d66; }
.left { padding:5px; width:25%; }
.content { background-color: #FFFFFF; padding: 5px 0px 15px 5px; }

h1.welcome-title { margin-top: 50px; text-align: center; color: #AEB3D0; font-size:150%; font-weight: bold; }
h2.welcome-tip { margin-top: 10px; text-align: center; font-size:110%; font-weight:normal; }

.menu { width:100%; }
.menu td {
	padding:2px;
}
.left_title {
	font-weight: bold;
	border: 1px solid #F0F0F0;
	background-color: #b8b56d;
	color: #FFFFFF;
	text-align: center;
	padding: 5px;
	margin: 0;
}

.mi_visible:link, .mi_visible:visited {  } /* menu item colors */
.mi_hidden:link, .mi_hidden:visited { color: #CCCCCC; }

.textarea { width: 100%; height: 350px; }
.msgError { text-align: center; color: #FF0000; }
.msgOk { text-align: center; color: #008000; }
.msgText { text-align: left; }

.small_table { width: 100%; font-size:90%; }
.larger_table { width: 100%; font-size:90%; margin: 5px 0px; }
.larger_table TD { padding: 2px; vertical-align: middle; }

.row1 { background-color:#FAFAFA; }
.row2 { background-color:#F0F0F0; }

.menu_header { font-weight: bold; background-color: #A0A0A0; color: #FFFFFF; text-align: center; }
.menu_header A:link { color: #FFFFFF; text-decoration: none; }
.menu_header A:visited { color: #FFFFFF; text-decoration: none; }
.menu_header A:hover { color: #FFFFFF; text-decoration: underline; }

.menu_header_sel { font-weight: bold; background-color: #EAEAEA; padding: 0px 3px 0px 3px; }
.menu_header_sel A:link { color: #808080; text-decoration: none; }
.menu_header_sel A:visited { color: #808080; text-decoration: none; }
.menu_header_sel A:hover { color: #808080; text-decoration: underline; }


/* Default list style */
.list_table { border-collapse: collapse; width: 100%; margin: 5px 0; border: 1px solid #C0C0C0; }
.list_table TD, .list_table TH { border: 1px solid #C0C0C0; padding: 5px; }
.list_table TH { background: #F0F0F0; color: #000000; }
.list_table TD { height: 20px; vertical-align: middle; }
.list_table TH A, .list_table TH A:visited, .list_table TH A:hover { font-weight: bold; color: #808080; }

/* Form style */
.form_table { border-collapse: collapse; width: 100%; }
.form_table TD { border:1px solid #F0F0F0; background-color: #FAFAFA; padding: 5px; vertical-align: middle;}
.form_table TH { border:1px solid #FFFFFF; background-color: #F0F0F0; padding: 5px; text-align: left; color: #000000; border-left: 1px solid #F0F0F0;  vertical-align: middle;}
.form_table INPUT, .form_table SELECT { width: auto; }
.form_table TD TD, .form_table TH TH { border: 0; }
td.form_title { border: 1px solid #F0F0F0; border-bottom: 1px solid #FFFFFF; background-color: #B8B56D; padding: 5px; font-weight: bold; color: #FFFFFF; }
.field_asterisk { padding-left: 5px; color: red; }
.field_asterisk_group { padding-left: 5px; color: green; }
.field_emsg { font-weight: bold; color: red; }
.gray_field { background-color: #F0F0F0; border: 1px #E0E0E0; }

/* Permission table style */
.perm_table { border-collapse: collapse; margin: 5px auto 5px auto; width: 100%; }
.perm_table TD { border:1px solid #F0F0F0; background-color: #FCFCFC; padding: 2px; vertical-align: middle; }
.perm_table TH { border:1px solid #FFFFFF; background-color: #F0F0F0; padding: 2px; text-align: left; color: #000000; border-left: 1px solid #F0F0F0; vertical-align: middle; }

/* Authorization form style */
.auth-fieldset { width: 360px; margin:0 auto; border:3px solid #CCC; -moz-border-radius:12px; -webkit-border-radius:12px; border-radius:12px; }
.auth-fieldset legend {
	font-size:110%;
	font-weight:bold;
	padding:0 8px;
	margin-left:10px;
}
.auth_table { width:100%; font-size:110%; }
.auth_table, .auth_table input, .auth_table select {  }
.auth_table th { text-align: center; font-weight: bold; background-color: #EEEEEE; color: black; }
.auth_table th, .auth_table td { padding:5px; vertical-align:middle; }
.auth_table td input { width:95%; padding:5px; }
.authorize-submit {
	border:1px solid #C0C0C0;
	background-color:#F0F0F0;
	width:100px !important;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	border-radius:8px;
}
.authorize-submit:hover {
	border:1px solid #8F8F8F; cursor:pointer;
}

/* File module styles */
.file_table { border-collapse: collapse; width: 100%; margin: 2px 0; border: 1px solid #C0C0C0; }
.file_table TD, .list_table TH { padding:2px; }
.file_table TH { background: #F0F0F0; color: #000000; border: 1px solid #C0C0C0;  }
.file_table TD { border: 1px solid #F0F0F0; height: 20px; vertical-align: middle; }

.file_upload { background-color: #F0F0F0; }
.file_message { margin: 0; padding: 2px; text-align: center; border: 1px solid #F0F0F0; border-top: 0; background-color: #FAFAFA; }
/* File module styles eof*/

/* Row color styles */
.l_a { background-color: #F0FFF0; }   /* Green */
.l_ia { background-color: #FAFAFA; }  /* Light gray */
.l_ia1 { background-color: #FFFFFF; } /* White */
.l_b { background-color: #FFF999; }   /* Yellow */
.l_e { background-color: #FFCCCC; }   /* Red */
.l_bl { background-color: #D9EFFF; }  /* Sky blue */
.l_la { background-color: #E5F7BF; }  /* Light green/yellow */
.l_le { background-color: #ffe0be; }  /* Light red/yellow */
.l_over { background-color: #ECF7FF; }

/* Clipboard copy row style */
.l_clp { background-color: #F0F0F0; }

/* Clipboard cut row styles */
.l_clp1 { background-color: #F0F0F0; }
.l_clp1 td { color: gray; }  /* Light gray */

.col_options { width: 120px; text-align: center; }
.col_small { width: 50px; text-align: center; }

.cell_options, .cell_options td { padding: 1px; vertical-align: middle; border-collapse: collapse; border: 0; background-color: transparent; }
.cell_value { padding: 2px 0px 7px 0px; border-bottom: 1px solid #F0F0F0; margin-bottom: 5px; }
.cell_value a { padding: 4px; }
.cell_value a:hover { background-color: #FFFFFF; border: 1px solid #E0E0E0; padding: 3px; text-decoration: none; color: #000000; }

/* List page styles */
.page-lister { margin: 0 auto; }
.lt_page { display: block; float: left; border: 1px solid #F0F0F0; background-color: #FAFAFA; width: 20px; margin: 1px; }
.lt_page_sel { display: block; float: left; border: 1px solid #C0C0C0; background-color: #F0F0F0; width: 20px; color: #000000; margin: 1px; }
.lt_pages { text-align: center; }

.plng_lnk { border-collapse: collapse; border: 0; } /* Lapu valodu saites */
.plng_lnk td, plng_lnk a, plng_lnk span { font-size:90%; font-weight: bold; }
.plng_lnk1 a, .plng_lnk1 a:link, .plng_lnk1 a:visited, .plng_lnk1 a:hover {
   color: #CCCCCC; font-weight: normal;
}

.html_content { width: 100%; border-collapse: collapse; border: 1px solid #CCCCCC; background-color: #FAFAFA; }
.html_content td { padding: 10px; }


div.link_button { }
div.link_button a { border: 1px solid #CCCCCC; background-color: #FAFAFA; padding: 0px 5px;  }
div.link_button a:hover { border: 1px solid #CCCCCC; background-color: #F0F0F0; }

a.link_button { border: 1px solid #E0E0E0; background-color: #FAFAFA; padding: 2px; line-height: 200%; }
a.link_button:hover { border: 1px solid #C0C0C0; background-color: #F0F0F0; color: #000000; padding: 2px; text-decoration: none; line-height: 200%; }
a.link_button IMG { vertical-align: middle; }

a.link_button2 { border: 1px solid #E0E0E0; background-color: #FAFAFA; padding: 2px;}
a.link_button2:hover { border: 1px solid #C0C0C0; background-color: #F0F0F0; color: #000000; padding: 2px; text-decoration: none; }

.wide_button a { float:left; border: 1px solid #CCCCCC; background-color: #FAFAFA; padding: 5px; margin-right: 10px; -moz-border-radius:8px; -webkit-border-radius:8px; border-radius:8px; }

/* List row colors */
.lst_n { font-weight: bold; background-color: #FFFFFF; } /* New */
.lst_a { background-color: #F0FFF0; }  /* Active   */
.lst_ia { background-color: #FAFAFA; } /* Inactive */

td.has_permission { background-color: #F0FFF0; }

/* Align styles */
.al { text-align: left; }
.ar { text-align: right; }
.ac { text-align: center; }
.aj { text-align: justify; }

.menu_button {
	margin: 2px;
	border: solid 1px #c0c0c0;
	padding: 3px;
	clear: none;
	float: left;
	text-align: center;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	border-radius:8px;
}
.menu_button a { }
.menu_button a:hover { color: #ff0000; }
.menu_button:hover { background-color:#FAFAFA; border: solid 1px #8F8F8F; }

.add_new_button {
	background:url('img/page-add-icon.png') 3px no-repeat;
	width:100%;
	height:30px;
	padding-left:18px;
	padding-right:0;
	font-size:85%;
	font-weight:bold;
	color:#606060;
	cursor:pointer;
}
.add_new_button:hover {
	border:1px solid #8F8F8F;
}

.save_button, .cancel_button {
	margin: 5px;
	background-repeat:no-repeat;
	height:26px;
	padding-left:26px;
	font-weight:bold;
	color:#606060;
}

.save_button { background:url('img/3floppy.png') 4px 4px no-repeat; }
.cancel_button { background:url(img/cancel_icon_16.gif) 4px no-repeat; }

.save_button:hover, .cancel_button:hover {
	border:1px solid #8F8F8F;
	cursor:pointer;
}


.url_image { padding: 2px;  }
.url_image:hover { background-color: #ffb062; }

.Bold
{
        font-weight: bold;
}

.Title {
	font-weight:bold;
	font-size:150%;
	color: #cc3300;
}

.Code
{
        border: #8b4513 1px solid;
        padding-right: 5px;
        padding-left: 5px;
        color: #000066;
        font-family: 'Courier New' , Monospace;
        background-color: #ff9933;
}

.gray-txt {
	color:gray;
}

/* Gallery */
.gallery {
   clear: both;
   margin: 5px;
   background-color: #F5F5F5;
   border: 1px dotted #CCCCCC;
}
.gallery #gal_title {
   font-weight: bold;
   padding: 5px 10px;
   margin-bottom: 10px;
   font-size: 14px;
   color: gray;
   background-color: #FAFAFA;
   border-bottom: 1px dotted #CCCCCC;
   height: 1%; /* for IE6 */
}
.gallery #emptylabel {
   font-size: 16px;
   font-weight: bold;
   color: gray;
   text-align: center;
   padding: 20px 0;
   margin-bottom: 10px;
}
.gallery .img {
   float: left;
   background-color: white;
   margin: 10px;
   padding: 10px;
   border: 1px solid #F0F0F0;
}
.gallery .img:hover {
   border: 1px solid #BBB;
}
.gallery .img div {
   text-align: center;
}
.gallery .defimg {
   border: 1px solid #E0E0E0;
   background-color: #FFFFE0;
}
.gallery .img .img_links {
   padding-top: 10px;
   cursor: default;
}
.gallery .img .img_links img {
   vertical-align: middle;
}
.gallery .img span {
   display: block;
   margin-top: 10px;
   font-size: 10px;
   height: 12px;
   color: gray;
   overflow: hidden;
}
.gallery_buttons {
   margin: 0;
   padding: 10px 5px;
   font-size:85%;
}
.gallery .gallery_buttons {
   border-top: 1px dotted #C0C0C0;
   background-color: #FAFAFA;
}
.gallery .link_button, .gallery_fieldset .link_button {
   background-color: white;
}
.gallery_fieldset, .gallery_fieldset legend {
   margin: 0; padding: 0;
}
.gallery_fieldset {
   background-color: #FAFAFA;
   border: 1px dotted #C0C0C0;
   margin-top: 10px;
}
.gallery_fieldset legend {
   margin-left: 10px;
   padding: 2px;
   font-weight: bold;
}
.gallery_fieldset .list_table {
   border: 0;
   margin: 0;
   border-bottom: 1px dotted #C0C0C0;
}
.gallery_fieldset .list_table td {
   border: 0;
   padding: 5px;
}
.gallery .gallery_item {
   float: left;
   width: 120px;
   height: 143px;
   margin: 10px;
   padding: 10px;
   border: 1px solid #efe2bc;
   background-color: #FFFFE0;
   text-align: center;
   overflow:hidden;
}
.gallery .gallery_item:hover {
   cursor: pointer;
   background-color: #FFFFC0;  
   border: 1px solid #efd077;
}
.gallery .gallery_item .gallery_title {
   margin-top: 10px;
   text-align: center;
   font-size: 11px;
   overflow: hidden;
}
.gallery .gallery_item .gallery_icon {
   width: 120px; height: 90px;
   margin: 0 auto;
   overflow: hidden;
}
.gallery_add_form th {
   width: 20%;
}
#gallery_tags div {
   float: left;
   width: 68%;
   height: 200px;
}
#gallery_tags div textarea {
   width: 100%;
   height: 98%;
   /*font-family: courier new, courier, tahoma, arial, verdana;*/
}
#gallery_tags ul {
   float: right;
   width: 30%;
   height: 200px;
   margin: 0;
   padding: 0;
   overflow: scroll;
   background-color: white;
   border: 1px solid #F0F0F0;
}
#gallery_tags ul li {
   list-style: none;
   padding: 2px 5px;
   border-bottom: 1px dotted #F0F0F0;
}
#gallery_tags ul li:hover {
   cursor: pointer;
   background-color: #ECF7FF;
}

#addimg {
   background-image: url('img/picture_add.gif');
   background-repeat: no-repeat;
   background-position: 5px;
   padding: 5px 5px 5px 25px;
}
#addimg_mult, #addimg_mult1 {
   background-image: url('img/picture_add_multi.gif');
   background-repeat: no-repeat;
   background-position: 5px;
   padding: 5px 5px 5px 25px;
}
#addgal {
   background-image: url('img/folder_add.gif');
   background-repeat: no-repeat;
   background-position: 5px;
   padding: 5px 5px 5px 25px;
}
#viewgal {
   background-image: url('img/folder_image.gif');
   background-repeat: no-repeat;
   background-position: 5px;
   padding: 5px 5px 5px 25px;
}
#dragdrop_on {
   background-image: url('img/arrow_move.gif');
   background-repeat: no-repeat;
   background-position: 5px;
   padding: 5px 5px 5px 25px;
}
#dragdrop_off {
   background-image: url('img/arrow_move_off.gif');
   background-repeat: no-repeat;
   background-position: 5px;
   padding: 5px 5px 5px 25px;
}
.img_thumb {}
/* Gallery eof */

/* ------------------------- */
/* SWF object related styles */
/* ------------------------- */
.progressWrapper {
	width: 370px;
	overflow: hidden;
}

.progressContainer {
	margin: 2px;
	padding: 4px;
	border: solid 1px #E8E8E8;
	background-color: #F7F7F7;
	overflow: hidden;
}
/* Message */
.message {
	margin: 1em 0;
	padding: 10px 20px;
	border: solid 1px #FFDD99;
	background-color: #FFFFCC;
	overflow: hidden;
}
/* Error */
.red {
	border: solid 1px #FFDAB9;
	background-color: #FFE9E5;
}

/* Current */
.green {
	border: solid 1px #DDF0DD;
	background-color: #EBFFEB;
}

/* Complete */
.blue {
	border: solid 1px #CEE2F2;
	background-color: #F0F5FF;
}

.progressName {
	font-size: 8pt;
	font-weight: 700;
	color: #555;
	width: 323px;
	height: 14px;
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
}

.progressBarInProgress, .progressBarComplete, .progressBarError {
	font-size: 0;
	width: 0%;
	height: 2px;
	background-color: blue;
	margin-top: 2px;
}

.progressBarComplete {
	width: 100%;
	background-color: green;
	visibility: hidden;
}

.progressBarError {
	width: 100%;
	background-color: #FFE9E5;
	visibility: hidden;
}

.progressBarStatus {
	margin-top: 2px;
	width: 337px;
	font-size: 7pt;
	font-family: Arial;
	text-align: left;
	white-space: nowrap;
}

a.progressCancel {
	font-size: 0;
	display: block;
	height: 14px;
	width: 14px;
	background-image: url('img/delete_icon.gif');
	background-repeat: no-repeat;
	/*background-position: -14px 0px;*/
	float: right;
}

a.progressCancel:hover {
	background-position: 0px 0px;
}
/* SWF object related styles end */

