/*
Theme Name:   Tax Aid
Theme URI:    http://www.taxaidforseafarers.co.uk
Description:  Bespoke WordPress Theme
Version:      1.0
Author:       George Smerin
Author URI:   http://www.smerin.com
Tags: 				responsive-layout 
License:      GNU General Public License version 3.0
License URI:  http://www.gnu.org/licenses/gpl-3.0.html

*/
/* Reset / Normalise Styles ------------------------------
------------------------------------------------------- */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

sub {
  vertical-align: sub;
  font-size: smaller;
}

sup {
  vertical-align: super;
  font-size: smaller;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Basic Styles and Typography ---------------------------
------------------------------------------------------- */
body {
  background: #FFF;
  color: #454545;
  font-family: "Capriola", "Helvetica Neue", Helvetica, sans-serif;
  font-size: 14px;
  line-height: 22px;
}

a {
  color: #3d98a5;
  text-decoration: none;
  -webkit-transition-property: color;
  -moz-transition-property: color;
  -o-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
a:hover {
  color: #2f7680;
}

h1 {
  font-size: 36px;
  line-height: 44px;
  margin: 11px 0;
  padding: 11px 0;
}

h2 {
  font-size: 24px;
  line-height: 33px;
  margin: 11px 0;
  padding: 11px 0;
}

h2 .large {
  font-size: 36px;
}

h3 {
  font-size: 20px;
  line-height: 22px;
  margin: 11px 0 0;
  padding: 11px 0;
}

h4 {
  font-size: 18px;
  line-height: 22px;
}

h5 {
  font-size: 16px;
  line-height: 22px;
}

h6 {
  font-size: 14px;
  line-height: 22px;
}

h1, h2, h3, h4, h5, h6 {
  color: #454545;
  font-family: "Capriola", "Helvetica Neue", Helvetica, sans-serif;
}

p {
  margin-bottom: 22px;
}

ul, ol {
  margin: 22px 0 22px 20px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

ul ul,
ol ol {
  margin-top: 0;
  margin-bottom: 0;
}

address {
  margin-bottom: 22px;
}

form {
  margin-bottom: 22px;
}

small {
  font-size: 75%;
}

img {
  width: inherit;
  max-width: 100%;
  height: auto;
}

blockquote {
  margin-bottom: 22px;
  padding: 11px 20px;
  background: #FFF;
  font-weight: 700;
}

blockquote p:last-of-type {
  margin-bottom: 0;
}

blockquote cite {
  font-weight: 400;
  display: block;
  text-align: right;
}

q:before,
q:after {
  content: '"';
}

table {
  border-collapse: collapse;
}

table, th, td {
  padding: 4.5px 10px;
  border: 1px dashed #cccccc;
  text-align: left;
}

table {
  max-width: 100%;
  overflow: scroll;
}

dl {
  margin-bottom: 22px;
}

dt {
  font-weight: bold;
}

dd {
  padding-left: 10px;
}

input[type="email"],
input[type="text"],
input[type="search"],
input[type="submit"],
input[type="tel"],
input[type="password"],
input[type="url"],
textarea {
  position: relative;
  max-width: 100%;
  margin: 5.5px 5px 5.5px 0;
  padding: 5.5px 10px;
  line-height: 22px;
  background: #FFF;
  color: #454545;
  border: none;
  font-size: 14px;
  font-family: "Capriola", "Helvetica Neue", Helvetica, sans-serif;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 5px;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 5px;
  box-shadow: rgba(0, 0, 0, 0.2) 0 0 5px;
}

label {
  margin: 0;
  position: relative;
  max-width: 100%;
  margin: 5.5px 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  padding: 5.5px 10px 5.5px 0;
}

.button,
input[type="submit"],
.tag-links a {
  display: inline-block;
  margin: 0 5px 5.5px 0;
  padding: 11px 25px 9px;
  line-height: 22px;
  background: #3d98a5;
  color: #FFF;
  cursor: pointer;
  -webkit-transition-property: all;
  -moz-transition-property: all;
  -o-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
}
.button:hover,
input[type="submit"]:hover,
.tag-links a:hover {
  background: #55b3c0;
  color: #FFF;
}

/* Basic Layout ------------------------------------------
------------------------------------------------------- */
.wrap {
  width: 95%;
  max-width: 600px;
  margin: 0 auto;
}
@media only screen and (min-width: 760px) {
  .wrap {
    max-width: 1000px;
  }
}

#main .wrap {
  padding: 22px 0 44px;
}

@media only screen and (min-width: 760px) {
  #primary {
    float: left;
    width: 60%;
    margin-right: 5%;
    padding-bottom: 22px;
  }
}

@media only screen and (min-width: 760px) {
  #secondary {
    float: left;
    width: 35%;
  }
}

