html, body {
height: 100%;
margin: 0;
padding: 0;
}

body,div,table,tr,td,input,button,a,p,b,i,u,ul,li{padding:0px;margin:0px;}
/* Body
-------------------------------------------------------------- */
body {
background:#fff;
background-image:url(images/background.png);
background-repeat:repeat;
padding:0;
margin:0;
color:#444;
line-height:1.5em;
font-family:Arial,Verdana,sans-serif;
font-size:13px;
}
/* head elements
-------------------------------------------------------------- */
#head{
width:1024px;
height:236px;
margin:auto;
background-image:url(images/head.png);
background-repeat:no-repeat;
}
/* contact elements
-------------------------------------------------------------- */
#contact{
padding:40px 0px 0px 20px;
float:right;
width:170px;
height:168px;
font-size:12px;
font-weight:bold;
background-image:url(images/contact.png);
background-repeat:no-repeat;
}
#contact .block{
padding:0px;
margin:0px;
}
#contact div.content{
text-align:left;
color:#444;
padding:0px;
margin:0px;
}
#contact div.content span{
	color:#009ee2;
}
#contact h2{
padding:0px;
margin:0px;
color:#f7a707;
}
/* main elements
-------------------------------------------------------------- */
#main{
width:1024px;
margin:auto;
min-height: 100%;
height: auto !important;
height: 100%;
}
/* left elements
-------------------------------------------------------------- */
#left{
background-color:#fff;
text-align:center;
width:250px;
float:left;
background-image:url(images/subheadl.png);
background-position:0 top;
background-repeat:no-repeat;
min-height: 100%;
height: auto !important;
height: 100%;

}
#left .menu li {
list-style:none;
padding:0;
text-decoration:none;
}
#left .menu li a {
width:200px;
height:41px;
color:#8200fc;
border:solid #e9d2ff 1px;
border-radius:25px;
font-size:10px;
text-align:center;
display:block;
text-decoration:none;
line-height:12px;
display: table-cell;
vertical-align: middle;
margin:auto;
font-weight:bold;
}
#block-menu-menu-dopmenu .menu li a {
	font-size:11px;
}
#left .menu h2{display:none;}
/* search elements
-------------------------------------------------------------- */
#search{
width:200px;
height:40px;
line-height:40px;
color:#fff;
font-size:1.1em;
text-align:center;
display:block;
text-decoration:none;
margin:auto;
font-weight:bold;
background-image:url(images/search.png);
background-repeat:no-repeat;
}
#search .content{
margin-top:50px;
}
/* subleft elements
-------------------------------------------------------------- */
#subleft{
width:200px;
color:#444;
font-size:12px;
text-align:left;
display:block;
text-decoration:none;
margin:auto;
margin-top:50px;
}

#subleft h2{
color:#2e3cf6;
font-size:12px;
}
/* right elements
-------------------------------------------------------------- */
#right{
width:713px;
height:400px;
float:left;
background-position:0 top;
background-image:url(images/subheadr.png);
background-repeat:no-repeat;
padding:10px 30px;
min-height: 100%;
height: auto !important;
height: 100%;
}
#right .breadcrumb a{
text-decoration:none;
color:#9600e5;
}
/* wrapper elements
-------------------------------------------------------------- */
#wrapper {
width:1024px;
margin:auto;
min-height: 100%;
height: auto !important;
height: 100%;
padding: 0;
background-color:#fff;
}
/* footer elements
-------------------------------------------------------------- */
#footer-push, #footer{
width:1024px;
height:180px;
background-repeat:no-repeat;
margin:auto;
clear:both;
background-color:#fff;
}
#footer{
background-image:url(images/footer.png); 
height:180px;
}
#footer .left{
margin-top:0px;
float:left;
height:60px;
width:710px;
}
#footer .left h2{
display:none;
}
#footer .corp{
color:#666;
padding-top:95px;
padding-bottom:5px;
height:20px;
width:100%;
text-align:center;
}
#footer .corp h2{
display:none;
}
#footer .right{
color:#888;
text-align:right;
margin-top:0px;
float:right;
height:60px;
width:310px;
font-size:10px;
}

/* content elements
-------------------------------------------------------------- */

