/*
Theme Name: Core Group 2016
Theme URI: https://www.coregroup.services
Author: Pepper Creative
Author URI: https://www.peppercreative.co.uk/
Description: Core Group Services Template 2016
Version: 1.1
*/

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

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

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

.container,
.container-fluid,
.input-group,
ul,
.sidebar,
.page,
.section {
    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: -100px;
}

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

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


/* helpers */
.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-uppercase {
    text-transform: uppercase;
}

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

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

.scrollto {
    cursor: pointer;
}

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

.align-right {
    float: right;
}

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


/* Placeholder styles */
::-webkit-input-placeholder {
    color: #00568a;
    opacity: 1;
}

:-moz-placeholder { /* Firefox 18- */
    color: #00568a;
    opacity: 1;
}

::-moz-placeholder {  /* Firefox 19+ */
    color: #00568a;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #00568a;
    opacity: 1;
}

/* 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 {
    font-family: "montserratlight", Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6em;
    color: #000;
}

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

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

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

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

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

/* Links */
a {
    text-decoration: none;
    color: #0289a6;
}

/* H Tags */
h1, h2, h3, h4, h5 {
    line-height: 1.2em;
    font-weight: normal;
    text-transform: uppercase;
    clear: both;
}

h1 {
    font-family: "glacial_indifferenceregular", Arial, Helvetica, sans-serif;
    color: #70c98d;
    font-size: 3.143em;
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    margin-top: 1em;
}

h2, h3, h4, h5 {
    font-family: "glacial_indifferencebold", Arial, Helvetica, sans-serif;
    color: #70c98d;
    font-size: 1.571em;
    margin-bottom: 0.5em;
}

/* Paragraphs */
.post p {
    line-height: 1.6em;
}

/* 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;
}

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

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

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

/* Buttons */
.btn {
    font-family: "glacial_indifferenceregular", Arial, Helvetica, sans-serif;
    display: block;
    font-size: 1.286em;
    text-align: center;
    padding: 0.833em 0.429em;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    text-transform: uppercase;
    border: none;
}

.btn-green {
    background-color: #70c98d;
    color: #FFF;
}

.btn-green a {
    color: #FFF;
}

.btn-white {
    background-color: #fff;
    color: #037f98;
}

.btn-white a {
    text-transform: uppercase;
    color: #037f98;
}

/* Forms */
.ninja-forms-required-items {
    margin: 1.2em 0;
}

.ninja-forms-form-wrap label {
    font-family: "glacial_indifferenceregular", Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 1.143em;
}

/* Banner */
.banner-wrapper {
    position: relative;
}

.mask {
    position: absolute;
    bottom: 0;
    z-index: 900;
}

/* Banner */
.home-slideshow,
.home-slideshow .slide,
.home-slideshow .slide .image {
    height: 535px;
    width: 100%;
    overflow: hidden;
}

.generic-slideshow,
.generic-slideshow .slide,
.generic-slideshow .slide .image {
    height: 362px;
    width: 100%;
    overflow: hidden;
}

.generic-slideshow .mask {
    display: none;
}

.banner .slide .image {
    background-repeat: no-repeat;
    background-size: cover;
}

@media ( min-width: 1345px ) {

    .home-slideshow .mask-right {
        background: url("assets/images/banner-mask-right.png") no-repeat bottom right;
        width: 268px;
        height: 378px;
        right: 0;
        opacity: 1;
        transition: visibility 0s, opacity 0.5s linear;
    }

    .home-slideshow .mask-left {
        background: url("assets/images/banner-mask-left.png") no-repeat bottom left;
        width: 267px;
        height: 378px;
        left: 0;
        opacity: 1;
        transition: visibility 0s, opacity 0.5s linear;
    }

}

.home-slideshow .banner-caption {
    position: absolute;
    top: 50%;
    width: 100%;
}

.home-slideshow .banner-caption .banner-body p {
    margin: 0;
}

.home-slideshow .banner-caption .banner-body {
    font-family: "glacial_indifferenceregular", Arial, Helvetica, sans-serif;
    font-size: 3.143em;
    width: 50%;
    color: #FFF;
    line-height: 1.2em;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 1);
}

