/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}
/*font-family: "grueber";*/
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

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

.clear {
    clear: both;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Greenlea custom styles
   ========================================================================== */
html,
body {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
}
    body.steaking,
    body.secondary,
    body.veal,
    body.other,
    body.retail-ready,
    body.offal-fancy-meat {
        background: #000 url('../images/body.png') repeat-y top left;
    }
        body.steaking .form-container-content p,
        body.secondary .form-container-content p,
        body.veal .form-container-content p,
        body.other .form-container-content p,
        body.retail-ready .form-container-content p,
        body.offal-fancy-meat .form-container-content p {
            color: #fff;
        }

p {
    font-size: 16px;
}

a {
    color:#fff;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #fff;
}

ul {
    /*list-style-type: none;*/
    margin: 0;
}

ul.inline {
    margin: 0;
    padding: 0;
    list-style: none;
}
    ul.inline li { float: left; }

/* menu burger */
#nav-toggle, #nav-toggle-mobile { cursor: pointer; padding: 10px 35px 16px 0px; }

#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after,
#nav-toggle-mobile span, #nav-toggle-mobile span:before, #nav-toggle-mobile span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 5px;
  width: 30px;
  background: white;
  position: absolute;
  display: block;
  content: '';
}

#nav-toggle span:before,
#nav-toggle-mobile span:before {
  top: -10px;
}

#nav-toggle span:after,
#nav-toggle-mobile span:after {
  bottom: -10px;
}

#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after,
#nav-toggle-mobile span, #nav-toggle-mobile span:before, #nav-toggle-mobile span:after {
  transition: all 250ms ease-in-out;
}

#nav-toggle.active span,
#nav-toggle-mobile.active span {
  background-color: transparent;
}

#nav-toggle.active span:before, #nav-toggle.active span:after,
#nav-toggle-mobile.active span:before, #nav-toggle-mobile.active span:after {
  top: 0;
}

#nav-toggle.active span:before,
#nav-toggle-mobile.active span:before {
  transform: rotate(45deg);
}

#nav-toggle.active span:after,
#nav-toggle-mobile.active span:after {
  transform: rotate(-45deg);
}

