/*
Theme Name:     Harwichlabour
Theme URI:
Author:         One Website Design
Author URI:     https://www.onewebsitedesign.co.uk
Description: 	Fully responsive WordPress theme based on the Foundation 6 framework.
Version:        4.2
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Tags:           one-column, two-columns, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images
Text Domain:    harwichlabour
*/

/*----------------------------------------------------------------------------*\
  #COLOUR PALETTE

    Primary                 #e4003b
    Secondary               #f20f4b
    Header Font             #3f4c58
    Body Font               #282827
    Links                   #e4003c
    Links Hover             #111
    Input Border            #dadae5
    Input Background        #fff

\*----------------------------------------------------------------------------*/

/*----------------------------------------------------------------------------*\
  #RESET
\*----------------------------------------------------------------------------*/
div,
article,
section,
li {
	  position: relative; /* Absolutely positioning elements within containers */
}

html,
body {
    height: 100%;
  	font-size: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-size: 1rem;
    font-weight: normal;
    font-style: normal;
  	line-height: 1.5rem;
  	font-family: 'Open Sans', sans-serif;
  	color:#3e474c;
    background: #f4f4f4;
    padding: 0;
    margin: 0;
    position: relative;
    cursor: auto;
}

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

menu,
ol,
ul {
	margin: 0;
	padding: 0;
}

ul {
	list-style-type: none;
}

li > ul,
li > ol {
	margin: 0;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
    display: inline-block;
	vertical-align: middle;
}

/* We use this to get basic styling on all basic form elements */
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="color"],
textarea {
    background-color: #fff;
    border: 1px solid #dadae5;
    box-shadow: none;
    transition: all 0.4s linear;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="color"]:focus,
textarea:focus {
    background: #fff;
    border-color: #dadae5;
    outline: none;
}

input[type=submit] {
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
    padding: 0.5rem 2rem;
    background: #e4003b;
    border: 0 none;
    transition: background 0.4s ease;
}

input:hover[type=submit],
input:focus[type=submit] {
    background: #f20f4b;
}

input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #282827 !important;
  opacity: 1; /* Firefox */
}

input:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #282827 !important;
}

input::-ms-input-placeholder { /* Microsoft Edge */
  color: #282827 !important;
}

textarea {
    min-height: 200px;
    max-width: 100%;
}

/* Respect enforced amount of rows for textarea */
textarea[rows] {
  height: auto;
}

select {
    border: 1px solid #dadae5;
    box-shadow: none;
    transition: all 0.4s linear;
}

/* Label Styles */
label,
.wpcf7-list-item {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

/* Table styles */
table tbody,
table tfoot,
table thead {
    border: 1px solid #ccc;
}

table tbody tr {
    border-top: 1px solid #dadae5;
}

/*----------------------------------------------------------------------------*\
  #TYPOGRAPHY
\*----------------------------------------------------------------------------*/
/* Typography resets */
div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6,
pre, form, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

/* Default Link Styles */
a {
    color:#e4003c;
    text-decoration: none;
    line-height: inherit;
}

a:hover {
    color: #111;
}

a:focus {
    outline: 3px solid #dadae5;
}

/* Default paragraph styles */
p {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

p aside {
    font-size: 0.875rem;
    line-height: 1.35;
    font-style: italic;
}

/* Default heading styles */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: #e4003b;
    margin-top: 0.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
  
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
    font-size: 60%;
    color: #3f4c58;
    line-height: 0;
}
 
h1,
.h1 {
    font-size: 2.125rem;
}

h2,
.h2 {
    font-size: 1.625rem;
}

h3,
.h3 {
    font-size: 1.5rem;
}

h4,
.h4 {
    font-size: 1.25rem;
}

h5,
.h5 {
    font-size: 1.125rem;
}

h6,
.h6 {
    font-size: 1.0625rem;
}

.section-title {
    margin-bottom: 2rem;
}

.card-heading {
    font-size: 1.125rem;
    padding: 0 0 1.20rem 0;
    margin: 0 0;
}

.underline {
    border-bottom: 2px solid #e4003b;
}

hr {
    border: solid #dadae5;
    border-width: 1px 0 0;
    clear: both;
    margin: 1.25rem 0 1.1875rem;
    height: 0;
}

/* Blockquotes */
blockquote {
    margin: 0 0 1.25rem;
    padding: 0.5625rem 1.25rem 0 1.1875rem;
    border-left: 2px solid #dadae5;
    -webkit-hyphens: none;
    -moz-hyphens:    none;
    -ms-hyphens:     none;
    hyphens:         none;
}

blockquote cite {
    display: block;
    font-size: 0.8125rem;
    color: #3f4c58;
}

blockquote cite a,
blockquote cite a:visited {
    color: #3f4c58;
}

blockquote,
blockquote p {
    font-weight: 600;
    font-style: italic;
    line-height: 1.6;
    color:#282827;
}

button,
.button {
    font-family: 'Oswald', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    background: #e4003c;
    border: 2px solid #e4003c;
    border-radius: 0;
    padding: 1em 3em;
    transition: all 0.4s ease;
}

button:hover,
.button:hover,
button:focus,
.button:focus {
    color: #e4003c;
    background: #fff;
    outline: none;
}

/*----------------------------------------------------------------------------*\
  #UTILITIES
\*----------------------------------------------------------------------------*/
/* Foundation Grid Overrides */
.grid-container {
    max-width: 1200px; /* Set the max width for our grid containers */
}

.section {
    
}

.card {
    color:#282827;
    border-color: #dadae5;
}

/* General utilities */
.padding-top-0 {
    padding-top: 0;
}

.margin-top-0 {
    margin-top: 0;
}

.padding-bottom-0 {
    padding-bottom: 0;
}

.margin-bottom-0 {
    margin-bottom: 0;
}

.yellow {
    color: #ffff00;
}

/* Back to top button */
.topbutton {
    font-size: 20px;
    color: #fff !important;
    position: fixed;
    margin-left: -31px; 
    left: 50%;
    bottom: 0px;
    text-align: center;
    line-height: 36px;
    z-index: 1000;
    background: #e4003c;
    width: 60px;
    height: 30px; /* as the half of the width */
    border-top-left-radius: 62px;  /* height + border */
    border-top-right-radius: 62px; /* height + border */
    border-bottom: 0;
    display: none;
    transition: all 0.4s ease;
}

.topbutton:hover {
    color: #e4003b !important;
    background: #fff;
    border-bottom: 0;
}

/*----------------------------------------------------------------------------*\
  #HEADER SECTION
\*----------------------------------------------------------------------------*/
header#masthead {
    background: #e4003b;
}