.home-slideshow .banner-caption .banner-icon i {
    display: block;
    color: #FFF;
    font-size: 3.143em;
    padding: 0.8em 0 0 0;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 1);
}

/* Header */
#header.sticky {
    position: fixed;
    top: 0;
    background-color: rgba(255,255,255, 0.9);
}

#header {
    position: absolute;
    top: 0;
    z-index: 1000;
    width: 100%;
    transition: 0.4s;
    padding: 1.4em 0 0 0;
}

#header.invert {
    transition: 0.4s;
}

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

#header.sticky .site-logo .default {
    display: none;
}

#header .site-logo .invert {
    display: none;
}

#header.sticky .site-logo .invert {
    display: block;
}

/* Navigation */
#mobile-navigation, #show-mobile-nav {display: none;}
#navigation {
    float: left;
    width: 85%;
    padding: 1em 0;
}

#navigation a {
    display: block;
    font-family: "glacial_indifferencebold", Arial, Helvetica, sans-serif;
    color: #FFF;
    font-size: 1.143em;
    position: relative;
    width: 100%;
}

#navigation a:hover,
#navigation ul li.current-menu-item a {
    color: #f29600;
}

#navigation a:after,
#navigation a:after {
    content: '';
    position: absolute;
    bottom: -0.714em;
    left: 0;
    width: 0;
    border-bottom: 5px solid #f29600;
    transition: 0.4s;
}

#navigation ul li.menu-item-has-children a:after {
    border: none;
}

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

#navigation a:hover:after {
    width: 100%;
}

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

#navigation #header-nav-bar {
    float: right;
}

#navigation ul li {
    margin-right: 1.286em;
    position: relative;
}

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

/* Sub Nav */
#navigation .sub-menu {
    position: absolute;
    background-color: #f29600;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 0.938em 2.188em;
    left: 50%;
    transform: translate(-50%, 0);
    white-space: nowrap;
}

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

#navigation ul li.current-menu-item ul li a,
#navigation ul.sub-menu li a {
    padding: 0.938em 0;
    color: #FFF;
}

#navigation ul.sub-menu li a:after {
    border: none;
}

#navigation ul.sub-menu li a:hover,
#navigation ul.sub-menu li.current-menu-item a {
    color: #037f98;
}

/* Scroll Nav */
#header.sticky #navigation a {
    color: #037f98;
}

#header.sticky #navigation .sub-menu {
    background-color: #037f98;
}

#header.sticky #navigation ul li.current-menu-item ul li a {
    color: #f29600;
}

#header.sticky #navigation ul li ul li a {
    color: #FFF;
}

#header.sticky #navigation a:hover,
#header.sticky #navigation ul li.current-menu-item a {
    color: #f29600;
}

/* Footer */
#footer {
    background-color: #f6f3ea;
    padding: 1.786em 0;
}

#footer .social-buttons ul li {
    margin: 0 0.2em;
}

#footer .footer-nav ul li {
    margin: 0 0.8em;
}

#footer .footer-nav a {
    font-family: "glacial_indifferencebold", Arial, Helvetica, sans-serif;
    font-size: 1.143em;
}

#footer .credit a {
    color: #000;
}

#footer .contact,
#footer .credit {
    font-size: 0.786em;
}

/* Sidebar */
#sidebar {
    width: 264px;
    float: left;
    padding: 5.8em 0 0 0;
}

/* Image Box Panel */
#sidebar .panel-image .image-bg {
    background: url('assets/images/sidebar-panel-bg.png') no-repeat left top;
    height: 250px;
}

#sidebar .panel-image .img-hover {
    top: 20px;
    height: 205px;
}

/* Homepage */
.feature-title {
    width: 30%;
    margin: 2.500em auto;
}

#home-feature-1,
#home-feature-3 {
    margin-bottom: 3.571em;
}

#home-feature-4,
#home-feature-5 {
    margin-bottom: 5.714em;
}


#home-feature-2,
.page-box {
    background-color: #037f98;
    height: 514px;
    position: relative;
}

