/*
Theme Name: Paul Donnell
Description: The original Paul Donnell theme.
Version: 1.5
Author: Paul Donnell
*/

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
max-width: 100%; 
height: auto; 
}
.alignleft,
img.alignleft {
display: inline;
float: left;
margin-right: 24px;
margin-top: 4px;
}
.alignright,
img.alignright {
display: inline;
float: right;
margin-left: 24px;
margin-top: 4px;
}
.aligncenter,
img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
margin-bottom: 0;
}
.wp-caption {
background: #f1f1f1;
line-height: 18px;
margin-bottom: 20px;
max-width: 632px !important; 
text-align: center;
}
.wp-caption img {
margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
color: #888;
font-size: 12px;
margin: 5px;
}
.wp-smiley {
margin: 0;
}
.gallery {
margin: 0 auto 18px;
}
.gallery .gallery-item {
float: left;
margin-top: 0;
text-align: center;
width: 33%;
}
.gallery-columns-2 .gallery-item {
width: 50%;
}
.gallery-columns-4 .gallery-item {
width: 25%;
}
.gallery img {
border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
max-width: 92%;
height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
max-width: 84%;
height: auto;
}
.gallery .gallery-caption {
color: #888;
font-size: 12px;
margin: 0 0 12px;
}
.gallery dl {
margin: 0;
}
.gallery img {
border: 10px solid #f1f1f1;
}
.gallery br+br {
display: none;
}
#content .attachment img {
margin: 0 auto;
}
.maincontent ul, .maincontent ol{margin:20px 0;}
.maincontent ul li, .maincontent ol li{margin:5px 0 5px 20px; line-height:20px;}
input[type="text"], input[type="email"], textarea {
  background: #555555 none repeat scroll 0 0;
  border: 1px solid #888;
  padding: 5px;
  width: 95%;
}
input[type="submit"] {
  background: none repeat scroll 0 0 #A9743F;
  border: 0 none;
  color: #ffffff;
  cursor: pointer;
  padding: 5px 10px;
}
input[type="submit"]:hover {
  background: none repeat scroll 0 0 #000000;
  color: #ffffff;
}
.header .nav ul ul{
background:#00A9C0;
min-width:200px;
}
.header .nav ul ul li{
border-top:1px solid #ffffff;
float:none;
}
.header .nav ul ul li a{
margin:0;
padding:5px 10px;
height:auto;
line-height:20px;
color:#ffffff !important;
}
.header .nav ul ul li a:hover{
background:#000000;
color:#ffffff !important;
}

*{
padding:0;
margin:0;
}

body.mceContentBody{
background:none;
color:#000000;
}

body,table{
font-family:Arial, Helvetica, sans-serif;
font-size:13px;
color:#e6ccbf;
}

body{
background:url(images/body_bg.jpg) no-repeat;
background-size:cover;	
}

img, fieldset{
border:0;
}

table{
width:100%;
}

p{
line-height:24px; 
margin-bottom:20px;
}

a{
outline:none;
text-decoration:none;
color:#f19f4e;
}

a:hover{
color:#ff0000;
}

h1{
font-size:25px; 
font-weight:normal;
margin-bottom:5px;
}

h3{
font-weight:normal;
font-size:20px;
}

.clear{
clear:both;
}

p.marginB{
margin:0;
}

.wrapper{
width:764px; 
margin:30px auto;
}

.header{background:url(images/header_bg.jpg) no-repeat; padding:26px 40px;}
.header ul li{list-style:none; float:left;}
.header .nav{float:left;}
.header .nav ul li{background:url(images/border.png) 0 50% no-repeat;}
.header .nav ul li:first-child{background:none;}
.header .nav ul li.border_none{background:none;}
.header .nav ul li a{display:block; line-height:35px; height:35px; color:#f6f7f8; text-transform:uppercase; margin:0 11px 0 18px; font-size:20px; font-weight:lighter;}
.header .nav ul li a:hover{color:#f19f4e;}
.header .nav ul li:first-child a{margin-left:0;}
.header .social{width:115px; float:right;}
.header .social ul li img{float:left;}

.banner{border:solid 2px #e6ccbf; border-left:none;  border-right:none; padding:0; position:relative;}
.banner .logo{position:absolute; width:100%; top:43%; text-align:center;}

.mainbody{background:url(images/mainbody_bg.jpg) no-repeat; padding:35px 50px;background-size:cover;}
.content .cont_left{float:left; width:400px;}
.content .cont_right{float:right; width:210px;}
.content .cont_right img.border{border:solid 2px #d7cbcf;}
.content .cont_right h3{font-weight:bold; font-stretch:condensed; font-size:22px; margin-bottom:15px;}
.content .cont_right .moduletable {
  margin-bottom: 30px;
}
.footer{background:none; padding:0 105px;}
.footer .menu ul li{background:url(images/f_border.png) 0 50% no-repeat;}
.footer .menu ul li a{font-size:14px; margin:0 5px 0 10px; line-height:26px; height:26px;}
.footer .social1{width:90px;}
.page-id-21 .content {
  margin: 0 auto 50px;
  width: 400px;
}
.content {
  min-height: 300px;
  height:auto !important;
  height:300px;
  margin-bottom: 50px;
}
.content img {
  border: 1px solid #333;
}
.envirabox-opened .envirabox-title {
  display: none;
}
.content td:nth-child(2n) {
  padding-left: 20px;
}
iframe {
  border: 1px solid #333333;
  margin-bottom: 10px;
}

div.pdfemb-toolbar div.pdfemb-poweredby {
  display: none !important;
  float: right;
}

/*#mycustomscroll {
height: 600px;
overflow: auto;
position: relative;
}*/