.header-top {
    border-bottom: 1px solid #fff;
}

.site-header .site-contact {
    color: #fff;
}

.site-header .site-contact a,
.site-header .info-bar a {
    color: #fff;
    line-height: 32px;
    transition: all 0.4s ease;
}

.site-header a.phone {
    margin-right: 0.8rem;
}

.site-header .site-contact img {
    border: 1px solid #fff;
    margin-left: 7px;
}

.site-header .info-bar {
    text-align: right;
}

.home-link a {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: #fff;
    transition: color 0.4s ease;
    float: left;
    display: block;
}

.home-link a:hover,
.home-link a:focus {
    outline: none;
}

.custom-logo-link {
    width: auto;
    padding-right: 0 !important;
    margin: 0 0.5rem 0 0 !important;
}

.site-title {
    font-weight: 400;
}

.site-description {
    font-weight: 700;
}

.tagline {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

/* Main navigation */
.nav-bar {
    border-bottom: 1px solid #ccc;
    background: #fff;
}

.main-navigation {
    display: block;
    position: relative;
    margin-bottom: 0;
}

.main-navigation .dropdown.menu {
    
}

.main-navigation .dropdown.menu li a {
    font-size: 0.875rem;
    font-weight: 400;
    height: 60px;
    line-height: 60px;
    color: #282827;
    text-transform: uppercase;
    display: inline-block;
    outline: none;
    border-left: 1px solid #ccc;
    padding: 0 1.1rem;
    margin: 0 0 0 0;
    transition: color 0.4s ease;
}

.main-navigation .dropdown.menu li a:last-child {
    border-right: 1px solid #ccc;
}

.main-navigation .dropdown.menu li a:hover,
.main-navigation .dropdown.menu li a:active,
.main-navigation .dropdown.menu li a:focus {
    color: #e4003c;
    outline: none;
    background: #fff;
}

.main-navigation .is-dropdown-submenu {
    min-width: 250px;
}

.main-navigation .dropdown.menu li ul {
    background: #fff;
    border: 1px solid #eee;
}

.main-navigation .dropdown.menu li ul li {
    background: transparent;
    border-bottom: 1px solid #ccc;
}

.main-navigation .dropdown.menu li ul li a {
    text-transform: none;
    color: #282827;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    background: transparent;
    display: block;
}

.main-navigation .dropdown.menu li ul li a:last-child {
    
}

.main-navigation .dropdown.menu li ul li a:hover {
    color: #e4003b;
}

.main-navigation .dropdown.menu .active > a {
    color: #e4003c;
    background: #fff;
}

.main-navigation .dropdown.menu .highlighted > a {
    font-weight: 700 !important;
    color: #e4003c;
    border-right: 1px solid #ccc;
    background: #fff;
}

.main-navigation .dropdown.menu > li.is-dropdown-submenu-parent > a::after {
    border-color: transparent transparent transparent;
    right: 0;
    margin-top: 0;
}

.main-navigation .dropdown.menu.vertical > li.opens-left > a::after {
    border-color: transparent#282827 transparent transparent;
    left: 20px;
    margin-top: -4px;
}

.main-navigation .dropdown.menu.vertical > li.opens-right > a::after {
    border-color: transparent transparent transparent#282827;
    right: 20px;
    margin-top: -4px;
}

/*----------------------------------------------------------------------------*\
  #HOME PAGE SECTION
\*----------------------------------------------------------------------------*/
/* Orbit Slider */
.hero-slider {
    height: auto;
    margin-bottom: 0;
}

.orbit {
    margin: 0 0 0 0;
}

.orbit-container {
    height: auto !important;
    overflow: hidden !important;
}

/* Home content */
.home-content {
    padding: 1rem;
    padding-bottom: 0.5rem;
    background: #fff;
}

.home-content .entry-content {
    margin-bottom: 0;
}

.news-social-feeds h2.underline {
    padding-bottom: 0.93rem;
}

.recent-posts .post-link a {
    color: #3f4c58;
}

.social-feed {
    background: #fff;
    padding-right: 0.93rem;
    padding-left: 0.93rem;
    margin-top: 1rem;
}

/*----------------------------------------------------------------------------*\
  #CONTENT
\*----------------------------------------------------------------------------*/
/* Page header */
.page-header {
    padding: 2.5rem 0 2rem 0;
}

.line {
    height: 5px;
    width: 50px;
    background: #e4003b;
}

.line.left {
    margin-left: 2px;
    display: inline-block;
}


.line.middle {
    margin: 1rem auto 0 auto;
    display: block;
}

.page-title {
    
}

/* Entry header */
.entry-header {
    padding: 3rem 0 2rem 0;
    position: relative;
}

.entry-header .entry-title {
    margin: 0;
}

.entry-header .taxonomy-description {

}

.entry-thumbnail img {
    display: block;
    margin: 0 auto 20px auto;
}

/* Entry content */
.entry-content {
    word-wrap: break-word;
    margin: 0 0 3rem 0;
    position: relative;
}

.lead {
    /* Styling for the first paragraph of our main content */
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.entry-content a {
    padding-bottom: 2px;
    border-bottom: 2px solid#dadae5;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    transition: all .4s ease;
}

.entry-content a:hover {
    border-color: #f20f4b;
}

.entry-content ul {
    display: table;
    margin: 1rem 0 1rem 1rem;
    padding-left: 0;
}

.entry-content ul li:before {
    content: "•";
    display: table-cell;
    padding-right: 1.3rem;
}

.entry-content ul li {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3rem;    
    list-style-type: none;    
    display: table-row;
    margin-bottom: 0.3rem;
}

.entry-content ul li:after {
    content: "";
    display: block;
    margin-bottom: 0.3rem;
}

.entry-content ol {
    margin: 1rem 1rem 1rem 1.4rem;
}

.entry-content ol li {
    line-height: 1.3rem;
    list-style-type: decimal;
    list-style-position: inside;
    text-indent: -1.4rem;
    margin-bottom: 0.3rem;
}

.entry-content button,
.entry-content .button {
    color: #fff;
    padding-bottom: 1em;
    border-color: #f20f4b;
}

.entry-content button:hover,
.entry-content .button:hover {
    color: #f20f4b;
}


.entry-content .calendar {
    
}

/* Entry footer */
.entry-footer {
    clear: both;
    padding: 0 0;
    margin: 0 0;
    position: relative;
}

.entry-footer h3 {
    font-size: 1.2em;
    color: #3f4c58;
    margin-bottom: 20px;
}

.edit-link {
    float: left;
    clear: both;
    margin-bottom: 3rem;
    background: #e4003b;
    border-radius: 3px;
}

.edit-link:hover {
    background: #f20f4b;
}

.edit-link a {
    color: #fff;
    padding: 8px 16px;
    display: block;
    border-bottom: 0 none;
}

.edit-link a:hover {
    color: #fff;
    border-bottom: 0 none;
}

/* Sitemap page */
.sitemap-column {
    margin: 0 0 3rem 0;
}

.sitemap-column h2 {
    font-weight: normal;
    padding-bottom: 10px;
    border-bottom: 1px solid#dadae5;
}

.sitemap-column a {
    color:#e4003c;
}

ul.sitemap-pages,
ul.sitemap-categories,
ul.sitemap-tags {
    padding: 0;
    margin: 0 0 0 1.4rem;
}

ul.sitemap-pages .children,
ul.sitemap-categories .children,
ul.sitemap-tags .children {
    padding: 0;
    margin: 0.3rem 0 0 1.2rem;
}

ul.sitemap-pages li,
ul.sitemap-categories li,
ul.sitemap-tags li {
    line-height: 1.3rem;
    text-indent: -1.4rem;
    list-style-type: disc;
    list-style-position: inside;
    margin-bottom: 0.3rem;
}

ul.sitemap-pages li ul li,
ul.sitemap-caegories li ul li,
ul.sitemap-tags li ul li {
    list-style-type: circle;
}

/*----------------------------------------------------------------------------*\
  #POSTS
\*----------------------------------------------------------------------------*/
ol.post-list {
    margin: 0 0;
    padding: 0;
}

ol.post-list li {
    list-style-type: none;
    padding: 0.8rem 1rem 0.5rem 1rem;
    margin: 0 0 1.7rem 0;
    background: #fff;
    position: relative;
}

ol.post-list li.sticky {    
    border: 1px solid #e4003b;
}

ol.post-list li.sticky .attachment-thumbnail {
}

.attachment-thumbnail {
    
}

.featured-image {
    display: block;
    margin: 20px auto 30px auto;
}

.post-link {
    line-height: 1;
    margin-bottom: 1.5rem;
}

.post-link a {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.625rem;
    font-weight: 700;
    color: #e4003c;
}

.post-link a:hover {
    color: #111;
}

a.read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: #282827;
}

a.read-more .fa {
    font-size: 0.75rem;
    margin-left: 0.2rem;
}

/* Post meta */
.post-meta {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e4003b;
    margin: 0 0 0.5rem 0;
}

.post-meta .post-author,
.post-meta .post-date,
.post-meta .post-category,
.post-meta .post-tag,
.post-comment {
    display: inline-block;
}

.post-meta .post-date {
    margin-right: 10px;
}

.post-meta .fa {
    color: #3f4c58;
}

/* Post navigation */
.pagination a {
    color:#e4003c;
    padding: 8px 13px 7px 13px;
    font-size: 0.8em;
    border: 1px solid #e4003b;
    border-radius: 0;
}

.pagination a:hover {
    color: #fff;
    background: #e4003b;
    border: 1px solid #e4003b;
    text-decoration: none;
}

.pagination .fa {
    font-size: 0.8em;
}

.pagination .current, 
.pagination .dots {
    color: #fff;
    padding: 10px 15px 9px 15px;
    font-size: 0.8em;
    margin-left: 4px;
    border: 1px solid #e4003b;
    background: #e4003b;
}

/* Post image attachments */
.entry-content .attachment {
    margin: 4rem 0 1rem 0;
}

.entry-content .attachment img {
    margin: 0 auto;
    display: block;
}

p.image-resolutions {
    font-weight: 700;
    margin: 2rem 0 4rem 0;
}

p.image-resolutions a {
    font-weight: 400 !important;
    margin-top: 0.5rem;
    display: inline-block;
}

.image-resolutions span {
    color: #dadae5;
}

/* Search results page */
.search-results ol {
    margin: 1.8rem 0 3rem 0;
}

.search-results ol li {
    list-style-type: none;
    padding: 1rem 0;
    margin: 0;
    border-bottom: 1px solid #dadae5;
}

.search-results a {
    font-size: 1.2rem;
    color:#e4003c;
}

.search-results a:hover {
    color: #f20f4b;
}

/*----------------------------------------------------------------------------*\
  #COMMENTS
\*----------------------------------------------------------------------------*/
.comments-title,
.comment-list,
.comment-reply-title,
.must-log-in,
.comment-respond .comment-form,
.comment-respond iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.comments-title {
  
}

.comment-list,
.comment-list .children {
    list-style-type: none;
    padding: 0;
}

.comment-list .children {
    margin-left: 20px;
}

.comment-body {
    padding: 1rem 0 2.5rem 0;
    margin: 0;
    position: relative;
    border-bottom: 1px dotted#dadae5;
}

.comment-body p {
    margin-top: 30px;
}

.comment-body .comment-content iframe {
    max-width: 100%;
}

.comment-author {
    
}

.comment-author .avatar {
    float: left;
    margin: 0 20px 0 0;
}

.comment-author .fn,
.comment-author .fn a {
    font-size: 1.2rem;
    font-style: normal;
    word-wrap: break-word;
}

.comment-author .url,
.comment-reply-link,
.comment-reply-login {
    font-size: 1rem;
}

.says {
    display: none;
}

.no-avatars .comment-author {
    margin: 0 0 5px;
    max-width: 100%;
    position: relative;
}

.no-avatars .comment-metadata,
.no-avatars .comment-content,
.no-avatars .comment-list .reply {
    width: 100%;
}

.bypostauthor {
    margin-top: 1rem;
    border-top: 5px solid #e4003b;
}

.comment-list .edit-link {
    margin-left: 20px;
}

.comment-metadata {
    margin-bottom: 30px;
}

.comment-metadata,
.comment-content,
.comment-list .reply {
    word-wrap: break-word;
}

.comment-list .reply {
    text-align: right;
}

.comment-meta,
.comment-meta a {
    color:#e4003c;
    font-size: 0.8rem;
}

.comment-meta a:hover {
    color: #111;
}

.commentmetadata {
    margin-bottom: 10px;
}

.ping-meta {
    color:#e4003c;
    font-size: 13px;
    line-height: 2;
}

.comment-awaiting-moderation {
    clear: both;
    display: block;
    font-weight: normal;
    margin: 1.5rem 0 0 0;
    padding: 0.875rem 1.5rem 0.875rem 0.875rem;
    font-size: 1rem;
    background-color: #43ac6a;
    border: 1px solid #3a945b;
    color: #fff;
    clear: both;
}

.comment-list .pingback,
.comment-list .trackback {
    padding-top: 24px;
}

.comment-navigation {
    font-size: 1.2rem;
    margin: 0 auto;
    padding: 3rem 0;
    width: 100%;
}

.comment-navigation .nav-previous {
    width: 50%;
    float: left;    
}

.comment-navigation .nav-next {
    width: 50%;
    float: right;
    text-align: right;
}

.no-comments {
    background-color: #fff;
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
    margin: 0;
    padding: 40px 0;
    text-align: center;
}

/* Reply form */
#respond  {
    margin-top: 2rem;
    border: 1px solid#dadae5;
    padding: 1.25rem;
    background: #fff;
}