@media ( min-width: 1495px ) {
    #home-feature-2 .mask-feature-right,
    .page-box .mask-feature-right {
        background: url("assets/images/feature-mask-right.png") no-repeat top right;
        width: 303px;
        height: 514px;
        right: 0;
    }

    #home-feature-2 .mask-feature-left,
    .page-box .mask-feature-left {
        background: url("assets/images/feature-mask-left.png") no-repeat top left;
        width: 301px;
        height: 514px;
        left: 0;
    }
}

.home-content {
    width: 70%;
    margin: 0 auto;
    text-align: center;
    padding: 2.5em 0;
}

.home-content h1 {
    font-family: "glacial_indifferencebold", Arial, Helvetica, sans-serif;
    color: #70c98d;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2.857em;
    text-transform: none;
}

.home-content h1 .secondary {
    display: block;
    font-size: 0.538em;
    margin-top: 0.8rem;
    line-height: 1.5em;
}

.home-content p {
    font-family: "glacial_indifferenceregular", Arial, Helvetica, sans-serif;
    font-size: 1.571em;
    color: #FFF;
    text-align: center;
    line-height: 1.5em;
}

.home-content .btn {
    font-size: 0.818em;
    width: 30%;
    margin: 1.8em auto 0 auto;
    padding: 0.591em;
}

#home-feature-3 {
    background-color: #f6f3ea;
}

.panel-social {
    padding: 0 1em;
}

.panel-social .aiwidget-title {
    display: none;
}

.panel-social #cff {
    padding-left: 0 !important;
}

.panel-social .cff-photo,
.panel-social .cff-post-text {
    float: left;
}

.panel-social .cff-photo {
    width: 20% !important;
}

.panel-social .cff-post-text {
    width: 80% !important;
}

.panel-social .aiwidgetscss.widget {
    height: 400px;
    overflow-y: scroll;
    padding-right: 10px;

}

#home-feature-4 .widgettitle {
    display: block;
    vertical-align: middle;
    font-family: "glacial_indifferencebold", Arial, Helvetica, sans-serif;
    font-size: 1.571em;
    color: #0289a6;
    margin-bottom: 0.786em;
}

#home-feature-4 .widgettitle .icon,
#home-feature-4 .widgettitle .title {
    display: inline-block;
    vertical-align: middle;
}

#home-feature-4 .widgettitle .title {
    padding-left: 0.8em;
}

/* Feature List */
.feature-list {
    padding: 3.714em 0;
    float: left;
    width: 100%;
}

.feature-list .feature {
    float: left;
    width: 387px;
    padding: 3.214em 0;
}

.feature-list .vertical-divider {
    float: left;
    background: url("assets/images/vertical-divider.png");
    height: 375px;
    width: 49px;
    margin: 0 2.500em;
}

.feature-list .feature .feature-left,
.feature-list .feature .feature-detail {
    float: left;
}

.feature-list .feature .feature-left {
    width: 42%;
}

.feature-list .feature .feature-detail {
    width: 58%;
    padding: 0 0 0 2.500em;
    color: #000;
}

.feature-list .feature .title,
.feature-list .feature .feature-sub-title {
    color: #70c98d;
    line-height: 1.2em;
}

.feature-list .feature .title {
    font-family: "glacial_indifferencebold", Arial, Helvetica, sans-serif;
    font-size: 1.571em;
    margin-bottom: 0.2em;
}

.feature-list .feature .feature-sub-title {
    font-family: "glacial_indifferenceregular", Arial, Helvetica, sans-serif;
    font-size: 1.143em
}

.feature-list .feature .feature-body {
    margin-top: 2.500em;
}

.feature-list .feature .feature-button {
    clear: left;
    float: left;
    width: 100%;
    margin: 1.571em 0;
}

/* Logo slider */
.logo-list {
    height: 115px;
    overflow: hidden;
}

.logo-list ul {
    margin: 0;
}

.logo-list .slider-next,
.logo-list .slider-prev {
    position: absolute;
    top: 45%;
    z-index: 110;
    color: #0288a6;
    font-size: 1.543em;
    cursor: pointer;
}

.logo-list ul li {
    margin: 0 2.25em;
}

.logo-list .slider-next {
    right: 0;
}

.logo-list .slider-prev {
    left: 0;
}

