body {
    margin: 0;
	font-family: "Myriad Pro", "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
	width: 100%;
	background-color: black;
}

a:link {
  text-decoration: none;
  color: #d55907;
}
 a:visited {
  text-decoration: none;
  color: #d55907;
}
a:hover {
  text-decoration: underline;
}

#header {
    margin: auto;
    background-color: #000;
    height: 150px;
    vertical-align: middle;
    text-align: left;
}

#name {
	border: 0;
}
/*#name {
    padding-top: auto;
    padding-bottom: auto;
	margin-top: auto;
	margin-bottom: auto;
}*/

#cupola {
	position: absolute;
	float: right;
	top: 0;
	right: 230px;
}

#headerimg {
	position: absolute;
	float: right;
	right: 0;
	top: 25px;
}
#menu {
    position: absolute;
	top:75px;
    float: left;
	left: 2%;
    /*text-align: right;*/
    width: 96.5%;
    color: white;
	border-top: 2px solid #FFF;
	margin-top: 0.15em;
	background-color: black;
}

div#menu ul {
    list-style-type: none;
    display: inline;
	text-align: right;
}

div#menu ul li {
	float: right;
    display: inline;
    /*font-family: Verdana, Sans Serif;*/
    background-color: black;
    color: white;
	text-align: center;
	/*padding-top: 0.2em;
	padding-bottom: 0.2em;*/
	/*padding: 0.2em 0.2em 0.4em 0.2em;*/
	padding-right:0.5em;
	width: 5em;
	font-size: small;
	font-weight: bold;
	border-bottom: 2px solid #FFF;
}

div#menu ul li a, a:visited{
	color: white;
	text-decoration: none;
}

div#menu ul li div {
	padding: 0.2em 0.2em 0.2em 0.4em;
}

div#menu ul li a:hover {
	text-decoration: underline;
	font-weight: bold;
	cursor: pointer;
}

li#rightmenu {
	border-right: 2px solid #FFF;
}

#main {
	color: black;
	background-color: black;/* url('./images/back.jpg') repeat-x top;*/
	height: 77%;
	bottom: 0;
	margin-bottom: 0;
	padding-left: 1.5em;
	padding-top: 2em;
	/*font-family: Verdana, "Sans Serif";*/
}

#navigator {
	position: absolute;
	margin: auto;
	top: 15%;
	left: 33%;
	width: 34%;
	color: white;
	font-size: large;
	text-align: center;
}

#navigator a, a:visited {
	color: white;
}

div#menu .active {
	color: #d55907;
}

div#photo a:hover{
	cursor:pointer;
}

div#photo img {
	width: 800px;
	height: 440px;
}

#transparent_sub {
	position: absolute; 
	top:0; 
	left: 0; 
	/*z-index:20; 
	background: url('./images/bg-single.png') repeat top;
	/*opacity:0.8; 
	filter:alpha(opacity=70);*/
	background-color: black;
	width: 100%; 
	height:100%; 
	vertical-align: middle;
}

/*#transparent_sub img {
	opacity:1; 
	filter:alpha(opacity=100);
}*/

#ontop {
	position: absolute;
	margin-left: 1em;
	cursor: pointer;
	background-color: transparent;
	border: 0;
	top: 3%;
}

#gallery_table {
/*	width: 100%;*/
	width: 90%;
	height: 78%;
	margin: auto;
	margin-top: 2%;
	color: #d55907;
	font-size: small;
	font-weight: bold;
	text-align: center;
}

#loading {
/*	width: 100%;*/
	width: 90%;
	height: 78%;
	margin: auto;
	margin-top: 5%;
	color: #d55907;
	font-size: small;
	font-weight: bold;
	text-align: center;
}

div#gallery_table a:link {
  text-decoration: none;
  color: #d55907;
}
div#gallery_table a:visited {
  text-decoration: none;
  color: #d55907;
}
div#gallery_table a:hover {
  text-decoration: underline;
}

div#gallery_table a img {
  border: 3px solid black;
}

/*#gallery_table td {
	padding: 1em 1em 1em 1em;
}

#gallery_table img {
	cursor: pointer;
}*/