.comment-form .comment-notes {
  margin-bottom: 15px;
}

.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
  margin-bottom: 8px;
}

.comment-form [for="author"],
.comment-form [for="email"],
.comment-form [for="url"],
.comment-form [for="comment"] {
  float: left;
  padding: 5px 0;
  width: 100px;
}

.comment-form .required {
  color: #ed331c;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 70%;
}

.comment-form textarea {
  width: 100%;
}

.comment-form .form-allowed-tags code {
    font-size: 0.8rem;
    font-weight: normal;
    display: block;
    margin-top: 10px;
}

/*----------------------------------------------------------------------------*\
  #FOOTER
\*----------------------------------------------------------------------------*/
.bottom-bar {
    padding-top: 0.93rem;
    padding-bottom: 0.93rem;
    margin-bottom: 0 !important;
    background: #e4003b;
}

.bottom-bar h3 {
    font-size: 1.5rem;
    color: #fff;
    padding-top: 0.5rem;
    padding-bottom: 0.7rem;
    margin: 0 0;
}

.bottom-bar .button {
    font-size: 1.5rem;
    color: #e4003c;
    background: #fff;
    padding-top: 0.5rem;
    padding-bottom: 0.7rem;
    margin-bottom: 0;
}

.footer {
    font-size: 0.875rem;
    color: #fff;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: #3f4c58;
}