/* Rounded List */
.rounded-list {
    text-align: center;
}

.rounded-list .rounded-item {
    display: inline-block;
    margin: 0 2.41em 2.41em 2.41em;
    position: relative;
    width: 253px;
}

.rounded-list .rounded-item:nth-child(1n) {

}

.rounded-list .rounded-item .image-bg {
    background: url('assets/images/rounded-img-edge.png') no-repeat left top;
    height: 243px;
    width: 253px;
    position: relative;
}

.rounded-list .rounded-img .image {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 1.4em;
    z-index: 20;
}

.rounded-list .rounded-img .image img,
.feature-list .feature .image img,
.logo-list ul li img {
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;

}

.rounded-list .rounded-item .image .img-hover {
    display: none;
}

.rounded-list .rounded-item:hover .image .img-hover {
    background-color: rgba(233, 147, 11, 0.8);
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    display: block;
    height: 203px;
    left: 22px;
    position: absolute;
    top: 19px;
    width: 209px;
    z-index: 30;
}

.rounded-list .rounded-item .image .img-hover i {
    vertical-align: middle;
    line-height: 203px;
    color: #FFF;
    font-size: 3.214em;
}

.rounded-list .rounded-item .rounded-caption {
    margin: 1.071em auto 0 auto;
    width: 85%;
}

.rounded-list .rounded-item .rounded-icon,
.rounded-list .rounded-item .rounded-title {
    display: inline-block;
    width: 75%;
    vertical-align: middle;
}

.rounded-list .rounded-item .rounded-icon {
    width: 25%;
}

.rounded-list .rounded-item .rounded-title {
    font-family: "glacial_indifferencebold", Arial, Helvetica, sans-serif;
    font-size: 1.571em;
    padding-left: 0.8em;
    text-transform: none;
    color: #0289a6;
    text-align: left;
    margin: 0;
}

/* Main Styles */
h1 .page-icon {
    display: inline-block;
    width: 7%;
    vertical-align: middle;
}

.page {
    margin-bottom: 3.429em !important;
}

.post {
    padding-right: 2.8em;
}

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

.post-list .post-item {
    clear: both;
    float: left;
    width: 100%;
    margin-bottom: 3.2em;
    padding-bottom: 2.8em;
    border-bottom: 1px solid #d8d8d8;
}

.post-list .post-item .image,
.post-list .post-item .post-detail {
    float: left;
}

.post-list .post-item .image {
    width: 30%;
    margin-right: 2.2em;
}

.post-list .post-item .image img {
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.post-list .post-item .post-detail {
    width: 64%;
}

.post-list .post-item .read-more {
    clear: both;
    text-align: center;
}

.post-list .post-item h2 {
    margin-top: 0;
}

.post .btn {
    display: inline-block;
    padding-left: 2.5em;
    padding-right: 2.5em;
    font-size: 1em;
    margin: 0.8em 0;
}

.post img {
    margin: 1.2em 0;
}

.page-box {
    height: 418px;
    margin-bottom: 5.000em;
    color: #FFF;
}

.page-box .vertical-divider {
    width: 1px;
    float: left;
    background: url("assets/images/vertical-divider.gif") repeat-y center transparent;
    margin: 3.214em 2.500em 0 2.500em;
    height: 330px;
}

.page-box .mask-feature-right {
    background: url("assets/images/feature-mask-right.png") no-repeat center right;
    height: 414px;
}

.page-box .mask-feature-left {
    background: url("assets/images/feature-mask-left.png") no-repeat center left;
    height: 414px;
}

p.intro-text {
    font-family: "glacial_indifferenceregular", Arial, Helvetica, sans-serif;
    font-size: 1.571em;
    color: #0289a6;
}

.page-box .testimonial-list {
    position: relative;
    width: 40%;
    float: left;

}

.page-box .testimonial-list .cycle-slide {
    padding: 3.214em 0;
}

.page-box .testimonial-list .cycle-slide blockquote {
    font-family: "glacial_indifferencebold", Arial, Helvetica, sans-serif;
    font-size: 1.571em;
    line-height: 1.4em;
}

.page-box .testimonial-list .cycle-slide blockquote cite {
    font-style: normal;
    font-family: "glacial_indifferenceregular", Arial, Helvetica, sans-serif;
    font-size: 0.727em;
    color: #70c98d;
    text-transform: uppercase;
}

.page-box .testimonial-list .cycle-slide blockquote p {
    margin: 0;
}

.page-box .feature-list {
    width: 40%;
    float: left;
    padding: 0;
}

.page-box .feature-list .feature {
    width: 420px;
}

.page-box .feature-list .feature .title,
.page-box .feature-list .feature .feature-body {
    color: #FFF;
}

.acf-map {
    height: 300px;
}


/* Petes additions */

/* Home page service list area */
#home-feature-6 {
    /* background-color: #f6f3ea; */
    position: relative;
    background-color: #70c98d;
    width: 100%;
    padding: 3.571em 0;
    text-align: center;
    overflow: hidden;
}