#riga1 {
      position: relative;
      float: left;
      left: 0;
      top: 10px;
      width: 100%;
      height: 50%;
      text-align: center;
}

#riga2 {
    position: relative;
    float: left;
    left: 0;
    top: 50px;
    width: 100%;
    height: 50%;
    text-align: center;
}

.col1 {
      float: left;
      left: 0;
      width: 12%;
      font-size: medium;
      /*background-color: #DDD;*/
      padding: 3px 3px 0px 3px;
      /*border-left: 2px solid white;
      border-top: 1px solid black;/*/

}
.col2 {
      float: left;
      left: 12%;
      width: 25%;
      /*background-color: #DDD;*/
      padding: 0px 3px 3px 3px;
}
.col3 {
      float: left;
      left: 37%;
      width: 12%;
      font-size: medium;
      /*background-color: #DDD;*/
      padding: 3px 3px 0px 3px;
      /*border-left: 2px solid black;
      border-top: 1px solid black;*/
}
.col4 {
      float: left;
      left: 49%;
      width: 25%;
      /*background-color: #DDD;*/
      padding: 0px 3px 3px 3px;
}
.col5 {
      float: left;
      left: 74%;
      width: 12%;
      font-size: medium;
      /*background-color: #DDD;*/
      padding: 3px 3px 0px 3px;
      /*border-left: 2px solid black;
      border-top: 1px solid black;*/
}
.col6 {
      float: left;
      left: 86%;
      width: 25%;
      /*background-color: #DDD;*/
      padding: 0px 3px 3px 3px;
}

#photo_table {
	position: absolute;
	left: 5%;
	width: 90%;
	height: 78%;
	bottom: 1em;
	margin: auto;
	color: black;
	font-size: small;
	font-weight: bold;
	text-align: center;
}

#row1 {
      position: relative;
      float: left;
      left: 3%;
	  top:0;
      /*top: 10px;*/
      width: 100%;
      height: 50%;
      min-height: 50%;
     text-align: center;
}

#row2 {
    position: relative;
    float: left;
    left: 3%;
	top: 1em;
    width: 100%;    
	height: 50%;
	min-height: 50%;
    text-align: center;
}


.photo1 {
      float: left;
      left: 0;
      width: 30%;
      font-size: small;
      /*background-color: #DDD;*/
      padding: 3px 3px 0px 3px;
	  color: white;
	  margin: auto;
}

.photo2 {
      float: left;
      left: 30%;
      width: 30%;
      font-size: small;
      /*background-color: #DDD;*/
      padding: 3px 3px 0px 3px;
	  color: white;
	  margin: auto;
}

.photo3 {
      float: left;
      left: 60%;
      width: 30%;
      font-size: small;
      /*background-color: #DDD;*/
      padding: 3px 3px 0px 3px;
	  color: white;
	  margin: auto;
}

.centered {
	vertical-align: middle;
	border: 0;
}

#gal_name {
	position: absolute;
	float: left;
	left: 2%;
	top: 85px;
	height: 5%;
	color: white;
	font-size: medium;
	font-weight: bold;
}

#catnavigation a, a:visited {
	color: #d55907;
	border: 0;
}

.bordered {
	border: 3px solid black;
}

#photo_thumb {
	position: absolute;
	float: left;
	left: 0;
	top: 24%;
	background-color: black;
	height: auto;
	width: 60%;
}

#single {
	margin: 1% 3% 1% 3%;
}

#commands {
	position: absolute;
	float: right;
	right: 0%;
	top: 3%;
	width: 38%;
}

#commands a {
	cursor: pointer;
}

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

#commands a img {
	border: 0;
}

#single {
  cursor: pointer;
}

#exit {
	position: relative;
  top: -1px;
  cursor: pointer;
  border: 0;
}

#forward {
  position: absolute;
  float: right;
  right: 31px;
  top: 6%;
  cursor: pointer;
}

#back {
  position: absolute;
  float: right;
  right: 31px;
  top: 10%;
  cursor: pointer;
}

#fs_commands {
	position: absolute;
	width: 100%;
	float: left;
	border-bottom: 2px solid #d55907;
	left: 0;
	top: 0.5em;
}