h1{font-size:16px;color:#e31e24;}
h2{font-size:16px;color:#f7a707;}
h3{font-size:16px;color:#57b040;}
h4{font-size:16px;color:#00a0e3;}
h5{font-size:16px;color:#9800e5;}
#right h1 a{font-size:16px;color:#0042e3;text-decoration:none;}
#right h2 a{font-size:16px;color:#0042e3;text-decoration:none;}
#right h3 a{font-size:16px;color:#0042e3;text-decoration:none;}
#right h4 a{font-size:16px;color:#0042e3;text-decoration:none;}
#right h5 a{font-size:16px;color:#0042e3;text-decoration:none;}
#right .ink-wrapper a{color:#00a0e3;}
#right tbody{border:solid 1px #444;}
/* --------------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------------- */

/* --------------- System Tabs  --------------- */

.tabs {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin-bottom: 20px;
}
.tabs ul.primary {
  padding: 0 3px;
  margin: 0;
  overflow: hidden;
  border: none;
  background: transparent url(../images/tabs-border.png) repeat-x left bottom;
}
.tabs ul.primary li {
  display: block;
  float: left; /* LTR */
  vertical-align: bottom;
  margin: 0 5px 0 0; /* LTR */
}
.tabs ul.primary li.active a {
  border-bottom: 1px solid #ffffff;
}
.tabs ul.primary li a {
  color: #000;
  background-color: #ededed;
  height: 1.8em;
  line-height: 1.9;
  display: block;
  font-size: 0.929em;
  float: left; /* not LTR */
  padding: 0 10px 3px;
  margin: 0;
  text-shadow: 0 1px 0 #fff;
  -khtml-border-radius-topleft: 6px;
  -moz-border-radius-topleft: 6px;
  -webkit-border-top-left-radius: 6px;
  border-top-left-radius: 6px;
  -khtml-border-radius-topright: 6px;
  -moz-border-radius-topright: 6px;
  -webkit-border-top-right-radius: 6px;
  border-top-right-radius: 6px;
}
.tabs ul.primary li.active a {
  background-color: #ffffff;
}
.tabs ul.secondary {
  border-bottom: none;
  padding: 0.5em 0;
}
.tabs ul.secondary li {
  display: block;
  float: left; /* LTR */
}
.tabs ul.secondary li:last-child {
  border-right: none; /* LTR */
}
.tabs ul.secondary li:first-child {
  padding-left: 0; /* LTR */
}
.tabs ul.secondary li a {
  padding: 0.25em 0.5em;
}
.tabs ul.secondary li a.active {
  background: #f2f2f2;
  border-bottom: none;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  border-radius: 5px;
}
ul.action-links {
  list-style: none;
  margin: 5px;
  padding: 0.5em 1em;
}
ul.action-links li {
  display: inline-block;
  margin-left: 10px;
}
ul.action-links li a {
  padding-left: 15px;
  background: url(../images/add.png) no-repeat left center;
  margin: 0 10px 0 0;
}
/* ---------------- Form  ----------------- */
#right form {
border:solid 1px #f3f3dc;
background:#fcfce5;

padding:10px;   
 -moz-border-radius: 15px;
  -webkit-border-radius: 15px;   
  -khtml-border-radius: 15px;  
  border-radius: 15px;
  box-shadow: 5px 5px 6px #eee;
}
/* ---------------- News  ----------------- */
#right .node-news {
background:#fcfce5;
padding:10px;  
margin-bottom:5px; 
border:solid 1px #f3f3dc;
padding:10px;   
 -moz-border-radius: 15px;
  -webkit-border-radius: 15px;   
  -khtml-border-radius: 15px;  
  border-radius: 15px;
}
/* ---------------- GuestBook  ----------------- */
.node-guest-book .comment-wrapper h2.title{
display:none;
}
.node-guest-book .comment-wrapper h2.comment-form {
display:block;
}
/* ---------------- FAQ  ----------------- */
.faq-question-answer{
margin-bottom:20px;
}

/* ---------------- Messages  ----------------- */

#messages {
  padding: 20px 0 5px;
  margin: 0 auto;
}
.featured #messages {
  background: #f0f0f0;
  background: rgba(30, 50, 10, 0.08);
}
div.messages {
  margin: 8px 15px;
}

/* -------------- Shortcut Links -------------- */

.shortcut-wrapper {
  margin: 2.2em 0 1.1em 0; /* Same as usual h1#page-title margin. */
}
.shortcut-wrapper h1#page-title {
  float: left; /* LTR */
  margin: 0;
}
div.add-or-remove-shortcuts {
  padding-top: 0.9em;
}
.overlay div.add-or-remove-shortcuts {
  padding-top: 0.8em;
}
/* -------------- Gallery -------------- */

.field-name-field-gallery .field-item{
padding:8px;
width:100px;
height:100px;
float:left;
text-align:center;
}

.field-name-field-gallery .field-item img{
box-shadow: 5px 5px 6px #eee;
border-radius:6px;
-webkit-border-radius:6px;
-moz-border-radius:5px;
-khtml-border-radius:10px;
}

.field-name-field-gallery .field-item img:hover{

}

.field-name-field-avatar .field-item{
text-align:center;
}
.field-name-field-avatar .field-item img{
box-shadow: 5px 5px 6px #eee;
border-radius:6px;
-webkit-border-radius:6px;
-moz-border-radius:5px;
-khtml-border-radius:10px;

}
.view-gallery h2 a{
text-decoration:none;
}
.view-gallery td{
vertical-align:top;
padding:5px; 
}
.view-gallery .link-wrapper{display:none;}

a.noviewuser{
display:block;
width:256px;
height:40px;
background: url(images/eye.png) no-repeat center;
margin-left:10px;
margin-bottom:10px;
}