/*
Theme Name: Pepper Template 1
Author: Pepper Creative
Author URI: https://www.peppercreative.co.uk/
Description: Pepper Template 1 - REQUIRES Advanced Custom Fields
Version: 0.1
*/

/* Easy Clearfix */
.container:after,
.container-fluid:after,
.input-group:after,
ul:after,
#sidebar:after,
.page:after,
.section:after,
.post-item:after,
.cf:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.container,
.container-fluid,
.input-group,
ul,
#sidebar,
.page,
.section,
.post-item,
.cf {
    display: inline-block;
}

/* Hides from IE-mac */
* html .container,
* html .container-fluid,
* html .input-group,
* html ul,
* html .sidebar,
* html .page,
* html .section,
* html .post-item,
* html .cf {
    height: 1%;
}

.container,
.container-fluid,
.input-group,
ul,
#sidebar,
.page,
.section,
.post-item,
.cf {
    display: block;
}

/*
 *
 * Sticky Footer
 * Credit: http://css-tricks.com/snippets/css/sticky-footer/
 *
 *
*/
* {
    margin: 0;
}

html, body {
    height: 100%;
}

#wrapper {
    min-height: 100%;
    /* equal to footer height */
    margin-bottom: -115px;
}

#wrapper:after {
    content: "";
    display: block;
}

#footer, #wrapper:after {
    /* .wrapper must be the same height as footer */
    height: 115px;
}


/* helpers */
.mobile,
#mobile-navigation,
.mobile-nav-bar,
.tablet {
    display: none;
}

.no-mobile {
    display: block;
}

.img-responsive {
    display: block;
    width: 100% \9;
    max-width: 100%;
    height: auto;
}

div.align-center {
    margin: 0 auto;
}

.text-align-center {
    text-align: center;
}

.text-align-left {
    text-align: left;
}

.text-align-right {
    text-align: right;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-lowercase {
    text-transform: lowercase;
}

.text-capitalize {
    text-transform: capitalize;
}

/* Editor Helpers */
.align-left {
    float: left;
}

.align-right {
    float: right;
}

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

/* Placeholder styles */
::-webkit-input-placeholder {
    color: #52656f;
    opacity: 0.5;
}

:-moz-placeholder { /* Firefox 18- */
    color: #52656f;
    opacity: 0.5;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #52656f;
    opacity: 0.5;
}

:-ms-input-placeholder {
    color: #52656f;
    opacity: 0.5;
}

/* Google Map */
.acf-map {
    height: 300px;
}

/* box model */
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

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

/* Layout */
body {
    background: url("assets/images/body-bg.png") left top repeat;
    font-family: "montserratregular", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6rem;
    color: #5d2d0e;
}

.container {
    width: 954px;
    position: relative;
    margin: 0 auto;
}

.container-fluid {
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.container-small {
    float: left;
    width: 580px;
    position: relative;
    margin: 0 auto;
}

#wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

#site-cover {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 4900;
    top: 0;
    width: 100%;
    height: 100%;
}

#scroll-top {
    font-family: "montserratsemi_bold", Arial, Helvetica, sans-serif;
    display: none;
    position: fixed;
    background-color: rgba(99, 170, 36, 0.80);
    top: 89%;
    right: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin-right: 0.3rem;
    z-index: 4900;
    text-align: center;
}

#scroll-top:after {
    color: #FFF;
    content: "TOP";
    display: inline-block;
    padding-top: 0.65rem;
}