.footer h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.footer a {
    font-size: 0.875rem;
    color: #fff;
}

.footer .footer-nav li {
    width: 50%;
    float: left;
    display: inline-block;
    padding: 0 0.5rem 0.5rem 0;
}

.footer .footer-nav a {
    font-weight: 600;
    text-transform: uppercase;
    padding: 0 0;
}

.footer-right p {
    font-size: 0.875rem;
    color: #fff;
    margin-bottom: 0;
}

.site-info {
    margin-top: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid #616f76;
}

.site-info p,
.site-info a {
    font-size: 0.75rem;
    color: #95a2a8;
    margin-bottom: 0;
}

.site-info a:hover {
    text-decoration: underline;
}

/*----------------------------------------------------------------------------*\
  #SIDEBAR
\*----------------------------------------------------------------------------*/
.sidebar,
.sidebar-left {
    
}

.sidebar {
    border-left: 2px solid #dadae5;
}

.sidebar-left {
    border-right: 2px solid #dadae5;
}

/*----------------------------------------------------------------------------*\
  #WIDGETS
\*----------------------------------------------------------------------------*/
.sidebar .widget-area {
    margin-left: 1.5rem;
}

.sidebar-left .widget-area {
    margin-right: 1.86rem;
}

.widget-area {
    margin-bottom: 0.5rem;
}

