/* Css document by Svein Erik Storkaas - CssTemplatesWeb.com | 2008 */

* {
	margin: 0;
	padding: 0;
}

html {
	font-size: 100.01%;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	background-image: url(../images/body_bg.gif);
	background-attachment: fixed;
	overflow-x: hidden;
	overflow-y: scroll;
}
/******************************************** BEGIN structure *******************************************************/

#container {
	width: 841px;
	margin: 0px auto;
	background-image: url(../images/container_bg.jpg);
	background-repeat: repeat-y;
	font-size: .9em;
}

#header {
	background-image: url(../images/header.jpg);
	height: 154px;
}
#headertext1 {
	width: 170px;
	font-size: 18px;
	font-family: Tahoma;
	color: #ffffff;
	padding: 25px 0px 0px 65px;
}
#headertext2 {
	width: 841px;
	font-size: 17px;
	font-family: Tahoma;
	font-weight: bold;
	color: #228802;
	padding-top: 22px;
	float: left;
	text-align: center;
}

#left {
	width: 200px;
	float: left;
	margin-left: 40px !important;
	margin-left: 20px;
	padding-top: 2px;
}

#left img {
	max-width: 194px;
	margin-left: 2px;
}

#right {
	width: 200px;
	float: right;
}

#content {
	margin-right: 60px;
	margin-left: 270px;
}

#footer {
	clear: both;
	background-image: url(../images/footer.jpg);
	height: 229px;
}

/*********************************************** END Structure **********************************************/

/********************************************** BEGIN Nnavigation *********************************************/

#navcontainer {
	margin-left: 0px;
	margin-top: 0px;
	margin-bottom: 10px;
}

#navcontainer ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-family: verdana, arial, Helvetica, sans-serif;
}

#navcontainer li {
	margin: 0;
	display: block;
	padding: 5px 10px;
	width: 175px;
	background-color: #ADC1AD;
	border-top: 1px solid #fff;
	border-left: 1px solid #999;
	border-bottom: 1px solid #999;
	border-right: 1px solid #999;
	font-weight: bold;
	font-size: 0.8em;
	background-image: url(../images/vertical06.jpg);
	background-repeat: no-repeat;
	background-position: 0 0;
}

#navcontainer li:hover {
	background-color: #889E88;
	border-top: 1px solid #999;
	border-left: 1px solid #999;
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
	background-image: url(../images/vertical06a.jpg);
	background-repeat: no-repeat;
	background-position: 0 0;
	cursor: pointer;
}

#navcontainer a {
	color: #000;
	text-decoration: none;
}

#navcontainer small a {
	color: #eb4934;
}
#navcontainer small a:hover {
	text-decoration: underline;
}

#navcontainer ul ul li {
	margin: 0;
}

#navcontainer ul ul a {
	display: block;
	padding: 5px 5px 5px 30px;
	width: 160px;
	color: #000;
	text-decoration: none;
	font-weight: normal;
}

#navcontainer ul ul a:hover {
	color: #000;
	background-color: #889E88;
	text-decoration: none;
}

/********************************************** END Nnavigation *********************************************/

/********************************************** TEXT formatting start *********************************************/

#rightheaderbox {
	font-size: 1.2em;
	text-align: right;
	padding-top: 20px;
	margin-right: 50px;
	float: right;
}

h2 {
	font-size: .8em;
	clear: right;
	margin-top: 12px;
	margin-bottom: 17px;
	background-image: url(../images/h2_bg.jpg);
	background-repeat: no-repeat;
	height: 21px;
	padding-top: 15px;
	padding-left: 35px;
}

h3 {
	font-size: .9em;
}

.pubdate {
	font-size: 0.8em;
	color: #FFFFFF;
}

/********************************************** TEXT formatting end *********************************************/

/********************************************** MISC start *********************************************/

.footertext {
	text-align: right;
	padding-top: 210px;
	font-size: 70%;
	padding-right: 10px;
}

.newsimages {
	float: right;
	margin-left: 4px;
	margin-bottom: 2px;
}

a:link {
	color: #1e7a02
}
a:visited {
	color: #1e7a02
}
a:hover {
	color: #59ad3f
}
a:active {
	color: #1e7a02
}

ul.linkList {
	margin-left: 40px;
	list-style-image: url(../images/list_bullet.png)
}

/********************************************** MISC end *********************************************/

#edit {
	position: fixed;
	top: 1px;
	left: 100px;
	background: #fff;
	padding: 20px;
	border-radius: 5px;
	border: 1px solid #444;
	/*margin-top: 40px;*/
	z-index: 2;
	max-height: 90%;
	overflow-y: scroll;
    max-width: 85%;
}

#back {
	position: fixed;
	width: 150%;
	height: 150%;
	top: -20%;
	left: 0px;
	background: url('../images/edit-fon.png');
	z-index: 1;
}

.cancel, input[type='submit'] {
	min-width: 110px;
}
input[type='submit'] {
	background: #eb4934;
	border: 0;
	border-radius: 8px;
	color: #fff;
	padding: 8px 10px;
	cursor: pointer;
}

input[type='submit']:hover {
	background: #CD3421;
}

input[type='text'], input[type='password'], input[type='email'] {
	border: 1px solid #444;
	border-radius: 8px;
	padding: 4px;
	margin-bottom: 3px;
	min-width: 180px;
}
textarea {
	border: 1px solid #444;
	border-radius: 3px;
	padding: 4px;
	margin-bottom: 3px;
	min-width: 180px;
	min-height: 50px;
}

.cancel {
	display: inline-block;
	float: left;
	background: #777;
	border: 0;
	border-radius: 8px;
	color: #fff;
	padding: 8px 10px;
	cursor: pointer;
	margin-top: 5px;
}
.cancel:hover {
	background: #555;
}

.delete-mode {
	color: #eb4934;
	text-decoration-color: #eb4934;
}

#gallery {
	display: inline-block;
}

#photo {
	display: inline-block;
	margin-bottom: 6px;
	margin-top: 6px;
	margin-left: 12px;
	background: #fff;
	border: 1px solid #aaa;
	border-radius: 7px;
	width: 223px;
	height: 170px;
	padding: 3px;
}

#photo .img {
	float: left;
	margin-right: 5px;
	width: 200px;
}

#photo .thum {
	margin-bottom: 4px;
	width: 12px;
	cursor: pointer;
}
.main_photo {
	margin-right: 5px;
	float: left;
}
.main_photo img {
	max-height: 150px;
	max-width: 196px;
}

#photo .actions {
	float: right;
}

#saved {
	position: fixed;
	top: 44%;
	bottom: 50%;
	left: 44%;
	right: 50%;
	background: #fff;
	border: 1px solid #777;
	border-radius: 10px;
	width: 170px;
	height: 22px;
	padding: 10px;
}

.sm {
	position: relative;
}

.sm span {
	display: block;
}

.sm span a {

}

.sm a:hover {
	text-decoration: underline !important;
}
#more {
	position: fixed;
	top: 10px;
	right: 10px;
	text-align: right;
}
