#loading_message {
  position: absolute;
  color: #A6A6A6;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: bold;
  line-height: 50px;
  top: 50%;
  left: 50%;
  margin: -60px 0 0 -50px;
  text-shadow: black 1px 2px;
}
#line {
  width: 100%;
  position: absolute;
  top: 50%;
  background-color: #ADADAD;
  height: 1px;
}
body {
  max-width: 43em;
}

.ui-dialog .ui-dialog-content {
  padding: 40px !important;
  color: #3b4452 !important;
  font-family: arial;
  line-height: 1.4 !important;
  font-size: 15px;
}

.ui-dialog .ui-dialog-content li {
  padding: 40px !important;
  color: #3b4452 !important;
  font-family: arial;
  line-height: 1.4 !important;
  font-size: 15px;
}

.ui-dialog .ui-dialog-content p {
  padding: 40px !important;
  color: #3b4452 !important;
  font-family: arial;
  line-height: 1.4 !important;
  font-size: 15px;
}

#container {
  background-color: #FFFFFF;
  position: fixed;
  height: 100%;
  width: 100%;
  max-height: 100%;
  max-width: 100%;
}
#background {
  background-color: black;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* FF selection fix */

a:active {
  outline: none;
}
a {
  outline: none;
}
:focus {
  -moz-outline-style: none;
}

/* COINGIS LOGIN */

#login_screen_background {
  position: fixed;
  _position: absolute;
  /* hack for internet explorer 6*/
  height: 100%;
  width: 100%;
  top: 0px;
  left: 0px;
  background: #000000;
  border: 1px solid #cecece;
  z-index: 3;
}
#login_screen_opened {
  position: fixed;
  _position: absolute;
  /* hack for internet explorer 6*/
  height: 320px;
  width: 640px;
  background: #1F1F1F;
  border: 1px solid #000000;
  z-index: 4;
  padding: 12px;
  font-size: 12px;
  text-align: center;
  color: #FFFFFF;
}
#button {
  text-align: center;
  margin: 100px;
}

/* COINGIS MAIN LAYOUT */

#left_menu {
  border-top: 1px solid #E7E7EE;
  width: 122px;
  position: absolute;
  top: 50px;
  background: #F3F5FF;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
  z-index: 3;
}
.leftMenuBtn {
  display: block;
  font-size: 13px;
  width: 122px;
  height: 50px;
  line-height: 50px;
  margin: 0;
  cursor: pointer;
  box-sizing: border-box;
  border-bottom: 1px solid #E7E7EE;
}
.leftMenuBtn a {
  padding-left: 15px;
  display: block;
  width: 122px;
  height: 50px;
  margin: 0;
  box-sizing: border-box;
}
.leftMenuBtn a:hover {
  background-color: #E8ECFF;
  opacity: 0.85;
}

/* bottom and right menu */

#bottom_menu {
  height: 50px;
  background: #F3F5FF;
  background-repeat: repeat-x;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
}
#bottom_hack {
  display: none;
  width: 100%;
  height: 21px;
  background-image: url(images/bottom_hack_repeater.png);
  background-repeat: repeat-x;
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: 3;
}
#right_menu {
  width: 300px;
  /* height: 100%; */
  background: #F3F5FF;
  background-repeat: repeat-y;
  position: absolute;
  bottom: 0;
  right: 0;
  top: 0;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.75);
  z-index: 50;
}
#user_panel {
  height: 40px;
  width: 300px;
  position: relative;
  background-color: #0f0f0f;
  right: 0px;
  top: 0;
  color: #9c9c9c;
  font-family: arial, sans-serif;
  font-size: 13px;
  z-index: 200;
}
#user_login a {
  width: 150px;
  height: 40px;
  background-color: none;
  float: left;
  text-align: center;
  line-height: 40px;
  box-sizing: border-box;
}
#user_login a:hover {
  color: #c16767;
  background-color: #272727;
}
#user_info a {
  width: 150px;
  height: 40px;
  background-color: none;
  float: left;
  text-align: center;
  line-height: 40px;
  box-sizing: border-box;
  border-right: 1px solid #2C2C41;
}
#right_menu_search {
  background-image: url(images/search3.png);
  width: 247px;
  height: 63px;
  position: fixed;
  top: 0px;
  right: 0px;
}
#right_menu_content_slojevi {
  color: white;
  font-family: arial, sans-serif;
  font-size: 11px;
  position: absolute;
  width: 300px;
  bottom: 100px;
  /* right: 5px; */
  top: 120px;
  z-index: 0;
  overflow: auto;
}
#right_menu_content_edit {
  display: none;
  background-color: transparent;
  border: 0px;
  color: white;
  font-family: arial, sans-serif;
  font-size: 11px;
  position: absolute;
  padding: 0px;
  width: 247px;
  bottom: 100px;
  top: 175px;
  z-index: 0;
  overflow: auto;
}
#project {
  width: 224px;
  height: 50px;
  margin: 5px auto;
}
#toolbar_container {
  margin-left: 2px;
  background-color: #303030;
  width: 245px;
  height: 87px;
}
#edit_toolbar_container {
  margin-left: 2px;
  background-color: #303030;
  width: 245px;
  height: 44px;
}
.titlebar {
  background-image: url(images/tools_titlebar.png);
  width: 247px;
  height: 23px;
  line-height: 23px;
  text-indent: 26px;
  color: #7E7E7E;
  font-weight: bold;
  text-shadow: black 1px 2px;
}
#edit_info_linearea {
  margin-left: 2px;
  background-color: #303030;
  width: 245px;
  height: 44px;
  border-bottom: 1px solid #000000;
  color: #B2B2B2;
  line-height: 44px;
  text-indent: 26px;
}
#main_tools_container {
  margin-left: 2px;
  background-color: #303030;
  width: 245px;
  height: 44px;
}
#right_menu_layers_container {
  width: 300px;
  height: 80px;
  position: absolute;
  bottom: 0px;
  right: 0px;
}

