/*
Theme Name: NZPBA
Theme URI: http://pigs.co.nz
Author: NZDroidDev
Author URI: nzdroiddev.oo.gd
Description: Custom WordPress theme for the NZ Pig Breeder Association
Version: 1.0
License: Copyright NZDroidDev/NZ Pig Breeders Association
Text Domain: NZPBA

This theme is copyright / all rights reserved
*/

/***************************************************************\
* Existing styles                                               *
\***************************************************************/
body {
    color: #000000;
    background-color: #ffffff;
    padding: 0px;
    margin: 0px;
    font-family: "Verdana", "Arial", "Helvetica", sans-serif;
}

a:link {
    color: #0000ff;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: #0000ff;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: #0000ff;
    background-color: #ffffff;
    text-decoration: underline;
}

a:active {
    color: #ff0000;
    background-color: #ffffff;
    text-decoration: underline;
}

a:link.dull {
    color: #aaaaaa;
    background-color: transparent;
    text-decoration: none;
}

a:visited.dull {
    color: #aaaaaa;
    background-color: transparent;
    text-decoration: none;
}

a:hover.dull {
    color: #aaaaaa;
    background-color: transparent;
    text-decoration: none;
}

a:active.dull {
    color: #aaaaaa;
    background-color: transparent;
    text-decoration: none;
}

a:link.www {
    color: #000000;
    background-color: transparent;
    text-decoration: none;
}

a:visited.www {
    color: #000000;
    background-color: transparent;
    text-decoration: none;
}

a:hover.www {
    color: #0000ff;
    background-color: #ffffff;
    text-decoration: underline;
}

a:active.www {
    color: #ff0000;
    background-color: #ffffff;
    text-decoration: underline;
}

h1 {
    color: #000000;
    background-color: transparent;
    font-size: 1.3em;
    font-weight: bold;
    font-style: normal;
    text-align: center;
    margin: 0em;
    /*margin-right: 2em;*/
    font-family: "Verdana", "Arial", "Helvetica", sans-serif;
}

h2 {
    color: #000000;
    background-color: transparent;
    font-size: 1.4em;
    font-weight: bold;
    font-style: normal;
    text-align: left;
    margin-top: 2em;
    margin-bottom: 0.7em;
    font-family: "Verdana", "Arial", "Helvetica", sans-serif;
}

h3 {
    color: #000000;
    background-color: transparent;
    font-size: 1.1em;
    font-weight: bold;
    font-style: normal;
    text-align: left;
    margin-bottom: 0.3em;;
    margin-top: 0.6em;
    font-family: "Verdana", "Arial", "Helvetica", sans-serif;
}

p {
    color: #000000;
    background-color: transparent;
    font-size: 1em;
    font-weight: normal;
    font-style: normal;
    text-align: justify;
    margin-top: 0.5em;
    margin-bottom: 0em;
    font-family: "Verdana", "Arial", "Helvetica", sans-serif;
}

td {
    border: none;
    padding: 0px;
    border-spacing: 0px;
    margin: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.nav {
    text-align: center;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 1em;
}

li {
    font-size: 1em;
    font-family: "Verdana", "Arial", "Helvetica", sans-serif;
}

/***************************************************************\
* New styles                                                    *
\***************************************************************/

.wrapper {
    max-width: 100%;
    width: 100%;
    vertical-align: top;
}

.page-content {
    width: 100%;
    vertical-align: top;
}

.sidebar {
    width: 124px;
    float: left;
    padding-top: 279px;
    background: url("images/left_side4y2.gif") no-repeat yellow;
    vertical-align: top;
    height: 100%;
}

.sidebar ul {
    list-style: none;
    padding-left: 0px;
}

.sidebar ul li {
    text-align: center;
}

.sidebar ul li a {
    font-size: 0.8em;
    font-weight: bold;
    font-family: "Verdana", "Arial", "Helvetica", sans-serif;
}

#primary {
    width: 80%;
    float: left;
    background: url("images/left_yell2.gif") no-repeat;
    padding-left: 70px;
}