.column {
  margin-bottom: 22px;
  text-align: center;
}
@media only screen and (min-width: 760px) {
  .column {
    float: left;
    margin-bottom: 0;
    text-align: left;
  }
}

@media only screen and (min-width: 760px) {
  .column-third {
    width: 30%;
    margin-right: 5%;
  }
}

@media only screen and (min-width: 760px) {
  .last-column {
    margin-right: 0;
  }
}

/* Header ------------------------------------------------
------------------------------------------------------- */
#masthead {
  position: relative;
  min-height: 66px;
}

#site-logo {
  margin: 11px 0 5.5px;
}
@media only screen and (min-width: 760px) {
  #site-logo {
    width: 45%;
    float: left;
  }
}

#site-logo img {
  width: 180px;
}
@media only screen and (min-width: 760px) {
  #site-logo img {
    width: 100%;
  }
}

#header-contact {
  display: none;
  text-align: right;
}
@media only screen and (min-width: 760px) {
  #header-contact {
    display: block;
    width: 30%;
    float: right;
    padding: 77px 0 0;
  }
}

.contact-info p {
  margin-bottom: 11px;
}

.contact-info ul {
  margin: 0 0 22px;
}

.contact-info li {
  display: inline-block;
  list-style: none;
  font-size: 24px;
  margin: 0 0 11px;
  padding-left: 36px;
  min-width: 200px;
  background-image: url("images/icon-phone.png");
  background-repeat: no-repeat;
  background-position: 0 50%;
  color: #3d98a5;
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  .contact-info li {
    background-image: url("images/icon-phone-2x.png");
    -webkit-background-size: 28px 19px;
    -moz-background-size: 28px 19px;
    background-size: 28px 19px;
  }
}

@media only screen and (min-width: 760px) {
  #menu-bar-wrap {
    background: #FFF;
    border-top: 3px solid #3d98a5;
    border-bottom: 3px solid #3d98a5;
    padding: 3px 0;
  }
}

#menu-bar {
  background: #3d98a5;
}

#main-menu ul {
  display: none;
  margin: 0;
  padding: 0;
}
@media only screen and (min-width: 760px) {
  #main-menu ul {
    display: block;
  }
}

#main-menu .sub-menu {
  display: none;
  position: absolute;
  z-index: 1000;
  width: 260px;
  background: #3d98a5;
}

#main-menu li:hover .sub-menu {
  display: block;
}

.sub-menu li {
  width: 260px;
}

#main-menu li {
  border-bottom: 1px solid #44a9b8;
  text-align: center;
  list-style: none;
}
@media only screen and (min-width: 760px) {
  #main-menu li {
    border: none;
    text-align: left;
    float: left;
    margin-right: 10px;
  }
}

#main-menu li a {
  display: block;
  padding: 11px 20px;
  color: #FFF;
}
#main-menu li a:hover {
  background: #368792;
}
@media only screen and (min-width: 760px) {
  #main-menu li a {
    text-align: left;
  }
}

.menu-toggle {
  position: absolute;
  top: 11px;
  right: 20px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  background-image: url("images/icon-menu.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  text-indent: -9999px;
  cursor: pointer;
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  .menu-toggle {
    background-image: url("images/icon-menu-2x.png");
    -webkit-background-size: 44px 44px;
    -moz-background-size: 44px 44px;
    background-size: 44px 44px;
  }
}
@media only screen and (min-width: 760px) {
  .menu-toggle {
    display: none;
  }
}

#hero-image {
  position: relative;
  background: #3d98a5;
  padding: 10px 0 0;
}
@media only screen and (min-width: 760px) {
  #hero-image {
    background: #e5e5e5;
    padding: 0;
  }
}