/* MAIN LAYERS */


/*_______________________________________________________________________________________*/

#main_layers {
  color: white;
  font-family: arial, sans-serif;
  font-size: 11px;
  /* position: relative; */
  text-align: center;
  width: auto;
  height: 80px;
  right: 0px;
  bottom: 20px;
  cursor: pointer;
  margin: 0 auto;
}

/*external service button*/

#main_layers div {
  display: inline-block;
  width: 70px;
  height: 70px;
  text-indent: -9999px;
}

/*
#osm_button {
    display: block;
    background-image: url(images/osm_button.png);
    position: absolute;
    width: 70px;
    height: 70px;
    right: 160px;

}

#osm_button a {
    display: block;
    background-image: url(images/osm_button.png);
    width: 70px;
    height: 70px;
    right: 160px;
    text-indent:-9999px;
}

#osm_button a:hover {
    background-position: 0 -70px;
    opacity: 0.75;
}




#gm_streets_button {
    display: block;
    background-image: url(images/gm_streets_button.png);
    position: absolute;
    width: 70px;
    height: 70px;
    right: 90px;

}

#gm_streets_button a {
    display: block;
    background-image: url(images/gm_streets_button.png);
    width: 70px;
    height: 70px;
    right: 90px;
    text-indent:-9999px;
}

#gm_streets_button a:hover {
    background-position: 0 -70px;
    opacity: 0.75;
}

#gm_satellite_button {
    display: block;
    background-image: url(images/gm_satellite_button.png);
    position: absolute;
    width: 70px;
    height: 70px;
    right: 20px;

}

#gm_satellite_button a {
    display: block;
    background-image: url(images/gm_satellite_button.png);
    width: 70px;
    height: 70px;
    right: 20px;
    text-indent:-9999px;
}

#gm_satellite_button a:hover {
    background-position: 0 -70px;
    opacity: 0.75;
}

*/


/*________________________________________________________________________________________*/

#navigation {
  width: 500px;
  height: 50px;
  position: absolute;
  bottom: 0px;
  left: auto;
  right: auto;
}
.buttonCOIN {
  box-shadow: 0 0 10px black;
  float: left;
  display: block;
  width: 60px;
  height: 50px;
  background: url(images/coin_logo_button.png) no-repeat 0 -50px;
  background-size: 100%;
  margin: 0;
  cursor: pointer;
  background-color: #0f0f0f;
}
.buttonCOIN a {
  display: block;
  width: 60px;
  height: 100%;
  background: url(images/coin_logo_button.png) no-repeat 0 0px;
  background-size: 100%;
  position: absolute;
  left: 0px;
  text-indent: -9999px;
  margin: 0;
  background-color: #0f0f0f;
}
.buttonCOIN a:hover {
  background-position: 0 -50px;
}
#pan_button {
  float: left;
  display: block;
  width: 75px;
  height: 50px;
  background-image: url(images/button_pan_new.png);
  background-size: 100%;
  cursor: pointer;
  opacity: 1;
}
#pan_button span {
  position: absolute;
  top: -999em;
}
#zoom_button {
  float: left;
  display: block;
  width: 75px;
  height: 50px;
  background-image: url(images/button_zoom_new.png);
  background-size: 100%;
  cursor: pointer;
  opacity: 1;
}
#zoom_button span {
  position: absolute;
  top: -999em;
}