.dark-line {
    background-color:#a2270a;
    height:20px;
    width: 100%;
    display: block;
    clear: both;
}

.yellow-line {
    background-color: #ffff00;
    height: 20px;
    width: 100%;
    display: block;
    clear: both;
}

.header-wrapper {
    width: 100%;
    float: none;
    display: block;
    height: 111px;
}

.w20pc {
    width: 20%;
}

.w40pc {
    width: 40%;
}

.header-banner {
    background-color: #ffff00;
}

#header-left-pic {
    background: url("images/left_cornery2.gif") no-repeat yellow;
    background-position-y: 9px;
    float: left;
    height: 111px;
}

#header-title {
    background: yellow;
    float: left;
    height: 111px;
    vertical-align: middle;
}

#header-title h1 {
    margin-top: 30px;
}

#header-logo {
    background: url("images/logo.gif") no-repeat yellow;
    background-position-y: 6px;
    background-position-x: 2em;
    float: left;
    height: 111px;
}

.site-footer {
    clear: both;
}

.footer-links {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-link {
    font-size:0.7em;
    display: inline-block;
    text-align: center;
    width: 150px;
}

.footer-banner {
    height: 100px;
    background: yellow;
    padding-left: 30%;
}

.footer-address {
    text-align: left;
    vertical-align: middle;
    width: 30%;
    float: left;
}

.footer-contact {
    float: left;
    padding-left: 5%;
    vertical-align: middle;
    text-align: left;
    padding-top: 27px;
    width: 30%;
}

#contact-link {
    vertical-align: middle;
    font-size: 12pt !important;
}

#powered-by {
    font-family: "Verdana", "Arial", "Helvetica", sans-serif;
    font-size: 0.8em;
    width: 200px;
    margin: 0 auto;
    text-decoration: none;
    text-align: center;
}

.widget-title {
    color: #ff0000;
    font-size: 1em;
    margin-bottom: 0.8em !important;
    margin-top: 0.8em !important;
    text-align: center;
}

.error-404 .page-content,
.error-404 .page-content h2,
.error-404 .page-content p {
    text-align: center !important;
}

.screen-reader-text {
    color: #000000;
    background-color: transparent;
    font-size: 1em;
    font-weight: normal;
    font-style: normal;
    text-align: justify;
    margin-top: 0.5em;
    margin-bottom: 0em;
    font-family: "Verdana", "Arial", "Helvetica", sans-serif;
}

.contact-main .page-title {
    font-size: 2em;
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

.contact-form {
    width: 500px;
    margin: 0 auto;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form p{
    width: 500px;
    margin: 0 auto;
}

.contact-form #address,
.your-address textarea {
    min-height: 80px !important;
}
.contact-form #message-box,
.your-message textarea{
    min-height: 200px !important;
}

.wpcf7-recaptcha,
.wpcf7-recaptcha iframe,
.wpcf7-recaptcha div {
    margin: 0 auto !important;
}

.contact-form #buttons {
    text-align: center;
    margin-top: 20px;
}

.contact-form .btn,
.wpcf7-submit {
    background: #a2270a;
    color: white;
    line-height: 20px;
    border: 1px solid black;
    height: 40px;
    width: 120px;
    vertical-align: middle;
    text-align: center;
    border-radius: 4px;
    font-family: "Verdana", "Arial", "Helvetica", sans-serif;
    display: inline-block;
    cursor: pointer;
}

.contact-form p{
    margin-top: 5px;
}

.error-404 h1 {
    margin-top: 20px;
}

.page-title {
    font-size: 2em;
    margin-top: 30px;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
}

.aligncenter {
    margin: 0 auto;
    text-align: center;
}

img {
display: block;
}

.menu-item {
    padding-bottom: 5px;
}

.links-table {
    width: 50%;
    margin: 0 auto;
}

.wpcf7-form, .wpcf7-form p {
    text-align: center;
    margin: 0 auto;
}