.widget-container {
    font-size: 0.9em;
    -webkit-hyphens: auto;
    -moz-hyphens:    auto;
    -ms-hyphens:     auto;
    hyphens:         auto;
    word-wrap: break-word;
    margin: 0 0 1.5rem 0;
    border-bottom: 1px solid#dadae5;
}

.widget-container .widget-title  {
    font-size: 1.425rem;
    color: #e4003b;
    padding-bottom: 1.2rem;
    margin: 0;
}

.widget-container p {
    font-size: inherit;
    line-height: inherit;
}

.widget-container a {
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    transition: all .4s ease;
}

.widget-container a:hover {
    color: #111;
}

.widget-container .screen-reader-text {
    visibility: hidden;
} 

.widget-container ul li {
    display: block;
}

/* Pages widget, Archives widget, Categories, Recent entries widget */
.widget_pages .widget-title,
.widget_archive .widget-title,
.widget_categories .widget-title,
.widget_recent_entries .widget-title {
    margin-bottom: 0;
}

.widget_pages li:first-child,
.widget_archive li:first-child,
.widget_categories li:first-child,
.widget_recent_entries li:first-child {
    border-top: 0 none;
}

.widget_pages li,
.widget_archive li,
.widget_categories li,
.widget_recent_entries li {
    margin: 0;
    border-top: 1px solid#dadae5;
    border-bottom: 0 none;
}