#fs_title {
	font-size: large;
  	color: white;
	margin-left: 1em;
}

#fs_arrows {
	position: absolute;
	float: right;
	right: 1em;
	top: -12px;
}

#fs_link {
  font-weight:bold;
  cursor: pointer;
}

div#adminmenu {}

/*ul#nav,ul#nav li{list-style-type:none;margin:0;padding:0;margin-right: 2%; display: block;}
ul#nav{margin:auto;}
ul#nav li{float:left;text-align: center; font-size: small;}
ul#nav a{float:left;padding: 0;width: 110%; background: #1a1a1a;text-decoration:none;color: white; cursor: pointer;}
ul#nav a:hover{background: #d55907;color: #FFF}
ul#nav li.activelink a,ul#nav li.activelink a:hover{background: #d55907;color: black;}*/

div#adminaction {
  width: 90%;
  height: 90%;
  background-color: #d55907;
  margin-top:1.2%;
}

#new_photo_a, #edit_photo_a, #delete_photo_a, #mod_comments_a, #new_post_a {
  width: 96%;
  margin: 1%;
  height: 80%;
  padding: 1%;
  background-color: black;
  color: white;
}

#new_photo_a table {
	text-align: left;
	color: white;
}

#admin_error_message {
	width: 33%;
	text-align: center;
	position: absolute;
	top: 33%;
	right: 33%;
	z-index: 20;
	background-color: #d55907;
}

#preview_view_admin_delete {
	position: absolute;
	float: right;
	right: 0;
	top: 33%;
	background-color: #d55907;
}

#viewall {
	position: absolute;
	top: 20%;
}

#general_cat {
	margin-top:10%;
}

#cat_menu {
	position: absolute;
	float: right;
	right: 0;
	top: 24%;
	width: 35%;
	height: 70%;
}

#cat_menu_ul {
	position: absolute;
	float: right;
	right: 0;
	top: 25%;
	width: 35%;
	height: 70%;
	list-style-type: none;
	text-align: right;
	margin-right: 1.5em;
	line-height: 4em;
}

#thumb_img {
	position: absolute;
	float: left;
	left: 1.5em;
	top: 35%;
}

.catmenu_lnk {
	position: relative;
	bottom: 0;
	right: 0;
	border-bottom: 2px solid #FFFFFF;
	background: transparent url('images/border-right.jpg') 100% 100% no-repeat;
}


.catmenu_lnk a img{
	position: relative;
	bottom: -1.5em;
	margin-right: 0.5em;
	cursor: pointer;
	border: 0;
}

/*#cat_menu #imglnk {
	width: 50%;
	float:right;
	margin-right: 1.5%;
	text-align: right;
	color: white;
	height: 90%;
}
/*
#cat_1 {
	position: relative;
	top: 0;
	margin-top: 0%;
	margin-right: 1em;
	float: right;
	height: 13%;
	float: right;
	border-bottom: 2px solid white;
	/*margin-top: 1em;
	margin-bottom: 1em;
	width: 50%;
	text-align: right;
}

#cat_2 {
	position: relative;
	margin-top: 5%;
	margin-right: 1em;
	float: right;
	height: 13%;
	border-bottom: 2px solid white;
	/*margin-top: 1em;
	margin-bottom: 1em;
	width: 50%;
	text-align: right;
}

#cat_3 {
	position: relative;
	margin-top: 5%;
	margin-right: 1em;
	float: right;
	height: 13%;
	border-bottom: 2px solid white;
	/*margin-top: 1em;
	margin-bottom: 1em;
	width: 50%;
	text-align: right;
}

#cat_4 {
	position: relative;
	margin-top: 5%;
	float: right;
	margin-right: 1em;
	height: 13%;
	border-bottom: 2px solid white;
	/*margin-top: 1em;
	margin-bottom: 1em;
	width: 50%;
	text-align: right;
}

#cat_5 {
	position: relative;
	margin-top: 5%;
	float: right;
	margin-right: 1em;
	height: 13%;
	border-bottom: 2px solid white;
	/*margin-top: 1em;
	margin-bottom: 1em;
	width: 50%;
	text-align: right;
}

*/


