/*   
Theme Name: MAFFEI Theme
Theme URI: http://davidkerrdesign.com
Description: Designed by David Kerr, coded by AgaveWeb, LLC, based on Simon- a blank theme that provides the most flexibility for creating child themes from Simon WP Framework. 
Author: SWD
Author URI: http://simonwebdesign.com
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 1000.4.1
Tags: light, white, black, gray, two-columns, right-sidebar, fixed-width, custom-background, post-formats
*/

body {
     margin: 0;
    padding:0;
    background: none repeat scroll 0 0 #FFFFFF;
    border-top: 7px solid #0078BA;
}
html {
      overflow-y: scroll; 
}
.outer_wrap {
    margin: 0 auto;
    width: 980px;
}
.inner_wrap {
    padding: 0;
}
.flex_10 {
    float: left;
    width: 10%;
}
.flex_20 {
    float: left;
    width: 20%;
}
.flex_25 {
    float: left;
    width: 25%;
}
.flex_33 {
    float: left;
    width: 33%;
}
.flex_50 {
    float: left;
    width: 50%;
}
.flex_66 {
    float: left;
    width: 67%;
}
.flex_75 {
    float: left;
    width: 75%;
}
.flex_80 {
    float: left;
    width: 80%;
}
.flex_90 {
    float: left;
    width: 90%;
}
.flex_100 {
    width: 100%;
}
.flex_vert_pad {
    padding: 10px 0 15px;
}
.clear {
    clear: both;
}
#column1 {
    float: left;
    width: 569px;
    padding-right: 15px;
}
#column2 {
    float: left;
    padding-left: 13px;
    width: 383px;
}
#header {
    border-bottom: 1px solid #DDDDDD;
    height: 120px;
    margin-top: 15px;
}
#navigation {
    clear: both;
    display: block;
    float: right;
    margin: 93px -6px 0px 0;
    padding: 0;
}
#navigation a {
    color: #777777;
    font-size: 18px;
    font-weight: 200 !important;
    text-transform: uppercase;
}
#navigation li li a {
    color: #777777;
}
#navigation ul {
    list-style: none outside none;
    margin: 0;
    padding-left: 0;
}
#navigation li {
    float: left;
    position: relative;
}
#navigation a {
    border-left: 1px solid #DDDDDD;
    display: block;
    font-weight: bolder;
    line-height: 100%;
    padding: 0px 10px;
    text-decoration: none;
}
#navigation li:nth-child(1) a {
    border-left: medium none;
}
#navigation ul ul {
    display: none;
    float: left;
    left: 0;
    margin: 0;
    position: absolute;
    top: 3.333em;
    width: 188px;
    z-index: 99999;
}
#navigation ul ul ul {
    left: 100%;
    top: 0;
}
#navigation ul ul a {
    background: none repeat scroll 0 0 #777777;
    color: #444444;
    font-size: 13px;
    font-weight: normal;
    height: auto;
    line-height: 1.4em;
    padding: 10px;
    width: 168px;
}
#navigation li:hover > a, #navigation ul ul *:hover > a, #navigation a:focus {
    color: #333333;
}
#navigation li:hover > a, #navigation a:focus {
    color: #333333;
}
#navigation ul li:hover > ul {
    display: block;
}
#navigation .current_page_item > a, #navigation .current_page_ancestor > a {
}
.post table {
    width: 100%;
}
.post td, th {
    padding: 12px;
}
.post td {
    text-align: center;
}
.post th {
    font-weight: bolder;
}
dt {
    font-weight: bolder;
}
dd {
    color: #333333;
    margin: 0 0 10px 10px;
}
address {
    margin: 0 0 10px;
    padding: 10px;
    width: 200px;
}
.post img {
    height: auto;
    max-width: 100%;
}
.post, .type-post, .type-page {
    background: none repeat scroll 0 0 #FFFFFF;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignleft {
    clear: both;
    float: left;
    margin: 0 20px 20px 0;
}
.alignright {
    clear: both;
    float: right;
    margin: 0 0 20px 20px;
}
.attachment-post-thumbnail {
    border: 5px solid #FFFFFF;
    float: left;
    margin: 0 20px 20px 0;
    min-width: inherit;
    overflow: hidden;
}
.footsearch {
    border-bottom: 1px solid #DDDDDD;
    overflow: hidden;
    padding: 7px 0;
    width: 100%;
}
#footer {
    color: #777777;
    font-size: 12px;
    padding: 1px 0;
}
#footer a {
    color: #777777;
}
#ssba {
    float: right;
    text-transform: uppercase;
}
#ssba_facebook_share {
    margin-left: 4px;
}
#ssba img {
    vertical-align: top !important;
}
.wp-caption-text {
    background-color: #F3F3F3;
    border: 1px solid #DDDDDD;
    border-radius: 3px 3px 3px 3px;
    margin: 10px;
    padding-top: 4px;
    text-align: center;
}
.wp-caption img {
    border: 0 none;
    margin: 0;
    padding: 0;
}
.wp-caption-dd {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
.pagenavi {
    background: none repeat scroll 0 0 #F3F3F3;
    border: 1px solid #CCCCCC;
    margin: 0 auto 20px;
    padding: 5px;
    width: 400px;
}
.pagenavi a {
    background-color: inherit;
    color: #666666;
    margin: 3px;
    padding: 5px 6px 4px;
    text-decoration: none;
}
.pagenavi a:hover {
    color: #000000;
}
.pagenavi span.pages {
    background-color: inherit;
    color: #333333;
    font-weight: bold;
    margin: 3px;
    padding: 5px 6px 4px;
}
.pagenavi span.current {
    background-color: #CCCCCC;
    color: #FFFFFF;
    font-weight: bold;
    margin: 3px;
    padding: 5px 6px 4px;
}
select {
    border: 1px solid #E3E3E3;
    color: #333333;
    font-family: Arial,Helvetica,Tahoma,sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    margin: 0;
    padding: 0;
    text-decoration: none;
}
textarea {
    border: 1px solid #E3E3E3;
    color: #333333;
    font-family: Arial,Helvetica,Tahoma,sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 22px;
    margin: 0;
    padding: 0;
    text-decoration: none;
    width: 98%;
}
input {
    color: #333333;
    font-family: Arial,Helvetica,Tahoma,sans-serif;
}
label {
    font-weight: bold;
}
fieldset {
    border: 1px solid #CCCCCC;
    margin: 0 0 1.5em;
    padding: 1.4em;
}
legend {
    font-size: 1.2em;
    font-weight: bold;
}
input[type="text"] {
    border: 1px solid #DDDDDD;
    color: #777777;
    display: block;
    font-family: Arial,Helvetica,sans-serif;
    height: 22px;
    margin: 0;
    padding: 0;
    width: 175px;
}
textarea {
    border: 1px solid #CCCCCC;
    color: #777777;
    display: block;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 13px;
    margin: 0;
    padding: 5px;
}
textarea:focus, input[type="text"]:focus {
    border: 1px solid #9A9A9A;
}
#s {
}
#s:focus {
    border: 1px solid #9A9A9A;
}
body {
    color: #45565f;
    font: 14px/21px Helvetica,Arial,Verdana,sans-serif;
}
a {
    color: #0078ba;
    text-decoration: none;
}
a:focus, a:active, a:hover {
    color: #8CC657;
    text-decoration: none;
}
h2, h3, h4, h5, h6 {
    padding: 0;
}
#header h1 {
    background: transparent;
    cursor: pointer;
    float: left;
    height: 113px;
    text-indent: -9999px;
    width: 184px;
    padding:0; margin:-30px 0 0 0;
}
#header img#logo {display:block !important; max-width: 184px; height:113px; }
h1 {
    color: #45565f;
    font-size: 28px;
    line-height: 1em;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin: 0;
    padding: 5px 0px 15px 0;
    text-transform: uppercase;
}
h1 a {
    line-height: 29px;
}
h2 {
    color: #45565F;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin: 0;
    padding: 0;
}

