h1, h3, h4, h5, h6 {

	color: white;
	font-size: 18pt;
	padding: 5px 0 0px 0;
	text-shadow: 1px 1px 3px #aaa;
	letter-spacing: 0.1em;
	line-height: 1em;
	
 font-weight: normal; 
}


h2 {

	color: #d7d7d7;
	font-size: 12pt;
	padding: 0px 0 0px 0;
	text-shadow: none;
	letter-spacing: 0.1em;
	line-height: 1em;
	
 font-weight: normal; 

}



.categories { width:125px; }



#header-logo {
    display: block;
	
	    top:  0px;
		left: 0px;
		    width: 232px;
			height: 90px;
			    background: url("//photo505.com/images/logo2.gif") no-repeat;
				border: none;
				    margin: 0;
					padding: 0;
					}
					
					#header-logo a {
					    display: block;
						height: 70px;
						    text-indent: -5000px;
						    }


/* reset */
form, table, tbody, tfoot, thead, tr, th, td {
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    margin: 0;
}

fieldset, form, label, legend {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    color: #bdbdbd;
    vertical-align: baseline;
    background: transparent;
}

form {
    margin: 0;
    padding: 0;
    border: 0;
}

* html #wrapper {
    height: 100%;
}

* html #nonFooter {
    padding: 0;
    height: 100%;
}

a {
    color: #FFF;
}

a:hover {
    color: #FFF;
}

img {
    border: 0;
}

#siteTitle {
    float: left;
    top: 10px;
    left: 20px;
    display: block;
    position: relative;
    color: #777;
    font-size: 85%;
}

#navMenu a {
    color: #FFFFFF;
    text-decoration: none;
}

#navMenu a:hover {
    text-decoration: underline;
    color: #E3ECEE;
}

#navMenu ul,#navMenu li {
    margin: 0;
    padding: 0;
}

#navMenu ul {
    text-align: center;
    margin: auto auto;
    /*width: 470px;*/
    float: right;
    padding-left: 14px;
    margin-top: 9px;
        margin-right: 20px;
}

#navMenu li {
    display: block;
    float: left;
    height: 27px;
    margin: 0 15px;
    padding: 0;
    line-height: 24px;
}

#navMenu li.activeNavElement {
    background: url("//photo505.com/images/nav-highlight-bg.gif") no-repeat bottom left;
    padding: 0px 0 0px 14px;
    height: 31px;
    margin: 0;
    margin-top: 0px;
}

#navMenu li.activeNavElement a {
    background: url("//photo505.com/images/nav-highlight-bg2.gif") no-repeat bottom right;
    display: block;
    float: left;
    height: 31px;
    line-height: 27px;
    color: #fff;
    padding: 0px 14px 0px 0;
        padding-top: 0px;
    margin: 0;
}

#hcontainer {
    width: 100%;
    height: 96px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
        
        background-repeat: no-repeat;
}

#hbackground {
       /* background-color: #1D3138;*/
    background: #252525 url("//photo505.com/images/header_background.png");
}

#hcontainer img {
    margin-left: 20px;
    margin-top: 27px;
    border: 0;
}

.headerBorderLine {
    background-color: #262626;
    border-bottom: 1px solid #4a4a49;
    height: 2px;
}

#menucontainer {
    width: 100%;
    height: 40px;
    position: relative;
    z-index: 3;
    margin-top: -40px;
}

#wrapper {
    margin: 0 auto;
    text-align: left;
    min-height: 100%;
    background: #2f2f2f;
    border-left: solid 1px #272727;
    border-right: solid 1px #272727;
}


#hcontainer div {
}

#hcontainer div.langs {
  font-size: 85%;
  color: #E0E0E0;
  float: right;
  clear: both;
  margin-right: 10px;
  margin-top: 0px;
  font-weight: bold;
}

#hcontainer div.langs a {
  color: #E0E0E0;
  font-weight: normal;
}

#content {
    min-height: 100%;
    line-height: 140%;
    margin: 12px 15px 80px;
}

#nonFooter {
    position: relative;
    min-height: 100%;
    padding-bottom: 34px;
}

#loginForm {
    color: #777;
    font-size: 95%;
}


div.sideBlock {
    /* ���� ����� ����� ���� �������� �����
    background-color: #F6F6F3;
    padding: 5px;*/
    width: 100%;
    line-height: 160%;
    margin-bottom: 20px;
}

div.sideBlock p.sideBlockTitle {
    border-bottom: 1px solid #D6D6D6;
    padding: 0 0 4px 4px;
    font-size: 120%;
    margin: 5px 0;
    font-weight: bold;
    color: #444;
}

div.sideBlock div.sideBlockContent {
    font-size: 90%;
    padding-left: 10px;
}

#container {
    width: 100%;
}

#leftMainCol #container {
    margin-right: -5px;
}

#leftMainCol {
    margin-right: 5px;
}

ul.sideMenu {
    margin: 0px;
    padding: 9px 0px;
    margin-bottom: 15px;
}