/* Anchor Links */
a {
    text-decoration: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

#home-content h1,
h1 {
    font-family: "pacificoregular", Arial, Helvetica, sans-serif;
    font-size: 3.714rem;
    line-height: 4.4rem;
    text-transform: none;
}

h2 {
    line-height: 3.8rem;
}

.the-post h1,
.the-post h2,
.the-post h3,
.the-post h4,
.the-post h5,
.the-post h6 {
    font-family: "montserratbold", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

.the-post h2 {
    font-size: 2.3rem;
    line-height: 2.4rem;
    margin-bottom: 1rem;
}

.the-post h3 {
    font-size: 1.8rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

.the-post h4 {
    font-size: 1.9rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

.the-post h5 {
    font-size: 1.7rem;
    line-height: 1.8rem;
    margin-bottom: 1rem;
}

.the-post h6 {
    font-size: 1.5rem;
    line-height: 1.6rem;
    margin-bottom: 1rem;
}

.the-post h1:first-child,
.the-post h2:first-child,
.the-post h3:first-child,
.the-post h4:first-child,
.the-post h5:first-child,
.the-post h6:first-child {
    margin-top: 0;
}

#home-content h1 {
    margin-top: 3rem;
}

/* Paragraphs */
.the-post p {
    margin: 1.8rem 0;
}

.the-post p:first-child {
    margin-top: 0;
}

/* Lists */
.list-inline-center {
    list-style: none;
    padding: 0;
    text-align: center;
}

.list-inline-center li {
    display: inline-block;
}

.list-inline {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0;
}

.list-inline li {
    display: inline-block;
}

.list-inline.pipe-delimited li:after {
    content: "|";
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0 0.5rem;
}

.list-inline.pipe-delimited li:last-child:after {
    content: "";
    margin: 0;
    padding: 0;
}

.list-unstyled,
.list-unstyled ul {
    padding: 0;
}

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

.the-post ul,
.the-post ol {
    padding-left: 0;
    list-style-position: inside;
    margin: 1.4em 0;
}

/* Blockquote */
.the-post blockquote {
    padding: 0 2.429rem;
    margin: 2.429rem 0;
}

.the-post blockquote p {
    font-size: 1.286rem;
    line-height: 2rem;
    text-transform: uppercase;
}

/* Buttons */
input[type="button"],
.btn {
    font-family: "montserratregular", Arial, Helvetica, sans-serif;
    display: inline-block;
    padding: 0.9rem 4.771rem 0.9rem 1.171rem;
    position: relative;
    text-align: left;
    border: none;
}

.btn:after {
    position: absolute;
    right: 1.171rem;
    display: inline-block;
    font-family: "FontAwesome";
    content: "\f054";
}

input[type="button"] {
    padding-right: 1.171rem;
}

/* Forms */
input,
textarea {
    border: 1px solid #CCC;
    padding: 0.8rem 0.5rem;
    resize: vertical;
}


/* Header */
#header {
    position: relative;
    padding: 2.143rem 0 0 0;
}

#header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 auto;
    background-color: #FFF;
    z-index: 1000;
    backface-visibility: hidden;

}

#header .site-logo {
    float: left;
}

#header .site-logo img {
    width: 160px;
}

#header .social-share {
    float: right;
}

#header .social-share.share-mobile {
    display: none;
    margin-bottom: 1rem;
}

/* Navigation */
#navigation {
    padding-top: 3.8rem;
    float: right;
}

#navigation ul li {
    position: relative;
    margin-right: 1.2rem;
}

#navigation ul li a {
    font-family: "montserratsemi_bold", Arial, Helvetica, sans-serif;
    display: block;
    text-align: center;
    font-size: 0.9286rem;
    width: 100%;
}

#navigation ul li a:hover {
    -moz-transition: color .2s ease-out, background 1s ease-in;
    -webkit-transition: color .2s ease-out, background 1s ease-in;
    transition: color .2s ease-out, background 1s ease-in;
}

#navigation ul li:last-child {
    margin-right: 0;
}

#navigation .menu-main-menu-container {
    display: table;
    height: 45px;
}

#navigation .menu-main-menu-container #header-nav-bar {
    display: table-cell;
    vertical-align: middle;
}

#navigation ul li.menu-item-has-children a {
    padding-bottom: 2.429rem;
}

/* Sub Navigation */
#navigation .sub-menu-wrap {
    display: none;
    background: url("assets/images/sub-nav-bg.png") left top repeat transparent;
    position: absolute;
    z-index: 100;
    margin-left: -115px;
    left: 50%;
    width: 230px;
    padding: 1.429rem 0;
}

#navigation .sub-menu-wrap ul {
    padding: 0;
}

#navigation .sub-menu-wrap ul li {
    display: block;
    margin-right: 0;
}

#navigation ul li.menu-item-has-children ul li a,
#navigation .sub-menu-wrap ul li a {
    font-family: "montserratsemi_bold", Arial, Helvetica, sans-serif;
    margin-right: 1.786rem;
    padding: 0 0 1.071rem 0;

}

/* Footer */
#footer {
    padding: 2.143rem 0;
    text-transform: uppercase;
    font-size: 0.8571rem;
}

#footer .social-icon {
    float: right;
}

#footer .social-icon a {
    font-size: 1.571rem;
}

#footer .social-icon ul li {
    margin: 0 0.2rem 0 0;
}

#footer .social-icon ul li:last-child {
    margin: 0;
}

#footer .credit {
    font-size: 0.7143rem;
}

