/**
 * @file
 * Page Styling
 *
 * Style the markup found in page.tpl.php. Also includes some styling of
 * miscellaneous Drupal elements that appear in the $content variable, such as
 * ul.links, .pager, .more-link, etc.
 */


/*
 * Body
 */

body {
  margin: 0;
  padding: 0;
  background: url(../images/body-bg.png) #eee;
}

#page {
}

/*
 * The skip-link link will be completely hidden until a user tabs to the link.
 * See the element-focusable rule in system.base.css.
 */

#skip-link {
  margin: 0;
}
#skip-link a,
#skip-link a:visited {
  display: block;
  width: 100%;
  padding: 2px 0 3px 0;
  text-align: center;
  background-color: #666;
  color: #fff;
}

/*
 * Header
 */
#tn {
	 position:absolute;
	 width:100%;
 top:0;
padding:6px 10px;
   transition: 0.3s ease 0s;
-moz-transition: 0.3s ease 0s;
-webkit-transition: 0.3s ease 0s;
-o-transition: 0.3s ease 0s;
border-bottom: 1px solid #000000;
} 
#tn:hover {background: rgba(255,255,255,0.5);}
#tn:hover a {color:#fff;}
#header {
	margin:0 0 12px 0;
	 	border-radius: 0px 0px 5px 5px; 
-moz-border-radius: 0px 0px 5px 5px; 
-webkit-border-radius: 0px 0px 5px 5px;
	padding: 54px 0 12px;
background: url(../images/header-bg.png);
-webkit-box-shadow: 0 10px 10px -10px #5C2E24;
-moz-box-shadow: 0 10px 10px -10px #5C2E24;
 box-shadow: 0 10px 10px -10px #5C2E24;
 border-bottom:1px solid #ccc;
}
#logo { /* Wrapping link for logo */
  float: left;
  margin: 0;
  padding: 0;
  margin-left:2%;
}
#logo img {
  vertical-align: bottom;
}

#logo-text {
float: left;
margin-left: 1%;
margin-top: 3%;
	}
#name-and-slogan { /* Wrapper for website name and slogan */
  float: left;
  text-align:center;
  line-height:2;
}
#site-slogan { /* The slogan (or tagline) of a website */
font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
font-weight:100;
font-size:1.2em;
color:#FFFFFF;
}

#site-name { /* The name of the website */
  margin: 0;
  line-height: 1.5em;
}
#site-name a:link,
#site-name a:visited {
  color: #000;
  text-decoration: none;
}
#site-name a:hover,
#site-name a:focus {
  text-decoration: underline;
}

.region-header { /* Wrapper for any blocks placed in the header region */
  clear: both; /* Clear the logo */
}

/*
 * Main (container for everything else)
 */

#main {
margin: 0 auto;
padding:0 10px;
}

/*
 * Content
 */

.contbox {
width:72.1%;
float:left;
margin-right:-72.1%;
}
/*.region-undercont {float:left;}*/
.region-highlighted {
}

.breadcrumb {
	font-size:11px; /* The path to the current page in the form of a list of links */
}
.breadcrumb a { /* The path to the current page in the form of a list of links */
color: #1D5B89;
}
.breadcrumb ol {
  margin: 0 0 10px 0;
  padding: 0 10px;
}
.breadcrumb li {
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1.title, /* The title of the page */
h2.node-title, /* Title of a piece of content when it is given in a list of content */
h2.block-title, /* Block title */
h2.title, /* Comment section heading */
h2.comment-form, /* Comment form heading */
h3.title { /* Comment title */
  margin: 0;
  font-size:1.2em;
  line-height:2em;
}

tr.even { /* Some tables have rows marked even or odd. */
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

tr.odd {
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

div.messages { /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
  margin: 1.5em 0; /* Drupal core uses "6px 0" margin */
  	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
div.messages ul {
  margin-top: 0;
  margin-bottom: 0;
}

div.status { /* Normal priority messages */
}

div.warning,
tr.warning { /* Medium priority messages */
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
}

div.error,
tr.error { /* High priority messages. See also the .error declaration below. */
}

.error { /* Errors that are separate from div.messages status messages. */
  /* color: #e55; */ /* Drupal core uses a #e55 background */
}

.warning { /* Warnings that are separate from div.messages status messages. */
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
}

.tabs { /* See also the tabs.css file. */
}

.region-help { /* Help text on a page */
}

.more-help-link { /* Link to more help */
}

.region-content { /* Wrapper for the actual page content */
}

ul.inline { /* List of links generated by theme_links() */
  display: inline;
  padding: 0;
}
ul.inline li {
  display: inline;
  list-style-type: none;
  padding: 0 1em 0 0; /* LTR */
}
span.field-label { /* The inline field label used by the Fences module */
  padding: 0 1em 0 0; /* LTR */
}

.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
  padding: 0;
}
.item-list .pager li { /* Each page number in the pager list */
  padding: 0 0.5em;
}

.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
position:relative;
top:10px;
}

.more-link { /* Aggregator, blog, and forum more link */
}

/*
 * First sidebar (on left in LTR languages, on right in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-first
 * (see the layout.css file.)
 */
#sidebar {
	position:relative;
	}
	
.region-sidebar-first {
	border-radius: 5px; 
-moz-border-radius: 5px; 
-webkit-border-radius: 5px; 
background: url(../images/sidebar-bg.png);
}

/*
 * Second sidebar (on right in LTR languages, on left in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-second
 * (see the layout.css file.)
 */

.region-sidebar-second {
	}

.region-sidebar-second .block{
	font-family: 'OpenSans-Reg', Verdana, Tahoma, "DejaVu Sans", sans-serif;

	background:rgba rgba(0,0,0,1);
border-radius: 5px; 
-moz-border-radius: 5px; 
-webkit-border-radius: 5px; 
}



/*
 * Footer
 */

#footer {
	border-top: 1px solid #efefef;
	border-bottom: 1px solid #EFEFEF;
	padding:16px;
	margin:10px 10px 0 10px;
	border-radius: 5px; 
-moz-border-radius: 5px; 
-webkit-border-radius: 5px; 
	background:rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 10px 10px -10px #333;
-moz-box-shadow: 0 10px 10px -10px #333;
 box-shadow: 0 10px 10px -10px #333;
}

/*
 * Page bottom
 */

.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
}

#preload {display:none;}

#content .field-name-body p {margin:0 0 1em 0;}

ol.search-results {padding: 0 20px;}

p.search-snippet {margin-bottom:2px;}

.front table {margin:0;}
.front table img {border:4px solid #fff;}
.front table img:hover{border:4px solid #39F;}