.widget_pages ul ul li:first-child,
.widget_categories ul ul li:first-child {
    border-top: 1px solid#dadae5;
}

.widget_pages a,
.widget_archive a,
.widget_categories a {
    line-height: 1.2rem;
    padding: 0.8rem 0;
    display: inline-block;
}

.widget_recent_entries li {
    padding-bottom: 0.8rem;
}

.widget_recent_entries a {
    line-height: 1.2rem;
    padding: 0.8rem 0 0 0;
    display: inline-block;
}

.widget_recent_entries .post-date {
    display: block;
}

.widget_archive select,
.widget_categories select {    
    margin: 0 0 1.6rem 0;
}

.widget_pages .children a {
    padding-left: 0.5rem;
}

/* HTML widget */
.widget_custom_html {
    padding-bottom: 1rem;
}

/* Text widget */
.textwidget {
    padding-bottom: 0;
}

/* Search widget */
.search-form {
    padding: 0.5rem 0;
}

#searchform input {
    font-size: 1rem;
    height: 2.43rem;
    padding: 0.5rem;
    margin-bottom: 0;
}

#searchform input.input-group-field {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

#searchform input.button {
    margin-bottom: 0;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

/* Tag cloud widget */
.tagcloud {
    padding: 20px 0 20px 0;
}

/* Calendar widget */
.widget_calendar table {
    max-width: 97%;
    margin: 16px 0 0 0;
}

.widget_calendar table,
.widget_calendar td {
    border: 0;
    border-collapse: separate;
    border-spacing: 1px;
}

.widget_calendar caption {
    font-size: 0.9em;
    color: #fff;
    background: #ccc;
    padding: 0 10px;
    margin: 0;
}

.widget_calendar thead {
    font-size: 0.9em;
    color: #444;
    background: #eee;
}

.widget_calendar tbody td {
    font-size: 0.9em;
    background: #fff;
}

.widget_calendar tbody {
    background-color: transparent;
}

.widget_calendar th,
.widget_calendar td {
    padding: 0;
    text-align: center;
}

.widget_calendar a {
    display: block;
    font-size: 0.9em;
    color: #fff;
    background: #444;
}

.widget_calendar a:hover {
    text-decoration: none;
    background: #222;
}

/* RSS widget */
.widget-title .rsswidget {
    font-size: inherit;
    color: #444;
}

.widget_rss span {
   display: block !important;
}

.rsswidget {
    font-size: 1rem;
}

.rssSummary {
    padding-bottom: 0.7rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px dotted#dadae5;
}

/*----------------------------------------------------------------------------*\
  #IMAGES
\*----------------------------------------------------------------------------*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter, 
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

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

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

a img.alignright {
    float: right;
    margin: 5px 0 5px 20px;
    padding: 0;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 5px 0;
    padding: 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.wp-caption {
    max-width: 98%; /* Ensure image does not overflow the content area */
    padding: 0px;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 5px 0;
}

.wp-caption.alignright {
    margin: 5px 0 5px 20px;
}

.wp-caption.aligncenter {
    display: block;
    margin: 25px auto 5px auto;
}