/* height layout css style */
header {
    height: 71px;
    min-height: 71px;
    z-index: 9999;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

    footer .copyright {
        background: #464646;
        color: #969696;
        text-align: right;
        font-weight: 500;
        padding: 6px 16px;
        font-size: 12px;
    }
    @media only screen and (max-width: 450px) {
        footer .copyright {
            text-align: center;
        }

        .content {
            margin-bottom: 53px;
        }
    }

body > .content {
    height: 100%;
    padding-top: 71px;
    position: relative;
}

    body > .content .main-slider {
        height: 100%;
        padding-bottom: 190px;
    }

    body > .content .service-container {
        height: 190px;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }

        .main-slider .bx-wrapper,
        body > .content .main-slider .bx-viewport,
        body > .content .service-container .service-block,
        body > .content .service-container .service-image {
            height: 100%;
        }

/* sidemenu */
.sidemenu {
    position: absolute;
    left: -345px;
    top: 0;
    z-index: 999;
    min-height: 100%;
    padding-top: 71px;
    background: rgba(0,0,0,0.8);
    width: 345px;
    -webkit-transition: all .25s ease-out 0s;
    -o-transition: all .25s ease-out 0s;
    transition: all .25s ease-out 0s;
}

.sidemenu-move-toggle {
    left: 0px;
}

    .sidemenu .side-menu-wrapper {
        margin-top: 150px;
    }

    .side-menu-wrapper > a,
    .side-menu li a{
        padding-left: 60px;
    }

    .side-menu-wrapper > a {
        color: #97c93c;
        display: inline-block;
        position: relative;
    }

    .side-menu-wrapper > a:after {
        content: "";
        left: 60px;
        top: 29px;
        height: 4px;
        background: #97C93C;
        width: 50px;
        position: absolute;
    }

    .side-menu {
        margin:0;
        margin-top: 60px;
        padding: 0;
    }
        .side-menu .side-menu {
            margin: 0;
        }

    .side-menu li a {
        display: inline-block;
        width: 100%;
        padding-top: 15px;
        padding-bottom: 15px;
        padding-right: 15px;
        -webkit-transition: all .1s linear 0s;
        -o-transition: all .1s linear 0s;
        transition: all .1s linear 0s;
    }

    .side-menu li a:hover,
    .side-menu li a:focus,
    .side-menu .activated > a {
        background: rgba(255,255,255,0.2);
        border-left: 8px solid #97C93C;
        padding-left: 52px;
    }

    .side-menu-wrapper > a,
    .side-menu li a {
        font-size: 17px;
        text-transform: uppercase;
    }

        .side-menu .side-menu a {
            text-transform: none;
            padding-left: 80px;
            padding-top: 10px;
            padding-bottom: 10px;
        }
            .side-menu .side-menu li > a:hover,
            .side-menu .side-menu li > a:focus,
            .side-menu .side-menu .activated > a {
                padding-left: 72px;
            }

/*header styles*/
header {
    background-color: #000;
    position: fixed;
    z-index: 9999;
    width: 100%;
}

header .header-container {
    height: 70px;
}

    header .left-header {
        padding: 18px 0;
    }

    header .right-header {
        width:30%;
        text-align: right;
        position: relative;
        top: 19px;
    }

    header .left-header {
        position: relative;
        width:70%;
    }

        header .left-header .logo-container {
            position: absolute;
            z-index: 999;
            left: 50px;
            top: 0;
            z-index: 9999;
        }

            header .left-header img {
                width: 200px;
            }

        header .left-header .burger-menu {
            position: absolute;
            top: 15px;
        }

        header .left-header .menu {
            position: absolute;
            left: 230px;
            top: 30px;
        }
            header .left-header .menu .nav {
                padding-left: 40px;
            }

            header .left-header .menu li {
                display: inline-block;
                margin-right: 20px;
                position: relative;
                font-size: 18px;
            }

            header .left-header .menu li:first-child {
                display: none;
            }

            header .left-header .menu .activated a {
                color: #97c93c;
            }

            header .left-header .menu li:after {
                position: absolute;
                content: '|';
                color:#fff;
                right: -15px;
                top:0;
            }

            header .left-header .menu li:last-child:after {
                content: '';
            }

                header .left-header .menu li a {
                    text-transform: uppercase;
                    -webkit-transition: all .1s linear 0s;
                    -o-transition: all .1s linear 0s;
                    transition: all .1s linear 0s;
                    padding: 0;
                    background: none;
                }

                header .left-header .menu li a:hover,
                header .left-header .menu li a:focus {
                    color: #97c93c;
                    background: none;
                }

    header .right-header .header-btn {
        display: inline-block;
        margin-right: 20px;
    }

        header .right-header .header-btn a.gl-btn,
        header .right-header .header-btn a.gl-btn-brown {
            display: inline-block;
            padding: 4px 20px;
            font-family: "Grueber";
            font-size: 19px;
        }

            header .right-header .header-btn a.gl-btn {
                background: #97c93c;
            }

            header .right-header .header-btn a.gl-btn-brown {
                background: #c7872f;
            }

    header .right-header .flags-container {
        display: inline-block;
        position: relative;
        top: -2px;
    }

        header .right-header .flags-container img {
            width: 32px;
        }



/* Main Slider */

.main-slider .bx-viewport {
    border:none;
}

.main-slider .bx-viewport {
    left:0;
    box-shadow: none;
}

    .main-slider .bx-viewport .bxslider > li {
        background-size: cover !important;
        background-position: center !important;
    }

    .main-slider .bxslider,
    .main-slider .bxslider li,
    .main-slider .bxslider li .container {
        height: 100%;
    }

    .main-slider .bxslider li .container {
        padding: 0 3%;
        position: relative;
    }

        .main-slider .bxslider li .container p {
            line-height: 1.9rem;
            font-size: 17px;
        }
            .main-slider .bxslider li .container .slider-cta > p {
                text-shadow: 0px 0px 10px #000;
                margin: 0 7.5%;
            }
            .main-slider .bxslider li .container .icons-container p {
                line-height: normal;
            }
            .main-slider .bxslider li .container .logo-container {
                margin-top: 60px;
            }
                .main-slider .bxslider li .container .logo-container img {
                    display: inline-block;
                    width: 500px;
                }
        .main-slider .bxslider li .container h1,
        .main-slider .bxslider li .container p {
            color: #fff;
            text-align: center;
        }

        .main-slider .bxslider li .container h1 {
            font-family: "lexia-advertising";
            font-size: 52px;
            line-height: 1.2em;
            margin-left: auto;
            margin-right: auto;
            max-width: 1020px;
        }
            .main-slider .bxslider li .container h1:first-child {
                margin-top: 75px;
                margin-bottom: 20px;
            }
            body.home .main-slider .bxslider li:nth-child(2) .container h1, body.corporate .main-slider .bxslider li:nth-child(2) .container h1 {
                color: #000;
                text-shadow: 0px 0px 20px #fff;
                margin-top: 75px;
            }
            /*@media only screen and (max-width: 1600px) {
                .main-slider .bxslider li .container h1:first-child {
                    max-width: 800px;
                }
            }*/

        .main-slider .bxslider li .container > p {
            line-height: 1.9em;
            font-size: 14px;
        }

        .main-slider .bxslider li .container a.gl-btn {
            background: #97c93c;
            display: inline-block;
            padding: 4px 40px 4px 20px;
            font-family: "Grueber";
            font-size: 19px;
            text-transform: uppercase;
            position: relative;
            margin: 10px 0;
        }
            .main-slider .bxslider li .container a.gl-btn-brown  {
                background: #c7872f;
            }

                .main-slider .bxslider li .container a.gl-btn-brown:hover {
                    background: #c37b18;
                }

            .main-slider .bxslider li .container a.gl-btn:after {
                content: '';
                background: url('../images/right-arrow-small.png');
                height: 13px;
                width: 7px;
                display: block;
                position: absolute;
                top: 50%;
                right: 15px;
                transform: translateY(-50%);
                margin-top: -1px;
            }
            .main-slider .bxslider li .container a:hover, .main-slider .bxslider li .container a:focus { background-color: #2c7c2e; }

        .main-slider .bxslider li .container .text-block {
            margin-top: 20px;
        }

        .icons-container hr {
            margin: 40px auto 40px;
            border-width: 7px;
            border-color: #fff;
            width: 33%;
        }

        .icons-container > p {
            font-family: "lexia-advertising";
            font-size: 50px;
            line-height: 1.2em;
            margin-bottom: 45px;
        }

        .icons-container div h4 {
            color: #fff;
            margin-top: 20px;
        }

        .icons-container div img {
            text-align: center;
            display: inline-block;
            max-width: 100%;
        }

        /* New Splash Page for Butcher Shop */
            .main-slider .slider-cta .split-logos {
                position: absolute;
                top: 25%;
                bottom: 25%;
                width: 94%;
                height: 50%;
                text-align: center;
            }
            .main-slider .slider-cta .split-logos .inner {
                width: auto;
                margin-left: auto;
                margin-right: auto;
                height: 100%;
                display: inline-block;
            }
            .main-slider .slider-cta .split-logos .logo-container {
                max-width: 50%;
                float: left;
                height: 100%;
                padding: 5px;
                margin-top: 0 !important;
            }
            .main-slider .slider-cta .split-logos .logo-container a.gl-btn {
                max-width: 100%;
                width: 350px;
                position: relative;
                bottom:25%;
            }
            .main-slider .slider-cta .split-logos .logo-container a.img-placeholder {
                width: 100%;
                display: inline-block;
                background-position: center bottom;
                background-size: contain;
                background-repeat: no-repeat;
                height: 100%;
                background-color: transparent !important;
            }
                .main-slider .slider-cta .split-logos .logo-container a.img-placeholder:hover { background-color: transparent; }


.main-slider .bx-pager {
    padding-top: 0px;
    bottom: 30px;
}

.main-slider .bx-wrapper {
    margin-bottom: 0;
}

    .bx-wrapper .bx-pager.bx-default-pager a {
        display: none;
    }

    .bx-wrapper .bx-controls-direction a {
        width: 30px !important;
        height: 55px !important;
        z-index: 99;
    }

    .bx-wrapper .bx-prev {
        background: url("../images/left-arrow.png") !important;
        left: 50px;
    }

    .bx-wrapper .bx-next {
        background: url('../images/right-arrow.png') !important;
        right: 50px;
    }

/* Services Container */
.service-container  h1 {
    font-size: 35px;
}

    .service-container .service-block {
        padding:0;
        position: relative;
        display: block;
    }

    .service-container .service-block:hover .service-desc,
    .service-container .service-block:focus .service-desc {
        background: rgba(151, 201, 60, 0.8);
        -webkit-transition: all .25s linear 0s;
        -o-transition: all .25s linear 0s;
        transition: all .25s linear 0s;
    }


    .service-container  .service-image {
        height: 230px;
        background-repeat: no-repeat !important;
        background-size: cover !important;
    }

    .service-container .service-desc {
        background: rgba(44, 124, 46, 0.8);
        position: absolute;
        width: 100%;
        top: 0;
        height: 100%;
    }
        .service-container .service-block:nth-child(even) .service-desc {
            background: rgba(151, 201, 60, 0.8);
        }

        .service-container  .service-desc .service-title-container {
            position: relative;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
        }

            .service-container  .service-desc .service-title-container h4 {
                font-family: "lexia-advertising";
                font-size: 42px;
                margin-top: 0;
                color: #fff;
                width: 75%;
                font-weight: 800;
                margin: auto;
            }

            .service-container  .service-desc .service-title-container hr {
                display: block;
                height: 1px;
                border: 0;
                border-top: 1px solid #fff;
                padding: 0;
                border-width: 10px;
                width: 20%;
                margin: auto;
                margin-top: 17px;
                opacity: 1;
            }


/* Social Icons */

div.socialIcons {
    text-align: right;
}
    .socialIcons > a {
        display: inline-block;
    }

    .socialIcons .nv-icon {
        border-radius: 25px;
        border: 2px solid #fff;
        color: #ffffff;
        margin-right: 5px;
        font-size: 17px;
        padding: 8px;
    }
        .socialIcons a:hover .nv-icon,
        .socialIcons a:focus .nv-icon {
            background-color: #ffffff;
        }

/* Social Icon Effects from http://tympanus.net/codrops/2013/05/30/simple-icon-hover-effects/ */
.hi-icon-wrap {
    text-align: center;
}

.hi-icon {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #fff;
}

.hi-icon:after {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    content: '';
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

    /* Effect 3 */
    .hi-icon-effect-3 .hi-icon {
        -webkit-transition: color 0.3s;
        -moz-transition: color 0.3s;
        transition: color 0.3s;
    }

    .hi-icon-effect-3 .hi-icon:after {
        top: -2px;
        left: -2px;
        padding: 2px;
        z-index: -1;
        background: #fff;
        -webkit-transition: -webkit-transform 0.2s, opacity 0.3s;
        -moz-transition: -moz-transform 0.2s, opacity 0.3s;
        transition: transform 0.2s, opacity 0.3s;
    }
        /* Effect 3b */
            .hi-icon-effect-3b .hi-icon {
                color: #fff;
                font-size: 24px;
            }

            .hi-icon-effect-3b .hi-icon:after {
                -webkit-transform: scale(1.3);
                -moz-transform: scale(1.3);
                -ms-transform: scale(1.3);
                transform: scale(1.3);
                opacity: 0;
            }

            .hi-icon-effect-3b .hi-icon:hover:after {
                -webkit-transform: scale(1);
                -moz-transform: scale(1);
                -ms-transform: scale(1);
                transform: scale(1);
                opacity: 1;
            }


/* about us */
.about-us-container-image {
    height: 300px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

/* contact us */
.contact-form-container .form-controls:first-child {
  height: 0;
}

.contact-form-container .form-controls:last-child {
  margin-top: 25px;
}

input[type="checkbox"], input[type="radio"] {
    box-shadow: none;
    -webkit-box-shadow: none;
}

.contact-form-container .form-group {
  margin-bottom: 0;
}

.contact-form-container .zm-inputs {
    padding:0;
}

.contact-form-container .zm-inputs:nth-child(odd) {
  padding-right: 10px;
}

.contact-form-container .zm-inputs:nth-child(even) {
  padding-left: 10px;
}

.contact-us-page h3 {
  margin:0;
}

.contact-us-page iframe {
  width: 100%;
  margin:20px 0;
}

    .contact-form-container label {
      display: none;
    }

    .contact-form-container input,
    .contact-form-container textarea {
      margin-bottom: 10px;
      border-color: rgba(0,0,0,0.1);
      font-size: 13px;
      height: 40px;
      opacity: 0.85;
      border-radius: 0px;
    }

    .contact-form-container textarea {
      height: 200px;
    }

    .contact-form-container .btn-submit {
        color: #fff;
        text-transform: uppercase;
        font-size: 16px;
        display: inline-block;
        height: 44px;
        padding: 0 23px;
        background: #66BBB7;
        border: none;
    }

/* default-content */
.default-content {
    background-size: cover !important;
    background-position: center !important;
    height: 100%;
    padding-left: 345px;
    padding-top: 50px;
    background-color: #000 !important;
}

    .default-content h1,
    .default-content h2,
    .default-content h3,
    .default-content h4,
    .default-content h5,
    .default-content h6,
    .default-content p,
    .default-content span,
    .default-content strong {
        color: #fff;
    }

    .default-content h1 {
        /*padding-top: 20px;*/
        margin: 0px; /*0px 0px 80px 0;*/
        font-family: "lexia-advertising";
        font-size: 58px;
        width: 75%;
        margin-left: auto;
        margin-right: auto;
        color: #fff;
        text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.75);
    }
        body.farmers .default-content h1,
        body.farmers .default-content p {
            color: #000;
            text-shadow: none;
        }

    .default-content h4 {
        line-height: 1.7rem;
        font-size: 18px;
    }


    .form-container { position: relative; }
    .form-container .bg { background: #000; }
        .form-container .bg img { width: 100%; }

        @media only screen and (min-width: 952px) {
            body.our-agents .form-container .bg,
            body.latest-news .form-container .bg {
                padding-left: 300px;
            }
        }
        @media only screen and (min-width: 1280px) and (min-height: 890px) {
            body.our-agents .form-container .bg,
            body.latest-news .form-container .bg {
                padding-left: 345px;
            }
        }
    .form-container h2 {
        position: absolute;
        bottom: 0;
        background: rgba(151,201,60,0.8);
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 25px;
        padding-bottom: 25px;
        padding-left: 400px;
        font-family: "lexia-advertising";
        color: #fff;
        font-size: 45px;
    }
        @media only screen and (max-width: 1280px) {
            .form-container h2 {
                position: relative;
                background: #97c93c;
            }
        }

    .contentBox {
        padding: 0 35px;
        font-size: 16px;
    }
        .contentBox p { color: #646464; }
    @media only screen and (min-width: 900px) {
        .contentBox { padding: 0 5% 0 400px; }
    }

    .form-container-content {
        padding: 0px 5% 4px 350px !important;
    }

        .form-container-content .default-content-body {
            margin-top: 20px;
        }

        .form-container-content .row {
            margin-right: 0;
            margin-left: 0;
        }

        .form-container-content h3 {
            margin-bottom: 25px;
            color: #97c93c;
            font-weight: bold;
        }
        .form-container-content a {
            color: #97c93c;
            text-decoration: underline;
        }

        .form-container-content ul[class=""],
        .form-container-content ol[class=""],
        .form-container-content ul:not([class]),
        .form-container-content ol:not([class]) {
            text-align: left;
            padding-top: 0;
            padding-left: 72px;
            width: 100%;
            margin: 10px 0 25px;
            color: #646464;
            font-size: 16px;
        }
            .form-container-content *[class=""] > li,
            .form-container-content *:not([class]) > li {
                margin-bottom: 5px;
                padding-left: 5px;
            }
        .form-container-content h3,
        .form-container-content p {
            text-align: left !important;
            padding-top: 0 !important;
            width: 100% !important;
            margin-top: 0;
        }

        .productPager {
            padding-left: 50px;
            padding-top: 10px;
        }
            .productPager .pagination {
                float: right;
                margin: 0;
            }
            .productPager .pagination > li > a {
                color: #646464;
                background: none;
                border: none;
                border-right: 1px solid #fff;
                border-radius: 0;
                font-size: 18px;
                padding: 0 12px;
            }
                .productPager .pagination > li:last-child > a {
                    border-right: none;
                }
                .productPager .pagination > li > a:hover,
                .productPager .pagination > li > a:focus {
                    color: #97c93c;
                }
                .productPager .nav-pills > li.active > a {
                    color: #97c93c;
                    background: none;
                    border-color: #fff;
                }

        .form-container-content .blocks {
            /*padding-top: 25px;*/
            padding-left: 50px;
        }
            .form-container-content .blocks .img {
                height: 140px;
            }
            .form-container-content .blocks img {
                max-width: 100%;
                max-height: 100px;
                position: relative;
                top: 50%;
                transform: translateY(-50%);
            }
            .form-container-content .blocks p {
                padding-left: 0 !important;
                text-align: inherit !important;
            }

            /*certifacation block*/
            .form-container-content .certifications > div {
                float: left;
                width: 20%;
            }
                .form-container-content .certifications .text-center {
                    margin-bottom: 40px;
                }
                .form-container-content .certifications > div p {
                    margin: 0 !important;
                }
                @media only screen and (max-width: 600px) {
                    .form-container-content .certifications > div {
                        width: 100%;
                    }
                }

            /*downloads block*/
            .form-container-content .downloads > div {
                float: left;
                width: 20%;
            }
                .form-container-content .downloads .img {
                    padding: 10%;
                }
                @media only screen and (max-width: 600px) {
                    .form-container-content .downloads > div {
                        width: 100%;
                    }
                }

        .form-container-content p {
            margin: 10px 0 25px !important;
            color: #646464;
        }

            .form-container-content p,
            .form-container-content p span {
                line-height: 1.8rem !important;
            }

            .form-container-content .general-img-container {
                margin-top: 10px;
                float: right;
            }

                .form-container-content .general-img-container img {
                    max-width: 100%;
                }

                .form-container-content .general-img-container .img-cap {
                    padding-left: 0 !important;
                    font-size: 12px;
                    line-height: 18px !important;
                }

                .form-container-content a.app-link {
                    padding-left: 115px;
                    display: inline-block;
                    font-size: 16px;
                    color: #646565;
                    width: 344px;
                    text-align: center;
                }

                /*product template*/
                .form-container-content .product-list {
                    /*margin-top: 40px;*/
                    margin-left: 30px;
                    padding-bottom: 40px;
                }

                .form-container-content .product-title {
                    background: rgb(151, 201, 60);
                    color: #fff;
                    padding: 25px !important;
                    margin-left: 50px;
                    width: inherit !important;
                    margin-bottom: 0;
                    font-size: 20px;
                }

                .form-container-content .product-list p {
                    padding-left: 0 !important;
                }

                .form-container-content .product-list hr {
                    width: 100%;
                    border-top: 1px solid #646565;
                    margin: 0;
                }

                .form-container-content .product-list .product-details-container {
                    margin-top: 20px;
                    margin-bottom: 20px;
                }
                .form-container-content .product-list .product-details-container:nth-child(4n-2) {
                    border-left: 1px solid #646565;
                    border-right: 1px solid #646565;
                }

                .form-container-content .product-list .product-img {
                    min-height: 150px;
                }

                .form-container-content .product-list .product-img img {
                    max-width: 100%;
                    width: auto;
                    max-height: 150px;
                }

                .form-container-content .product-list .product-desc .img-title {
                    margin: 10px 0 0 !important;
                    color: #c7c7c6;
                    text-transform: uppercase;
                }

                .form-container-content .product-list .product-desc .img-cap {
                    color: #c7c7c6;
                    margin: 0 !important;
                    line-height: normal !important;
                }

    .default-content p {
        margin: 30px auto;
        /*width: 80%;*/
        text-align: center;
        line-height: 1.9rem;
    }

        .default-content .default-content-body p {
            font-size: 17px;
        }

        .default-content .icons-container {
            margin-top: 30px; /*50px*/
            margin-left: 0;
            margin-right: 0;
        }

        .default-content .icons-container p {
            color: #fff;
            margin-top:0px;
            line-height: 19px;
        }

            .default-content .default-block-container {
                /*margin-top: 20px;*/
            }

            body.product-portfolio .default-content .default-block-container .col-md-3:nth-child(6) {
                margin-left: 25%; /* centering bottom row of Products */
            }

            .default-content .default-block-container > .row{
                margin-left: 0;
                margin-right: 0;
            }

                .default-content .default-block-container .block-title {
                    font-size: 45px;
                    margin-bottom: 30px;
                }

                    .default-content .default-block-container .block-item-container {
                        z-index: 999999999;
                        position: relative;
                        min-height: 140px;
                    }

                    .default-content .default-block-container .block-item-container img {
                        /*width: 225px;*/
                        max-width: 100%;
                        max-height: 140px;
                    }

                    .default-content .default-block-container .block-text {
                        background: #97C93C;
                        height: 82px;
                        display: table;
                        width: 85%;
                        margin-left: auto;
                        margin-right: auto;
                        color: #fff;
                        font-size: 21px;
                        line-height: 23px;
                        font-family: "grueber";
                        position: relative;
                        top: -21px;
                        z-index: 69;
                        text-transform: uppercase;
                    }

                    .default-content .default-block-container span {
                        display: table-cell;
                        margin: 0 auto;
                        vertical-align: middle;
                        padding: 0 20px;
                    }

                    .default-content .default-block-container .product-title {
                        font-family: "grueber";
                        color: #ffffff;
                        text-align: center;
                        font-size: 47px;
                        font-weight: bold;
                        text-shadow: 1px 1px 2px black, 0 0 .2em black, 0 0 0.9em #3f3f3f;
                        margin-top: 0;
                        margin-bottom: 20px;
                    }

    .form-container-content h3,
    .form-container-content p,
    .supplier-form-container .supplier-form,
    .location-map-container .location-map {
        padding-left: 50px;
    }

        .supplier-form-container .supplier-form > h3,
        .location-map-container .location-map > h3 {
            padding: 25px 30px !important;
            background: #97c93c;
            color: #fff;
            margin: 0;
        }

        .location-map-container .main-location-map {
            margin: 0;
        }

            .location-map-container .main-location-map .map-container {
                padding: 0;
                min-height: 500px;
            }

            #map,
            .location-map-container .main-location-map .map-container,
            .location-map-container .location-map .list-container{
                min-height: 800px;
            }

            .location-map-container .location-map .list-container {
                background: #e6e6e6;
                padding: 0;
            }

            .location-map-container .location-map .list-container h3 {
                font-size: 17px;
                padding-left: 25px !important;
                padding-top: 20px !important;
                margin: 0 0 10px;
                color: #646464;
                font-weight: bold;
            }

                .location-map-container .location-map .list-container ul {
                    padding: 0;
                    margin: 0;
                    list-style: none;
                }
                    .location-map-container .location-map .list-container ul li {
                        padding: 0;
                        margin: 0;
                    }

                    .location-map-container .location-map .list-container ul li a {
                        cursor: pointer;
                        color: #646464;
                        font-size: 17px;
                        display: inline-block;
                        width: 100%;
                        padding: 6px 0 6px 25px;
                        -webkit-transition: all .1s linear 0s;
                        -o-transition: all .1s linear 0s;
                        transition: all .1s linear 0s;
                        text-decoration: none;
                    }

                    .location-map-container .location-map .list-container ul li a:hover,
                    .location-map-container .location-map .list-container ul li a:focus {
                        background: #fff;
                        border-left: 10px solid #97c93c;
                    }

                    /* used by js for indicating the active agent*/
                    .agent-avtive {
                        background: #fff;
                        border-left: 10px solid #97c93c;
                    }

                    #map {
                        height: 100%;
                        width: 100%;
                    }

                        .gm-style > div:first-child > div:last-child > div:last-child > div:first-child {
                            /*top: 50px !important;*/
                        }
                            .gm-style > div:first-child > div:last-child > div:last-child > div:first-child > div:first-child  {
                                display: none;
                            }

                            /*close button*/
                            .gm-style > div:first-child > div:last-child > div:last-child > div:first-child > div:last-child  {
                                width: 13px !important;
                                height: 15px !important;
                                right: 50px !important;
                                top: 23px !important;
                                background: url('../images/close-btn.png');
                            }

                                .gm-style > div:first-child > div:last-child > div:last-child > div:first-child > div:last-child  img {
                                    display: none;
                                }

                                .gl-location {
                                    background: #297d2e;
                                    color: #fff;
                                    font-size: 17px;
                                    padding: 10px 20px;
                                    text-transform: uppercase;
                                }

                                .gl-contact {
                                    background: #fff;
                                    padding: 10px 20px;
                                }

                                .gl-detail {
                                    position: relative;
                                }

                                    .gl-detail h5 {
                                        font-size: 16px;
                                    }

                                    .gl-detail a {
                                        color: #333;
                                        text-decoration: none;
                                    }

                                    .gl-detail .name {
                                        font-weight: bold;
                                        margin-top: 0;
                                    }

                                    .gl-detail img {
                                        position: absolute;
                                        max-width: 100%;
                                        width: 110px !important;
                                        top: -28px;
                                        right: 0;
                                    }

                                    .gl-contact hr {
                                        margin: 0;
                                    }

                                .gl-note {
                                    font-size: 14px;
                                }

                                    .gm-style-iw {
                                        position: relative;
                                        overflow: initial !important;
                                    }
                                        .gm-style-iw > div {
                                            overflow: initial !important;
                                        }
                                        .gm-style-iw > div > div {
                                            width: 420px;
                                        }

                                        .gl-location,
                                        .gl-contact {
                                            font-family: 'Montserrat', sans-serif;
                                        }

.supplier-form-container {
    margin-top: 4px;
    margin-bottom: 20px;
}

    .supplier-form-container .supplier-form-fields {
        padding: 20px 30px;
        background: #f5f5f5;
    }

    .supplier-form-container > div h4 {
        background: #dcdcdc;
        margin: 0;
        padding: 15px 30px;
        font-weight: 700;
        clear: both;
        text-transform: uppercase;
        margin: 20px -30px;
    }
        .supplier-form-container > div h4:first-child {
            margin-top: -20px;
        }

    .supplier-form-container .to-copy {
        margin-bottom: 10px;
    }

    .supplier-form-container .form-horizontal .control-label {
        color: #646464;
        font-size: 17px;
        font-weight: normal;
        text-align: left;
        padding-top: 8px;
    }

    .supplier-form-container .form-control {
        border: 1px solid rgba(220, 220, 220, 0.65);
        height: 40px;
        padding: 9px 12px;
    }

    .supplier-form-container > div input[type='checkbox'] {
        display: inline;
        margin: 0;
        width: 14px;
        height: 40px;
        vertical-align: middle;
    }

    .supplier-form-container > div input[type='checkbox']:focus,
    .supplier-form-container > div input[type='radio']:focus {
        border: 0;
        box-shadow: none;
    }

    .supplier-form-container > div  input[type='radio'] {
        width: 18px;
        height: 26px;
        margin: 0;
        display: inline;
        vertical-align: middle;
    }

        .supplier-form-container > div input[type="radio"]:checked+label {
            background: #97c93c;
        }

        .supplier-form-container > div .fieldsgroup .fieldsgroup-single {
            margin: 0;
            padding: 0;
        }

            .supplier-form-fields .fieldsgroup-single.col-md-5 label {
                margin-top: 10px;
            }

            .supplier-form-fields .fieldsgroup-single.col-md-5 input {
                float: right;
            }

            /*.supplier-form-container > div input[name="mobile"] {
                width: 32.6%;
                margin-right: 30%;
            }*/

        .supplier-form-container > div .fieldsgroup .fieldsgroup-single label {
            width: 42.75%;
            max-width: 357px !important;
        }

        .supplier-form-container > div .fieldsgroup .fieldsgroup-single input {
            width: 56%;
        }

        .supplier-form-container > div .fieldsgroup .fieldsgroup-single:last-child label {
            text-align: right;
            padding-right: 25px;
        }

        .supplier-form-container .submit-container {
            text-align: right;
        }

            /*.supplier-form-container .btn-submit {
                width: inherit;
                margin: 0 30px 30px;
                background: #97c93c;
                color: #fff;
                text-transform: uppercase;
                font-family: "Grueber";
                border: none;
                font-size: 21px;
                display: inline-block;
                border-radius: 0;
                padding: 0 45px;
            }*/

            .supplier-form-container .bank-slip > div {
                display: inline-block;
            }

                .supplier-form-container .bank-slip .bank-slip-label {
                    width: 25%;
                }

                .supplier-form-container .bank-slip .bank-slip-radio-box {
                    width: 74%;
                }

                    .supplier-form-container .bank-slip .bank-slip-radio-box p {
                        margin: 0 0 20px 0 !important;
                        padding: 0 !important;
                        line-height: 1.5rem;
                    }

                    .supplier-form-container .bank-slip .bank-slip-radio-box .bank-slip-note {
                        color: #97c93c;
                    }

                    .supplier-form-container .bank-slip .bank-slip-radio-box label {
                        width: initial;
                    }

                    .supplier-form-container .bank-slip .bank-slip-radio-box label:first-child {
                        margin-right: 40px;
                    }

                        .supplier-form-container .bank-slip .bank-slip-radio-box label input {
                            float: right;
                            margin-left: 15px;
                        }


                /* Supplier Login */
                /*.supplier-form-container .supplier-form.login > div label {
                    width: 23%;
                }*/

                .supplier-form-container .supplier-form.login > div input[type='submit'] {
                    width: inherit;
                    margin: 0;
                    background: #97c93c;
                    color: #fff;
                    text-transform: uppercase;
                    font-family: "Grueber";
                    border: none;
                    font-size: 21px;
                    display: inline-block;
                    border-radius: 0;
                    padding: 7px 45px;
                }

                /*.supplier-form-container .supplier-form.signup > div label {
                    width: 23%;
                }*/

                .supplier-form-container .supplier-form > div input[type='submit'] {
                    width: inherit;
                    margin: 0;
                    background: #97c93c;
                    color: #fff;
                    text-transform: uppercase;
                    font-family: "Grueber";
                    border: none;
                    font-size: 21px;
                    display: inline-block;
                    border-radius: 0;
                    padding: 7px 45px;
                }

                .supplier-form-container .supplier-form.signup .form-controls {
                    width: 75%;
                    display: inline-block;
                }

                    .supplier-form-container .supplier-form.signup .form-controls input {
                        width: 100%;
                    }

                    .supplier-form-container .form-controls.submit-holder  {
                        float: right;
                        width: 100%;
                    }

                        .supplier-form-container .supplier-form.signup > div .form-controls.submit-holder input[type='submit'] {
                            float: right;
                            display: block;
                            width: auto;
                        }

                /*.supplier-form-container .supplier-form.online-booking > div label {
                    width: 23%;
                    float: left;
                    margin-bottom: 10px;
                    padding-top: 6px;
                }*/

                body.online-booking .app {
                    float: right;
                    text-align: center;
                    margin-left: 10px;
                    width: 217px;
                }
                    body.online-booking .app > img {
                        width: auto;
                        height: auto;
                        max-width: 100%;
                    }
                    body.online-booking .app .title {
                        line-height: normal;
                        clear: both;
                        padding: 10px 0;
                    }
                    body.online-booking .app .links {
                        line-height: normal;
                    }
                        body.online-booking .app .links a {
                            float: left;
                        }
                        body.online-booking .app .links a:last-child {
                            float: right;
                        }

                @media only screen and (max-width: 952px) {
                    body.online-booking .app {
                        width: 150px;
                    }
                    body.online-booking .app .links a {
                        float: none !important;
                    }
                        body.online-booking .app .links a img {
                            width: 107px;
                            margin-bottom: 5px;
                        }
                }

                @media only screen and (max-width: 680px) {
                    body.online-booking .app {
                        width: 107px;
                    }
                }



                .supplier-form-container .supplier-form.online-booking .btn-submit {
                    background: #97c93c;
                    color: #fff;
                    text-transform: uppercase;
                    font-family: "Grueber";
                    border: none;
                    font-size: 21px;
                    display: inline-block;
                    border-radius: 0;
                    padding: 7px 45px;
                }

                .supplier-form-container .supplier-form.online-booking .form-controls {
                    width: 75%;
                    display: inline-block;
                    float: left;
                    margin-bottom: 10px;
                }

                    .supplier-form-container .supplier-form.online-booking .form-controls input {
                        width: 100%;
                        float: left;
                    }

                    .supplier-form-container .supplier-form.online-booking .form-controls input[type='date'] {
                        width: 216px;
                        float: left;
                    }

                    .supplier-form-container .supplier-form.online-booking .form-controls select {
                        margin-bottom: 16px;
                    }

                    .supplier-form-container .supplier-form.online-booking textarea {
                        height: 200px;
                    }

                    .supplier-form-container .supplier-form.online-booking .form-controls.submit-holder  {
                        float: right;
                        width: 100%;
                    }

                        .supplier-form-container .supplier-form.online-booking > div .form-controls.submit-holder input[type='submit'] {
                            float: right;
                            display: block;
                            width: auto;
                        }

                .stock-type-holder .col-lg-6 {
                    padding-left: 0px;
                    padding-right: 0px;
                    width: 50%;
                }

                    .supplier-form-container .supplier-form.online-booking .stock-type-holder .col-lg-6 > label {
                        margin-right: 40px;
                        margin-bottom: 0px;
                        width: auto;
                    }

                        .supplier-form-container .supplier-form.online-booking .stock-type-holder .col-lg-6 .form-controls > input {
                            margin-bottom: 0px;
                        }

                    .supplier-form-container .supplier-form.online-booking .stock-type-holder .col-lg-6:nth-child(1) > label {
                        margin-right: 156px;
                        margin-bottom: 0px;
                        width: 23%;
                    }

                    .supplier-form-container .supplier-form.online-booking .stock-type-holder .col-lg-6 .form-controls {
                        width: 300px;
                        margin-bottom: 0px;
                    }

                        .supplier-form-container .supplier-form.online-booking .stock-type-holder .col-lg-6 .form-controls select {
                            width: 230px;
                        }

                .supplier-form-container .divider {
                    display: block;
                    margin-top: 10px;
                }

                .supplier-form-container a.password-forgot {
                    color: #646565;
                }

                a.multiply-quantity {
                    cursor: pointer;
                    text-decoration: none;
                }

        /* Bobby Calves Processing Form */

        .asd-pdf { float: right; }
        #bobby-calf-form textarea,
        #additional-tags textarea { min-height: 200px; }

        #bobby-calf-form .animal-status-declaration-radio-box p {
            margin: 15px 0 !important;
            padding: 0 !important;
            line-height: 1.5rem;
        }
        #bobby-calf-form .animal-status-declaration-radio-box .animal-status-file {
            margin-top: 15px;
        }

        #bobby-calf-form .animal-status-declaration-radio-box .animal-status-note {
            color: #97c93c;
        }

            #bobby-calf-form .animal-status-declaration-radio-box label input {
                float: right;
                margin-left: 15px;
                margin-right: 30px;
            }

        #bobby-calf-form .tb-control-notification,
        #bobby-calf-form .help-block,
        #additional-tags .help-block {
            color: #BD0900;
        }