#hero-image img {
  display: block;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.price-badge {
  display: none;
  width: 150px;
  height: 150px;
  padding-top: 25px;
  background-image: url("images/badge-price-150.png");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  text-align: center;
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  .price-badge {
    background-image: url("images/badge-price-150-2x.png");
    -webkit-background-size: 150px 150px;
    -moz-background-size: 150px 150px;
    background-size: 150px 150px;
  }
}
@media only screen and (min-width: 760px) {
  .price-badge {
    display: block;
    position: absolute;
    top: 30px;
    left: 20px;
    z-index: 99999;
  }
}
@media only screen and (min-width: 980px) {
  .price-badge {
    width: 200px;
    height: 200px;
    background-image: url("images/badge-price-200.png");
    padding-top: 35px;
    top: 10%;
    left: 5%;
  }
}
@media only screen and (min-width: 980px) and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-width: 980px) and (min--moz-device-pixel-ratio: 1.5), only screen and (min-width: 980px) and (-o-min-device-pixel-ratio: 3 / 2), only screen and (min-width: 980px) and (min-device-pixel-ratio: 1.5), only screen and (min-width: 980px) and (min-resolution: 1.5dppx) {
  .price-badge {
    background-image: url("images/badge-price-200-2x.png");
    -webkit-background-size: 200px 200px;
    -moz-background-size: 200px 200px;
    background-size: 200px 200px;
  }
}

.price-badge .price {
  font-size: 44px;
  line-height: 44px;
  margin-bottom: 8px;
}
@media only screen and (min-width: 980px) {
  .price-badge .price {
    font-size: 66px;
    line-height: 66px;
  }
}

.price-badge p {
  font-size: 16px;
  line-height: 20px;
  margin: 0;
  color: #FFF;
}
@media only screen and (min-width: 980px) {
  .price-badge p {
    font-size: 20px;
    line-height: 28px;
  }
}

/* Home Content ------------------------------------------
------------------------------------------------------- */
.job-list {
  margin-left: 0;
}

.job-list li {
  float: left;
  width: 50%;
  list-style: none;
  padding-left: 30px;
  margin: 0 0 22px;
  background-image: url("images/icon-help.png");
  background-repeat: no-repeat;
  background-position: 0 50%;
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  .job-list li {
    background-image: url("images/icon-help-2x.png");
    -webkit-background-size: 22px 22px;
    -moz-background-size: 22px 22px;
    background-size: 22px 22px;
  }
}
@media only screen and (min-width: 760px) {
  .job-list li {
    width: 33.33333333%;
  }
}

#entry-contact {
  background: url("images/shadow-930.png") no-repeat 50% 0;
  background-size: 100% 20px;
  width: 108%;
  margin: 22px -4% 0;
  padding: 44px 4% 0;
}

#entry-contact ul {
  margin: 22px 0;
}

#entry-contact li {
  margin-right: 20px;
}

#post-25 .contact-info {
  margin-bottom: 44px;
}

#post-25 .contact-info li {
  display: block;
  margin-bottom: 22px !important;
}

.contact-info li.fax {
  background-image: url("images/icon-fax.png");
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  .contact-info li.fax {
    background-image: url("images/icon-fax-2x.png");
    -webkit-background-size: 24px 24px;
    -moz-background-size: 24px 24px;
    background-size: 24px 24px;
  }
}

.contact-address {
  padding-left: 36px;
  background-image: url("images/icon-address.png");
  background-repeat: no-repeat;
  background-position: 0 5px;
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 33px !important;
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  .contact-address {
    background-image: url("images/icon-address-2x.png");
    -webkit-background-size: 24px 24px;
    -moz-background-size: 24px 24px;
    background-size: 24px 24px;
  }
}

.wpcf7-textarea {
  width: 100%;
  height: 132px;
}

.navigation {
  background: url("images/shadow-930.png") no-repeat 50% 0;
  background-size: 100% 20px;
  width: 108%;
  margin: 44px -4% 22px;
  padding: 44px 4% 22px;
}

/* Sidebar -----------------------------------------------
------------------------------------------------------- */
.widget {
  padding: 11px 20px;
  background: #3d98a5;
  color: #FFF;
  margin: 22px 0;
  border-bottom-left-radius: 20px;
  border-top-right-radius: 20px;
}