#rightborder {
	position: absolute;
	top: 100%;
	height: 25%;
	border-right: 2px solid white;
	position: relative;
	top: 36%;
}

#cat_thumb {
	position: absolute;
	bottom: 2.5em;
	float: left;
	left: 1.5em;
	width: 50%;
}

.nav_fs {
	border: 0;
	margin-top: 1em;
}
/*
#new_comment {
  position: absolute;
  background-color: #1a1a1a;
  float: right;
  right: 0;
  width: 16%;
  padding-right: 2.35%;
  bottom: 11.5%;
  color: white;
  cursor: pointer;
  font-size: small;
  font-weight: bold;
  font-style: italic;
  text-align: right;
  height: 3%;
}*/

#box_right {
	position: absolute;
	float: right;
	right: 0;
	top: 24%;
	background-color: #1a1a1a;
	padding-right: 3%;
	height: 70%;
	width: 31%;
	color: white;
	text-align: justify;
	font-size: small;
	padding-left: 1em;
}

#comment_link {
	position: absolute;
	float: right;
	right: 0.5em;
	bottom: 0.5em;
	cursor: pointer;
	font-size: small;
	font-weight: bold;
	font-style: italic;
	width:95%;
	text-align: right;
}

#comment_link a {
	color: white;
}

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

#description {
	position: absolute;
	float: left;
	color: white;
	text-align: justify;
	font-size: small;
	top: 15%;		
	height: 75%;	
	max-height: 75%;
	width: 90%;
	margin-right: 1em;
	padding-right: 1em;
	overflow: auto;

}

#comments {
	position: absolute;
	float: right;
	top: 8%;
	right: 0;
	color: white;
	text-align: justify;
	font-size: small;
	margin-top: 1em;
	height: 85%;
	max-height: 88%;
	overflow: auto;
	width: 90%;
	padding-right: 1.5em;
}

#desc_link {
	position: absolute;
	float: right;
	right: 0.5em;
	bottom: 0.5em;
	cursor: pointer;
	font-size: small;
	font-weight: bold;
	font-style: italic;
	width:95%;
	text-align: right;
}

#desc_link a {
	color: white;
}


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

#new_comment{
	position: absolute;
	float: left;
	left: 0.5em;
	bottom: 0.5em;
	cursor: pointer;
	font-size: small;
	font-weight: bold;
	font-style: italic;
	width: 50%;
	text-align: left;
	color: #d55907;
}

/*#comments p {
  padding-left: 3%;
  padding-top: 4%;
}*/

#new_comment_box {
	position: absolute;
	width: 500px;
	left: 30%;
	background-color: #d55907;
	font-size: small;
	padding: 1em 1em 1em 1em;
	
}

#new_comment_box table {
	margin: auto;
}

#insert_message {
	position: absolute;
	top: 0;
	left: 0;
	background-color: #d55907;
	color: white;
	z-index: 20;
	text-align: center;
	height: 3%;
}

#request {
	color: #d55907;
	z-index: 20;
	position: absolute;
	float: right;
	right: 1.5%;
	bottom: 0.5em;
	cursor: pointer;
}

#request_div {
	position: absolute;
	margin: auto;
	width: auto;
	left: 33%;
	background-color: #d55907;
	color: white;
	text-align: center;
	padding: 0.5em 0.5em 0.5em 0.5em;
	z-index: 100;
	top:20%;
}

#request_div table {
	margin: auto;
	color: white;
	text-align: left;
}
	
#contact table{
	position: relative;
	color: white;
	top: -3em;
}

#webm {
	position: absolute;
	bottom: 1em;
}

.contact_title {
	font-size: x-large;
	color: #d55907;
}

#email_msg {
	position: absolute;
	top: 0;
	left: 0;
	background-color: #d55907;
	color: white;
	z-index: 20;
	text-align: center;
	height: 3%;
}

.separator {
	background-color: #CCCCCC;
	width: 85%;
	height: 0.1em;
}

.single_comment {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	margin-right: 1.5em;
}

#photo_title {
	position: absolute;
	float: left;
	left: 3%;
	top: 3%;
	width: 51%;
	font-weight: bold;
	border-bottom: 1px solid #FFFFFF;
	text-align: left;
}