/* Banner */
.banner-wrapper,
.banner-wrapper .banner,
.banner-wrapper .slide,
.banner-wrapper .slide .image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.banner-wrapper.home,
.banner-wrapper.home .banner,
.banner-wrapper.home .slide,
.banner-wrapper.home .slide .image {
    width: 100%;
    height: 501px;
    overflow: hidden;
}

.banner-wrapper.home .slide .image {
    background-repeat: no-repeat;
}

.banner-wrapper {
    margin-bottom: 3.571rem;
}

.banner-wrapper.generic {
    margin-bottom: 3.571rem;
}

.banner-wrapper a {
    color: #FFF;
}

.banner-wrapper .overlay {
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    width: 100%;
    height: 501px;
    left: 0;
    top: 0;
    z-index: 10;
}

.banner-wrapper .slide {
    position: relative;
}

.banner-wrapper .slide .banner-caption {
    position: absolute;
    top: 3.714rem;
    left: 3.214rem;
    z-index: 15;
    width: 100%;
}

.banner-wrapper .slide .banner-caption h2 {
    font-family: "pacificoregular", Arial, Helvetica, sans-serif;
    letter-spacing: 0.1rem;
    font-size: 3.571rem;
    text-transform: none;
}

.banner-wrapper .slide .banner-caption .banner-body {
    font-family: "montserratregular", Arial, Helvetica, sans-serif;
    font-size: 1.286rem;
    width: 80%;
    margin: 1.3rem 0 1.571rem 0;
}

.banner-wrapper .pager {
    position: absolute;
    bottom: 1.714rem;
    z-index: 110;
    width: 100%;
    text-align: center;
    left: 0;
    right: 0;
}

.banner-wrapper .pager i {
    cursor: pointer;
    display: inline-block;
    font-size: 1rem;
    font-family: "FontAwesome";
    margin-right: 0.5rem;
}

.banner-wrapper .pager i:last-child {
    margin-right: 0;
}

.banner-wrapper .pager i:before {
    content: "\f10c";
    color: #FFF;
}

.banner-wrapper .pager i.cycle-pager-active:before {
    content: "\f111";
}

/* Homepage Specific */
#features-4 {
    padding: 5.429rem 0;
}

/* Post Specific */
.post-list .post-item {
    position: relative;
    margin-bottom: 2.286rem;
    padding-bottom: 1.286rem;
}

.post-list .post-item .post-list-title h2 {
    line-height: 2rem;
    margin-bottom: 1.3rem;
    text-transform: uppercase;
    font-size: 1.8rem;
}

.post-list .post-item .the-post a.read-more {
    display: block;
    font-size: 1rem;
    margin-top: 0.8rem;
}

/* Gallery Specific */
.gallery-list .gallery-item {
    position: relative;
    float: left;
    width: 31.993%;
    height: 190px;
    margin-right: 1.2rem;
    margin-bottom: 1.2rem;

    background: no-repeat center center;
    background-size: cover;

}

.gallery-list .gallery-item:nth-child(3n) {
    margin-right: 0;
}

.gallery-list .gallery-item a {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 12;
}

.gallery-list .gallery-item .mask {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

.gallery-list .gallery-item:hover .mask {
    display: none;
}

.gallery-list .gallery-item .title {
    color: #FFF;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2rem;
    text-shadow: 4px 4px 2px rgba(0, 0, 0, 1);
}

.gallery-list .gallery-item .title .fa {
    font-size: 2.8rem;
}

/* Main Styles */
#features-2 {
    position: relative;
    z-index: -1;
}

.page-strap h1 {
    font-family: "pacificoregular", Arial, Helvetica, sans-serif;
    font-size: 2.714rem;
    margin-top: 0;
}

.page-strap .link a {
    display: inline-block;
    font-family: "montserratregular", Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 1.8rem 0;
    float: right;
}

.the-post p.intro-text {
    font-size: 1.286rem;
    line-height: 1.9rem;
}

.the-post hr {
    border-left: none;
    border-right: none;
    border-bottom: none;
}

#swipebox-overlay {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

.video-container {
    position: relative;
    height: 0;
    overflow: hidden;
}

/* 16x9 Aspect Ratio */
.video-container {
    padding-bottom: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Footer logo bar */
.footer-logo-bar {
    background-color: #FFF;
    padding: 2rem;
}

.footer-logo-bar .logo-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    text-align: center;
}

.footer-logo-bar .logo-list .logo {
    flex: 1 1 20%;
    align-items: center;
    margin-right: 5%;
}

.footer-logo-bar .logo-list .logo:last-child {
    margin-right: 0;
}

.footer-logo-bar .logo-list .logo img {
    height: 85px;
    margin: 0 auto;
}