/*
Theme Name: Caitlin Theme
Description: The original Caitlin theme.
Version: 1.5
Author: Caitlin Theme
*/

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 {
  border: 1px solid #cccccc;
  padding: 5px;
  max-width: 100%;
}
input[type="submit"] {
  background: none repeat scroll 0 0 #456275;
  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:14px;
color:#446274;
}

body{
background:url(images/body_bg.jpg) 50% 0 repeat-y;
}

img, fieldset{
border:0;
}

table{
width:100%;
}

p{
line-height:20px; 
margin-bottom:20px;
}

a{
outline:none;
text-decoration:none;
color:#5b1f2d;
}

a:hover{
color:#000;
}

h1{
font-size:20px; 
font-weight:normal;
}

h3{
font-weight:normal;
font-size:20px;
margin-bottom:20px;
}

.clear{
clear:both;
}

.nav ul li a.marginR, 
.content p.marginB, 
.right p.marginB{
margin:0;
}

.wrapper{width:1075px; margin:40px auto;position:relative;}
.left{top: 103px;
float: left;
color:#ffffff;
position: fixed;
width: 300px;}
.left form{color:#fff; font-size:22px; background:#456275; font-family:"Avenir LT Std"; text-align:center; padding:10px 0; }
.left form input[type="email"]{background: none repeat scroll 0 0 #ffffff !important;
border: medium none !important;
display: inline-block !important;
height: 20px !important;
margin-bottom: 10px;
margin-left: auto !important;
margin-right: auto !important;
margin-top: 5px !important;
text-indent: 5px !important;
width: 275px !important;}
.banner img{
width:100%;
}
.mid{margin: 0 auto;
width: 454px;}
.nav{text-align: center;}
.nav ul li{display: inline;
list-style: outside none none;}
.nav ul li a{display:inline-block; line-height:30x; height:30px; color:#ffffff; text-transform:lowercase; font-family:"Avenir LT Std";
 margin:0 6px; font-size:15px;}
.nav ul li a:hover{color:#307482;}
.border{
display:none;
}
.home .border{
display:block;
}
.border .bdr_left{width:35px; height:12px; float:left; background:#3d586b;}
.border .bdr_right{float:right; background:#511d29; width:50px; height:12px;}
.content{background:#fff; color:#446274;  padding:20px;min-height:300px;height:auto !important;height:300px;}
.content iframe{
width:100%;
}
.home .content{
font-size:28px;
text-align:center;
}
.home .content p{line-height:35px; }

.right{top: 0;
position: absolute;
right: 0;
width: 300px;}
.right .text-3{text-align:right; margin:313px 0 60px;}
.right .text-3 img{vertical-align:middle;}
.right .moduletable{
margin-top:20px;
}
.moduletable.text-14, .moduletable.text-15 {
  text-align: right;
font-size:17px;
}

.moduletable.text-14 a:hover, .moduletable.text-15 a:hover{
color:#ffffff;
}
.left .moduletable{
margin-top:50px;
}
table td{
vertical-align:top;
}




img{
max-width:100%;
height:auto;
}




@media all and (max-width: 1150px){
.wrapper{
width: 940px;
}
.right {
  width: 260px;
}
.left {
  width: 260px;
}
.mid {
  width: 400px;
}
.left form input[type="email"] {
  width: 240px !important;
}
.left form {
  font-size: 18px;
}
.right .text-3 img {
  height: 29px;
}
.nav ul li a {
  margin: 0 2px 0 4px;
}
}

@media all and (max-width: 980px){
.wrapper{
width: 710px;
}
.mid {
  width: 100%;
}
.left {
  position: relative;
  width: 300px;
}
.right {
  float: right;
  position: relative;
  width: 300px;
}
.right .text-3 img {
  height: auto;
}
.nav ul li a {
  font-size: 18px;
  margin: 0 18px;
}
.left form {
  font-size: 22px;
}
.right .moduletable {
  margin: 20px 0 0;
}
}

@media all and (max-width: 750px){
.wrapper{
width: 480px;
}
.left, .right {
  width: 100%;
  float:none;
}
}

@media all and (max-width: 500px){
.wrapper{
width: 300px;
}
}