.postal-address-details,
.calf-collection-address-details,
.additional-contact-details,
.other-supplier,
.alternative-mailing-address,
.tb-control-notification,
.animal-status-file,
.animal-status-note,
.supplier-form-container .bank-slip .bank-slip-file,
.supplier-form-container .bank-slip .bank-slip-note {
    display: none;
}



#bulletin > * { max-width: 1080px; }
#bulletin h3 {
    margin: 50px 0 20px;
    font-weight: bold;
    color: #646464;
}
#bulletin .issues a {
    cursor: pointer;
    display: block;
    margin: 0 -15px;
    padding: 20px;
    color: #646464;
    text-align: center;
    overflow: hidden;
}
    #bulletin .issues a:hover, #bulletin .issues a:focus  { background: #eee; }
    #bulletin .issues a.active {
        background: #97c93c;
        color: #fff;
    }
    #bulletin .issues img {
        max-width: 100%;
        -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
        box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
        margin-bottom: 10px;
    }

@media only screen and (max-height: 910px) {
    html.sales, body.sales { height: auto; }
}
@media only screen and (max-height: 1020px) {
    html.product-portfolio, body.product-portfolio { height: auto; }
}

@media only screen and (min-width: 952px) {
    body.product-portfolio, body.sales, body.general {
        background-size: cover !important;
        background-position: center !important;
        background-color: #000 !important;
        background-attachment: scroll;
        background-repeat: no-repeat;
    }
        body.product-portfolio > header,
        body.sales > header,
        body.general > header,
        body.bulletin > header {
            position: fixed;
            z-index: 9999;
            width: 100%;
        }
        body.product-portfolio > .sidemenu,
        body.sales > .sidemenu,
        body.bulletin > .sidemenu {
            position: fixed;
        }
        @media only screen and (min-width: 952px) {
            body.product-portfolio > .content,
            body.sales > .content,
            body.general > .content,
            body.bulletin > .content {
                height: auto;
                padding-top: 71px;
            }
        }
        body.product-portfolio .default-content,
        body.general .default-content,
        body.sales .default-content { background: none !important; }
}