/*

#zoom_max_button {
    display: block;
    width: 75px;
    height: 50px;
    background-image: url(images/button_zoom_max.png);
    position: absolute;
    left: 272px;
    bottom: -2px;
    cursor: pointer;

}

*/

#zoom_max_button span {
  position: absolute;
  top: -999em;
}
#identify_button {
  float: left;
  display: block;
  width: 75px;
  height: 50px;
  background-image: url(images/button_identify_new.png);
  background-size: 100%;
  cursor: pointer;
  opacity: 1;
}
#identify_button span {
  position: absolute;
  top: -999em;
}
#location_info_button {
  float: left;
  display: block;
  width: 75px;
  height: 50px;
  background-image: url(images/button_location_info.png);
  background-size: 100%;
  cursor: pointer;
  opacity: 1;
}
#location_info_button span {
  position: absolute;
  top: -999em;
}
#measure_button {
  float: left;
  display: block;
  width: 75px;
  height: 50px;
  background-image: url(images/button_measure_new.png);
  background-size: 100%;
  cursor: pointer;
  opacity: 1;
}
#measure_button span {
  position: absolute;
  top: -999em;
}
#comment_button {
  float: left;
  display: block;
  width: 75px;
  height: 50px;
  background-image: url(images/button_comment_new.png);
  background-size: 100%;
  cursor: pointer;
  opacity: 1;
}
#comment_button span {
  position: absolute;
  top: -999em;
}
#info_area {
  word-wrap: break-word;
  display: block;
  width: auto;
  height: 50px;
  position: absolute;
  left: 500px;
  right: 300px;
  top: 0px;
  color: #9c9c9c;
  font-family: arial, sans-serif;
  font-size: 12px;
}
#buttonSLOJEVI {
  display: block;
  width: 123px;
  height: 50px;
  background-image: url(images/slojevi_states2.png);
  position: absolute;
  right: 123px;
  bottom: 0px;
  background-position: 0 0;
}
#buttonSLOJEVIslct {
  background-position: 0 -100px;
}
#buttonSLOJEVI span {
  position: absolute;
  top: -999em;
}
#buttonEDIT {
  display: block;
  width: 123px;
  height: 50px;
  background-image: url(images/edit_states.png);
  position: absolute;
  right: 0px;
  bottom: 0px;
  background-position: 0 0;
}
#buttonEDITslct {
  background-position: 0 -100px;
}
#buttonEDIT span {
  position: absolute;
  top: -999em;
}

/* TOP MENU BUTTONS */

#top_menu_button_container {
  padding: 20px;
  height: 50px;
  width: 100%;
}
.tm_button {
  margin-right: 12px;
  margin-left: 12px;
  width: 40px;
  height: 40px;
  text-indent: -9999px;
  float: left;
  cursor: pointer;
  background-color: #F3F5FF;
  background-size: 100%;
  box-sizing: border-box;
}
.tm_button:hover {
  border-radius: 3px;
  border: 1px solid #D9DCE8;
  background-color: white;
  box-shadow: 0px 0px 15px rgba(12, 0, 255, 0.16) inset;
}
#top_menu_zoom_max {
  background-image: url(images/top_menu_zoom_max.png);
}
#top_menu_search {
  background-image: url(images/top_menu_search.png);
}
#top_menu_image {
  background-image: url(images/top_menu_image.png);
}
#top_menu_comment {
  background-image: url(images/top_menu_comment.png);
}
#top_menu_refresh {
  background-image: url(images/top_menu_refresh.png);
}
#test {
  display: none;
  color: white;
  font-size: 50px;
}

/* search image allignment */

.align {
  vertical-align: middle;
}

/* PROJECT MENU */

.project_button {
  cursor: pointer;
  height: 34px;
  box-shadow: 0 0 1px #7C7C7C;
  border-radius: 5px;
  background: #F3F5FF;
  position: absolute;
  z-index: 200;
}
.project_drop_button {
  width: 40px;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  height: 34px;
  background-color: rgba(229, 230, 239, 0.88);
  float: left;
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
  box-sizing: border-box;
  background-image: url("css/tree-button.png");
  background-size: 24px;
  background-position: center;
  background-repeat: no-repeat;
}
ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.project_body {
  position: absolute;
      left: 38px;
      top: 5px;
      right: 38px;
      z-index: 100;
      box-shadow: 0 0 4px rgba(66, 66, 66, 0.53);
      display: none;
      border-radius: 5px;
      background-color: #F3F5FF;
}
.project_body li {
  border-bottom: 1px solid #D7DDEA;
}
.project_body li:last-child {
  border-bottom: none;
}
.project_body li:first-child {
  padding-top: 36px;
}
.project_body li a {
  color: #525261;
  text-decoration: none;
  padding: 8px;
  text-indent: 2px;
  display: block;
  font-size: 12px;
  font-weight: bold;
}