ul.sideMenu ul {
    margin-left: 5px;
    padding-left: 15px;
}

ul.sideMenu li {
    list-style: none;
    display: block;
    line-height: 160%;
    margin-left: 0px;
    padding-left: 9px;
    font-size: 10pt;
    color: #003379;
    /*background: #fff url("arrow.gif") no-repeat 3px 8px;*/
}

ul.sideMenu li ul {
    margin-left: -10px;
    font-size: 95%;
}

ul.sideMenu li ul li {
    background: #fff url("//photo505.com/images/submenu_arrow.gif") no-repeat 0px 3px;
    font-size: 9pt;
}

ul.sideMenu li a {
    text-decoration: none;
    color: #003379;
}

ul.sideMenu li a:hover {
    text-decoration: underline;
    color: #B30000;
}

div.newsItem p.newsItemTitle {
    margin-bottom: 0px;
    margin-top: 10px;
}

div.newsItem p.newsItemTitle span {
    color: #999;
    font-size: 80%;
}

.contentBlockTitle {
    font-size: 140%;
    margin-top: 15px;
    margin-bottom: 10px;
    padding: 0 0 5px 0;
    background: #000 url("//photo505.com/images/separator_bg.gif") left bottom repeat-x;
}

.clear {
    clear: both;
    height: 0;
    overflow: hidden;
}

.clearRight {
    clear: right;
    height: 0;
    overflow: hidden;
}




ul,li,form{list-style:none;margin:0;padding:0;}
#menu{width:150px;float:left;}
#menu li{float:left; }
#menu li a{width:125px;color:#000;background:#2f2f2f;padding:1px 5px 1px 20px;font-size:12px;font-weight:bold;text-decoration:none;float:left;}
#menu li a:hover{background:#FBEF99;color:#000;}
#menu li a.on{background:url(//photo505.com/templates/images/menu-arrow.png) no-repeat right #FFD200;width:130px;padding:1px 5px 1px 15px;}


.menu-title{background:#292929;color:#FFF;}
#menu li a,#gal-menu li a{color:#FFF;background:#2f2f2f;}
#menu li a:hover,#gal-menu li a:hover{color:#FF0;background:#161616;}
#menu li a.on,#gal-menu li a.on{background:url(//photo505.com/templates/images/menu-arrow.png) no-repeat right #ff9c00;color:#000;}


.corner{display:block;padding-right:10px;overflow:hidden;}
.corner:hover{text-decoration:none;}
.corner span{background:url(//photo505.com/templates/images/mgray-left.png) no-repeat scroll top left;display:block;padding:0 0 0 10px;line-height:28px;overflow:hidden;position:relative;font-weight:bold;}
.corner span.as-tab{line-height:22px;font-weight:normal;font-size:11px;color:#666;}

.corner.menu-top{background:url(//photo505.com/templates/images/mgray-right.png) no-repeat scroll top right;min-height:5px;}
.corner.mgray-top span,.corner.menu-top span{background:url(/templates/images/mgray-left.png) no-repeat scroll top left;min-height:5px;}
.corner.mgray-bot{background:url(//photo505.com/templates/images/mgray-right.png) no-repeat scroll bottom right;min-height:10px;}
.corner.mgray-bot span{background:url(//photo505.com/templates/images/mgray-left.png) no-repeat scroll bottom left;min-height:10px;}


.corner.dgray-top,.corner.Neutral-top,.corner.profile-announce-top{background:url(//photo505.com/templates/images/dgray-right.png) no-repeat scroll top right;min-height:5px;}
.corner.dgray-top span,.corner.Neutral-top span,.corner.profile-announce-top span{background:url(//photo505.com/templates/images/dgray-left.png) no-repeat scroll top left;min-height:5px;}
.corner.dgray-bot,.corner.Neutral-bot,.corner.pod-bot,.corner.menu-bot,.corner.profile-announce-bot{background:url(//photo505.com/templates/images/dgray-right.png) no-repeat scroll bottom right;min-height:10px;}
.corner.dgray-bot span,.corner.Neutral-bot span,.corner.pod-bot span,.corner.menu-bot span,.corner.profile-announce-bot span{background:url(//photo505.com/templates/images/dgray-left.png) no-repeat scroll bottom left;min-height:10px;}
.dgray-body,.pod-body,.profile-announce-body{background:#111;height:1%;overflow:hidden;}
.corner.dgray-bot,.corner.Neutral-bot,.corner.pod-bot,.corner.menu-bot,.corner.profile-announce-bot{background:url(//photo505.com/templates/images/dgray-right.png) no-repeat scroll bottom right;min-height:10px;}
.corner.dgray-bot span,.corner.Neutral-bot span,.corner.pod-bot span,.corner.menu-bot span,.corner.profile-announce-bot span{background:url(//photo505.com/templates/images/dgray-left.png) no-repeat scroll bottom left;min-height:10px;}
.mb-10{margin-bottom:10px;}
.clear-both{clear:both;}