.wp-caption img {
    max-width: 98.5%;
    height: auto;
    margin: 0;
    padding: 0;
    width: auto;
}

.wp-caption .wp-caption-text {
    font-size: 0.8rem;
    line-height: 1.1rem;
    color:#3e474c;
    padding: 0.5rem 0 0.5rem 0;
    margin: 0;
}

/* Galleries */
.entry-content .gallery {
    margin-top: 2rem !important;
    margin-left: -1rem !important;
}

.gallery dl dt,
.gallery dl dd {
    margin-bottom: 0;
}

.entry-content .gallery img {
    width: 100%;
    height: auto;
    border: 0 none !important;
}

.gallery-item {
    display: inline-block;
    padding: 0 0 1.25rem 1rem;
    text-align: center;
    vertical-align: top;
    width: 100%;
    margin: 0 !important;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-icon img {
    margin: 0 auto;
}

.gallery-caption {
    display: block;
    font-size: 0.8rem;
    min-height: 2.4rem;
    line-height: 1.2rem;
    text-align: center;
    padding: 0.2rem 0.5rem;
    clear: both;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}

/* Responsive images. Fluid images for posts, comments, and widgets */
.row img,
.widget img,
.wp-caption img {
    max-width: 100%;
}

/* Make sure images with WordPress-added height and width attributes are scaled correctly. */
.row img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
    height: auto;
}

img.entry-thumbnail,
img.attachment-thumbnail,
img.attachment-medium,
img.attachment-large,
img.size-thumbnail,
img.size-medium,
img.size-large,
img.wp-post-image {
    height: auto;
    max-width: 100%;
}

/**
 *
 * Our media queries begin here
 *
 */

/*----------------------------------------------------------------------------*\
  #MOBILE NAVIGATION BREAKPOINT
\*----------------------------------------------------------------------------*/ 
@media screen and (max-width: 63.95em) {
    /* Mobile top menu */
    .desktop-menu {
        display: none;
    }

    .nav-bar .grid-container {
        padding-right: 0;
        padding-left: 0;
    }

    .no-js .title-bar,
    .title-bar {
        color:#282827;
        background: #fff;
        display: block;
        padding-right: 0.93rem;
        padding-left: 0.93rem;
    }

    .title-bar-title a {
        color:#282827;
    }

    .mobile-navigation .toggle {
        font-size: 1.4rem;
        width: auto;
        height: 40px;
        float: right;
        color:#282827;
        clear: both;
        padding-right: 0.93rem;
        margin-top: -43px;
    }

    .mobile-navigation .toggle:hover {
        color: #e4003b;
        background: transparent;
    }

    .mobile-navigation .toggle:first-of-type:after {
        content: "";
        width: 0;
        height: 0;
    }

    .mobile-navigation .toggle .fa {
        font-size: 1.4rem;
        color:#282827;
    }

    .mobile-navigation .is-accordion-submenu-parent > a::after {
        font-family: 'Fontawesome';
        font-size: 1.2rem;
        line-height: 40px;
        text-align: right;
        display: block;
        width: 40px;
        height: 40px;
        border: 0 none;
        content: '\f078';
        border-color: transparent;
        position: absolute;
        top: 0;
        margin: 0 1rem 0 0;
        right: 0;
    }

    .is-accordion-submenu-parent[aria-expanded='true'] > a::after {
        content: '\f00d';
        -ms-transform: none;
            transform: none;
    }

    .mobile-navigation .nested.menu {
        margin-left: 0;
    }

    .mobile-navigation a {
        color:#282827;
    }

    .mobile-navigation a:hover,
    .mobile-navigation .active > a {
        color: #fff;
        background: #e4003b;
    }

    .mobile-navigation ul ul li a {
        padding-left: 1.5rem;
    }

    .mobile-navigation ul ul ul li a {
        padding-left: 2rem;
    }

    .mobile-navigation .is-submenu-item {
        border-top: 1px solid #eee;
    }
}