.ui-dialog .ui-dialog-content .search_body li {
  padding: 0 !important;
}


.ui-dialog .ui-dialog-content .search_body li:first-child {
  padding-top: 36px !important;
}

.search_body {
  position: absolute;
  left: 40px;
  top: 41px;
  width: 224px;
  right: 38px;
  z-index: 100;
  box-shadow: 0 0 4px rgba(66, 66, 66, 0.53);
  display: none;
  border-radius: 5px;
  background-color: #F3F5FF;
}
.search_body li {
  border-bottom: 1px solid #D7DDEA;
}
.search_body li:last-child {
  border-bottom: none;
}
.search_body li:first-child {
  padding-top: 36px;
}
.search_body li a {
  color: #525261;
  text-decoration: none;
  padding: 8px;
  text-indent: 2px;
  display: block;
  font-size: 12px;
  font-weight: bold;
}
.subhover {
  background: #E6EAFF;
}

/* AREA MENU (similar to project menu) */

.area_button {
  position: relative;
  top: -30px;
  z-index: 5;
}

#project_area {
  width: 224px;
  margin: 5px auto;
}
ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.area_body {
  display: block;
  position: relative;
  left: 0px;
  top: -38px;
  width: 215px;
  z-index: 1;
  display: none;
}
.area_body li {
  background: #1C1C1C;
  border-left: 1px solid #343434;
  border-right: 1px solid #343434;
  border-bottom: 1px solid #343434;
  top: -10px;
}
.area_body li a {
  color: #D4D4D4;
  text-decoration: none;
  padding: 8px;
  text-indent: 2px;
  display: block;
  font-size: 10px;
  font-weight: bold;
  top: -10px;
}
#project_input {
  float: left;
  height: 22px;
  width: 184px;
  font-size: 12px;
  font-weight: bold;
  text-indent: 10px;
  padding-top: 6px;
  padding-bottom: 6px;
  line-height: 22px;
  /* border-top-left-radius: 4px; */
  /* border-bottom-left-radius: 4px; */
  color: #3C3C3C;
  /* border: 1px solid #575757; */
  border-right: none;
  /* background: #F3F5FF; */
}
.project_input {
  float: left;
  height: 22px;
  width: 184px;
  font-size: 12px;
  font-weight: bold;
  text-indent: 10px;
  padding-top: 6px;
  padding-bottom: 6px;
  line-height: 22px;
  /* border-top-left-radius: 4px; */
  /* border-bottom-left-radius: 4px; */
  color: #3C3C3C;
  /* border: 1px solid #575757; */
  border-right: none;
  /* background: #F3F5FF; */
}
#area_input {
  font-family: arial;
  height: 20px;
  width: 184px;
  position: relative;
  top: 9px;
  z-index: 6;
  font-size: 11px;
  font-weight: bold;
  text-indent: 10px;
  padding-top: 7px;
  padding-bottom: 12px;
  color: #D4D4D4;
}

/* SEARCH MENU */

.search_button {
  position: relative;
  top: 21px;
  z-index: 5;
  cursor: pointer;
}
.search_subhover {
  background: #530C0C;
}
#search_input {
  font-family: arial;
  height: 20px;
  width: 184px;
  position: absolute;
  top: 27px;
  z-index: 6;
  font-size: 11px;
  font-weight: bold;
  text-indent: 10px;
  padding-top: 7px;
  padding-bottom: 12px;
  color: #D4D4D4;
  line-height: 15px;
}

#search_form {
  width: 320px;
  position: absolute;
  top: 45px;
  z-index: 5;
  left: 320px;
  color: grey;
}
.map {
  top: 0px;
  left: 0px;
  right: 300px;
  bottom: 0px;
  position: absolute;
  z-index: -1;
}

/* Cursor Hack */

.cursor_pointer {
  cursor: pointer;
}
.cursor_default {
  cursor: default;
}
#galleria img {
  display: none;
}
#galleria {
  background: rgb(225, 225, 225);
}

li ul span a.dynatree-title {
  text-indent: 25px !important;
}