.widget * {
  color: #FFF;
}

.widget a:hover {
  color: #9fd4dc;
}

.widget h3 {
  border-bottom: 2px dashed #FFF;
  margin-top: 0;
}

.widget_recent_entries {
  background: #e59b28;
}

.widget_recent_entries ul {
  margin: 11px 0;
}

.widget_recent_entries li {
  background-image: url("images/icon-widget-list.png");
  background-repeat: no-repeat;
  background-position: 0 50%;
  list-style: none;
  padding-left: 30px;
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  .widget_recent_entries li {
    background-image: url("images/icon-widget-list-2x.png");
    -webkit-background-size: 18px 15px;
    -moz-background-size: 18px 15px;
    background-size: 18px 15px;
  }
}

.widget_recent_entries li a {
  display: block;
  padding: 5.5px 0;
}
.widget_recent_entries li a:hover {
  color: #f6dab0;
}

.download-list {
  margin-left: 0;
}

.download-list li {
  list-style: none;
}

.download-list li p {
  margin-bottom: 14px;
}

.download-list h4 {
  font-size: 14px;
}

.download-list a:hover * {
  color: #c5e5e9;
}

.download-list li a {
  display: block;
  padding: 8px 0 0 60px;
  background-image: url("images/icon-download.png");
  background-repeat: no-repeat;
  background-position: 0 0;
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  .download-list li a {
    background-image: url("images/icon-download-2x.png");
    -webkit-background-size: 50px 50px;
    -moz-background-size: 50px 50px;
    background-size: 50px 50px;
  }
}

/* Footer ------------------------------------------------
------------------------------------------------------- */
#colophon {
  background: #3d98a5;
  color: #FFF;
}

#colophon:before {
  display: block;
  width: 100%;
  height: 6px;
  display: block;
  background: #FFF;
  border-top: 3px solid #3d98a5;
  content: '';
}

#colophon .wrap {
  padding: 22px 0;
}

#colophon a {
  color: #FFF;
}
#colophon a:hover {
  color: #9fd4dc;
}

#footer-columns {
  padding: 11px 0 22px;
}

#footer-logo {
  width: 230px;
  position: relative;
  top: -10px;
  margin: 0 auto;
}
@media only screen and (min-width: 760px) {
  #footer-logo {
    margin: 0;
  }
}

#footer-navigation ul {
  margin: 0;
}

#footer-navigation li {
  list-style: none;
}

#footer-navigation li a {
  display: block;
  padding: 2.75px 0;
}

#footer-navigation .sub-menu {
  display: none;
}

#colophon-contact {
  text-align: center;
}
@media only screen and (min-width: 760px) {
  #colophon-contact {
    text-align: right;
  }
}

#colophon .contact-info li {
  background-image: url("images/icon-phone-white.png");
  color: #FFF;
  margin-right: 10px;
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3 / 2), (min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  #colophon .contact-info li {
    background-image: url("images/icon-phone-white-2x.png");
    -webkit-background-size: 28px 19px;
    -moz-background-size: 28px 19px;
    background-size: 28px 19px;
  }
}
@media only screen and (min-width: 760px) {
  #colophon .contact-info li {
    margin-right: 0;
  }
}

.site-info {
  border-top: 2px dashed #FFF;
  padding: 22px 0;
}
@media only screen and (min-width: 760px) {
  .site-info {
    padding-top: 11px;
  }
}

.site-info p {
  display: block;
  width: 100%;
  text-align: center;
}
@media only screen and (min-width: 760px) {
  .site-info p {
    width: inherit;
  }
}

/* Miscellaneous -----------------------------------------
------------------------------------------------------- */
.group:before,
.group:after,
.list-horizontal:before,
.list-horizontal:after {
  display: table;
  content: "";
}

.group:after,
.list-horizontal:after {
  clear: both;
}

/* IE 6/7 hack */
.group,
.list-horizontal {
  *zoom: 1;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignright {
  float: right;
  margin: 0 0 11px 20px;
}

.alignleft {
  float: left;
  margin: 0 20px 11px 0;
}

.floatleft {
  float: left;
}

.floatright {
  float: right;
}

.textcenter {
  text-align: center;
}

.textright {
  text-align: right;
}

.textleft {
  text-align: left;
}