/*----------------------------------------------------------------------------*\
  #LARGE SCREENS
\*----------------------------------------------------------------------------*/ 
@media only screen and (min-width: 64em) {
    /* Mobile menu */
    .no-js .title-bar,
    .title-bar,
    .mobile-navigation {
        display: none !important;
    }

    .site-header {
        margin-bottom: 1.25rem;
    }

    .site-header .site-contact,
    .site-header .info-bar {
        font-size: 1rem;
        padding: 0.5em 0 0.6em 0;
    }

    .home-link {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .site-title {
        font-size: 1.625rem;
        margin-bottom: 0.5rem;
    }

    .site-description {
        font-size: 1.875rem;
    }

    .tagline {
        font-size: 1.375rem;
        margin-top: 5.3rem;
        float: right;
    }

    .section {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    /* Home page */
    

    /* Footer */
    .bottom-bar .button {
        float: right;
    }
}

/*----------------------------------------------------------------------------*\
  #MEDIUM SCREENS
\*----------------------------------------------------------------------------*/
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    a:focus {
        outline: none !important;
    }    

    /* Small menu */
    .no-js .title-bar {
        display: none;
    }

    .main-navigation .dropdown.menu li a {
        padding: 0 18px;
    }

    .main-navigation .dropdown.menu > li.is-dropdown-submenu-parent > a::after {
        right: 0;
    }

    .site-header .site-contact,
    .site-header .info-bar {
        font-size: 0.9375rem;
        padding: 0.8em 0;
    }

    .site-contact strong {
        display: none;
    }

    .home-link {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .custom-logo {
        width: 50px;
        margin-top: 3px;
    }

    .site-title {
        font-size: 1.3125rem;
        margin-bottom: 0.2rem;
    }

    .site-description {
        font-size: 1.5625rem;
    }

    .tagline {
        font-size: 1rem;
        margin-top: 3.9rem;
        float: right;
    }

    .section {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .site-header-spacer {
        height: 114px;
    }

    .hero-slider,
    .hero-banner {
        margin-top: 25px;
    }

    /* Home page */
    

    /* Entry content */
    .entry-content {
        margin: 1rem 0;
    }

    /* Gallery */
     .gallery-caption {
        display: none;
    }

    .gallery-columns-2 .gallery-item,
    .gallery-columns-3 .gallery-item {
        max-width: 50%;
    }

    .gallery-columns-4 .gallery-item,
    .gallery-columns-5 .gallery-item,
    .gallery-columns-6 .gallery-item {
        max-width: 33.33%;
    }

    .gallery-columns-7 .gallery-item,
    .gallery-columns-8 .gallery-item,
    .gallery-columns-9 .gallery-item {
        max-width: 25%;
    }

    /* Sidebar */
    .sidebar {
        margin-bottom: 0;
    }

    /* Footer */
    .bottom-bar .button {
        float: right;
    }
}

/*----------------------------------------------------------------------------*\
  #SMALL SCREENS
\*----------------------------------------------------------------------------*/
@media screen and (max-width: 39.9375em) {
    a:focus {
        outline: none !important;
    }
    
    /* Mobile top menu */
    .no-js .title-bar,
    .title-bar {
        color: #fff;
        background: #e4003b;
        border-top: 1px solid #fff;
    }

    .title-bar-title a {
        color: #fff;
    }

    .mobile-navigation .toggle {
        color: #fff;
    }

    .mobile-navigation .toggle:hover {
        color: #fff;
    }

    .mobile-navigation .toggle .fa {
        color: #fff;
    }

    .tagline {
        text-align: center;
        padding: 0.5rem 0;
    }

    .site-header .site-contact {
        height: 70px;
        text-align: center;
    }

    .site-header .site-contact a.phone {
        font-size: 1.5rem;
        line-height: 1;
        display: block;
        padding: 0.6rem 0 0.5rem 0;
    }

    .site-header .site-contact a.email {
        font-size: 1.125rem;
        line-height: 1;
        display: block;
        padding-bottom: 0.7rem;
    }

    .section {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .site-header-spacer {
        height: 110px;
    }

    .hero-slider,
    .hero-banner {
        margin-top: 18px;
    }

    /* Home page */
    

    /* Entry content */
    .entry-title,
    .map .widget-title {
        text-align: center;
    }

    .entry-content {
        margin-top: 0;
    }

    /* Footer */
    .bottom-bar {
        text-align: center;
    }

    .bottom-bar h3 {
        padding-top: 0;
    }

    .bottom-bar h3,
    .bottom-bar .button {
        font-size: 1.25rem;
    }

    .footer .footer-right {
        padding-top: 2rem;
    }

    /* Comments */
     .author-info .author-avatar {
      width: 60px;
      height: 60px;
    }

    .comment-author .avatar {
      width: 45px;
      height: 45px;
    }

    /* Gallery */
    .gallery-columns-2 .gallery-item,
    .gallery-columns-3 .gallery-item,
    .gallery-columns-4 .gallery-item,
    .gallery-columns-5 .gallery-item,
    .gallery-columns-6 .gallery-item,
    .gallery-columns-7 .gallery-item,
    .gallery-columns-8 .gallery-item,
    .gallery-columns-9 .gallery-item {
      width: 100% !important;
      max-width: 100%;
    }

    /* Sidebar */
    .sidebar {
        margin-bottom: 0;
    }
}