#home-feature-7 {
    background-color: #f19525;
    width: 100%;
    text-align: center;
    padding: 3.571em 0;
}

/* Service list H tag */

@media ( min-width: 1495px ) {
    #home-feature-6 .mask-feature-right {
        background: url("assets/images/feature-mask-right-green.png") no-repeat top right;
        width: 303px;
        height: 514px;
        right: 0;
    }

    #home-feature-6 .mask-feature-left {
        background: url("assets/images/feature-mask-left-green.png") no-repeat top left;
        width: 301px;
        height: 514px;
        left: 0;
    }
}

#home-feature-6 h2 {
    font-family: "glacial_indifferencebold", Arial, Helvetica, sans-serif;
    color: #037f98;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2.857em;
    text-transform: none;
}

#home-feature-7 h2 {
    font-family: "glacial_indifferencebold", Arial, Helvetica, sans-serif;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2.857em;
    text-transform: none;
}

#home-feature-6 h2 .secondary {
    display: block;
    font-size: 0.538em;
    margin-top: 0.8rem;
    line-height: 1.5em; 
}

#home-feature-7 h2 .secondary {
    display: block;
    font-size: 0.538em;
    margin-top: 0.8rem;
    line-height: 1.5em; 
}
#home-feature-6 .btn,
#home-feature-7 .btn {
    font-size: 0.818em;
    width: 30%;
    margin: 1.8em auto 0 auto;
    padding: 0.591em;
}

#home-feature-6 p {
    font-family: "glacial_indifferenceregular", Arial, Helvetica, sans-serif;
    font-size: 1.571em;
    text-transform: none;
    /* color: #037f98; */
    color: #ffffff;
    line-height: 1.5em;
    clear: both;
}

#home-feature-7 p {
    font-family: "glacial_indifferenceregular", Arial, Helvetica, sans-serif;
    font-size: 1.571em;
    text-transform: none;
    /* color: #037f98; */
    color: #ffffff;
    line-height: 1.5em;
    clear: both;
}



/* Petes overrides */
.home-content h1 {
    font-size: 3.5em;
}

.home-content h1 .secondary {
    font-size: 0.52em;
    line-height: 1.35em;
}


.container {
    width: 970px;
}

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


.container-small h3 {
    font-family: "glacial_indifferenceregular", Arial, Helvetica, sans-serif;
    font-size: 1.571em;
    color: #70c98d;
    line-height: 1.2em;
}


.container-small ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    color: #0289a6;
  }

.container-small ul li {
    font-family: "glacial_indifferenceregular", Arial, Helvetica, sans-serif;
    font-size: 1.3em;
    line-height: 1.4em;
    border-bottom: 1px solid #70c98d;
    padding: 4px 10px 5px 0;
    width: 98%;
}

.container-small ul li a:hover {
    color: #70c98d;
}

/* c.post h2.intro-text, p.intro-text   */
.container-small h2.intro-text, p.intro-text {
    font-family: "glacial_indifferenceregular", Arial, Helvetica, sans-serif;
    font-size: 1.571em;
    color: #0289a6;
    text-transform: none;
}

.container-small h4 {
    font-family: "glacial_indifferencebold", Arial, Helvetica, sans-serif;
    font-size: 1.5em;
}

.rounded-item .rounded-caption h3.rounded-title {
    font-size: 1.32em;
}