ul.dynatree-container ul {
  background: white !important;
}

.dynatree-container ul li ul li a {
  padding-left: 15px !important;
}

ul.dynatree-container ul li {
  border-top: none !important;
}

/*MEDIA MENU*/

#media {
  width: 100%;
  height: 650px;
  display: none;
  padding: 0 !important;
  font-size: 12px;
}
#media_button_container {
  height: 46px;
}
#photos_hack {
  float: left;
  width: 312px;
  text-indent: -9999px;
}
#photos {
  float: left;
  width: 80px;
  height: 46px;
  color: #7B7C7E;
  cursor: pointer;
  text-align: center;
  line-height: 46px;
  border-right: 1px solid #D4D4D4;

}
#photos:hover {
  color: #B4B6B9;
}
#video {
  float: left;
  width: 80px;
  height: 46px;
  margin: 0;
  color: #7B7C7E;
  cursor: pointer;
  text-align: center;
  line-height: 46px;
  border-right: 1px solid #D4D4D4;
}
#video:hover {
  color: #B4B6B9;
}
#catalogs {
  float: left;
  width: 82px;
  height: 46px;
  margin: 0;
  color: #7B7C7E;
  cursor: pointer;
  text-align: center;
  line-height: 46px;
}
#catalogs:hover {
  color: #B4B6B9;
}
#gallery_fullscreen_button {
  float: right;
  width: 63px;
  height: 47px;
  background-image: url(images/gallery_fullscreen.png);
  background-size: 100%;
  margin-right: 0px;
  cursor: pointer;
  background-position: 0 0px;
}
#gallery_fullscreen_button:hover {
  background-image: url(images/gallery_fullscreen.png);
  background-position: 0 -48px;
  color: #B4B6B9;
}
#border {
  width: auto;
  height: 2px;
  background-image: url(images/media_border_repeater.png);
  background-repeat: repeat-x;
}
#videoContainer {
  display: none;
  background-color: #191919;
  width: 500px;
  height: 400px;
}
#catalogContainer {
  display: none;
  background-color: #191919;
  width: 500px;
  height: 400px;
}
#videoThumbsContainer {
  background-color: #222222;
  width: 120px;
  height: 431px;
  top: 27px;
  bottom: 27px;
  float: left;
  position: relative;
  padding: 0px;
  margin: 0px;
  overflow: hidden;
  background-position: 0 -250px;
  border-left: 1px solid black;
}
#videoThumbsContainer img {
  cursor: pointer;
}
#videoThumbsContainer img:hover {
  opacity: 0.5;
}
#videoFrame {
  background-color: #191919;
  width: 761px;
  height: 483px;
  border: 1px solid black;
  position: absolute;
  right: 0px;
}
#videoThumbsScrollerDown {
  background-image: url(images/videoThumbsScroll_down.png);
  width: 120px;
  height: 27px;
  position: absolute;
  bottom: 35px;
  left: 0px;
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  cursor: pointer;
  overflow: auto;
}
#videoThumbsScrollerDown:hover {
  background-position: 0px -27px;
}
#videoThumbsScrollerUp {
  background-image: url(images/videoThumbsScroll_up.png);
  width: 120px;
  height: 27px;
  position: absolute;
  float: left;
  left: 0px;
  cursor: pointer;
  border-right: 1px solid black;
  border-left: 1px solid black;
  border-bottom: 1px solid black;
}
#videoThumbsScrollerUp:hover {
  background-position: 0px -27px;
}

/* Stil za Comment Widget */

.comment_box {
  width: 400px;
  /*background-color: #191919;*/
}
.comment_box th {
  background-color: #191919;
}
.comment_box td {
  /*background-color: #191919;*/
}
#commentForm input {
  width: 100%;
}
label {
  font-size: 13px;
}
textarea {
  font-family: Arial, sans-serif;
  font-size: 12px;
  width: 100%;
}
input#commentSubmit {
  width: 30%;
  padding: 5px;
  background: lightblue;
  border: none;
  border-radius: 5px;
  font-size: 13px;
}
label.error {
  font-size: 11px;
  font-style: italic;
  color: darkred;
}
#messageBox {
  display: none;
  margin: 10px;
  padding: 10px;
  background: #ccffcc;
}
form.cmxform input.error {
  border: 2px solid darkred;
}
form.cmxform textarea.error {
  border: 2px solid darkred;
}
div.crop {
  height: 66px;
  width: 120px;
  overflow: hidden;
  border-bottom: 2px solid #0B0B0B;
}
div.crop img {
  margin: -12px 0 0 0;
}