/* Our People Plugin */

.featured-staff-member {
    padding: 30px 0px;
}

    .featured-staff-member hr {
        border-top: 3px solid #e0e0e0;
        width: 95%;
        margin: 60px 65px 0px;
    }

    .featured-staff-member:last-child hr {
        display: none;
    }

    .profile-img img {
        width: 100%;
    }

/* 404 page Styling */
.fourohfour-page.default-content h1 {
    margin: 0px;
    margin-top: 10%;
}

.fourohfour-page.default-content p {
    text-align: left;
    font-size: 20px;
    margin-top: 20px;
}

.fourohfour-page a.fourohfour-btn {
    background: #97c93c;
    padding: 15px 30px;
    color: #fff;
    display: inline-block;
    margin-top: 30px;
    margin-right: 20px;
    text-decoration: none;
    font-size: 16px;
}
/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * remove focus style
 */

*:focus {
    outline: none;
}


/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 768px) {
    /* Style adjustments for viewports that meet the condition */
    .sign-in-bar .container .shift {
        margin-left:0px;
    }
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}






#swipebox-close, #swipebox-next, #swipebox-prev {
    background-image: url(../images/icons.svg) !important;
}






/* HOMEPAGE UPDATES */
body.home header { display: none; }
body.home .content { padding-top: 0; }
body.home .content .main-slider { padding-bottom: 0; }
body.home .content .main-slider .bx-viewport { height: 100% !important; }
body.home .service-container { display: none; }
