/*****************************************
  Lauri Borodkin | Fraktal.ee
*****************************************/

html, body { margin: 0; padding: 0;}
body {
  font: 13px/22px Arial, Verdana, sans-serif;
  color: #333;
  text-align: center;
  background: white url('../images/2body.gif') repeat-x top left;
}
a { text-decoration: underline; color: #1e5070; }
a:hover { text-decoration: none; }
.clearfix:after, .two-col:after { content: "."; display: block;height: 0;clear: both;font-size: 1px;line-height: 1px;visibility: hidden;}
.clearfix, .two-col { zoom:1; min-height: 10px;}
* html .clearfix, * html .two-col { height: 10px; }

img { border: none;}
form { margin: 0; padding: 0; }
h1, h2, h3 {
  margin: 0;padding: 0px 0 10px; color: #1e5070;
  font: bold 25px/25px Arial, Verdana, sans-serif;
}
h1 a { text-decoration: none;}
  h1 a:hover { text-decoration: underline; }
h2 { font-size: 19px; line-height: 21px; font-weight: normal; padding: 15px 0; }
h3 { font-size: 14px; line-height: 16px; font-weight: bold; }
p { margin: 0; padding: 5px 0 5px 0; }
ul, ol { margin: 0; padding: 6px 0 6px 30px; }
ul { list-style-type: disc; }
ul li, ol li { margin: 0; padding: 3px 0 3px 0px; }

.float-right {float: right;}
.float-left {float: left;}

.bg-lightblue { background: #f3f7fa;}
.bg-blue { background: #e9f6ff;}
.bg-darkblue { background: #d6edfc;}

.pad-15 { padding: 15px; }
.pad-10-15 { padding: 10px 15px;}
/* wrap */
  #wrap { width: 960px; margin: 0 auto; text-align: left; padding-bottom: 10px;}
  
/* header */
  #header { height: 75px; }
    #header-right { float: right; padding-top: 15px;}
      #serts { float: left; }
      #langmenu { float: left; margin: 0; padding: 13px 15px 0 0px; list-style-type: none;}
        #langmenu li { display: inline; padding-right: 5px; white-space: nowrap;}
          #langmenu a { color: white; text-decoration: underline}
          #langmenu a:hover { text-decoration: none; }
          
          #langmenu a.active { color: #99bfda; text-decoration: none;}
      #search { float: left; padding-right: 20px; }
        #search_form { float: left; width: 260px; position: relative;min-height: 1px; }
        * html #search_form { height: 1px; }
          #search_div  { z-index: 10; height: 25px; position: absolute; width: 256px; top: 10px; left; 0; border: 1px solid #133449;padding: 1px; background: #1b4865 url('../images/2search.gif') repeat-x top left;}
            #search .textbox { width: 194px; float: left; font: 13px/13px Arial, Verdana, sans-serif; color: white; border: none; padding:0; margin: 5px 2px 0 5px; background: none; outline: 0; }
            #search .submit { font-size: 12px; line-height: 12px; float: left; border: 1px solid #02395c; background: #1c4965 url('../images/2search_submit.gif') repeat-x top left;  color: white; height: 25px; width: 55px; padding: 0;}
    #logo { width: 230px; padding-top: 25px;}
      #logo a { outline: 0; text-indent: -9999px; display: block; width: 230px; height: 34px; background: url('../images/2logo.gif') no-repeat; }
      
/* mainmenu */
  #mainmenu { padding: 15px 0; margin: 0; list-style-type: none;}
    #mainmenu li { padding: 0; margin: 0; float: left;}
      #mainmenu a { display: block; float: left; height: 26px; padding: 12px 15px 0; font-size: 14px; white-space: nowrap; color: #404040; line-height: 14px; text-decoration: none;}
      #mainmenu a:hover { text-decoration: underline;}
      #mainmenu .active a { background: #e9f6ff; font-weight: bold; color: #225474;}
      
/* front-container */
  #front-container {}
    #front-container-left { float: left; width: 440px; min-height: 10px; margin-right: 18px;}
    #front-container-center { float: left; width: 255px; margin-right: 18px;}
    #front-container-right { float: left; width: 199px; height: 205px; background: #e9f6ff; padding: 15px 15px 0; }
    * html #front-container-right { margin-right: -3px; }
      #front-container-right h1 { font-size: 17px; line-height: 17px; font-weight: bold; margin:0; padding:0; color: #154d70; }
  
/* fader */
  .fader { position: relative;}
    .fader .obj { display: block; position: relative; width: 438px; height: 218px; border: 1px solid #dfdfdf; overflow: hidden;}
    .fader .obj img { display: block;}
    .fader .obj div { width: 410px; position: absolute; left:0; bottom: 0; background: #e9f6ff; background: url('../images/over.png'); font-size: 9px; line-height: 12px; color: #1d4f6e; padding: 10px 14px;  font-weight: bold; }
    * html .fader .obj div {  background: rgb(233,246,255); }
      .fader .obj div h1 { padding: 0; margin: 0; font-weight: bold; font-size: 21px; line-height: 21px;}
  
  .preview .fader { height: 220px; width: 440px; overflow: hidden; }
  .preview .fader .obj { display: none; position: absolute; top: 0; left: 0; }
  
/* three-row */
  #three-row {
    height: 220px
  }
    #three-row .row-1, #three-row .row-2, #three-row .row-3 { font-size: 9px; line-height: 12px; color: white; padding: 20px 15px 0; font-weight: bold;}
      #three-row h1 { padding: 0; margin: 0; font-weight: bold; font-size: 21px; line-height: 21px; color: white;}
      #three-row h2 { padding: 0; margin: 0; font-weight: bold; font-size: 16px; line-height: 16px; color: white;}
      #three-row a { color: white; text-decoration: none;  }
      #three-row a:hover { text-decoration: underline;  }
    #three-row .row-1 { height: 51px; border: 1px solid #02395c; background: #174968 url('../images/row1.gif') repeat-x top left; }
    #three-row .row-2 { height: 51px; border: 1px solid #e2921a; background: #e1992d url('../images/row2.gif') repeat-x top left; }
    #three-row .row-3 { height: 52px; border: 1px solid #7eb301; background: #88b717 url('../images/row3.gif') repeat-x top left; }
    
/* news-table */
  .news-table { width: 100%; border-collapse: collapse; margin-top: 5px;}
    .news-table td {padding: 0; vertical-align: top; font-size: 13px; line-height: 20px; }
    .news-table td.first { font-size: 10px; color: #196696; width: 36px; padding-left: 0; padding-right: 0;}
    .news-table tbody td {padding-bottom: 8px;} 
    .news-table tbody a { color: #2c2c2c; text-decoration: none; }
    .news-table tbody a:hover { text-decoration: underline;}

/* container */
  .container { border-top: 1px solid #e6e6e6; padding: 15px 0;}
    .container-left { float: left; min-height: 10px; width: 150px; padding-right: 20px; }

    #rkas_sales_objects_view, #rkas_sales_object_view, #rkas_sales { float: left; width: 790px;}
    * html #rkas_sales_objects_view, * html #rkas_sales_object_view { margin-right: -3px; }

    .container-center { float: left; margin-right: 20px; width: 540px; min-height: 10px;}
    .container-right { float: left; width:230px; }
    * html .container-right { margin-right: -3px; }
    
      .container-right h1 { font-size: 17px; line-height: 17px; font-weight: bold; margin:0; padding:0 0 5px; color: #154d70; }
      .container-right h2 { padding-top: 0; font-size: 17px; line-height: 17px; color: #154d70; padding-bottom: 5px; }
      .container-right ul { padding-left: 15px; }
    #rkas_sales_object_images_content a { display: block;  margin: 0px 0px 10px 10px; float: left;}
      #rkas_sales_object_images_content img { display: block; height: 85px; width: 85px;}

/* back-link */
  .back-link { padding-bottom: 20px;}

/* submenu */
  #submenu { margin: 0; padding: 0; list-style-type: none; }
    #submenu div { background: #e9f6ff; padding: 8px 10px; font-weight: bold; }
      #submenu li { border-top: 1px solid #e6e6e6; line-height: 14px; font-size: 12px; padding: 8px 10px; }
      #submenu li:first-child { border-top: none; }
      #submenu li.active { padding: 0; }
        #submenu ul { margin: 0; padding: 0; list-style-type: none; }
          #submenu ul li { background: url('../images/2spot.gif') no-repeat 17px 12px; padding-left: 25px;}
          #submenu ul li:first-child { border-top: none;}
        
        #submenu a { color: #333333; text-decoration: none;}
        #submenu a.active { font-weight: bold; }
        #submenu a:hover { text-decoration: underline;}

/* news-box */
  .news-box { border-top: 1px solid #e6e6e6; padding: 25px 0;}
  .news-box-first { border-top: none; padding-top: 0; }
    .news-box h1 { padding-bottom: 0px;}
      .news-info { font-size: 11px; color: #808080; padding-bottom: 10px;}
      .news-box .read-more { white-space: nowrap;}
      
/* two-col */
  .two-col { border-top: 1px solid #e6e6e6; padding: 10px 0; }
    .two-col .col-left { float: left; width: 75px; padding-right: 12px; min-height: 10px; }
    .two-col .col-right { }
    * html .two-col .col-right { margin-right: -3px; }
      .two-col h2 {padding: 0 0 8px;}
      
      .two-col a { text-decoration: none;}
        .two-col a:hover { text-decoration: underline;}
/* border-table */
  .border-table { width: 100%; border-collapse: collapse; border-top: 5px solid #e9f6ff;}
    .border-table td, .border-table th { vertical-align: top; border-bottom: 1px solid #e6e6e6; border-left: 1px solid #e6e6e6; padding: 4px 10px;}
    .border-table td.last, .border-table th.last { border-right: 1px solid #e6e6e6; }
    .border-table td.nowrap, .border-table th.nowrap { white-space: nowrap; }
    .border-table td.first { font-weight: bold; border-left: none; padding-left: 0; width: 30%;}
    .border-table td.twocol { padding-left: 0; border-left: none; font-weight: normal; }
    .border-table td.number, .border-table th.number { text-align: right; }
/* footer */
  #footer { border-top: 1px solid #f0f0f0; margin-top: 18px; padding-top: 8px; }
    #footer-left { float: left; width: 715px; padding-top: 5px;}
    #footer-center { float: right; width: 190px; text-align: right;}
    #footer-right { float: right; width: 35px; text-align: right; padding-top: 10px;}

/* gallery-item */
  .galleryitem { float: left; margin: 10px; }
/* table-sorted */
table.sorted {
	font-family:arial;
	background-color: #CDCDCD;
	margin:10px 0pt 15px;
	font-size: 8pt;
	width: 100%;
	text-align: left;
border-collapse: collapse;
}
table.sorted thead tr th, table.sorted tfoot tr th {
	background-color: #CBCAB6;
	font-size: 8pt;
	padding: 4px;
color: white;
}
table.sorted thead tr .header {
	background-image: url(/images/tbg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.sorted tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
}
table.sorted tbody tr.odd td {
	background-color:#F0F0F6;
}
table.sortedr thead tr .headerSortUp {
	background-image: url(/images/asc.gif);
}
table.sorted thead tr .headerSortDown {
	background-image: url(/images/desc.gif);
}
table.sorted th, table.sorted td {
border: none;
}

.print-button { float: right; padding: 0 0 10px 10px; }

/* search-result */
  #searchcontainer { width: 256px; z-index: 5; position: absolute; top: 37px; left: 0px; color: #9aafbd; font-size: 11px; line-height: 13px; margin-top: 1px; border: 1px solid #133449;padding: 1px; background: #1b4865; border-top: none; }
  #searchcontainer a.gs-title { font-weight: bold; color: white; text-decoration: none; }
  #searchcontainer a.gs-title:hover { font-weight: bold; color: white; text-decoration: underline;  }
  #searchcontainer div.gs-title { padding-bottom: 2px; }
  .gs-visibleUrl, .gs-watermark, .gsc-resultsHeader { display: none; } 
  .gsc-cursor-page { display: inline; padding: 0 4px; cursor: pointer; } 
  .gsc-cursor-current-page { font-weight: bold; color: white;}
  .gsc-results { padding: 13px 5px 5px; }
  .gsc-cursor-box { padding-top: 3px; text-align: center; }
  .gs-webResult { padding: 8px 0; } 
  #searchcontainer-close { text-align: right; padding: 5px 5px 0;  float: right; }
  #searchcontainer-close a { color: white; text-decoration: none; }
  #searchcontainer-close a:hover { text-decoration: underline; } 
  #searchcontainer-noresults { padding: 5px 5px 5px; }

/**
 * Sales objects related
 */
#rkas_sales_objects_view, #rkas_sales_object_view {
  display: none;
}

#rkas_salesobjects_list {
  margin-top: 10px;
}

.rkas_salesobject_img {
  float: left;
}

div.rkas_salesobjects_emptylist {
  margin-top: 40px;
  text-align: center;
}

p.rkas_salesobject_listinfo {
  margin: 0;
  padding: 0;
}

span.rkas_salesobject_listprice {
  font-weight: bold;
  white-space: nowrap;
}

.rkas_sales_object_map_content {
  height: 300px;
  width: 200px;
}

span.rkas_salesobject_listprice, .rkas_salesobject_shout, .rkas_salesobject_deadline {
  color: #e46d2c;
}

.rkas_salesobject_photoplacer {
  background: url('../images/salesobject-no-photo.jpg') no-repeat;
  width: 75px;
  height: 75px;
}

#rkas_sales_search p { margin: 0; padding: 0;}
#rkas_sales_search select { width: 200px; font: 13px/15px Arial, Verdana, sans-serif; color: #333;}
#rkas_sales_search .textbox { font: 13px/15px Arial, Verdana, sans-serif; color: #333; background:  white url('http://www.rkas.ee/images/textbox1.gif') repeat-x top left; border:1px solid #aaa; padding: 3px 5px; width: 80px;}
#rkas_sales_search .submit {  
  -moz-border-radius:3px 3px 3px 3px; -webkit-border-radius:3px 3px 3px 3px; border-radius:3px 3px 3px 3px;
  -moz-box-shadow:0 1px 2px #999999; -webkit-box-shadow:0 1px 2px #999999; box-shadow:0 1px 2px #999999;
  background:url("http://www.rkas.ee/images/2search_submit.gif") repeat-x scroll left top black;
  border:1px solid #02395C;
  color:white;
  font-weight:normal;
  height:24px;
  margin-top: 10px;
  display: inline-block;
  text-decoration: none;
}

.rkas_sales_lowprio {
  color: #aaa;
}

table.rkas_sales_details {
  border-collapse: collapse;
  width: 100%;
}

table.rkas_sales_details td {
  vertical-align: top;
  width: 50%;
}

table.rkas_sales_details td ul {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}

table.rkas_sales_details td ul li {
  margin: 0px;
  padding: 0px;
}

.ajax-loader { background:  white url('http://www.rkas.ee/images/ajax-loader.gif') no-repeat center center; height: 200px;}

/* main-loader */
  #main-loader { float: left; width: 790px;}
  * html #main-loader { margin-right: -3px; }
  
/* tabs */
.tabs {
  background: white url('http://www.rkas.ee/images/gray.gif') repeat-x bottom left;
  height: 29px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.tabs li {
  float: left;
  margin: 0;
  padding: 0 6px 0 0;
} 

.tabs li a { 
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border: 1px solid #d9d9d9;
  float: left;
  font-size: 12px;
  height: 20px;
  line-height: 12px;
  outline: 0;
  padding: 7px 10px 0;
  text-decoration: none;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
}

.tabs li a:hover { background: #e9f6ff; }
.tabs li a.active {
  background: white;
  border-bottom: none;
  font-weight: bold;
  height: 21px;
}

.tab-content { display: none; }
  
.tabs-resetsearch {
  background-color: #e9f6ff;
  display: none;
  padding: 5px 0;
  text-align: center;
}
  
.rkas_sales_button, .tabs li a.rkas_sales_button {
	background: white;
	border-radius: 5px;
	border: 1px solid #98c3e6;
	color: #506e87;
	display: inline-block;
	font-size: 9px;
	height: auto;
	line-height: 1;
	padding: 3px 4px;
	text-decoration: none;
	text-transform: uppercase;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.rkas_sales_button:hover {
	background: #e3f3ff !important;
}
li.rss_button {
	float: right;
	padding: 0;
}
	li.rss_button a {
		margin-top: 3px;
	}
a#print_button {
	float: right;
}

/* info box */
/* info-box */
.info-box-holder { padding-top: 10px; }
.info-box-holder .info-box {width: 932px;margin: 0 auto;}
.info-box { 
  border-radius: 3px;
  box-shadow: 0px 1px 1px rgba(0,0,0,.5);
  border-radius: 2px;
  box-shadow: 0 1px 2px #6e6e6e;
  font-size: 14px;
  line-height: 20px;
  padding: 14px 14px;
  position: relative;
  -moz-border-radius: 3px;
  -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.5);
  -webkit-background-clip: padding-box;
  -webkit-border-radius: 3px;
  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.5);
	border-width: 1px;
	border-style: solid;
	color: white;
}

.notice-box {
	background: #b5d857;
	border-color: #86aa49;
	color: #405123;
}
.alert-box {
  background: #ca0000;
	border-color: #920000;
}
.success-box {
  background: #b5d857;
	border-color: #86aa49;
	color: #405123;
}



/* co2 procurements/objects view */
.co2-view-table {
  border-collapse: collapse;
  width: 100%;
}
  .co2-view-table td {
    border-top: 1px solid #e6e6e6;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .co2-view-table .key {
    width: 110px;
    padding-left: 3px;
  }
  .co2-view-table .value {
    font-weight: bold;
  }
  .co2-view-table td.number {
    text-align: right;
  }
  
/* portfolios estates/portfolios view */
.portfolios-table {
  border-collapse: collapse;
  width: 100%;
}
  .portfolios-table td {
    border-top: 1px solid #e6e6e6;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .portfolios-table th.num, .portfolios-table td.num {
    text-align: right;
  }
  
  .portfolios-table th {
    vertical-align: top; padding-right: 2px;
  }
  
/* estates units/managers */
.manager-table {
  border-collapse: collapse;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  width: 100%;
}
  .manager-table img {
    margin-right: 20px;
  }
  .manager-table a.portfolio-link {
    text-decoration: none;
  }

.right
{
  text-align: right;
} 

.of_hidden
{
  height: 22px;
  overflow: hidden;  
}

.portfolio-link {
  display: inline-block;
  background: #f5f5f5 url('../images/portfolio.gif?1') no-repeat 8px 6px;
  padding: 4px 11px 4px 33px;
}

/* estates statistics view */

.portfolios-graph {}
  dl.main {
    width: 283px;
    margin-left: 248px !important;
    margin-bottom: 20px !important;
  }
    dl.main:after {
      top: auto !important;
      bottom: -21px;
    }
    .portfolios-graph .separator {
      width: 603px;
      height: 1px;
      background: #d9d9d9;
      margin: 0 0 20px 93px;
    }
  dl.sub {
    width: 185px;
    float: left;
    margin-right: 14px !important;
  }
  .portfolios-graph dl.sub-last {
    margin-right: 0 !important;
  }
    dl.sub:before, dl.main:after {
      content: '';
      display: block;
      width: 1px;
      height: 21px;
      background: #d9d9d9;
      position: absolute;
      top: -21px;
      left: 50%;
      margin-left: -1px;
    }
  .portfolios-graph dl {
    position: relative;
    border: 1px solid #d9d9d9;
    margin: 0;
  }
    .portfolios-graph dt {
      background: #e9f6ff;
      font-size: 14px;
      font-weight: bold;
    }
      .portfolios-graph dt a {
        display: block;
        padding: 12px 0 12px 42px;
        background: url('../images/portfolio-big.gif?1') no-repeat 10px 11px;
        text-decoration: none;
      }
    .portfolios-graph dd {
      border-top: 1px solid #d9d9d9;
      margin: 0;
      padding: 7px 14px 15px;
    }
    
    .portfolios-graph dd a {
      text-decoration: none;
    }
    
table.procurement-table {
  border-collapse: collapse;
  width: 100%;
}
  .procurement-table thead th {
    border: 1px solid #e0e0e0;
    padding: 10px 22px 10px 10px;
  }
    .procurement-table thead th.header {
      cursor: pointer;
      background-repeat: no-repeat;
      background-position: right center;
    }
    .procurement-table thead th.header:hover {
      background-color: #f3faff;
    }
    .headerSortDown {
      background-image: url('../images/sortDown.gif?1');
      background-color: #f3faff;
    }
    .headerSortUp {
      background-image: url('../images/sortUp.gif?1');
      background-color: #f3faff;
    }
    .procurement-table thead th.nohover {
      text-align: center;
    }
    .procurement-table thead th.nohover:hover {
      background-color: white;
    }
  .procurement-table td {
    border: 1px solid #e0e0e0;
    padding: 10px;
  }
  
  img.unit-image {
    padding: 0px 0px 10px 10px;
    float: right;
  }

  img.co2-unit-image-left {
    padding: 0px 5px 0px 0px;
  }
  img.co2-unit-image-right {
    padding: 0px 0px 0px 5px;
  }
  tr.co2-image-label {
	color: gray;
  }

  tr.co2-image-label td {
	border-top: 0px;
	padding-top: 0px;
  }

#rkas_sales_search {
  background: #E9F6FF;
  margin: 0 0 10px;
}
  #rkas_sales_search p {
    float: left;
    width: 200px;
    margin-right: 15px;
    padding: 10px;
    border-right: 1px solid #e9e9e9;
  }
  #rkas_sales_search p:last-child {
    border-right: none;
  }
  
/* procurement object statuses */
.proc-status-valmis {
  color: #3b7700;
}
.proc-status-ei-teostata {
  color: #3b7700;
}
.proc-status-toos {
  color: #52a600;
}
.proc-status-hankes {
  color: #62c600;
}
.proc-status-hankedokumendi-koostamine {
  color: #ffb41e;
}
.proc-status-ootel {
  color: #b60000;
}

 .pagination {
    padding: 20px;
    text-transform: uppercase;
    font-size: 12px;
    text-align: center;
  }
    .pagination span {
      display: inline-block;
      padding: 3px 6px;
      border: 1px solid #eee;
    }
    .pagination a {
      display: inline-block;
      text-decoration: none;
      border: 1px solid #D9E8F1;
      padding: 3px 6px;
    }
      .pagination a:hover {
        background: #eef6fa;
      }
      a#print_button img {display:block;}
      
      
#procurement-regform {
  
}
  #procurement-regform label {
    display: block;
  }
  .dialogtable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
  }
  .dialogtable th {
    text-align: left;
  }
  .dialogtable td {
    border-top: 1px solid black;
    text-align: left;
  }
  
.regbtn {
  -moz-border-radius:3px 3px 3px 3px; -webkit-border-radius:3px 3px 3px 3px; border-radius:3px 3px 3px 3px;
  -moz-box-shadow:0 1px 2px #999999; -webkit-box-shadow:0 1px 2px #999999; box-shadow:0 1px 2px #999999;
  background:url("http://www.rkas.ee/images/2search_submit.gif") repeat-x scroll left top black;
  border:1px solid #02395C;
  color:white;
  font-weight:normal;
  height:22px;
  margin-top: 10px;
  display: inline-block;
  text-decoration: none;
  padding: 0 10px;
}

table.jqplot-table-legend {
  width: 160px;
}

table.jqplot-table-legend td:first-child {width: 16px;}