.subtitle {   background: url("images/greenblock.png") no-repeat scroll 0 7px rgba(0, 0, 0, 0);
    clear: both;
    color: #45565F;
    display: block;
    font-size: 15px;
    font-weight: normal;
    letter-spacing: 0;
    margin: 4px 0;
    padding: 0 30px;
    text-transform: none;}

h3 {
    color: #45565F;
    font-size: 18px;
    letter-spacing: -1px;
}
h4 {

    font-size: 16px;
    letter-spacing: -1px;
}
h5 {

    font-size: 14px;
    font-weight: lighter;
}
h6 {

    font-size: 12px;
    font-weight: lighter;
    letter-spacing: -0.5px;
}
p {
    font-size: 14px;
    letter-spacing: 0;
    padding: 0 0 15px;
}
a {
    color: #0088CC;
}
pre {
    background-color: #F3F3F3;
    color: #000000;
    font-size: 11px;
    letter-spacing: 0;
}
cite {
    margin: 0;
    padding: 0;
}
code {
    background-color: #00FF99;
    font-size: 11px;
    letter-spacing: 0;
    padding: 2px;
}
blockquote {
    background: url("images/quotes.png") no-repeat scroll left top transparent;
    color: #333333;
    font-style: italic;
    margin: 5px;
    padding: 10px 10px 0 30px;
}
em {
    font-style: italic;
}
.post ul, .post ol {
    padding: 0 0 10px 30px;
}
.postmetadata {
    border-top: 1px dotted #E3E3E3;
    clear: both;
    color: #777777;
    font-size: 10px;
    line-height: 18px;
    padding: 15px 0 5px;
    text-transform: capitalize;
}
.navigation {
    margin: 0 0 50px;
    padding: 5px;
    text-align: center;
    text-shadow: 0 1px 0 #CCCCCC;
    width: 100%;
}
.navigation a {
    background: none repeat scroll 0 0 #FCFCFC;
    border-radius: 3px 3px 3px 3px;
    color: #555555;
    font-weight: bold;
    margin: 3px;
    padding: 5px 6px 4px;
    text-shadow: 0 1px 0 #FFFFFF;
}
.navigation a:hover {
    background-color: #DFDFDF;
    color: #000000;
    font-weight: bold;
    margin: 3px;
    padding: 5px 6px 4px;
}
.navigation span.pages {
    background-color: inherit;
    color: #333333;
    display: none;
    font-weight: bold;
    margin: 3px;
    padding: 5px 6px 4px;
}
.navigation span.current {
    background-color: #888888;
    border-radius: 3px 3px 3px 3px;
    color: #FFFFFF;
    font-weight: bold;
    margin: 3px;
    padding: 5px 6px 4px;
    text-shadow: 0 1px 0 #333333;
}
#searchform {
    float: right;
}
#searchform input#s {
    padding: 2px 5px;
    width: 250px;
}
#searchform #searchsubmit {
    display: none;
}
.entry {
    margin: 40px 0;
}
ul.tiles li {
    list-style-type: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
}
ul.tiles {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul.tiles .hovertitle {
    display: none;
}
.hovertitle {
    background: none repeat scroll 0 0 #333333;
    bottom: 6px;
    color: #FFFFFF;
    float: left;
    font-size: 17px;
    font-weight: bold;
    opacity: 0.8;
    padding: 8px 0 17px 10px;
    position: absolute;
    width: 178px;
}
.feinttitle {
    background: none repeat scroll 0 0 #333333;
    bottom: 6px;
    color: #FFFFFF;
    float: left;
    font-size: 17px;
    font-weight: bold;
    opacity: 0.5;
    padding: 8px 0 17px 10px;
    position: absolute;
    width: 178px;
}
ul.tiles a:hover .hovertitle {
    display: block;
}
.tiles li {
    float: left;
    margin: 0;
    padding: 0;
    width: 196px;
 height: 142px;
}

#nextPrevPages {
    float: right !important;
    margin-top: 4px;
    margin-bottom: -20px;
}

.more {
    float: left;
    list-style-type: none;
    font-size: 12px;
    color: #888 ;
    padding: 5px;
    margin-top: -7px;
}
.next {
    float: left;
    height: 15px;
    list-style-type: none;
}
.previous {
    float: left;
    height: 15px;
    list-style-type: none;
}
.responsive-menu-label.responsive-menu-label-top,.responsive-menu-label.responsive-menu-label-bottom {
    margin: 0 !important
}